Ignore:
Timestamp:
2011-12-09T18:25:27+13:00 (12 years ago)
Author:
ak19
Message:

Third set of commits to do with the migration of cgi-bin into common-src, so that upon make install, common-src\cgi-bin will be installed in cgi-bin\GSDLOS(GSDLARCH). The first commit was of changes to files in cgi-bin itself. The second commit was moving cgi-bin. This one involves changes to all the files referring to cgi-bin where this needs to be changed to cgi-bin\OS_and_ARCH.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/configure

    r23356 r24874  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.67.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 #
    6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    8 # Foundation, Inc.
    9 #
    10 #
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    116# This configure script is free software; the Free Software Foundation
    127# gives unlimited permission to copy, distribute and modify it.
    13 ## -------------------- ##
    14 ## M4sh Initialization. ##
    15 ## -------------------- ##
    16 
    17 # Be more Bourne compatible
    18 DUALCASE=1; export DUALCASE # for MKS sh
    19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     8## --------------------- ##
     9## M4sh Initialization.  ##
     10## --------------------- ##
     11
     12# Be Bourne compatible
     13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    2014  emulate sh
    2115  NULLCMD=:
    22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    2317  # is contrary to our usage.  Disable this feature.
    2418  alias -g '${1+"$@"}'='"$@"'
    25   setopt NO_GLOB_SUBST
    26 else
    27   case `(set -o) 2>/dev/null` in #(
    28   *posix*) :
    29     set -o posix ;; #(
    30   *) :
    31      ;;
    32 esac
    33 fi
    34 
    35 
    36 as_nl='
    37 '
    38 export as_nl
    39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    43 # Prefer a ksh shell builtin over an external printf program on Solaris,
    44 # but without wasting forks for bash or zsh.
    45 if test -z "$BASH_VERSION$ZSH_VERSION" \
    46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    47   as_echo='print -r --'
    48   as_echo_n='print -rn --'
    49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    50   as_echo='printf %s\n'
    51   as_echo_n='printf %s'
    52 else
    53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    55     as_echo_n='/usr/ucb/echo -n'
    56   else
    57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    58     as_echo_n_body='eval
    59       arg=$1;
    60       case $arg in #(
    61       *"$as_nl"*)
    62     expr "X$arg" : "X\\(.*\\)$as_nl";
    63     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    64       esac;
    65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    66     '
    67     export as_echo_n_body
    68     as_echo_n='sh -c $as_echo_n_body as_echo'
    69   fi
    70   export as_echo_body
    71   as_echo='sh -c $as_echo_body as_echo'
    72 fi
    73 
    74 # The user is always right.
    75 if test "${PATH_SEPARATOR+set}" != set; then
    76   PATH_SEPARATOR=:
    77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    79       PATH_SEPARATOR=';'
    80   }
    81 fi
    82 
    83 
    84 # IFS
    85 # We need space, tab and new line, in precisely that order.  Quoting is
    86 # there to prevent editors from complaining about space-tab.
    87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    88 # splitting by setting IFS to empty value.)
    89 IFS=" ""    $as_nl"
    90 
    91 # Find who we are.  Look in the path if we contain no directory separator.
    92 case $0 in #((
    93   *[\\/]* ) as_myself=$0 ;;
    94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    95 for as_dir in $PATH
    96 do
    97   IFS=$as_save_IFS
    98   test -z "$as_dir" && as_dir=.
    99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    100   done
    101 IFS=$as_save_IFS
    102 
    103      ;;
    104 esac
    105 # We did not find ourselves, most probably we were run as `sh COMMAND'
    106 # in which case we are not to be found in the path.
    107 if test "x$as_myself" = x; then
    108   as_myself=$0
    109 fi
    110 if test ! -f "$as_myself"; then
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    112   exit 1
    113 fi
    114 
    115 # Unset variables that we do not need and which cause bugs (e.g. in
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    117 # suppresses any "Segmentation fault" message there.  '((' could
    118 # trigger a bug in pdksh 5.2.14.
    119 for as_var in BASH_ENV ENV MAIL MAILPATH
    120 do eval test x\${$as_var+set} = xset \
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    122 done
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  set -o posix
     21fi
     22DUALCASE=1; export DUALCASE # for MKS sh
     23
     24# Support unset when possible.
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  as_unset=unset
     27else
     28  as_unset=false
     29fi
     30
     31
     32# Work around bugs in pre-3.0 UWIN ksh.
     33$as_unset ENV MAIL MAILPATH
    12334PS1='$ '
    12435PS2='> '
     
    12637
    12738# NLS nuisances.
    128 LC_ALL=C
    129 export LC_ALL
    130 LANGUAGE=C
    131 export LANGUAGE
    132 
    133 # CDPATH.
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135 
    136 if test "x$CONFIG_SHELL" = x; then
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    138   emulate sh
    139   NULLCMD=:
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    141   # is contrary to our usage.  Disable this feature.
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    143   setopt NO_GLOB_SUBST
    144 else
    145   case \`(set -o) 2>/dev/null\` in #(
    146   *posix*) :
    147     set -o posix ;; #(
    148   *) :
    149      ;;
    150 esac
    151 fi
    152 "
    153   as_required="as_fn_return () { (exit \$1); }
    154 as_fn_success () { as_fn_return 0; }
    155 as_fn_failure () { as_fn_return 1; }
    156 as_fn_ret_success () { return 0; }
    157 as_fn_ret_failure () { return 1; }
    158 
    159 exitcode=0
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    165 
    166 else
    167   exitcode=1; echo positional parameters were not saved.
    168 fi
    169 test x\$exitcode = x0 || exit 1"
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1"
    175   if (eval "$as_required") 2>/dev/null; then :
    176   as_have_required=yes
    177 else
    178   as_have_required=no
    179 fi
    180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    181 
    182 else
    183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    184 as_found=false
    185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     39for as_var in \
     40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42  LC_TELEPHONE LC_TIME
    18643do
    187   IFS=$as_save_IFS
    188   test -z "$as_dir" && as_dir=.
    189   as_found=:
    190   case $as_dir in #(
    191      /*)
    192        for as_base in sh bash ksh sh5; do
    193          # Try only shells that exist, to save several forks.
    194          as_shell=$as_dir/$as_base
    195          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    196             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   CONFIG_SHELL=$as_shell as_have_required=yes
    198            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   break 2
    200 fi
    201 fi
    202        done;;
    203        esac
    204   as_found=false
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45    eval $as_var=C; export $as_var
     46  else
     47    $as_unset $as_var
     48  fi
    20549done
    206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    207           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$SHELL as_have_required=yes
    209 fi; }
    210 IFS=$as_save_IFS
    211 
    212 
    213       if test "x$CONFIG_SHELL" != x; then :
    214   # We cannot yet assume a decent shell, so we have to provide a
    215     # neutralization value for shells without unset; and this also
    216     # works around shells that cannot unset nonexistent variables.
    217     BASH_ENV=/dev/null
    218     ENV=/dev/null
    219     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    220     export CONFIG_SHELL
    221     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    222 fi
    223 
    224     if test x$as_have_required = xno; then :
    225   $as_echo "$0: This script requires a shell more modern than all"
    226   $as_echo "$0: the shells that I found on your system."
    227   if test x${ZSH_VERSION+set} = xset ; then
    228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    230   else
    231     $as_echo "$0: Please tell [email protected] about your system,
    232 $0: including any error possibly output before this
    233 $0: message. Then install a modern shell, or manually run
    234 $0: the script under such a shell if you do have one."
    235   fi
    236   exit 1
    237 fi
    238 fi
    239 fi
    240 SHELL=${CONFIG_SHELL-/bin/sh}
    241 export SHELL
    242 # Unset more variables known to interfere with behavior of common tools.
    243 CLICOLOR_FORCE= GREP_OPTIONS=
    244 unset CLICOLOR_FORCE GREP_OPTIONS
    245 
    246 ## --------------------- ##
    247 ## M4sh Shell Functions. ##
    248 ## --------------------- ##
    249 # as_fn_unset VAR
    250 # ---------------
    251 # Portably unset VAR.
    252 as_fn_unset ()
    253 {
    254   { eval $1=; unset $1;}
    255 }
    256 as_unset=as_fn_unset
    257 
    258 # as_fn_set_status STATUS
    259 # -----------------------
    260 # Set $? to STATUS, without forking.
    261 as_fn_set_status ()
    262 {
    263   return $1
    264 } # as_fn_set_status
    265 
    266 # as_fn_exit STATUS
    267 # -----------------
    268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    269 as_fn_exit ()
    270 {
    271   set +e
    272   as_fn_set_status $1
    273   exit $1
    274 } # as_fn_exit
    275 
    276 # as_fn_mkdir_p
    277 # -------------
    278 # Create "$as_dir" as a directory, including parents if necessary.
    279 as_fn_mkdir_p ()
    280 {
    281 
    282   case $as_dir in #(
    283   -*) as_dir=./$as_dir;;
    284   esac
    285   test -d "$as_dir" || eval $as_mkdir_p || {
    286     as_dirs=
    287     while :; do
    288       case $as_dir in #(
    289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    290       *) as_qdir=$as_dir;;
    291       esac
    292       as_dirs="'$as_qdir' $as_dirs"
    293       as_dir=`$as_dirname -- "$as_dir" ||
    294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    295      X"$as_dir" : 'X\(//\)[^/]' \| \
    296      X"$as_dir" : 'X\(//\)$' \| \
    297      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    298 $as_echo X"$as_dir" |
    299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    300         s//\1/
    301         q
    302       }
    303       /^X\(\/\/\)[^/].*/{
    304         s//\1/
    305         q
    306       }
    307       /^X\(\/\/\)$/{
    308         s//\1/
    309         q
    310       }
    311       /^X\(\/\).*/{
    312         s//\1/
    313         q
    314       }
    315       s/.*/./; q'`
    316       test -d "$as_dir" && break
    317     done
    318     test -z "$as_dirs" || eval "mkdir $as_dirs"
    319   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    320 
    321 
    322 } # as_fn_mkdir_p
    323 # as_fn_append VAR VALUE
    324 # ----------------------
    325 # Append the text in VALUE to the end of the definition contained in VAR. Take
    326 # advantage of any shell optimizations that allow amortized linear growth over
    327 # repeated appends, instead of the typical quadratic growth present in naive
    328 # implementations.
    329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    330   eval 'as_fn_append ()
    331   {
    332     eval $1+=\$2
    333   }'
    334 else
    335   as_fn_append ()
    336   {
    337     eval $1=\$$1\$2
    338   }
    339 fi # as_fn_append
    340 
    341 # as_fn_arith ARG...
    342 # ------------------
    343 # Perform arithmetic evaluation on the ARGs, and store the result in the
    344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    345 # must be portable across $(()) and expr.
    346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    347   eval 'as_fn_arith ()
    348   {
    349     as_val=$(( $* ))
    350   }'
    351 else
    352   as_fn_arith ()
    353   {
    354     as_val=`expr "$@" || test $? -eq 1`
    355   }
    356 fi # as_fn_arith
    357 
    358 
    359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    360 # ----------------------------------------
    361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    363 # script with STATUS, using 1 if that was 0.
    364 as_fn_error ()
    365 {
    366   as_status=$1; test $as_status -eq 0 && as_status=1
    367   if test "$4"; then
    368     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    370   fi
    371   $as_echo "$as_me: error: $2" >&2
    372   as_fn_exit $as_status
    373 } # as_fn_error
    374 
    375 if expr a : '\(a\)' >/dev/null 2>&1 &&
    376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
    37753  as_expr=expr
    37854else
     
    38056fi
    38157
    382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    38359  as_basename=basename
    38460else
     
    38662fi
    38763
    388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    389   as_dirname=dirname
    390 else
    391   as_dirname=false
    392 fi
    393 
    394 as_me=`$as_basename -- "$0" ||
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
    39567$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    39668     X"$0" : 'X\(//\)$' \| \
    397      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    398 $as_echo X/"$0" |
    399     sed '/^.*\/\([^/][^/]*\)\/*$/{
    400         s//\1/
    401         q
    402       }
    403       /^X\/\(\/\/\)$/{
    404         s//\1/
    405         q
    406       }
    407       /^X\/\(\/\).*/{
    408         s//\1/
    409         q
    410       }
    411       s/.*/./; q'`
    412 
     69     X"$0" : 'X\(/\)$' \| \
     70     .     : '\(.\)' 2>/dev/null ||
     71echo X/"$0" |
     72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73      /^X\/\(\/\/\)$/{ s//\1/; q; }
     74      /^X\/\(\/\).*/{ s//\1/; q; }
     75      s/.*/./; q'`
     76
     77
     78# PATH needs CR, and LINENO needs CR and PATH.
    41379# Avoid depending upon Character Ranges.
    41480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    41884as_cr_alnum=$as_cr_Letters$as_cr_digits
    41985
    420 
    421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    426   sed -n '
    427     p
    428     /[$]LINENO/=
    429   ' <$as_myself |
     86# The user is always right.
     87if test "${PATH_SEPARATOR+set}" != set; then
     88  echo "#! /bin/sh" >conf$$.sh
     89  echo  "exit 0"   >>conf$$.sh
     90  chmod +x conf$$.sh
     91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     92    PATH_SEPARATOR=';'
     93  else
     94    PATH_SEPARATOR=:
     95  fi
     96  rm -f conf$$.sh
     97fi
     98
     99
     100  as_lineno_1=$LINENO
     101  as_lineno_2=$LINENO
     102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     103  test "x$as_lineno_1" != "x$as_lineno_2" &&
     104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     105  # Find who we are.  Look in the path if we contain no path at all
     106  # relative or not.
     107  case $0 in
     108    *[\\/]* ) as_myself=$0 ;;
     109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     110for as_dir in $PATH
     111do
     112  IFS=$as_save_IFS
     113  test -z "$as_dir" && as_dir=.
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     115done
     116
     117       ;;
     118  esac
     119  # We did not find ourselves, most probably we were run as `sh COMMAND'
     120  # in which case we are not to be found in the path.
     121  if test "x$as_myself" = x; then
     122    as_myself=$0
     123  fi
     124  if test ! -f "$as_myself"; then
     125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     126   { (exit 1); exit 1; }; }
     127  fi
     128  case $CONFIG_SHELL in
     129  '')
     130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     132do
     133  IFS=$as_save_IFS
     134  test -z "$as_dir" && as_dir=.
     135  for as_base in sh bash ksh sh5; do
     136     case $as_dir in
     137     /*)
     138       if ("$as_dir/$as_base" -c '
     139  as_lineno_1=$LINENO
     140  as_lineno_2=$LINENO
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     142  test "x$as_lineno_1" != "x$as_lineno_2" &&
     143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     144         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     145         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     146         CONFIG_SHELL=$as_dir/$as_base
     147         export CONFIG_SHELL
     148         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     149       fi;;
     150     esac
     151       done
     152done
     153;;
     154  esac
     155
     156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     157  # uniformly replaced by the line number.  The first 'sed' inserts a
     158  # line-number line before each line; the second 'sed' does the real
     159  # work.  The second script uses 'N' to pair each line-number line
     160  # with the numbered line, and appends trailing '-' during
     161  # substitution so that $LINENO is not a special case at line end.
     162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     164  sed '=' <$as_myself |
    430165    sed '
    431       s/[$]LINENO.*/&-/
    432       t lineno
    433       b
    434       :lineno
    435166      N
    436       :loop
    437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     167      s,$,-,
     168      : loop
     169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    438170      t loop
    439       s/-\n.*//
     171      s,-$,,
     172      s,^['$as_cr_digits']*\n,,
    440173    ' >$as_me.lineno &&
    441   chmod +x "$as_me.lineno" ||
    442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     174  chmod +x $as_me.lineno ||
     175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     176   { (exit 1); exit 1; }; }
    443177
    444178  # Don't try to exec as it changes $[0], causing all sort of problems
    445179  # (the dirname of $[0] is not the place where we might find the
    446   # original and so on.  Autoconf is especially sensitive to this).
    447   . "./$as_me.lineno"
     180  # original and so on.  Autoconf is especially sensible to this).
     181  . ./$as_me.lineno
    448182  # Exit status is that of the last command.
    449183  exit
    450184}
    451185
    452 ECHO_C= ECHO_N= ECHO_T=
    453 case `echo -n x` in #(((((
    454 -n*)
    455   case `echo 'xy\c'` in
    456   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    457   xy)  ECHO_C='\c';;
    458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    459        ECHO_T=' ';;
    460   esac;;
    461 *)
    462   ECHO_N='-n';;
     186
     187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     188  *c*,-n*) ECHO_N= ECHO_C='
     189' ECHO_T='  ' ;;
     190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    463192esac
    464193
     194if expr a : '\(a\)' >/dev/null 2>&1; then
     195  as_expr=expr
     196else
     197  as_expr=false
     198fi
     199
    465200rm -f conf$$ conf$$.exe conf$$.file
    466 if test -d conf$$.dir; then
    467   rm -f conf$$.dir/conf$$.file
    468 else
    469   rm -f conf$$.dir
    470   mkdir conf$$.dir 2>/dev/null
    471 fi
    472 if (echo >conf$$.file) 2>/dev/null; then
    473   if ln -s conf$$.file conf$$ 2>/dev/null; then
     201echo >conf$$.file
     202if ln -s conf$$.file conf$$ 2>/dev/null; then
     203  # We could just check for DJGPP; but this test a) works b) is more generic
     204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     205  if test -f conf$$.exe; then
     206    # Don't use ln at all; we don't have any links
     207    as_ln_s='cp -p'
     208  else
    474209    as_ln_s='ln -s'
    475     # ... but there are two gotchas:
    476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    478     # In both cases, we have to default to `cp -p'.
    479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    480       as_ln_s='cp -p'
    481   elif ln conf$$.file conf$$ 2>/dev/null; then
    482     as_ln_s=ln
    483   else
    484     as_ln_s='cp -p'
    485210  fi
     211elif ln conf$$.file conf$$ 2>/dev/null; then
     212  as_ln_s=ln
    486213else
    487214  as_ln_s='cp -p'
    488215fi
    489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    490 rmdir conf$$.dir 2>/dev/null
     216rm -f conf$$ conf$$.exe conf$$.file
    491217
    492218if mkdir -p . 2>/dev/null; then
    493   as_mkdir_p='mkdir -p "$as_dir"'
     219  as_mkdir_p=:
    494220else
    495221  test -d ./-p && rmdir ./-p
     
    497223fi
    498224
    499 if test -x / >/dev/null 2>&1; then
    500   as_test_x='test -x'
    501 else
    502   if ls -dL / >/dev/null 2>&1; then
    503     as_ls_L_option=L
    504   else
    505     as_ls_L_option=
    506   fi
    507   as_test_x='
    508     eval sh -c '\''
    509       if test -d "$1"; then
    510     test -d "$1/.";
    511       else
    512     case $1 in #(
    513     -*)set "./$1";;
    514     esac;
    515     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    516     ???[sx]*):;;*)false;;esac;fi
    517     '\'' sh
    518   '
    519 fi
    520 as_executable_p=$as_test_x
     225as_executable_p="test -f"
    521226
    522227# Sed expression to map a string onto a valid CPP name.
     
    527232
    528233
    529 test -n "$DJDIR" || exec 7<&0 </dev/null
    530 exec 6>&1
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
    531243
    532244# Name of the host.
    533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    534246# so uname gets run too.
    535247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     248
     249exec 6>&1
    536250
    537251#
     
    539253#
    540254ac_default_prefix=/usr/local
    541 ac_clean_files=
    542255ac_config_libobj_dir=.
    543 LIBOBJS=
    544256cross_compiling=no
    545257subdirs=
    546258MFLAGS=
    547259MAKEFLAGS=
     260SHELL=${CONFIG_SHELL-/bin/sh}
     261
     262# Maximum number of lines to put in a shell here document.
     263# This variable seems obsolete.  It should probably be removed, and
     264# only ac_max_sed_lines should be used.
     265: ${ac_max_here_lines=38}
    548266
    549267# Identity of this package.
     
    553271PACKAGE_STRING=
    554272PACKAGE_BUGREPORT=
    555 PACKAGE_URL=
    556273
    557274ac_unique_file="src/lib/text_t.h"
     
    559276ac_includes_default="\
    560277#include <stdio.h>
    561 #ifdef HAVE_SYS_TYPES_H
     278#if HAVE_SYS_TYPES_H
    562279# include <sys/types.h>
    563280#endif
    564 #ifdef HAVE_SYS_STAT_H
     281#if HAVE_SYS_STAT_H
    565282# include <sys/stat.h>
    566283#endif
    567 #ifdef STDC_HEADERS
     284#if STDC_HEADERS
    568285# include <stdlib.h>
    569286# include <stddef.h>
    570287#else
    571 # ifdef HAVE_STDLIB_H
     288# if HAVE_STDLIB_H
    572289#  include <stdlib.h>
    573290# endif
    574291#endif
    575 #ifdef HAVE_STRING_H
    576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     292#if HAVE_STRING_H
     293# if !STDC_HEADERS && HAVE_MEMORY_H
    577294#  include <memory.h>
    578295# endif
    579296# include <string.h>
    580297#endif
    581 #ifdef HAVE_STRINGS_H
     298#if HAVE_STRINGS_H
    582299# include <strings.h>
    583300#endif
    584 #ifdef HAVE_INTTYPES_H
     301#if HAVE_INTTYPES_H
    585302# include <inttypes.h>
     303#else
     304# if HAVE_STDINT_H
     305#  include <stdint.h>
     306# endif
    586307#endif
    587 #ifdef HAVE_STDINT_H
    588 # include <stdint.h>
    589 #endif
    590 #ifdef HAVE_UNISTD_H
     308#if HAVE_UNISTD_H
    591309# include <unistd.h>
    592310#endif"
    593311
    594 enable_option_checking=no
    595 ac_subst_vars='LTLIBOBJS
    596 subdirs
    597 MODULEDIRS
    598 gsdlos
    599 STATIC
    600 LIBOBJS
    601 ALLOCA
    602 ANSI2KNR
    603 U
    604 EGREP
    605 GREP
    606 CPP
    607 MICO_VER
    608 COMPAT32BITFLAGS
    609 RANLIB
    610 SET_MAKE
    611 LN_S
    612 INSTALL_DATA
    613 INSTALL_SCRIPT
    614 INSTALL_PROGRAM
    615 target_os
    616 target_vendor
    617 target_cpu
    618 target
    619 host_os
    620 host_vendor
    621 host_cpu
    622 host
    623 build_os
    624 build_vendor
    625 build_cpu
    626 build
    627 YFLAGS
    628 YACC
    629 AWK
    630 JAVACFLAGS
    631 JAVAC
    632 uudecode
    633 JAVA
    634 ac_ct_CXX
    635 CXXFLAGS
    636 CXX
    637 OBJEXT
    638 EXEEXT
    639 ac_ct_CC
    640 CPPFLAGS
    641 CC
    642 CFLAGS
    643 LDFLAGS
    644 ENABLE_LUCENE
    645 ENABLE_MGPP
    646 ENABLE_MG
    647 ENABLE_JNI
    648 USE_SQLITE
    649 ENABLE_ACCENTFOLD
    650 USE_GDBM
    651 USE_JDBM
    652 ENABLE_JAVA
    653 USE_YAZ
    654 USE_Z3950
    655 MICO_DIR
    656 USE_CORBA
    657 USE_LANGACTION
    658 USE_FASTCGI
    659 VERSION
    660 PACKAGE
    661 target_alias
    662 host_alias
    663 build_alias
    664 LIBS
    665 ECHO_T
    666 ECHO_N
    667 ECHO_C
    668 DEFS
    669 mandir
    670 localedir
    671 libdir
    672 psdir
    673 pdfdir
    674 dvidir
    675 htmldir
    676 infodir
    677 docdir
    678 oldincludedir
    679 includedir
    680 localstatedir
    681 sharedstatedir
    682 sysconfdir
    683 datadir
    684 datarootdir
    685 libexecdir
    686 sbindir
    687 bindir
    688 program_transform_name
    689 prefix
    690 exec_prefix
    691 PACKAGE_URL
    692 PACKAGE_BUGREPORT
    693 PACKAGE_STRING
    694 PACKAGE_VERSION
    695 PACKAGE_TARNAME
    696 PACKAGE_NAME
    697 PATH_SEPARATOR
    698 SHELL'
     312ac_subdirs_all="$ac_subdirs_all packages"
     313ac_subdirs_all="$ac_subdirs_all indexers"
     314ac_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 PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
    699315ac_subst_files=''
    700 ac_user_opts='
    701 enable_option_checking
    702 enable_corba
    703 with_micodir
    704 enable_z3950
    705 enable_yaz
    706 enable_java
    707 enable_jdbm
    708 enable_gdbm
    709 enable_accentfold
    710 enable_sqlite
    711 enable_jni
    712 enable_mg
    713 enable_mgpp
    714 enable_lucene
    715 with_dmalloc
    716 with_regex
    717 '
    718       ac_precious_vars='build_alias
    719 host_alias
    720 target_alias
    721 CC
    722 CFLAGS
    723 LDFLAGS
    724 LIBS
    725 CPPFLAGS
    726 CXX
    727 CXXFLAGS
    728 CCC
    729 YACC
    730 YFLAGS
    731 CPP'
    732 ac_subdirs_all='packages
    733 indexers'
    734316
    735317# Initialize some variables set by options.
    736318ac_init_help=
    737319ac_init_version=false
    738 ac_unrecognized_opts=
    739 ac_unrecognized_sep=
    740320# The variables have the same names as the options, with
    741321# dashes changed to underlines.
     
    760340# by default will actually change.
    761341# Use braces instead of parens because sh, perl, etc. also accept them.
    762 # (The list follows the same order as the GNU Coding Standards.)
    763342bindir='${exec_prefix}/bin'
    764343sbindir='${exec_prefix}/sbin'
    765344libexecdir='${exec_prefix}/libexec'
    766 datarootdir='${prefix}/share'
    767 datadir='${datarootdir}'
     345datadir='${prefix}/share'
    768346sysconfdir='${prefix}/etc'
    769347sharedstatedir='${prefix}/com'
    770348localstatedir='${prefix}/var'
     349libdir='${exec_prefix}/lib'
    771350includedir='${prefix}/include'
    772351oldincludedir='/usr/include'
    773 docdir='${datarootdir}/doc/${PACKAGE}'
    774 infodir='${datarootdir}/info'
    775 htmldir='${docdir}'
    776 dvidir='${docdir}'
    777 pdfdir='${docdir}'
    778 psdir='${docdir}'
    779 libdir='${exec_prefix}/lib'
    780 localedir='${datarootdir}/locale'
    781 mandir='${datarootdir}/man'
     352infodir='${prefix}/info'
     353mandir='${prefix}/man'
    782354
    783355ac_prev=
    784 ac_dashdash=
    785356for ac_option
    786357do
    787358  # If the previous option needs an argument, assign it.
    788359  if test -n "$ac_prev"; then
    789     eval $ac_prev=\$ac_option
     360    eval "$ac_prev=\$ac_option"
    790361    ac_prev=
    791362    continue
    792363  fi
    793364
     365  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     366
     367  # Accept the important Cygnus configure options, so we can diagnose typos.
     368
    794369  case $ac_option in
    795   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    796   *=)   ac_optarg= ;;
    797   *)    ac_optarg=yes ;;
    798   esac
    799 
    800   # Accept the important Cygnus configure options, so we can diagnose typos.
    801 
    802   case $ac_dashdash$ac_option in
    803   --)
    804     ac_dashdash=yes ;;
    805370
    806371  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    824389    cache_file=config.cache ;;
    825390
    826   -datadir | --datadir | --datadi | --datad)
     391  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    827392    ac_prev=datadir ;;
    828   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     393  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     394  | --da=*)
    829395    datadir=$ac_optarg ;;
    830396
    831   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    832   | --dataroo | --dataro | --datar)
    833     ac_prev=datarootdir ;;
    834   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    835   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    836     datarootdir=$ac_optarg ;;
    837 
    838397  -disable-* | --disable-*)
    839     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     398    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    840399    # Reject names that are not valid shell variable names.
    841     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    842       as_fn_error $? "invalid feature name: $ac_useropt"
    843     ac_useropt_orig=$ac_useropt
    844     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    845     case $ac_user_opts in
    846       *"
    847 "enable_$ac_useropt"
    848 "*) ;;
    849       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    850      ac_unrecognized_sep=', ';;
     400    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     401      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     402   { (exit 1); exit 1; }; }
     403    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     404    eval "enable_$ac_feature=no" ;;
     405
     406  -enable-* | --enable-*)
     407    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     408    # Reject names that are not valid shell variable names.
     409    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     410      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     411   { (exit 1); exit 1; }; }
     412    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     413    case $ac_option in
     414      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     415      *) ac_optarg=yes ;;
    851416    esac
    852     eval enable_$ac_useropt=no ;;
    853 
    854   -docdir | --docdir | --docdi | --doc | --do)
    855     ac_prev=docdir ;;
    856   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    857     docdir=$ac_optarg ;;
    858 
    859   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    860     ac_prev=dvidir ;;
    861   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    862     dvidir=$ac_optarg ;;
    863 
    864   -enable-* | --enable-*)
    865     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    866     # Reject names that are not valid shell variable names.
    867     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    868       as_fn_error $? "invalid feature name: $ac_useropt"
    869     ac_useropt_orig=$ac_useropt
    870     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    871     case $ac_user_opts in
    872       *"
    873 "enable_$ac_useropt"
    874 "*) ;;
    875       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    876      ac_unrecognized_sep=', ';;
    877     esac
    878     eval enable_$ac_useropt=\$ac_optarg ;;
     417    eval "enable_$ac_feature='$ac_optarg'" ;;
    879418
    880419  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    903442    host_alias=$ac_optarg ;;
    904443
    905   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    906     ac_prev=htmldir ;;
    907   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    908   | --ht=*)
    909     htmldir=$ac_optarg ;;
    910 
    911444  -includedir | --includedir | --includedi | --included | --include \
    912445  | --includ | --inclu | --incl | --inc)
     
    933466    libexecdir=$ac_optarg ;;
    934467
    935   -localedir | --localedir | --localedi | --localed | --locale)
    936     ac_prev=localedir ;;
    937   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    938     localedir=$ac_optarg ;;
    939 
    940468  -localstatedir | --localstatedir | --localstatedi | --localstated \
    941   | --localstate | --localstat | --localsta | --localst | --locals)
     469  | --localstate | --localstat | --localsta | --localst \
     470  | --locals | --local | --loca | --loc | --lo)
    942471    ac_prev=localstatedir ;;
    943472  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    944   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     473  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     474  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    945475    localstatedir=$ac_optarg ;;
    946476
     
    1007537    program_transform_name=$ac_optarg ;;
    1008538
    1009   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    1010     ac_prev=pdfdir ;;
    1011   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    1012     pdfdir=$ac_optarg ;;
    1013 
    1014   -psdir | --psdir | --psdi | --psd | --ps)
    1015     ac_prev=psdir ;;
    1016   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    1017     psdir=$ac_optarg ;;
    1018 
    1019539  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1020540  | -silent | --silent | --silen | --sile | --sil)
     
    1067587
    1068588  -with-* | --with-*)
    1069     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     589    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1070590    # Reject names that are not valid shell variable names.
    1071     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1072       as_fn_error $? "invalid package name: $ac_useropt"
    1073     ac_useropt_orig=$ac_useropt
    1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1075     case $ac_user_opts in
    1076       *"
    1077 "with_$ac_useropt"
    1078 "*) ;;
    1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
    1080      ac_unrecognized_sep=', ';;
     591    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     592      { echo "$as_me: error: invalid package name: $ac_package" >&2
     593   { (exit 1); exit 1; }; }
     594    ac_package=`echo $ac_package| sed 's/-/_/g'`
     595    case $ac_option in
     596      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     597      *) ac_optarg=yes ;;
    1081598    esac
    1082     eval with_$ac_useropt=\$ac_optarg ;;
     599    eval "with_$ac_package='$ac_optarg'" ;;
    1083600
    1084601  -without-* | --without-*)
    1085     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     602    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1086603    # Reject names that are not valid shell variable names.
    1087     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1088       as_fn_error $? "invalid package name: $ac_useropt"
    1089     ac_useropt_orig=$ac_useropt
    1090     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1091     case $ac_user_opts in
    1092       *"
    1093 "with_$ac_useropt"
    1094 "*) ;;
    1095       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
    1096      ac_unrecognized_sep=', ';;
    1097     esac
    1098     eval with_$ac_useropt=no ;;
     604    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     605      { echo "$as_me: error: invalid package name: $ac_package" >&2
     606   { (exit 1); exit 1; }; }
     607    ac_package=`echo $ac_package | sed 's/-/_/g'`
     608    eval "with_$ac_package=no" ;;
    1099609
    1100610  --x)
     
    1116626    x_libraries=$ac_optarg ;;
    1117627
    1118   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1119 Try \`$0 --help' for more information"
     628  -*) { echo "$as_me: error: unrecognized option: $ac_option
     629Try \`$0 --help' for more information." >&2
     630   { (exit 1); exit 1; }; }
    1120631    ;;
    1121632
     
    1123634    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    1124635    # Reject names that are not valid shell variable names.
    1125     case $ac_envvar in #(
    1126       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1127       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1128     esac
    1129     eval $ac_envvar=\$ac_optarg
     636    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     637      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     638   { (exit 1); exit 1; }; }
     639    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     640    eval "$ac_envvar='$ac_optarg'"
    1130641    export $ac_envvar ;;
    1131642
    1132643  *)
    1133644    # FIXME: should be removed in autoconf 3.0.
    1134     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     645    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    1135646    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1136       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     647      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1137648    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    1138649    ;;
     
    1143654if test -n "$ac_prev"; then
    1144655  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1145   as_fn_error $? "missing argument to $ac_option"
    1146 fi
    1147 
    1148 if test -n "$ac_unrecognized_opts"; then
    1149   case $enable_option_checking in
    1150     no) ;;
    1151     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    1152     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     656  { echo "$as_me: error: missing argument to $ac_option" >&2
     657   { (exit 1); exit 1; }; }
     658fi
     659
     660# Be sure to have absolute paths.
     661for ac_var in exec_prefix prefix
     662do
     663  eval ac_val=$`echo $ac_var`
     664  case $ac_val in
     665    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     666    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     667   { (exit 1); exit 1; }; };;
    1153668  esac
    1154 fi
    1155 
    1156 # Check all directory arguments for consistency.
    1157 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1158         datadir sysconfdir sharedstatedir localstatedir includedir \
    1159         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1160         libdir localedir mandir
     669done
     670
     671# Be sure to have absolute paths.
     672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     673          localstatedir libdir includedir oldincludedir infodir mandir
    1161674do
    1162   eval ac_val=\$$ac_var
    1163   # Remove trailing slashes.
     675  eval ac_val=$`echo $ac_var`
    1164676  case $ac_val in
    1165     */ )
    1166       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
    1167       eval $ac_var=\$ac_val;;
     677    [\\/$]* | ?:[\\/]* ) ;;
     678    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     679   { (exit 1); exit 1; }; };;
    1168680  esac
    1169   # Be sure to have absolute directory names.
    1170   case $ac_val in
    1171     [\\/$]* | ?:[\\/]* )  continue;;
    1172     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    1173   esac
    1174   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    1175681done
    1176682
     
    1186692  if test "x$build_alias" = x; then
    1187693    cross_compiling=maybe
    1188     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1189     If a cross compiler is detected then cross compile mode will be used" >&2
     694    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     695    If a cross compiler is detected then cross compile mode will be used." >&2
    1190696  elif test "x$build_alias" != "x$host_alias"; then
    1191697    cross_compiling=yes
     
    1199705
    1200706
    1201 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1202 ac_ls_di=`ls -di .` &&
    1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1204   as_fn_error $? "working directory cannot be determined"
    1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1206   as_fn_error $? "pwd does not report name of working directory"
    1207 
    1208 
    1209707# Find the source files, if location was not specified.
    1210708if test -z "$srcdir"; then
    1211709  ac_srcdir_defaulted=yes
    1212   # Try the directory containing this script, then the parent directory.
    1213   ac_confdir=`$as_dirname -- "$as_myself" ||
    1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1215      X"$as_myself" : 'X\(//\)[^/]' \| \
    1216      X"$as_myself" : 'X\(//\)$' \| \
    1217      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
    1218 $as_echo X"$as_myself" |
    1219     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1220         s//\1/
    1221         q
    1222       }
    1223       /^X\(\/\/\)[^/].*/{
    1224         s//\1/
    1225         q
    1226       }
    1227       /^X\(\/\/\)$/{
    1228         s//\1/
    1229         q
    1230       }
    1231       /^X\(\/\).*/{
    1232         s//\1/
    1233         q
    1234       }
    1235       s/.*/./; q'`
     710  # Try the directory containing this script, then its parent.
     711  ac_confdir=`(dirname "$0") 2>/dev/null ||
     712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     713     X"$0" : 'X\(//\)[^/]' \| \
     714     X"$0" : 'X\(//\)$' \| \
     715     X"$0" : 'X\(/\)' \| \
     716     .     : '\(.\)' 2>/dev/null ||
     717echo X"$0" |
     718    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     719      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     720      /^X\(\/\/\)$/{ s//\1/; q; }
     721      /^X\(\/\).*/{ s//\1/; q; }
     722      s/.*/./; q'`
    1236723  srcdir=$ac_confdir
    1237   if test ! -r "$srcdir/$ac_unique_file"; then
     724  if test ! -r $srcdir/$ac_unique_file; then
    1238725    srcdir=..
    1239726  fi
     
    1241728  ac_srcdir_defaulted=no
    1242729fi
    1243 if test ! -r "$srcdir/$ac_unique_file"; then
    1244   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1245   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    1246 fi
    1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1248 ac_abs_confdir=`(
    1249     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    1250     pwd)`
    1251 # When building in place, set srcdir=.
    1252 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1253   srcdir=.
    1254 fi
    1255 # Remove unnecessary trailing slashes from srcdir.
    1256 # Double slashes in file names in object file debugging info
    1257 # mess up M-x gdb in Emacs.
    1258 case $srcdir in
    1259 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1260 esac
    1261 for ac_var in $ac_precious_vars; do
    1262   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1263   eval ac_env_${ac_var}_value=\$${ac_var}
    1264   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1265   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1266 done
     730if test ! -r $srcdir/$ac_unique_file; then
     731  if test "$ac_srcdir_defaulted" = yes; then
     732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     733   { (exit 1); exit 1; }; }
     734  else
     735    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     736   { (exit 1); exit 1; }; }
     737  fi
     738fi
     739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     740  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     741   { (exit 1); exit 1; }; }
     742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     743ac_env_build_alias_set=${build_alias+set}
     744ac_env_build_alias_value=$build_alias
     745ac_cv_env_build_alias_set=${build_alias+set}
     746ac_cv_env_build_alias_value=$build_alias
     747ac_env_host_alias_set=${host_alias+set}
     748ac_env_host_alias_value=$host_alias
     749ac_cv_env_host_alias_set=${host_alias+set}
     750ac_cv_env_host_alias_value=$host_alias
     751ac_env_target_alias_set=${target_alias+set}
     752ac_env_target_alias_value=$target_alias
     753ac_cv_env_target_alias_set=${target_alias+set}
     754ac_cv_env_target_alias_value=$target_alias
     755ac_env_CC_set=${CC+set}
     756ac_env_CC_value=$CC
     757ac_cv_env_CC_set=${CC+set}
     758ac_cv_env_CC_value=$CC
     759ac_env_CFLAGS_set=${CFLAGS+set}
     760ac_env_CFLAGS_value=$CFLAGS
     761ac_cv_env_CFLAGS_set=${CFLAGS+set}
     762ac_cv_env_CFLAGS_value=$CFLAGS
     763ac_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_env_LDFLAGS_value=$LDFLAGS
     765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     766ac_cv_env_LDFLAGS_value=$LDFLAGS
     767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_env_CPPFLAGS_value=$CPPFLAGS
     769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     771ac_env_CXX_set=${CXX+set}
     772ac_env_CXX_value=$CXX
     773ac_cv_env_CXX_set=${CXX+set}
     774ac_cv_env_CXX_value=$CXX
     775ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     776ac_env_CXXFLAGS_value=$CXXFLAGS
     777ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     778ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     779ac_env_CPP_set=${CPP+set}
     780ac_env_CPP_value=$CPP
     781ac_cv_env_CPP_set=${CPP+set}
     782ac_cv_env_CPP_value=$CPP
    1267783
    1268784#
     
    1287803      --help=recursive    display the short help of all the included packages
    1288804  -V, --version           display version information and exit
    1289   -q, --quiet, --silent   do not print \`checking ...' messages
     805  -q, --quiet, --silent   do not print \`checking...' messages
    1290806      --cache-file=FILE   cache test results in FILE [disabled]
    1291807  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    1293809      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1294810
     811_ACEOF
     812
     813  cat <<_ACEOF
    1295814Installation directories:
    1296815  --prefix=PREFIX         install architecture-independent files in PREFIX
    1297                           [$ac_default_prefix]
     816              [$ac_default_prefix]
    1298817  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1299                           [PREFIX]
     818              [PREFIX]
    1300819
    1301820By default, \`make install' will install all the files in
     
    1307826
    1308827Fine tuning of the installation directories:
    1309   --bindir=DIR            user executables [EPREFIX/bin]
    1310   --sbindir=DIR           system admin executables [EPREFIX/sbin]
    1311   --libexecdir=DIR        program executables [EPREFIX/libexec]
    1312   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
    1313   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    1314   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
    1315   --libdir=DIR            object code libraries [EPREFIX/lib]
    1316   --includedir=DIR        C header files [PREFIX/include]
    1317   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
    1318   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
    1319   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
    1320   --infodir=DIR           info documentation [DATAROOTDIR/info]
    1321   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
    1322   --mandir=DIR            man documentation [DATAROOTDIR/man]
    1323   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
    1324   --htmldir=DIR           html documentation [DOCDIR]
    1325   --dvidir=DIR            dvi documentation [DOCDIR]
    1326   --pdfdir=DIR            pdf documentation [DOCDIR]
    1327   --psdir=DIR             ps documentation [DOCDIR]
     828  --bindir=DIR           user executables [EPREFIX/bin]
     829  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     830  --libexecdir=DIR       program executables [EPREFIX/libexec]
     831  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     832  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     833  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     834  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     835  --libdir=DIR           object code libraries [EPREFIX/lib]
     836  --includedir=DIR       C header files [PREFIX/include]
     837  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     838  --infodir=DIR          info documentation [PREFIX/info]
     839  --mandir=DIR           man documentation [PREFIX/man]
    1328840_ACEOF
    1329841
     
    1342854
    1343855Optional Features:
    1344   --disable-option-checking  ignore unrecognized --enable/--with options
    1345856  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1346857  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    1371882  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1372883              nonstandard directory <lib dir>
    1373   LIBS        libraries to pass to the linker, e.g. -l<library>
    1374   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    1375               you have headers in a nonstandard directory <include dir>
     884  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     885              headers in a nonstandard directory <include dir>
    1376886  CXX         C++ compiler command
    1377887  CXXFLAGS    C++ compiler flags
    1378   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1379               the first program found out of: `bison -y', `byacc', `yacc'.
    1380   YFLAGS      The list of arguments that will be passed by default to $YACC.
    1381               This script will default YFLAGS to the empty string to avoid a
    1382               default value of `-d' given by some make applications.
    1383888  CPP         C preprocessor
    1384889
     
    1386891it to find libraries and programs with nonstandard names/locations.
    1387892
    1388 Report bugs to the package provider.
    1389 _ACEOF
    1390 ac_status=$?
     893_ACEOF
    1391894fi
    1392895
    1393896if test "$ac_init_help" = "recursive"; then
    1394897  # If there are subdirs, report their specific --help.
     898  ac_popdir=`pwd`
    1395899  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1396     test -d "$ac_dir" ||
    1397       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
    1398       continue
     900    test -d $ac_dir || continue
    1399901    ac_builddir=.
    1400902
    1401 case "$ac_dir" in
    1402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     903if test "$ac_dir" != .; then
     904  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     905  # A "../" for each directory in $ac_dir_suffix.
     906  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     907else
     908  ac_dir_suffix= ac_top_builddir=
     909fi
     910
     911case $srcdir in
     912  .)  # No --srcdir option.  We are building in place.
     913    ac_srcdir=.
     914    if test -z "$ac_top_builddir"; then
     915       ac_top_srcdir=.
     916    else
     917       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     918    fi ;;
     919  [\\/]* | ?:[\\/]* )  # Absolute path.
     920    ac_srcdir=$srcdir$ac_dir_suffix;
     921    ac_top_srcdir=$srcdir ;;
     922  *) # Relative path.
     923    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     924    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     925esac
     926
     927# Do not use `cd foo && pwd` to compute absolute paths, because
     928# the directories may not exist.
     929case `pwd` in
     930.) ac_abs_builddir="$ac_dir";;
    1403931*)
    1404   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    1405   # A ".." for each directory in $ac_dir_suffix.
    1406   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    1407   case $ac_top_builddir_sub in
    1408   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1409   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1410   esac ;;
     932  case "$ac_dir" in
     933  .) ac_abs_builddir=`pwd`;;
     934  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     935  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     936  esac;;
    1411937esac
    1412 ac_abs_top_builddir=$ac_pwd
    1413 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1414 # for backward compatibility:
    1415 ac_top_builddir=$ac_top_build_prefix
    1416 
    1417 case $srcdir in
    1418   .)  # We are building in place.
    1419     ac_srcdir=.
    1420     ac_top_srcdir=$ac_top_builddir_sub
    1421     ac_abs_top_srcdir=$ac_pwd ;;
    1422   [\\/]* | ?:[\\/]* )  # Absolute name.
    1423     ac_srcdir=$srcdir$ac_dir_suffix;
    1424     ac_top_srcdir=$srcdir
    1425     ac_abs_top_srcdir=$srcdir ;;
    1426   *) # Relative name.
    1427     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1428     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1429     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     938case $ac_abs_builddir in
     939.) ac_abs_top_builddir=${ac_top_builddir}.;;
     940*)
     941  case ${ac_top_builddir}. in
     942  .) ac_abs_top_builddir=$ac_abs_builddir;;
     943  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     944  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     945  esac;;
    1430946esac
    1431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1432 
    1433     cd "$ac_dir" || { ac_status=$?; continue; }
    1434     # Check for guested configure.
    1435     if test -f "$ac_srcdir/configure.gnu"; then
    1436       echo &&
    1437       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1438     elif test -f "$ac_srcdir/configure"; then
    1439       echo &&
    1440       $SHELL "$ac_srcdir/configure" --help=recursive
     947case $ac_abs_builddir in
     948.) ac_abs_srcdir=$ac_srcdir;;
     949*)
     950  case $ac_srcdir in
     951  .) ac_abs_srcdir=$ac_abs_builddir;;
     952  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     953  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     954  esac;;
     955esac
     956case $ac_abs_builddir in
     957.) ac_abs_top_srcdir=$ac_top_srcdir;;
     958*)
     959  case $ac_top_srcdir in
     960  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     961  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     962  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     963  esac;;
     964esac
     965
     966    cd $ac_dir
     967    # Check for guested configure; otherwise get Cygnus style configure.
     968    if test -f $ac_srcdir/configure.gnu; then
     969      echo
     970      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     971    elif test -f $ac_srcdir/configure; then
     972      echo
     973      $SHELL $ac_srcdir/configure  --help=recursive
     974    elif test -f $ac_srcdir/configure.ac ||
     975       test -f $ac_srcdir/configure.in; then
     976      echo
     977      $ac_configure --help
    1441978    else
    1442       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1443     fi || ac_status=$?
    1444     cd "$ac_pwd" || { ac_status=$?; break; }
     979      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     980    fi
     981    cd $ac_popdir
    1445982  done
    1446983fi
    1447984
    1448 test -n "$ac_init_help" && exit $ac_status
     985test -n "$ac_init_help" && exit 0
    1449986if $ac_init_version; then
    1450987  cat <<\_ACEOF
    1451 configure
    1452 generated by GNU Autoconf 2.67
    1453 
    1454 Copyright (C) 2010 Free Software Foundation, Inc.
     988
     989Copyright (C) 2003 Free Software Foundation, Inc.
    1455990This configure script is free software; the Free Software Foundation
    1456991gives unlimited permission to copy, distribute and modify it.
    1457992_ACEOF
    1458   exit
    1459 fi
    1460 
    1461 ## ------------------------ ##
    1462 ## Autoconf initialization. ##
    1463 ## ------------------------ ##
    1464 
    1465 # ac_fn_c_try_compile LINENO
    1466 # --------------------------
    1467 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1468 ac_fn_c_try_compile ()
    1469 {
    1470   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1471   rm -f conftest.$ac_objext
    1472   if { { ac_try="$ac_compile"
    1473 case "(($ac_try" in
    1474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1475   *) ac_try_echo=$ac_try;;
    1476 esac
    1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1478 $as_echo "$ac_try_echo"; } >&5
    1479   (eval "$ac_compile") 2>conftest.err
    1480   ac_status=$?
    1481   if test -s conftest.err; then
    1482     grep -v '^ *+' conftest.err >conftest.er1
    1483     cat conftest.er1 >&5
    1484     mv -f conftest.er1 conftest.err
    1485   fi
    1486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1487   test $ac_status = 0; } && {
    1488      test -z "$ac_c_werror_flag" ||
    1489      test ! -s conftest.err
    1490        } && test -s conftest.$ac_objext; then :
    1491   ac_retval=0
    1492 else
    1493   $as_echo "$as_me: failed program was:" >&5
    1494 sed 's/^/| /' conftest.$ac_ext >&5
    1495 
    1496     ac_retval=1
    1497 fi
    1498   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1499   as_fn_set_status $ac_retval
    1500 
    1501 } # ac_fn_c_try_compile
    1502 
    1503 # ac_fn_cxx_try_compile LINENO
    1504 # ----------------------------
    1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1506 ac_fn_cxx_try_compile ()
    1507 {
    1508   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1509   rm -f conftest.$ac_objext
    1510   if { { ac_try="$ac_compile"
    1511 case "(($ac_try" in
    1512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1513   *) ac_try_echo=$ac_try;;
    1514 esac
    1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1516 $as_echo "$ac_try_echo"; } >&5
    1517   (eval "$ac_compile") 2>conftest.err
    1518   ac_status=$?
    1519   if test -s conftest.err; then
    1520     grep -v '^ *+' conftest.err >conftest.er1
    1521     cat conftest.er1 >&5
    1522     mv -f conftest.er1 conftest.err
    1523   fi
    1524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1525   test $ac_status = 0; } && {
    1526      test -z "$ac_cxx_werror_flag" ||
    1527      test ! -s conftest.err
    1528        } && test -s conftest.$ac_objext; then :
    1529   ac_retval=0
    1530 else
    1531   $as_echo "$as_me: failed program was:" >&5
    1532 sed 's/^/| /' conftest.$ac_ext >&5
    1533 
    1534     ac_retval=1
    1535 fi
    1536   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1537   as_fn_set_status $ac_retval
    1538 
    1539 } # ac_fn_cxx_try_compile
    1540 
    1541 # ac_fn_c_try_cpp LINENO
    1542 # ----------------------
    1543 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1544 ac_fn_c_try_cpp ()
    1545 {
    1546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1547   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1548 case "(($ac_try" in
    1549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1550   *) ac_try_echo=$ac_try;;
    1551 esac
    1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1553 $as_echo "$ac_try_echo"; } >&5
    1554   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1555   ac_status=$?
    1556   if test -s conftest.err; then
    1557     grep -v '^ *+' conftest.err >conftest.er1
    1558     cat conftest.er1 >&5
    1559     mv -f conftest.er1 conftest.err
    1560   fi
    1561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1562   test $ac_status = 0; } > conftest.i && {
    1563      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1564      test ! -s conftest.err
    1565        }; then :
    1566   ac_retval=0
    1567 else
    1568   $as_echo "$as_me: failed program was:" >&5
    1569 sed 's/^/| /' conftest.$ac_ext >&5
    1570 
    1571     ac_retval=1
    1572 fi
    1573   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1574   as_fn_set_status $ac_retval
    1575 
    1576 } # ac_fn_c_try_cpp
    1577 
    1578 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1579 # -------------------------------------------------------
    1580 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1581 # the include files in INCLUDES and setting the cache variable VAR
    1582 # accordingly.
    1583 ac_fn_c_check_header_mongrel ()
    1584 {
    1585   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1586   if eval "test \"\${$3+set}\"" = set; then :
    1587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1588 $as_echo_n "checking for $2... " >&6; }
    1589 if eval "test \"\${$3+set}\"" = set; then :
    1590   $as_echo_n "(cached) " >&6
    1591 fi
    1592 eval ac_res=\$$3
    1593            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1594 $as_echo "$ac_res" >&6; }
    1595 else
    1596   # Is the header compilable?
    1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1598 $as_echo_n "checking $2 usability... " >&6; }
    1599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1600 /* end confdefs.h.  */
    1601 $4
    1602 #include <$2>
    1603 _ACEOF
    1604 if ac_fn_c_try_compile "$LINENO"; then :
    1605   ac_header_compiler=yes
    1606 else
    1607   ac_header_compiler=no
    1608 fi
    1609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1611 $as_echo "$ac_header_compiler" >&6; }
    1612 
    1613 # Is the header present?
    1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1615 $as_echo_n "checking $2 presence... " >&6; }
    1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1617 /* end confdefs.h.  */
    1618 #include <$2>
    1619 _ACEOF
    1620 if ac_fn_c_try_cpp "$LINENO"; then :
    1621   ac_header_preproc=yes
    1622 else
    1623   ac_header_preproc=no
    1624 fi
    1625 rm -f conftest.err conftest.i conftest.$ac_ext
    1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1627 $as_echo "$ac_header_preproc" >&6; }
    1628 
    1629 # So?  What about this header?
    1630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1631   yes:no: )
    1632     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1633 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1634     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1635 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1636     ;;
    1637   no:yes:* )
    1638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1639 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1640     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1641 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1642     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1643 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1645 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1648     ;;
    1649 esac
    1650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1651 $as_echo_n "checking for $2... " >&6; }
    1652 if eval "test \"\${$3+set}\"" = set; then :
    1653   $as_echo_n "(cached) " >&6
    1654 else
    1655   eval "$3=\$ac_header_compiler"
    1656 fi
    1657 eval ac_res=\$$3
    1658            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1659 $as_echo "$ac_res" >&6; }
    1660 fi
    1661   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1662 
    1663 } # ac_fn_c_check_header_mongrel
    1664 
    1665 # ac_fn_c_try_run LINENO
    1666 # ----------------------
    1667 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1668 # that executables *can* be run.
    1669 ac_fn_c_try_run ()
    1670 {
    1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1672   if { { ac_try="$ac_link"
    1673 case "(($ac_try" in
    1674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1675   *) ac_try_echo=$ac_try;;
    1676 esac
    1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1678 $as_echo "$ac_try_echo"; } >&5
    1679   (eval "$ac_link") 2>&5
    1680   ac_status=$?
    1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1682   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1683   { { case "(($ac_try" in
    1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1685   *) ac_try_echo=$ac_try;;
    1686 esac
    1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1688 $as_echo "$ac_try_echo"; } >&5
    1689   (eval "$ac_try") 2>&5
    1690   ac_status=$?
    1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1692   test $ac_status = 0; }; }; then :
    1693   ac_retval=0
    1694 else
    1695   $as_echo "$as_me: program exited with status $ac_status" >&5
    1696        $as_echo "$as_me: failed program was:" >&5
    1697 sed 's/^/| /' conftest.$ac_ext >&5
    1698 
    1699        ac_retval=$ac_status
    1700 fi
    1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1702   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1703   as_fn_set_status $ac_retval
    1704 
    1705 } # ac_fn_c_try_run
    1706 
    1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1708 # -------------------------------------------------------
    1709 # Tests whether HEADER exists and can be compiled using the include files in
    1710 # INCLUDES, setting the cache variable VAR accordingly.
    1711 ac_fn_c_check_header_compile ()
    1712 {
    1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1715 $as_echo_n "checking for $2... " >&6; }
    1716 if eval "test \"\${$3+set}\"" = set; then :
    1717   $as_echo_n "(cached) " >&6
    1718 else
    1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1720 /* end confdefs.h.  */
    1721 $4
    1722 #include <$2>
    1723 _ACEOF
    1724 if ac_fn_c_try_compile "$LINENO"; then :
    1725   eval "$3=yes"
    1726 else
    1727   eval "$3=no"
    1728 fi
    1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1730 fi
    1731 eval ac_res=\$$3
    1732            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1733 $as_echo "$ac_res" >&6; }
    1734   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1735 
    1736 } # ac_fn_c_check_header_compile
    1737 
    1738 # ac_fn_c_try_link LINENO
    1739 # -----------------------
    1740 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1741 ac_fn_c_try_link ()
    1742 {
    1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1744   rm -f conftest.$ac_objext conftest$ac_exeext
    1745   if { { ac_try="$ac_link"
    1746 case "(($ac_try" in
    1747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1748   *) ac_try_echo=$ac_try;;
    1749 esac
    1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1751 $as_echo "$ac_try_echo"; } >&5
    1752   (eval "$ac_link") 2>conftest.err
    1753   ac_status=$?
    1754   if test -s conftest.err; then
    1755     grep -v '^ *+' conftest.err >conftest.er1
    1756     cat conftest.er1 >&5
    1757     mv -f conftest.er1 conftest.err
    1758   fi
    1759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1760   test $ac_status = 0; } && {
    1761      test -z "$ac_c_werror_flag" ||
    1762      test ! -s conftest.err
    1763        } && test -s conftest$ac_exeext && {
    1764      test "$cross_compiling" = yes ||
    1765      $as_test_x conftest$ac_exeext
    1766        }; then :
    1767   ac_retval=0
    1768 else
    1769   $as_echo "$as_me: failed program was:" >&5
    1770 sed 's/^/| /' conftest.$ac_ext >&5
    1771 
    1772     ac_retval=1
    1773 fi
    1774   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1775   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1776   # interfere with the next link command; also delete a directory that is
    1777   # left behind by Apple's compiler.  We do this before executing the actions.
    1778   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1779   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1780   as_fn_set_status $ac_retval
    1781 
    1782 } # ac_fn_c_try_link
    1783 
    1784 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1785 # -------------------------------------------
    1786 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1787 # variable VAR accordingly.
    1788 ac_fn_c_check_type ()
    1789 {
    1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1792 $as_echo_n "checking for $2... " >&6; }
    1793 if eval "test \"\${$3+set}\"" = set; then :
    1794   $as_echo_n "(cached) " >&6
    1795 else
    1796   eval "$3=no"
    1797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1798 /* end confdefs.h.  */
    1799 $4
    1800 int
    1801 main ()
    1802 {
    1803 if (sizeof ($2))
    1804      return 0;
    1805   ;
    1806   return 0;
    1807 }
    1808 _ACEOF
    1809 if ac_fn_c_try_compile "$LINENO"; then :
    1810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1811 /* end confdefs.h.  */
    1812 $4
    1813 int
    1814 main ()
    1815 {
    1816 if (sizeof (($2)))
    1817         return 0;
    1818   ;
    1819   return 0;
    1820 }
    1821 _ACEOF
    1822 if ac_fn_c_try_compile "$LINENO"; then :
    1823 
    1824 else
    1825   eval "$3=yes"
    1826 fi
    1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1828 fi
    1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1830 fi
    1831 eval ac_res=\$$3
    1832            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1833 $as_echo "$ac_res" >&6; }
    1834   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1835 
    1836 } # ac_fn_c_check_type
    1837 
    1838 # ac_fn_c_check_func LINENO FUNC VAR
    1839 # ----------------------------------
    1840 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1841 ac_fn_c_check_func ()
    1842 {
    1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1845 $as_echo_n "checking for $2... " >&6; }
    1846 if eval "test \"\${$3+set}\"" = set; then :
    1847   $as_echo_n "(cached) " >&6
    1848 else
    1849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1850 /* end confdefs.h.  */
    1851 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1853 #define $2 innocuous_$2
    1854 
    1855 /* System header to define __stub macros and hopefully few prototypes,
    1856     which can conflict with char $2 (); below.
    1857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1858     <limits.h> exists even on freestanding compilers.  */
    1859 
    1860 #ifdef __STDC__
    1861 # include <limits.h>
    1862 #else
    1863 # include <assert.h>
    1864 #endif
    1865 
    1866 #undef $2
    1867 
    1868 /* Override any GCC internal prototype to avoid an error.
    1869    Use char because int might match the return type of a GCC
    1870    builtin and then its argument prototype would still apply.  */
    1871 #ifdef __cplusplus
    1872 extern "C"
    1873 #endif
    1874 char $2 ();
    1875 /* The GNU C library defines this for functions which it implements
    1876     to always fail with ENOSYS.  Some functions are actually named
    1877     something starting with __ and the normal name is an alias.  */
    1878 #if defined __stub_$2 || defined __stub___$2
    1879 choke me
    1880 #endif
    1881 
    1882 int
    1883 main ()
    1884 {
    1885 return $2 ();
    1886   ;
    1887   return 0;
    1888 }
    1889 _ACEOF
    1890 if ac_fn_c_try_link "$LINENO"; then :
    1891   eval "$3=yes"
    1892 else
    1893   eval "$3=no"
    1894 fi
    1895 rm -f core conftest.err conftest.$ac_objext \
    1896     conftest$ac_exeext conftest.$ac_ext
    1897 fi
    1898 eval ac_res=\$$3
    1899            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1900 $as_echo "$ac_res" >&6; }
    1901   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1902 
    1903 } # ac_fn_c_check_func
    1904 
    1905 # ac_fn_cxx_try_run LINENO
    1906 # ------------------------
    1907 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1908 # that executables *can* be run.
    1909 ac_fn_cxx_try_run ()
    1910 {
    1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1912   if { { ac_try="$ac_link"
    1913 case "(($ac_try" in
    1914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1915   *) ac_try_echo=$ac_try;;
    1916 esac
    1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1918 $as_echo "$ac_try_echo"; } >&5
    1919   (eval "$ac_link") 2>&5
    1920   ac_status=$?
    1921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1922   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1923   { { case "(($ac_try" in
    1924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1925   *) ac_try_echo=$ac_try;;
    1926 esac
    1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1928 $as_echo "$ac_try_echo"; } >&5
    1929   (eval "$ac_try") 2>&5
    1930   ac_status=$?
    1931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1932   test $ac_status = 0; }; }; then :
    1933   ac_retval=0
    1934 else
    1935   $as_echo "$as_me: program exited with status $ac_status" >&5
    1936        $as_echo "$as_me: failed program was:" >&5
    1937 sed 's/^/| /' conftest.$ac_ext >&5
    1938 
    1939        ac_retval=$ac_status
    1940 fi
    1941   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1942   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1943   as_fn_set_status $ac_retval
    1944 
    1945 } # ac_fn_cxx_try_run
    1946 cat >config.log <<_ACEOF
     993  exit 0
     994fi
     995exec 5>config.log
     996cat >&5 <<_ACEOF
    1947997This file contains any messages produced by compilers while
    1948998running configure, to aid debugging if configure makes a mistake.
    1949999
    19501000It was created by $as_me, which was
    1951 generated by GNU Autoconf 2.67.  Invocation command line was
     1001generated by GNU Autoconf 2.59.  Invocation command line was
    19521002
    19531003  $ $0 $@
    19541004
    19551005_ACEOF
    1956 exec 5>>config.log
    19571006{
    19581007cat <<_ASUNAME
     
    19731022/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    19741023/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1975 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1024hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    19761025/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    19771026/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    19851034  IFS=$as_save_IFS
    19861035  test -z "$as_dir" && as_dir=.
    1987     $as_echo "PATH: $as_dir"
    1988   done
    1989 IFS=$as_save_IFS
     1036  echo "PATH: $as_dir"
     1037done
    19901038
    19911039} >&5
     
    20091057ac_configure_args0=
    20101058ac_configure_args1=
     1059ac_sep=
    20111060ac_must_keep_next=false
    20121061for ac_pass in 1 2
     
    20191068    | -silent | --silent | --silen | --sile | --sil)
    20201069      continue ;;
    2021     *\'*)
    2022       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1070    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1071      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    20231072    esac
    20241073    case $ac_pass in
    2025     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1074    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    20261075    2)
    2027       as_fn_append ac_configure_args1 " '$ac_arg'"
     1076      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    20281077      if test $ac_must_keep_next = true; then
    20291078    ac_must_keep_next=false # Got value, back to normal.
     
    20411090    esac
    20421091      fi
    2043       as_fn_append ac_configure_args " '$ac_arg'"
     1092      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1093      # Get rid of the leading space.
     1094      ac_sep=" "
    20441095      ;;
    20451096    esac
    20461097  done
    20471098done
    2048 { ac_configure_args0=; unset ac_configure_args0;}
    2049 { ac_configure_args1=; unset ac_configure_args1;}
     1099$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1100$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    20501101
    20511102# When interrupted or exit'd, cleanup temporary files, and complete
    20521103# config.log.  We remove comments because anyway the quotes in there
    20531104# would cause problems or look ugly.
    2054 # WARNING: Use '\'' to represent an apostrophe within the trap.
    2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1105# WARNING: Be sure not to use single quotes in there, as some shells,
     1106# such as our DU 5.0 friend, will then `close' the trap.
    20561107trap 'exit_status=$?
    20571108  # Save into config.log some information that might help in debugging.
     
    20591110    echo
    20601111
    2061     $as_echo "## ---------------- ##
     1112    cat <<\_ASBOX
     1113## ---------------- ##
    20621114## Cache variables. ##
    2063 ## ---------------- ##"
     1115## ---------------- ##
     1116_ASBOX
    20641117    echo
    20651118    # The following way of writing the cache mishandles newlines in values,
    2066 (
    2067   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    2068     eval ac_val=\$$ac_var
    2069     case $ac_val in #(
    2070     *${as_nl}*)
    2071       case $ac_var in #(
    2072       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    2074       esac
    2075       case $ac_var in #(
    2076       _ | IFS | as_nl) ;; #(
    2077       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2078       *) { eval $ac_var=; unset $ac_var;} ;;
    2079       esac ;;
    2080     esac
    2081   done
     1119{
    20821120  (set) 2>&1 |
    2083     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    2084     *${as_nl}ac_space=\ *)
     1121    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1122    *ac_space=\ *)
    20851123      sed -n \
    2086     "s/'\''/'\''\\\\'\'''\''/g;
    2087       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    2088       ;; #(
     1124    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1125      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1126      ;;
    20891127    *)
    2090       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1128      sed -n \
     1129    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    20911130      ;;
    2092     esac |
    2093     sort
    2094 )
     1131    esac;
     1132}
    20951133    echo
    20961134
    2097     $as_echo "## ----------------- ##
     1135    cat <<\_ASBOX
     1136## ----------------- ##
    20981137## Output variables. ##
    2099 ## ----------------- ##"
     1138## ----------------- ##
     1139_ASBOX
    21001140    echo
    21011141    for ac_var in $ac_subst_vars
    21021142    do
    2103       eval ac_val=\$$ac_var
    2104       case $ac_val in
    2105       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2106       esac
    2107       $as_echo "$ac_var='\''$ac_val'\''"
     1143      eval ac_val=$`echo $ac_var`
     1144      echo "$ac_var='"'"'$ac_val'"'"'"
    21081145    done | sort
    21091146    echo
    21101147
    21111148    if test -n "$ac_subst_files"; then
    2112       $as_echo "## ------------------- ##
    2113 ## File substitutions. ##
    2114 ## ------------------- ##"
     1149      cat <<\_ASBOX
     1150## ------------- ##
     1151## Output files. ##
     1152## ------------- ##
     1153_ASBOX
    21151154      echo
    21161155      for ac_var in $ac_subst_files
    21171156      do
    2118     eval ac_val=\$$ac_var
    2119     case $ac_val in
    2120     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2121     esac
    2122     $as_echo "$ac_var='\''$ac_val'\''"
     1157    eval ac_val=$`echo $ac_var`
     1158    echo "$ac_var='"'"'$ac_val'"'"'"
    21231159      done | sort
    21241160      echo
     
    21261162
    21271163    if test -s confdefs.h; then
    2128       $as_echo "## ----------- ##
     1164      cat <<\_ASBOX
     1165## ----------- ##
    21291166## confdefs.h. ##
    2130 ## ----------- ##"
     1167## ----------- ##
     1168_ASBOX
    21311169      echo
    2132       cat confdefs.h
     1170      sed "/^$/d" confdefs.h | sort
    21331171      echo
    21341172    fi
    21351173    test "$ac_signal" != 0 &&
    2136       $as_echo "$as_me: caught signal $ac_signal"
    2137     $as_echo "$as_me: exit $exit_status"
     1174      echo "$as_me: caught signal $ac_signal"
     1175    echo "$as_me: exit $exit_status"
    21381176  } >&5
    2139   rm -f core *.core core.conftest.* &&
    2140     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1177  rm -f core *.core &&
     1178  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    21411179    exit $exit_status
    2142 ' 0
     1180     ' 0
    21431181for ac_signal in 1 2 13 15; do
    2144   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1182  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    21451183done
    21461184ac_signal=0
    21471185
    21481186# confdefs.h avoids OS command line length limits that DEFS can exceed.
    2149 rm -f -r conftest* confdefs.h
    2150 
    2151 $as_echo "/* confdefs.h */" > confdefs.h
     1187rm -rf conftest* confdefs.h
     1188# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1189echo >confdefs.h
    21521190
    21531191# Predefined preprocessor variables.
     
    21571195_ACEOF
    21581196
     1197
    21591198cat >>confdefs.h <<_ACEOF
    21601199#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    21611200_ACEOF
    21621201
     1202
    21631203cat >>confdefs.h <<_ACEOF
    21641204#define PACKAGE_VERSION "$PACKAGE_VERSION"
    21651205_ACEOF
    21661206
     1207
    21671208cat >>confdefs.h <<_ACEOF
    21681209#define PACKAGE_STRING "$PACKAGE_STRING"
    21691210_ACEOF
    21701211
     1212
    21711213cat >>confdefs.h <<_ACEOF
    21721214#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    21731215_ACEOF
    21741216
    2175 cat >>confdefs.h <<_ACEOF
    2176 #define PACKAGE_URL "$PACKAGE_URL"
    2177 _ACEOF
    2178 
    21791217
    21801218# Let the site file select an alternate cache file if it wants to.
    2181 # Prefer an explicitly selected file to automatically selected ones.
    2182 ac_site_file1=NONE
    2183 ac_site_file2=NONE
    2184 if test -n "$CONFIG_SITE"; then
    2185   # We do not want a PATH search for config.site.
    2186   case $CONFIG_SITE in #((
    2187     -*)  ac_site_file1=./$CONFIG_SITE;;
    2188     */*) ac_site_file1=$CONFIG_SITE;;
    2189     *)   ac_site_file1=./$CONFIG_SITE;;
    2190   esac
    2191 elif test "x$prefix" != xNONE; then
    2192   ac_site_file1=$prefix/share/config.site
    2193   ac_site_file2=$prefix/etc/config.site
    2194 else
    2195   ac_site_file1=$ac_default_prefix/share/config.site
    2196   ac_site_file2=$ac_default_prefix/etc/config.site
    2197 fi
    2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    2199 do
    2200   test "x$ac_site_file" = xNONE && continue
    2201   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2202     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     1219# Prefer explicitly selected file to automatically selected ones.
     1220if test -z "$CONFIG_SITE"; then
     1221  if test "x$prefix" != xNONE; then
     1222    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1223  else
     1224    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1225  fi
     1226fi
     1227for ac_site_file in $CONFIG_SITE; do
     1228  if test -r "$ac_site_file"; then
     1229    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1230echo "$as_me: loading site script $ac_site_file" >&6;}
    22041231    sed 's/^/| /' "$ac_site_file" >&5
    2205     . "$ac_site_file" \
    2206       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2208 as_fn_error $? "failed to load site script $ac_site_file
    2209 See \`config.log' for more details" "$LINENO" 5 ; }
     1232    . "$ac_site_file"
    22101233  fi
    22111234done
    22121235
    22131236if test -r "$cache_file"; then
    2214   # Some versions of bash will fail to source /dev/null (special files
    2215   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2216   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2217     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
     1237  # Some versions of bash will fail to source /dev/null (special
     1238  # files actually), so we avoid doing that.
     1239  if test -f "$cache_file"; then
     1240    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1241echo "$as_me: loading cache $cache_file" >&6;}
    22191242    case $cache_file in
    2220       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    2221       *)                      . "./$cache_file";;
     1243      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1244      *)                      . ./$cache_file;;
    22221245    esac
    22231246  fi
    22241247else
    2225   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
     1248  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1249echo "$as_me: creating cache $cache_file" >&6;}
    22271250  >$cache_file
    22281251fi
     
    22311254# value.
    22321255ac_cache_corrupted=false
    2233 for ac_var in $ac_precious_vars; do
     1256for ac_var in `(set) 2>&1 |
     1257           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    22341258  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    22351259  eval ac_new_set=\$ac_env_${ac_var}_set
    2236   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    2237   eval ac_new_val=\$ac_env_${ac_var}_value
     1260  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1261  eval ac_new_val="\$ac_env_${ac_var}_value"
    22381262  case $ac_old_set,$ac_new_set in
    22391263    set,)
    2240       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    2241 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1264      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1265echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    22421266      ac_cache_corrupted=: ;;
    22431267    ,set)
    2244       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    2245 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1268      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1269echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    22461270      ac_cache_corrupted=: ;;
    22471271    ,);;
    22481272    *)
    22491273      if test "x$ac_old_val" != "x$ac_new_val"; then
    2250     # differences in whitespace do not lead to failure.
    2251     ac_old_val_w=`echo x $ac_old_val`
    2252     ac_new_val_w=`echo x $ac_new_val`
    2253     if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2254       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    2255 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    2256       ac_cache_corrupted=:
    2257     else
    2258       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    2259 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    2260       eval $ac_var=\$ac_old_val
    2261     fi
    2262     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    2263 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2264     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    2265 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
     1274    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1275echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1276    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1277echo "$as_me:   former value:  $ac_old_val" >&2;}
     1278    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1279echo "$as_me:   current value: $ac_new_val" >&2;}
     1280    ac_cache_corrupted=:
    22661281      fi;;
    22671282  esac
     
    22691284  if test "$ac_new_set" = set; then
    22701285    case $ac_new_val in
    2271     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1286    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1287      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    22721288    *) ac_arg=$ac_var=$ac_new_val ;;
    22731289    esac
    22741290    case " $ac_configure_args " in
    22751291      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2276       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1292      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    22771293    esac
    22781294  fi
    22791295done
    22801296if $ac_cache_corrupted; then
    2281   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2283   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    2284 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2285   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2286 fi
    2287 ## -------------------- ##
    2288 ## Main body of script. ##
    2289 ## -------------------- ##
     1297  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1298echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1299  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1300echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1301   { (exit 1); exit 1; }; }
     1302fi
    22901303
    22911304ac_ext=c
     
    22961309
    22971310
    2298 ac_config_headers="$ac_config_headers config.h"
     1311
     1312
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324
     1325
     1326
     1327
     1328          ac_config_headers="$ac_config_headers config.h"
    22991329
    23001330
     
    23171347USE_FASTCGI=0
    23181348if test USE_FASTCGI = 1; then
    2319 $as_echo "#define USE_FASTCGI 1" >>confdefs.h
     1349cat >>confdefs.h <<\_ACEOF
     1350#define USE_FASTCGI 1
     1351_ACEOF
    23201352
    23211353
     
    23231355
    23241356if test USE_LANGACTION = 1; then
    2325 $as_echo "#define USE_LANGACTION 1" >>confdefs.h
    2326 
    2327 
    2328 fi
    2329 
    2330 # Check whether --enable-corba was given.
    2331 if test "${enable_corba+set}" = set; then :
    2332   enableval=$enable_corba; USE_CORBA=$enableval
     1357cat >>confdefs.h <<\_ACEOF
     1358#define USE_LANGACTION 1
     1359_ACEOF
     1360
     1361
     1362fi
     1363
     1364# Check whether --enable-corba or --disable-corba was given.
     1365if test "${enable_corba+set}" = set; then
     1366  enableval="$enable_corba"
     1367  USE_CORBA=$enableval
    23331368else
    23341369  USE_CORBA=no
    2335 fi
    2336 
     1370fi;
    23371371if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    23381372  USE_CORBA=1
    2339   $as_echo "#define USE_CORBA /**/" >>confdefs.h
     1373  cat >>confdefs.h <<\_ACEOF
     1374#define USE_CORBA
     1375_ACEOF
    23401376
    23411377else
     
    23451381
    23461382
    2347 # Check whether --with-micodir was given.
    2348 if test "${with_micodir+set}" = set; then :
    2349   withval=$with_micodir; MICO_DIR=$withval
     1383# Check whether --with-micodir or --without-micodir was given.
     1384if test "${with_micodir+set}" = set; then
     1385  withval="$with_micodir"
     1386  MICO_DIR=$withval
    23501387else
    23511388  MICO_DIR="default"
    2352 fi
    2353 
     1389fi;
    23541390cat >>confdefs.h <<_ACEOF
    23551391#define MICO_DIR "$MICO_DIR"
     
    23581394
    23591395
    2360 # Check whether --enable-z3950 was given.
    2361 if test "${enable_z3950+set}" = set; then :
    2362   enableval=$enable_z3950; USE_Z3950=$enableval
     1396# Check whether --enable-z3950 or --disable-z3950 was given.
     1397if test "${enable_z3950+set}" = set; then
     1398  enableval="$enable_z3950"
     1399  USE_Z3950=$enableval
    23631400else
    23641401  USE_Z3950=no
    2365 fi
    2366 
     1402fi;
    23671403if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    23681404  USE_Z3950=1
    2369   $as_echo "#define USE_Z3950 /**/" >>confdefs.h
     1405  cat >>confdefs.h <<\_ACEOF
     1406#define USE_Z3950
     1407_ACEOF
    23701408
    23711409else
     
    23741412
    23751413
    2376 # Check whether --enable-yaz was given.
    2377 if test "${enable_yaz+set}" = set; then :
    2378   enableval=$enable_yaz; USE_YAZ=$enableval
     1414# Check whether --enable-yaz or --disable-yaz was given.
     1415if test "${enable_yaz+set}" = set; then
     1416  enableval="$enable_yaz"
     1417  USE_YAZ=$enableval
    23791418else
    23801419  USE_YAZ=yes
    2381 fi
    2382 
     1420fi;
    23831421if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    23841422  USE_YAZ=1
    2385   $as_echo "#define USE_YAZ /**/" >>confdefs.h
     1423  cat >>confdefs.h <<\_ACEOF
     1424#define USE_YAZ
     1425_ACEOF
    23861426
    23871427else
     
    23901430
    23911431
    2392 # Check whether --enable-java was given.
    2393 if test "${enable_java+set}" = set; then :
    2394   enableval=$enable_java; ENABLE_JAVA=$enableval
     1432# Check whether --enable-java or --disable-java was given.
     1433if test "${enable_java+set}" = set; then
     1434  enableval="$enable_java"
     1435  ENABLE_JAVA=$enableval
    23951436else
    23961437  ENABLE_JAVA=yes
    2397 fi
    2398 
     1438fi;
    23991439if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
    24001440  ENABLE_JAVA=1
     
    24101450
    24111451
    2412 # Check whether --enable-jdbm was given.
    2413 if test "${enable_jdbm+set}" = set; then :
    2414   enableval=$enable_jdbm; USE_JDBM=$enableval
     1452# Check whether --enable-jdbm or --disable-jdbm was given.
     1453if test "${enable_jdbm+set}" = set; then
     1454  enableval="$enable_jdbm"
     1455  USE_JDBM=$enableval
    24151456else
    24161457  USE_JDBM=yes
    2417 fi
    2418 
     1458fi;
    24191459if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    24201460  USE_JDBM=1
    2421   $as_echo "#define USE_JDBM /**/" >>confdefs.h
     1461  cat >>confdefs.h <<\_ACEOF
     1462#define USE_JDBM
     1463_ACEOF
    24221464
    24231465else
     
    24261468
    24271469
    2428 # Check whether --enable-gdbm was given.
    2429 if test "${enable_gdbm+set}" = set; then :
    2430   enableval=$enable_gdbm; USE_GDBM=$enableval
     1470# Check whether --enable-gdbm or --disable-gdbm was given.
     1471if test "${enable_gdbm+set}" = set; then
     1472  enableval="$enable_gdbm"
     1473  USE_GDBM=$enableval
    24311474else
    24321475  USE_GDBM=yes
    2433 fi
    2434 
     1476fi;
    24351477if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    24361478  USE_GDBM=1
    2437   $as_echo "#define USE_GDBM /**/" >>confdefs.h
     1479  cat >>confdefs.h <<\_ACEOF
     1480#define USE_GDBM
     1481_ACEOF
    24381482
    24391483else
     
    24421486
    24431487
    2444 # Check whether --enable-accentfold was given.
    2445 if test "${enable_accentfold+set}" = set; then :
    2446   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
     1488# Check whether --enable-accentfold or --disable-accentfold was given.
     1489if test "${enable_accentfold+set}" = set; then
     1490  enableval="$enable_accentfold"
     1491  ENABLE_ACCENTFOLD=$enableval
    24471492else
    24481493  ENABLE_ACCENTFOLD=yes
    2449 fi
    2450 
     1494fi;
    24511495if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    24521496  ENABLE_ACCENTFOLD=1
    2453   $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
     1497  cat >>confdefs.h <<\_ACEOF
     1498#define ENABLE_ACCENTFOLD
     1499_ACEOF
    24541500
    24551501else
     
    24591505
    24601506
    2461 # Check whether --enable-sqlite was given.
    2462 if test "${enable_sqlite+set}" = set; then :
    2463   enableval=$enable_sqlite; USE_SQLITE=$enableval
     1507# Check whether --enable-sqlite or --disable-sqlite was given.
     1508if test "${enable_sqlite+set}" = set; then
     1509  enableval="$enable_sqlite"
     1510  USE_SQLITE=$enableval
    24641511else
    24651512  USE_SQLITE=yes
    2466 fi
    2467 
     1513fi;
    24681514if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    24691515  USE_SQLITE=1
    2470   $as_echo "#define USE_SQLITE /**/" >>confdefs.h
     1516  cat >>confdefs.h <<\_ACEOF
     1517#define USE_SQLITE
     1518_ACEOF
    24711519
    24721520else
     
    24751523
    24761524
    2477 # Check whether --enable-jni was given.
    2478 if test "${enable_jni+set}" = set; then :
    2479   enableval=$enable_jni; ENABLE_JNI=$enableval
     1525# Check whether --enable-jni or --disable-jni was given.
     1526if test "${enable_jni+set}" = set; then
     1527  enableval="$enable_jni"
     1528  ENABLE_JNI=$enableval
    24801529else
    24811530  ENABLE_JNI=no
    2482 fi
    2483 
     1531fi;
    24841532if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
    24851533  ENABLE_JNI=1
    2486   $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
     1534  cat >>confdefs.h <<\_ACEOF
     1535#define ENABLE_JNI
     1536_ACEOF
    24871537
    24881538else
     
    24911541
    24921542
    2493 # Check whether --enable-mg was given.
    2494 if test "${enable_mg+set}" = set; then :
    2495   enableval=$enable_mg; ENABLE_MG=$enableval
     1543# Check whether --enable-mg or --disable-mg was given.
     1544if test "${enable_mg+set}" = set; then
     1545  enableval="$enable_mg"
     1546  ENABLE_MG=$enableval
    24961547else
    24971548  ENABLE_MG=yes
    2498 fi
    2499 
     1549fi;
    25001550if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
    25011551  ENABLE_MG=1
    2502   $as_echo "#define ENABLE_MG /**/" >>confdefs.h
     1552  cat >>confdefs.h <<\_ACEOF
     1553#define ENABLE_MG
     1554_ACEOF
    25031555
    25041556else
     
    25071559
    25081560
    2509 # Check whether --enable-mgpp was given.
    2510 if test "${enable_mgpp+set}" = set; then :
    2511   enableval=$enable_mgpp; ENABLE_MGPP=$enableval
     1561# Check whether --enable-mgpp or --disable-mgpp was given.
     1562if test "${enable_mgpp+set}" = set; then
     1563  enableval="$enable_mgpp"
     1564  ENABLE_MGPP=$enableval
    25121565else
    25131566  ENABLE_MGPP=yes
    2514 fi
    2515 
     1567fi;
    25161568if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
    25171569  ENABLE_MGPP=1
    2518   $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
     1570  cat >>confdefs.h <<\_ACEOF
     1571#define ENABLE_MGPP
     1572_ACEOF
    25191573
    25201574else
     
    25231577
    25241578
    2525 # Check whether --enable-lucene was given.
    2526 if test "${enable_lucene+set}" = set; then :
    2527   enableval=$enable_lucene; ENABLE_LUCENE=$enableval
     1579# Check whether --enable-lucene or --disable-lucene was given.
     1580if test "${enable_lucene+set}" = set; then
     1581  enableval="$enable_lucene"
     1582  ENABLE_LUCENE=$enableval
    25281583else
    25291584  ENABLE_LUCENE=yes
    2530 fi
    2531 
     1585fi;
    25321586if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
    25331587  ENABLE_LUCENE=1
    2534   $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
     1588  cat >>confdefs.h <<\_ACEOF
     1589#define ENABLE_LUCENE
     1590_ACEOF
    25351591
    25361592else
     
    25561612  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    25571613set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2559 $as_echo_n "checking for $ac_word... " >&6; }
    2560 if test "${ac_cv_prog_CC+set}" = set; then :
    2561   $as_echo_n "(cached) " >&6
     1614echo "$as_me:$LINENO: checking for $ac_word" >&5
     1615echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1616if test "${ac_cv_prog_CC+set}" = set; then
     1617  echo $ECHO_N "(cached) $ECHO_C" >&6
    25621618else
    25631619  if test -n "$CC"; then
     
    25691625  IFS=$as_save_IFS
    25701626  test -z "$as_dir" && as_dir=.
    2571     for ac_exec_ext in '' $ac_executable_extensions; do
    2572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1627  for ac_exec_ext in '' $ac_executable_extensions; do
     1628  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25731629    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1630    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25751631    break 2
    25761632  fi
    25771633done
    2578   done
    2579 IFS=$as_save_IFS
     1634done
    25801635
    25811636fi
     
    25831638CC=$ac_cv_prog_CC
    25841639if test -n "$CC"; then
    2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2586 $as_echo "$CC" >&6; }
    2587 else
    2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2589 $as_echo "no" >&6; }
    2590 fi
    2591 
     1640  echo "$as_me:$LINENO: result: $CC" >&5
     1641echo "${ECHO_T}$CC" >&6
     1642else
     1643  echo "$as_me:$LINENO: result: no" >&5
     1644echo "${ECHO_T}no" >&6
     1645fi
    25921646
    25931647fi
     
    25961650  # Extract the first word of "gcc", so it can be a program name with args.
    25971651set dummy gcc; ac_word=$2
    2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2599 $as_echo_n "checking for $ac_word... " >&6; }
    2600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2601   $as_echo_n "(cached) " >&6
     1652echo "$as_me:$LINENO: checking for $ac_word" >&5
     1653echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1654if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1655  echo $ECHO_N "(cached) $ECHO_C" >&6
    26021656else
    26031657  if test -n "$ac_ct_CC"; then
     
    26091663  IFS=$as_save_IFS
    26101664  test -z "$as_dir" && as_dir=.
    2611     for ac_exec_ext in '' $ac_executable_extensions; do
    2612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1665  for ac_exec_ext in '' $ac_executable_extensions; do
     1666  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26131667    ac_cv_prog_ac_ct_CC="gcc"
    2614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1668    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26151669    break 2
    26161670  fi
    26171671done
    2618   done
    2619 IFS=$as_save_IFS
     1672done
    26201673
    26211674fi
     
    26231676ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26241677if test -n "$ac_ct_CC"; then
    2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2626 $as_echo "$ac_ct_CC" >&6; }
    2627 else
    2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2629 $as_echo "no" >&6; }
    2630 fi
    2631 
    2632   if test "x$ac_ct_CC" = x; then
    2633     CC=""
    2634   else
    2635     case $cross_compiling:$ac_tool_warned in
    2636 yes:)
    2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2639 ac_tool_warned=yes ;;
    2640 esac
    2641     CC=$ac_ct_CC
    2642   fi
     1678  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1679echo "${ECHO_T}$ac_ct_CC" >&6
     1680else
     1681  echo "$as_me:$LINENO: result: no" >&5
     1682echo "${ECHO_T}no" >&6
     1683fi
     1684
     1685  CC=$ac_ct_CC
    26431686else
    26441687  CC="$ac_cv_prog_CC"
     
    26461689
    26471690if test -z "$CC"; then
    2648           if test -n "$ac_tool_prefix"; then
    2649     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1691  if test -n "$ac_tool_prefix"; then
     1692  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    26501693set dummy ${ac_tool_prefix}cc; ac_word=$2
    2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2652 $as_echo_n "checking for $ac_word... " >&6; }
    2653 if test "${ac_cv_prog_CC+set}" = set; then :
    2654   $as_echo_n "(cached) " >&6
     1694echo "$as_me:$LINENO: checking for $ac_word" >&5
     1695echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1696if test "${ac_cv_prog_CC+set}" = set; then
     1697  echo $ECHO_N "(cached) $ECHO_C" >&6
    26551698else
    26561699  if test -n "$CC"; then
     
    26621705  IFS=$as_save_IFS
    26631706  test -z "$as_dir" && as_dir=.
    2664     for ac_exec_ext in '' $ac_executable_extensions; do
    2665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1707  for ac_exec_ext in '' $ac_executable_extensions; do
     1708  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26661709    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1710    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26681711    break 2
    26691712  fi
    26701713done
    2671   done
    2672 IFS=$as_save_IFS
     1714done
    26731715
    26741716fi
     
    26761718CC=$ac_cv_prog_CC
    26771719if test -n "$CC"; then
    2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2679 $as_echo "$CC" >&6; }
    2680 else
    2681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2682 $as_echo "no" >&6; }
    2683 fi
    2684 
    2685 
     1720  echo "$as_me:$LINENO: result: $CC" >&5
     1721echo "${ECHO_T}$CC" >&6
     1722else
     1723  echo "$as_me:$LINENO: result: no" >&5
     1724echo "${ECHO_T}no" >&6
     1725fi
     1726
     1727fi
     1728if test -z "$ac_cv_prog_CC"; then
     1729  ac_ct_CC=$CC
     1730  # Extract the first word of "cc", so it can be a program name with args.
     1731set dummy cc; ac_word=$2
     1732echo "$as_me:$LINENO: checking for $ac_word" >&5
     1733echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1734if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1735  echo $ECHO_N "(cached) $ECHO_C" >&6
     1736else
     1737  if test -n "$ac_ct_CC"; then
     1738  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1739else
     1740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1741for as_dir in $PATH
     1742do
     1743  IFS=$as_save_IFS
     1744  test -z "$as_dir" && as_dir=.
     1745  for ac_exec_ext in '' $ac_executable_extensions; do
     1746  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1747    ac_cv_prog_ac_ct_CC="cc"
     1748    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1749    break 2
    26861750  fi
     1751done
     1752done
     1753
     1754fi
     1755fi
     1756ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1757if test -n "$ac_ct_CC"; then
     1758  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1759echo "${ECHO_T}$ac_ct_CC" >&6
     1760else
     1761  echo "$as_me:$LINENO: result: no" >&5
     1762echo "${ECHO_T}no" >&6
     1763fi
     1764
     1765  CC=$ac_ct_CC
     1766else
     1767  CC="$ac_cv_prog_CC"
     1768fi
     1769
    26871770fi
    26881771if test -z "$CC"; then
    26891772  # Extract the first word of "cc", so it can be a program name with args.
    26901773set dummy cc; ac_word=$2
    2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2692 $as_echo_n "checking for $ac_word... " >&6; }
    2693 if test "${ac_cv_prog_CC+set}" = set; then :
    2694   $as_echo_n "(cached) " >&6
     1774echo "$as_me:$LINENO: checking for $ac_word" >&5
     1775echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1776if test "${ac_cv_prog_CC+set}" = set; then
     1777  echo $ECHO_N "(cached) $ECHO_C" >&6
    26951778else
    26961779  if test -n "$CC"; then
     
    27031786  IFS=$as_save_IFS
    27041787  test -z "$as_dir" && as_dir=.
    2705     for ac_exec_ext in '' $ac_executable_extensions; do
    2706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1788  for ac_exec_ext in '' $ac_executable_extensions; do
     1789  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27071790    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    27081791       ac_prog_rejected=yes
     
    27101793     fi
    27111794    ac_cv_prog_CC="cc"
    2712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1795    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27131796    break 2
    27141797  fi
    27151798done
    2716   done
    2717 IFS=$as_save_IFS
     1799done
    27181800
    27191801if test $ac_prog_rejected = yes; then
     
    27331815CC=$ac_cv_prog_CC
    27341816if test -n "$CC"; then
    2735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2736 $as_echo "$CC" >&6; }
    2737 else
    2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2739 $as_echo "no" >&6; }
    2740 fi
    2741 
     1817  echo "$as_me:$LINENO: result: $CC" >&5
     1818echo "${ECHO_T}$CC" >&6
     1819else
     1820  echo "$as_me:$LINENO: result: no" >&5
     1821echo "${ECHO_T}no" >&6
     1822fi
    27421823
    27431824fi
    27441825if test -z "$CC"; then
    27451826  if test -n "$ac_tool_prefix"; then
    2746   for ac_prog in cl.exe
     1827  for ac_prog in cl
    27471828  do
    27481829    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    27491830set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2751 $as_echo_n "checking for $ac_word... " >&6; }
    2752 if test "${ac_cv_prog_CC+set}" = set; then :
    2753   $as_echo_n "(cached) " >&6
     1831echo "$as_me:$LINENO: checking for $ac_word" >&5
     1832echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1833if test "${ac_cv_prog_CC+set}" = set; then
     1834  echo $ECHO_N "(cached) $ECHO_C" >&6
    27541835else
    27551836  if test -n "$CC"; then
     
    27611842  IFS=$as_save_IFS
    27621843  test -z "$as_dir" && as_dir=.
    2763     for ac_exec_ext in '' $ac_executable_extensions; do
    2764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1844  for ac_exec_ext in '' $ac_executable_extensions; do
     1845  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27651846    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1847    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27671848    break 2
    27681849  fi
    27691850done
    2770   done
    2771 IFS=$as_save_IFS
     1851done
    27721852
    27731853fi
     
    27751855CC=$ac_cv_prog_CC
    27761856if test -n "$CC"; then
    2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2778 $as_echo "$CC" >&6; }
    2779 else
    2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2781 $as_echo "no" >&6; }
    2782 fi
    2783 
     1857  echo "$as_me:$LINENO: result: $CC" >&5
     1858echo "${ECHO_T}$CC" >&6
     1859else
     1860  echo "$as_me:$LINENO: result: no" >&5
     1861echo "${ECHO_T}no" >&6
     1862fi
    27841863
    27851864    test -n "$CC" && break
     
    27881867if test -z "$CC"; then
    27891868  ac_ct_CC=$CC
    2790   for ac_prog in cl.exe
     1869  for ac_prog in cl
    27911870do
    27921871  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27931872set dummy $ac_prog; ac_word=$2
    2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2795 $as_echo_n "checking for $ac_word... " >&6; }
    2796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2797   $as_echo_n "(cached) " >&6
     1873echo "$as_me:$LINENO: checking for $ac_word" >&5
     1874echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1875if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1876  echo $ECHO_N "(cached) $ECHO_C" >&6
    27981877else
    27991878  if test -n "$ac_ct_CC"; then
     
    28051884  IFS=$as_save_IFS
    28061885  test -z "$as_dir" && as_dir=.
    2807     for ac_exec_ext in '' $ac_executable_extensions; do
    2808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1886  for ac_exec_ext in '' $ac_executable_extensions; do
     1887  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28091888    ac_cv_prog_ac_ct_CC="$ac_prog"
    2810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1889    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28111890    break 2
    28121891  fi
    28131892done
    2814   done
    2815 IFS=$as_save_IFS
     1893done
    28161894
    28171895fi
     
    28191897ac_ct_CC=$ac_cv_prog_ac_ct_CC
    28201898if test -n "$ac_ct_CC"; then
    2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2822 $as_echo "$ac_ct_CC" >&6; }
    2823 else
    2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2825 $as_echo "no" >&6; }
    2826 fi
    2827 
     1899  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1900echo "${ECHO_T}$ac_ct_CC" >&6
     1901else
     1902  echo "$as_me:$LINENO: result: no" >&5
     1903echo "${ECHO_T}no" >&6
     1904fi
    28281905
    28291906  test -n "$ac_ct_CC" && break
    28301907done
    28311908
    2832   if test "x$ac_ct_CC" = x; then
    2833     CC=""
    2834   else
    2835     case $cross_compiling:$ac_tool_warned in
    2836 yes:)
    2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2839 ac_tool_warned=yes ;;
    2840 esac
    2841     CC=$ac_ct_CC
    2842   fi
    2843 fi
    2844 
    2845 fi
    2846 
    2847 
    2848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2850 as_fn_error $? "no acceptable C compiler found in \$PATH
    2851 See \`config.log' for more details" "$LINENO" 5 ; }
     1909  CC=$ac_ct_CC
     1910fi
     1911
     1912fi
     1913
     1914
     1915test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1916See \`config.log' for more details." >&5
     1917echo "$as_me: error: no acceptable C compiler found in \$PATH
     1918See \`config.log' for more details." >&2;}
     1919   { (exit 1); exit 1; }; }
    28521920
    28531921# Provide some information about the compiler.
    2854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    2855 set X $ac_compile
    2856 ac_compiler=$2
    2857 for ac_option in --version -v -V -qversion; do
    2858   { { ac_try="$ac_compiler $ac_option >&5"
    2859 case "(($ac_try" in
    2860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2861   *) ac_try_echo=$ac_try;;
    2862 esac
    2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2864 $as_echo "$ac_try_echo"; } >&5
    2865   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    2866   ac_status=$?
    2867   if test -s conftest.err; then
    2868     sed '10a\
    2869 ... rest of stderr output deleted ...
    2870          10q' conftest.err >conftest.er1
    2871     cat conftest.er1 >&5
    2872   fi
    2873   rm -f conftest.er1 conftest.err
    2874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2875   test $ac_status = 0; }
    2876 done
    2877 
    2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1922echo "$as_me:$LINENO:" \
     1923     "checking for C compiler version" >&5
     1924ac_compiler=`set X $ac_compile; echo $2`
     1925{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1926  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1927  ac_status=$?
     1928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1929  (exit $ac_status); }
     1930{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1931  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1932  ac_status=$?
     1933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1934  (exit $ac_status); }
     1935{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1936  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1937  ac_status=$?
     1938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1939  (exit $ac_status); }
     1940
     1941cat >conftest.$ac_ext <<_ACEOF
     1942/* confdefs.h.  */
     1943_ACEOF
     1944cat confdefs.h >>conftest.$ac_ext
     1945cat >>conftest.$ac_ext <<_ACEOF
    28791946/* end confdefs.h.  */
    28801947
     
    28881955_ACEOF
    28891956ac_clean_files_save=$ac_clean_files
    2890 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     1957ac_clean_files="$ac_clean_files a.out a.exe b.out"
    28911958# Try to create an executable without -o first, disregard a.out.
    28921959# It will help us diagnose broken compilers, and finding out an intuition
    28931960# of exeext.
    2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    2895 $as_echo_n "checking whether the C compiler works... " >&6; }
    2896 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2897 
    2898 # The possible output files:
    2899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2900 
    2901 ac_rmfiles=
    2902 for ac_file in $ac_files
    2903 do
    2904   case $ac_file in
    2905     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2906     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2907   esac
    2908 done
    2909 rm -f $ac_rmfiles
    2910 
    2911 if { { ac_try="$ac_link_default"
    2912 case "(($ac_try" in
    2913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2914   *) ac_try_echo=$ac_try;;
    2915 esac
    2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2917 $as_echo "$ac_try_echo"; } >&5
    2918   (eval "$ac_link_default") 2>&5
    2919   ac_status=$?
    2920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2921   test $ac_status = 0; }; then :
    2922   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2923 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2924 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2925 # so that the user can short-circuit this test for compilers unknown to
    2926 # Autoconf.
    2927 for ac_file in $ac_files ''
     1961echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1962echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     1963ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     1964if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1965  (eval $ac_link_default) 2>&5
     1966  ac_status=$?
     1967  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1968  (exit $ac_status); }; then
     1969  # Find the output, starting from the most likely.  This scheme is
     1970# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1971# resort.
     1972
     1973# Be careful to initialize this variable, since it used to be cached.
     1974# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1975ac_cv_exeext=
     1976# b.out is created by i960 compilers.
     1977for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    29281978do
    29291979  test -f "$ac_file" || continue
    29301980  case $ac_file in
    2931     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     1981    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1982    ;;
     1983    conftest.$ac_ext )
     1984    # This is the source file.
    29321985    ;;
    29331986    [ab].out )
     
    29361989    break;;
    29371990    *.* )
    2938     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2939     then :; else
    2940        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2941     fi
    2942     # We set ac_cv_exeext here because the later test for it is not
    2943     # safe: cross compilers may not add the suffix if given an `-o'
    2944     # argument, so we may need to know it at that point already.
    2945     # Even if this section looks crufty: it has the advantage of
    2946     # actually working.
     1991    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1992    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1993    # but it would be cool to find out if it's true.  Does anybody
     1994    # maintain Libtool? --akim.
     1995    export ac_cv_exeext
    29471996    break;;
    29481997    * )
     
    29501999  esac
    29512000done
    2952 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2953 
    2954 else
    2955   ac_file=''
    2956 fi
    2957 if test -z "$ac_file"; then :
    2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2959 $as_echo "no" >&6; }
    2960 $as_echo "$as_me: failed program was:" >&5
     2001else
     2002  echo "$as_me: failed program was:" >&5
    29612003sed 's/^/| /' conftest.$ac_ext >&5
    29622004
    2963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2965 as_fn_error 77 "C compiler cannot create executables
    2966 See \`config.log' for more details" "$LINENO" 5 ; }
    2967 else
    2968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    2969 $as_echo "yes" >&6; }
    2970 fi
    2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    2972 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    2974 $as_echo "$ac_file" >&6; }
     2005{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     2006See \`config.log' for more details." >&5
     2007echo "$as_me: error: C compiler cannot create executables
     2008See \`config.log' for more details." >&2;}
     2009   { (exit 77); exit 77; }; }
     2010fi
     2011
    29752012ac_exeext=$ac_cv_exeext
    2976 
    2977 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2013echo "$as_me:$LINENO: result: $ac_file" >&5
     2014echo "${ECHO_T}$ac_file" >&6
     2015
     2016# Check the compiler produces executables we can run.  If not, either
     2017# the compiler is broken, or we cross compile.
     2018echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2019echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2020# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2021# If not cross compiling, check that we can run a simple program.
     2022if test "$cross_compiling" != yes; then
     2023  if { ac_try='./$ac_file'
     2024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2025  (eval $ac_try) 2>&5
     2026  ac_status=$?
     2027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2028  (exit $ac_status); }; }; then
     2029    cross_compiling=no
     2030  else
     2031    if test "$cross_compiling" = maybe; then
     2032    cross_compiling=yes
     2033    else
     2034    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2035If you meant to cross compile, use \`--host'.
     2036See \`config.log' for more details." >&5
     2037echo "$as_me: error: cannot run C compiled programs.
     2038If you meant to cross compile, use \`--host'.
     2039See \`config.log' for more details." >&2;}
     2040   { (exit 1); exit 1; }; }
     2041    fi
     2042  fi
     2043fi
     2044echo "$as_me:$LINENO: result: yes" >&5
     2045echo "${ECHO_T}yes" >&6
     2046
     2047rm -f a.out a.exe conftest$ac_cv_exeext b.out
    29782048ac_clean_files=$ac_clean_files_save
    2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    2980 $as_echo_n "checking for suffix of executables... " >&6; }
    2981 if { { ac_try="$ac_link"
    2982 case "(($ac_try" in
    2983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2984   *) ac_try_echo=$ac_try;;
    2985 esac
    2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2987 $as_echo "$ac_try_echo"; } >&5
    2988   (eval "$ac_link") 2>&5
    2989   ac_status=$?
    2990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2991   test $ac_status = 0; }; then :
     2049# Check the compiler produces executables we can run.  If not, either
     2050# the compiler is broken, or we cross compile.
     2051echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2052echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     2053echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2054echo "${ECHO_T}$cross_compiling" >&6
     2055
     2056echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2057echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     2058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2059  (eval $ac_link) 2>&5
     2060  ac_status=$?
     2061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2062  (exit $ac_status); }; then
    29922063  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    29932064# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29972068  test -f "$ac_file" || continue
    29982069  case $ac_file in
    2999     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2070    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    30002071    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2072      export ac_cv_exeext
    30012073      break;;
    30022074    * ) break;;
     
    30042076done
    30052077else
    3006   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3008 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3009 See \`config.log' for more details" "$LINENO" 5 ; }
    3010 fi
    3011 rm -f conftest conftest$ac_cv_exeext
    3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    3013 $as_echo "$ac_cv_exeext" >&6; }
     2078  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2079See \`config.log' for more details." >&5
     2080echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2081See \`config.log' for more details." >&2;}
     2082   { (exit 1); exit 1; }; }
     2083fi
     2084
     2085rm -f conftest$ac_cv_exeext
     2086echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2087echo "${ECHO_T}$ac_cv_exeext" >&6
    30142088
    30152089rm -f conftest.$ac_ext
    30162090EXEEXT=$ac_cv_exeext
    30172091ac_exeext=$EXEEXT
    3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2092echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2093echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2094if test "${ac_cv_objext+set}" = set; then
     2095  echo $ECHO_N "(cached) $ECHO_C" >&6
     2096else
     2097  cat >conftest.$ac_ext <<_ACEOF
     2098/* confdefs.h.  */
     2099_ACEOF
     2100cat confdefs.h >>conftest.$ac_ext
     2101cat >>conftest.$ac_ext <<_ACEOF
    30192102/* end confdefs.h.  */
    3020 #include <stdio.h>
     2103
    30212104int
    30222105main ()
    30232106{
    3024 FILE *f = fopen ("conftest.out", "w");
    3025  return ferror (f) || fclose (f) != 0;
    30262107
    30272108  ;
     
    30292110}
    30302111_ACEOF
    3031 ac_clean_files="$ac_clean_files conftest.out"
    3032 # Check that the compiler produces executables we can run.  If not, either
    3033 # the compiler is broken, or we cross compile.
    3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3035 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3036 if test "$cross_compiling" != yes; then
    3037   { { ac_try="$ac_link"
    3038 case "(($ac_try" in
    3039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3040   *) ac_try_echo=$ac_try;;
    3041 esac
    3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3043 $as_echo "$ac_try_echo"; } >&5
    3044   (eval "$ac_link") 2>&5
    3045   ac_status=$?
    3046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3047   test $ac_status = 0; }
    3048   if { ac_try='./conftest$ac_cv_exeext'
    3049   { { case "(($ac_try" in
    3050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3051   *) ac_try_echo=$ac_try;;
    3052 esac
    3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3054 $as_echo "$ac_try_echo"; } >&5
    3055   (eval "$ac_try") 2>&5
    3056   ac_status=$?
    3057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3058   test $ac_status = 0; }; }; then
    3059     cross_compiling=no
    3060   else
    3061     if test "$cross_compiling" = maybe; then
    3062     cross_compiling=yes
    3063     else
    3064     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3066 as_fn_error $? "cannot run C compiled programs.
    3067 If you meant to cross compile, use \`--host'.
    3068 See \`config.log' for more details" "$LINENO" 5 ; }
    3069     fi
    3070   fi
    3071 fi
    3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3073 $as_echo "$cross_compiling" >&6; }
    3074 
    3075 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3076 ac_clean_files=$ac_clean_files_save
    3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3078 $as_echo_n "checking for suffix of object files... " >&6; }
    3079 if test "${ac_cv_objext+set}" = set; then :
    3080   $as_echo_n "(cached) " >&6
    3081 else
    3082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3083 /* end confdefs.h.  */
    3084 
    3085 int
    3086 main ()
    3087 {
    3088 
    3089   ;
    3090   return 0;
    3091 }
    3092 _ACEOF
    30932112rm -f conftest.o conftest.obj
    3094 if { { ac_try="$ac_compile"
    3095 case "(($ac_try" in
    3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3097   *) ac_try_echo=$ac_try;;
    3098 esac
    3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3100 $as_echo "$ac_try_echo"; } >&5
    3101   (eval "$ac_compile") 2>&5
    3102   ac_status=$?
    3103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3104   test $ac_status = 0; }; then :
    3105   for ac_file in conftest.o conftest.obj conftest.*; do
    3106   test -f "$ac_file" || continue;
     2113if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2114  (eval $ac_compile) 2>&5
     2115  ac_status=$?
     2116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2117  (exit $ac_status); }; then
     2118  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    31072119  case $ac_file in
    3108     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     2120    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    31092121    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    31102122       break;;
     
    31122124done
    31132125else
    3114   $as_echo "$as_me: failed program was:" >&5
     2126  echo "$as_me: failed program was:" >&5
    31152127sed 's/^/| /' conftest.$ac_ext >&5
    31162128
    3117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3119 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3120 See \`config.log' for more details" "$LINENO" 5 ; }
    3121 fi
     2129{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2130See \`config.log' for more details." >&5
     2131echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2132See \`config.log' for more details." >&2;}
     2133   { (exit 1); exit 1; }; }
     2134fi
     2135
    31222136rm -f conftest.$ac_cv_objext conftest.$ac_ext
    31232137fi
    3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    3125 $as_echo "$ac_cv_objext" >&6; }
     2138echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2139echo "${ECHO_T}$ac_cv_objext" >&6
    31262140OBJEXT=$ac_cv_objext
    31272141ac_objext=$OBJEXT
    3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    3129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3130 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    3131   $as_echo_n "(cached) " >&6
    3132 else
    3133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2142echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2143echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2144if test "${ac_cv_c_compiler_gnu+set}" = set; then
     2145  echo $ECHO_N "(cached) $ECHO_C" >&6
     2146else
     2147  cat >conftest.$ac_ext <<_ACEOF
     2148/* confdefs.h.  */
     2149_ACEOF
     2150cat confdefs.h >>conftest.$ac_ext
     2151cat >>conftest.$ac_ext <<_ACEOF
    31342152/* end confdefs.h.  */
    31352153
     
    31452163}
    31462164_ACEOF
    3147 if ac_fn_c_try_compile "$LINENO"; then :
     2165rm -f conftest.$ac_objext
     2166if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2167  (eval $ac_compile) 2>conftest.er1
     2168  ac_status=$?
     2169  grep -v '^ *+' conftest.er1 >conftest.err
     2170  rm -f conftest.er1
     2171  cat conftest.err >&5
     2172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2173  (exit $ac_status); } &&
     2174     { ac_try='test -z "$ac_c_werror_flag"
     2175             || test ! -s conftest.err'
     2176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2177  (eval $ac_try) 2>&5
     2178  ac_status=$?
     2179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2180  (exit $ac_status); }; } &&
     2181     { ac_try='test -s conftest.$ac_objext'
     2182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2183  (eval $ac_try) 2>&5
     2184  ac_status=$?
     2185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2186  (exit $ac_status); }; }; then
    31482187  ac_compiler_gnu=yes
    31492188else
    3150   ac_compiler_gnu=no
    3151 fi
    3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2189  echo "$as_me: failed program was:" >&5
     2190sed 's/^/| /' conftest.$ac_ext >&5
     2191
     2192ac_compiler_gnu=no
     2193fi
     2194rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    31532195ac_cv_c_compiler_gnu=$ac_compiler_gnu
    31542196
    31552197fi
    3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    3157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    3158 if test $ac_compiler_gnu = yes; then
    3159   GCC=yes
    3160 else
    3161   GCC=
    3162 fi
     2198echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2199echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2200GCC=`test $ac_compiler_gnu = yes && echo yes`
    31632201ac_test_CFLAGS=${CFLAGS+set}
    31642202ac_save_CFLAGS=$CFLAGS
    3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    3166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    3167 if test "${ac_cv_prog_cc_g+set}" = set; then :
    3168   $as_echo_n "(cached) " >&6
    3169 else
    3170   ac_save_c_werror_flag=$ac_c_werror_flag
    3171    ac_c_werror_flag=yes
    3172    ac_cv_prog_cc_g=no
    3173    CFLAGS="-g"
    3174    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2203CFLAGS="-g"
     2204echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2205echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2206if test "${ac_cv_prog_cc_g+set}" = set; then
     2207  echo $ECHO_N "(cached) $ECHO_C" >&6
     2208else
     2209  cat >conftest.$ac_ext <<_ACEOF
     2210/* confdefs.h.  */
     2211_ACEOF
     2212cat confdefs.h >>conftest.$ac_ext
     2213cat >>conftest.$ac_ext <<_ACEOF
    31752214/* end confdefs.h.  */
    31762215
     
    31832222}
    31842223_ACEOF
    3185 if ac_fn_c_try_compile "$LINENO"; then :
     2224rm -f conftest.$ac_objext
     2225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2226  (eval $ac_compile) 2>conftest.er1
     2227  ac_status=$?
     2228  grep -v '^ *+' conftest.er1 >conftest.err
     2229  rm -f conftest.er1
     2230  cat conftest.err >&5
     2231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2232  (exit $ac_status); } &&
     2233     { ac_try='test -z "$ac_c_werror_flag"
     2234             || test ! -s conftest.err'
     2235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2236  (eval $ac_try) 2>&5
     2237  ac_status=$?
     2238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2239  (exit $ac_status); }; } &&
     2240     { ac_try='test -s conftest.$ac_objext'
     2241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2242  (eval $ac_try) 2>&5
     2243  ac_status=$?
     2244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2245  (exit $ac_status); }; }; then
    31862246  ac_cv_prog_cc_g=yes
    31872247else
    3188   CFLAGS=""
    3189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3190 /* end confdefs.h.  */
    3191 
    3192 int
    3193 main ()
    3194 {
    3195 
    3196   ;
    3197   return 0;
    3198 }
    3199 _ACEOF
    3200 if ac_fn_c_try_compile "$LINENO"; then :
    3201 
    3202 else
    3203   ac_c_werror_flag=$ac_save_c_werror_flag
    3204      CFLAGS="-g"
    3205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3206 /* end confdefs.h.  */
    3207 
    3208 int
    3209 main ()
    3210 {
    3211 
    3212   ;
    3213   return 0;
    3214 }
    3215 _ACEOF
    3216 if ac_fn_c_try_compile "$LINENO"; then :
    3217   ac_cv_prog_cc_g=yes
    3218 fi
    3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3220 fi
    3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3222 fi
    3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3224    ac_c_werror_flag=$ac_save_c_werror_flag
    3225 fi
    3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    3227 $as_echo "$ac_cv_prog_cc_g" >&6; }
     2248  echo "$as_me: failed program was:" >&5
     2249sed 's/^/| /' conftest.$ac_ext >&5
     2250
     2251ac_cv_prog_cc_g=no
     2252fi
     2253rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2254fi
     2255echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2256echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    32282257if test "$ac_test_CFLAGS" = set; then
    32292258  CFLAGS=$ac_save_CFLAGS
     
    32412270  fi
    32422271fi
    3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    3244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3245 if test "${ac_cv_prog_cc_c89+set}" = set; then :
    3246   $as_echo_n "(cached) " >&6
    3247 else
    3248   ac_cv_prog_cc_c89=no
     2272echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2273echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2274if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2275  echo $ECHO_N "(cached) $ECHO_C" >&6
     2276else
     2277  ac_cv_prog_cc_stdc=no
    32492278ac_save_CC=$CC
    3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2279cat >conftest.$ac_ext <<_ACEOF
     2280/* confdefs.h.  */
     2281_ACEOF
     2282cat confdefs.h >>conftest.$ac_ext
     2283cat >>conftest.$ac_ext <<_ACEOF
    32512284/* end confdefs.h.  */
    32522285#include <stdarg.h>
     
    32762309   function prototypes and stuff, but not '\xHH' hex character constants.
    32772310   These don't provoke an error unfortunately, instead are silently treated
    3278    as 'x'.  The following induces an error, until -std is added to get
     2311   as 'x'.  The following induces an error, until -std1 is added to get
    32792312   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    32802313   array size at least.  It's necessary to write '\x00'==0 to get something
    3281    that's true only with -std.  */
     2314   that's true only with -std1.  */
    32822315int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3283 
    3284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3285    inside strings and character constants.  */
    3286 #define FOO(x) 'x'
    3287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    32882316
    32892317int test (int i, double x);
     
    33012329}
    33022330_ACEOF
    3303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3304     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2331# Don't try gcc -ansi; that turns off useful extensions and
     2332# breaks some systems' header files.
     2333# AIX           -qlanglvl=ansi
     2334# Ultrix and OSF/1  -std1
     2335# HP-UX 10.20 and later -Ae
     2336# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2337# SVR4          -Xc -D__EXTENSIONS__
     2338for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    33052339do
    33062340  CC="$ac_save_CC $ac_arg"
    3307   if ac_fn_c_try_compile "$LINENO"; then :
    3308   ac_cv_prog_cc_c89=$ac_arg
    3309 fi
    3310 rm -f core conftest.err conftest.$ac_objext
    3311   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2341  rm -f conftest.$ac_objext
     2342if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2343  (eval $ac_compile) 2>conftest.er1
     2344  ac_status=$?
     2345  grep -v '^ *+' conftest.er1 >conftest.err
     2346  rm -f conftest.er1
     2347  cat conftest.err >&5
     2348  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2349  (exit $ac_status); } &&
     2350     { ac_try='test -z "$ac_c_werror_flag"
     2351             || test ! -s conftest.err'
     2352  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2353  (eval $ac_try) 2>&5
     2354  ac_status=$?
     2355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2356  (exit $ac_status); }; } &&
     2357     { ac_try='test -s conftest.$ac_objext'
     2358  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2359  (eval $ac_try) 2>&5
     2360  ac_status=$?
     2361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2362  (exit $ac_status); }; }; then
     2363  ac_cv_prog_cc_stdc=$ac_arg
     2364break
     2365else
     2366  echo "$as_me: failed program was:" >&5
     2367sed 's/^/| /' conftest.$ac_ext >&5
     2368
     2369fi
     2370rm -f conftest.err conftest.$ac_objext
    33122371done
    3313 rm -f conftest.$ac_ext
     2372rm -f conftest.$ac_ext conftest.$ac_objext
    33142373CC=$ac_save_CC
    33152374
    33162375fi
    3317 # AC_CACHE_VAL
    3318 case "x$ac_cv_prog_cc_c89" in
    3319   x)
    3320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    3321 $as_echo "none needed" >&6; } ;;
    3322   xno)
    3323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    3324 $as_echo "unsupported" >&6; } ;;
     2376
     2377case "x$ac_cv_prog_cc_stdc" in
     2378  x|xno)
     2379    echo "$as_me:$LINENO: result: none needed" >&5
     2380echo "${ECHO_T}none needed" >&6 ;;
    33252381  *)
    3326     CC="$CC $ac_cv_prog_cc_c89"
    3327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    3328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     2382    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2383echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2384    CC="$CC $ac_cv_prog_cc_stdc" ;;
    33292385esac
    3330 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3331 
    3332 fi
    3333 
     2386
     2387# Some people use a C++ compiler to compile C.  Since we use `exit',
     2388# in C++ we need to declare it.  In case someone uses the same compiler
     2389# for both compiling C and C++ we need to have the C++ compiler decide
     2390# the declaration of exit, since it's the most demanding environment.
     2391cat >conftest.$ac_ext <<_ACEOF
     2392#ifndef __cplusplus
     2393  choke me
     2394#endif
     2395_ACEOF
     2396rm -f conftest.$ac_objext
     2397if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2398  (eval $ac_compile) 2>conftest.er1
     2399  ac_status=$?
     2400  grep -v '^ *+' conftest.er1 >conftest.err
     2401  rm -f conftest.er1
     2402  cat conftest.err >&5
     2403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2404  (exit $ac_status); } &&
     2405     { ac_try='test -z "$ac_c_werror_flag"
     2406             || test ! -s conftest.err'
     2407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2408  (eval $ac_try) 2>&5
     2409  ac_status=$?
     2410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2411  (exit $ac_status); }; } &&
     2412     { ac_try='test -s conftest.$ac_objext'
     2413  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2414  (eval $ac_try) 2>&5
     2415  ac_status=$?
     2416  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2417  (exit $ac_status); }; }; then
     2418  for ac_declaration in \
     2419   '' \
     2420   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2421   'extern "C" void std::exit (int); using std::exit;' \
     2422   'extern "C" void exit (int) throw ();' \
     2423   'extern "C" void exit (int);' \
     2424   'void exit (int);'
     2425do
     2426  cat >conftest.$ac_ext <<_ACEOF
     2427/* confdefs.h.  */
     2428_ACEOF
     2429cat confdefs.h >>conftest.$ac_ext
     2430cat >>conftest.$ac_ext <<_ACEOF
     2431/* end confdefs.h.  */
     2432$ac_declaration
     2433#include <stdlib.h>
     2434int
     2435main ()
     2436{
     2437exit (42);
     2438  ;
     2439  return 0;
     2440}
     2441_ACEOF
     2442rm -f conftest.$ac_objext
     2443if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2444  (eval $ac_compile) 2>conftest.er1
     2445  ac_status=$?
     2446  grep -v '^ *+' conftest.er1 >conftest.err
     2447  rm -f conftest.er1
     2448  cat conftest.err >&5
     2449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2450  (exit $ac_status); } &&
     2451     { ac_try='test -z "$ac_c_werror_flag"
     2452             || test ! -s conftest.err'
     2453  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2454  (eval $ac_try) 2>&5
     2455  ac_status=$?
     2456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2457  (exit $ac_status); }; } &&
     2458     { ac_try='test -s conftest.$ac_objext'
     2459  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2460  (eval $ac_try) 2>&5
     2461  ac_status=$?
     2462  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2463  (exit $ac_status); }; }; then
     2464  :
     2465else
     2466  echo "$as_me: failed program was:" >&5
     2467sed 's/^/| /' conftest.$ac_ext >&5
     2468
     2469continue
     2470fi
     2471rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2472  cat >conftest.$ac_ext <<_ACEOF
     2473/* confdefs.h.  */
     2474_ACEOF
     2475cat confdefs.h >>conftest.$ac_ext
     2476cat >>conftest.$ac_ext <<_ACEOF
     2477/* end confdefs.h.  */
     2478$ac_declaration
     2479int
     2480main ()
     2481{
     2482exit (42);
     2483  ;
     2484  return 0;
     2485}
     2486_ACEOF
     2487rm -f conftest.$ac_objext
     2488if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2489  (eval $ac_compile) 2>conftest.er1
     2490  ac_status=$?
     2491  grep -v '^ *+' conftest.er1 >conftest.err
     2492  rm -f conftest.er1
     2493  cat conftest.err >&5
     2494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2495  (exit $ac_status); } &&
     2496     { ac_try='test -z "$ac_c_werror_flag"
     2497             || test ! -s conftest.err'
     2498  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2499  (eval $ac_try) 2>&5
     2500  ac_status=$?
     2501  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2502  (exit $ac_status); }; } &&
     2503     { ac_try='test -s conftest.$ac_objext'
     2504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2505  (eval $ac_try) 2>&5
     2506  ac_status=$?
     2507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2508  (exit $ac_status); }; }; then
     2509  break
     2510else
     2511  echo "$as_me: failed program was:" >&5
     2512sed 's/^/| /' conftest.$ac_ext >&5
     2513
     2514fi
     2515rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2516done
     2517rm -f conftest*
     2518if test -n "$ac_declaration"; then
     2519  echo '#ifdef __cplusplus' >>confdefs.h
     2520  echo $ac_declaration      >>confdefs.h
     2521  echo '#endif'             >>confdefs.h
     2522fi
     2523
     2524else
     2525  echo "$as_me: failed program was:" >&5
     2526sed 's/^/| /' conftest.$ac_ext >&5
     2527
     2528fi
     2529rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    33342530ac_ext=c
    33352531ac_cpp='$CPP $CPPFLAGS'
     
    33382534ac_compiler_gnu=$ac_cv_c_compiler_gnu
    33392535
    3340 ac_ext=cpp
     2536ac_ext=cc
    33412537ac_cpp='$CXXCPP $CPPFLAGS'
    33422538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    33432539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    33442540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3345 if test -z "$CXX"; then
    3346   if test -n "$CCC"; then
    3347     CXX=$CCC
    3348   else
    3349     if test -n "$ac_tool_prefix"; then
    3350   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2541if test -n "$ac_tool_prefix"; then
     2542  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    33512543  do
    33522544    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33532545set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3355 $as_echo_n "checking for $ac_word... " >&6; }
    3356 if test "${ac_cv_prog_CXX+set}" = set; then :
    3357   $as_echo_n "(cached) " >&6
     2546echo "$as_me:$LINENO: checking for $ac_word" >&5
     2547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2548if test "${ac_cv_prog_CXX+set}" = set; then
     2549  echo $ECHO_N "(cached) $ECHO_C" >&6
    33582550else
    33592551  if test -n "$CXX"; then
     
    33652557  IFS=$as_save_IFS
    33662558  test -z "$as_dir" && as_dir=.
    3367     for ac_exec_ext in '' $ac_executable_extensions; do
    3368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2559  for ac_exec_ext in '' $ac_executable_extensions; do
     2560  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33692561    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2562    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33712563    break 2
    33722564  fi
    33732565done
    3374   done
    3375 IFS=$as_save_IFS
     2566done
    33762567
    33772568fi
     
    33792570CXX=$ac_cv_prog_CXX
    33802571if test -n "$CXX"; then
    3381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    3382 $as_echo "$CXX" >&6; }
    3383 else
    3384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3385 $as_echo "no" >&6; }
    3386 fi
    3387 
     2572  echo "$as_me:$LINENO: result: $CXX" >&5
     2573echo "${ECHO_T}$CXX" >&6
     2574else
     2575  echo "$as_me:$LINENO: result: no" >&5
     2576echo "${ECHO_T}no" >&6
     2577fi
    33882578
    33892579    test -n "$CXX" && break
     
    33922582if test -z "$CXX"; then
    33932583  ac_ct_CXX=$CXX
    3394   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2584  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    33952585do
    33962586  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33972587set dummy $ac_prog; ac_word=$2
    3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3399 $as_echo_n "checking for $ac_word... " >&6; }
    3400 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
    3401   $as_echo_n "(cached) " >&6
     2588echo "$as_me:$LINENO: checking for $ac_word" >&5
     2589echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2590if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     2591  echo $ECHO_N "(cached) $ECHO_C" >&6
    34022592else
    34032593  if test -n "$ac_ct_CXX"; then
     
    34092599  IFS=$as_save_IFS
    34102600  test -z "$as_dir" && as_dir=.
    3411     for ac_exec_ext in '' $ac_executable_extensions; do
    3412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2601  for ac_exec_ext in '' $ac_executable_extensions; do
     2602  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34132603    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2604    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    34152605    break 2
    34162606  fi
    34172607done
    3418   done
    3419 IFS=$as_save_IFS
     2608done
    34202609
    34212610fi
     
    34232612ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34242613if test -n "$ac_ct_CXX"; then
    3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    3426 $as_echo "$ac_ct_CXX" >&6; }
    3427 else
    3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3429 $as_echo "no" >&6; }
    3430 fi
    3431 
     2614  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2615echo "${ECHO_T}$ac_ct_CXX" >&6
     2616else
     2617  echo "$as_me:$LINENO: result: no" >&5
     2618echo "${ECHO_T}no" >&6
     2619fi
    34322620
    34332621  test -n "$ac_ct_CXX" && break
    34342622done
    3435 
    3436   if test "x$ac_ct_CXX" = x; then
    3437     CXX="g++"
    3438   else
    3439     case $cross_compiling:$ac_tool_warned in
    3440 yes:)
    3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    3443 ac_tool_warned=yes ;;
    3444 esac
    3445     CXX=$ac_ct_CXX
    3446   fi
    3447 fi
    3448 
    3449   fi
    3450 fi
     2623test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2624
     2625  CXX=$ac_ct_CXX
     2626fi
     2627
     2628
    34512629# Provide some information about the compiler.
    3452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    3453 set X $ac_compile
    3454 ac_compiler=$2
    3455 for ac_option in --version -v -V -qversion; do
    3456   { { ac_try="$ac_compiler $ac_option >&5"
    3457 case "(($ac_try" in
    3458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3459   *) ac_try_echo=$ac_try;;
    3460 esac
    3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3462 $as_echo "$ac_try_echo"; } >&5
    3463   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    3464   ac_status=$?
    3465   if test -s conftest.err; then
    3466     sed '10a\
    3467 ... rest of stderr output deleted ...
    3468          10q' conftest.err >conftest.er1
    3469     cat conftest.er1 >&5
    3470   fi
    3471   rm -f conftest.er1 conftest.err
    3472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3473   test $ac_status = 0; }
    3474 done
    3475 
    3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    3477 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3478 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
    3479   $as_echo_n "(cached) " >&6
    3480 else
    3481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2630echo "$as_me:$LINENO:" \
     2631     "checking for C++ compiler version" >&5
     2632ac_compiler=`set X $ac_compile; echo $2`
     2633{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2634  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2635  ac_status=$?
     2636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2637  (exit $ac_status); }
     2638{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2639  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2640  ac_status=$?
     2641  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2642  (exit $ac_status); }
     2643{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2644  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2645  ac_status=$?
     2646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2647  (exit $ac_status); }
     2648
     2649echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2650echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2651if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2652  echo $ECHO_N "(cached) $ECHO_C" >&6
     2653else
     2654  cat >conftest.$ac_ext <<_ACEOF
     2655/* confdefs.h.  */
     2656_ACEOF
     2657cat confdefs.h >>conftest.$ac_ext
     2658cat >>conftest.$ac_ext <<_ACEOF
    34822659/* end confdefs.h.  */
    34832660
     
    34932670}
    34942671_ACEOF
    3495 if ac_fn_cxx_try_compile "$LINENO"; then :
     2672rm -f conftest.$ac_objext
     2673if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2674  (eval $ac_compile) 2>conftest.er1
     2675  ac_status=$?
     2676  grep -v '^ *+' conftest.er1 >conftest.err
     2677  rm -f conftest.er1
     2678  cat conftest.err >&5
     2679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2680  (exit $ac_status); } &&
     2681     { ac_try='test -z "$ac_cxx_werror_flag"
     2682             || test ! -s conftest.err'
     2683  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2684  (eval $ac_try) 2>&5
     2685  ac_status=$?
     2686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2687  (exit $ac_status); }; } &&
     2688     { ac_try='test -s conftest.$ac_objext'
     2689  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2690  (eval $ac_try) 2>&5
     2691  ac_status=$?
     2692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2693  (exit $ac_status); }; }; then
    34962694  ac_compiler_gnu=yes
    34972695else
    3498   ac_compiler_gnu=no
    3499 fi
    3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2696  echo "$as_me: failed program was:" >&5
     2697sed 's/^/| /' conftest.$ac_ext >&5
     2698
     2699ac_compiler_gnu=no
     2700fi
     2701rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    35012702ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35022703
    35032704fi
    3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    3505 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    3506 if test $ac_compiler_gnu = yes; then
    3507   GXX=yes
    3508 else
    3509   GXX=
    3510 fi
     2705echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2706echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2707GXX=`test $ac_compiler_gnu = yes && echo yes`
    35112708ac_test_CXXFLAGS=${CXXFLAGS+set}
    35122709ac_save_CXXFLAGS=$CXXFLAGS
    3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    3514 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3515 if test "${ac_cv_prog_cxx_g+set}" = set; then :
    3516   $as_echo_n "(cached) " >&6
    3517 else
    3518   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3519    ac_cxx_werror_flag=yes
    3520    ac_cv_prog_cxx_g=no
    3521    CXXFLAGS="-g"
    3522    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2710CXXFLAGS="-g"
     2711echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2712echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2713if test "${ac_cv_prog_cxx_g+set}" = set; then
     2714  echo $ECHO_N "(cached) $ECHO_C" >&6
     2715else
     2716  cat >conftest.$ac_ext <<_ACEOF
     2717/* confdefs.h.  */
     2718_ACEOF
     2719cat confdefs.h >>conftest.$ac_ext
     2720cat >>conftest.$ac_ext <<_ACEOF
    35232721/* end confdefs.h.  */
    35242722
     
    35312729}
    35322730_ACEOF
    3533 if ac_fn_cxx_try_compile "$LINENO"; then :
     2731rm -f conftest.$ac_objext
     2732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2733  (eval $ac_compile) 2>conftest.er1
     2734  ac_status=$?
     2735  grep -v '^ *+' conftest.er1 >conftest.err
     2736  rm -f conftest.er1
     2737  cat conftest.err >&5
     2738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2739  (exit $ac_status); } &&
     2740     { ac_try='test -z "$ac_cxx_werror_flag"
     2741             || test ! -s conftest.err'
     2742  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2743  (eval $ac_try) 2>&5
     2744  ac_status=$?
     2745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2746  (exit $ac_status); }; } &&
     2747     { ac_try='test -s conftest.$ac_objext'
     2748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2749  (eval $ac_try) 2>&5
     2750  ac_status=$?
     2751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2752  (exit $ac_status); }; }; then
    35342753  ac_cv_prog_cxx_g=yes
    35352754else
    3536   CXXFLAGS=""
    3537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3538 /* end confdefs.h.  */
    3539 
    3540 int
    3541 main ()
    3542 {
    3543 
    3544   ;
    3545   return 0;
    3546 }
    3547 _ACEOF
    3548 if ac_fn_cxx_try_compile "$LINENO"; then :
    3549 
    3550 else
    3551   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3552      CXXFLAGS="-g"
    3553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3554 /* end confdefs.h.  */
    3555 
    3556 int
    3557 main ()
    3558 {
    3559 
    3560   ;
    3561   return 0;
    3562 }
    3563 _ACEOF
    3564 if ac_fn_cxx_try_compile "$LINENO"; then :
    3565   ac_cv_prog_cxx_g=yes
    3566 fi
    3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3568 fi
    3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3570 fi
    3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3572    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3573 fi
    3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    3575 $as_echo "$ac_cv_prog_cxx_g" >&6; }
     2755  echo "$as_me: failed program was:" >&5
     2756sed 's/^/| /' conftest.$ac_ext >&5
     2757
     2758ac_cv_prog_cxx_g=no
     2759fi
     2760rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2761fi
     2762echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2763echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    35762764if test "$ac_test_CXXFLAGS" = set; then
    35772765  CXXFLAGS=$ac_save_CXXFLAGS
     
    35892777  fi
    35902778fi
     2779for ac_declaration in \
     2780   '' \
     2781   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2782   'extern "C" void std::exit (int); using std::exit;' \
     2783   'extern "C" void exit (int) throw ();' \
     2784   'extern "C" void exit (int);' \
     2785   'void exit (int);'
     2786do
     2787  cat >conftest.$ac_ext <<_ACEOF
     2788/* confdefs.h.  */
     2789_ACEOF
     2790cat confdefs.h >>conftest.$ac_ext
     2791cat >>conftest.$ac_ext <<_ACEOF
     2792/* end confdefs.h.  */
     2793$ac_declaration
     2794#include <stdlib.h>
     2795int
     2796main ()
     2797{
     2798exit (42);
     2799  ;
     2800  return 0;
     2801}
     2802_ACEOF
     2803rm -f conftest.$ac_objext
     2804if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2805  (eval $ac_compile) 2>conftest.er1
     2806  ac_status=$?
     2807  grep -v '^ *+' conftest.er1 >conftest.err
     2808  rm -f conftest.er1
     2809  cat conftest.err >&5
     2810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2811  (exit $ac_status); } &&
     2812     { ac_try='test -z "$ac_cxx_werror_flag"
     2813             || test ! -s conftest.err'
     2814  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2815  (eval $ac_try) 2>&5
     2816  ac_status=$?
     2817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2818  (exit $ac_status); }; } &&
     2819     { ac_try='test -s conftest.$ac_objext'
     2820  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2821  (eval $ac_try) 2>&5
     2822  ac_status=$?
     2823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2824  (exit $ac_status); }; }; then
     2825  :
     2826else
     2827  echo "$as_me: failed program was:" >&5
     2828sed 's/^/| /' conftest.$ac_ext >&5
     2829
     2830continue
     2831fi
     2832rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2833  cat >conftest.$ac_ext <<_ACEOF
     2834/* confdefs.h.  */
     2835_ACEOF
     2836cat confdefs.h >>conftest.$ac_ext
     2837cat >>conftest.$ac_ext <<_ACEOF
     2838/* end confdefs.h.  */
     2839$ac_declaration
     2840int
     2841main ()
     2842{
     2843exit (42);
     2844  ;
     2845  return 0;
     2846}
     2847_ACEOF
     2848rm -f conftest.$ac_objext
     2849if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2850  (eval $ac_compile) 2>conftest.er1
     2851  ac_status=$?
     2852  grep -v '^ *+' conftest.er1 >conftest.err
     2853  rm -f conftest.er1
     2854  cat conftest.err >&5
     2855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2856  (exit $ac_status); } &&
     2857     { ac_try='test -z "$ac_cxx_werror_flag"
     2858             || test ! -s conftest.err'
     2859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2860  (eval $ac_try) 2>&5
     2861  ac_status=$?
     2862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2863  (exit $ac_status); }; } &&
     2864     { ac_try='test -s conftest.$ac_objext'
     2865  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2866  (eval $ac_try) 2>&5
     2867  ac_status=$?
     2868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2869  (exit $ac_status); }; }; then
     2870  break
     2871else
     2872  echo "$as_me: failed program was:" >&5
     2873sed 's/^/| /' conftest.$ac_ext >&5
     2874
     2875fi
     2876rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2877done
     2878rm -f conftest*
     2879if test -n "$ac_declaration"; then
     2880  echo '#ifdef __cplusplus' >>confdefs.h
     2881  echo $ac_declaration      >>confdefs.h
     2882  echo '#endif'             >>confdefs.h
     2883fi
     2884
    35912885ac_ext=c
    35922886ac_cpp='$CPP $CPPFLAGS'
     
    36042898  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36052899set dummy $ac_prog; ac_word=$2
    3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3607 $as_echo_n "checking for $ac_word... " >&6; }
    3608 if test "${ac_cv_prog_JAVA+set}" = set; then :
    3609   $as_echo_n "(cached) " >&6
     2900echo "$as_me:$LINENO: checking for $ac_word" >&5
     2901echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2902if test "${ac_cv_prog_JAVA+set}" = set; then
     2903  echo $ECHO_N "(cached) $ECHO_C" >&6
    36102904else
    36112905  if test -n "$JAVA"; then
     
    36172911  IFS=$as_save_IFS
    36182912  test -z "$as_dir" && as_dir=.
    3619     for ac_exec_ext in '' $ac_executable_extensions; do
    3620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2913  for ac_exec_ext in '' $ac_executable_extensions; do
     2914  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36212915    ac_cv_prog_JAVA="$ac_prog"
    3622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2916    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36232917    break 2
    36242918  fi
    36252919done
    3626   done
    3627 IFS=$as_save_IFS
     2920done
    36282921
    36292922fi
     
    36312924JAVA=$ac_cv_prog_JAVA
    36322925if test -n "$JAVA"; then
    3633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    3634 $as_echo "$JAVA" >&6; }
    3635 else
    3636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3637 $as_echo "no" >&6; }
    3638 fi
    3639 
     2926  echo "$as_me:$LINENO: result: $JAVA" >&5
     2927echo "${ECHO_T}$JAVA" >&6
     2928else
     2929  echo "$as_me:$LINENO: result: no" >&5
     2930echo "${ECHO_T}no" >&6
     2931fi
    36402932
    36412933  test -n "$JAVA" && break
     
    36472939  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36482940set dummy $ac_prog; ac_word=$2
    3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3650 $as_echo_n "checking for $ac_word... " >&6; }
    3651 if test "${ac_cv_prog_JAVA+set}" = set; then :
    3652   $as_echo_n "(cached) " >&6
     2941echo "$as_me:$LINENO: checking for $ac_word" >&5
     2942echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2943if test "${ac_cv_prog_JAVA+set}" = set; then
     2944  echo $ECHO_N "(cached) $ECHO_C" >&6
    36532945else
    36542946  if test -n "$JAVA"; then
     
    36602952  IFS=$as_save_IFS
    36612953  test -z "$as_dir" && as_dir=.
    3662     for ac_exec_ext in '' $ac_executable_extensions; do
    3663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2954  for ac_exec_ext in '' $ac_executable_extensions; do
     2955  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36642956    ac_cv_prog_JAVA="$ac_prog"
    3665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2957    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36662958    break 2
    36672959  fi
    36682960done
    3669   done
    3670 IFS=$as_save_IFS
     2961done
    36712962
    36722963fi
     
    36742965JAVA=$ac_cv_prog_JAVA
    36752966if test -n "$JAVA"; then
    3676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    3677 $as_echo "$JAVA" >&6; }
    3678 else
    3679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3680 $as_echo "no" >&6; }
    3681 fi
    3682 
     2967  echo "$as_me:$LINENO: result: $JAVA" >&5
     2968echo "${ECHO_T}$JAVA" >&6
     2969else
     2970  echo "$as_me:$LINENO: result: no" >&5
     2971echo "${ECHO_T}no" >&6
     2972fi
    36832973
    36842974  test -n "$JAVA" && break
     
    36872977
    36882978    fi
    3689     test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
     2979    test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
     2980echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
     2981   { (exit 1); exit 1; }; }
    36902982fi
    36912983
     
    36932985# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    36942986set dummy uudecode$EXEEXT; ac_word=$2
    3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3696 $as_echo_n "checking for $ac_word... " >&6; }
    3697 if test "${ac_cv_prog_uudecode+set}" = set; then :
    3698   $as_echo_n "(cached) " >&6
     2987echo "$as_me:$LINENO: checking for $ac_word" >&5
     2988echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2989if test "${ac_cv_prog_uudecode+set}" = set; then
     2990  echo $ECHO_N "(cached) $ECHO_C" >&6
    36992991else
    37002992  if test -n "$uudecode"; then
     
    37062998  IFS=$as_save_IFS
    37072999  test -z "$as_dir" && as_dir=.
    3708     for ac_exec_ext in '' $ac_executable_extensions; do
    3709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3000  for ac_exec_ext in '' $ac_executable_extensions; do
     3001  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37103002    ac_cv_prog_uudecode="yes"
    3711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3003    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37123004    break 2
    37133005  fi
    37143006done
    3715   done
    3716 IFS=$as_save_IFS
     3007done
    37173008
    37183009fi
     
    37203011uudecode=$ac_cv_prog_uudecode
    37213012if test -n "$uudecode"; then
    3722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
    3723 $as_echo "$uudecode" >&6; }
    3724 else
    3725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3726 $as_echo "no" >&6; }
    3727 fi
    3728 
     3013  echo "$as_me:$LINENO: result: $uudecode" >&5
     3014echo "${ECHO_T}$uudecode" >&6
     3015else
     3016  echo "$as_me:$LINENO: result: no" >&5
     3017echo "${ECHO_T}no" >&6
     3018fi
    37293019
    37303020if test x$uudecode = xyes; then
    3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
    3732 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
    3733 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
    3734   $as_echo_n "(cached) " >&6
     3021echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     3022echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
     3023if test "${ac_cv_prog_uudecode_base64+set}" = set; then
     3024  echo $ECHO_N "(cached) $ECHO_C" >&6
    37353025else
    37363026
     
    37493039        ac_cv_prog_uudecode_base64=yes
    37503040else
    3751         echo "configure: 3751: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3041        echo "configure: 3041: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    37523042        echo "configure: failed file was:" >&5
    37533043        cat Test.uue >&5
     
    37563046rm -f Test.uue
    37573047fi
    3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
    3759 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
     3048echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     3049echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
    37603050fi
    37613051if test x$ac_cv_prog_uudecode_base64 != xyes; then
    37623052        rm -f Test.class
    3763         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
    3764 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
     3053        { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
     3054echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    37653055        if test x$ac_cv_prog_javac_works = xno; then
    3766                 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
     3056                { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
     3057echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
     3058   { (exit 1); exit 1; }; }
    37673059        fi
    37683060        if test x$ac_cv_prog_javac_works = x; then
     
    37743066  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37753067set dummy $ac_prog; ac_word=$2
    3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3777 $as_echo_n "checking for $ac_word... " >&6; }
    3778 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3779   $as_echo_n "(cached) " >&6
     3068echo "$as_me:$LINENO: checking for $ac_word" >&5
     3069echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3070if test "${ac_cv_prog_JAVAC+set}" = set; then
     3071  echo $ECHO_N "(cached) $ECHO_C" >&6
    37803072else
    37813073  if test -n "$JAVAC"; then
     
    37873079  IFS=$as_save_IFS
    37883080  test -z "$as_dir" && as_dir=.
    3789     for ac_exec_ext in '' $ac_executable_extensions; do
    3790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3081  for ac_exec_ext in '' $ac_executable_extensions; do
     3082  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37913083    ac_cv_prog_JAVAC="$ac_prog"
    3792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3084    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37933085    break 2
    37943086  fi
    37953087done
    3796   done
    3797 IFS=$as_save_IFS
     3088done
    37983089
    37993090fi
     
    38013092JAVAC=$ac_cv_prog_JAVAC
    38023093if test -n "$JAVAC"; then
    3803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3804 $as_echo "$JAVAC" >&6; }
    3805 else
    3806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3807 $as_echo "no" >&6; }
    3808 fi
    3809 
     3094  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3095echo "${ECHO_T}$JAVAC" >&6
     3096else
     3097  echo "$as_me:$LINENO: result: no" >&5
     3098echo "${ECHO_T}no" >&6
     3099fi
    38103100
    38113101  test -n "$JAVAC" && break
     
    38173107  # Extract the first word of "$ac_prog", so it can be a program name with args.
    38183108set dummy $ac_prog; ac_word=$2
    3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3820 $as_echo_n "checking for $ac_word... " >&6; }
    3821 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3822   $as_echo_n "(cached) " >&6
     3109echo "$as_me:$LINENO: checking for $ac_word" >&5
     3110echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3111if test "${ac_cv_prog_JAVAC+set}" = set; then
     3112  echo $ECHO_N "(cached) $ECHO_C" >&6
    38233113else
    38243114  if test -n "$JAVAC"; then
     
    38303120  IFS=$as_save_IFS
    38313121  test -z "$as_dir" && as_dir=.
    3832     for ac_exec_ext in '' $ac_executable_extensions; do
    3833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3122  for ac_exec_ext in '' $ac_executable_extensions; do
     3123  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38343124    ac_cv_prog_JAVAC="$ac_prog"
    3835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3125    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    38363126    break 2
    38373127  fi
    38383128done
    3839   done
    3840 IFS=$as_save_IFS
     3129done
    38413130
    38423131fi
     
    38443133JAVAC=$ac_cv_prog_JAVAC
    38453134if test -n "$JAVAC"; then
    3846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3847 $as_echo "$JAVAC" >&6; }
    3848 else
    3849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3850 $as_echo "no" >&6; }
    3851 fi
    3852 
     3135  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3136echo "${ECHO_T}$JAVAC" >&6
     3137else
     3138  echo "$as_me:$LINENO: result: no" >&5
     3139echo "${ECHO_T}no" >&6
     3140fi
    38533141
    38543142  test -n "$JAVAC" && break
     
    38573145
    38583146  fi
    3859   test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
     3147  test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3148echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3149   { (exit 1); exit 1; }; }
    38603150else
    38613151  echo "Checking for javac... $JAVAC"
     
    38633153
    38643154
    3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    3866 $as_echo_n "checking if $JAVAC works... " >&6; }
    3867 if test "${ac_cv_prog_javac_works+set}" = set; then :
    3868   $as_echo_n "(cached) " >&6
     3155echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3156echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3157if test "${ac_cv_prog_javac_works+set}" = set; then
     3158  echo $ECHO_N "(cached) $ECHO_C" >&6
    38693159else
    38703160
     
    38723162CLASS_TEST=Test.class
    38733163cat << \EOF > $JAVA_TEST
    3874 /* #line 3874 "configure" */
     3164/* #line 3164 "configure" */
    38753165public class Test {
    38763166}
    38773167EOF
    38783168if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3879   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3880   (eval $ac_try) 2>&5
    3881   ac_status=$?
    3882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3883   test $ac_status = 0; }; } >/dev/null 2>&1; then
     3169  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3170  (eval $ac_try) 2>&5
     3171  ac_status=$?
     3172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3173  (exit $ac_status); }; } >/dev/null 2>&1; then
    38843174  ac_cv_prog_javac_works=yes
    38853175else
    3886   as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3176  { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3177echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3178   { (exit 1); exit 1; }; }
    38873179  echo "configure: failed program was:" >&5
    38883180  cat $JAVA_TEST >&5
     
    38913183
    38923184fi
    3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    3894 $as_echo "$ac_cv_prog_javac_works" >&6; }
     3185echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3186echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    38953187if test "x$JAVACFLAGS" = x ; then
    38963188  JAVACFLAGS="-source 1.4 -target 1.4"
     
    39013193        fi
    39023194fi
    3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
    3904 $as_echo_n "checking if $JAVA works... " >&6; }
    3905 if test "${ac_cv_prog_java_works+set}" = set; then :
    3906   $as_echo_n "(cached) " >&6
     3195echo "$as_me:$LINENO: checking if $JAVA works" >&5
     3196echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
     3197if test "${ac_cv_prog_java_works+set}" = set; then
     3198  echo $ECHO_N "(cached) $ECHO_C" >&6
    39073199else
    39083200
     
    39113203TEST=Test
    39123204cat << \EOF > $JAVA_TEST
    3913 /* [#]line 3913 "configure" */
     3205/* [#]line 3205 "configure" */
    39143206public class Test {
    39153207public static void main (String args[]) {
     
    39193211if test x$ac_cv_prog_uudecode_base64 != xyes; then
    39203212        if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3921   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3922   (eval $ac_try) 2>&5
    3923   ac_status=$?
    3924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3925   test $ac_status = 0; }; } && test -s $CLASS_TEST; then
     3213  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3214  (eval $ac_try) 2>&5
     3215  ac_status=$?
     3216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3217  (exit $ac_status); }; } && test -s $CLASS_TEST; then
    39263218                :
    39273219        else
    39283220          echo "configure: failed program was:" >&5
    39293221          cat $JAVA_TEST >&5
    3930           as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3222          { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3223echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3224   { (exit 1); exit 1; }; }
    39313225        fi
    39323226fi
    39333227if { ac_try='$JAVA $JAVAFLAGS $TEST'
    3934   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3935   (eval $ac_try) 2>&5
    3936   ac_status=$?
    3937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3938   test $ac_status = 0; }; } >/dev/null 2>&1; then
     3228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3229  (eval $ac_try) 2>&5
     3230  ac_status=$?
     3231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3232  (exit $ac_status); }; } >/dev/null 2>&1; then
    39393233  ac_cv_prog_java_works=yes
    39403234else
    39413235  echo "configure: failed program was:" >&5
    39423236  cat $JAVA_TEST >&5
    3943   as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3237  { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
     3238echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
     3239   { (exit 1); exit 1; }; }
    39443240fi
    39453241rm -fr $JAVA_TEST $CLASS_TEST Test.uue
    39463242
    39473243fi
    3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
    3949 $as_echo "$ac_cv_prog_java_works" >&6; }
     3244echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     3245echo "${ECHO_T}$ac_cv_prog_java_works" >&6
    39503246
    39513247
     
    39583254  # Extract the first word of "$ac_prog", so it can be a program name with args.
    39593255set dummy $ac_prog; ac_word=$2
    3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3961 $as_echo_n "checking for $ac_word... " >&6; }
    3962 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3963   $as_echo_n "(cached) " >&6
     3256echo "$as_me:$LINENO: checking for $ac_word" >&5
     3257echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3258if test "${ac_cv_prog_JAVAC+set}" = set; then
     3259  echo $ECHO_N "(cached) $ECHO_C" >&6
    39643260else
    39653261  if test -n "$JAVAC"; then
     
    39713267  IFS=$as_save_IFS
    39723268  test -z "$as_dir" && as_dir=.
    3973     for ac_exec_ext in '' $ac_executable_extensions; do
    3974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3269  for ac_exec_ext in '' $ac_executable_extensions; do
     3270  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39753271    ac_cv_prog_JAVAC="$ac_prog"
    3976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3272    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39773273    break 2
    39783274  fi
    39793275done
    3980   done
    3981 IFS=$as_save_IFS
     3276done
    39823277
    39833278fi
     
    39853280JAVAC=$ac_cv_prog_JAVAC
    39863281if test -n "$JAVAC"; then
    3987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3988 $as_echo "$JAVAC" >&6; }
    3989 else
    3990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3991 $as_echo "no" >&6; }
    3992 fi
    3993 
     3282  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3283echo "${ECHO_T}$JAVAC" >&6
     3284else
     3285  echo "$as_me:$LINENO: result: no" >&5
     3286echo "${ECHO_T}no" >&6
     3287fi
    39943288
    39953289  test -n "$JAVAC" && break
     
    40013295  # Extract the first word of "$ac_prog", so it can be a program name with args.
    40023296set dummy $ac_prog; ac_word=$2
    4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4004 $as_echo_n "checking for $ac_word... " >&6; }
    4005 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    4006   $as_echo_n "(cached) " >&6
     3297echo "$as_me:$LINENO: checking for $ac_word" >&5
     3298echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3299if test "${ac_cv_prog_JAVAC+set}" = set; then
     3300  echo $ECHO_N "(cached) $ECHO_C" >&6
    40073301else
    40083302  if test -n "$JAVAC"; then
     
    40143308  IFS=$as_save_IFS
    40153309  test -z "$as_dir" && as_dir=.
    4016     for ac_exec_ext in '' $ac_executable_extensions; do
    4017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3310  for ac_exec_ext in '' $ac_executable_extensions; do
     3311  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40183312    ac_cv_prog_JAVAC="$ac_prog"
    4019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3313    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    40203314    break 2
    40213315  fi
    40223316done
    4023   done
    4024 IFS=$as_save_IFS
     3317done
    40253318
    40263319fi
     
    40283321JAVAC=$ac_cv_prog_JAVAC
    40293322if test -n "$JAVAC"; then
    4030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    4031 $as_echo "$JAVAC" >&6; }
    4032 else
    4033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4034 $as_echo "no" >&6; }
    4035 fi
    4036 
     3323  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3324echo "${ECHO_T}$JAVAC" >&6
     3325else
     3326  echo "$as_me:$LINENO: result: no" >&5
     3327echo "${ECHO_T}no" >&6
     3328fi
    40373329
    40383330  test -n "$JAVAC" && break
     
    40413333
    40423334  fi
    4043   test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
     3335  test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3336echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3337   { (exit 1); exit 1; }; }
    40443338else
    40453339  echo "Checking for javac... $JAVAC"
     
    40473341
    40483342
    4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    4050 $as_echo_n "checking if $JAVAC works... " >&6; }
    4051 if test "${ac_cv_prog_javac_works+set}" = set; then :
    4052   $as_echo_n "(cached) " >&6
     3343echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3344echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3345if test "${ac_cv_prog_javac_works+set}" = set; then
     3346  echo $ECHO_N "(cached) $ECHO_C" >&6
    40533347else
    40543348
     
    40563350CLASS_TEST=Test.class
    40573351cat << \EOF > $JAVA_TEST
    4058 /* #line 4058 "configure" */
     3352/* #line 3352 "configure" */
    40593353public class Test {
    40603354}
    40613355EOF
    40623356if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    4063   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    4064   (eval $ac_try) 2>&5
    4065   ac_status=$?
    4066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4067   test $ac_status = 0; }; } >/dev/null 2>&1; then
     3357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3358  (eval $ac_try) 2>&5
     3359  ac_status=$?
     3360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3361  (exit $ac_status); }; } >/dev/null 2>&1; then
    40683362  ac_cv_prog_javac_works=yes
    40693363else
    4070   as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3364  { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3365echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3366   { (exit 1); exit 1; }; }
    40713367  echo "configure: failed program was:" >&5
    40723368  cat $JAVA_TEST >&5
     
    40753371
    40763372fi
    4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    4078 $as_echo "$ac_cv_prog_javac_works" >&6; }
     3373echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3374echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    40793375if test "x$JAVACFLAGS" = x ; then
    40803376  JAVACFLAGS="-source 1.4 -target 1.4"
     
    40883384  # Extract the first word of "$ac_prog", so it can be a program name with args.
    40893385set dummy $ac_prog; ac_word=$2
    4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4091 $as_echo_n "checking for $ac_word... " >&6; }
    4092 if test "${ac_cv_prog_AWK+set}" = set; then :
    4093   $as_echo_n "(cached) " >&6
     3386echo "$as_me:$LINENO: checking for $ac_word" >&5
     3387echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3388if test "${ac_cv_prog_AWK+set}" = set; then
     3389  echo $ECHO_N "(cached) $ECHO_C" >&6
    40943390else
    40953391  if test -n "$AWK"; then
     
    41013397  IFS=$as_save_IFS
    41023398  test -z "$as_dir" && as_dir=.
    4103     for ac_exec_ext in '' $ac_executable_extensions; do
    4104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3399  for ac_exec_ext in '' $ac_executable_extensions; do
     3400  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41053401    ac_cv_prog_AWK="$ac_prog"
    4106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3402    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41073403    break 2
    41083404  fi
    41093405done
    4110   done
    4111 IFS=$as_save_IFS
     3406done
    41123407
    41133408fi
     
    41153410AWK=$ac_cv_prog_AWK
    41163411if test -n "$AWK"; then
    4117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    4118 $as_echo "$AWK" >&6; }
    4119 else
    4120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4121 $as_echo "no" >&6; }
    4122 fi
    4123 
     3412  echo "$as_me:$LINENO: result: $AWK" >&5
     3413echo "${ECHO_T}$AWK" >&6
     3414else
     3415  echo "$as_me:$LINENO: result: no" >&5
     3416echo "${ECHO_T}no" >&6
     3417fi
    41243418
    41253419  test -n "$AWK" && break
     
    41303424  # Extract the first word of "$ac_prog", so it can be a program name with args.
    41313425set dummy $ac_prog; ac_word=$2
    4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4133 $as_echo_n "checking for $ac_word... " >&6; }
    4134 if test "${ac_cv_prog_YACC+set}" = set; then :
    4135   $as_echo_n "(cached) " >&6
     3426echo "$as_me:$LINENO: checking for $ac_word" >&5
     3427echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3428if test "${ac_cv_prog_YACC+set}" = set; then
     3429  echo $ECHO_N "(cached) $ECHO_C" >&6
    41363430else
    41373431  if test -n "$YACC"; then
     
    41433437  IFS=$as_save_IFS
    41443438  test -z "$as_dir" && as_dir=.
    4145     for ac_exec_ext in '' $ac_executable_extensions; do
    4146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3439  for ac_exec_ext in '' $ac_executable_extensions; do
     3440  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41473441    ac_cv_prog_YACC="$ac_prog"
    4148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3442    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41493443    break 2
    41503444  fi
    41513445done
    4152   done
    4153 IFS=$as_save_IFS
     3446done
    41543447
    41553448fi
     
    41573450YACC=$ac_cv_prog_YACC
    41583451if test -n "$YACC"; then
    4159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
    4160 $as_echo "$YACC" >&6; }
    4161 else
    4162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4163 $as_echo "no" >&6; }
    4164 fi
    4165 
     3452  echo "$as_me:$LINENO: result: $YACC" >&5
     3453echo "${ECHO_T}$YACC" >&6
     3454else
     3455  echo "$as_me:$LINENO: result: no" >&5
     3456echo "${ECHO_T}no" >&6
     3457fi
    41663458
    41673459  test -n "$YACC" && break
     
    41703462
    41713463ac_aux_dir=
    4172 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    4173   if test -f "$ac_dir/install-sh"; then
     3464for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     3465  if test -f $ac_dir/install-sh; then
    41743466    ac_aux_dir=$ac_dir
    41753467    ac_install_sh="$ac_aux_dir/install-sh -c"
    41763468    break
    4177   elif test -f "$ac_dir/install.sh"; then
     3469  elif test -f $ac_dir/install.sh; then
    41783470    ac_aux_dir=$ac_dir
    41793471    ac_install_sh="$ac_aux_dir/install.sh -c"
    41803472    break
    4181   elif test -f "$ac_dir/shtool"; then
     3473  elif test -f $ac_dir/shtool; then
    41823474    ac_aux_dir=$ac_dir
    41833475    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    41863478done
    41873479if test -z "$ac_aux_dir"; then
    4188   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    4189 fi
    4190 
    4191 # These three variables are undocumented and unsupported,
    4192 # and are intended to be withdrawn in a future Autoconf release.
    4193 # They can cause serious problems if a builder's source tree is in a directory
    4194 # whose full name contains unusual characters.
    4195 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    4196 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    4197 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    4198 
     3480  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     3481echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3482   { (exit 1); exit 1; }; }
     3483fi
     3484ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     3485ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     3486ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    41993487
    42003488# Make sure we can run config.sub.
    4201 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    4202   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    4203 
    4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    4205 $as_echo_n "checking build system type... " >&6; }
    4206 if test "${ac_cv_build+set}" = set; then :
    4207   $as_echo_n "(cached) " >&6
    4208 else
    4209   ac_build_alias=$build_alias
    4210 test "x$ac_build_alias" = x &&
    4211   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    4212 test "x$ac_build_alias" = x &&
    4213   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    4214 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    4215   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    4216 
    4217 fi
    4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    4219 $as_echo "$ac_cv_build" >&6; }
    4220 case $ac_cv_build in
    4221 *-*-*) ;;
    4222 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
    4223 esac
     3489$ac_config_sub sun4 >/dev/null 2>&1 ||
     3490  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     3491echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3492   { (exit 1); exit 1; }; }
     3493
     3494echo "$as_me:$LINENO: checking build system type" >&5
     3495echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3496if test "${ac_cv_build+set}" = set; then
     3497  echo $ECHO_N "(cached) $ECHO_C" >&6
     3498else
     3499  ac_cv_build_alias=$build_alias
     3500test -z "$ac_cv_build_alias" &&
     3501  ac_cv_build_alias=`$ac_config_guess`
     3502test -z "$ac_cv_build_alias" &&
     3503  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     3504echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     3505   { (exit 1); exit 1; }; }
     3506ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     3507  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     3508echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3509   { (exit 1); exit 1; }; }
     3510
     3511fi
     3512echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3513echo "${ECHO_T}$ac_cv_build" >&6
    42243514build=$ac_cv_build
    4225 ac_save_IFS=$IFS; IFS='-'
    4226 set x $ac_cv_build
    4227 shift
    4228 build_cpu=$1
    4229 build_vendor=$2
    4230 shift; shift
    4231 # Remember, the first character of IFS is used to create $*,
    4232 # except with old shells:
    4233 build_os=$*
    4234 IFS=$ac_save_IFS
    4235 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    4236 
    4237 
    4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    4239 $as_echo_n "checking host system type... " >&6; }
    4240 if test "${ac_cv_host+set}" = set; then :
    4241   $as_echo_n "(cached) " >&6
    4242 else
    4243   if test "x$host_alias" = x; then
    4244   ac_cv_host=$ac_cv_build
    4245 else
    4246   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    4247     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    4248 fi
    4249 
    4250 fi
    4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    4252 $as_echo "$ac_cv_host" >&6; }
    4253 case $ac_cv_host in
    4254 *-*-*) ;;
    4255 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
    4256 esac
     3515build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3516build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3517build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3518
     3519
     3520echo "$as_me:$LINENO: checking host system type" >&5
     3521echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3522if test "${ac_cv_host+set}" = set; then
     3523  echo $ECHO_N "(cached) $ECHO_C" >&6
     3524else
     3525  ac_cv_host_alias=$host_alias
     3526test -z "$ac_cv_host_alias" &&
     3527  ac_cv_host_alias=$ac_cv_build_alias
     3528ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     3529  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     3530echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3531   { (exit 1); exit 1; }; }
     3532
     3533fi
     3534echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3535echo "${ECHO_T}$ac_cv_host" >&6
    42573536host=$ac_cv_host
    4258 ac_save_IFS=$IFS; IFS='-'
    4259 set x $ac_cv_host
    4260 shift
    4261 host_cpu=$1
    4262 host_vendor=$2
    4263 shift; shift
    4264 # Remember, the first character of IFS is used to create $*,
    4265 # except with old shells:
    4266 host_os=$*
    4267 IFS=$ac_save_IFS
    4268 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    4269 
    4270 
    4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
    4272 $as_echo_n "checking target system type... " >&6; }
    4273 if test "${ac_cv_target+set}" = set; then :
    4274   $as_echo_n "(cached) " >&6
    4275 else
    4276   if test "x$target_alias" = x; then
    4277   ac_cv_target=$ac_cv_host
    4278 else
    4279   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    4280     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
    4281 fi
    4282 
    4283 fi
    4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
    4285 $as_echo "$ac_cv_target" >&6; }
    4286 case $ac_cv_target in
    4287 *-*-*) ;;
    4288 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
    4289 esac
     3537host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3538host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3539host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3540
     3541
     3542echo "$as_me:$LINENO: checking target system type" >&5
     3543echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3544if test "${ac_cv_target+set}" = set; then
     3545  echo $ECHO_N "(cached) $ECHO_C" >&6
     3546else
     3547  ac_cv_target_alias=$target_alias
     3548test "x$ac_cv_target_alias" = "x" &&
     3549  ac_cv_target_alias=$ac_cv_host_alias
     3550ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     3551  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     3552echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3553   { (exit 1); exit 1; }; }
     3554
     3555fi
     3556echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3557echo "${ECHO_T}$ac_cv_target" >&6
    42903558target=$ac_cv_target
    4291 ac_save_IFS=$IFS; IFS='-'
    4292 set x $ac_cv_target
    4293 shift
    4294 target_cpu=$1
    4295 target_vendor=$2
    4296 shift; shift
    4297 # Remember, the first character of IFS is used to create $*,
    4298 # except with old shells:
    4299 target_os=$*
    4300 IFS=$ac_save_IFS
    4301 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     3559target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3560target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3561target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    43023562
    43033563
     
    43083568    NONENONEs,x,x, &&
    43093569  program_prefix=${target_alias}-
    4310 
    43113570# Find a good install program.  We prefer a C program (faster),
    43123571# so one script is as good as another.  But avoid the broken or
     
    43223581# OS/2's system install, which has a completely different semantic
    43233582# ./install, which can be erroneously created by make from ./install.sh.
    4324 # Reject install programs that cannot install multiple files.
    4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    4326 $as_echo_n "checking for a BSD-compatible install... " >&6; }
     3583echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3584echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    43273585if test -z "$INSTALL"; then
    4328 if test "${ac_cv_path_install+set}" = set; then :
    4329   $as_echo_n "(cached) " >&6
     3586if test "${ac_cv_path_install+set}" = set; then
     3587  echo $ECHO_N "(cached) $ECHO_C" >&6
    43303588else
    43313589  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    43343592  IFS=$as_save_IFS
    43353593  test -z "$as_dir" && as_dir=.
    4336     # Account for people who put trailing slashes in PATH elements.
    4337 case $as_dir/ in #((
    4338   ./ | .// | /[cC]/* | \
     3594  # Account for people who put trailing slashes in PATH elements.
     3595case $as_dir/ in
     3596  ./ | .// | /cC/* | \
    43393597  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    4340   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     3598  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    43413599  /usr/ucb/* ) ;;
    43423600  *)
     
    43463604    for ac_prog in ginstall scoinst install; do
    43473605      for ac_exec_ext in '' $ac_executable_extensions; do
    4348     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3606    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    43493607      if test $ac_prog = install &&
    43503608        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    43563614        :
    43573615      else
    4358         rm -rf conftest.one conftest.two conftest.dir
    4359         echo one > conftest.one
    4360         echo two > conftest.two
    4361         mkdir conftest.dir
    4362         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    4363           test -s conftest.one && test -s conftest.two &&
    4364           test -s conftest.dir/conftest.one &&
    4365           test -s conftest.dir/conftest.two
    4366         then
    4367           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    4368           break 3
    4369         fi
     3616        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3617        break 3
    43703618      fi
    43713619    fi
     
    43743622    ;;
    43753623esac
    4376 
    4377   done
    4378 IFS=$as_save_IFS
    4379 
    4380 rm -rf conftest.one conftest.two conftest.dir
     3624done
     3625
    43813626
    43823627fi
     
    43843629    INSTALL=$ac_cv_path_install
    43853630  else
    4386     # As a last resort, use the slow shell script.  Don't cache a
    4387     # value for INSTALL within a source directory, because that will
     3631    # As a last resort, use the slow shell script.  We don't cache a
     3632    # path for INSTALL within a source directory, because that will
    43883633    # break other packages using the cache if that directory is
    4389     # removed, or if the value is a relative name.
     3634    # removed, or if the path is relative.
    43903635    INSTALL=$ac_install_sh
    43913636  fi
    43923637fi
    4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    4394 $as_echo "$INSTALL" >&6; }
     3638echo "$as_me:$LINENO: result: $INSTALL" >&5
     3639echo "${ECHO_T}$INSTALL" >&6
    43953640
    43963641# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    44023647test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    44033648
    4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    4405 $as_echo_n "checking whether ln -s works... " >&6; }
     3649echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3650echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    44063651LN_S=$as_ln_s
    44073652if test "$LN_S" = "ln -s"; then
    4408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4409 $as_echo "yes" >&6; }
    4410 else
    4411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    4412 $as_echo "no, using $LN_S" >&6; }
    4413 fi
    4414 
    4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    4416 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    4417 set x ${MAKE-make}
    4418 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    4419 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
    4420   $as_echo_n "(cached) " >&6
     3653  echo "$as_me:$LINENO: result: yes" >&5
     3654echo "${ECHO_T}yes" >&6
     3655else
     3656  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3657echo "${ECHO_T}no, using $LN_S" >&6
     3658fi
     3659
     3660echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3661echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3662set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3663if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3664  echo $ECHO_N "(cached) $ECHO_C" >&6
    44213665else
    44223666  cat >conftest.make <<\_ACEOF
    4423 SHELL = /bin/sh
    44243667all:
    4425     @echo '@@@%%%=$(MAKE)=@@@%%%'
    4426 _ACEOF
    4427 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    4428 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    4429   *@@@%%%=?*=@@@%%%*)
    4430     eval ac_cv_prog_make_${ac_make}_set=yes;;
    4431   *)
    4432     eval ac_cv_prog_make_${ac_make}_set=no;;
    4433 esac
     3668    @echo 'ac_maketemp="$(MAKE)"'
     3669_ACEOF
     3670# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3671eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3672if test -n "$ac_maketemp"; then
     3673  eval ac_cv_prog_make_${ac_make}_set=yes
     3674else
     3675  eval ac_cv_prog_make_${ac_make}_set=no
     3676fi
    44343677rm -f conftest.make
    44353678fi
    4436 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4438 $as_echo "yes" >&6; }
     3679if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3680  echo "$as_me:$LINENO: result: yes" >&5
     3681echo "${ECHO_T}yes" >&6
    44393682  SET_MAKE=
    44403683else
    4441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4442 $as_echo "no" >&6; }
     3684  echo "$as_me:$LINENO: result: no" >&5
     3685echo "${ECHO_T}no" >&6
    44433686  SET_MAKE="MAKE=${MAKE-make}"
    44443687fi
     
    44473690  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    44483691set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4450 $as_echo_n "checking for $ac_word... " >&6; }
    4451 if test "${ac_cv_prog_RANLIB+set}" = set; then :
    4452   $as_echo_n "(cached) " >&6
     3692echo "$as_me:$LINENO: checking for $ac_word" >&5
     3693echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3694if test "${ac_cv_prog_RANLIB+set}" = set; then
     3695  echo $ECHO_N "(cached) $ECHO_C" >&6
    44533696else
    44543697  if test -n "$RANLIB"; then
     
    44603703  IFS=$as_save_IFS
    44613704  test -z "$as_dir" && as_dir=.
    4462     for ac_exec_ext in '' $ac_executable_extensions; do
    4463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3705  for ac_exec_ext in '' $ac_executable_extensions; do
     3706  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    44643707    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3708    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    44663709    break 2
    44673710  fi
    44683711done
    4469   done
    4470 IFS=$as_save_IFS
     3712done
    44713713
    44723714fi
     
    44743716RANLIB=$ac_cv_prog_RANLIB
    44753717if test -n "$RANLIB"; then
    4476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    4477 $as_echo "$RANLIB" >&6; }
    4478 else
    4479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4480 $as_echo "no" >&6; }
    4481 fi
    4482 
     3718  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3719echo "${ECHO_T}$RANLIB" >&6
     3720else
     3721  echo "$as_me:$LINENO: result: no" >&5
     3722echo "${ECHO_T}no" >&6
     3723fi
    44833724
    44843725fi
     
    44873728  # Extract the first word of "ranlib", so it can be a program name with args.
    44883729set dummy ranlib; ac_word=$2
    4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4490 $as_echo_n "checking for $ac_word... " >&6; }
    4491 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
    4492   $as_echo_n "(cached) " >&6
     3730echo "$as_me:$LINENO: checking for $ac_word" >&5
     3731echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3732if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     3733  echo $ECHO_N "(cached) $ECHO_C" >&6
    44933734else
    44943735  if test -n "$ac_ct_RANLIB"; then
     
    45003741  IFS=$as_save_IFS
    45013742  test -z "$as_dir" && as_dir=.
    4502     for ac_exec_ext in '' $ac_executable_extensions; do
    4503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3743  for ac_exec_ext in '' $ac_executable_extensions; do
     3744  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    45043745    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3746    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    45063747    break 2
    45073748  fi
    45083749done
    4509   done
    4510 IFS=$as_save_IFS
    4511 
     3750done
     3751
     3752  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    45123753fi
    45133754fi
    45143755ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    45153756if test -n "$ac_ct_RANLIB"; then
    4516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    4517 $as_echo "$ac_ct_RANLIB" >&6; }
    4518 else
    4519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4520 $as_echo "no" >&6; }
    4521 fi
    4522 
    4523   if test "x$ac_ct_RANLIB" = x; then
    4524     RANLIB=":"
    4525   else
    4526     case $cross_compiling:$ac_tool_warned in
    4527 yes:)
    4528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    4529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    4530 ac_tool_warned=yes ;;
    4531 esac
    4532     RANLIB=$ac_ct_RANLIB
    4533   fi
     3757  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3758echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3759else
     3760  echo "$as_me:$LINENO: result: no" >&5
     3761echo "${ECHO_T}no" >&6
     3762fi
     3763
     3764  RANLIB=$ac_ct_RANLIB
    45343765else
    45353766  RANLIB="$ac_cv_prog_RANLIB"
     
    45373768
    45383769
    4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
    4540 $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
     3770echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3771echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    45413772arch_64bit=no
    45423773case "$host_cpu" in
     
    45453776
    45463777if test "$arch_64bit" = yes; then
    4547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4548 $as_echo "yes" >&6; }
     3778  echo "$as_me:$LINENO: result: yes" >&5
     3779echo "${ECHO_T}yes" >&6
    45493780  if test -z "$COMPAT32BITFLAGS" ; then
    45503781    COMPAT32BITFLAGS="-m32"
    45513782  fi
    45523783else
    4553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4554 $as_echo "no" >&6; }
     3784  echo "$as_me:$LINENO: result: no" >&5
     3785echo "${ECHO_T}no" >&6
    45553786  if test -z "$COMPAT32BITFLAGS" ; then
    45563787    COMPAT32BITFLAGS=
     
    45943825#do test of MICO_VER
    45953826if test MICO_VER != 0; then
    4596 $as_echo "#define MICO_VER 1" >>confdefs.h
     3827cat >>confdefs.h <<\_ACEOF
     3828#define MICO_VER 1
     3829_ACEOF
    45973830
    45983831
     
    46073840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    46083841ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    4610 $as_echo_n "checking how to run the C preprocessor... " >&6; }
     3842echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3843echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    46113844# On Suns, sometimes $CPP names a directory.
    46123845if test -n "$CPP" && test -d "$CPP"; then
     
    46143847fi
    46153848if test -z "$CPP"; then
    4616   if test "${ac_cv_prog_CPP+set}" = set; then :
    4617   $as_echo_n "(cached) " >&6
     3849  if test "${ac_cv_prog_CPP+set}" = set; then
     3850  echo $ECHO_N "(cached) $ECHO_C" >&6
    46183851else
    46193852      # Double quotes because CPP needs to be expanded
     
    46293862  # On the NeXT, cc -E runs the code through the compiler's parser,
    46303863  # not just through cpp. "Syntax error" is here to catch this case.
    4631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3864  cat >conftest.$ac_ext <<_ACEOF
     3865/* confdefs.h.  */
     3866_ACEOF
     3867cat confdefs.h >>conftest.$ac_ext
     3868cat >>conftest.$ac_ext <<_ACEOF
    46323869/* end confdefs.h.  */
    46333870#ifdef __STDC__
     
    46383875             Syntax error
    46393876_ACEOF
    4640 if ac_fn_c_try_cpp "$LINENO"; then :
    4641 
    4642 else
     3877if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3878  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3879  ac_status=$?
     3880  grep -v '^ *+' conftest.er1 >conftest.err
     3881  rm -f conftest.er1
     3882  cat conftest.err >&5
     3883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3884  (exit $ac_status); } >/dev/null; then
     3885  if test -s conftest.err; then
     3886    ac_cpp_err=$ac_c_preproc_warn_flag
     3887    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3888  else
     3889    ac_cpp_err=
     3890  fi
     3891else
     3892  ac_cpp_err=yes
     3893fi
     3894if test -z "$ac_cpp_err"; then
     3895  :
     3896else
     3897  echo "$as_me: failed program was:" >&5
     3898sed 's/^/| /' conftest.$ac_ext >&5
     3899
    46433900  # Broken: fails on valid input.
    46443901continue
    46453902fi
    4646 rm -f conftest.err conftest.i conftest.$ac_ext
    4647 
    4648   # OK, works on sane cases.  Now check whether nonexistent headers
     3903rm -f conftest.err conftest.$ac_ext
     3904
     3905  # OK, works on sane cases.  Now check whether non-existent headers
    46493906  # can be detected and how.
    4650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3907  cat >conftest.$ac_ext <<_ACEOF
     3908/* confdefs.h.  */
     3909_ACEOF
     3910cat confdefs.h >>conftest.$ac_ext
     3911cat >>conftest.$ac_ext <<_ACEOF
    46513912/* end confdefs.h.  */
    46523913#include <ac_nonexistent.h>
    46533914_ACEOF
    4654 if ac_fn_c_try_cpp "$LINENO"; then :
     3915if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3916  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3917  ac_status=$?
     3918  grep -v '^ *+' conftest.er1 >conftest.err
     3919  rm -f conftest.er1
     3920  cat conftest.err >&5
     3921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3922  (exit $ac_status); } >/dev/null; then
     3923  if test -s conftest.err; then
     3924    ac_cpp_err=$ac_c_preproc_warn_flag
     3925    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3926  else
     3927    ac_cpp_err=
     3928  fi
     3929else
     3930  ac_cpp_err=yes
     3931fi
     3932if test -z "$ac_cpp_err"; then
    46553933  # Broken: success on invalid input.
    46563934continue
    46573935else
     3936  echo "$as_me: failed program was:" >&5
     3937sed 's/^/| /' conftest.$ac_ext >&5
     3938
    46583939  # Passes both tests.
    46593940ac_preproc_ok=:
    46603941break
    46613942fi
    4662 rm -f conftest.err conftest.i conftest.$ac_ext
     3943rm -f conftest.err conftest.$ac_ext
    46633944
    46643945done
    46653946# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4666 rm -f conftest.i conftest.err conftest.$ac_ext
    4667 if $ac_preproc_ok; then :
     3947rm -f conftest.err conftest.$ac_ext
     3948if $ac_preproc_ok; then
    46683949  break
    46693950fi
     
    46773958  ac_cv_prog_CPP=$CPP
    46783959fi
    4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    4680 $as_echo "$CPP" >&6; }
     3960echo "$as_me:$LINENO: result: $CPP" >&5
     3961echo "${ECHO_T}$CPP" >&6
    46813962ac_preproc_ok=false
    46823963for ac_c_preproc_warn_flag in '' yes
     
    46883969  # On the NeXT, cc -E runs the code through the compiler's parser,
    46893970  # not just through cpp. "Syntax error" is here to catch this case.
    4690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3971  cat >conftest.$ac_ext <<_ACEOF
     3972/* confdefs.h.  */
     3973_ACEOF
     3974cat confdefs.h >>conftest.$ac_ext
     3975cat >>conftest.$ac_ext <<_ACEOF
    46913976/* end confdefs.h.  */
    46923977#ifdef __STDC__
     
    46973982             Syntax error
    46983983_ACEOF
    4699 if ac_fn_c_try_cpp "$LINENO"; then :
    4700 
    4701 else
     3984if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3985  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3986  ac_status=$?
     3987  grep -v '^ *+' conftest.er1 >conftest.err
     3988  rm -f conftest.er1
     3989  cat conftest.err >&5
     3990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3991  (exit $ac_status); } >/dev/null; then
     3992  if test -s conftest.err; then
     3993    ac_cpp_err=$ac_c_preproc_warn_flag
     3994    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3995  else
     3996    ac_cpp_err=
     3997  fi
     3998else
     3999  ac_cpp_err=yes
     4000fi
     4001if test -z "$ac_cpp_err"; then
     4002  :
     4003else
     4004  echo "$as_me: failed program was:" >&5
     4005sed 's/^/| /' conftest.$ac_ext >&5
     4006
    47024007  # Broken: fails on valid input.
    47034008continue
    47044009fi
    4705 rm -f conftest.err conftest.i conftest.$ac_ext
    4706 
    4707   # OK, works on sane cases.  Now check whether nonexistent headers
     4010rm -f conftest.err conftest.$ac_ext
     4011
     4012  # OK, works on sane cases.  Now check whether non-existent headers
    47084013  # can be detected and how.
    4709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4014  cat >conftest.$ac_ext <<_ACEOF
     4015/* confdefs.h.  */
     4016_ACEOF
     4017cat confdefs.h >>conftest.$ac_ext
     4018cat >>conftest.$ac_ext <<_ACEOF
    47104019/* end confdefs.h.  */
    47114020#include <ac_nonexistent.h>
    47124021_ACEOF
    4713 if ac_fn_c_try_cpp "$LINENO"; then :
     4022if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4023  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4024  ac_status=$?
     4025  grep -v '^ *+' conftest.er1 >conftest.err
     4026  rm -f conftest.er1
     4027  cat conftest.err >&5
     4028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4029  (exit $ac_status); } >/dev/null; then
     4030  if test -s conftest.err; then
     4031    ac_cpp_err=$ac_c_preproc_warn_flag
     4032    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4033  else
     4034    ac_cpp_err=
     4035  fi
     4036else
     4037  ac_cpp_err=yes
     4038fi
     4039if test -z "$ac_cpp_err"; then
    47144040  # Broken: success on invalid input.
    47154041continue
    47164042else
     4043  echo "$as_me: failed program was:" >&5
     4044sed 's/^/| /' conftest.$ac_ext >&5
     4045
    47174046  # Passes both tests.
    47184047ac_preproc_ok=:
    47194048break
    47204049fi
    4721 rm -f conftest.err conftest.i conftest.$ac_ext
     4050rm -f conftest.err conftest.$ac_ext
    47224051
    47234052done
    47244053# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4725 rm -f conftest.i conftest.err conftest.$ac_ext
    4726 if $ac_preproc_ok; then :
    4727 
    4728 else
    4729   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    4730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4731 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    4732 See \`config.log' for more details" "$LINENO" 5 ; }
     4054rm -f conftest.err conftest.$ac_ext
     4055if $ac_preproc_ok; then
     4056  :
     4057else
     4058  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4059See \`config.log' for more details." >&5
     4060echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4061See \`config.log' for more details." >&2;}
     4062   { (exit 1); exit 1; }; }
    47334063fi
    47344064
     
    47404070
    47414071
    4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    4743 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4744 if test "${ac_cv_path_GREP+set}" = set; then :
    4745   $as_echo_n "(cached) " >&6
    4746 else
    4747   if test -z "$GREP"; then
    4748   ac_path_GREP_found=false
    4749   # Loop through the user's path and test for each of PROGNAME-LIST
    4750   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4751 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4752 do
    4753   IFS=$as_save_IFS
    4754   test -z "$as_dir" && as_dir=.
    4755     for ac_prog in grep ggrep; do
    4756     for ac_exec_ext in '' $ac_executable_extensions; do
    4757       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4758       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4759 # Check for GNU ac_path_GREP and select it if it is found.
    4760   # Check for GNU $ac_path_GREP
    4761 case `"$ac_path_GREP" --version 2>&1` in
    4762 *GNU*)
    4763   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4764 *)
    4765   ac_count=0
    4766   $as_echo_n 0123456789 >"conftest.in"
    4767   while :
    4768   do
    4769     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4770     mv "conftest.tmp" "conftest.in"
    4771     cp "conftest.in" "conftest.nl"
    4772     $as_echo 'GREP' >> "conftest.nl"
    4773     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4774     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4775     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4776     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4777       # Best one so far, save it but keep looking for a better one
    4778       ac_cv_path_GREP="$ac_path_GREP"
    4779       ac_path_GREP_max=$ac_count
     4072echo "$as_me:$LINENO: checking for egrep" >&5
     4073echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     4074if test "${ac_cv_prog_egrep+set}" = set; then
     4075  echo $ECHO_N "(cached) $ECHO_C" >&6
     4076else
     4077  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     4078    then ac_cv_prog_egrep='grep -E'
     4079    else ac_cv_prog_egrep='egrep'
    47804080    fi
    4781     # 10*(2^10) chars as input seems more than enough
    4782     test $ac_count -gt 10 && break
     4081fi
     4082echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     4083echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     4084 EGREP=$ac_cv_prog_egrep
     4085
     4086
     4087
     4088echo "$as_me:$LINENO: checking for AIX" >&5
     4089echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     4090cat >conftest.$ac_ext <<_ACEOF
     4091/* confdefs.h.  */
     4092_ACEOF
     4093cat confdefs.h >>conftest.$ac_ext
     4094cat >>conftest.$ac_ext <<_ACEOF
     4095/* end confdefs.h.  */
     4096#ifdef _AIX
     4097  yes
     4098#endif
     4099
     4100_ACEOF
     4101if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4102  $EGREP "yes" >/dev/null 2>&1; then
     4103  echo "$as_me:$LINENO: result: yes" >&5
     4104echo "${ECHO_T}yes" >&6
     4105cat >>confdefs.h <<\_ACEOF
     4106#define _ALL_SOURCE 1
     4107_ACEOF
     4108
     4109else
     4110  echo "$as_me:$LINENO: result: no" >&5
     4111echo "${ECHO_T}no" >&6
     4112fi
     4113rm -f conftest*
     4114
     4115
     4116echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4117echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4118if test "${ac_cv_search_strerror+set}" = set; then
     4119  echo $ECHO_N "(cached) $ECHO_C" >&6
     4120else
     4121  ac_func_search_save_LIBS=$LIBS
     4122ac_cv_search_strerror=no
     4123cat >conftest.$ac_ext <<_ACEOF
     4124/* confdefs.h.  */
     4125_ACEOF
     4126cat confdefs.h >>conftest.$ac_ext
     4127cat >>conftest.$ac_ext <<_ACEOF
     4128/* end confdefs.h.  */
     4129
     4130/* Override any gcc2 internal prototype to avoid an error.  */
     4131#ifdef __cplusplus
     4132extern "C"
     4133#endif
     4134/* We use char because int might match the return type of a gcc2
     4135   builtin and then its argument prototype would still apply.  */
     4136char strerror ();
     4137int
     4138main ()
     4139{
     4140strerror ();
     4141  ;
     4142  return 0;
     4143}
     4144_ACEOF
     4145rm -f conftest.$ac_objext conftest$ac_exeext
     4146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4147  (eval $ac_link) 2>conftest.er1
     4148  ac_status=$?
     4149  grep -v '^ *+' conftest.er1 >conftest.err
     4150  rm -f conftest.er1
     4151  cat conftest.err >&5
     4152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4153  (exit $ac_status); } &&
     4154     { ac_try='test -z "$ac_c_werror_flag"
     4155             || test ! -s conftest.err'
     4156  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4157  (eval $ac_try) 2>&5
     4158  ac_status=$?
     4159  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4160  (exit $ac_status); }; } &&
     4161     { ac_try='test -s conftest$ac_exeext'
     4162  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4163  (eval $ac_try) 2>&5
     4164  ac_status=$?
     4165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4166  (exit $ac_status); }; }; then
     4167  ac_cv_search_strerror="none required"
     4168else
     4169  echo "$as_me: failed program was:" >&5
     4170sed 's/^/| /' conftest.$ac_ext >&5
     4171
     4172fi
     4173rm -f conftest.err conftest.$ac_objext \
     4174      conftest$ac_exeext conftest.$ac_ext
     4175if test "$ac_cv_search_strerror" = no; then
     4176  for ac_lib in cposix; do
     4177    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4178    cat >conftest.$ac_ext <<_ACEOF
     4179/* confdefs.h.  */
     4180_ACEOF
     4181cat confdefs.h >>conftest.$ac_ext
     4182cat >>conftest.$ac_ext <<_ACEOF
     4183/* end confdefs.h.  */
     4184
     4185/* Override any gcc2 internal prototype to avoid an error.  */
     4186#ifdef __cplusplus
     4187extern "C"
     4188#endif
     4189/* We use char because int might match the return type of a gcc2
     4190   builtin and then its argument prototype would still apply.  */
     4191char strerror ();
     4192int
     4193main ()
     4194{
     4195strerror ();
     4196  ;
     4197  return 0;
     4198}
     4199_ACEOF
     4200rm -f conftest.$ac_objext conftest$ac_exeext
     4201if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4202  (eval $ac_link) 2>conftest.er1
     4203  ac_status=$?
     4204  grep -v '^ *+' conftest.er1 >conftest.err
     4205  rm -f conftest.er1
     4206  cat conftest.err >&5
     4207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4208  (exit $ac_status); } &&
     4209     { ac_try='test -z "$ac_c_werror_flag"
     4210             || test ! -s conftest.err'
     4211  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4212  (eval $ac_try) 2>&5
     4213  ac_status=$?
     4214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4215  (exit $ac_status); }; } &&
     4216     { ac_try='test -s conftest$ac_exeext'
     4217  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4218  (eval $ac_try) 2>&5
     4219  ac_status=$?
     4220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4221  (exit $ac_status); }; }; then
     4222  ac_cv_search_strerror="-l$ac_lib"
     4223break
     4224else
     4225  echo "$as_me: failed program was:" >&5
     4226sed 's/^/| /' conftest.$ac_ext >&5
     4227
     4228fi
     4229rm -f conftest.err conftest.$ac_objext \
     4230      conftest$ac_exeext conftest.$ac_ext
    47834231  done
    4784   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4785 esac
    4786 
    4787       $ac_path_GREP_found && break 3
    4788     done
    4789   done
    4790   done
    4791 IFS=$as_save_IFS
    4792   if test -z "$ac_cv_path_GREP"; then
    4793     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4794   fi
    4795 else
    4796   ac_cv_path_GREP=$GREP
    4797 fi
    4798 
    4799 fi
    4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    4801 $as_echo "$ac_cv_path_GREP" >&6; }
    4802  GREP="$ac_cv_path_GREP"
    4803 
    4804 
    4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    4806 $as_echo_n "checking for egrep... " >&6; }
    4807 if test "${ac_cv_path_EGREP+set}" = set; then :
    4808   $as_echo_n "(cached) " >&6
    4809 else
    4810   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4811    then ac_cv_path_EGREP="$GREP -E"
    4812    else
    4813      if test -z "$EGREP"; then
    4814   ac_path_EGREP_found=false
    4815   # Loop through the user's path and test for each of PROGNAME-LIST
    4816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4817 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4818 do
    4819   IFS=$as_save_IFS
    4820   test -z "$as_dir" && as_dir=.
    4821     for ac_prog in egrep; do
    4822     for ac_exec_ext in '' $ac_executable_extensions; do
    4823       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4824       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4825 # Check for GNU ac_path_EGREP and select it if it is found.
    4826   # Check for GNU $ac_path_EGREP
    4827 case `"$ac_path_EGREP" --version 2>&1` in
    4828 *GNU*)
    4829   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4830 *)
    4831   ac_count=0
    4832   $as_echo_n 0123456789 >"conftest.in"
    4833   while :
    4834   do
    4835     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4836     mv "conftest.tmp" "conftest.in"
    4837     cp "conftest.in" "conftest.nl"
    4838     $as_echo 'EGREP' >> "conftest.nl"
    4839     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4840     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4841     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4842     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4843       # Best one so far, save it but keep looking for a better one
    4844       ac_cv_path_EGREP="$ac_path_EGREP"
    4845       ac_path_EGREP_max=$ac_count
    4846     fi
    4847     # 10*(2^10) chars as input seems more than enough
    4848     test $ac_count -gt 10 && break
    4849   done
    4850   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4851 esac
    4852 
    4853       $ac_path_EGREP_found && break 3
    4854     done
    4855   done
    4856   done
    4857 IFS=$as_save_IFS
    4858   if test -z "$ac_cv_path_EGREP"; then
    4859     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4860   fi
    4861 else
    4862   ac_cv_path_EGREP=$EGREP
    4863 fi
    4864 
    4865    fi
    4866 fi
    4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    4868 $as_echo "$ac_cv_path_EGREP" >&6; }
    4869  EGREP="$ac_cv_path_EGREP"
    4870 
    4871 
    4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    4873 $as_echo_n "checking for ANSI C header files... " >&6; }
    4874 if test "${ac_cv_header_stdc+set}" = set; then :
    4875   $as_echo_n "(cached) " >&6
    4876 else
    4877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4232fi
     4233LIBS=$ac_func_search_save_LIBS
     4234fi
     4235echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4236echo "${ECHO_T}$ac_cv_search_strerror" >&6
     4237if test "$ac_cv_search_strerror" != no; then
     4238  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     4239
     4240fi
     4241
     4242echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4243echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4244if test "${ac_cv_header_stdc+set}" = set; then
     4245  echo $ECHO_N "(cached) $ECHO_C" >&6
     4246else
     4247  cat >conftest.$ac_ext <<_ACEOF
     4248/* confdefs.h.  */
     4249_ACEOF
     4250cat confdefs.h >>conftest.$ac_ext
     4251cat >>conftest.$ac_ext <<_ACEOF
    48784252/* end confdefs.h.  */
    48794253#include <stdlib.h>
     
    48904264}
    48914265_ACEOF
    4892 if ac_fn_c_try_compile "$LINENO"; then :
     4266rm -f conftest.$ac_objext
     4267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4268  (eval $ac_compile) 2>conftest.er1
     4269  ac_status=$?
     4270  grep -v '^ *+' conftest.er1 >conftest.err
     4271  rm -f conftest.er1
     4272  cat conftest.err >&5
     4273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4274  (exit $ac_status); } &&
     4275     { ac_try='test -z "$ac_c_werror_flag"
     4276             || test ! -s conftest.err'
     4277  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4278  (eval $ac_try) 2>&5
     4279  ac_status=$?
     4280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4281  (exit $ac_status); }; } &&
     4282     { ac_try='test -s conftest.$ac_objext'
     4283  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4284  (eval $ac_try) 2>&5
     4285  ac_status=$?
     4286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4287  (exit $ac_status); }; }; then
    48934288  ac_cv_header_stdc=yes
    48944289else
    4895   ac_cv_header_stdc=no
    4896 fi
    4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4290  echo "$as_me: failed program was:" >&5
     4291sed 's/^/| /' conftest.$ac_ext >&5
     4292
     4293ac_cv_header_stdc=no
     4294fi
     4295rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    48984296
    48994297if test $ac_cv_header_stdc = yes; then
    49004298  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4299  cat >conftest.$ac_ext <<_ACEOF
     4300/* confdefs.h.  */
     4301_ACEOF
     4302cat confdefs.h >>conftest.$ac_ext
     4303cat >>conftest.$ac_ext <<_ACEOF
    49024304/* end confdefs.h.  */
    49034305#include <string.h>
     
    49054307_ACEOF
    49064308if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4907   $EGREP "memchr" >/dev/null 2>&1; then :
    4908 
     4309  $EGREP "memchr" >/dev/null 2>&1; then
     4310  :
    49094311else
    49104312  ac_cv_header_stdc=no
     
    49164318if test $ac_cv_header_stdc = yes; then
    49174319  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4320  cat >conftest.$ac_ext <<_ACEOF
     4321/* confdefs.h.  */
     4322_ACEOF
     4323cat confdefs.h >>conftest.$ac_ext
     4324cat >>conftest.$ac_ext <<_ACEOF
    49194325/* end confdefs.h.  */
    49204326#include <stdlib.h>
     
    49224328_ACEOF
    49234329if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4924   $EGREP "free" >/dev/null 2>&1; then :
    4925 
     4330  $EGREP "free" >/dev/null 2>&1; then
     4331  :
    49264332else
    49274333  ac_cv_header_stdc=no
     
    49334339if test $ac_cv_header_stdc = yes; then
    49344340  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4935   if test "$cross_compiling" = yes; then :
     4341  if test "$cross_compiling" = yes; then
    49364342  :
    49374343else
    4938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4344  cat >conftest.$ac_ext <<_ACEOF
     4345/* confdefs.h.  */
     4346_ACEOF
     4347cat confdefs.h >>conftest.$ac_ext
     4348cat >>conftest.$ac_ext <<_ACEOF
    49394349/* end confdefs.h.  */
    49404350#include <ctype.h>
    4941 #include <stdlib.h>
    49424351#if ((' ' & 0x0FF) == 0x020)
    49434352# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    49594368    if (XOR (islower (i), ISLOWER (i))
    49604369    || toupper (i) != TOUPPER (i))
    4961       return 2;
    4962   return 0;
     4370      exit(2);
     4371  exit (0);
    49634372}
    49644373_ACEOF
    4965 if ac_fn_c_try_run "$LINENO"; then :
    4966 
    4967 else
    4968   ac_cv_header_stdc=no
    4969 fi
    4970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    4971   conftest.$ac_objext conftest.beam conftest.$ac_ext
    4972 fi
    4973 
    4974 fi
    4975 fi
    4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    4977 $as_echo "$ac_cv_header_stdc" >&6; }
     4374rm -f conftest$ac_exeext
     4375if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4376  (eval $ac_link) 2>&5
     4377  ac_status=$?
     4378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4379  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4380  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4381  (eval $ac_try) 2>&5
     4382  ac_status=$?
     4383  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4384  (exit $ac_status); }; }; then
     4385  :
     4386else
     4387  echo "$as_me: program exited with status $ac_status" >&5
     4388echo "$as_me: failed program was:" >&5
     4389sed 's/^/| /' conftest.$ac_ext >&5
     4390
     4391( exit $ac_status )
     4392ac_cv_header_stdc=no
     4393fi
     4394rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4395fi
     4396fi
     4397fi
     4398echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4399echo "${ECHO_T}$ac_cv_header_stdc" >&6
    49784400if test $ac_cv_header_stdc = yes; then
    49794401
    4980 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4402cat >>confdefs.h <<\_ACEOF
     4403#define STDC_HEADERS 1
     4404_ACEOF
    49814405
    49824406fi
    49834407
    49844408# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4409
     4410
     4411
     4412
     4413
     4414
     4415
     4416
     4417
    49854418for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    49864419          inttypes.h stdint.h unistd.h
    4987 do :
    4988   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4989 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    4990 "
    4991 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     4420do
     4421as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4422echo "$as_me:$LINENO: checking for $ac_header" >&5
     4423echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4424if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4425  echo $ECHO_N "(cached) $ECHO_C" >&6
     4426else
     4427  cat >conftest.$ac_ext <<_ACEOF
     4428/* confdefs.h.  */
     4429_ACEOF
     4430cat confdefs.h >>conftest.$ac_ext
     4431cat >>conftest.$ac_ext <<_ACEOF
     4432/* end confdefs.h.  */
     4433$ac_includes_default
     4434
     4435#include <$ac_header>
     4436_ACEOF
     4437rm -f conftest.$ac_objext
     4438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4439  (eval $ac_compile) 2>conftest.er1
     4440  ac_status=$?
     4441  grep -v '^ *+' conftest.er1 >conftest.err
     4442  rm -f conftest.er1
     4443  cat conftest.err >&5
     4444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4445  (exit $ac_status); } &&
     4446     { ac_try='test -z "$ac_c_werror_flag"
     4447             || test ! -s conftest.err'
     4448  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4449  (eval $ac_try) 2>&5
     4450  ac_status=$?
     4451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4452  (exit $ac_status); }; } &&
     4453     { ac_try='test -s conftest.$ac_objext'
     4454  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4455  (eval $ac_try) 2>&5
     4456  ac_status=$?
     4457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4458  (exit $ac_status); }; }; then
     4459  eval "$as_ac_Header=yes"
     4460else
     4461  echo "$as_me: failed program was:" >&5
     4462sed 's/^/| /' conftest.$ac_ext >&5
     4463
     4464eval "$as_ac_Header=no"
     4465fi
     4466rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4467fi
     4468echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4469echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4470if test `eval echo '${'$as_ac_Header'}'` = yes; then
    49924471  cat >>confdefs.h <<_ACEOF
    4993 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4472#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    49944473_ACEOF
    49954474
     
    49994478
    50004479
    5001 
    5002   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
    5003 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
     4480if test "${ac_cv_header_minix_config_h+set}" = set; then
     4481  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4482echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4483if test "${ac_cv_header_minix_config_h+set}" = set; then
     4484  echo $ECHO_N "(cached) $ECHO_C" >&6
     4485fi
     4486echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4487echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4488else
     4489  # Is the header compilable?
     4490echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4491echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4492cat >conftest.$ac_ext <<_ACEOF
     4493/* confdefs.h.  */
     4494_ACEOF
     4495cat confdefs.h >>conftest.$ac_ext
     4496cat >>conftest.$ac_ext <<_ACEOF
     4497/* end confdefs.h.  */
     4498$ac_includes_default
     4499#include <minix/config.h>
     4500_ACEOF
     4501rm -f conftest.$ac_objext
     4502if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4503  (eval $ac_compile) 2>conftest.er1
     4504  ac_status=$?
     4505  grep -v '^ *+' conftest.er1 >conftest.err
     4506  rm -f conftest.er1
     4507  cat conftest.err >&5
     4508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4509  (exit $ac_status); } &&
     4510     { ac_try='test -z "$ac_c_werror_flag"
     4511             || test ! -s conftest.err'
     4512  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4513  (eval $ac_try) 2>&5
     4514  ac_status=$?
     4515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4516  (exit $ac_status); }; } &&
     4517     { ac_try='test -s conftest.$ac_objext'
     4518  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4519  (eval $ac_try) 2>&5
     4520  ac_status=$?
     4521  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4522  (exit $ac_status); }; }; then
     4523  ac_header_compiler=yes
     4524else
     4525  echo "$as_me: failed program was:" >&5
     4526sed 's/^/| /' conftest.$ac_ext >&5
     4527
     4528ac_header_compiler=no
     4529fi
     4530rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4531echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4532echo "${ECHO_T}$ac_header_compiler" >&6
     4533
     4534# Is the header present?
     4535echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4536echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4537cat >conftest.$ac_ext <<_ACEOF
     4538/* confdefs.h.  */
     4539_ACEOF
     4540cat confdefs.h >>conftest.$ac_ext
     4541cat >>conftest.$ac_ext <<_ACEOF
     4542/* end confdefs.h.  */
     4543#include <minix/config.h>
     4544_ACEOF
     4545if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4546  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4547  ac_status=$?
     4548  grep -v '^ *+' conftest.er1 >conftest.err
     4549  rm -f conftest.er1
     4550  cat conftest.err >&5
     4551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4552  (exit $ac_status); } >/dev/null; then
     4553  if test -s conftest.err; then
     4554    ac_cpp_err=$ac_c_preproc_warn_flag
     4555    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4556  else
     4557    ac_cpp_err=
     4558  fi
     4559else
     4560  ac_cpp_err=yes
     4561fi
     4562if test -z "$ac_cpp_err"; then
     4563  ac_header_preproc=yes
     4564else
     4565  echo "$as_me: failed program was:" >&5
     4566sed 's/^/| /' conftest.$ac_ext >&5
     4567
     4568  ac_header_preproc=no
     4569fi
     4570rm -f conftest.err conftest.$ac_ext
     4571echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4572echo "${ECHO_T}$ac_header_preproc" >&6
     4573
     4574# So?  What about this header?
     4575case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4576  yes:no: )
     4577    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4578echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4579    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     4580echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     4581    ac_header_preproc=yes
     4582    ;;
     4583  no:yes:* )
     4584    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     4585echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     4586    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     4587echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     4588    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     4589echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     4590    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     4591echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4592    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     4593echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     4594    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     4595echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     4596    (
     4597      cat <<\_ASBOX
     4598## ------------------------------------------ ##
     4599## Report this to the AC_PACKAGE_NAME lists.  ##
     4600## ------------------------------------------ ##
     4601_ASBOX
     4602    ) |
     4603      sed "s/^/$as_me: WARNING:     /" >&2
     4604    ;;
     4605esac
     4606echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4607echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4608if test "${ac_cv_header_minix_config_h+set}" = set; then
     4609  echo $ECHO_N "(cached) $ECHO_C" >&6
     4610else
     4611  ac_cv_header_minix_config_h=$ac_header_preproc
     4612fi
     4613echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4614echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4615
     4616fi
     4617if test $ac_cv_header_minix_config_h = yes; then
    50044618  MINIX=yes
    50054619else
     
    50084622
    50094623
    5010   if test "$MINIX" = yes; then
    5011 
    5012 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
    5013 
    5014 
    5015 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
    5016 
    5017 
    5018 $as_echo "#define _MINIX 1" >>confdefs.h
    5019 
    5020   fi
    5021 
    5022 
    5023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
    5024 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
    5025 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
    5026   $as_echo_n "(cached) " >&6
    5027 else
    5028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5029 /* end confdefs.h.  */
    5030 
    5031 #     define __EXTENSIONS__ 1
    5032       $ac_includes_default
    5033 int
    5034 main ()
    5035 {
    5036 
    5037   ;
    5038   return 0;
    5039 }
    5040 _ACEOF
    5041 if ac_fn_c_try_compile "$LINENO"; then :
    5042   ac_cv_safe_to_define___extensions__=yes
    5043 else
    5044   ac_cv_safe_to_define___extensions__=no
    5045 fi
    5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5047 fi
    5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
    5049 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
    5050   test $ac_cv_safe_to_define___extensions__ = yes &&
    5051     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
    5052 
    5053   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
    5054 
    5055   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
    5056 
    5057   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    5058 
    5059   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
    5060 
    5061 
    5062 
    5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
    5064 $as_echo_n "checking for library containing strerror... " >&6; }
    5065 if test "${ac_cv_search_strerror+set}" = set; then :
    5066   $as_echo_n "(cached) " >&6
    5067 else
    5068   ac_func_search_save_LIBS=$LIBS
    5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5070 /* end confdefs.h.  */
    5071 
    5072 /* Override any GCC internal prototype to avoid an error.
    5073    Use char because int might match the return type of a GCC
    5074    builtin and then its argument prototype would still apply.  */
    5075 #ifdef __cplusplus
    5076 extern "C"
    5077 #endif
    5078 char strerror ();
    5079 int
    5080 main ()
    5081 {
    5082 return strerror ();
    5083   ;
    5084   return 0;
    5085 }
    5086 _ACEOF
    5087 for ac_lib in '' cposix; do
    5088   if test -z "$ac_lib"; then
    5089     ac_res="none required"
    5090   else
    5091     ac_res=-l$ac_lib
    5092     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5093   fi
    5094   if ac_fn_c_try_link "$LINENO"; then :
    5095   ac_cv_search_strerror=$ac_res
    5096 fi
    5097 rm -f core conftest.err conftest.$ac_objext \
    5098     conftest$ac_exeext
    5099   if test "${ac_cv_search_strerror+set}" = set; then :
    5100   break
    5101 fi
    5102 done
    5103 if test "${ac_cv_search_strerror+set}" = set; then :
    5104 
    5105 else
    5106   ac_cv_search_strerror=no
    5107 fi
    5108 rm conftest.$ac_ext
    5109 LIBS=$ac_func_search_save_LIBS
    5110 fi
    5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
    5112 $as_echo "$ac_cv_search_strerror" >&6; }
    5113 ac_res=$ac_cv_search_strerror
    5114 if test "$ac_res" != no; then :
    5115   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5116 
    5117 fi
    5118 
    5119 
    5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
    5121 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
    5122 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
    5123   $as_echo_n "(cached) " >&6
     4624if test "$MINIX" = yes; then
     4625
     4626cat >>confdefs.h <<\_ACEOF
     4627#define _POSIX_SOURCE 1
     4628_ACEOF
     4629
     4630
     4631cat >>confdefs.h <<\_ACEOF
     4632#define _POSIX_1_SOURCE 2
     4633_ACEOF
     4634
     4635
     4636cat >>confdefs.h <<\_ACEOF
     4637#define _MINIX 1
     4638_ACEOF
     4639
     4640fi
     4641
     4642echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4643echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4644if test "${ac_cv_prog_cc_stdc+set}" = set; then
     4645  echo $ECHO_N "(cached) $ECHO_C" >&6
    51244646else
    51254647  ac_cv_prog_cc_stdc=no
     
    51344656do
    51354657  CFLAGS="$ac_save_CFLAGS $ac_arg"
    5136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4658  cat >conftest.$ac_ext <<_ACEOF
     4659/* confdefs.h.  */
     4660_ACEOF
     4661cat confdefs.h >>conftest.$ac_ext
     4662cat >>conftest.$ac_ext <<_ACEOF
    51374663/* end confdefs.h.  */
    51384664#if !defined(__STDC__) || __STDC__ != 1
     
    51504676}
    51514677_ACEOF
    5152 if ac_fn_c_try_compile "$LINENO"; then :
     4678rm -f conftest.$ac_objext
     4679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4680  (eval $ac_compile) 2>conftest.er1
     4681  ac_status=$?
     4682  grep -v '^ *+' conftest.er1 >conftest.err
     4683  rm -f conftest.er1
     4684  cat conftest.err >&5
     4685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4686  (exit $ac_status); } &&
     4687     { ac_try='test -z "$ac_c_werror_flag"
     4688             || test ! -s conftest.err'
     4689  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4690  (eval $ac_try) 2>&5
     4691  ac_status=$?
     4692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4693  (exit $ac_status); }; } &&
     4694     { ac_try='test -s conftest.$ac_objext'
     4695  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4696  (eval $ac_try) 2>&5
     4697  ac_status=$?
     4698  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4699  (exit $ac_status); }; }; then
    51534700  ac_cv_prog_cc_stdc="$ac_arg"; break
    5154 fi
    5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4701else
     4702  echo "$as_me: failed program was:" >&5
     4703sed 's/^/| /' conftest.$ac_ext >&5
     4704
     4705fi
     4706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    51564707done
    51574708CFLAGS="$ac_save_CFLAGS"
     
    51594710fi
    51604711
    5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
    5162 $as_echo "$ac_cv_prog_cc_stdc" >&6; }
     4712echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4713echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    51634714case "x$ac_cv_prog_cc_stdc" in
    51644715  x|xno) ;;
     
    51674718
    51684719
    5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
    5170 $as_echo_n "checking for function prototypes... " >&6; }
     4720echo "$as_me:$LINENO: checking for function prototypes" >&5
     4721echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
    51714722if test "$ac_cv_prog_cc_stdc" != no; then
    5172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5173 $as_echo "yes" >&6; }
    5174   $as_echo "#define PROTOTYPES 1" >>confdefs.h
     4723  echo "$as_me:$LINENO: result: yes" >&5
     4724echo "${ECHO_T}yes" >&6
     4725  cat >>confdefs.h <<\_ACEOF
     4726#define PROTOTYPES 1
     4727_ACEOF
    51754728
    51764729  U= ANSI2KNR=
    51774730else
    5178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5179 $as_echo "no" >&6; }
     4731  echo "$as_me:$LINENO: result: no" >&5
     4732echo "${ECHO_T}no" >&6
    51804733  U=_ ANSI2KNR=ansi2knr
    51814734fi
    51824735
    5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
    5184 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
    5185 if test "${ac_cv_c_const+set}" = set; then :
    5186   $as_echo_n "(cached) " >&6
    5187 else
    5188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4736echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4737echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4738if test "${ac_cv_c_const+set}" = set; then
     4739  echo $ECHO_N "(cached) $ECHO_C" >&6
     4740else
     4741  cat >conftest.$ac_ext <<_ACEOF
     4742/* confdefs.h.  */
     4743_ACEOF
     4744cat confdefs.h >>conftest.$ac_ext
     4745cat >>conftest.$ac_ext <<_ACEOF
    51894746/* end confdefs.h.  */
    51904747
     
    51964753  /* Ultrix mips cc rejects this.  */
    51974754  typedef int charset[2];
    5198   const charset cs;
     4755  const charset x;
    51994756  /* SunOS 4.1.1 cc rejects this.  */
    5200   char const *const *pcpcc;
    5201   char **ppc;
     4757  char const *const *ccp;
     4758  char **p;
    52024759  /* NEC SVR4.0.2 mips cc rejects this.  */
    52034760  struct point {int x, y;};
     
    52084765     expression */
    52094766  const char *g = "string";
    5210   pcpcc = &g + (g ? g-g : 0);
     4767  ccp = &g + (g ? g-g : 0);
    52114768  /* HPUX 7.0 cc rejects these. */
    5212   ++pcpcc;
    5213   ppc = (char**) pcpcc;
    5214   pcpcc = (char const *const *) ppc;
     4769  ++ccp;
     4770  p = (char**) ccp;
     4771  ccp = (char const *const *) p;
    52154772  { /* SCO 3.2v4 cc rejects this.  */
    52164773    char *t;
     
    52184775
    52194776    *t++ = 0;
    5220     if (s) return 0;
    52214777  }
    52224778  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    52374793  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    52384794    const int foo = 10;
    5239     if (!foo) return 0;
    52404795  }
    5241   return !cs[0] && !zero.x;
    52424796#endif
    52434797
     
    52464800}
    52474801_ACEOF
    5248 if ac_fn_c_try_compile "$LINENO"; then :
     4802rm -f conftest.$ac_objext
     4803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4804  (eval $ac_compile) 2>conftest.er1
     4805  ac_status=$?
     4806  grep -v '^ *+' conftest.er1 >conftest.err
     4807  rm -f conftest.er1
     4808  cat conftest.err >&5
     4809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4810  (exit $ac_status); } &&
     4811     { ac_try='test -z "$ac_c_werror_flag"
     4812             || test ! -s conftest.err'
     4813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4814  (eval $ac_try) 2>&5
     4815  ac_status=$?
     4816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4817  (exit $ac_status); }; } &&
     4818     { ac_try='test -s conftest.$ac_objext'
     4819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4820  (eval $ac_try) 2>&5
     4821  ac_status=$?
     4822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4823  (exit $ac_status); }; }; then
    52494824  ac_cv_c_const=yes
    52504825else
    5251   ac_cv_c_const=no
    5252 fi
    5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5254 fi
    5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
    5256 $as_echo "$ac_cv_c_const" >&6; }
     4826  echo "$as_me: failed program was:" >&5
     4827sed 's/^/| /' conftest.$ac_ext >&5
     4828
     4829ac_cv_c_const=no
     4830fi
     4831rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4832fi
     4833echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4834echo "${ECHO_T}$ac_cv_c_const" >&6
    52574835if test $ac_cv_c_const = no; then
    52584836
    5259 $as_echo "#define const /**/" >>confdefs.h
    5260 
    5261 fi
    5262 
    5263 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
    5264 if test "x$ac_cv_type_off_t" = x""yes; then :
    5265 
     4837cat >>confdefs.h <<\_ACEOF
     4838#define const
     4839_ACEOF
     4840
     4841fi
     4842
     4843echo "$as_me:$LINENO: checking for off_t" >&5
     4844echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4845if test "${ac_cv_type_off_t+set}" = set; then
     4846  echo $ECHO_N "(cached) $ECHO_C" >&6
     4847else
     4848  cat >conftest.$ac_ext <<_ACEOF
     4849/* confdefs.h.  */
     4850_ACEOF
     4851cat confdefs.h >>conftest.$ac_ext
     4852cat >>conftest.$ac_ext <<_ACEOF
     4853/* end confdefs.h.  */
     4854$ac_includes_default
     4855int
     4856main ()
     4857{
     4858if ((off_t *) 0)
     4859  return 0;
     4860if (sizeof (off_t))
     4861  return 0;
     4862  ;
     4863  return 0;
     4864}
     4865_ACEOF
     4866rm -f conftest.$ac_objext
     4867if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4868  (eval $ac_compile) 2>conftest.er1
     4869  ac_status=$?
     4870  grep -v '^ *+' conftest.er1 >conftest.err
     4871  rm -f conftest.er1
     4872  cat conftest.err >&5
     4873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4874  (exit $ac_status); } &&
     4875     { ac_try='test -z "$ac_c_werror_flag"
     4876             || test ! -s conftest.err'
     4877  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4878  (eval $ac_try) 2>&5
     4879  ac_status=$?
     4880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4881  (exit $ac_status); }; } &&
     4882     { ac_try='test -s conftest.$ac_objext'
     4883  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4884  (eval $ac_try) 2>&5
     4885  ac_status=$?
     4886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4887  (exit $ac_status); }; }; then
     4888  ac_cv_type_off_t=yes
     4889else
     4890  echo "$as_me: failed program was:" >&5
     4891sed 's/^/| /' conftest.$ac_ext >&5
     4892
     4893ac_cv_type_off_t=no
     4894fi
     4895rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4896fi
     4897echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4898echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4899if test $ac_cv_type_off_t = yes; then
     4900  :
    52664901else
    52674902
    52684903cat >>confdefs.h <<_ACEOF
    5269 #define off_t long int
    5270 _ACEOF
    5271 
    5272 fi
    5273 
    5274 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
    5275 if test "x$ac_cv_type_size_t" = x""yes; then :
    5276 
     4904#define off_t long
     4905_ACEOF
     4906
     4907fi
     4908
     4909echo "$as_me:$LINENO: checking for size_t" >&5
     4910echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4911if test "${ac_cv_type_size_t+set}" = set; then
     4912  echo $ECHO_N "(cached) $ECHO_C" >&6
     4913else
     4914  cat >conftest.$ac_ext <<_ACEOF
     4915/* confdefs.h.  */
     4916_ACEOF
     4917cat confdefs.h >>conftest.$ac_ext
     4918cat >>conftest.$ac_ext <<_ACEOF
     4919/* end confdefs.h.  */
     4920$ac_includes_default
     4921int
     4922main ()
     4923{
     4924if ((size_t *) 0)
     4925  return 0;
     4926if (sizeof (size_t))
     4927  return 0;
     4928  ;
     4929  return 0;
     4930}
     4931_ACEOF
     4932rm -f conftest.$ac_objext
     4933if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4934  (eval $ac_compile) 2>conftest.er1
     4935  ac_status=$?
     4936  grep -v '^ *+' conftest.er1 >conftest.err
     4937  rm -f conftest.er1
     4938  cat conftest.err >&5
     4939  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4940  (exit $ac_status); } &&
     4941     { ac_try='test -z "$ac_c_werror_flag"
     4942             || test ! -s conftest.err'
     4943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4944  (eval $ac_try) 2>&5
     4945  ac_status=$?
     4946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4947  (exit $ac_status); }; } &&
     4948     { ac_try='test -s conftest.$ac_objext'
     4949  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4950  (eval $ac_try) 2>&5
     4951  ac_status=$?
     4952  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4953  (exit $ac_status); }; }; then
     4954  ac_cv_type_size_t=yes
     4955else
     4956  echo "$as_me: failed program was:" >&5
     4957sed 's/^/| /' conftest.$ac_ext >&5
     4958
     4959ac_cv_type_size_t=no
     4960fi
     4961rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4962fi
     4963echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4964echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4965if test $ac_cv_type_size_t = yes; then
     4966  :
    52774967else
    52784968
    52794969cat >>confdefs.h <<_ACEOF
    5280 #define size_t unsigned int
    5281 _ACEOF
    5282 
    5283 fi
    5284 
    5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
    5286 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
    5287 if test "${ac_cv_header_time+set}" = set; then :
    5288   $as_echo_n "(cached) " >&6
    5289 else
    5290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4970#define size_t unsigned
     4971_ACEOF
     4972
     4973fi
     4974
     4975echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4976echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     4977if test "${ac_cv_header_time+set}" = set; then
     4978  echo $ECHO_N "(cached) $ECHO_C" >&6
     4979else
     4980  cat >conftest.$ac_ext <<_ACEOF
     4981/* confdefs.h.  */
     4982_ACEOF
     4983cat confdefs.h >>conftest.$ac_ext
     4984cat >>conftest.$ac_ext <<_ACEOF
    52914985/* end confdefs.h.  */
    52924986#include <sys/types.h>
     
    53034997}
    53044998_ACEOF
    5305 if ac_fn_c_try_compile "$LINENO"; then :
     4999rm -f conftest.$ac_objext
     5000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5001  (eval $ac_compile) 2>conftest.er1
     5002  ac_status=$?
     5003  grep -v '^ *+' conftest.er1 >conftest.err
     5004  rm -f conftest.er1
     5005  cat conftest.err >&5
     5006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5007  (exit $ac_status); } &&
     5008     { ac_try='test -z "$ac_c_werror_flag"
     5009             || test ! -s conftest.err'
     5010  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5011  (eval $ac_try) 2>&5
     5012  ac_status=$?
     5013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5014  (exit $ac_status); }; } &&
     5015     { ac_try='test -s conftest.$ac_objext'
     5016  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5017  (eval $ac_try) 2>&5
     5018  ac_status=$?
     5019  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5020  (exit $ac_status); }; }; then
    53065021  ac_cv_header_time=yes
    53075022else
    5308   ac_cv_header_time=no
    5309 fi
    5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5311 fi
    5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
    5313 $as_echo "$ac_cv_header_time" >&6; }
     5023  echo "$as_me: failed program was:" >&5
     5024sed 's/^/| /' conftest.$ac_ext >&5
     5025
     5026ac_cv_header_time=no
     5027fi
     5028rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5029fi
     5030echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     5031echo "${ECHO_T}$ac_cv_header_time" >&6
    53145032if test $ac_cv_header_time = yes; then
    53155033
    5316 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
    5317 
    5318 fi
    5319 
    5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
    5321 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
    5322 if test "${ac_cv_struct_tm+set}" = set; then :
    5323   $as_echo_n "(cached) " >&6
    5324 else
    5325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5034cat >>confdefs.h <<\_ACEOF
     5035#define TIME_WITH_SYS_TIME 1
     5036_ACEOF
     5037
     5038fi
     5039
     5040echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     5041echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     5042if test "${ac_cv_struct_tm+set}" = set; then
     5043  echo $ECHO_N "(cached) $ECHO_C" >&6
     5044else
     5045  cat >conftest.$ac_ext <<_ACEOF
     5046/* confdefs.h.  */
     5047_ACEOF
     5048cat confdefs.h >>conftest.$ac_ext
     5049cat >>conftest.$ac_ext <<_ACEOF
    53265050/* end confdefs.h.  */
    53275051#include <sys/types.h>
     
    53315055main ()
    53325056{
    5333 struct tm tm;
    5334                      int *p = &tm.tm_sec;
    5335                      return !p;
     5057struct tm *tp; tp->tm_sec;
    53365058  ;
    53375059  return 0;
    53385060}
    53395061_ACEOF
    5340 if ac_fn_c_try_compile "$LINENO"; then :
     5062rm -f conftest.$ac_objext
     5063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5064  (eval $ac_compile) 2>conftest.er1
     5065  ac_status=$?
     5066  grep -v '^ *+' conftest.er1 >conftest.err
     5067  rm -f conftest.er1
     5068  cat conftest.err >&5
     5069  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5070  (exit $ac_status); } &&
     5071     { ac_try='test -z "$ac_c_werror_flag"
     5072             || test ! -s conftest.err'
     5073  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5074  (eval $ac_try) 2>&5
     5075  ac_status=$?
     5076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5077  (exit $ac_status); }; } &&
     5078     { ac_try='test -s conftest.$ac_objext'
     5079  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5080  (eval $ac_try) 2>&5
     5081  ac_status=$?
     5082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5083  (exit $ac_status); }; }; then
    53415084  ac_cv_struct_tm=time.h
    53425085else
    5343   ac_cv_struct_tm=sys/time.h
    5344 fi
    5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5346 fi
    5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
    5348 $as_echo "$ac_cv_struct_tm" >&6; }
     5086  echo "$as_me: failed program was:" >&5
     5087sed 's/^/| /' conftest.$ac_ext >&5
     5088
     5089ac_cv_struct_tm=sys/time.h
     5090fi
     5091rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5092fi
     5093echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5094echo "${ECHO_T}$ac_cv_struct_tm" >&6
    53495095if test $ac_cv_struct_tm = sys/time.h; then
    53505096
    5351 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
     5097cat >>confdefs.h <<\_ACEOF
     5098#define TM_IN_SYS_TIME 1
     5099_ACEOF
    53525100
    53535101fi
     
    53555103
    53565104if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
    5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5105cat >conftest.$ac_ext <<_ACEOF
     5106/* confdefs.h.  */
     5107_ACEOF
     5108cat confdefs.h >>conftest.$ac_ext
     5109cat >>conftest.$ac_ext <<_ACEOF
    53585110/* end confdefs.h.  */
    53595111#include <stdio.h>
     
    53675119}
    53685120_ACEOF
    5369 if ac_fn_c_try_compile "$LINENO"; then :
    5370 
    5371 else
    5372   CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    5373 fi
    5374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5375 fi
    5376 
    5377 
    5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
    5379 $as_echo_n "checking for main in -lg... " >&6; }
    5380 if test "${ac_cv_lib_g_main+set}" = set; then :
    5381   $as_echo_n "(cached) " >&6
     5121rm -f conftest.$ac_objext
     5122if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5123  (eval $ac_compile) 2>conftest.er1
     5124  ac_status=$?
     5125  grep -v '^ *+' conftest.er1 >conftest.err
     5126  rm -f conftest.er1
     5127  cat conftest.err >&5
     5128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5129  (exit $ac_status); } &&
     5130     { ac_try='test -z "$ac_c_werror_flag"
     5131             || test ! -s conftest.err'
     5132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5133  (eval $ac_try) 2>&5
     5134  ac_status=$?
     5135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5136  (exit $ac_status); }; } &&
     5137     { ac_try='test -s conftest.$ac_objext'
     5138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5139  (eval $ac_try) 2>&5
     5140  ac_status=$?
     5141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5142  (exit $ac_status); }; }; then
     5143  :
     5144else
     5145  echo "$as_me: failed program was:" >&5
     5146sed 's/^/| /' conftest.$ac_ext >&5
     5147
     5148CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5149fi
     5150rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5151fi
     5152
     5153
     5154
     5155echo "$as_me:$LINENO: checking for main in -lg" >&5
     5156echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     5157if test "${ac_cv_lib_g_main+set}" = set; then
     5158  echo $ECHO_N "(cached) $ECHO_C" >&6
    53825159else
    53835160  ac_check_lib_save_LIBS=$LIBS
    53845161LIBS="-lg  $LIBS"
    5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5162cat >conftest.$ac_ext <<_ACEOF
     5163/* confdefs.h.  */
     5164_ACEOF
     5165cat confdefs.h >>conftest.$ac_ext
     5166cat >>conftest.$ac_ext <<_ACEOF
    53865167/* end confdefs.h.  */
    53875168
     
    53905171main ()
    53915172{
    5392 return main ();
     5173main ();
    53935174  ;
    53945175  return 0;
    53955176}
    53965177_ACEOF
    5397 if ac_fn_c_try_link "$LINENO"; then :
     5178rm -f conftest.$ac_objext conftest$ac_exeext
     5179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5180  (eval $ac_link) 2>conftest.er1
     5181  ac_status=$?
     5182  grep -v '^ *+' conftest.er1 >conftest.err
     5183  rm -f conftest.er1
     5184  cat conftest.err >&5
     5185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5186  (exit $ac_status); } &&
     5187     { ac_try='test -z "$ac_c_werror_flag"
     5188             || test ! -s conftest.err'
     5189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5190  (eval $ac_try) 2>&5
     5191  ac_status=$?
     5192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5193  (exit $ac_status); }; } &&
     5194     { ac_try='test -s conftest$ac_exeext'
     5195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5196  (eval $ac_try) 2>&5
     5197  ac_status=$?
     5198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5199  (exit $ac_status); }; }; then
    53985200  ac_cv_lib_g_main=yes
    53995201else
    5400   ac_cv_lib_g_main=no
    5401 fi
    5402 rm -f core conftest.err conftest.$ac_objext \
    5403     conftest$ac_exeext conftest.$ac_ext
     5202  echo "$as_me: failed program was:" >&5
     5203sed 's/^/| /' conftest.$ac_ext >&5
     5204
     5205ac_cv_lib_g_main=no
     5206fi
     5207rm -f conftest.err conftest.$ac_objext \
     5208      conftest$ac_exeext conftest.$ac_ext
    54045209LIBS=$ac_check_lib_save_LIBS
    54055210fi
    5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
    5407 $as_echo "$ac_cv_lib_g_main" >&6; }
    5408 if test "x$ac_cv_lib_g_main" = x""yes; then :
     5211echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5212echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     5213if test $ac_cv_lib_g_main = yes; then
    54095214  cat >>confdefs.h <<_ACEOF
    54105215#define HAVE_LIBG 1
     
    54165221ac_cv_lib_g=ac_cv_lib_g_main
    54175222
    5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
    5419 $as_echo_n "checking for main in -lm... " >&6; }
    5420 if test "${ac_cv_lib_m_main+set}" = set; then :
    5421   $as_echo_n "(cached) " >&6
     5223
     5224echo "$as_me:$LINENO: checking for main in -lm" >&5
     5225echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5226if test "${ac_cv_lib_m_main+set}" = set; then
     5227  echo $ECHO_N "(cached) $ECHO_C" >&6
    54225228else
    54235229  ac_check_lib_save_LIBS=$LIBS
    54245230LIBS="-lm  $LIBS"
    5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5231cat >conftest.$ac_ext <<_ACEOF
     5232/* confdefs.h.  */
     5233_ACEOF
     5234cat confdefs.h >>conftest.$ac_ext
     5235cat >>conftest.$ac_ext <<_ACEOF
    54265236/* end confdefs.h.  */
    54275237
     
    54305240main ()
    54315241{
    5432 return main ();
     5242main ();
    54335243  ;
    54345244  return 0;
    54355245}
    54365246_ACEOF
    5437 if ac_fn_c_try_link "$LINENO"; then :
     5247rm -f conftest.$ac_objext conftest$ac_exeext
     5248if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5249  (eval $ac_link) 2>conftest.er1
     5250  ac_status=$?
     5251  grep -v '^ *+' conftest.er1 >conftest.err
     5252  rm -f conftest.er1
     5253  cat conftest.err >&5
     5254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5255  (exit $ac_status); } &&
     5256     { ac_try='test -z "$ac_c_werror_flag"
     5257             || test ! -s conftest.err'
     5258  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5259  (eval $ac_try) 2>&5
     5260  ac_status=$?
     5261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5262  (exit $ac_status); }; } &&
     5263     { ac_try='test -s conftest$ac_exeext'
     5264  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5265  (eval $ac_try) 2>&5
     5266  ac_status=$?
     5267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5268  (exit $ac_status); }; }; then
    54385269  ac_cv_lib_m_main=yes
    54395270else
    5440   ac_cv_lib_m_main=no
    5441 fi
    5442 rm -f core conftest.err conftest.$ac_objext \
    5443     conftest$ac_exeext conftest.$ac_ext
     5271  echo "$as_me: failed program was:" >&5
     5272sed 's/^/| /' conftest.$ac_ext >&5
     5273
     5274ac_cv_lib_m_main=no
     5275fi
     5276rm -f conftest.err conftest.$ac_objext \
     5277      conftest$ac_exeext conftest.$ac_ext
    54445278LIBS=$ac_check_lib_save_LIBS
    54455279fi
    5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
    5447 $as_echo "$ac_cv_lib_m_main" >&6; }
    5448 if test "x$ac_cv_lib_m_main" = x""yes; then :
     5280echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5281echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     5282if test $ac_cv_lib_m_main = yes; then
    54495283  cat >>confdefs.h <<_ACEOF
    54505284#define HAVE_LIBM 1
     
    54565290ac_cv_lib_m=ac_cv_lib_m_main
    54575291
    5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
    5459 $as_echo_n "checking for main in -lcrypt... " >&6; }
    5460 if test "${ac_cv_lib_crypt_main+set}" = set; then :
    5461   $as_echo_n "(cached) " >&6
     5292
     5293echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5294echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5295if test "${ac_cv_lib_crypt_main+set}" = set; then
     5296  echo $ECHO_N "(cached) $ECHO_C" >&6
    54625297else
    54635298  ac_check_lib_save_LIBS=$LIBS
    54645299LIBS="-lcrypt  $LIBS"
    5465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5300cat >conftest.$ac_ext <<_ACEOF
     5301/* confdefs.h.  */
     5302_ACEOF
     5303cat confdefs.h >>conftest.$ac_ext
     5304cat >>conftest.$ac_ext <<_ACEOF
    54665305/* end confdefs.h.  */
    54675306
     
    54705309main ()
    54715310{
    5472 return main ();
     5311main ();
    54735312  ;
    54745313  return 0;
    54755314}
    54765315_ACEOF
    5477 if ac_fn_c_try_link "$LINENO"; then :
     5316rm -f conftest.$ac_objext conftest$ac_exeext
     5317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5318  (eval $ac_link) 2>conftest.er1
     5319  ac_status=$?
     5320  grep -v '^ *+' conftest.er1 >conftest.err
     5321  rm -f conftest.er1
     5322  cat conftest.err >&5
     5323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5324  (exit $ac_status); } &&
     5325     { ac_try='test -z "$ac_c_werror_flag"
     5326             || test ! -s conftest.err'
     5327  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5328  (eval $ac_try) 2>&5
     5329  ac_status=$?
     5330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5331  (exit $ac_status); }; } &&
     5332     { ac_try='test -s conftest$ac_exeext'
     5333  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5334  (eval $ac_try) 2>&5
     5335  ac_status=$?
     5336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5337  (exit $ac_status); }; }; then
    54785338  ac_cv_lib_crypt_main=yes
    54795339else
    5480   ac_cv_lib_crypt_main=no
    5481 fi
    5482 rm -f core conftest.err conftest.$ac_objext \
    5483     conftest$ac_exeext conftest.$ac_ext
     5340  echo "$as_me: failed program was:" >&5
     5341sed 's/^/| /' conftest.$ac_ext >&5
     5342
     5343ac_cv_lib_crypt_main=no
     5344fi
     5345rm -f conftest.err conftest.$ac_objext \
     5346      conftest$ac_exeext conftest.$ac_ext
    54845347LIBS=$ac_check_lib_save_LIBS
    54855348fi
    5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
    5487 $as_echo "$ac_cv_lib_crypt_main" >&6; }
    5488 if test "x$ac_cv_lib_crypt_main" = x""yes; then :
     5349echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5350echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     5351if test $ac_cv_lib_crypt_main = yes; then
    54895352  cat >>confdefs.h <<_ACEOF
    54905353#define HAVE_LIBCRYPT 1
     
    55005363#fi
    55015364
     5365
     5366
     5367
     5368
     5369
    55025370ac_header_dirent=no
    55035371for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    5504   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
    5506 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
    5507 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
    5508   $as_echo_n "(cached) " >&6
    5509 else
    5510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5372  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     5373echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5374echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
     5375if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5376  echo $ECHO_N "(cached) $ECHO_C" >&6
     5377else
     5378  cat >conftest.$ac_ext <<_ACEOF
     5379/* confdefs.h.  */
     5380_ACEOF
     5381cat confdefs.h >>conftest.$ac_ext
     5382cat >>conftest.$ac_ext <<_ACEOF
    55115383/* end confdefs.h.  */
    55125384#include <sys/types.h>
     
    55225394}
    55235395_ACEOF
    5524 if ac_fn_c_try_compile "$LINENO"; then :
     5396rm -f conftest.$ac_objext
     5397if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5398  (eval $ac_compile) 2>conftest.er1
     5399  ac_status=$?
     5400  grep -v '^ *+' conftest.er1 >conftest.err
     5401  rm -f conftest.er1
     5402  cat conftest.err >&5
     5403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5404  (exit $ac_status); } &&
     5405     { ac_try='test -z "$ac_c_werror_flag"
     5406             || test ! -s conftest.err'
     5407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5408  (eval $ac_try) 2>&5
     5409  ac_status=$?
     5410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5411  (exit $ac_status); }; } &&
     5412     { ac_try='test -s conftest.$ac_objext'
     5413  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5414  (eval $ac_try) 2>&5
     5415  ac_status=$?
     5416  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5417  (exit $ac_status); }; }; then
    55255418  eval "$as_ac_Header=yes"
    55265419else
    5527   eval "$as_ac_Header=no"
    5528 fi
    5529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5530 fi
    5531 eval ac_res=\$$as_ac_Header
    5532            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    5533 $as_echo "$ac_res" >&6; }
    5534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5420  echo "$as_me: failed program was:" >&5
     5421sed 's/^/| /' conftest.$ac_ext >&5
     5422
     5423eval "$as_ac_Header=no"
     5424fi
     5425rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5426fi
     5427echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5428echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5429if test `eval echo '${'$as_ac_Header'}'` = yes; then
    55355430  cat >>confdefs.h <<_ACEOF
    5536 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     5431#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
    55375432_ACEOF
    55385433
     
    55435438# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    55445439if test $ac_header_dirent = dirent.h; then
    5545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
    5546 $as_echo_n "checking for library containing opendir... " >&6; }
    5547 if test "${ac_cv_search_opendir+set}" = set; then :
    5548   $as_echo_n "(cached) " >&6
     5440  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5441echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5442if test "${ac_cv_search_opendir+set}" = set; then
     5443  echo $ECHO_N "(cached) $ECHO_C" >&6
    55495444else
    55505445  ac_func_search_save_LIBS=$LIBS
    5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5446ac_cv_search_opendir=no
     5447cat >conftest.$ac_ext <<_ACEOF
     5448/* confdefs.h.  */
     5449_ACEOF
     5450cat confdefs.h >>conftest.$ac_ext
     5451cat >>conftest.$ac_ext <<_ACEOF
    55525452/* end confdefs.h.  */
    55535453
    5554 /* Override any GCC internal prototype to avoid an error.
    5555    Use char because int might match the return type of a GCC
    5556    builtin and then its argument prototype would still apply.  */
     5454/* Override any gcc2 internal prototype to avoid an error.  */
    55575455#ifdef __cplusplus
    55585456extern "C"
    55595457#endif
     5458/* We use char because int might match the return type of a gcc2
     5459   builtin and then its argument prototype would still apply.  */
    55605460char opendir ();
    55615461int
    55625462main ()
    55635463{
    5564 return opendir ();
     5464opendir ();
    55655465  ;
    55665466  return 0;
    55675467}
    55685468_ACEOF
    5569 for ac_lib in '' dir; do
    5570   if test -z "$ac_lib"; then
    5571     ac_res="none required"
    5572   else
    5573     ac_res=-l$ac_lib
     5469rm -f conftest.$ac_objext conftest$ac_exeext
     5470if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5471  (eval $ac_link) 2>conftest.er1
     5472  ac_status=$?
     5473  grep -v '^ *+' conftest.er1 >conftest.err
     5474  rm -f conftest.er1
     5475  cat conftest.err >&5
     5476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5477  (exit $ac_status); } &&
     5478     { ac_try='test -z "$ac_c_werror_flag"
     5479             || test ! -s conftest.err'
     5480  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5481  (eval $ac_try) 2>&5
     5482  ac_status=$?
     5483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5484  (exit $ac_status); }; } &&
     5485     { ac_try='test -s conftest$ac_exeext'
     5486  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5487  (eval $ac_try) 2>&5
     5488  ac_status=$?
     5489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5490  (exit $ac_status); }; }; then
     5491  ac_cv_search_opendir="none required"
     5492else
     5493  echo "$as_me: failed program was:" >&5
     5494sed 's/^/| /' conftest.$ac_ext >&5
     5495
     5496fi
     5497rm -f conftest.err conftest.$ac_objext \
     5498      conftest$ac_exeext conftest.$ac_ext
     5499if test "$ac_cv_search_opendir" = no; then
     5500  for ac_lib in dir; do
    55745501    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5575   fi
    5576   if ac_fn_c_try_link "$LINENO"; then :
    5577   ac_cv_search_opendir=$ac_res
    5578 fi
    5579 rm -f core conftest.err conftest.$ac_objext \
    5580     conftest$ac_exeext
    5581   if test "${ac_cv_search_opendir+set}" = set; then :
    5582   break
    5583 fi
    5584 done
    5585 if test "${ac_cv_search_opendir+set}" = set; then :
    5586 
    5587 else
    5588   ac_cv_search_opendir=no
    5589 fi
    5590 rm conftest.$ac_ext
    5591 LIBS=$ac_func_search_save_LIBS
    5592 fi
    5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
    5594 $as_echo "$ac_cv_search_opendir" >&6; }
    5595 ac_res=$ac_cv_search_opendir
    5596 if test "$ac_res" != no; then :
    5597   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5598 
    5599 fi
    5600 
    5601 else
    5602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
    5603 $as_echo_n "checking for library containing opendir... " >&6; }
    5604 if test "${ac_cv_search_opendir+set}" = set; then :
    5605   $as_echo_n "(cached) " >&6
    5606 else
    5607   ac_func_search_save_LIBS=$LIBS
    5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5502    cat >conftest.$ac_ext <<_ACEOF
     5503/* confdefs.h.  */
     5504_ACEOF
     5505cat confdefs.h >>conftest.$ac_ext
     5506cat >>conftest.$ac_ext <<_ACEOF
    56095507/* end confdefs.h.  */
    56105508
    5611 /* Override any GCC internal prototype to avoid an error.
    5612    Use char because int might match the return type of a GCC
    5613    builtin and then its argument prototype would still apply.  */
     5509/* Override any gcc2 internal prototype to avoid an error.  */
    56145510#ifdef __cplusplus
    56155511extern "C"
    56165512#endif
     5513/* We use char because int might match the return type of a gcc2
     5514   builtin and then its argument prototype would still apply.  */
    56175515char opendir ();
    56185516int
    56195517main ()
    56205518{
    5621 return opendir ();
     5519opendir ();
    56225520  ;
    56235521  return 0;
    56245522}
    56255523_ACEOF
    5626 for ac_lib in '' x; do
    5627   if test -z "$ac_lib"; then
    5628     ac_res="none required"
    5629   else
    5630     ac_res=-l$ac_lib
     5524rm -f conftest.$ac_objext conftest$ac_exeext
     5525if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5526  (eval $ac_link) 2>conftest.er1
     5527  ac_status=$?
     5528  grep -v '^ *+' conftest.er1 >conftest.err
     5529  rm -f conftest.er1
     5530  cat conftest.err >&5
     5531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5532  (exit $ac_status); } &&
     5533     { ac_try='test -z "$ac_c_werror_flag"
     5534             || test ! -s conftest.err'
     5535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5536  (eval $ac_try) 2>&5
     5537  ac_status=$?
     5538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5539  (exit $ac_status); }; } &&
     5540     { ac_try='test -s conftest$ac_exeext'
     5541  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5542  (eval $ac_try) 2>&5
     5543  ac_status=$?
     5544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5545  (exit $ac_status); }; }; then
     5546  ac_cv_search_opendir="-l$ac_lib"
     5547break
     5548else
     5549  echo "$as_me: failed program was:" >&5
     5550sed 's/^/| /' conftest.$ac_ext >&5
     5551
     5552fi
     5553rm -f conftest.err conftest.$ac_objext \
     5554      conftest$ac_exeext conftest.$ac_ext
     5555  done
     5556fi
     5557LIBS=$ac_func_search_save_LIBS
     5558fi
     5559echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5560echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5561if test "$ac_cv_search_opendir" != no; then
     5562  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5563
     5564fi
     5565
     5566else
     5567  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5568echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5569if test "${ac_cv_search_opendir+set}" = set; then
     5570  echo $ECHO_N "(cached) $ECHO_C" >&6
     5571else
     5572  ac_func_search_save_LIBS=$LIBS
     5573ac_cv_search_opendir=no
     5574cat >conftest.$ac_ext <<_ACEOF
     5575/* confdefs.h.  */
     5576_ACEOF
     5577cat confdefs.h >>conftest.$ac_ext
     5578cat >>conftest.$ac_ext <<_ACEOF
     5579/* end confdefs.h.  */
     5580
     5581/* Override any gcc2 internal prototype to avoid an error.  */
     5582#ifdef __cplusplus
     5583extern "C"
     5584#endif
     5585/* We use char because int might match the return type of a gcc2
     5586   builtin and then its argument prototype would still apply.  */
     5587char opendir ();
     5588int
     5589main ()
     5590{
     5591opendir ();
     5592  ;
     5593  return 0;
     5594}
     5595_ACEOF
     5596rm -f conftest.$ac_objext conftest$ac_exeext
     5597if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5598  (eval $ac_link) 2>conftest.er1
     5599  ac_status=$?
     5600  grep -v '^ *+' conftest.er1 >conftest.err
     5601  rm -f conftest.er1
     5602  cat conftest.err >&5
     5603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5604  (exit $ac_status); } &&
     5605     { ac_try='test -z "$ac_c_werror_flag"
     5606             || test ! -s conftest.err'
     5607  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5608  (eval $ac_try) 2>&5
     5609  ac_status=$?
     5610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5611  (exit $ac_status); }; } &&
     5612     { ac_try='test -s conftest$ac_exeext'
     5613  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5614  (eval $ac_try) 2>&5
     5615  ac_status=$?
     5616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5617  (exit $ac_status); }; }; then
     5618  ac_cv_search_opendir="none required"
     5619else
     5620  echo "$as_me: failed program was:" >&5
     5621sed 's/^/| /' conftest.$ac_ext >&5
     5622
     5623fi
     5624rm -f conftest.err conftest.$ac_objext \
     5625      conftest$ac_exeext conftest.$ac_ext
     5626if test "$ac_cv_search_opendir" = no; then
     5627  for ac_lib in x; do
    56315628    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5632   fi
    5633   if ac_fn_c_try_link "$LINENO"; then :
    5634   ac_cv_search_opendir=$ac_res
    5635 fi
    5636 rm -f core conftest.err conftest.$ac_objext \
    5637     conftest$ac_exeext
    5638   if test "${ac_cv_search_opendir+set}" = set; then :
    5639   break
    5640 fi
    5641 done
    5642 if test "${ac_cv_search_opendir+set}" = set; then :
    5643 
    5644 else
    5645   ac_cv_search_opendir=no
    5646 fi
    5647 rm conftest.$ac_ext
     5629    cat >conftest.$ac_ext <<_ACEOF
     5630/* confdefs.h.  */
     5631_ACEOF
     5632cat confdefs.h >>conftest.$ac_ext
     5633cat >>conftest.$ac_ext <<_ACEOF
     5634/* end confdefs.h.  */
     5635
     5636/* Override any gcc2 internal prototype to avoid an error.  */
     5637#ifdef __cplusplus
     5638extern "C"
     5639#endif
     5640/* We use char because int might match the return type of a gcc2
     5641   builtin and then its argument prototype would still apply.  */
     5642char opendir ();
     5643int
     5644main ()
     5645{
     5646opendir ();
     5647  ;
     5648  return 0;
     5649}
     5650_ACEOF
     5651rm -f conftest.$ac_objext conftest$ac_exeext
     5652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5653  (eval $ac_link) 2>conftest.er1
     5654  ac_status=$?
     5655  grep -v '^ *+' conftest.er1 >conftest.err
     5656  rm -f conftest.er1
     5657  cat conftest.err >&5
     5658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5659  (exit $ac_status); } &&
     5660     { ac_try='test -z "$ac_c_werror_flag"
     5661             || test ! -s conftest.err'
     5662  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5663  (eval $ac_try) 2>&5
     5664  ac_status=$?
     5665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5666  (exit $ac_status); }; } &&
     5667     { ac_try='test -s conftest$ac_exeext'
     5668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5669  (eval $ac_try) 2>&5
     5670  ac_status=$?
     5671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5672  (exit $ac_status); }; }; then
     5673  ac_cv_search_opendir="-l$ac_lib"
     5674break
     5675else
     5676  echo "$as_me: failed program was:" >&5
     5677sed 's/^/| /' conftest.$ac_ext >&5
     5678
     5679fi
     5680rm -f conftest.err conftest.$ac_objext \
     5681      conftest$ac_exeext conftest.$ac_ext
     5682  done
     5683fi
    56485684LIBS=$ac_func_search_save_LIBS
    56495685fi
    5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
    5651 $as_echo "$ac_cv_search_opendir" >&6; }
    5652 ac_res=$ac_cv_search_opendir
    5653 if test "$ac_res" != no; then :
    5654   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5655 
    5656 fi
    5657 
    5658 fi
    5659 
    5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    5661 $as_echo_n "checking for ANSI C header files... " >&6; }
    5662 if test "${ac_cv_header_stdc+set}" = set; then :
    5663   $as_echo_n "(cached) " >&6
    5664 else
    5665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5686echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5687echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5688if test "$ac_cv_search_opendir" != no; then
     5689  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5690
     5691fi
     5692
     5693fi
     5694
     5695echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5696echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5697if test "${ac_cv_header_stdc+set}" = set; then
     5698  echo $ECHO_N "(cached) $ECHO_C" >&6
     5699else
     5700  cat >conftest.$ac_ext <<_ACEOF
     5701/* confdefs.h.  */
     5702_ACEOF
     5703cat confdefs.h >>conftest.$ac_ext
     5704cat >>conftest.$ac_ext <<_ACEOF
    56665705/* end confdefs.h.  */
    56675706#include <stdlib.h>
     
    56785717}
    56795718_ACEOF
    5680 if ac_fn_c_try_compile "$LINENO"; then :
     5719rm -f conftest.$ac_objext
     5720if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5721  (eval $ac_compile) 2>conftest.er1
     5722  ac_status=$?
     5723  grep -v '^ *+' conftest.er1 >conftest.err
     5724  rm -f conftest.er1
     5725  cat conftest.err >&5
     5726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5727  (exit $ac_status); } &&
     5728     { ac_try='test -z "$ac_c_werror_flag"
     5729             || test ! -s conftest.err'
     5730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5731  (eval $ac_try) 2>&5
     5732  ac_status=$?
     5733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5734  (exit $ac_status); }; } &&
     5735     { ac_try='test -s conftest.$ac_objext'
     5736  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5737  (eval $ac_try) 2>&5
     5738  ac_status=$?
     5739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5740  (exit $ac_status); }; }; then
    56815741  ac_cv_header_stdc=yes
    56825742else
    5683   ac_cv_header_stdc=no
    5684 fi
    5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5743  echo "$as_me: failed program was:" >&5
     5744sed 's/^/| /' conftest.$ac_ext >&5
     5745
     5746ac_cv_header_stdc=no
     5747fi
     5748rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    56865749
    56875750if test $ac_cv_header_stdc = yes; then
    56885751  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    5689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5752  cat >conftest.$ac_ext <<_ACEOF
     5753/* confdefs.h.  */
     5754_ACEOF
     5755cat confdefs.h >>conftest.$ac_ext
     5756cat >>conftest.$ac_ext <<_ACEOF
    56905757/* end confdefs.h.  */
    56915758#include <string.h>
     
    56935760_ACEOF
    56945761if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5695   $EGREP "memchr" >/dev/null 2>&1; then :
    5696 
     5762  $EGREP "memchr" >/dev/null 2>&1; then
     5763  :
    56975764else
    56985765  ac_cv_header_stdc=no
     
    57045771if test $ac_cv_header_stdc = yes; then
    57055772  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    5706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5773  cat >conftest.$ac_ext <<_ACEOF
     5774/* confdefs.h.  */
     5775_ACEOF
     5776cat confdefs.h >>conftest.$ac_ext
     5777cat >>conftest.$ac_ext <<_ACEOF
    57075778/* end confdefs.h.  */
    57085779#include <stdlib.h>
     
    57105781_ACEOF
    57115782if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5712   $EGREP "free" >/dev/null 2>&1; then :
    5713 
     5783  $EGREP "free" >/dev/null 2>&1; then
     5784  :
    57145785else
    57155786  ac_cv_header_stdc=no
     
    57215792if test $ac_cv_header_stdc = yes; then
    57225793  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    5723   if test "$cross_compiling" = yes; then :
     5794  if test "$cross_compiling" = yes; then
    57245795  :
    57255796else
    5726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5797  cat >conftest.$ac_ext <<_ACEOF
     5798/* confdefs.h.  */
     5799_ACEOF
     5800cat confdefs.h >>conftest.$ac_ext
     5801cat >>conftest.$ac_ext <<_ACEOF
    57275802/* end confdefs.h.  */
    57285803#include <ctype.h>
    5729 #include <stdlib.h>
    57305804#if ((' ' & 0x0FF) == 0x020)
    57315805# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    57475821    if (XOR (islower (i), ISLOWER (i))
    57485822    || toupper (i) != TOUPPER (i))
    5749       return 2;
    5750   return 0;
     5823      exit(2);
     5824  exit (0);
    57515825}
    57525826_ACEOF
    5753 if ac_fn_c_try_run "$LINENO"; then :
    5754 
    5755 else
    5756   ac_cv_header_stdc=no
    5757 fi
    5758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    5759   conftest.$ac_objext conftest.beam conftest.$ac_ext
    5760 fi
    5761 
    5762 fi
    5763 fi
    5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    5765 $as_echo "$ac_cv_header_stdc" >&6; }
     5827rm -f conftest$ac_exeext
     5828if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5829  (eval $ac_link) 2>&5
     5830  ac_status=$?
     5831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5832  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     5833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5834  (eval $ac_try) 2>&5
     5835  ac_status=$?
     5836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5837  (exit $ac_status); }; }; then
     5838  :
     5839else
     5840  echo "$as_me: program exited with status $ac_status" >&5
     5841echo "$as_me: failed program was:" >&5
     5842sed 's/^/| /' conftest.$ac_ext >&5
     5843
     5844( exit $ac_status )
     5845ac_cv_header_stdc=no
     5846fi
     5847rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5848fi
     5849fi
     5850fi
     5851echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5852echo "${ECHO_T}$ac_cv_header_stdc" >&6
    57665853if test $ac_cv_header_stdc = yes; then
    57675854
    5768 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
    5769 
    5770 fi
     5855cat >>confdefs.h <<\_ACEOF
     5856#define STDC_HEADERS 1
     5857_ACEOF
     5858
     5859fi
     5860
     5861
     5862
     5863
     5864
     5865
     5866
     5867
     5868
    57715869
    57725870for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    5773 do :
    5774   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5775 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    5776 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5871do
     5872as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5873if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5874  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5875echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5876if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5877  echo $ECHO_N "(cached) $ECHO_C" >&6
     5878fi
     5879echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5880echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5881else
     5882  # Is the header compilable?
     5883echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5884echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5885cat >conftest.$ac_ext <<_ACEOF
     5886/* confdefs.h.  */
     5887_ACEOF
     5888cat confdefs.h >>conftest.$ac_ext
     5889cat >>conftest.$ac_ext <<_ACEOF
     5890/* end confdefs.h.  */
     5891$ac_includes_default
     5892#include <$ac_header>
     5893_ACEOF
     5894rm -f conftest.$ac_objext
     5895if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5896  (eval $ac_compile) 2>conftest.er1
     5897  ac_status=$?
     5898  grep -v '^ *+' conftest.er1 >conftest.err
     5899  rm -f conftest.er1
     5900  cat conftest.err >&5
     5901  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5902  (exit $ac_status); } &&
     5903     { ac_try='test -z "$ac_c_werror_flag"
     5904             || test ! -s conftest.err'
     5905  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5906  (eval $ac_try) 2>&5
     5907  ac_status=$?
     5908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5909  (exit $ac_status); }; } &&
     5910     { ac_try='test -s conftest.$ac_objext'
     5911  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5912  (eval $ac_try) 2>&5
     5913  ac_status=$?
     5914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5915  (exit $ac_status); }; }; then
     5916  ac_header_compiler=yes
     5917else
     5918  echo "$as_me: failed program was:" >&5
     5919sed 's/^/| /' conftest.$ac_ext >&5
     5920
     5921ac_header_compiler=no
     5922fi
     5923rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5924echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5925echo "${ECHO_T}$ac_header_compiler" >&6
     5926
     5927# Is the header present?
     5928echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5929echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5930cat >conftest.$ac_ext <<_ACEOF
     5931/* confdefs.h.  */
     5932_ACEOF
     5933cat confdefs.h >>conftest.$ac_ext
     5934cat >>conftest.$ac_ext <<_ACEOF
     5935/* end confdefs.h.  */
     5936#include <$ac_header>
     5937_ACEOF
     5938if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5939  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5940  ac_status=$?
     5941  grep -v '^ *+' conftest.er1 >conftest.err
     5942  rm -f conftest.er1
     5943  cat conftest.err >&5
     5944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5945  (exit $ac_status); } >/dev/null; then
     5946  if test -s conftest.err; then
     5947    ac_cpp_err=$ac_c_preproc_warn_flag
     5948    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5949  else
     5950    ac_cpp_err=
     5951  fi
     5952else
     5953  ac_cpp_err=yes
     5954fi
     5955if test -z "$ac_cpp_err"; then
     5956  ac_header_preproc=yes
     5957else
     5958  echo "$as_me: failed program was:" >&5
     5959sed 's/^/| /' conftest.$ac_ext >&5
     5960
     5961  ac_header_preproc=no
     5962fi
     5963rm -f conftest.err conftest.$ac_ext
     5964echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5965echo "${ECHO_T}$ac_header_preproc" >&6
     5966
     5967# So?  What about this header?
     5968case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5969  yes:no: )
     5970    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5971echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5972    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5973echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5974    ac_header_preproc=yes
     5975    ;;
     5976  no:yes:* )
     5977    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5978echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5979    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5980echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5981    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5982echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5983    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5984echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5985    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5986echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5987    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5988echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5989    (
     5990      cat <<\_ASBOX
     5991## ------------------------------------------ ##
     5992## Report this to the AC_PACKAGE_NAME lists.  ##
     5993## ------------------------------------------ ##
     5994_ASBOX
     5995    ) |
     5996      sed "s/^/$as_me: WARNING:     /" >&2
     5997    ;;
     5998esac
     5999echo "$as_me:$LINENO: checking for $ac_header" >&5
     6000echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6001if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6002  echo $ECHO_N "(cached) $ECHO_C" >&6
     6003else
     6004  eval "$as_ac_Header=\$ac_header_preproc"
     6005fi
     6006echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6007echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6008
     6009fi
     6010if test `eval echo '${'$as_ac_Header'}'` = yes; then
    57776011  cat >>confdefs.h <<_ACEOF
    5778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6012#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    57796013_ACEOF
    57806014
     
    57836017done
    57846018
    5785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6019cat >conftest.$ac_ext <<_ACEOF
     6020/* confdefs.h.  */
     6021_ACEOF
     6022cat confdefs.h >>conftest.$ac_ext
     6023cat >>conftest.$ac_ext <<_ACEOF
    57866024/* end confdefs.h.  */
    57876025#include <stdio.h>
     
    57896027_ACEOF
    57906028if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5791   $EGREP "fread" >/dev/null 2>&1; then :
    5792   $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
     6029  $EGREP "fread" >/dev/null 2>&1; then
     6030  cat >>confdefs.h <<\_ACEOF
     6031#define HAVE_FREAD_DECL 1
     6032_ACEOF
    57936033
    57946034fi
    57956035rm -f conftest*
    57966036
    5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6037cat >conftest.$ac_ext <<_ACEOF
     6038/* confdefs.h.  */
     6039_ACEOF
     6040cat confdefs.h >>conftest.$ac_ext
     6041cat >>conftest.$ac_ext <<_ACEOF
    57986042/* end confdefs.h.  */
    57996043#include <stdio.h>
     
    58016045_ACEOF
    58026046if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5803   $EGREP "fgetc" >/dev/null 2>&1; then :
    5804   $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
     6047  $EGREP "fgetc" >/dev/null 2>&1; then
     6048  cat >>confdefs.h <<\_ACEOF
     6049#define HAVE_FGETC_DECL 1
     6050_ACEOF
    58056051
    58066052fi
    58076053rm -f conftest*
    58086054
    5809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6055cat >conftest.$ac_ext <<_ACEOF
     6056/* confdefs.h.  */
     6057_ACEOF
     6058cat confdefs.h >>conftest.$ac_ext
     6059cat >>conftest.$ac_ext <<_ACEOF
    58106060/* end confdefs.h.  */
    58116061#include <sys/procfs.h>
     
    58136063_ACEOF
    58146064if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5815   $EGREP "pr_brksize" >/dev/null 2>&1; then :
    5816   $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
     6065  $EGREP "pr_brksize" >/dev/null 2>&1; then
     6066  cat >>confdefs.h <<\_ACEOF
     6067#define HAVE_PR_BRKSIZE 1
     6068_ACEOF
    58176069
    58186070fi
     
    58226074# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    58236075# for constant arguments.  Useless!
    5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
    5825 $as_echo_n "checking for working alloca.h... " >&6; }
    5826 if test "${ac_cv_working_alloca_h+set}" = set; then :
    5827   $as_echo_n "(cached) " >&6
    5828 else
    5829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6076echo "$as_me:$LINENO: checking for working alloca.h" >&5
     6077echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     6078if test "${ac_cv_working_alloca_h+set}" = set; then
     6079  echo $ECHO_N "(cached) $ECHO_C" >&6
     6080else
     6081  cat >conftest.$ac_ext <<_ACEOF
     6082/* confdefs.h.  */
     6083_ACEOF
     6084cat confdefs.h >>conftest.$ac_ext
     6085cat >>conftest.$ac_ext <<_ACEOF
    58306086/* end confdefs.h.  */
    58316087#include <alloca.h>
     
    58346090{
    58356091char *p = (char *) alloca (2 * sizeof (int));
    5836               if (p) return 0;
    58376092  ;
    58386093  return 0;
    58396094}
    58406095_ACEOF
    5841 if ac_fn_c_try_link "$LINENO"; then :
     6096rm -f conftest.$ac_objext conftest$ac_exeext
     6097if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6098  (eval $ac_link) 2>conftest.er1
     6099  ac_status=$?
     6100  grep -v '^ *+' conftest.er1 >conftest.err
     6101  rm -f conftest.er1
     6102  cat conftest.err >&5
     6103  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6104  (exit $ac_status); } &&
     6105     { ac_try='test -z "$ac_c_werror_flag"
     6106             || test ! -s conftest.err'
     6107  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6108  (eval $ac_try) 2>&5
     6109  ac_status=$?
     6110  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6111  (exit $ac_status); }; } &&
     6112     { ac_try='test -s conftest$ac_exeext'
     6113  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6114  (eval $ac_try) 2>&5
     6115  ac_status=$?
     6116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6117  (exit $ac_status); }; }; then
    58426118  ac_cv_working_alloca_h=yes
    58436119else
    5844   ac_cv_working_alloca_h=no
    5845 fi
    5846 rm -f core conftest.err conftest.$ac_objext \
    5847     conftest$ac_exeext conftest.$ac_ext
    5848 fi
    5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
    5850 $as_echo "$ac_cv_working_alloca_h" >&6; }
     6120  echo "$as_me: failed program was:" >&5
     6121sed 's/^/| /' conftest.$ac_ext >&5
     6122
     6123ac_cv_working_alloca_h=no
     6124fi
     6125rm -f conftest.err conftest.$ac_objext \
     6126      conftest$ac_exeext conftest.$ac_ext
     6127fi
     6128echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     6129echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    58516130if test $ac_cv_working_alloca_h = yes; then
    58526131
    5853 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
    5854 
    5855 fi
    5856 
    5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
    5858 $as_echo_n "checking for alloca... " >&6; }
    5859 if test "${ac_cv_func_alloca_works+set}" = set; then :
    5860   $as_echo_n "(cached) " >&6
    5861 else
    5862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6132cat >>confdefs.h <<\_ACEOF
     6133#define HAVE_ALLOCA_H 1
     6134_ACEOF
     6135
     6136fi
     6137
     6138echo "$as_me:$LINENO: checking for alloca" >&5
     6139echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     6140if test "${ac_cv_func_alloca_works+set}" = set; then
     6141  echo $ECHO_N "(cached) $ECHO_C" >&6
     6142else
     6143  cat >conftest.$ac_ext <<_ACEOF
     6144/* confdefs.h.  */
     6145_ACEOF
     6146cat confdefs.h >>conftest.$ac_ext
     6147cat >>conftest.$ac_ext <<_ACEOF
    58636148/* end confdefs.h.  */
    58646149#ifdef __GNUC__
     
    58696154#  define alloca _alloca
    58706155# else
    5871 #  ifdef HAVE_ALLOCA_H
     6156#  if HAVE_ALLOCA_H
    58726157#   include <alloca.h>
    58736158#  else
     
    58876172{
    58886173char *p = (char *) alloca (1);
    5889                     if (p) return 0;
    58906174  ;
    58916175  return 0;
    58926176}
    58936177_ACEOF
    5894 if ac_fn_c_try_link "$LINENO"; then :
     6178rm -f conftest.$ac_objext conftest$ac_exeext
     6179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6180  (eval $ac_link) 2>conftest.er1
     6181  ac_status=$?
     6182  grep -v '^ *+' conftest.er1 >conftest.err
     6183  rm -f conftest.er1
     6184  cat conftest.err >&5
     6185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6186  (exit $ac_status); } &&
     6187     { ac_try='test -z "$ac_c_werror_flag"
     6188             || test ! -s conftest.err'
     6189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6190  (eval $ac_try) 2>&5
     6191  ac_status=$?
     6192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6193  (exit $ac_status); }; } &&
     6194     { ac_try='test -s conftest$ac_exeext'
     6195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6196  (eval $ac_try) 2>&5
     6197  ac_status=$?
     6198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6199  (exit $ac_status); }; }; then
    58956200  ac_cv_func_alloca_works=yes
    58966201else
    5897   ac_cv_func_alloca_works=no
    5898 fi
    5899 rm -f core conftest.err conftest.$ac_objext \
    5900     conftest$ac_exeext conftest.$ac_ext
    5901 fi
    5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
    5903 $as_echo "$ac_cv_func_alloca_works" >&6; }
     6202  echo "$as_me: failed program was:" >&5
     6203sed 's/^/| /' conftest.$ac_ext >&5
     6204
     6205ac_cv_func_alloca_works=no
     6206fi
     6207rm -f conftest.err conftest.$ac_objext \
     6208      conftest$ac_exeext conftest.$ac_ext
     6209fi
     6210echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6211echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    59046212
    59056213if test $ac_cv_func_alloca_works = yes; then
    59066214
    5907 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
     6215cat >>confdefs.h <<\_ACEOF
     6216#define HAVE_ALLOCA 1
     6217_ACEOF
    59086218
    59096219else
     
    59136223# use ar to extract alloca.o from them instead of compiling alloca.c.
    59146224
    5915 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    5916 
    5917 $as_echo "#define C_ALLOCA 1" >>confdefs.h
    5918 
    5919 
    5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
    5921 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
    5922 if test "${ac_cv_os_cray+set}" = set; then :
    5923   $as_echo_n "(cached) " >&6
    5924 else
    5925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6225ALLOCA=alloca.$ac_objext
     6226
     6227cat >>confdefs.h <<\_ACEOF
     6228#define C_ALLOCA 1
     6229_ACEOF
     6230
     6231
     6232echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6233echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6234if test "${ac_cv_os_cray+set}" = set; then
     6235  echo $ECHO_N "(cached) $ECHO_C" >&6
     6236else
     6237  cat >conftest.$ac_ext <<_ACEOF
     6238/* confdefs.h.  */
     6239_ACEOF
     6240cat confdefs.h >>conftest.$ac_ext
     6241cat >>conftest.$ac_ext <<_ACEOF
    59266242/* end confdefs.h.  */
    5927 #if defined CRAY && ! defined CRAY2
     6243#if defined(CRAY) && ! defined(CRAY2)
    59286244webecray
    59296245#else
     
    59336249_ACEOF
    59346250if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5935   $EGREP "webecray" >/dev/null 2>&1; then :
     6251  $EGREP "webecray" >/dev/null 2>&1; then
    59366252  ac_cv_os_cray=yes
    59376253else
     
    59416257
    59426258fi
    5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
    5944 $as_echo "$ac_cv_os_cray" >&6; }
     6259echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6260echo "${ECHO_T}$ac_cv_os_cray" >&6
    59456261if test $ac_cv_os_cray = yes; then
    59466262  for ac_func in _getb67 GETB67 getb67; do
    5947     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    5949 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     6263    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6264echo "$as_me:$LINENO: checking for $ac_func" >&5
     6265echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6266if eval "test \"\${$as_ac_var+set}\" = set"; then
     6267  echo $ECHO_N "(cached) $ECHO_C" >&6
     6268else
     6269  cat >conftest.$ac_ext <<_ACEOF
     6270/* confdefs.h.  */
     6271_ACEOF
     6272cat confdefs.h >>conftest.$ac_ext
     6273cat >>conftest.$ac_ext <<_ACEOF
     6274/* end confdefs.h.  */
     6275/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6276   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6277#define $ac_func innocuous_$ac_func
     6278
     6279/* System header to define __stub macros and hopefully few prototypes,
     6280    which can conflict with char $ac_func (); below.
     6281    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6282    <limits.h> exists even on freestanding compilers.  */
     6283
     6284#ifdef __STDC__
     6285# include <limits.h>
     6286#else
     6287# include <assert.h>
     6288#endif
     6289
     6290#undef $ac_func
     6291
     6292/* Override any gcc2 internal prototype to avoid an error.  */
     6293#ifdef __cplusplus
     6294extern "C"
     6295{
     6296#endif
     6297/* We use char because int might match the return type of a gcc2
     6298   builtin and then its argument prototype would still apply.  */
     6299char $ac_func ();
     6300/* The GNU C library defines this for functions which it implements
     6301    to always fail with ENOSYS.  Some functions are actually named
     6302    something starting with __ and the normal name is an alias.  */
     6303#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6304choke me
     6305#else
     6306char (*f) () = $ac_func;
     6307#endif
     6308#ifdef __cplusplus
     6309}
     6310#endif
     6311
     6312int
     6313main ()
     6314{
     6315return f != $ac_func;
     6316  ;
     6317  return 0;
     6318}
     6319_ACEOF
     6320rm -f conftest.$ac_objext conftest$ac_exeext
     6321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6322  (eval $ac_link) 2>conftest.er1
     6323  ac_status=$?
     6324  grep -v '^ *+' conftest.er1 >conftest.err
     6325  rm -f conftest.er1
     6326  cat conftest.err >&5
     6327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6328  (exit $ac_status); } &&
     6329     { ac_try='test -z "$ac_c_werror_flag"
     6330             || test ! -s conftest.err'
     6331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6332  (eval $ac_try) 2>&5
     6333  ac_status=$?
     6334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6335  (exit $ac_status); }; } &&
     6336     { ac_try='test -s conftest$ac_exeext'
     6337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6338  (eval $ac_try) 2>&5
     6339  ac_status=$?
     6340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6341  (exit $ac_status); }; }; then
     6342  eval "$as_ac_var=yes"
     6343else
     6344  echo "$as_me: failed program was:" >&5
     6345sed 's/^/| /' conftest.$ac_ext >&5
     6346
     6347eval "$as_ac_var=no"
     6348fi
     6349rm -f conftest.err conftest.$ac_objext \
     6350      conftest$ac_exeext conftest.$ac_ext
     6351fi
     6352echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6353echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6354if test `eval echo '${'$as_ac_var'}'` = yes; then
    59506355
    59516356cat >>confdefs.h <<_ACEOF
     
    59596364fi
    59606365
    5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
    5962 $as_echo_n "checking stack direction for C alloca... " >&6; }
    5963 if test "${ac_cv_c_stack_direction+set}" = set; then :
    5964   $as_echo_n "(cached) " >&6
    5965 else
    5966   if test "$cross_compiling" = yes; then :
     6366echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     6367echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     6368if test "${ac_cv_c_stack_direction+set}" = set; then
     6369  echo $ECHO_N "(cached) $ECHO_C" >&6
     6370else
     6371  if test "$cross_compiling" = yes; then
    59676372  ac_cv_c_stack_direction=0
    59686373else
    5969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6374  cat >conftest.$ac_ext <<_ACEOF
     6375/* confdefs.h.  */
     6376_ACEOF
     6377cat confdefs.h >>conftest.$ac_ext
     6378cat >>conftest.$ac_ext <<_ACEOF
    59706379/* end confdefs.h.  */
    5971 $ac_includes_default
    59726380int
    59736381find_stack_direction ()
     
    59876395main ()
    59886396{
    5989   return find_stack_direction () < 0;
     6397  exit (find_stack_direction () < 0);
    59906398}
    59916399_ACEOF
    5992 if ac_fn_c_try_run "$LINENO"; then :
     6400rm -f conftest$ac_exeext
     6401if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6402  (eval $ac_link) 2>&5
     6403  ac_status=$?
     6404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6405  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     6406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6407  (eval $ac_try) 2>&5
     6408  ac_status=$?
     6409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6410  (exit $ac_status); }; }; then
    59936411  ac_cv_c_stack_direction=1
    59946412else
    5995   ac_cv_c_stack_direction=-1
    5996 fi
    5997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    5998   conftest.$ac_objext conftest.beam conftest.$ac_ext
    5999 fi
    6000 
    6001 fi
    6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
    6003 $as_echo "$ac_cv_c_stack_direction" >&6; }
     6413  echo "$as_me: program exited with status $ac_status" >&5
     6414echo "$as_me: failed program was:" >&5
     6415sed 's/^/| /' conftest.$ac_ext >&5
     6416
     6417( exit $ac_status )
     6418ac_cv_c_stack_direction=-1
     6419fi
     6420rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6421fi
     6422fi
     6423echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     6424echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     6425
    60046426cat >>confdefs.h <<_ACEOF
    60056427#define STACK_DIRECTION $ac_cv_c_stack_direction
     
    60106432
    60116433if test $ac_cv_c_compiler_gnu = yes; then
    6012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
    6013 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
    6014 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
    6015   $as_echo_n "(cached) " >&6
     6434    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     6435echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     6436if test "${ac_cv_prog_gcc_traditional+set}" = set; then
     6437  echo $ECHO_N "(cached) $ECHO_C" >&6
    60166438else
    60176439    ac_pattern="Autoconf.*'x'"
    6018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6440  cat >conftest.$ac_ext <<_ACEOF
     6441/* confdefs.h.  */
     6442_ACEOF
     6443cat confdefs.h >>conftest.$ac_ext
     6444cat >>conftest.$ac_ext <<_ACEOF
    60196445/* end confdefs.h.  */
    60206446#include <sgtty.h>
     
    60226448_ACEOF
    60236449if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6024   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
     6450  $EGREP "$ac_pattern" >/dev/null 2>&1; then
    60256451  ac_cv_prog_gcc_traditional=yes
    60266452else
     
    60316457
    60326458  if test $ac_cv_prog_gcc_traditional = no; then
    6033     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6459    cat >conftest.$ac_ext <<_ACEOF
     6460/* confdefs.h.  */
     6461_ACEOF
     6462cat confdefs.h >>conftest.$ac_ext
     6463cat >>conftest.$ac_ext <<_ACEOF
    60346464/* end confdefs.h.  */
    60356465#include <termio.h>
     
    60376467_ACEOF
    60386468if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6039   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
     6469  $EGREP "$ac_pattern" >/dev/null 2>&1; then
    60406470  ac_cv_prog_gcc_traditional=yes
    60416471fi
     
    60446474  fi
    60456475fi
    6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
    6047 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
     6476echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6477echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    60486478  if test $ac_cv_prog_gcc_traditional = yes; then
    60496479    CC="$CC -traditional"
     
    60516481fi
    60526482
    6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
    6054 $as_echo_n "checking return type of signal handlers... " >&6; }
    6055 if test "${ac_cv_type_signal+set}" = set; then :
    6056   $as_echo_n "(cached) " >&6
    6057 else
    6058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6483echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6484echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     6485if test "${ac_cv_type_signal+set}" = set; then
     6486  echo $ECHO_N "(cached) $ECHO_C" >&6
     6487else
     6488  cat >conftest.$ac_ext <<_ACEOF
     6489/* confdefs.h.  */
     6490_ACEOF
     6491cat confdefs.h >>conftest.$ac_ext
     6492cat >>conftest.$ac_ext <<_ACEOF
    60596493/* end confdefs.h.  */
    60606494#include <sys/types.h>
    60616495#include <signal.h>
     6496#ifdef signal
     6497# undef signal
     6498#endif
     6499#ifdef __cplusplus
     6500extern "C" void (*signal (int, void (*)(int)))(int);
     6501#else
     6502void (*signal ()) ();
     6503#endif
    60626504
    60636505int
    60646506main ()
    60656507{
    6066 return *(signal (0, 0)) (0) == 1;
     6508int i;
    60676509  ;
    60686510  return 0;
    60696511}
    60706512_ACEOF
    6071 if ac_fn_c_try_compile "$LINENO"; then :
    6072   ac_cv_type_signal=int
    6073 else
     6513rm -f conftest.$ac_objext
     6514if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6515  (eval $ac_compile) 2>conftest.er1
     6516  ac_status=$?
     6517  grep -v '^ *+' conftest.er1 >conftest.err
     6518  rm -f conftest.er1
     6519  cat conftest.err >&5
     6520  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6521  (exit $ac_status); } &&
     6522     { ac_try='test -z "$ac_c_werror_flag"
     6523             || test ! -s conftest.err'
     6524  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6525  (eval $ac_try) 2>&5
     6526  ac_status=$?
     6527  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6528  (exit $ac_status); }; } &&
     6529     { ac_try='test -s conftest.$ac_objext'
     6530  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6531  (eval $ac_try) 2>&5
     6532  ac_status=$?
     6533  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6534  (exit $ac_status); }; }; then
    60746535  ac_cv_type_signal=void
    6075 fi
    6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6077 fi
    6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
    6079 $as_echo "$ac_cv_type_signal" >&6; }
     6536else
     6537  echo "$as_me: failed program was:" >&5
     6538sed 's/^/| /' conftest.$ac_ext >&5
     6539
     6540ac_cv_type_signal=int
     6541fi
     6542rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6543fi
     6544echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6545echo "${ECHO_T}$ac_cv_type_signal" >&6
    60806546
    60816547cat >>confdefs.h <<_ACEOF
     
    60846550
    60856551
     6552
    60866553for ac_func in vprintf
    6087 do :
    6088   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
    6089 if test "x$ac_cv_func_vprintf" = x""yes; then :
     6554do
     6555as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6556echo "$as_me:$LINENO: checking for $ac_func" >&5
     6557echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6558if eval "test \"\${$as_ac_var+set}\" = set"; then
     6559  echo $ECHO_N "(cached) $ECHO_C" >&6
     6560else
     6561  cat >conftest.$ac_ext <<_ACEOF
     6562/* confdefs.h.  */
     6563_ACEOF
     6564cat confdefs.h >>conftest.$ac_ext
     6565cat >>conftest.$ac_ext <<_ACEOF
     6566/* end confdefs.h.  */
     6567/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6568   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6569#define $ac_func innocuous_$ac_func
     6570
     6571/* System header to define __stub macros and hopefully few prototypes,
     6572    which can conflict with char $ac_func (); below.
     6573    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6574    <limits.h> exists even on freestanding compilers.  */
     6575
     6576#ifdef __STDC__
     6577# include <limits.h>
     6578#else
     6579# include <assert.h>
     6580#endif
     6581
     6582#undef $ac_func
     6583
     6584/* Override any gcc2 internal prototype to avoid an error.  */
     6585#ifdef __cplusplus
     6586extern "C"
     6587{
     6588#endif
     6589/* We use char because int might match the return type of a gcc2
     6590   builtin and then its argument prototype would still apply.  */
     6591char $ac_func ();
     6592/* The GNU C library defines this for functions which it implements
     6593    to always fail with ENOSYS.  Some functions are actually named
     6594    something starting with __ and the normal name is an alias.  */
     6595#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6596choke me
     6597#else
     6598char (*f) () = $ac_func;
     6599#endif
     6600#ifdef __cplusplus
     6601}
     6602#endif
     6603
     6604int
     6605main ()
     6606{
     6607return f != $ac_func;
     6608  ;
     6609  return 0;
     6610}
     6611_ACEOF
     6612rm -f conftest.$ac_objext conftest$ac_exeext
     6613if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6614  (eval $ac_link) 2>conftest.er1
     6615  ac_status=$?
     6616  grep -v '^ *+' conftest.er1 >conftest.err
     6617  rm -f conftest.er1
     6618  cat conftest.err >&5
     6619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6620  (exit $ac_status); } &&
     6621     { ac_try='test -z "$ac_c_werror_flag"
     6622             || test ! -s conftest.err'
     6623  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6624  (eval $ac_try) 2>&5
     6625  ac_status=$?
     6626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6627  (exit $ac_status); }; } &&
     6628     { ac_try='test -s conftest$ac_exeext'
     6629  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6630  (eval $ac_try) 2>&5
     6631  ac_status=$?
     6632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6633  (exit $ac_status); }; }; then
     6634  eval "$as_ac_var=yes"
     6635else
     6636  echo "$as_me: failed program was:" >&5
     6637sed 's/^/| /' conftest.$ac_ext >&5
     6638
     6639eval "$as_ac_var=no"
     6640fi
     6641rm -f conftest.err conftest.$ac_objext \
     6642      conftest$ac_exeext conftest.$ac_ext
     6643fi
     6644echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6645echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6646if test `eval echo '${'$as_ac_var'}'` = yes; then
    60906647  cat >>confdefs.h <<_ACEOF
    6091 #define HAVE_VPRINTF 1
    6092 _ACEOF
    6093 
    6094 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
    6095 if test "x$ac_cv_func__doprnt" = x""yes; then :
    6096 
    6097 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
     6648#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6649_ACEOF
     6650
     6651echo "$as_me:$LINENO: checking for _doprnt" >&5
     6652echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     6653if test "${ac_cv_func__doprnt+set}" = set; then
     6654  echo $ECHO_N "(cached) $ECHO_C" >&6
     6655else
     6656  cat >conftest.$ac_ext <<_ACEOF
     6657/* confdefs.h.  */
     6658_ACEOF
     6659cat confdefs.h >>conftest.$ac_ext
     6660cat >>conftest.$ac_ext <<_ACEOF
     6661/* end confdefs.h.  */
     6662/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
     6663   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6664#define _doprnt innocuous__doprnt
     6665
     6666/* System header to define __stub macros and hopefully few prototypes,
     6667    which can conflict with char _doprnt (); below.
     6668    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6669    <limits.h> exists even on freestanding compilers.  */
     6670
     6671#ifdef __STDC__
     6672# include <limits.h>
     6673#else
     6674# include <assert.h>
     6675#endif
     6676
     6677#undef _doprnt
     6678
     6679/* Override any gcc2 internal prototype to avoid an error.  */
     6680#ifdef __cplusplus
     6681extern "C"
     6682{
     6683#endif
     6684/* We use char because int might match the return type of a gcc2
     6685   builtin and then its argument prototype would still apply.  */
     6686char _doprnt ();
     6687/* The GNU C library defines this for functions which it implements
     6688    to always fail with ENOSYS.  Some functions are actually named
     6689    something starting with __ and the normal name is an alias.  */
     6690#if defined (__stub__doprnt) || defined (__stub____doprnt)
     6691choke me
     6692#else
     6693char (*f) () = _doprnt;
     6694#endif
     6695#ifdef __cplusplus
     6696}
     6697#endif
     6698
     6699int
     6700main ()
     6701{
     6702return f != _doprnt;
     6703  ;
     6704  return 0;
     6705}
     6706_ACEOF
     6707rm -f conftest.$ac_objext conftest$ac_exeext
     6708if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6709  (eval $ac_link) 2>conftest.er1
     6710  ac_status=$?
     6711  grep -v '^ *+' conftest.er1 >conftest.err
     6712  rm -f conftest.er1
     6713  cat conftest.err >&5
     6714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6715  (exit $ac_status); } &&
     6716     { ac_try='test -z "$ac_c_werror_flag"
     6717             || test ! -s conftest.err'
     6718  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6719  (eval $ac_try) 2>&5
     6720  ac_status=$?
     6721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6722  (exit $ac_status); }; } &&
     6723     { ac_try='test -s conftest$ac_exeext'
     6724  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6725  (eval $ac_try) 2>&5
     6726  ac_status=$?
     6727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6728  (exit $ac_status); }; }; then
     6729  ac_cv_func__doprnt=yes
     6730else
     6731  echo "$as_me: failed program was:" >&5
     6732sed 's/^/| /' conftest.$ac_ext >&5
     6733
     6734ac_cv_func__doprnt=no
     6735fi
     6736rm -f conftest.err conftest.$ac_objext \
     6737      conftest$ac_exeext conftest.$ac_ext
     6738fi
     6739echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6740echo "${ECHO_T}$ac_cv_func__doprnt" >&6
     6741if test $ac_cv_func__doprnt = yes; then
     6742
     6743cat >>confdefs.h <<\_ACEOF
     6744#define HAVE_DOPRNT 1
     6745_ACEOF
    60986746
    60996747fi
     
    61036751
    61046752
     6753
     6754
     6755
     6756
     6757
     6758
     6759
     6760
     6761
     6762
    61056763for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    6106 do :
    6107   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    6109 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     6764do
     6765as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6766echo "$as_me:$LINENO: checking for $ac_func" >&5
     6767echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6768if eval "test \"\${$as_ac_var+set}\" = set"; then
     6769  echo $ECHO_N "(cached) $ECHO_C" >&6
     6770else
     6771  cat >conftest.$ac_ext <<_ACEOF
     6772/* confdefs.h.  */
     6773_ACEOF
     6774cat confdefs.h >>conftest.$ac_ext
     6775cat >>conftest.$ac_ext <<_ACEOF
     6776/* end confdefs.h.  */
     6777/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6778   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6779#define $ac_func innocuous_$ac_func
     6780
     6781/* System header to define __stub macros and hopefully few prototypes,
     6782    which can conflict with char $ac_func (); below.
     6783    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6784    <limits.h> exists even on freestanding compilers.  */
     6785
     6786#ifdef __STDC__
     6787# include <limits.h>
     6788#else
     6789# include <assert.h>
     6790#endif
     6791
     6792#undef $ac_func
     6793
     6794/* Override any gcc2 internal prototype to avoid an error.  */
     6795#ifdef __cplusplus
     6796extern "C"
     6797{
     6798#endif
     6799/* We use char because int might match the return type of a gcc2
     6800   builtin and then its argument prototype would still apply.  */
     6801char $ac_func ();
     6802/* The GNU C library defines this for functions which it implements
     6803    to always fail with ENOSYS.  Some functions are actually named
     6804    something starting with __ and the normal name is an alias.  */
     6805#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6806choke me
     6807#else
     6808char (*f) () = $ac_func;
     6809#endif
     6810#ifdef __cplusplus
     6811}
     6812#endif
     6813
     6814int
     6815main ()
     6816{
     6817return f != $ac_func;
     6818  ;
     6819  return 0;
     6820}
     6821_ACEOF
     6822rm -f conftest.$ac_objext conftest$ac_exeext
     6823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6824  (eval $ac_link) 2>conftest.er1
     6825  ac_status=$?
     6826  grep -v '^ *+' conftest.er1 >conftest.err
     6827  rm -f conftest.er1
     6828  cat conftest.err >&5
     6829  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6830  (exit $ac_status); } &&
     6831     { ac_try='test -z "$ac_c_werror_flag"
     6832             || test ! -s conftest.err'
     6833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6834  (eval $ac_try) 2>&5
     6835  ac_status=$?
     6836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6837  (exit $ac_status); }; } &&
     6838     { ac_try='test -s conftest$ac_exeext'
     6839  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6840  (eval $ac_try) 2>&5
     6841  ac_status=$?
     6842  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6843  (exit $ac_status); }; }; then
     6844  eval "$as_ac_var=yes"
     6845else
     6846  echo "$as_me: failed program was:" >&5
     6847sed 's/^/| /' conftest.$ac_ext >&5
     6848
     6849eval "$as_ac_var=no"
     6850fi
     6851rm -f conftest.err conftest.$ac_objext \
     6852      conftest$ac_exeext conftest.$ac_ext
     6853fi
     6854echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6855echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6856if test `eval echo '${'$as_ac_var'}'` = yes; then
    61106857  cat >>confdefs.h <<_ACEOF
    6111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6858#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    61126859_ACEOF
    61136860
     
    61156862done
    61166863
    6117 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
    6118 if test "x$ac_cv_func_ftruncate" = x""yes; then :
    6119   $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
    6120 
    6121 else
    6122   case " $LIBOBJS " in
    6123   *" ftruncate.$ac_objext "* ) ;;
    6124   *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
    6125  ;;
     6864
     6865
     6866
     6867for ac_func in ftruncate strstr strcasecmp
     6868do
     6869as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6870echo "$as_me:$LINENO: checking for $ac_func" >&5
     6871echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6872if eval "test \"\${$as_ac_var+set}\" = set"; then
     6873  echo $ECHO_N "(cached) $ECHO_C" >&6
     6874else
     6875  cat >conftest.$ac_ext <<_ACEOF
     6876/* confdefs.h.  */
     6877_ACEOF
     6878cat confdefs.h >>conftest.$ac_ext
     6879cat >>conftest.$ac_ext <<_ACEOF
     6880/* end confdefs.h.  */
     6881/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6882   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6883#define $ac_func innocuous_$ac_func
     6884
     6885/* System header to define __stub macros and hopefully few prototypes,
     6886    which can conflict with char $ac_func (); below.
     6887    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6888    <limits.h> exists even on freestanding compilers.  */
     6889
     6890#ifdef __STDC__
     6891# include <limits.h>
     6892#else
     6893# include <assert.h>
     6894#endif
     6895
     6896#undef $ac_func
     6897
     6898/* Override any gcc2 internal prototype to avoid an error.  */
     6899#ifdef __cplusplus
     6900extern "C"
     6901{
     6902#endif
     6903/* We use char because int might match the return type of a gcc2
     6904   builtin and then its argument prototype would still apply.  */
     6905char $ac_func ();
     6906/* The GNU C library defines this for functions which it implements
     6907    to always fail with ENOSYS.  Some functions are actually named
     6908    something starting with __ and the normal name is an alias.  */
     6909#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6910choke me
     6911#else
     6912char (*f) () = $ac_func;
     6913#endif
     6914#ifdef __cplusplus
     6915}
     6916#endif
     6917
     6918int
     6919main ()
     6920{
     6921return f != $ac_func;
     6922  ;
     6923  return 0;
     6924}
     6925_ACEOF
     6926rm -f conftest.$ac_objext conftest$ac_exeext
     6927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6928  (eval $ac_link) 2>conftest.er1
     6929  ac_status=$?
     6930  grep -v '^ *+' conftest.er1 >conftest.err
     6931  rm -f conftest.er1
     6932  cat conftest.err >&5
     6933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6934  (exit $ac_status); } &&
     6935     { ac_try='test -z "$ac_c_werror_flag"
     6936             || test ! -s conftest.err'
     6937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6938  (eval $ac_try) 2>&5
     6939  ac_status=$?
     6940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6941  (exit $ac_status); }; } &&
     6942     { ac_try='test -s conftest$ac_exeext'
     6943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6944  (eval $ac_try) 2>&5
     6945  ac_status=$?
     6946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6947  (exit $ac_status); }; }; then
     6948  eval "$as_ac_var=yes"
     6949else
     6950  echo "$as_me: failed program was:" >&5
     6951sed 's/^/| /' conftest.$ac_ext >&5
     6952
     6953eval "$as_ac_var=no"
     6954fi
     6955rm -f conftest.err conftest.$ac_objext \
     6956      conftest$ac_exeext conftest.$ac_ext
     6957fi
     6958echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6959echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6960if test `eval echo '${'$as_ac_var'}'` = yes; then
     6961  cat >>confdefs.h <<_ACEOF
     6962#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6963_ACEOF
     6964
     6965else
     6966  case $LIBOBJS in
     6967    "$ac_func.$ac_objext"   | \
     6968  *" $ac_func.$ac_objext"   | \
     6969    "$ac_func.$ac_objext "* | \
     6970  *" $ac_func.$ac_objext "* ) ;;
     6971  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
    61266972esac
    61276973
    61286974fi
    6129 
    6130 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
    6131 if test "x$ac_cv_func_strstr" = x""yes; then :
    6132   $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
    6133 
    6134 else
    6135   case " $LIBOBJS " in
    6136   *" strstr.$ac_objext "* ) ;;
    6137   *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
    6138  ;;
    6139 esac
    6140 
    6141 fi
    6142 
    6143 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
    6144 if test "x$ac_cv_func_strcasecmp" = x""yes; then :
    6145   $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
    6146 
    6147 else
    6148   case " $LIBOBJS " in
    6149   *" strcasecmp.$ac_objext "* ) ;;
    6150   *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
    6151  ;;
    6152 esac
    6153 
    6154 fi
    6155 
    6156 
    6157 
    6158 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
    6159 if test "x$ac_cv_func_textdomain" = x""yes; then :
    6160   $as_echo "#define ENABLE_NLS  1" >>confdefs.h
     6975done
     6976
     6977
     6978
     6979echo "$as_me:$LINENO: checking for textdomain" >&5
     6980echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     6981if test "${ac_cv_func_textdomain+set}" = set; then
     6982  echo $ECHO_N "(cached) $ECHO_C" >&6
     6983else
     6984  cat >conftest.$ac_ext <<_ACEOF
     6985/* confdefs.h.  */
     6986_ACEOF
     6987cat confdefs.h >>conftest.$ac_ext
     6988cat >>conftest.$ac_ext <<_ACEOF
     6989/* end confdefs.h.  */
     6990/* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
     6991   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6992#define textdomain innocuous_textdomain
     6993
     6994/* System header to define __stub macros and hopefully few prototypes,
     6995    which can conflict with char textdomain (); below.
     6996    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6997    <limits.h> exists even on freestanding compilers.  */
     6998
     6999#ifdef __STDC__
     7000# include <limits.h>
     7001#else
     7002# include <assert.h>
     7003#endif
     7004
     7005#undef textdomain
     7006
     7007/* Override any gcc2 internal prototype to avoid an error.  */
     7008#ifdef __cplusplus
     7009extern "C"
     7010{
     7011#endif
     7012/* We use char because int might match the return type of a gcc2
     7013   builtin and then its argument prototype would still apply.  */
     7014char textdomain ();
     7015/* The GNU C library defines this for functions which it implements
     7016    to always fail with ENOSYS.  Some functions are actually named
     7017    something starting with __ and the normal name is an alias.  */
     7018#if defined (__stub_textdomain) || defined (__stub___textdomain)
     7019choke me
     7020#else
     7021char (*f) () = textdomain;
     7022#endif
     7023#ifdef __cplusplus
     7024}
     7025#endif
     7026
     7027int
     7028main ()
     7029{
     7030return f != textdomain;
     7031  ;
     7032  return 0;
     7033}
     7034_ACEOF
     7035rm -f conftest.$ac_objext conftest$ac_exeext
     7036if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7037  (eval $ac_link) 2>conftest.er1
     7038  ac_status=$?
     7039  grep -v '^ *+' conftest.er1 >conftest.err
     7040  rm -f conftest.er1
     7041  cat conftest.err >&5
     7042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7043  (exit $ac_status); } &&
     7044     { ac_try='test -z "$ac_c_werror_flag"
     7045             || test ! -s conftest.err'
     7046  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7047  (eval $ac_try) 2>&5
     7048  ac_status=$?
     7049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7050  (exit $ac_status); }; } &&
     7051     { ac_try='test -s conftest$ac_exeext'
     7052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7053  (eval $ac_try) 2>&5
     7054  ac_status=$?
     7055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7056  (exit $ac_status); }; }; then
     7057  ac_cv_func_textdomain=yes
     7058else
     7059  echo "$as_me: failed program was:" >&5
     7060sed 's/^/| /' conftest.$ac_ext >&5
     7061
     7062ac_cv_func_textdomain=no
     7063fi
     7064rm -f conftest.err conftest.$ac_objext \
     7065      conftest$ac_exeext conftest.$ac_ext
     7066fi
     7067echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     7068echo "${ECHO_T}$ac_cv_func_textdomain" >&6
     7069if test $ac_cv_func_textdomain = yes; then
     7070  cat >>confdefs.h <<\_ACEOF
     7071#define ENABLE_NLS  1
     7072_ACEOF
    61617073
    61627074fi
     
    61657077# *** Custom checking (based on GNU tar configure.in) ***
    61667078# ---------------------------------------------------------------------------
    6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
    6168 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
     7079echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     7080echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
    61697081if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    6171 $as_echo "yes" >&6; }
    6172   case " $LIBOBJS " in
     7082  echo "$as_me:$LINENO: result: yes" >&5
     7083echo "${ECHO_T}yes" >&6
     7084  case $LIBOBJS in
     7085    "gmalloc.$ac_objext"   | \
     7086  *" gmalloc.$ac_objext"   | \
     7087    "gmalloc.$ac_objext "* | \
    61737088  *" gmalloc.$ac_objext "* ) ;;
    6174   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
    6175  ;;
     7089  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
    61767090esac
    61777091
    6178   $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
    6179 
    6180 else
    6181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6182 $as_echo "no" >&6; }
    6183   for ac_func in valloc
    6184 do :
    6185   ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
    6186 if test "x$ac_cv_func_valloc" = x""yes; then :
     7092  cat >>confdefs.h <<\_ACEOF
     7093#define HAVE_VALLOC 1
     7094_ACEOF
     7095
     7096else
     7097  echo "$as_me:$LINENO: result: no" >&5
     7098echo "${ECHO_T}no" >&6
     7099
     7100for ac_func in valloc
     7101do
     7102as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7103echo "$as_me:$LINENO: checking for $ac_func" >&5
     7104echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     7105if eval "test \"\${$as_ac_var+set}\" = set"; then
     7106  echo $ECHO_N "(cached) $ECHO_C" >&6
     7107else
     7108  cat >conftest.$ac_ext <<_ACEOF
     7109/* confdefs.h.  */
     7110_ACEOF
     7111cat confdefs.h >>conftest.$ac_ext
     7112cat >>conftest.$ac_ext <<_ACEOF
     7113/* end confdefs.h.  */
     7114/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     7115   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     7116#define $ac_func innocuous_$ac_func
     7117
     7118/* System header to define __stub macros and hopefully few prototypes,
     7119    which can conflict with char $ac_func (); below.
     7120    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     7121    <limits.h> exists even on freestanding compilers.  */
     7122
     7123#ifdef __STDC__
     7124# include <limits.h>
     7125#else
     7126# include <assert.h>
     7127#endif
     7128
     7129#undef $ac_func
     7130
     7131/* Override any gcc2 internal prototype to avoid an error.  */
     7132#ifdef __cplusplus
     7133extern "C"
     7134{
     7135#endif
     7136/* We use char because int might match the return type of a gcc2
     7137   builtin and then its argument prototype would still apply.  */
     7138char $ac_func ();
     7139/* The GNU C library defines this for functions which it implements
     7140    to always fail with ENOSYS.  Some functions are actually named
     7141    something starting with __ and the normal name is an alias.  */
     7142#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7143choke me
     7144#else
     7145char (*f) () = $ac_func;
     7146#endif
     7147#ifdef __cplusplus
     7148}
     7149#endif
     7150
     7151int
     7152main ()
     7153{
     7154return f != $ac_func;
     7155  ;
     7156  return 0;
     7157}
     7158_ACEOF
     7159rm -f conftest.$ac_objext conftest$ac_exeext
     7160if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7161  (eval $ac_link) 2>conftest.er1
     7162  ac_status=$?
     7163  grep -v '^ *+' conftest.er1 >conftest.err
     7164  rm -f conftest.er1
     7165  cat conftest.err >&5
     7166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7167  (exit $ac_status); } &&
     7168     { ac_try='test -z "$ac_c_werror_flag"
     7169             || test ! -s conftest.err'
     7170  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7171  (eval $ac_try) 2>&5
     7172  ac_status=$?
     7173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7174  (exit $ac_status); }; } &&
     7175     { ac_try='test -s conftest$ac_exeext'
     7176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7177  (eval $ac_try) 2>&5
     7178  ac_status=$?
     7179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7180  (exit $ac_status); }; }; then
     7181  eval "$as_ac_var=yes"
     7182else
     7183  echo "$as_me: failed program was:" >&5
     7184sed 's/^/| /' conftest.$ac_ext >&5
     7185
     7186eval "$as_ac_var=no"
     7187fi
     7188rm -f conftest.err conftest.$ac_objext \
     7189      conftest$ac_exeext conftest.$ac_ext
     7190fi
     7191echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     7192echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     7193if test `eval echo '${'$as_ac_var'}'` = yes; then
    61877194  cat >>confdefs.h <<_ACEOF
    6188 #define HAVE_VALLOC 1
     7195#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    61897196_ACEOF
    61907197
     
    61957202
    61967203# we cannot generate static libraries under Darwin
    6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
    6198 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
     7204echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     7205echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
    61997206if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    6201 $as_echo "yes" >&6; }
     7207  echo "$as_me:$LINENO: result: yes" >&5
     7208echo "${ECHO_T}yes" >&6
    62027209  STATIC=""
    62037210else
    6204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6205 $as_echo "no" >&6; }
     7211  echo "$as_me:$LINENO: result: no" >&5
     7212echo "${ECHO_T}no" >&6
    62067213  STATIC="-static "
    62077214fi
    62087215
    62097216
    6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
    6211 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
    6212 
    6213 # Check whether --with-dmalloc was given.
    6214 if test "${with_dmalloc+set}" = set; then :
    6215   withval=$with_dmalloc; if test "$withval" = yes; then
    6216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    6217 $as_echo "yes" >&6; }
    6218   $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
     7217echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     7218echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
     7219
     7220# Check whether --with-dmalloc or --without-dmalloc was given.
     7221if test "${with_dmalloc+set}" = set; then
     7222  withval="$with_dmalloc"
     7223  if test "$withval" = yes; then
     7224  echo "$as_me:$LINENO: result: yes" >&5
     7225echo "${ECHO_T}yes" >&6
     7226  cat >>confdefs.h <<\_ACEOF
     7227#define WITH_DMALLOC 1
     7228_ACEOF
    62197229
    62207230  LIBS="$LIBS -ldmalloc"
    62217231  LDFLAGS="$LDFLAGS -g"
    62227232else
    6223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6224 $as_echo "no" >&6; }
    6225 fi
    6226 else
    6227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6228 $as_echo "no" >&6; }
    6229 fi
    6230 
    6231 
    6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
    6233 $as_echo_n "checking which of rx or regex is wanted... " >&6; }
    6234 
    6235 # Check whether --with-regex was given.
    6236 if test "${with_regex+set}" = set; then :
    6237   withval=$with_regex; if test "$withval" = yes; then
     7233  echo "$as_me:$LINENO: result: no" >&5
     7234echo "${ECHO_T}no" >&6
     7235fi
     7236else
     7237  echo "$as_me:$LINENO: result: no" >&5
     7238echo "${ECHO_T}no" >&6
     7239fi;
     7240
     7241echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     7242echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
     7243
     7244# Check whether --with-regex or --without-regex was given.
     7245if test "${with_regex+set}" = set; then
     7246  withval="$with_regex"
     7247  if test "$withval" = yes; then
    62387248  ac_with_regex=1
    6239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
    6240 $as_echo "regex" >&6; }
    6241   $as_echo "#define WITH_REGEX 1" >>confdefs.h
    6242 
    6243   case " $LIBOBJS " in
     7249  echo "$as_me:$LINENO: result: regex" >&5
     7250echo "${ECHO_T}regex" >&6
     7251  cat >>confdefs.h <<\_ACEOF
     7252#define WITH_REGEX 1
     7253_ACEOF
     7254
     7255  case $LIBOBJS in
     7256    "regex.$ac_objext"   | \
     7257  *" regex.$ac_objext"   | \
     7258    "regex.$ac_objext "* | \
    62447259  *" regex.$ac_objext "* ) ;;
    6245   *) LIBOBJS="$LIBOBJS regex.$ac_objext"
    6246  ;;
     7260  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    62477261esac
    62487262
    62497263fi
    6250 fi
    6251 
     7264fi;
    62527265if test -z "$ac_with_regex"; then
    6253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
    6254 $as_echo "rx" >&6; }
    6255   ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
    6256 if test "x$ac_cv_func_re_rx_search" = x""yes; then :
    6257 
    6258 else
    6259   case " $LIBOBJS " in
     7266  echo "$as_me:$LINENO: result: rx" >&5
     7267echo "${ECHO_T}rx" >&6
     7268  echo "$as_me:$LINENO: checking for re_rx_search" >&5
     7269echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     7270if test "${ac_cv_func_re_rx_search+set}" = set; then
     7271  echo $ECHO_N "(cached) $ECHO_C" >&6
     7272else
     7273  cat >conftest.$ac_ext <<_ACEOF
     7274/* confdefs.h.  */
     7275_ACEOF
     7276cat confdefs.h >>conftest.$ac_ext
     7277cat >>conftest.$ac_ext <<_ACEOF
     7278/* end confdefs.h.  */
     7279/* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
     7280   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     7281#define re_rx_search innocuous_re_rx_search
     7282
     7283/* System header to define __stub macros and hopefully few prototypes,
     7284    which can conflict with char re_rx_search (); below.
     7285    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     7286    <limits.h> exists even on freestanding compilers.  */
     7287
     7288#ifdef __STDC__
     7289# include <limits.h>
     7290#else
     7291# include <assert.h>
     7292#endif
     7293
     7294#undef re_rx_search
     7295
     7296/* Override any gcc2 internal prototype to avoid an error.  */
     7297#ifdef __cplusplus
     7298extern "C"
     7299{
     7300#endif
     7301/* We use char because int might match the return type of a gcc2
     7302   builtin and then its argument prototype would still apply.  */
     7303char re_rx_search ();
     7304/* The GNU C library defines this for functions which it implements
     7305    to always fail with ENOSYS.  Some functions are actually named
     7306    something starting with __ and the normal name is an alias.  */
     7307#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     7308choke me
     7309#else
     7310char (*f) () = re_rx_search;
     7311#endif
     7312#ifdef __cplusplus
     7313}
     7314#endif
     7315
     7316int
     7317main ()
     7318{
     7319return f != re_rx_search;
     7320  ;
     7321  return 0;
     7322}
     7323_ACEOF
     7324rm -f conftest.$ac_objext conftest$ac_exeext
     7325if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7326  (eval $ac_link) 2>conftest.er1
     7327  ac_status=$?
     7328  grep -v '^ *+' conftest.er1 >conftest.err
     7329  rm -f conftest.er1
     7330  cat conftest.err >&5
     7331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7332  (exit $ac_status); } &&
     7333     { ac_try='test -z "$ac_c_werror_flag"
     7334             || test ! -s conftest.err'
     7335  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7336  (eval $ac_try) 2>&5
     7337  ac_status=$?
     7338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7339  (exit $ac_status); }; } &&
     7340     { ac_try='test -s conftest$ac_exeext'
     7341  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7342  (eval $ac_try) 2>&5
     7343  ac_status=$?
     7344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7345  (exit $ac_status); }; }; then
     7346  ac_cv_func_re_rx_search=yes
     7347else
     7348  echo "$as_me: failed program was:" >&5
     7349sed 's/^/| /' conftest.$ac_ext >&5
     7350
     7351ac_cv_func_re_rx_search=no
     7352fi
     7353rm -f conftest.err conftest.$ac_objext \
     7354      conftest$ac_exeext conftest.$ac_ext
     7355fi
     7356echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     7357echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
     7358if test $ac_cv_func_re_rx_search = yes; then
     7359  :
     7360else
     7361  case $LIBOBJS in
     7362    "rx.$ac_objext"   | \
     7363  *" rx.$ac_objext"   | \
     7364    "rx.$ac_objext "* | \
    62607365  *" rx.$ac_objext "* ) ;;
    6261   *) LIBOBJS="$LIBOBJS rx.$ac_objext"
    6262  ;;
     7366  *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
    62637367esac
    62647368
     
    62707374# ---------------------------------------------------------------------------
    62717375if test "$ac_cv_func_alloca" = 'no'; then
    6272   case " $LIBOBJS " in
     7376  case $LIBOBJS in
     7377    "xmalloc.$ac_objext"   | \
     7378  *" xmalloc.$ac_objext"   | \
     7379    "xmalloc.$ac_objext "* | \
    62737380  *" xmalloc.$ac_objext "* ) ;;
    6274   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
    6275  ;;
     7381  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    62767382esac
    62777383
    6278   case " $LIBOBJS " in
     7384  case $LIBOBJS in
     7385    "error.$ac_objext"   | \
     7386  *" error.$ac_objext"   | \
     7387    "error.$ac_objext "* | \
    62797388  *" error.$ac_objext "* ) ;;
    6280   *) LIBOBJS="$LIBOBJS error.$ac_objext"
    6281  ;;
     7389  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
    62827390esac
    62837391
     
    62877395# ---------------------------------------------------------------------------
    62887396
    6289 ac_ext=cpp
     7397ac_ext=cc
    62907398ac_cpp='$CXXCPP $CPPFLAGS'
    62917399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    62957403
    62967404success=no
    6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
    6298 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
    6299 
    6300 
    6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7405echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     7406echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     7407
     7408
     7409cat >conftest.$ac_ext <<_ACEOF
     7410/* confdefs.h.  */
     7411_ACEOF
     7412cat confdefs.h >>conftest.$ac_ext
     7413cat >>conftest.$ac_ext <<_ACEOF
    63027414/* end confdefs.h.  */
    63037415#include <vector>
     
    63117423}
    63127424_ACEOF
    6313 if ac_fn_cxx_try_compile "$LINENO"; then :
     7425rm -f conftest.$ac_objext
     7426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7427  (eval $ac_compile) 2>conftest.er1
     7428  ac_status=$?
     7429  grep -v '^ *+' conftest.er1 >conftest.err
     7430  rm -f conftest.er1
     7431  cat conftest.err >&5
     7432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7433  (exit $ac_status); } &&
     7434     { ac_try='test -z "$ac_cxx_werror_flag"
     7435             || test ! -s conftest.err'
     7436  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7437  (eval $ac_try) 2>&5
     7438  ac_status=$?
     7439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7440  (exit $ac_status); }; } &&
     7441     { ac_try='test -s conftest.$ac_objext'
     7442  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7443  (eval $ac_try) 2>&5
     7444  ac_status=$?
     7445  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7446  (exit $ac_status); }; }; then
    63147447  success=yes
    6315 fi
    6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7448else
     7449  echo "$as_me: failed program was:" >&5
     7450sed 's/^/| /' conftest.$ac_ext >&5
     7451
     7452fi
     7453rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    63177454
    63187455if test $success = "no"; then
    6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7456cat >conftest.$ac_ext <<_ACEOF
     7457/* confdefs.h.  */
     7458_ACEOF
     7459cat confdefs.h >>conftest.$ac_ext
     7460cat >>conftest.$ac_ext <<_ACEOF
    63207461/* end confdefs.h.  */
    63217462#include <vector.h>
     
    63297470}
    63307471_ACEOF
    6331 if ac_fn_cxx_try_compile "$LINENO"; then :
     7472rm -f conftest.$ac_objext
     7473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7474  (eval $ac_compile) 2>conftest.er1
     7475  ac_status=$?
     7476  grep -v '^ *+' conftest.er1 >conftest.err
     7477  rm -f conftest.er1
     7478  cat conftest.err >&5
     7479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7480  (exit $ac_status); } &&
     7481     { ac_try='test -z "$ac_cxx_werror_flag"
     7482             || test ! -s conftest.err'
     7483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7484  (eval $ac_try) 2>&5
     7485  ac_status=$?
     7486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7487  (exit $ac_status); }; } &&
     7488     { ac_try='test -s conftest.$ac_objext'
     7489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7490  (eval $ac_try) 2>&5
     7491  ac_status=$?
     7492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7493  (exit $ac_status); }; }; then
    63327494  success="yes"
    6333 fi
    6334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7495else
     7496  echo "$as_me: failed program was:" >&5
     7497sed 's/^/| /' conftest.$ac_ext >&5
     7498
     7499fi
     7500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    63357501fi
    63367502
    63377503if test $success = "no"; then
    6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7504cat >conftest.$ac_ext <<_ACEOF
     7505/* confdefs.h.  */
     7506_ACEOF
     7507cat confdefs.h >>conftest.$ac_ext
     7508cat >>conftest.$ac_ext <<_ACEOF
    63397509/* end confdefs.h.  */
    63407510#include <ospace\\std\\vector>
     
    63487518}
    63497519_ACEOF
    6350 if ac_fn_cxx_try_compile "$LINENO"; then :
     7520rm -f conftest.$ac_objext
     7521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7522  (eval $ac_compile) 2>conftest.er1
     7523  ac_status=$?
     7524  grep -v '^ *+' conftest.er1 >conftest.err
     7525  rm -f conftest.er1
     7526  cat conftest.err >&5
     7527  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7528  (exit $ac_status); } &&
     7529     { ac_try='test -z "$ac_cxx_werror_flag"
     7530             || test ! -s conftest.err'
     7531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7532  (eval $ac_try) 2>&5
     7533  ac_status=$?
     7534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7535  (exit $ac_status); }; } &&
     7536     { ac_try='test -s conftest.$ac_objext'
     7537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7538  (eval $ac_try) 2>&5
     7539  ac_status=$?
     7540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7541  (exit $ac_status); }; }; then
    63517542  success="yes"
    6352 fi
    6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7543else
     7544  echo "$as_me: failed program was:" >&5
     7545sed 's/^/| /' conftest.$ac_ext >&5
     7546
     7547fi
     7548rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    63547549fi
    63557550
    63567551if test $success = yes; then
    6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
    6358 $as_echo "\"no\"" >&6; }
    6359 else
    6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
    6361 $as_echo "\"yes\"" >&6; }
    6362 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
     7552echo "$as_me:$LINENO: result: \"no\"" >&5
     7553echo "${ECHO_T}\"no\"" >&6
     7554else
     7555echo "$as_me:$LINENO: result: \"yes\"" >&5
     7556echo "${ECHO_T}\"yes\"" >&6
     7557{ { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
     7558echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     7559   { (exit 1); exit 1; }; }
    63637560fi
    63647561
     
    63727569
    63737570# check for endianness
    6374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    6375 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    6376 if test "${ac_cv_c_bigendian+set}" = set; then :
    6377   $as_echo_n "(cached) " >&6
    6378 else
    6379   ac_cv_c_bigendian=unknown
    6380     # See if we're dealing with a universal compiler.
    6381     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6382 /* end confdefs.h.  */
    6383 #ifndef __APPLE_CC__
    6384            not a universal capable compiler
    6385          #endif
    6386          typedef int dummy;
    6387 
    6388 _ACEOF
    6389 if ac_fn_cxx_try_compile "$LINENO"; then :
    6390 
    6391     # Check for potential -arch flags.  It is not universal unless
    6392     # there are at least two -arch flags with different values.
    6393     ac_arch=
    6394     ac_prev=
    6395     for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
    6396      if test -n "$ac_prev"; then
    6397        case $ac_word in
    6398          i?86 | x86_64 | ppc | ppc64)
    6399            if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
    6400          ac_arch=$ac_word
    6401            else
    6402          ac_cv_c_bigendian=universal
    6403          break
    6404            fi
    6405            ;;
    6406        esac
    6407        ac_prev=
    6408      elif test "x$ac_word" = "x-arch"; then
    6409        ac_prev=arch
    6410      fi
    6411        done
    6412 fi
    6413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6414     if test $ac_cv_c_bigendian = unknown; then
    6415       # See if sys/param.h defines the BYTE_ORDER macro.
    6416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7571echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7572echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     7573if test "${ac_cv_c_bigendian+set}" = set; then
     7574  echo $ECHO_N "(cached) $ECHO_C" >&6
     7575else
     7576  # See if sys/param.h defines the BYTE_ORDER macro.
     7577cat >conftest.$ac_ext <<_ACEOF
     7578/* confdefs.h.  */
     7579_ACEOF
     7580cat confdefs.h >>conftest.$ac_ext
     7581cat >>conftest.$ac_ext <<_ACEOF
    64177582/* end confdefs.h.  */
    64187583#include <sys/types.h>
    6419          #include <sys/param.h>
     7584#include <sys/param.h>
    64207585
    64217586int
    64227587main ()
    64237588{
    6424 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
    6425              && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
    6426              && LITTLE_ENDIAN)
    6427           bogus endian macros
    6428          #endif
     7589#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
     7590 bogus endian macros
     7591#endif
    64297592
    64307593  ;
     
    64327595}
    64337596_ACEOF
    6434 if ac_fn_cxx_try_compile "$LINENO"; then :
     7597rm -f conftest.$ac_objext
     7598if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7599  (eval $ac_compile) 2>conftest.er1
     7600  ac_status=$?
     7601  grep -v '^ *+' conftest.er1 >conftest.err
     7602  rm -f conftest.er1
     7603  cat conftest.err >&5
     7604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7605  (exit $ac_status); } &&
     7606     { ac_try='test -z "$ac_cxx_werror_flag"
     7607             || test ! -s conftest.err'
     7608  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7609  (eval $ac_try) 2>&5
     7610  ac_status=$?
     7611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7612  (exit $ac_status); }; } &&
     7613     { ac_try='test -s conftest.$ac_objext'
     7614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7615  (eval $ac_try) 2>&5
     7616  ac_status=$?
     7617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7618  (exit $ac_status); }; }; then
    64357619  # It does; now see whether it defined to BIG_ENDIAN or not.
    6436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7620cat >conftest.$ac_ext <<_ACEOF
     7621/* confdefs.h.  */
     7622_ACEOF
     7623cat confdefs.h >>conftest.$ac_ext
     7624cat >>conftest.$ac_ext <<_ACEOF
    64377625/* end confdefs.h.  */
    64387626#include <sys/types.h>
    6439         #include <sys/param.h>
     7627#include <sys/param.h>
    64407628
    64417629int
     
    64437631{
    64447632#if BYTE_ORDER != BIG_ENDIAN
    6445         not big endian
    6446         #endif
     7633 not big endian
     7634#endif
    64477635
    64487636  ;
     
    64507638}
    64517639_ACEOF
    6452 if ac_fn_cxx_try_compile "$LINENO"; then :
     7640rm -f conftest.$ac_objext
     7641if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7642  (eval $ac_compile) 2>conftest.er1
     7643  ac_status=$?
     7644  grep -v '^ *+' conftest.er1 >conftest.err
     7645  rm -f conftest.er1
     7646  cat conftest.err >&5
     7647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7648  (exit $ac_status); } &&
     7649     { ac_try='test -z "$ac_cxx_werror_flag"
     7650             || test ! -s conftest.err'
     7651  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7652  (eval $ac_try) 2>&5
     7653  ac_status=$?
     7654  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7655  (exit $ac_status); }; } &&
     7656     { ac_try='test -s conftest.$ac_objext'
     7657  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7658  (eval $ac_try) 2>&5
     7659  ac_status=$?
     7660  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7661  (exit $ac_status); }; }; then
    64537662  ac_cv_c_bigendian=yes
    64547663else
    6455   ac_cv_c_bigendian=no
    6456 fi
    6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6458 fi
    6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6460     fi
    6461     if test $ac_cv_c_bigendian = unknown; then
    6462       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    6463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7664  echo "$as_me: failed program was:" >&5
     7665sed 's/^/| /' conftest.$ac_ext >&5
     7666
     7667ac_cv_c_bigendian=no
     7668fi
     7669rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7670else
     7671  echo "$as_me: failed program was:" >&5
     7672sed 's/^/| /' conftest.$ac_ext >&5
     7673
     7674# It does not; compile a test program.
     7675if test "$cross_compiling" = yes; then
     7676  # try to guess the endianness by grepping values into an object file
     7677  ac_cv_c_bigendian=unknown
     7678  cat >conftest.$ac_ext <<_ACEOF
     7679/* confdefs.h.  */
     7680_ACEOF
     7681cat confdefs.h >>conftest.$ac_ext
     7682cat >>conftest.$ac_ext <<_ACEOF
    64647683/* end confdefs.h.  */
    6465 #include <limits.h>
    6466 
     7684short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7685short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7686void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
     7687short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7688short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7689void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    64677690int
    64687691main ()
    64697692{
    6470 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
    6471           bogus endian macros
    6472          #endif
    6473 
     7693 _ascii (); _ebcdic ();
    64747694  ;
    64757695  return 0;
    64767696}
    64777697_ACEOF
    6478 if ac_fn_cxx_try_compile "$LINENO"; then :
    6479   # It does; now see whether it defined to _BIG_ENDIAN or not.
    6480      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7698rm -f conftest.$ac_objext
     7699if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7700  (eval $ac_compile) 2>conftest.er1
     7701  ac_status=$?
     7702  grep -v '^ *+' conftest.er1 >conftest.err
     7703  rm -f conftest.er1
     7704  cat conftest.err >&5
     7705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7706  (exit $ac_status); } &&
     7707     { ac_try='test -z "$ac_cxx_werror_flag"
     7708             || test ! -s conftest.err'
     7709  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7710  (eval $ac_try) 2>&5
     7711  ac_status=$?
     7712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7713  (exit $ac_status); }; } &&
     7714     { ac_try='test -s conftest.$ac_objext'
     7715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7716  (eval $ac_try) 2>&5
     7717  ac_status=$?
     7718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7719  (exit $ac_status); }; }; then
     7720  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     7721  ac_cv_c_bigendian=yes
     7722fi
     7723if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     7724  if test "$ac_cv_c_bigendian" = unknown; then
     7725    ac_cv_c_bigendian=no
     7726  else
     7727    # finding both strings is unlikely to happen, but who knows?
     7728    ac_cv_c_bigendian=unknown
     7729  fi
     7730fi
     7731else
     7732  echo "$as_me: failed program was:" >&5
     7733sed 's/^/| /' conftest.$ac_ext >&5
     7734
     7735fi
     7736rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7737else
     7738  cat >conftest.$ac_ext <<_ACEOF
     7739/* confdefs.h.  */
     7740_ACEOF
     7741cat confdefs.h >>conftest.$ac_ext
     7742cat >>conftest.$ac_ext <<_ACEOF
    64817743/* end confdefs.h.  */
    6482 #include <limits.h>
    6483 
    64847744int
    64857745main ()
    64867746{
    6487 #ifndef _BIG_ENDIAN
    6488          not big endian
    6489         #endif
    6490 
    6491   ;
    6492   return 0;
     7747  /* Are we little or big endian?  From Harbison&Steele.  */
     7748  union
     7749  {
     7750    long l;
     7751    char c[sizeof (long)];
     7752  } u;
     7753  u.l = 1;
     7754  exit (u.c[sizeof (long) - 1] == 1);
    64937755}
    64947756_ACEOF
    6495 if ac_fn_cxx_try_compile "$LINENO"; then :
    6496   ac_cv_c_bigendian=yes
    6497 else
     7757rm -f conftest$ac_exeext
     7758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7759  (eval $ac_link) 2>&5
     7760  ac_status=$?
     7761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7762  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     7763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7764  (eval $ac_try) 2>&5
     7765  ac_status=$?
     7766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7767  (exit $ac_status); }; }; then
    64987768  ac_cv_c_bigendian=no
    6499 fi
    6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6501 fi
    6502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6503     fi
    6504     if test $ac_cv_c_bigendian = unknown; then
    6505       # Compile a test program.
    6506       if test "$cross_compiling" = yes; then :
    6507   # Try to guess by grepping values from an object file.
    6508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6509 /* end confdefs.h.  */
    6510 short int ascii_mm[] =
    6511           { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    6512         short int ascii_ii[] =
    6513           { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    6514         int use_ascii (int i) {
    6515           return ascii_mm[i] + ascii_ii[i];
    6516         }
    6517         short int ebcdic_ii[] =
    6518           { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    6519         short int ebcdic_mm[] =
    6520           { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    6521         int use_ebcdic (int i) {
    6522           return ebcdic_mm[i] + ebcdic_ii[i];
    6523         }
    6524         extern int foo;
    6525 
    6526 int
    6527 main ()
    6528 {
    6529 return use_ascii (foo) == use_ebcdic (foo);
    6530   ;
    6531   return 0;
    6532 }
    6533 _ACEOF
    6534 if ac_fn_cxx_try_compile "$LINENO"; then :
    6535   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    6536           ac_cv_c_bigendian=yes
    6537         fi
    6538         if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    6539           if test "$ac_cv_c_bigendian" = unknown; then
    6540         ac_cv_c_bigendian=no
    6541           else
    6542         # finding both strings is unlikely to happen, but who knows?
    6543         ac_cv_c_bigendian=unknown
    6544           fi
    6545         fi
    6546 fi
    6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6548 else
    6549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6550 /* end confdefs.h.  */
    6551 $ac_includes_default
    6552 int
    6553 main ()
    6554 {
    6555 
    6556          /* Are we little or big endian?  From Harbison&Steele.  */
    6557          union
    6558          {
    6559            long int l;
    6560            char c[sizeof (long int)];
    6561          } u;
    6562          u.l = 1;
    6563          return u.c[sizeof (long int) - 1] == 1;
    6564 
    6565   ;
    6566   return 0;
    6567 }
    6568 _ACEOF
    6569 if ac_fn_cxx_try_run "$LINENO"; then :
    6570   ac_cv_c_bigendian=no
    6571 else
    6572   ac_cv_c_bigendian=yes
    6573 fi
    6574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    6575   conftest.$ac_objext conftest.beam conftest.$ac_ext
    6576 fi
    6577 
    6578     fi
    6579 fi
    6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    6581 $as_echo "$ac_cv_c_bigendian" >&6; }
    6582  case $ac_cv_c_bigendian in #(
    6583    yes)
    6584      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    6585 ;; #(
    6586    no)
    6587       ;; #(
    6588    universal)
    6589 
    6590 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    6591 
    6592      ;; #(
    6593    *)
    6594      as_fn_error $? "unknown endianness
    6595  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
    6596  esac
     7769else
     7770  echo "$as_me: program exited with status $ac_status" >&5
     7771echo "$as_me: failed program was:" >&5
     7772sed 's/^/| /' conftest.$ac_ext >&5
     7773
     7774( exit $ac_status )
     7775ac_cv_c_bigendian=yes
     7776fi
     7777rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7778fi
     7779fi
     7780rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7781fi
     7782echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7783echo "${ECHO_T}$ac_cv_c_bigendian" >&6
     7784case $ac_cv_c_bigendian in
     7785  yes)
     7786
     7787cat >>confdefs.h <<\_ACEOF
     7788#define WORDS_BIGENDIAN 1
     7789_ACEOF
     7790 ;;
     7791  no)
     7792     ;;
     7793  *)
     7794    { { echo "$as_me:$LINENO: error: unknown endianness
     7795presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     7796echo "$as_me: error: unknown endianness
     7797presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     7798   { (exit 1); exit 1; }; } ;;
     7799esac
    65977800
    65987801# ---------------------------------------------------------------------------
    65997802if test "$ac_cv_func_alloca" = 'no'; then
    6600   case " $LIBOBJS " in
     7803  case $LIBOBJS in
     7804    "xmalloc.o.$ac_objext"   | \
     7805  *" xmalloc.o.$ac_objext"   | \
     7806    "xmalloc.o.$ac_objext "* | \
    66017807  *" xmalloc.o.$ac_objext "* ) ;;
    6602   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
    6603  ;;
     7808  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    66047809esac
    66057810
    6606   case " $LIBOBJS " in
     7811  case $LIBOBJS in
     7812    "error.$ac_objext"   | \
     7813  *" error.$ac_objext"   | \
     7814    "error.$ac_objext "* | \
    66077815  *" error.$ac_objext "* ) ;;
    6608   *) LIBOBJS="$LIBOBJS error.$ac_objext"
    6609  ;;
     7816  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
    66107817esac
    66117818
     
    66417848commonsrcprefix=`pwd`
    66427849ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv"
     7850
     7851
    66437852subdirs="$subdirs indexers"
    66447853
    66457854
    66467855# the list of folders in the src folder
    6647 srclist="src/lib/Makefile \
     7856srclist="cgi-bin/Makefile \
     7857         src/lib/Makefile \
    66487858         src/gdbmedit/db2txt/Makefile \
    66497859         src/gdbmedit/txt2db/Makefile \
    66507860         src/gdbmedit/gdbmget/Makefile \
    66517861         src/gdbmedit/gdbmset/Makefile \
    6652     src/gdbmedit/gdbmkeys/Makefile \
    6653     src/gdbmedit/gdbmdel/Makefile \
     7862        src/gdbmedit/gdbmkeys/Makefile \
     7863        src/gdbmedit/gdbmdel/Makefile \
    66547864         src/getpw/Makefile \
    6655      src/jdbmedit/Makefile"
    6656 
    6657 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
    6658 
     7865         src/jdbmedit/Makefile"
     7866
     7867                                        ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
    66597868cat >confcache <<\_ACEOF
    66607869# This file is a shell script that caches the results of configure
     
    66757884# The following way of writing the cache mishandles newlines in values,
    66767885# but we know of no workaround that is simple, portable, and efficient.
    6677 # So, we kill variables containing newlines.
     7886# So, don't put newlines in cache variables' values.
    66787887# Ultrix sh set writes to stderr and can't be redirected directly,
    66797888# and sets the high bit in the cache file unless we assign to the vars.
    6680 (
    6681   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    6682     eval ac_val=\$$ac_var
    6683     case $ac_val in #(
    6684     *${as_nl}*)
    6685       case $ac_var in #(
    6686       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    6687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    6688       esac
    6689       case $ac_var in #(
    6690       _ | IFS | as_nl) ;; #(
    6691       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    6692       *) { eval $ac_var=; unset $ac_var;} ;;
    6693       esac ;;
    6694     esac
    6695   done
    6696 
     7889{
    66977890  (set) 2>&1 |
    6698     case $as_nl`(ac_space=' '; set) 2>&1` in #(
    6699     *${as_nl}ac_space=\ *)
    6700       # `set' does not quote correctly, so add quotes: double-quote
    6701       # substitution turns \\\\ into \\, and sed turns \\ into \.
     7891    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     7892    *ac_space=\ *)
     7893      # `set' does not quote correctly, so add quotes (double-quote
     7894      # substitution turns \\\\ into \\, and sed turns \\ into \).
    67027895      sed -n \
    67037896    "s/'/'\\\\''/g;
    67047897      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    6705       ;; #(
     7898      ;;
    67067899    *)
    67077900      # `set' quotes correctly as required by POSIX, so do not add quotes.
    6708       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     7901      sed -n \
     7902    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    67097903      ;;
    6710     esac |
    6711     sort
    6712 ) |
     7904    esac;
     7905} |
    67137906  sed '
    6714      /^ac_cv_env_/b end
    67157907     t clear
    6716      :clear
     7908     : clear
    67177909     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    67187910     t end
    6719      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    6720      :end' >>confcache
    6721 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    6722   if test -w "$cache_file"; then
    6723     test "x$cache_file" != "x/dev/null" &&
    6724       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    6725 $as_echo "$as_me: updating cache $cache_file" >&6;}
     7911     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     7912     : end' >>confcache
     7913if diff $cache_file confcache >/dev/null 2>&1; then :; else
     7914  if test -w $cache_file; then
     7915    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    67267916    cat confcache >$cache_file
    67277917  else
    6728     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    6729 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     7918    echo "not updating unwritable cache $cache_file"
    67307919  fi
    67317920fi
     
    67367925test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    67377926
     7927# VPATH may cause trouble with some makes, so we remove $(srcdir),
     7928# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     7929# trailing colons and then remove the whole line if VPATH becomes empty
     7930# (actually we leave an empty line to preserve line numbers).
     7931if test "x$srcdir" = x.; then
     7932  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     7933s/:*\$(srcdir):*/:/;
     7934s/:*\${srcdir}:*/:/;
     7935s/:*@srcdir@:*/:/;
     7936s/^\([^=]*=[     ]*\):*/\1/;
     7937s/:*$//;
     7938s/^[^=]*=[   ]*$//;
     7939}'
     7940fi
     7941
    67387942DEFS=-DHAVE_CONFIG_H
    67397943
    67407944ac_libobjs=
    67417945ac_ltlibobjs=
    6742 U=
    67437946for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    67447947  # 1. Remove the extension, and $U if already installed.
    6745   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    6746   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
    6747   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    6748   #    will be set to the directory where LIBOBJS objects are built.
    6749   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    6750   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     7948  ac_i=`echo "$ac_i" |
     7949     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     7950  # 2. Add them.
     7951  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     7952  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    67517953done
    67527954LIBOBJS=$ac_libobjs
     
    67567958
    67577959
    6758 
    67597960: ${CONFIG_STATUS=./config.status}
    6760 ac_write_fail=0
    67617961ac_clean_files_save=$ac_clean_files
    67627962ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    6763 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    6764 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    6765 as_write_fail=0
    6766 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     7963{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     7964echo "$as_me: creating $CONFIG_STATUS" >&6;}
     7965cat >$CONFIG_STATUS <<_ACEOF
    67677966#! $SHELL
    67687967# Generated by $as_me.
     
    67747973ac_cs_recheck=false
    67757974ac_cs_silent=false
    6776 
    67777975SHELL=\${CONFIG_SHELL-$SHELL}
    6778 export SHELL
    6779 _ASEOF
    6780 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
    6781 ## -------------------- ##
    6782 ## M4sh Initialization. ##
    6783 ## -------------------- ##
    6784 
    6785 # Be more Bourne compatible
    6786 DUALCASE=1; export DUALCASE # for MKS sh
    6787 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     7976_ACEOF
     7977
     7978cat >>$CONFIG_STATUS <<\_ACEOF
     7979## --------------------- ##
     7980## M4sh Initialization.  ##
     7981## --------------------- ##
     7982
     7983# Be Bourne compatible
     7984if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    67887985  emulate sh
    67897986  NULLCMD=:
    6790   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     7987  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    67917988  # is contrary to our usage.  Disable this feature.
    67927989  alias -g '${1+"$@"}'='"$@"'
    6793   setopt NO_GLOB_SUBST
    6794 else
    6795   case `(set -o) 2>/dev/null` in #(
    6796   *posix*) :
    6797     set -o posix ;; #(
    6798   *) :
    6799      ;;
    6800 esac
    6801 fi
    6802 
    6803 
    6804 as_nl='
    6805 '
    6806 export as_nl
    6807 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    6808 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    6809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    6810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    6811 # Prefer a ksh shell builtin over an external printf program on Solaris,
    6812 # but without wasting forks for bash or zsh.
    6813 if test -z "$BASH_VERSION$ZSH_VERSION" \
    6814     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    6815   as_echo='print -r --'
    6816   as_echo_n='print -rn --'
    6817 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    6818   as_echo='printf %s\n'
    6819   as_echo_n='printf %s'
    6820 else
    6821   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    6822     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    6823     as_echo_n='/usr/ucb/echo -n'
    6824   else
    6825     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    6826     as_echo_n_body='eval
    6827       arg=$1;
    6828       case $arg in #(
    6829       *"$as_nl"*)
    6830     expr "X$arg" : "X\\(.*\\)$as_nl";
    6831     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    6832       esac;
    6833       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    6834     '
    6835     export as_echo_n_body
    6836     as_echo_n='sh -c $as_echo_n_body as_echo'
    6837   fi
    6838   export as_echo_body
    6839   as_echo='sh -c $as_echo_body as_echo'
    6840 fi
    6841 
    6842 # The user is always right.
    6843 if test "${PATH_SEPARATOR+set}" != set; then
    6844   PATH_SEPARATOR=:
    6845   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    6846     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    6847       PATH_SEPARATOR=';'
    6848   }
    6849 fi
    6850 
    6851 
    6852 # IFS
    6853 # We need space, tab and new line, in precisely that order.  Quoting is
    6854 # there to prevent editors from complaining about space-tab.
    6855 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    6856 # splitting by setting IFS to empty value.)
    6857 IFS=" ""    $as_nl"
    6858 
    6859 # Find who we are.  Look in the path if we contain no directory separator.
    6860 case $0 in #((
    6861   *[\\/]* ) as_myself=$0 ;;
    6862   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6863 for as_dir in $PATH
    6864 do
    6865   IFS=$as_save_IFS
    6866   test -z "$as_dir" && as_dir=.
    6867     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    6868   done
    6869 IFS=$as_save_IFS
    6870 
    6871      ;;
    6872 esac
    6873 # We did not find ourselves, most probably we were run as `sh COMMAND'
    6874 # in which case we are not to be found in the path.
    6875 if test "x$as_myself" = x; then
    6876   as_myself=$0
    6877 fi
    6878 if test ! -f "$as_myself"; then
    6879   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    6880   exit 1
    6881 fi
    6882 
    6883 # Unset variables that we do not need and which cause bugs (e.g. in
    6884 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    6885 # suppresses any "Segmentation fault" message there.  '((' could
    6886 # trigger a bug in pdksh 5.2.14.
    6887 for as_var in BASH_ENV ENV MAIL MAILPATH
    6888 do eval test x\${$as_var+set} = xset \
    6889   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    6890 done
     7990elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     7991  set -o posix
     7992fi
     7993DUALCASE=1; export DUALCASE # for MKS sh
     7994
     7995# Support unset when possible.
     7996if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7997  as_unset=unset
     7998else
     7999  as_unset=false
     8000fi
     8001
     8002
     8003# Work around bugs in pre-3.0 UWIN ksh.
     8004$as_unset ENV MAIL MAILPATH
    68918005PS1='$ '
    68928006PS2='> '
     
    68948008
    68958009# NLS nuisances.
    6896 LC_ALL=C
    6897 export LC_ALL
    6898 LANGUAGE=C
    6899 export LANGUAGE
    6900 
    6901 # CDPATH.
    6902 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    6903 
    6904 
    6905 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    6906 # ----------------------------------------
    6907 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    6908 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    6909 # script with STATUS, using 1 if that was 0.
    6910 as_fn_error ()
    6911 {
    6912   as_status=$1; test $as_status -eq 0 && as_status=1
    6913   if test "$4"; then
    6914     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    6915     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     8010for as_var in \
     8011  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     8012  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     8013  LC_TELEPHONE LC_TIME
     8014do
     8015  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     8016    eval $as_var=C; export $as_var
     8017  else
     8018    $as_unset $as_var
    69168019  fi
    6917   $as_echo "$as_me: error: $2" >&2
    6918   as_fn_exit $as_status
    6919 } # as_fn_error
    6920 
    6921 
    6922 # as_fn_set_status STATUS
    6923 # -----------------------
    6924 # Set $? to STATUS, without forking.
    6925 as_fn_set_status ()
    6926 {
    6927   return $1
    6928 } # as_fn_set_status
    6929 
    6930 # as_fn_exit STATUS
    6931 # -----------------
    6932 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    6933 as_fn_exit ()
    6934 {
    6935   set +e
    6936   as_fn_set_status $1
    6937   exit $1
    6938 } # as_fn_exit
    6939 
    6940 # as_fn_unset VAR
    6941 # ---------------
    6942 # Portably unset VAR.
    6943 as_fn_unset ()
    6944 {
    6945   { eval $1=; unset $1;}
    6946 }
    6947 as_unset=as_fn_unset
    6948 # as_fn_append VAR VALUE
    6949 # ----------------------
    6950 # Append the text in VALUE to the end of the definition contained in VAR. Take
    6951 # advantage of any shell optimizations that allow amortized linear growth over
    6952 # repeated appends, instead of the typical quadratic growth present in naive
    6953 # implementations.
    6954 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    6955   eval 'as_fn_append ()
    6956   {
    6957     eval $1+=\$2
    6958   }'
    6959 else
    6960   as_fn_append ()
    6961   {
    6962     eval $1=\$$1\$2
    6963   }
    6964 fi # as_fn_append
    6965 
    6966 # as_fn_arith ARG...
    6967 # ------------------
    6968 # Perform arithmetic evaluation on the ARGs, and store the result in the
    6969 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    6970 # must be portable across $(()) and expr.
    6971 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    6972   eval 'as_fn_arith ()
    6973   {
    6974     as_val=$(( $* ))
    6975   }'
    6976 else
    6977   as_fn_arith ()
    6978   {
    6979     as_val=`expr "$@" || test $? -eq 1`
    6980   }
    6981 fi # as_fn_arith
    6982 
    6983 
    6984 if expr a : '\(a\)' >/dev/null 2>&1 &&
    6985    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     8020done
     8021
     8022# Required to use basename.
     8023if expr a : '\(a\)' >/dev/null 2>&1; then
    69868024  as_expr=expr
    69878025else
     
    69898027fi
    69908028
    6991 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     8029if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    69928030  as_basename=basename
    69938031else
     
    69958033fi
    69968034
    6997 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    6998   as_dirname=dirname
    6999 else
    7000   as_dirname=false
    7001 fi
    7002 
    7003 as_me=`$as_basename -- "$0" ||
     8035
     8036# Name of the executable.
     8037as_me=`$as_basename "$0" ||
    70048038$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    70058039     X"$0" : 'X\(//\)$' \| \
    7006      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7007 $as_echo X/"$0" |
    7008     sed '/^.*\/\([^/][^/]*\)\/*$/{
    7009         s//\1/
    7010         q
    7011       }
    7012       /^X\/\(\/\/\)$/{
    7013         s//\1/
    7014         q
    7015       }
    7016       /^X\/\(\/\).*/{
    7017         s//\1/
    7018         q
    7019       }
    7020       s/.*/./; q'`
    7021 
     8040     X"$0" : 'X\(/\)$' \| \
     8041     .     : '\(.\)' 2>/dev/null ||
     8042echo X/"$0" |
     8043    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     8044      /^X\/\(\/\/\)$/{ s//\1/; q; }
     8045      /^X\/\(\/\).*/{ s//\1/; q; }
     8046      s/.*/./; q'`
     8047
     8048
     8049# PATH needs CR, and LINENO needs CR and PATH.
    70228050# Avoid depending upon Character Ranges.
    70238051as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    70278055as_cr_alnum=$as_cr_Letters$as_cr_digits
    70288056
    7029 ECHO_C= ECHO_N= ECHO_T=
    7030 case `echo -n x` in #(((((
    7031 -n*)
    7032   case `echo 'xy\c'` in
    7033   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    7034   xy)  ECHO_C='\c';;
    7035   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    7036        ECHO_T=' ';;
    7037   esac;;
    7038 *)
    7039   ECHO_N='-n';;
     8057# The user is always right.
     8058if test "${PATH_SEPARATOR+set}" != set; then
     8059  echo "#! /bin/sh" >conf$$.sh
     8060  echo  "exit 0"   >>conf$$.sh
     8061  chmod +x conf$$.sh
     8062  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     8063    PATH_SEPARATOR=';'
     8064  else
     8065    PATH_SEPARATOR=:
     8066  fi
     8067  rm -f conf$$.sh
     8068fi
     8069
     8070
     8071  as_lineno_1=$LINENO
     8072  as_lineno_2=$LINENO
     8073  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     8074  test "x$as_lineno_1" != "x$as_lineno_2" &&
     8075  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     8076  # Find who we are.  Look in the path if we contain no path at all
     8077  # relative or not.
     8078  case $0 in
     8079    *[\\/]* ) as_myself=$0 ;;
     8080    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8081for as_dir in $PATH
     8082do
     8083  IFS=$as_save_IFS
     8084  test -z "$as_dir" && as_dir=.
     8085  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     8086done
     8087
     8088       ;;
     8089  esac
     8090  # We did not find ourselves, most probably we were run as `sh COMMAND'
     8091  # in which case we are not to be found in the path.
     8092  if test "x$as_myself" = x; then
     8093    as_myself=$0
     8094  fi
     8095  if test ! -f "$as_myself"; then
     8096    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     8097echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     8098   { (exit 1); exit 1; }; }
     8099  fi
     8100  case $CONFIG_SHELL in
     8101  '')
     8102    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8103for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     8104do
     8105  IFS=$as_save_IFS
     8106  test -z "$as_dir" && as_dir=.
     8107  for as_base in sh bash ksh sh5; do
     8108     case $as_dir in
     8109     /*)
     8110       if ("$as_dir/$as_base" -c '
     8111  as_lineno_1=$LINENO
     8112  as_lineno_2=$LINENO
     8113  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     8114  test "x$as_lineno_1" != "x$as_lineno_2" &&
     8115  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     8116         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     8117         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     8118         CONFIG_SHELL=$as_dir/$as_base
     8119         export CONFIG_SHELL
     8120         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     8121       fi;;
     8122     esac
     8123       done
     8124done
     8125;;
     8126  esac
     8127
     8128  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     8129  # uniformly replaced by the line number.  The first 'sed' inserts a
     8130  # line-number line before each line; the second 'sed' does the real
     8131  # work.  The second script uses 'N' to pair each line-number line
     8132  # with the numbered line, and appends trailing '-' during
     8133  # substitution so that $LINENO is not a special case at line end.
     8134  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     8135  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     8136  sed '=' <$as_myself |
     8137    sed '
     8138      N
     8139      s,$,-,
     8140      : loop
     8141      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     8142      t loop
     8143      s,-$,,
     8144      s,^['$as_cr_digits']*\n,,
     8145    ' >$as_me.lineno &&
     8146  chmod +x $as_me.lineno ||
     8147    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     8148echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     8149   { (exit 1); exit 1; }; }
     8150
     8151  # Don't try to exec as it changes $[0], causing all sort of problems
     8152  # (the dirname of $[0] is not the place where we might find the
     8153  # original and so on.  Autoconf is especially sensible to this).
     8154  . ./$as_me.lineno
     8155  # Exit status is that of the last command.
     8156  exit
     8157}
     8158
     8159
     8160case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     8161  *c*,-n*) ECHO_N= ECHO_C='
     8162' ECHO_T='  ' ;;
     8163  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     8164  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    70408165esac
    70418166
     8167if expr a : '\(a\)' >/dev/null 2>&1; then
     8168  as_expr=expr
     8169else
     8170  as_expr=false
     8171fi
     8172
    70428173rm -f conf$$ conf$$.exe conf$$.file
    7043 if test -d conf$$.dir; then
    7044   rm -f conf$$.dir/conf$$.file
    7045 else
    7046   rm -f conf$$.dir
    7047   mkdir conf$$.dir 2>/dev/null
    7048 fi
    7049 if (echo >conf$$.file) 2>/dev/null; then
    7050   if ln -s conf$$.file conf$$ 2>/dev/null; then
     8174echo >conf$$.file
     8175if ln -s conf$$.file conf$$ 2>/dev/null; then
     8176  # We could just check for DJGPP; but this test a) works b) is more generic
     8177  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     8178  if test -f conf$$.exe; then
     8179    # Don't use ln at all; we don't have any links
     8180    as_ln_s='cp -p'
     8181  else
    70518182    as_ln_s='ln -s'
    7052     # ... but there are two gotchas:
    7053     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    7054     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    7055     # In both cases, we have to default to `cp -p'.
    7056     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    7057       as_ln_s='cp -p'
    7058   elif ln conf$$.file conf$$ 2>/dev/null; then
    7059     as_ln_s=ln
    7060   else
    7061     as_ln_s='cp -p'
    70628183  fi
     8184elif ln conf$$.file conf$$ 2>/dev/null; then
     8185  as_ln_s=ln
    70638186else
    70648187  as_ln_s='cp -p'
    70658188fi
    7066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    7067 rmdir conf$$.dir 2>/dev/null
    7068 
    7069 
    7070 # as_fn_mkdir_p
    7071 # -------------
    7072 # Create "$as_dir" as a directory, including parents if necessary.
    7073 as_fn_mkdir_p ()
    7074 {
    7075 
    7076   case $as_dir in #(
    7077   -*) as_dir=./$as_dir;;
    7078   esac
    7079   test -d "$as_dir" || eval $as_mkdir_p || {
    7080     as_dirs=
    7081     while :; do
    7082       case $as_dir in #(
    7083       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    7084       *) as_qdir=$as_dir;;
    7085       esac
    7086       as_dirs="'$as_qdir' $as_dirs"
    7087       as_dir=`$as_dirname -- "$as_dir" ||
    7088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7089      X"$as_dir" : 'X\(//\)[^/]' \| \
    7090      X"$as_dir" : 'X\(//\)$' \| \
    7091      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    7092 $as_echo X"$as_dir" |
    7093     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    7094         s//\1/
    7095         q
    7096       }
    7097       /^X\(\/\/\)[^/].*/{
    7098         s//\1/
    7099         q
    7100       }
    7101       /^X\(\/\/\)$/{
    7102         s//\1/
    7103         q
    7104       }
    7105       /^X\(\/\).*/{
    7106         s//\1/
    7107         q
    7108       }
    7109       s/.*/./; q'`
    7110       test -d "$as_dir" && break
    7111     done
    7112     test -z "$as_dirs" || eval "mkdir $as_dirs"
    7113   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    7114 
    7115 
    7116 } # as_fn_mkdir_p
     8189rm -f conf$$ conf$$.exe conf$$.file
     8190
    71178191if mkdir -p . 2>/dev/null; then
    7118   as_mkdir_p='mkdir -p "$as_dir"'
     8192  as_mkdir_p=:
    71198193else
    71208194  test -d ./-p && rmdir ./-p
     
    71228196fi
    71238197
    7124 if test -x / >/dev/null 2>&1; then
    7125   as_test_x='test -x'
    7126 else
    7127   if ls -dL / >/dev/null 2>&1; then
    7128     as_ls_L_option=L
    7129   else
    7130     as_ls_L_option=
    7131   fi
    7132   as_test_x='
    7133     eval sh -c '\''
    7134       if test -d "$1"; then
    7135     test -d "$1/.";
    7136       else
    7137     case $1 in #(
    7138     -*)set "./$1";;
    7139     esac;
    7140     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    7141     ???[sx]*):;;*)false;;esac;fi
    7142     '\'' sh
    7143   '
    7144 fi
    7145 as_executable_p=$as_test_x
     8198as_executable_p="test -f"
    71468199
    71478200# Sed expression to map a string onto a valid CPP name.
     
    71528205
    71538206
     8207# IFS
     8208# We need space, tab and new line, in precisely that order.
     8209as_nl='
     8210'
     8211IFS="   $as_nl"
     8212
     8213# CDPATH.
     8214$as_unset CDPATH
     8215
    71548216exec 6>&1
    7155 ## ----------------------------------- ##
    7156 ## Main body of $CONFIG_STATUS script. ##
    7157 ## ----------------------------------- ##
    7158 _ASEOF
    7159 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
    7160 
    7161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7162 # Save the log message, to keep $0 and so on meaningful, and to
     8217
     8218# Open the log real soon, to keep \$[0] and so on meaningful, and to
    71638219# report actual input values of CONFIG_FILES etc. instead of their
    7164 # values after options handling.
    7165 ac_log="
    7166 This file was extended by $as_me, which was
    7167 generated by GNU Autoconf 2.67.  Invocation command line was
    7168 
    7169   CONFIG_FILES    = $CONFIG_FILES
    7170   CONFIG_HEADERS  = $CONFIG_HEADERS
    7171   CONFIG_LINKS    = $CONFIG_LINKS
    7172   CONFIG_COMMANDS = $CONFIG_COMMANDS
    7173   $ $0 $@
    7174 
    7175 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    7176 "
    7177 
    7178 _ACEOF
    7179 
    7180 case $ac_config_files in *"
    7181 "*) set x $ac_config_files; shift; ac_config_files=$*;;
    7182 esac
    7183 
    7184 case $ac_config_headers in *"
    7185 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
    7186 esac
    7187 
    7188 
    7189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7190 # Files that config.status was made for.
    7191 config_files="$ac_config_files"
    7192 config_headers="$ac_config_headers"
    7193 
    7194 _ACEOF
    7195 
    7196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7197 ac_cs_usage="\
    7198 \`$as_me' instantiates files and other configuration actions
    7199 from templates according to the current configuration.  Unless the files
    7200 and actions are specified as TAGs, all are instantiated by default.
    7201 
    7202 Usage: $0 [OPTION]... [TAG]...
    7203 
    7204   -h, --help       print this help, then exit
    7205   -V, --version    print version number and configuration settings, then exit
    7206       --config     print configuration, then exit
    7207   -q, --quiet, --silent
    7208                    do not print progress messages
    7209   -d, --debug      don't remove temporary files
    7210       --recheck    update $as_me by reconfiguring in the same conditions
    7211       --file=FILE[:TEMPLATE]
    7212                    instantiate the configuration file FILE
    7213       --header=FILE[:TEMPLATE]
    7214                    instantiate the configuration header FILE
    7215 
    7216 Configuration files:
    7217 $config_files
    7218 
    7219 Configuration headers:
    7220 $config_headers
    7221 
    7222 Report bugs to the package provider."
    7223 
    7224 _ACEOF
    7225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7226 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    7227 ac_cs_version="\\
    7228 config.status
    7229 configured by $0, generated by GNU Autoconf 2.67,
    7230   with options \\"\$ac_cs_config\\"
    7231 
    7232 Copyright (C) 2010 Free Software Foundation, Inc.
    7233 This config.status script is free software; the Free Software Foundation
    7234 gives unlimited permission to copy, distribute and modify it."
    7235 
    7236 ac_pwd='$ac_pwd'
    7237 srcdir='$srcdir'
    7238 INSTALL='$INSTALL'
    7239 AWK='$AWK'
    7240 test -n "\$AWK" || AWK=awk
    7241 _ACEOF
    7242 
    7243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7244 # The default lists apply if the user does not specify any file.
    7245 ac_need_defaults=:
    7246 while test $# != 0
    7247 do
    7248   case $1 in
    7249   --*=?*)
    7250     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    7251     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    7252     ac_shift=:
    7253     ;;
    7254   --*=)
    7255     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    7256     ac_optarg=
    7257     ac_shift=:
    7258     ;;
    7259   *)
    7260     ac_option=$1
    7261     ac_optarg=$2
    7262     ac_shift=shift
    7263     ;;
    7264   esac
    7265 
    7266   case $ac_option in
    7267   # Handling of the options.
    7268   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    7269     ac_cs_recheck=: ;;
    7270   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    7271     $as_echo "$ac_cs_version"; exit ;;
    7272   --config | --confi | --conf | --con | --co | --c )
    7273     $as_echo "$ac_cs_config"; exit ;;
    7274   --debug | --debu | --deb | --de | --d | -d )
    7275     debug=: ;;
    7276   --file | --fil | --fi | --f )
    7277     $ac_shift
    7278     case $ac_optarg in
    7279     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    7280     '') as_fn_error $? "missing file argument" ;;
    7281     esac
    7282     as_fn_append CONFIG_FILES " '$ac_optarg'"
    7283     ac_need_defaults=false;;
    7284   --header | --heade | --head | --hea )
    7285     $ac_shift
    7286     case $ac_optarg in
    7287     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    7288     esac
    7289     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    7290     ac_need_defaults=false;;
    7291   --he | --h)
    7292     # Conflict between --help and --header
    7293     as_fn_error $? "ambiguous option: \`$1'
    7294 Try \`$0 --help' for more information.";;
    7295   --help | --hel | -h )
    7296     $as_echo "$ac_cs_usage"; exit ;;
    7297   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    7298   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    7299     ac_cs_silent=: ;;
    7300 
    7301   # This is an error.
    7302   -*) as_fn_error $? "unrecognized option: \`$1'
    7303 Try \`$0 --help' for more information." ;;
    7304 
    7305   *) as_fn_append ac_config_targets " $1"
    7306      ac_need_defaults=false ;;
    7307 
    7308   esac
    7309   shift
    7310 done
    7311 
    7312 ac_configure_extra_args=
    7313 
    7314 if $ac_cs_silent; then
    7315   exec 6>/dev/null
    7316   ac_configure_extra_args="$ac_configure_extra_args --silent"
    7317 fi
    7318 
    7319 _ACEOF
    7320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7321 if \$ac_cs_recheck; then
    7322   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    7323   shift
    7324   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
    7325   CONFIG_SHELL='$SHELL'
    7326   export CONFIG_SHELL
    7327   exec "\$@"
    7328 fi
    7329 
    7330 _ACEOF
    7331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     8220# values after options handling.  Logging --version etc. is OK.
    73328221exec 5>>config.log
    73338222{
     
    73368225## Running $as_me. ##
    73378226_ASBOX
    7338   $as_echo "$ac_log"
    73398227} >&5
    7340 
    7341 _ACEOF
    7342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7343 _ACEOF
    7344 
    7345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7346 
    7347 # Handling of arguments.
     8228cat >&5 <<_CSEOF
     8229
     8230This file was extended by $as_me, which was
     8231generated by GNU Autoconf 2.59.  Invocation command line was
     8232
     8233  CONFIG_FILES    = $CONFIG_FILES
     8234  CONFIG_HEADERS  = $CONFIG_HEADERS
     8235  CONFIG_LINKS    = $CONFIG_LINKS
     8236  CONFIG_COMMANDS = $CONFIG_COMMANDS
     8237  $ $0 $@
     8238
     8239_CSEOF
     8240echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     8241echo >&5
     8242_ACEOF
     8243
     8244# Files that config.status was made for.
     8245if test -n "$ac_config_files"; then
     8246  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     8247fi
     8248
     8249if test -n "$ac_config_headers"; then
     8250  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     8251fi
     8252
     8253if test -n "$ac_config_links"; then
     8254  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     8255fi
     8256
     8257if test -n "$ac_config_commands"; then
     8258  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     8259fi
     8260
     8261cat >>$CONFIG_STATUS <<\_ACEOF
     8262
     8263ac_cs_usage="\
     8264\`$as_me' instantiates files from templates according to the
     8265current configuration.
     8266
     8267Usage: $0 [OPTIONS] [FILE]...
     8268
     8269  -h, --help       print this help, then exit
     8270  -V, --version    print version number, then exit
     8271  -q, --quiet      do not print progress messages
     8272  -d, --debug      don't remove temporary files
     8273      --recheck    update $as_me by reconfiguring in the same conditions
     8274  --file=FILE[:TEMPLATE]
     8275           instantiate the configuration file FILE
     8276  --header=FILE[:TEMPLATE]
     8277           instantiate the configuration header FILE
     8278
     8279Configuration files:
     8280$config_files
     8281
     8282Configuration headers:
     8283$config_headers
     8284
     8285Report bugs to <[email protected]>."
     8286_ACEOF
     8287
     8288cat >>$CONFIG_STATUS <<_ACEOF
     8289ac_cs_version="\\
     8290config.status
     8291configured by $0, generated by GNU Autoconf 2.59,
     8292  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     8293
     8294Copyright (C) 2003 Free Software Foundation, Inc.
     8295This config.status script is free software; the Free Software Foundation
     8296gives unlimited permission to copy, distribute and modify it."
     8297srcdir=$srcdir
     8298INSTALL="$INSTALL"
     8299_ACEOF
     8300
     8301cat >>$CONFIG_STATUS <<\_ACEOF
     8302# If no file are specified by the user, then we need to provide default
     8303# value.  By we need to know if files were specified by the user.
     8304ac_need_defaults=:
     8305while test $# != 0
     8306do
     8307  case $1 in
     8308  --*=*)
     8309    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     8310    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     8311    ac_shift=:
     8312    ;;
     8313  -*)
     8314    ac_option=$1
     8315    ac_optarg=$2
     8316    ac_shift=shift
     8317    ;;
     8318  *) # This is not an option, so the user has probably given explicit
     8319     # arguments.
     8320     ac_option=$1
     8321     ac_need_defaults=false;;
     8322  esac
     8323
     8324  case $ac_option in
     8325  # Handling of the options.
     8326_ACEOF
     8327cat >>$CONFIG_STATUS <<\_ACEOF
     8328  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     8329    ac_cs_recheck=: ;;
     8330  --version | --vers* | -V )
     8331    echo "$ac_cs_version"; exit 0 ;;
     8332  --he | --h)
     8333    # Conflict between --help and --header
     8334    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     8335Try \`$0 --help' for more information." >&5
     8336echo "$as_me: error: ambiguous option: $1
     8337Try \`$0 --help' for more information." >&2;}
     8338   { (exit 1); exit 1; }; };;
     8339  --help | --hel | -h )
     8340    echo "$ac_cs_usage"; exit 0 ;;
     8341  --debug | --d* | -d )
     8342    debug=: ;;
     8343  --file | --fil | --fi | --f )
     8344    $ac_shift
     8345    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     8346    ac_need_defaults=false;;
     8347  --header | --heade | --head | --hea )
     8348    $ac_shift
     8349    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     8350    ac_need_defaults=false;;
     8351  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     8352  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     8353    ac_cs_silent=: ;;
     8354
     8355  # This is an error.
     8356  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     8357Try \`$0 --help' for more information." >&5
     8358echo "$as_me: error: unrecognized option: $1
     8359Try \`$0 --help' for more information." >&2;}
     8360   { (exit 1); exit 1; }; } ;;
     8361
     8362  *) ac_config_targets="$ac_config_targets $1" ;;
     8363
     8364  esac
     8365  shift
     8366done
     8367
     8368ac_configure_extra_args=
     8369
     8370if $ac_cs_silent; then
     8371  exec 6>/dev/null
     8372  ac_configure_extra_args="$ac_configure_extra_args --silent"
     8373fi
     8374
     8375_ACEOF
     8376cat >>$CONFIG_STATUS <<_ACEOF
     8377if \$ac_cs_recheck; then
     8378  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     8379  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     8380fi
     8381
     8382_ACEOF
     8383
     8384
     8385
     8386
     8387
     8388cat >>$CONFIG_STATUS <<\_ACEOF
    73488389for ac_config_target in $ac_config_targets
    73498390do
    7350   case $ac_config_target in
    7351     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    7352     "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    7353     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7354     "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    7355     "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    7356 
    7357   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
     8391  case "$ac_config_target" in
     8392  # Handling of arguments.
     8393  "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
     8394  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     8395  "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     8396  "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     8397  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8398  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     8399echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     8400   { (exit 1); exit 1; }; };;
    73588401  esac
    73598402done
    7360 
    73618403
    73628404# If the user did not use the arguments to specify the items to instantiate,
     
    73708412
    73718413# Have a temporary directory for convenience.  Make it in the build tree
    7372 # simply because there is no reason against having it here, and in addition,
     8414# simply because there is no reason to put it here, and in addition,
    73738415# creating and moving files from /tmp can sometimes cause problems.
    7374 # Hook for its removal unless debugging.
    7375 # Note that there is a small window in which the directory will not be cleaned:
    7376 # after its creation but before its name has been assigned to `$tmp'.
     8416# Create a temporary directory, and hook for its removal unless debugging.
    73778417$debug ||
    73788418{
    7379   tmp=
    7380   trap 'exit_status=$?
    7381   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    7382 ' 0
    7383   trap 'as_fn_exit 1' 1 2 13 15
     8419  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     8420  trap '{ (exit 1); exit 1; }' 1 2 13 15
    73848421}
     8422
    73858423# Create a (secure) tmp directory for tmp files.
    73868424
    73878425{
    7388   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     8426  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    73898427  test -n "$tmp" && test -d "$tmp"
    73908428}  ||
    73918429{
    7392   tmp=./conf$$-$RANDOM
    7393   (umask 077 && mkdir "$tmp")
    7394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    7395 
    7396 # Set up the scripts for CONFIG_FILES section.
    7397 # No need to generate them if there are no CONFIG_FILES.
    7398 # This happens for instance with `./config.status config.h'.
    7399 if test -n "$CONFIG_FILES"; then
    7400 
    7401 
    7402 ac_cr=`echo X | tr X '\015'`
    7403 # On cygwin, bash can eat \r inside `` if the user requested igncr.
    7404 # But we know of no other shell where ac_cr would be empty at this
    7405 # point, so we can use a bashism as a fallback.
    7406 if test "x$ac_cr" = x; then
    7407   eval ac_cr=\$\'\\r\'
    7408 fi
    7409 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    7410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    7411   ac_cs_awk_cr='\\r'
    7412 else
    7413   ac_cs_awk_cr=$ac_cr
    7414 fi
    7415 
    7416 echo 'BEGIN {' >"$tmp/subs1.awk" &&
    7417 _ACEOF
    7418 
    7419 
     8430  tmp=./confstat$$-$RANDOM
     8431  (umask 077 && mkdir $tmp)
     8432} ||
    74208433{
    7421   echo "cat >conf$$subs.awk <<_ACEOF" &&
    7422   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
    7423   echo "_ACEOF"
    7424 } >conf$$subs.sh ||
    7425   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    7426 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    7427 ac_delim='%!_!# '
    7428 for ac_last_try in false false false false false :; do
    7429   . ./conf$$subs.sh ||
    7430     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    7431 
    7432   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
    7433   if test $ac_delim_n = $ac_delim_num; then
    7434     break
    7435   elif $ac_last_try; then
    7436     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    7437   else
    7438     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     8434   echo "$me: cannot create a temporary directory in ." >&2
     8435   { (exit 1); exit 1; }
     8436}
     8437
     8438_ACEOF
     8439
     8440cat >>$CONFIG_STATUS <<_ACEOF
     8441
     8442#
     8443# CONFIG_FILES section.
     8444#
     8445
     8446# No need to generate the scripts if there are no CONFIG_FILES.
     8447# This happens for instance when ./config.status config.h
     8448if test -n "\$CONFIG_FILES"; then
     8449  # Protect against being on the right side of a sed subst in config.status.
     8450  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     8451   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     8452s,@SHELL@,$SHELL,;t t
     8453s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     8454s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     8455s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     8456s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     8457s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     8458s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     8459s,@exec_prefix@,$exec_prefix,;t t
     8460s,@prefix@,$prefix,;t t
     8461s,@program_transform_name@,$program_transform_name,;t t
     8462s,@bindir@,$bindir,;t t
     8463s,@sbindir@,$sbindir,;t t
     8464s,@libexecdir@,$libexecdir,;t t
     8465s,@datadir@,$datadir,;t t
     8466s,@sysconfdir@,$sysconfdir,;t t
     8467s,@sharedstatedir@,$sharedstatedir,;t t
     8468s,@localstatedir@,$localstatedir,;t t
     8469s,@libdir@,$libdir,;t t
     8470s,@includedir@,$includedir,;t t
     8471s,@oldincludedir@,$oldincludedir,;t t
     8472s,@infodir@,$infodir,;t t
     8473s,@mandir@,$mandir,;t t
     8474s,@build_alias@,$build_alias,;t t
     8475s,@host_alias@,$host_alias,;t t
     8476s,@target_alias@,$target_alias,;t t
     8477s,@DEFS@,$DEFS,;t t
     8478s,@ECHO_C@,$ECHO_C,;t t
     8479s,@ECHO_N@,$ECHO_N,;t t
     8480s,@ECHO_T@,$ECHO_T,;t t
     8481s,@LIBS@,$LIBS,;t t
     8482s,@PACKAGE@,$PACKAGE,;t t
     8483s,@VERSION@,$VERSION,;t t
     8484s,@USE_FASTCGI@,$USE_FASTCGI,;t t
     8485s,@USE_LANGACTION@,$USE_LANGACTION,;t t
     8486s,@USE_CORBA@,$USE_CORBA,;t t
     8487s,@MICO_DIR@,$MICO_DIR,;t t
     8488s,@USE_Z3950@,$USE_Z3950,;t t
     8489s,@USE_YAZ@,$USE_YAZ,;t t
     8490s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t
     8491s,@USE_JDBM@,$USE_JDBM,;t t
     8492s,@USE_GDBM@,$USE_GDBM,;t t
     8493s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
     8494s,@USE_SQLITE@,$USE_SQLITE,;t t
     8495s,@ENABLE_JNI@,$ENABLE_JNI,;t t
     8496s,@ENABLE_MG@,$ENABLE_MG,;t t
     8497s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
     8498s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
     8499s,@LDFLAGS@,$LDFLAGS,;t t
     8500s,@CFLAGS@,$CFLAGS,;t t
     8501s,@CC@,$CC,;t t
     8502s,@CPPFLAGS@,$CPPFLAGS,;t t
     8503s,@ac_ct_CC@,$ac_ct_CC,;t t
     8504s,@EXEEXT@,$EXEEXT,;t t
     8505s,@OBJEXT@,$OBJEXT,;t t
     8506s,@CXX@,$CXX,;t t
     8507s,@CXXFLAGS@,$CXXFLAGS,;t t
     8508s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     8509s,@JAVA@,$JAVA,;t t
     8510s,@uudecode@,$uudecode,;t t
     8511s,@JAVAC@,$JAVAC,;t t
     8512s,@JAVACFLAGS@,$JAVACFLAGS,;t t
     8513s,@AWK@,$AWK,;t t
     8514s,@YACC@,$YACC,;t t
     8515s,@build@,$build,;t t
     8516s,@build_cpu@,$build_cpu,;t t
     8517s,@build_vendor@,$build_vendor,;t t
     8518s,@build_os@,$build_os,;t t
     8519s,@host@,$host,;t t
     8520s,@host_cpu@,$host_cpu,;t t
     8521s,@host_vendor@,$host_vendor,;t t
     8522s,@host_os@,$host_os,;t t
     8523s,@target@,$target,;t t
     8524s,@target_cpu@,$target_cpu,;t t
     8525s,@target_vendor@,$target_vendor,;t t
     8526s,@target_os@,$target_os,;t t
     8527s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     8528s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     8529s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     8530s,@LN_S@,$LN_S,;t t
     8531s,@SET_MAKE@,$SET_MAKE,;t t
     8532s,@RANLIB@,$RANLIB,;t t
     8533s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
     8534s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
     8535s,@MICO_VER@,$MICO_VER,;t t
     8536s,@CPP@,$CPP,;t t
     8537s,@EGREP@,$EGREP,;t t
     8538s,@U@,$U,;t t
     8539s,@ANSI2KNR@,$ANSI2KNR,;t t
     8540s,@ALLOCA@,$ALLOCA,;t t
     8541s,@LIBOBJS@,$LIBOBJS,;t t
     8542s,@STATIC@,$STATIC,;t t
     8543s,@gsdlos@,$gsdlos,;t t
     8544s,@MODULEDIRS@,$MODULEDIRS,;t t
     8545s,@subdirs@,$subdirs,;t t
     8546s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     8547CEOF
     8548
     8549_ACEOF
     8550
     8551  cat >>$CONFIG_STATUS <<\_ACEOF
     8552  # Split the substitutions into bite-sized pieces for seds with
     8553  # small command number limits, like on Digital OSF/1 and HP-UX.
     8554  ac_max_sed_lines=48
     8555  ac_sed_frag=1 # Number of current file.
     8556  ac_beg=1 # First line for current file.
     8557  ac_end=$ac_max_sed_lines # Line after last line for current file.
     8558  ac_more_lines=:
     8559  ac_sed_cmds=
     8560  while $ac_more_lines; do
     8561    if test $ac_beg -gt 1; then
     8562      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8563    else
     8564      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8565    fi
     8566    if test ! -s $tmp/subs.frag; then
     8567      ac_more_lines=false
     8568    else
     8569      # The purpose of the label and of the branching condition is to
     8570      # speed up the sed processing (if there are no `@' at all, there
     8571      # is no need to browse any of the substitutions).
     8572      # These are the two extra sed commands mentioned above.
     8573      (echo ':t
     8574  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     8575      if test -z "$ac_sed_cmds"; then
     8576    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     8577      else
     8578    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     8579      fi
     8580      ac_sed_frag=`expr $ac_sed_frag + 1`
     8581      ac_beg=$ac_end
     8582      ac_end=`expr $ac_end + $ac_max_sed_lines`
     8583    fi
     8584  done
     8585  if test -z "$ac_sed_cmds"; then
     8586    ac_sed_cmds=cat
    74398587  fi
    7440 done
    7441 rm -f conf$$subs.sh
    7442 
    7443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7444 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    7445 _ACEOF
    7446 sed -n '
    7447 h
    7448 s/^/S["/; s/!.*/"]=/
    7449 p
    7450 g
    7451 s/^[^!]*!//
    7452 :repl
    7453 t repl
    7454 s/'"$ac_delim"'$//
    7455 t delim
    7456 :nl
    7457 h
    7458 s/\(.\{148\}\)..*/\1/
    7459 t more1
    7460 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
    7461 p
    7462 n
    7463 b repl
    7464 :more1
    7465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    7466 p
    7467 g
    7468 s/.\{148\}//
    7469 t nl
    7470 :delim
    7471 h
    7472 s/\(.\{148\}\)..*/\1/
    7473 t more2
    7474 s/["\\]/\\&/g; s/^/"/; s/$/"/
    7475 p
    7476 b
    7477 :more2
    7478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    7479 p
    7480 g
    7481 s/.\{148\}//
    7482 t delim
    7483 ' <conf$$subs.awk | sed '
    7484 /^[^""]/{
    7485   N
    7486   s/\n//
    7487 }
    7488 ' >>$CONFIG_STATUS || ac_write_fail=1
    7489 rm -f conf$$subs.awk
    7490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7491 _ACAWK
    7492 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    7493   for (key in S) S_is_set[key] = 1
    7494   FS = ""
    7495 
    7496 }
    7497 {
    7498   line = $ 0
    7499   nfields = split(line, field, "@")
    7500   substed = 0
    7501   len = length(field[1])
    7502   for (i = 2; i < nfields; i++) {
    7503     key = field[i]
    7504     keylen = length(key)
    7505     if (S_is_set[key]) {
    7506       value = S[key]
    7507       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
    7508       len += length(value) + length(field[++i])
    7509       substed = 1
    7510     } else
    7511       len += 1 + keylen
    7512   }
    7513 
    7514   print line
    7515 }
    7516 
    7517 _ACAWK
    7518 _ACEOF
    7519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7520 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
    7521   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
    7522 else
    7523   cat
    7524 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    7525   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    7526 _ACEOF
    7527 
    7528 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
    7529 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    7530 # trailing colons and then remove the whole line if VPATH becomes empty
    7531 # (actually we leave an empty line to preserve line numbers).
    7532 if test "x$srcdir" = x.; then
    7533   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
    7534 h
    7535 s///
    7536 s/^/:/
    7537 s/[  ]*$/:/
    7538 s/:\$(srcdir):/:/g
    7539 s/:\${srcdir}:/:/g
    7540 s/:@srcdir@:/:/g
    7541 s/^:*//
    7542 s/:*$//
    7543 x
    7544 s/\(=[   ]*\).*/\1/
    7545 G
    7546 s/\n//
    7547 s/^[^=]*=[   ]*$//
    7548 }'
    7549 fi
    7550 
    7551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    75528588fi # test -n "$CONFIG_FILES"
    75538589
    7554 # Set up the scripts for CONFIG_HEADERS section.
    7555 # No need to generate them if there are no CONFIG_HEADERS.
    7556 # This happens for instance with `./config.status Makefile'.
    7557 if test -n "$CONFIG_HEADERS"; then
    7558 cat >"$tmp/defines.awk" <<\_ACAWK ||
    7559 BEGIN {
    7560 _ACEOF
    7561 
    7562 # Transform confdefs.h into an awk script `defines.awk', embedded as
    7563 # here-document in config.status, that substitutes the proper values into
    7564 # config.h.in to produce config.h.
    7565 
    7566 # Create a delimiter string that does not exist in confdefs.h, to ease
    7567 # handling of long lines.
    7568 ac_delim='%!_!# '
    7569 for ac_last_try in false false :; do
    7570   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    7571   if test -z "$ac_t"; then
    7572     break
    7573   elif $ac_last_try; then
    7574     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    7575   else
    7576     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    7577   fi
    7578 done
    7579 
    7580 # For the awk script, D is an array of macro values keyed by name,
    7581 # likewise P contains macro parameters if any.  Preserve backslash
    7582 # newline sequences.
    7583 
    7584 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    7585 sed -n '
    7586 s/.\{148\}/&'"$ac_delim"'/g
    7587 t rset
    7588 :rset
    7589 s/^[     ]*#[    ]*define[   ][  ]*/ /
    7590 t def
    7591 d
    7592 :def
    7593 s/\\$//
    7594 t bsnl
    7595 s/["\\]/\\&/g
    7596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    7597 D["\1"]=" \3"/p
    7598 s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
    7599 d
    7600 :bsnl
    7601 s/["\\]/\\&/g
    7602 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    7603 D["\1"]=" \3\\\\\\n"\\/p
    7604 t cont
    7605 s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
    7606 t cont
    7607 d
    7608 :cont
    7609 n
    7610 s/.\{148\}/&'"$ac_delim"'/g
    7611 t clear
    7612 :clear
    7613 s/\\$//
    7614 t bsnlc
    7615 s/["\\]/\\&/g; s/^/"/; s/$/"/p
    7616 d
    7617 :bsnlc
    7618 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
    7619 b cont
    7620 ' <confdefs.h | sed '
    7621 s/'"$ac_delim"'/"\\\
    7622 "/g' >>$CONFIG_STATUS || ac_write_fail=1
    7623 
    7624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7625   for (key in D) D_is_set[key] = 1
    7626   FS = ""
    7627 }
    7628 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
    7629   line = \$ 0
    7630   split(line, arg, " ")
    7631   if (arg[1] == "#") {
    7632     defundef = arg[2]
    7633     mac1 = arg[3]
    7634   } else {
    7635     defundef = substr(arg[1], 2)
    7636     mac1 = arg[2]
    7637   }
    7638   split(mac1, mac2, "(") #)
    7639   macro = mac2[1]
    7640   prefix = substr(line, 1, index(line, defundef) - 1)
    7641   if (D_is_set[macro]) {
    7642     # Preserve the white space surrounding the "#".
    7643     print prefix "define", macro P[macro] D[macro]
    7644     next
    7645   } else {
    7646     # Replace #undef with comments.  This is necessary, for example,
    7647     # in the case of _POSIX_SOURCE, which is predefined and required
    7648     # on some systems where configure will not decide to define it.
    7649     if (defundef == "undef") {
    7650       print "/*", prefix defundef, macro, "*/"
    7651       next
    7652     }
    7653   }
    7654 }
    7655 { print }
    7656 _ACAWK
    7657 _ACEOF
    7658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7659   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    7660 fi # test -n "$CONFIG_HEADERS"
    7661 
    7662 
    7663 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
    7664 shift
    7665 for ac_tag
    7666 do
    7667   case $ac_tag in
    7668   :[FHLC]) ac_mode=$ac_tag; continue;;
     8590_ACEOF
     8591cat >>$CONFIG_STATUS <<\_ACEOF
     8592for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     8593  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     8594  case $ac_file in
     8595  - | *:- | *:-:* ) # input from stdin
     8596    cat >$tmp/stdin
     8597    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8598    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8599  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8600    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8601  * )   ac_file_in=$ac_file.in ;;
    76698602  esac
    7670   case $ac_mode$ac_tag in
    7671   :[FHL]*:*);;
    7672   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
    7673   :[FH]-) ac_tag=-:-;;
    7674   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    7675   esac
    7676   ac_save_IFS=$IFS
    7677   IFS=:
    7678   set x $ac_tag
    7679   IFS=$ac_save_IFS
    7680   shift
    7681   ac_file=$1
    7682   shift
    7683 
    7684   case $ac_mode in
    7685   :L) ac_source=$1;;
    7686   :[FH])
    7687     ac_file_inputs=
    7688     for ac_f
    7689     do
    7690       case $ac_f in
    7691       -) ac_f="$tmp/stdin";;
    7692       *) # Look for the file first in the build tree, then in the source tree
    7693      # (if the path is not absolute).  The absolute path cannot be DOS-style,
    7694      # because $ac_f cannot contain `:'.
    7695      test -f "$ac_f" ||
    7696        case $ac_f in
    7697        [\\/$]*) false;;
    7698        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    7699        esac ||
    7700        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
    7701       esac
    7702       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    7703       as_fn_append ac_file_inputs " '$ac_f'"
    7704     done
    7705 
    7706     # Let's still pretend it is `configure' which instantiates (i.e., don't
    7707     # use $as_me), people would be surprised to read:
    7708     #    /* config.h.  Generated by config.status.  */
    7709     configure_input='Generated from '`
    7710       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
    7711     `' by configure.'
    7712     if test x"$ac_file" != x-; then
    7713       configure_input="$ac_file.  $configure_input"
    7714       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    7715 $as_echo "$as_me: creating $ac_file" >&6;}
    7716     fi
    7717     # Neutralize special characters interpreted by sed in replacement strings.
    7718     case $configure_input in #(
    7719     *\&* | *\|* | *\\* )
    7720        ac_sed_conf_input=`$as_echo "$configure_input" |
    7721        sed 's/[\\\\&|]/\\\\&/g'`;; #(
    7722     *) ac_sed_conf_input=$configure_input;;
    7723     esac
    7724 
    7725     case $ac_tag in
    7726     *:-:* | *:-) cat >"$tmp/stdin" \
    7727       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
    7728     esac
    7729     ;;
    7730   esac
    7731 
    7732   ac_dir=`$as_dirname -- "$ac_file" ||
     8603
     8604  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     8605  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    77338606$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    77348607     X"$ac_file" : 'X\(//\)[^/]' \| \
    77358608     X"$ac_file" : 'X\(//\)$' \| \
    7736      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    7737 $as_echo X"$ac_file" |
    7738     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    7739         s//\1/
    7740         q
    7741       }
    7742       /^X\(\/\/\)[^/].*/{
    7743         s//\1/
    7744         q
    7745       }
    7746       /^X\(\/\/\)$/{
    7747         s//\1/
    7748         q
    7749       }
    7750       /^X\(\/\).*/{
    7751         s//\1/
    7752         q
    7753       }
    7754       s/.*/./; q'`
    7755   as_dir="$ac_dir"; as_fn_mkdir_p
     8609     X"$ac_file" : 'X\(/\)' \| \
     8610     .     : '\(.\)' 2>/dev/null ||
     8611echo X"$ac_file" |
     8612    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8613      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8614      /^X\(\/\/\)$/{ s//\1/; q; }
     8615      /^X\(\/\).*/{ s//\1/; q; }
     8616      s/.*/./; q'`
     8617  { if $as_mkdir_p; then
     8618    mkdir -p "$ac_dir"
     8619  else
     8620    as_dir="$ac_dir"
     8621    as_dirs=
     8622    while test ! -d "$as_dir"; do
     8623      as_dirs="$as_dir $as_dirs"
     8624      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8625$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8626     X"$as_dir" : 'X\(//\)[^/]' \| \
     8627     X"$as_dir" : 'X\(//\)$' \| \
     8628     X"$as_dir" : 'X\(/\)' \| \
     8629     .     : '\(.\)' 2>/dev/null ||
     8630echo X"$as_dir" |
     8631    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8632      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8633      /^X\(\/\/\)$/{ s//\1/; q; }
     8634      /^X\(\/\).*/{ s//\1/; q; }
     8635      s/.*/./; q'`
     8636    done
     8637    test ! -n "$as_dirs" || mkdir $as_dirs
     8638  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8639echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8640   { (exit 1); exit 1; }; }; }
     8641
    77568642  ac_builddir=.
    77578643
    7758 case "$ac_dir" in
    7759 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8644if test "$ac_dir" != .; then
     8645  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8646  # A "../" for each directory in $ac_dir_suffix.
     8647  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8648else
     8649  ac_dir_suffix= ac_top_builddir=
     8650fi
     8651
     8652case $srcdir in
     8653  .)  # No --srcdir option.  We are building in place.
     8654    ac_srcdir=.
     8655    if test -z "$ac_top_builddir"; then
     8656       ac_top_srcdir=.
     8657    else
     8658       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8659    fi ;;
     8660  [\\/]* | ?:[\\/]* )  # Absolute path.
     8661    ac_srcdir=$srcdir$ac_dir_suffix;
     8662    ac_top_srcdir=$srcdir ;;
     8663  *) # Relative path.
     8664    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8665    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8666esac
     8667
     8668# Do not use `cd foo && pwd` to compute absolute paths, because
     8669# the directories may not exist.
     8670case `pwd` in
     8671.) ac_abs_builddir="$ac_dir";;
    77608672*)
    7761   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    7762   # A ".." for each directory in $ac_dir_suffix.
    7763   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    7764   case $ac_top_builddir_sub in
    7765   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    7766   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    7767   esac ;;
     8673  case "$ac_dir" in
     8674  .) ac_abs_builddir=`pwd`;;
     8675  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8676  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8677  esac;;
    77688678esac
    7769 ac_abs_top_builddir=$ac_pwd
    7770 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    7771 # for backward compatibility:
    7772 ac_top_builddir=$ac_top_build_prefix
    7773 
    7774 case $srcdir in
    7775   .)  # We are building in place.
    7776     ac_srcdir=.
    7777     ac_top_srcdir=$ac_top_builddir_sub
    7778     ac_abs_top_srcdir=$ac_pwd ;;
    7779   [\\/]* | ?:[\\/]* )  # Absolute name.
    7780     ac_srcdir=$srcdir$ac_dir_suffix;
    7781     ac_top_srcdir=$srcdir
    7782     ac_abs_top_srcdir=$srcdir ;;
    7783   *) # Relative name.
    7784     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    7785     ac_top_srcdir=$ac_top_build_prefix$srcdir
    7786     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8679case $ac_abs_builddir in
     8680.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8681*)
     8682  case ${ac_top_builddir}. in
     8683  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8684  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8685  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8686  esac;;
    77878687esac
    7788 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    7789 
    7790 
    7791   case $ac_mode in
    7792   :F)
    7793   #
    7794   # CONFIG_FILE
    7795   #
     8688case $ac_abs_builddir in
     8689.) ac_abs_srcdir=$ac_srcdir;;
     8690*)
     8691  case $ac_srcdir in
     8692  .) ac_abs_srcdir=$ac_abs_builddir;;
     8693  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8694  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8695  esac;;
     8696esac
     8697case $ac_abs_builddir in
     8698.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8699*)
     8700  case $ac_top_srcdir in
     8701  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8702  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8703  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8704  esac;;
     8705esac
     8706
    77968707
    77978708  case $INSTALL in
    77988709  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    7799   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
     8710  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    78008711  esac
    7801 _ACEOF
    7802 
    7803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7804 # If the template does not know about datarootdir, expand it.
    7805 # FIXME: This hack should be removed a few years after 2.60.
    7806 ac_datarootdir_hack=; ac_datarootdir_seen=
    7807 ac_sed_dataroot='
    7808 /datarootdir/ {
    7809   p
    7810   q
    7811 }
    7812 /@datadir@/p
    7813 /@docdir@/p
    7814 /@infodir@/p
    7815 /@localedir@/p
    7816 /@mandir@/p'
    7817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    7818 *datarootdir*) ac_datarootdir_seen=yes;;
    7819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    7820   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    7821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    7822 _ACEOF
    7823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7824   ac_datarootdir_hack='
    7825   s&@datadir@&$datadir&g
    7826   s&@docdir@&$docdir&g
    7827   s&@infodir@&$infodir&g
    7828   s&@localedir@&$localedir&g
    7829   s&@mandir@&$mandir&g
    7830   s&\\\${datarootdir}&$datarootdir&g' ;;
    7831 esac
    7832 _ACEOF
    7833 
    7834 # Neutralize VPATH when `$srcdir' = `.'.
    7835 # Shell code in configure.ac might set extrasub.
    7836 # FIXME: do we really want to maintain this feature?
    7837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7838 ac_sed_extra="$ac_vpsub
     8712
     8713  if test x"$ac_file" != x-; then
     8714    { echo "$as_me:$LINENO: creating $ac_file" >&5
     8715echo "$as_me: creating $ac_file" >&6;}
     8716    rm -f "$ac_file"
     8717  fi
     8718  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8719  # use $as_me), people would be surprised to read:
     8720  #    /* config.h.  Generated by config.status.  */
     8721  if test x"$ac_file" = x-; then
     8722    configure_input=
     8723  else
     8724    configure_input="$ac_file.  "
     8725  fi
     8726  configure_input=$configure_input"Generated from `echo $ac_file_in |
     8727                     sed 's,.*/,,'` by configure."
     8728
     8729  # First look for the input files in the build tree, otherwise in the
     8730  # src tree.
     8731  ac_file_inputs=`IFS=:
     8732    for f in $ac_file_in; do
     8733      case $f in
     8734      -) echo $tmp/stdin ;;
     8735      [\\/$]*)
     8736     # Absolute (can't be DOS-style, as IFS=:)
     8737     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8738echo "$as_me: error: cannot find input file: $f" >&2;}
     8739   { (exit 1); exit 1; }; }
     8740     echo "$f";;
     8741      *) # Relative
     8742     if test -f "$f"; then
     8743       # Build tree
     8744       echo "$f"
     8745     elif test -f "$srcdir/$f"; then
     8746       # Source tree
     8747       echo "$srcdir/$f"
     8748     else
     8749       # /dev/null tree
     8750       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8751echo "$as_me: error: cannot find input file: $f" >&2;}
     8752   { (exit 1); exit 1; }; }
     8753     fi;;
     8754      esac
     8755    done` || { (exit 1); exit 1; }
     8756_ACEOF
     8757cat >>$CONFIG_STATUS <<_ACEOF
     8758  sed "$ac_vpsub
    78398759$extrasub
    78408760_ACEOF
    7841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     8761cat >>$CONFIG_STATUS <<\_ACEOF
    78428762:t
    78438763/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    7844 s|@configure_input@|$ac_sed_conf_input|;t t
    7845 s&@top_builddir@&$ac_top_builddir_sub&;t t
    7846 s&@top_build_prefix@&$ac_top_build_prefix&;t t
    7847 s&@srcdir@&$ac_srcdir&;t t
    7848 s&@abs_srcdir@&$ac_abs_srcdir&;t t
    7849 s&@top_srcdir@&$ac_top_srcdir&;t t
    7850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
    7851 s&@builddir@&$ac_builddir&;t t
    7852 s&@abs_builddir@&$ac_abs_builddir&;t t
    7853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    7854 s&@INSTALL@&$ac_INSTALL&;t t
    7855 $ac_datarootdir_hack
    7856 "
    7857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    7858   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    7859 
    7860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    7861   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    7862   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    7863   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    7864 which seems to be undefined.  Please make sure it is defined" >&5
    7865 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    7866 which seems to be undefined.  Please make sure it is defined" >&2;}
    7867 
    7868   rm -f "$tmp/stdin"
     8764s,@configure_input@,$configure_input,;t t
     8765s,@srcdir@,$ac_srcdir,;t t
     8766s,@abs_srcdir@,$ac_abs_srcdir,;t t
     8767s,@top_srcdir@,$ac_top_srcdir,;t t
     8768s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     8769s,@builddir@,$ac_builddir,;t t
     8770s,@abs_builddir@,$ac_abs_builddir,;t t
     8771s,@top_builddir@,$ac_top_builddir,;t t
     8772s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     8773s,@INSTALL@,$ac_INSTALL,;t t
     8774" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     8775  rm -f $tmp/stdin
     8776  if test x"$ac_file" != x-; then
     8777    mv $tmp/out $ac_file
     8778  else
     8779    cat $tmp/out
     8780    rm -f $tmp/out
     8781  fi
     8782
     8783done
     8784_ACEOF
     8785cat >>$CONFIG_STATUS <<\_ACEOF
     8786
     8787#
     8788# CONFIG_HEADER section.
     8789#
     8790
     8791# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     8792# NAME is the cpp macro being defined and VALUE is the value it is being given.
     8793#
     8794# ac_d sets the value in "#define NAME VALUE" lines.
     8795ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
     8796ac_dB='[     ].*$,\1#\2'
     8797ac_dC=' '
     8798ac_dD=',;t'
     8799# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     8800ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
     8801ac_uB='$,\1#\2define\3'
     8802ac_uC=' '
     8803ac_uD=',;t'
     8804
     8805for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     8806  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    78698807  case $ac_file in
    7870   -) cat "$tmp/out" && rm -f "$tmp/out";;
    7871   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    7872   esac \
    7873   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    7874  ;;
    7875   :H)
    7876   #
    7877   # CONFIG_HEADER
    7878   #
     8808  - | *:- | *:-:* ) # input from stdin
     8809    cat >$tmp/stdin
     8810    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8811    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8812  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8813    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8814  * )   ac_file_in=$ac_file.in ;;
     8815  esac
     8816
     8817  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
     8818echo "$as_me: creating $ac_file" >&6;}
     8819
     8820  # First look for the input files in the build tree, otherwise in the
     8821  # src tree.
     8822  ac_file_inputs=`IFS=:
     8823    for f in $ac_file_in; do
     8824      case $f in
     8825      -) echo $tmp/stdin ;;
     8826      [\\/$]*)
     8827     # Absolute (can't be DOS-style, as IFS=:)
     8828     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8829echo "$as_me: error: cannot find input file: $f" >&2;}
     8830   { (exit 1); exit 1; }; }
     8831     # Do quote $f, to prevent DOS paths from being IFS'd.
     8832     echo "$f";;
     8833      *) # Relative
     8834     if test -f "$f"; then
     8835       # Build tree
     8836       echo "$f"
     8837     elif test -f "$srcdir/$f"; then
     8838       # Source tree
     8839       echo "$srcdir/$f"
     8840     else
     8841       # /dev/null tree
     8842       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8843echo "$as_me: error: cannot find input file: $f" >&2;}
     8844   { (exit 1); exit 1; }; }
     8845     fi;;
     8846      esac
     8847    done` || { (exit 1); exit 1; }
     8848  # Remove the trailing spaces.
     8849  sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
     8850
     8851_ACEOF
     8852
     8853# Transform confdefs.h into two sed scripts, `conftest.defines' and
     8854# `conftest.undefs', that substitutes the proper values into
     8855# config.h.in to produce config.h.  The first handles `#define'
     8856# templates, and the second `#undef' templates.
     8857# And first: Protect against being on the right side of a sed subst in
     8858# config.status.  Protect against being in an unquoted here document
     8859# in config.status.
     8860rm -f conftest.defines conftest.undefs
     8861# Using a here document instead of a string reduces the quoting nightmare.
     8862# Putting comments in sed scripts is not portable.
     8863#
     8864# `end' is used to avoid that the second main sed command (meant for
     8865# 0-ary CPP macros) applies to n-ary macro definitions.
     8866# See the Autoconf documentation for `clear'.
     8867cat >confdef2sed.sed <<\_ACEOF
     8868s/[\\&,]/\\&/g
     8869s,[\\$`],\\&,g
     8870t clear
     8871: clear
     8872s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     8873t end
     8874s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     8875: end
     8876_ACEOF
     8877# If some macros were called several times there might be several times
     8878# the same #defines, which is useless.  Nevertheless, we may not want to
     8879# sort them, since we want the *last* AC-DEFINE to be honored.
     8880uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
     8881sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
     8882rm -f confdef2sed.sed
     8883
     8884# This sed command replaces #undef with comments.  This is necessary, for
     8885# example, in the case of _POSIX_SOURCE, which is predefined and required
     8886# on some systems where configure will not decide to define it.
     8887cat >>conftest.undefs <<\_ACEOF
     8888s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     8889_ACEOF
     8890
     8891# Break up conftest.defines because some shells have a limit on the size
     8892# of here documents, and old seds have small limits too (100 cmds).
     8893echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
     8894echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     8895echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
     8896echo '  :' >>$CONFIG_STATUS
     8897rm -f conftest.tail
     8898while grep . conftest.defines >/dev/null
     8899do
     8900  # Write a limited-size here document to $tmp/defines.sed.
     8901  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
     8902  # Speed up: don't consider the non `#define' lines.
     8903  echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
     8904  # Work around the forget-to-reset-the-flag bug.
     8905  echo 't clr' >>$CONFIG_STATUS
     8906  echo ': clr' >>$CONFIG_STATUS
     8907  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     8908  echo 'CEOF
     8909  sed -f $tmp/defines.sed $tmp/in >$tmp/out
     8910  rm -f $tmp/in
     8911  mv $tmp/out $tmp/in
     8912' >>$CONFIG_STATUS
     8913  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     8914  rm -f conftest.defines
     8915  mv conftest.tail conftest.defines
     8916done
     8917rm -f conftest.defines
     8918echo '  fi # grep' >>$CONFIG_STATUS
     8919echo >>$CONFIG_STATUS
     8920
     8921# Break up conftest.undefs because some shells have a limit on the size
     8922# of here documents, and old seds have small limits too (100 cmds).
     8923echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
     8924rm -f conftest.tail
     8925while grep . conftest.undefs >/dev/null
     8926do
     8927  # Write a limited-size here document to $tmp/undefs.sed.
     8928  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
     8929  # Speed up: don't consider the non `#undef'
     8930  echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     8931  # Work around the forget-to-reset-the-flag bug.
     8932  echo 't clr' >>$CONFIG_STATUS
     8933  echo ': clr' >>$CONFIG_STATUS
     8934  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
     8935  echo 'CEOF
     8936  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
     8937  rm -f $tmp/in
     8938  mv $tmp/out $tmp/in
     8939' >>$CONFIG_STATUS
     8940  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
     8941  rm -f conftest.undefs
     8942  mv conftest.tail conftest.undefs
     8943done
     8944rm -f conftest.undefs
     8945
     8946cat >>$CONFIG_STATUS <<\_ACEOF
     8947  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8948  # use $as_me), people would be surprised to read:
     8949  #    /* config.h.  Generated by config.status.  */
     8950  if test x"$ac_file" = x-; then
     8951    echo "/* Generated by configure.  */" >$tmp/config.h
     8952  else
     8953    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     8954  fi
     8955  cat $tmp/in >>$tmp/config.h
     8956  rm -f $tmp/in
    78798957  if test x"$ac_file" != x-; then
    7880     {
    7881       $as_echo "/* $configure_input  */" \
    7882       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    7883     } >"$tmp/config.h" \
    7884       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    7885     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    7886       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    7887 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     8958    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     8959      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     8960echo "$as_me: $ac_file is unchanged" >&6;}
    78888961    else
    7889       rm -f "$ac_file"
    7890       mv "$tmp/config.h" "$ac_file" \
    7891     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     8962      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8963$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8964     X"$ac_file" : 'X\(//\)[^/]' \| \
     8965     X"$ac_file" : 'X\(//\)$' \| \
     8966     X"$ac_file" : 'X\(/\)' \| \
     8967     .     : '\(.\)' 2>/dev/null ||
     8968echo X"$ac_file" |
     8969    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8970      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8971      /^X\(\/\/\)$/{ s//\1/; q; }
     8972      /^X\(\/\).*/{ s//\1/; q; }
     8973      s/.*/./; q'`
     8974      { if $as_mkdir_p; then
     8975    mkdir -p "$ac_dir"
     8976  else
     8977    as_dir="$ac_dir"
     8978    as_dirs=
     8979    while test ! -d "$as_dir"; do
     8980      as_dirs="$as_dir $as_dirs"
     8981      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8982$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8983     X"$as_dir" : 'X\(//\)[^/]' \| \
     8984     X"$as_dir" : 'X\(//\)$' \| \
     8985     X"$as_dir" : 'X\(/\)' \| \
     8986     .     : '\(.\)' 2>/dev/null ||
     8987echo X"$as_dir" |
     8988    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8989      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8990      /^X\(\/\/\)$/{ s//\1/; q; }
     8991      /^X\(\/\).*/{ s//\1/; q; }
     8992      s/.*/./; q'`
     8993    done
     8994    test ! -n "$as_dirs" || mkdir $as_dirs
     8995  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8996echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8997   { (exit 1); exit 1; }; }; }
     8998
     8999      rm -f $ac_file
     9000      mv $tmp/config.h $ac_file
    78929001    fi
    78939002  else
    7894     $as_echo "/* $configure_input  */" \
    7895       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    7896       || as_fn_error $? "could not create -" "$LINENO" 5
     9003    cat $tmp/config.h
     9004    rm -f $tmp/config.h
    78979005  fi
    7898  ;;
    7899 
    7900 
    7901   esac
    7902 
    7903 done # for ac_tag
    7904 
    7905 
    7906 as_fn_exit 0
    7907 _ACEOF
     9006done
     9007_ACEOF
     9008
     9009cat >>$CONFIG_STATUS <<\_ACEOF
     9010
     9011{ (exit 0); exit 0; }
     9012_ACEOF
     9013chmod +x $CONFIG_STATUS
    79089014ac_clean_files=$ac_clean_files_save
    7909 
    7910 test $ac_write_fail = 0 ||
    7911   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    79129015
    79139016
     
    79309033  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    79319034  # would make configure fail if this is the last instruction.
    7932   $ac_cs_success || as_fn_exit 1
     9035  $ac_cs_success || { (exit 1); exit 1; }
    79339036fi
    79349037
     
    79389041if test "$no_recursion" != yes; then
    79399042
    7940   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
    7941   # so they do not pile up.
     9043  # Remove --cache-file and --srcdir arguments so they do not pile up.
    79429044  ac_sub_configure_args=
    79439045  ac_prev=
    7944   eval "set x $ac_configure_args"
    7945   shift
    7946   for ac_arg
    7947   do
     9046  for ac_arg in $ac_configure_args; do
    79489047    if test -n "$ac_prev"; then
    79499048      ac_prev=
     
    79689067    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    79699068      ;;
    7970     --disable-option-checking)
    7971       ;;
    7972     *)
    7973       case $ac_arg in
    7974       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    7975       esac
    7976       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
     9069    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    79779070    esac
    79789071  done
     
    79809073  # Always prepend --prefix to ensure using the same prefix
    79819074  # in subdir configurations.
    7982   ac_arg="--prefix=$prefix"
    7983   case $ac_arg in
    7984   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    7985   esac
    7986   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
    7987 
    7988   # Pass --silent
    7989   if test "$silent" = yes; then
    7990     ac_sub_configure_args="--silent $ac_sub_configure_args"
    7991   fi
    7992 
    7993   # Always prepend --disable-option-checking to silence warnings, since
    7994   # different subdirs can have different --enable and --with options.
    7995   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
     9075  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
    79969076
    79979077  ac_popdir=`pwd`
     
    80009080    # Do not complain, so a configure script can configure whichever
    80019081    # parts of a large source tree are present.
    8002     test -d "$srcdir/$ac_dir" || continue
    8003 
    8004     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    8005     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
    8006     $as_echo "$ac_msg" >&6
    8007     as_dir="$ac_dir"; as_fn_mkdir_p
     9082    test -d $srcdir/$ac_dir || continue
     9083
     9084    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
     9085echo "$as_me: configuring in $ac_dir" >&6;}
     9086    { if $as_mkdir_p; then
     9087    mkdir -p "$ac_dir"
     9088  else
     9089    as_dir="$ac_dir"
     9090    as_dirs=
     9091    while test ! -d "$as_dir"; do
     9092      as_dirs="$as_dir $as_dirs"
     9093      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     9094$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     9095     X"$as_dir" : 'X\(//\)[^/]' \| \
     9096     X"$as_dir" : 'X\(//\)$' \| \
     9097     X"$as_dir" : 'X\(/\)' \| \
     9098     .     : '\(.\)' 2>/dev/null ||
     9099echo X"$as_dir" |
     9100    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     9101      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     9102      /^X\(\/\/\)$/{ s//\1/; q; }
     9103      /^X\(\/\).*/{ s//\1/; q; }
     9104      s/.*/./; q'`
     9105    done
     9106    test ! -n "$as_dirs" || mkdir $as_dirs
     9107  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     9108echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     9109   { (exit 1); exit 1; }; }; }
     9110
    80089111    ac_builddir=.
    80099112
    8010 case "$ac_dir" in
    8011 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9113if test "$ac_dir" != .; then
     9114  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     9115  # A "../" for each directory in $ac_dir_suffix.
     9116  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     9117else
     9118  ac_dir_suffix= ac_top_builddir=
     9119fi
     9120
     9121case $srcdir in
     9122  .)  # No --srcdir option.  We are building in place.
     9123    ac_srcdir=.
     9124    if test -z "$ac_top_builddir"; then
     9125       ac_top_srcdir=.
     9126    else
     9127       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     9128    fi ;;
     9129  [\\/]* | ?:[\\/]* )  # Absolute path.
     9130    ac_srcdir=$srcdir$ac_dir_suffix;
     9131    ac_top_srcdir=$srcdir ;;
     9132  *) # Relative path.
     9133    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     9134    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     9135esac
     9136
     9137# Do not use `cd foo && pwd` to compute absolute paths, because
     9138# the directories may not exist.
     9139case `pwd` in
     9140.) ac_abs_builddir="$ac_dir";;
    80129141*)
    8013   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    8014   # A ".." for each directory in $ac_dir_suffix.
    8015   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    8016   case $ac_top_builddir_sub in
    8017   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    8018   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    8019   esac ;;
     9142  case "$ac_dir" in
     9143  .) ac_abs_builddir=`pwd`;;
     9144  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     9145  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     9146  esac;;
    80209147esac
    8021 ac_abs_top_builddir=$ac_pwd
    8022 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    8023 # for backward compatibility:
    8024 ac_top_builddir=$ac_top_build_prefix
    8025 
    8026 case $srcdir in
    8027   .)  # We are building in place.
    8028     ac_srcdir=.
    8029     ac_top_srcdir=$ac_top_builddir_sub
    8030     ac_abs_top_srcdir=$ac_pwd ;;
    8031   [\\/]* | ?:[\\/]* )  # Absolute name.
    8032     ac_srcdir=$srcdir$ac_dir_suffix;
    8033     ac_top_srcdir=$srcdir
    8034     ac_abs_top_srcdir=$srcdir ;;
    8035   *) # Relative name.
    8036     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    8037     ac_top_srcdir=$ac_top_build_prefix$srcdir
    8038     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     9148case $ac_abs_builddir in
     9149.) ac_abs_top_builddir=${ac_top_builddir}.;;
     9150*)
     9151  case ${ac_top_builddir}. in
     9152  .) ac_abs_top_builddir=$ac_abs_builddir;;
     9153  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     9154  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     9155  esac;;
    80399156esac
    8040 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    8041 
    8042 
    8043     cd "$ac_dir"
     9157case $ac_abs_builddir in
     9158.) ac_abs_srcdir=$ac_srcdir;;
     9159*)
     9160  case $ac_srcdir in
     9161  .) ac_abs_srcdir=$ac_abs_builddir;;
     9162  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     9163  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     9164  esac;;
     9165esac
     9166case $ac_abs_builddir in
     9167.) ac_abs_top_srcdir=$ac_top_srcdir;;
     9168*)
     9169  case $ac_top_srcdir in
     9170  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     9171  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     9172  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     9173  esac;;
     9174esac
     9175
     9176
     9177    cd $ac_dir
    80449178
    80459179    # Check for guested configure; otherwise get Cygnus style configure.
    8046     if test -f "$ac_srcdir/configure.gnu"; then
    8047       ac_sub_configure=$ac_srcdir/configure.gnu
    8048     elif test -f "$ac_srcdir/configure"; then
    8049       ac_sub_configure=$ac_srcdir/configure
    8050     elif test -f "$ac_srcdir/configure.in"; then
    8051       # This should be Cygnus configure.
    8052       ac_sub_configure=$ac_aux_dir/configure
     9180    if test -f $ac_srcdir/configure.gnu; then
     9181      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
     9182    elif test -f $ac_srcdir/configure; then
     9183      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
     9184    elif test -f $ac_srcdir/configure.in; then
     9185      ac_sub_configure=$ac_configure
    80539186    else
    8054       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
    8055 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     9187      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     9188echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    80569189      ac_sub_configure=
    80579190    fi
     
    80629195      case $cache_file in
    80639196      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    8064       *) # Relative name.
    8065     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
     9197      *) # Relative path.
     9198    ac_sub_cache_file=$ac_top_builddir$cache_file ;;
    80669199      esac
    80679200
    8068       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    8069 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     9201      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     9202echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    80709203      # The eval makes quoting arguments work.
    8071       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    8072        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    8073     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
     9204      eval $ac_sub_configure $ac_sub_configure_args \
     9205       --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
     9206    { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
     9207echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     9208   { (exit 1); exit 1; }; }
    80749209    fi
    80759210
    8076     cd "$ac_popdir"
     9211    cd $ac_popdir
    80779212  done
    80789213fi
    8079 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    8080   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    8081 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    8082 fi
    8083 
    8084 
    8085 
     9214
     9215
     9216
Note: See TracChangeset for help on using the changeset viewer.