Changeset 23802


Ignore:
Timestamp:
2011-03-23T14:10:02+13:00 (13 years ago)
Author:
ak19
Message:

Added enable/disable-wvware flag to affected configure and Makefiles files in build-src, build-src/packages and top-level GS2, so we can turn off wvware compiling (such as for 64 bit Mac OS Snow Leopard Update 3 machines - MacOS 10.6.3 and over). By default wvware compilation is enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/configure

    r23356 r23802  
    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
    557274# Factoring default headers for most tests.
    558275ac_includes_default="\
    559276#include <stdio.h>
    560 #ifdef HAVE_SYS_TYPES_H
     277#if HAVE_SYS_TYPES_H
    561278# include <sys/types.h>
    562279#endif
    563 #ifdef HAVE_SYS_STAT_H
     280#if HAVE_SYS_STAT_H
    564281# include <sys/stat.h>
    565282#endif
    566 #ifdef STDC_HEADERS
     283#if STDC_HEADERS
    567284# include <stdlib.h>
    568285# include <stddef.h>
    569286#else
    570 # ifdef HAVE_STDLIB_H
     287# if HAVE_STDLIB_H
    571288#  include <stdlib.h>
    572289# endif
    573290#endif
    574 #ifdef HAVE_STRING_H
    575 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     291#if HAVE_STRING_H
     292# if !STDC_HEADERS && HAVE_MEMORY_H
    576293#  include <memory.h>
    577294# endif
    578295# include <string.h>
    579296#endif
    580 #ifdef HAVE_STRINGS_H
     297#if HAVE_STRINGS_H
    581298# include <strings.h>
    582299#endif
    583 #ifdef HAVE_INTTYPES_H
     300#if HAVE_INTTYPES_H
    584301# include <inttypes.h>
     302#else
     303# if HAVE_STDINT_H
     304#  include <stdint.h>
     305# endif
    585306#endif
    586 #ifdef HAVE_STDINT_H
    587 # include <stdint.h>
    588 #endif
    589 #ifdef HAVE_UNISTD_H
     307#if HAVE_UNISTD_H
    590308# include <unistd.h>
    591309#endif"
    592310
    593 enable_option_checking=no
    594 ac_subst_vars='LTLIBOBJS
    595 subdirs
    596 MODULEDIRS
    597 gsdlos
    598 STATIC
    599 LIBOBJS
    600 ALLOCA
    601 ANSI2KNR
    602 U
    603 EGREP
    604 GREP
    605 CPP
    606 MICO_VER
    607 COMPAT32BITFLAGS
    608 RANLIB
    609 SET_MAKE
    610 LN_S
    611 INSTALL_DATA
    612 INSTALL_SCRIPT
    613 INSTALL_PROGRAM
    614 target_os
    615 target_vendor
    616 target_cpu
    617 target
    618 host_os
    619 host_vendor
    620 host_cpu
    621 host
    622 build_os
    623 build_vendor
    624 build_cpu
    625 build
    626 YFLAGS
    627 YACC
    628 AWK
    629 ac_ct_CXX
    630 CXXFLAGS
    631 CXX
    632 OBJEXT
    633 EXEEXT
    634 ac_ct_CC
    635 CPPFLAGS
    636 CC
    637 CFLAGS
    638 LDFLAGS
    639 ENABLE_LUCENE
    640 ENABLE_MGPP
    641 ENABLE_MG
    642 ENABLE_JNI
    643 USE_APACHE_HTTPD
    644 USE_SQLITE
    645 ENABLE_ACCENTFOLD
    646 USE_GDBM
    647 USE_JDBM
    648 USE_YAZ
    649 USE_Z3950
    650 ENABLE_JAVA
    651 MICO_DIR
    652 USE_CORBA
    653 USE_LANGACTION
    654 USE_FASTCGI
    655 VERSION
    656 PACKAGE
    657 target_alias
    658 host_alias
    659 build_alias
    660 LIBS
    661 ECHO_T
    662 ECHO_N
    663 ECHO_C
    664 DEFS
    665 mandir
    666 localedir
    667 libdir
    668 psdir
    669 pdfdir
    670 dvidir
    671 htmldir
    672 infodir
    673 docdir
    674 oldincludedir
    675 includedir
    676 localstatedir
    677 sharedstatedir
    678 sysconfdir
    679 datadir
    680 datarootdir
    681 libexecdir
    682 sbindir
    683 bindir
    684 program_transform_name
    685 prefix
    686 exec_prefix
    687 PACKAGE_URL
    688 PACKAGE_BUGREPORT
    689 PACKAGE_STRING
    690 PACKAGE_VERSION
    691 PACKAGE_TARNAME
    692 PACKAGE_NAME
    693 PATH_SEPARATOR
    694 SHELL'
     311ac_subdirs_all="$ac_subdirs_all common-src"
     312ac_subdirs_all="$ac_subdirs_all build-src"
     313ac_subdirs_all="$ac_subdirs_all runtime-src"
     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 ENABLE_JAVA USE_Z3950 USE_YAZ USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX 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'
    695315ac_subst_files=''
    696 ac_user_opts='
    697 enable_option_checking
    698 enable_corba
    699 with_micodir
    700 enable_java
    701 enable_z3950
    702 enable_yaz
    703 enable_jdbm
    704 enable_gdbm
    705 enable_accentfold
    706 enable_sqlite
    707 enable_apache_httpd
    708 enable_jni
    709 enable_mg
    710 enable_mgpp
    711 enable_lucene
    712 with_dmalloc
    713 with_regex
    714 '
    715       ac_precious_vars='build_alias
    716 host_alias
    717 target_alias
    718 CC
    719 CFLAGS
    720 LDFLAGS
    721 LIBS
    722 CPPFLAGS
    723 CXX
    724 CXXFLAGS
    725 CCC
    726 YACC
    727 YFLAGS
    728 CPP'
    729 ac_subdirs_all='common-src
    730 build-src
    731 runtime-src'
    732316
    733317# Initialize some variables set by options.
    734318ac_init_help=
    735319ac_init_version=false
    736 ac_unrecognized_opts=
    737 ac_unrecognized_sep=
    738320# The variables have the same names as the options, with
    739321# dashes changed to underlines.
     
    758340# by default will actually change.
    759341# Use braces instead of parens because sh, perl, etc. also accept them.
    760 # (The list follows the same order as the GNU Coding Standards.)
    761342bindir='${exec_prefix}/bin'
    762343sbindir='${exec_prefix}/sbin'
    763344libexecdir='${exec_prefix}/libexec'
    764 datarootdir='${prefix}/share'
    765 datadir='${datarootdir}'
     345datadir='${prefix}/share'
    766346sysconfdir='${prefix}/etc'
    767347sharedstatedir='${prefix}/com'
    768348localstatedir='${prefix}/var'
     349libdir='${exec_prefix}/lib'
    769350includedir='${prefix}/include'
    770351oldincludedir='/usr/include'
    771 docdir='${datarootdir}/doc/${PACKAGE}'
    772 infodir='${datarootdir}/info'
    773 htmldir='${docdir}'
    774 dvidir='${docdir}'
    775 pdfdir='${docdir}'
    776 psdir='${docdir}'
    777 libdir='${exec_prefix}/lib'
    778 localedir='${datarootdir}/locale'
    779 mandir='${datarootdir}/man'
     352infodir='${prefix}/info'
     353mandir='${prefix}/man'
    780354
    781355ac_prev=
    782 ac_dashdash=
    783356for ac_option
    784357do
    785358  # If the previous option needs an argument, assign it.
    786359  if test -n "$ac_prev"; then
    787     eval $ac_prev=\$ac_option
     360    eval "$ac_prev=\$ac_option"
    788361    ac_prev=
    789362    continue
    790363  fi
    791364
     365  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     366
     367  # Accept the important Cygnus configure options, so we can diagnose typos.
     368
    792369  case $ac_option in
    793   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    794   *=)   ac_optarg= ;;
    795   *)    ac_optarg=yes ;;
    796   esac
    797 
    798   # Accept the important Cygnus configure options, so we can diagnose typos.
    799 
    800   case $ac_dashdash$ac_option in
    801   --)
    802     ac_dashdash=yes ;;
    803370
    804371  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    822389    cache_file=config.cache ;;
    823390
    824   -datadir | --datadir | --datadi | --datad)
     391  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    825392    ac_prev=datadir ;;
    826   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     393  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     394  | --da=*)
    827395    datadir=$ac_optarg ;;
    828396
    829   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    830   | --dataroo | --dataro | --datar)
    831     ac_prev=datarootdir ;;
    832   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    833   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    834     datarootdir=$ac_optarg ;;
    835 
    836397  -disable-* | --disable-*)
    837     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     398    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    838399    # Reject names that are not valid shell variable names.
    839     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    840       as_fn_error $? "invalid feature name: $ac_useropt"
    841     ac_useropt_orig=$ac_useropt
    842     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    843     case $ac_user_opts in
    844       *"
    845 "enable_$ac_useropt"
    846 "*) ;;
    847       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    848      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 ;;
    849416    esac
    850     eval enable_$ac_useropt=no ;;
    851 
    852   -docdir | --docdir | --docdi | --doc | --do)
    853     ac_prev=docdir ;;
    854   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    855     docdir=$ac_optarg ;;
    856 
    857   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    858     ac_prev=dvidir ;;
    859   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    860     dvidir=$ac_optarg ;;
    861 
    862   -enable-* | --enable-*)
    863     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    864     # Reject names that are not valid shell variable names.
    865     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    866       as_fn_error $? "invalid feature name: $ac_useropt"
    867     ac_useropt_orig=$ac_useropt
    868     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    869     case $ac_user_opts in
    870       *"
    871 "enable_$ac_useropt"
    872 "*) ;;
    873       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    874      ac_unrecognized_sep=', ';;
    875     esac
    876     eval enable_$ac_useropt=\$ac_optarg ;;
     417    eval "enable_$ac_feature='$ac_optarg'" ;;
    877418
    878419  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    901442    host_alias=$ac_optarg ;;
    902443
    903   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    904     ac_prev=htmldir ;;
    905   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    906   | --ht=*)
    907     htmldir=$ac_optarg ;;
    908 
    909444  -includedir | --includedir | --includedi | --included | --include \
    910445  | --includ | --inclu | --incl | --inc)
     
    931466    libexecdir=$ac_optarg ;;
    932467
    933   -localedir | --localedir | --localedi | --localed | --locale)
    934     ac_prev=localedir ;;
    935   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    936     localedir=$ac_optarg ;;
    937 
    938468  -localstatedir | --localstatedir | --localstatedi | --localstated \
    939   | --localstate | --localstat | --localsta | --localst | --locals)
     469  | --localstate | --localstat | --localsta | --localst \
     470  | --locals | --local | --loca | --loc | --lo)
    940471    ac_prev=localstatedir ;;
    941472  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    942   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     473  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     474  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    943475    localstatedir=$ac_optarg ;;
    944476
     
    1005537    program_transform_name=$ac_optarg ;;
    1006538
    1007   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    1008     ac_prev=pdfdir ;;
    1009   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    1010     pdfdir=$ac_optarg ;;
    1011 
    1012   -psdir | --psdir | --psdi | --psd | --ps)
    1013     ac_prev=psdir ;;
    1014   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    1015     psdir=$ac_optarg ;;
    1016 
    1017539  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1018540  | -silent | --silent | --silen | --sile | --sil)
     
    1065587
    1066588  -with-* | --with-*)
    1067     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     589    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1068590    # Reject names that are not valid shell variable names.
    1069     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1070       as_fn_error $? "invalid package name: $ac_useropt"
    1071     ac_useropt_orig=$ac_useropt
    1072     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1073     case $ac_user_opts in
    1074       *"
    1075 "with_$ac_useropt"
    1076 "*) ;;
    1077       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
    1078      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 ;;
    1079598    esac
    1080     eval with_$ac_useropt=\$ac_optarg ;;
     599    eval "with_$ac_package='$ac_optarg'" ;;
    1081600
    1082601  -without-* | --without-*)
    1083     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     602    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1084603    # Reject names that are not valid shell variable names.
    1085     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1086       as_fn_error $? "invalid package name: $ac_useropt"
    1087     ac_useropt_orig=$ac_useropt
    1088     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1089     case $ac_user_opts in
    1090       *"
    1091 "with_$ac_useropt"
    1092 "*) ;;
    1093       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
    1094      ac_unrecognized_sep=', ';;
    1095     esac
    1096     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" ;;
    1097609
    1098610  --x)
     
    1114626    x_libraries=$ac_optarg ;;
    1115627
    1116   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1117 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; }; }
    1118631    ;;
    1119632
     
    1121634    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    1122635    # Reject names that are not valid shell variable names.
    1123     case $ac_envvar in #(
    1124       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1125       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1126     esac
    1127     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'"
    1128641    export $ac_envvar ;;
    1129642
    1130643  *)
    1131644    # FIXME: should be removed in autoconf 3.0.
    1132     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     645    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    1133646    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1134       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     647      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1135648    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    1136649    ;;
     
    1141654if test -n "$ac_prev"; then
    1142655  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1143   as_fn_error $? "missing argument to $ac_option"
    1144 fi
    1145 
    1146 if test -n "$ac_unrecognized_opts"; then
    1147   case $enable_option_checking in
    1148     no) ;;
    1149     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    1150     *)     $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; }; };;
    1151668  esac
    1152 fi
    1153 
    1154 # Check all directory arguments for consistency.
    1155 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1156         datadir sysconfdir sharedstatedir localstatedir includedir \
    1157         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1158         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
    1159674do
    1160   eval ac_val=\$$ac_var
    1161   # Remove trailing slashes.
     675  eval ac_val=$`echo $ac_var`
    1162676  case $ac_val in
    1163     */ )
    1164       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
    1165       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; }; };;
    1166680  esac
    1167   # Be sure to have absolute directory names.
    1168   case $ac_val in
    1169     [\\/$]* | ?:[\\/]* )  continue;;
    1170     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    1171   esac
    1172   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    1173681done
    1174682
     
    1184692  if test "x$build_alias" = x; then
    1185693    cross_compiling=maybe
    1186     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1187     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
    1188696  elif test "x$build_alias" != "x$host_alias"; then
    1189697    cross_compiling=yes
     
    1197705
    1198706
    1199 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1200 ac_ls_di=`ls -di .` &&
    1201 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1202   as_fn_error $? "working directory cannot be determined"
    1203 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1204   as_fn_error $? "pwd does not report name of working directory"
    1205 
    1206 
    1207707# Find the source files, if location was not specified.
    1208708if test -z "$srcdir"; then
    1209709  ac_srcdir_defaulted=yes
    1210   # Try the directory containing this script, then the parent directory.
    1211   ac_confdir=`$as_dirname -- "$as_myself" ||
    1212 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1213      X"$as_myself" : 'X\(//\)[^/]' \| \
    1214      X"$as_myself" : 'X\(//\)$' \| \
    1215      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
    1216 $as_echo X"$as_myself" |
    1217     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1218         s//\1/
    1219         q
    1220       }
    1221       /^X\(\/\/\)[^/].*/{
    1222         s//\1/
    1223         q
    1224       }
    1225       /^X\(\/\/\)$/{
    1226         s//\1/
    1227         q
    1228       }
    1229       /^X\(\/\).*/{
    1230         s//\1/
    1231         q
    1232       }
    1233       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'`
    1234723  srcdir=$ac_confdir
    1235   if test ! -r "$srcdir/$ac_unique_file"; then
     724  if test ! -r $srcdir/$ac_unique_file; then
    1236725    srcdir=..
    1237726  fi
     
    1239728  ac_srcdir_defaulted=no
    1240729fi
    1241 if test ! -r "$srcdir/$ac_unique_file"; then
    1242   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1243   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    1244 fi
    1245 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1246 ac_abs_confdir=`(
    1247     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    1248     pwd)`
    1249 # When building in place, set srcdir=.
    1250 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1251   srcdir=.
    1252 fi
    1253 # Remove unnecessary trailing slashes from srcdir.
    1254 # Double slashes in file names in object file debugging info
    1255 # mess up M-x gdb in Emacs.
    1256 case $srcdir in
    1257 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1258 esac
    1259 for ac_var in $ac_precious_vars; do
    1260   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1261   eval ac_env_${ac_var}_value=\$${ac_var}
    1262   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1263   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1264 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
    1265783
    1266784#
     
    1285803      --help=recursive    display the short help of all the included packages
    1286804  -V, --version           display version information and exit
    1287   -q, --quiet, --silent   do not print \`checking ...' messages
     805  -q, --quiet, --silent   do not print \`checking...' messages
    1288806      --cache-file=FILE   cache test results in FILE [disabled]
    1289807  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    1291809      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1292810
     811_ACEOF
     812
     813  cat <<_ACEOF
    1293814Installation directories:
    1294815  --prefix=PREFIX         install architecture-independent files in PREFIX
    1295                           [$ac_default_prefix]
     816              [$ac_default_prefix]
    1296817  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1297                           [PREFIX]
     818              [PREFIX]
    1298819
    1299820By default, \`make install' will install all the files in
     
    1305826
    1306827Fine tuning of the installation directories:
    1307   --bindir=DIR            user executables [EPREFIX/bin]
    1308   --sbindir=DIR           system admin executables [EPREFIX/sbin]
    1309   --libexecdir=DIR        program executables [EPREFIX/libexec]
    1310   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
    1311   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    1312   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
    1313   --libdir=DIR            object code libraries [EPREFIX/lib]
    1314   --includedir=DIR        C header files [PREFIX/include]
    1315   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
    1316   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
    1317   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
    1318   --infodir=DIR           info documentation [DATAROOTDIR/info]
    1319   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
    1320   --mandir=DIR            man documentation [DATAROOTDIR/man]
    1321   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
    1322   --htmldir=DIR           html documentation [DOCDIR]
    1323   --dvidir=DIR            dvi documentation [DOCDIR]
    1324   --pdfdir=DIR            pdf documentation [DOCDIR]
    1325   --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]
    1326840_ACEOF
    1327841
     
    1340854
    1341855Optional Features:
    1342   --disable-option-checking  ignore unrecognized --enable/--with options
    1343856  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1344857  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    1347860  --enable-z3950          Enable Z39.50 client support
    1348861  --disable-yaz           Disable YAZ compilation
     862  --disable-wvware          Disable wvWare compilation
    1349863  --disable-jdbm          Disable JDBM compilation
    1350864  --disable-gdbm          Disable GDBM compilation
     
    1370884  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1371885              nonstandard directory <lib dir>
    1372   LIBS        libraries to pass to the linker, e.g. -l<library>
    1373   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    1374               you have headers in a nonstandard directory <include dir>
     886  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     887              headers in a nonstandard directory <include dir>
    1375888  CXX         C++ compiler command
    1376889  CXXFLAGS    C++ compiler flags
    1377   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1378               the first program found out of: `bison -y', `byacc', `yacc'.
    1379   YFLAGS      The list of arguments that will be passed by default to $YACC.
    1380               This script will default YFLAGS to the empty string to avoid a
    1381               default value of `-d' given by some make applications.
    1382890  CPP         C preprocessor
    1383891
     
    1385893it to find libraries and programs with nonstandard names/locations.
    1386894
    1387 Report bugs to the package provider.
    1388 _ACEOF
    1389 ac_status=$?
     895_ACEOF
    1390896fi
    1391897
    1392898if test "$ac_init_help" = "recursive"; then
    1393899  # If there are subdirs, report their specific --help.
     900  ac_popdir=`pwd`
    1394901  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1395     test -d "$ac_dir" ||
    1396       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
    1397       continue
     902    test -d $ac_dir || continue
    1398903    ac_builddir=.
    1399904
    1400 case "$ac_dir" in
    1401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     905if test "$ac_dir" != .; then
     906  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     907  # A "../" for each directory in $ac_dir_suffix.
     908  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     909else
     910  ac_dir_suffix= ac_top_builddir=
     911fi
     912
     913case $srcdir in
     914  .)  # No --srcdir option.  We are building in place.
     915    ac_srcdir=.
     916    if test -z "$ac_top_builddir"; then
     917       ac_top_srcdir=.
     918    else
     919       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     920    fi ;;
     921  [\\/]* | ?:[\\/]* )  # Absolute path.
     922    ac_srcdir=$srcdir$ac_dir_suffix;
     923    ac_top_srcdir=$srcdir ;;
     924  *) # Relative path.
     925    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     926    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     927esac
     928
     929# Do not use `cd foo && pwd` to compute absolute paths, because
     930# the directories may not exist.
     931case `pwd` in
     932.) ac_abs_builddir="$ac_dir";;
    1402933*)
    1403   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    1404   # A ".." for each directory in $ac_dir_suffix.
    1405   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    1406   case $ac_top_builddir_sub in
    1407   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1408   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1409   esac ;;
     934  case "$ac_dir" in
     935  .) ac_abs_builddir=`pwd`;;
     936  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     937  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     938  esac;;
    1410939esac
    1411 ac_abs_top_builddir=$ac_pwd
    1412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1413 # for backward compatibility:
    1414 ac_top_builddir=$ac_top_build_prefix
    1415 
    1416 case $srcdir in
    1417   .)  # We are building in place.
    1418     ac_srcdir=.
    1419     ac_top_srcdir=$ac_top_builddir_sub
    1420     ac_abs_top_srcdir=$ac_pwd ;;
    1421   [\\/]* | ?:[\\/]* )  # Absolute name.
    1422     ac_srcdir=$srcdir$ac_dir_suffix;
    1423     ac_top_srcdir=$srcdir
    1424     ac_abs_top_srcdir=$srcdir ;;
    1425   *) # Relative name.
    1426     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1427     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1428     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     940case $ac_abs_builddir in
     941.) ac_abs_top_builddir=${ac_top_builddir}.;;
     942*)
     943  case ${ac_top_builddir}. in
     944  .) ac_abs_top_builddir=$ac_abs_builddir;;
     945  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     946  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     947  esac;;
    1429948esac
    1430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1431 
    1432     cd "$ac_dir" || { ac_status=$?; continue; }
    1433     # Check for guested configure.
    1434     if test -f "$ac_srcdir/configure.gnu"; then
    1435       echo &&
    1436       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1437     elif test -f "$ac_srcdir/configure"; then
    1438       echo &&
    1439       $SHELL "$ac_srcdir/configure" --help=recursive
     949case $ac_abs_builddir in
     950.) ac_abs_srcdir=$ac_srcdir;;
     951*)
     952  case $ac_srcdir in
     953  .) ac_abs_srcdir=$ac_abs_builddir;;
     954  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     955  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     956  esac;;
     957esac
     958case $ac_abs_builddir in
     959.) ac_abs_top_srcdir=$ac_top_srcdir;;
     960*)
     961  case $ac_top_srcdir in
     962  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     963  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     964  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     965  esac;;
     966esac
     967
     968    cd $ac_dir
     969    # Check for guested configure; otherwise get Cygnus style configure.
     970    if test -f $ac_srcdir/configure.gnu; then
     971      echo
     972      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     973    elif test -f $ac_srcdir/configure; then
     974      echo
     975      $SHELL $ac_srcdir/configure  --help=recursive
     976    elif test -f $ac_srcdir/configure.ac ||
     977       test -f $ac_srcdir/configure.in; then
     978      echo
     979      $ac_configure --help
    1440980    else
    1441       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1442     fi || ac_status=$?
    1443     cd "$ac_pwd" || { ac_status=$?; break; }
     981      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     982    fi
     983    cd $ac_popdir
    1444984  done
    1445985fi
    1446986
    1447 test -n "$ac_init_help" && exit $ac_status
     987test -n "$ac_init_help" && exit 0
    1448988if $ac_init_version; then
    1449989  cat <<\_ACEOF
    1450 configure
    1451 generated by GNU Autoconf 2.67
    1452 
    1453 Copyright (C) 2010 Free Software Foundation, Inc.
     990
     991Copyright (C) 2003 Free Software Foundation, Inc.
    1454992This configure script is free software; the Free Software Foundation
    1455993gives unlimited permission to copy, distribute and modify it.
    1456994_ACEOF
    1457   exit
    1458 fi
    1459 
    1460 ## ------------------------ ##
    1461 ## Autoconf initialization. ##
    1462 ## ------------------------ ##
    1463 
    1464 # ac_fn_c_try_compile LINENO
    1465 # --------------------------
    1466 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1467 ac_fn_c_try_compile ()
    1468 {
    1469   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1470   rm -f conftest.$ac_objext
    1471   if { { ac_try="$ac_compile"
    1472 case "(($ac_try" in
    1473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1474   *) ac_try_echo=$ac_try;;
    1475 esac
    1476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1477 $as_echo "$ac_try_echo"; } >&5
    1478   (eval "$ac_compile") 2>conftest.err
    1479   ac_status=$?
    1480   if test -s conftest.err; then
    1481     grep -v '^ *+' conftest.err >conftest.er1
    1482     cat conftest.er1 >&5
    1483     mv -f conftest.er1 conftest.err
    1484   fi
    1485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1486   test $ac_status = 0; } && {
    1487      test -z "$ac_c_werror_flag" ||
    1488      test ! -s conftest.err
    1489        } && test -s conftest.$ac_objext; then :
    1490   ac_retval=0
    1491 else
    1492   $as_echo "$as_me: failed program was:" >&5
    1493 sed 's/^/| /' conftest.$ac_ext >&5
    1494 
    1495     ac_retval=1
    1496 fi
    1497   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1498   as_fn_set_status $ac_retval
    1499 
    1500 } # ac_fn_c_try_compile
    1501 
    1502 # ac_fn_cxx_try_compile LINENO
    1503 # ----------------------------
    1504 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1505 ac_fn_cxx_try_compile ()
    1506 {
    1507   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1508   rm -f conftest.$ac_objext
    1509   if { { ac_try="$ac_compile"
    1510 case "(($ac_try" in
    1511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1512   *) ac_try_echo=$ac_try;;
    1513 esac
    1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1515 $as_echo "$ac_try_echo"; } >&5
    1516   (eval "$ac_compile") 2>conftest.err
    1517   ac_status=$?
    1518   if test -s conftest.err; then
    1519     grep -v '^ *+' conftest.err >conftest.er1
    1520     cat conftest.er1 >&5
    1521     mv -f conftest.er1 conftest.err
    1522   fi
    1523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1524   test $ac_status = 0; } && {
    1525      test -z "$ac_cxx_werror_flag" ||
    1526      test ! -s conftest.err
    1527        } && test -s conftest.$ac_objext; then :
    1528   ac_retval=0
    1529 else
    1530   $as_echo "$as_me: failed program was:" >&5
    1531 sed 's/^/| /' conftest.$ac_ext >&5
    1532 
    1533     ac_retval=1
    1534 fi
    1535   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1536   as_fn_set_status $ac_retval
    1537 
    1538 } # ac_fn_cxx_try_compile
    1539 
    1540 # ac_fn_c_try_cpp LINENO
    1541 # ----------------------
    1542 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1543 ac_fn_c_try_cpp ()
    1544 {
    1545   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1546   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1547 case "(($ac_try" in
    1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1549   *) ac_try_echo=$ac_try;;
    1550 esac
    1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1552 $as_echo "$ac_try_echo"; } >&5
    1553   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1554   ac_status=$?
    1555   if test -s conftest.err; then
    1556     grep -v '^ *+' conftest.err >conftest.er1
    1557     cat conftest.er1 >&5
    1558     mv -f conftest.er1 conftest.err
    1559   fi
    1560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1561   test $ac_status = 0; } > conftest.i && {
    1562      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1563      test ! -s conftest.err
    1564        }; then :
    1565   ac_retval=0
    1566 else
    1567   $as_echo "$as_me: failed program was:" >&5
    1568 sed 's/^/| /' conftest.$ac_ext >&5
    1569 
    1570     ac_retval=1
    1571 fi
    1572   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1573   as_fn_set_status $ac_retval
    1574 
    1575 } # ac_fn_c_try_cpp
    1576 
    1577 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1578 # -------------------------------------------------------
    1579 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1580 # the include files in INCLUDES and setting the cache variable VAR
    1581 # accordingly.
    1582 ac_fn_c_check_header_mongrel ()
    1583 {
    1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1585   if eval "test \"\${$3+set}\"" = set; then :
    1586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1587 $as_echo_n "checking for $2... " >&6; }
    1588 if eval "test \"\${$3+set}\"" = set; then :
    1589   $as_echo_n "(cached) " >&6
    1590 fi
    1591 eval ac_res=\$$3
    1592            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1593 $as_echo "$ac_res" >&6; }
    1594 else
    1595   # Is the header compilable?
    1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1597 $as_echo_n "checking $2 usability... " >&6; }
    1598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1599 /* end confdefs.h.  */
    1600 $4
    1601 #include <$2>
    1602 _ACEOF
    1603 if ac_fn_c_try_compile "$LINENO"; then :
    1604   ac_header_compiler=yes
    1605 else
    1606   ac_header_compiler=no
    1607 fi
    1608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1610 $as_echo "$ac_header_compiler" >&6; }
    1611 
    1612 # Is the header present?
    1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1614 $as_echo_n "checking $2 presence... " >&6; }
    1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1616 /* end confdefs.h.  */
    1617 #include <$2>
    1618 _ACEOF
    1619 if ac_fn_c_try_cpp "$LINENO"; then :
    1620   ac_header_preproc=yes
    1621 else
    1622   ac_header_preproc=no
    1623 fi
    1624 rm -f conftest.err conftest.i conftest.$ac_ext
    1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1626 $as_echo "$ac_header_preproc" >&6; }
    1627 
    1628 # So?  What about this header?
    1629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1630   yes:no: )
    1631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1632 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1635     ;;
    1636   no:yes:* )
    1637     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1638 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1639     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1640 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1641     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1642 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1643     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1644 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1645     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1647     ;;
    1648 esac
    1649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1650 $as_echo_n "checking for $2... " >&6; }
    1651 if eval "test \"\${$3+set}\"" = set; then :
    1652   $as_echo_n "(cached) " >&6
    1653 else
    1654   eval "$3=\$ac_header_compiler"
    1655 fi
    1656 eval ac_res=\$$3
    1657            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1658 $as_echo "$ac_res" >&6; }
    1659 fi
    1660   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1661 
    1662 } # ac_fn_c_check_header_mongrel
    1663 
    1664 # ac_fn_c_try_run LINENO
    1665 # ----------------------
    1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1667 # that executables *can* be run.
    1668 ac_fn_c_try_run ()
    1669 {
    1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1671   if { { ac_try="$ac_link"
    1672 case "(($ac_try" in
    1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1674   *) ac_try_echo=$ac_try;;
    1675 esac
    1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1677 $as_echo "$ac_try_echo"; } >&5
    1678   (eval "$ac_link") 2>&5
    1679   ac_status=$?
    1680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1681   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1682   { { case "(($ac_try" in
    1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1684   *) ac_try_echo=$ac_try;;
    1685 esac
    1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1687 $as_echo "$ac_try_echo"; } >&5
    1688   (eval "$ac_try") 2>&5
    1689   ac_status=$?
    1690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1691   test $ac_status = 0; }; }; then :
    1692   ac_retval=0
    1693 else
    1694   $as_echo "$as_me: program exited with status $ac_status" >&5
    1695        $as_echo "$as_me: failed program was:" >&5
    1696 sed 's/^/| /' conftest.$ac_ext >&5
    1697 
    1698        ac_retval=$ac_status
    1699 fi
    1700   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1701   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1702   as_fn_set_status $ac_retval
    1703 
    1704 } # ac_fn_c_try_run
    1705 
    1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1707 # -------------------------------------------------------
    1708 # Tests whether HEADER exists and can be compiled using the include files in
    1709 # INCLUDES, setting the cache variable VAR accordingly.
    1710 ac_fn_c_check_header_compile ()
    1711 {
    1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1714 $as_echo_n "checking for $2... " >&6; }
    1715 if eval "test \"\${$3+set}\"" = set; then :
    1716   $as_echo_n "(cached) " >&6
    1717 else
    1718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1719 /* end confdefs.h.  */
    1720 $4
    1721 #include <$2>
    1722 _ACEOF
    1723 if ac_fn_c_try_compile "$LINENO"; then :
    1724   eval "$3=yes"
    1725 else
    1726   eval "$3=no"
    1727 fi
    1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1729 fi
    1730 eval ac_res=\$$3
    1731            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1732 $as_echo "$ac_res" >&6; }
    1733   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1734 
    1735 } # ac_fn_c_check_header_compile
    1736 
    1737 # ac_fn_c_try_link LINENO
    1738 # -----------------------
    1739 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1740 ac_fn_c_try_link ()
    1741 {
    1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1743   rm -f conftest.$ac_objext conftest$ac_exeext
    1744   if { { ac_try="$ac_link"
    1745 case "(($ac_try" in
    1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1747   *) ac_try_echo=$ac_try;;
    1748 esac
    1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1750 $as_echo "$ac_try_echo"; } >&5
    1751   (eval "$ac_link") 2>conftest.err
    1752   ac_status=$?
    1753   if test -s conftest.err; then
    1754     grep -v '^ *+' conftest.err >conftest.er1
    1755     cat conftest.er1 >&5
    1756     mv -f conftest.er1 conftest.err
    1757   fi
    1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1759   test $ac_status = 0; } && {
    1760      test -z "$ac_c_werror_flag" ||
    1761      test ! -s conftest.err
    1762        } && test -s conftest$ac_exeext && {
    1763      test "$cross_compiling" = yes ||
    1764      $as_test_x conftest$ac_exeext
    1765        }; then :
    1766   ac_retval=0
    1767 else
    1768   $as_echo "$as_me: failed program was:" >&5
    1769 sed 's/^/| /' conftest.$ac_ext >&5
    1770 
    1771     ac_retval=1
    1772 fi
    1773   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1774   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1775   # interfere with the next link command; also delete a directory that is
    1776   # left behind by Apple's compiler.  We do this before executing the actions.
    1777   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1778   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1779   as_fn_set_status $ac_retval
    1780 
    1781 } # ac_fn_c_try_link
    1782 
    1783 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1784 # -------------------------------------------
    1785 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1786 # variable VAR accordingly.
    1787 ac_fn_c_check_type ()
    1788 {
    1789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1791 $as_echo_n "checking for $2... " >&6; }
    1792 if eval "test \"\${$3+set}\"" = set; then :
    1793   $as_echo_n "(cached) " >&6
    1794 else
    1795   eval "$3=no"
    1796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1797 /* end confdefs.h.  */
    1798 $4
    1799 int
    1800 main ()
    1801 {
    1802 if (sizeof ($2))
    1803      return 0;
    1804   ;
    1805   return 0;
    1806 }
    1807 _ACEOF
    1808 if ac_fn_c_try_compile "$LINENO"; then :
    1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1810 /* end confdefs.h.  */
    1811 $4
    1812 int
    1813 main ()
    1814 {
    1815 if (sizeof (($2)))
    1816         return 0;
    1817   ;
    1818   return 0;
    1819 }
    1820 _ACEOF
    1821 if ac_fn_c_try_compile "$LINENO"; then :
    1822 
    1823 else
    1824   eval "$3=yes"
    1825 fi
    1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1827 fi
    1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1829 fi
    1830 eval ac_res=\$$3
    1831            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1832 $as_echo "$ac_res" >&6; }
    1833   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1834 
    1835 } # ac_fn_c_check_type
    1836 
    1837 # ac_fn_c_check_func LINENO FUNC VAR
    1838 # ----------------------------------
    1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1840 ac_fn_c_check_func ()
    1841 {
    1842   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1844 $as_echo_n "checking for $2... " >&6; }
    1845 if eval "test \"\${$3+set}\"" = set; then :
    1846   $as_echo_n "(cached) " >&6
    1847 else
    1848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1849 /* end confdefs.h.  */
    1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1852 #define $2 innocuous_$2
    1853 
    1854 /* System header to define __stub macros and hopefully few prototypes,
    1855     which can conflict with char $2 (); below.
    1856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1857     <limits.h> exists even on freestanding compilers.  */
    1858 
    1859 #ifdef __STDC__
    1860 # include <limits.h>
    1861 #else
    1862 # include <assert.h>
    1863 #endif
    1864 
    1865 #undef $2
    1866 
    1867 /* Override any GCC internal prototype to avoid an error.
    1868    Use char because int might match the return type of a GCC
    1869    builtin and then its argument prototype would still apply.  */
    1870 #ifdef __cplusplus
    1871 extern "C"
    1872 #endif
    1873 char $2 ();
    1874 /* The GNU C library defines this for functions which it implements
    1875     to always fail with ENOSYS.  Some functions are actually named
    1876     something starting with __ and the normal name is an alias.  */
    1877 #if defined __stub_$2 || defined __stub___$2
    1878 choke me
    1879 #endif
    1880 
    1881 int
    1882 main ()
    1883 {
    1884 return $2 ();
    1885   ;
    1886   return 0;
    1887 }
    1888 _ACEOF
    1889 if ac_fn_c_try_link "$LINENO"; then :
    1890   eval "$3=yes"
    1891 else
    1892   eval "$3=no"
    1893 fi
    1894 rm -f core conftest.err conftest.$ac_objext \
    1895     conftest$ac_exeext conftest.$ac_ext
    1896 fi
    1897 eval ac_res=\$$3
    1898            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1899 $as_echo "$ac_res" >&6; }
    1900   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1901 
    1902 } # ac_fn_c_check_func
    1903 
    1904 # ac_fn_cxx_try_run LINENO
    1905 # ------------------------
    1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1907 # that executables *can* be run.
    1908 ac_fn_cxx_try_run ()
    1909 {
    1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1911   if { { ac_try="$ac_link"
    1912 case "(($ac_try" in
    1913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1914   *) ac_try_echo=$ac_try;;
    1915 esac
    1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1917 $as_echo "$ac_try_echo"; } >&5
    1918   (eval "$ac_link") 2>&5
    1919   ac_status=$?
    1920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1921   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1922   { { case "(($ac_try" in
    1923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1924   *) ac_try_echo=$ac_try;;
    1925 esac
    1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1927 $as_echo "$ac_try_echo"; } >&5
    1928   (eval "$ac_try") 2>&5
    1929   ac_status=$?
    1930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1931   test $ac_status = 0; }; }; then :
    1932   ac_retval=0
    1933 else
    1934   $as_echo "$as_me: program exited with status $ac_status" >&5
    1935        $as_echo "$as_me: failed program was:" >&5
    1936 sed 's/^/| /' conftest.$ac_ext >&5
    1937 
    1938        ac_retval=$ac_status
    1939 fi
    1940   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1941   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1942   as_fn_set_status $ac_retval
    1943 
    1944 } # ac_fn_cxx_try_run
    1945 cat >config.log <<_ACEOF
     995  exit 0
     996fi
     997exec 5>config.log
     998cat >&5 <<_ACEOF
    1946999This file contains any messages produced by compilers while
    19471000running configure, to aid debugging if configure makes a mistake.
    19481001
    19491002It was created by $as_me, which was
    1950 generated by GNU Autoconf 2.67.  Invocation command line was
     1003generated by GNU Autoconf 2.59.  Invocation command line was
    19511004
    19521005  $ $0 $@
    19531006
    19541007_ACEOF
    1955 exec 5>>config.log
    19561008{
    19571009cat <<_ASUNAME
     
    19721024/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    19731025/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1974 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1026hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    19751027/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    19761028/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    19841036  IFS=$as_save_IFS
    19851037  test -z "$as_dir" && as_dir=.
    1986     $as_echo "PATH: $as_dir"
    1987   done
    1988 IFS=$as_save_IFS
     1038  echo "PATH: $as_dir"
     1039done
    19891040
    19901041} >&5
     
    20081059ac_configure_args0=
    20091060ac_configure_args1=
     1061ac_sep=
    20101062ac_must_keep_next=false
    20111063for ac_pass in 1 2
     
    20181070    | -silent | --silent | --silen | --sile | --sil)
    20191071      continue ;;
    2020     *\'*)
    2021       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1072    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1073      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    20221074    esac
    20231075    case $ac_pass in
    2024     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1076    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    20251077    2)
    2026       as_fn_append ac_configure_args1 " '$ac_arg'"
     1078      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    20271079      if test $ac_must_keep_next = true; then
    20281080    ac_must_keep_next=false # Got value, back to normal.
     
    20401092    esac
    20411093      fi
    2042       as_fn_append ac_configure_args " '$ac_arg'"
     1094      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1095      # Get rid of the leading space.
     1096      ac_sep=" "
    20431097      ;;
    20441098    esac
    20451099  done
    20461100done
    2047 { ac_configure_args0=; unset ac_configure_args0;}
    2048 { ac_configure_args1=; unset ac_configure_args1;}
     1101$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1102$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    20491103
    20501104# When interrupted or exit'd, cleanup temporary files, and complete
    20511105# config.log.  We remove comments because anyway the quotes in there
    20521106# would cause problems or look ugly.
    2053 # WARNING: Use '\'' to represent an apostrophe within the trap.
    2054 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1107# WARNING: Be sure not to use single quotes in there, as some shells,
     1108# such as our DU 5.0 friend, will then `close' the trap.
    20551109trap 'exit_status=$?
    20561110  # Save into config.log some information that might help in debugging.
     
    20581112    echo
    20591113
    2060     $as_echo "## ---------------- ##
     1114    cat <<\_ASBOX
     1115## ---------------- ##
    20611116## Cache variables. ##
    2062 ## ---------------- ##"
     1117## ---------------- ##
     1118_ASBOX
    20631119    echo
    20641120    # The following way of writing the cache mishandles newlines in values,
    2065 (
    2066   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    2067     eval ac_val=\$$ac_var
    2068     case $ac_val in #(
    2069     *${as_nl}*)
    2070       case $ac_var in #(
    2071       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    2072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    2073       esac
    2074       case $ac_var in #(
    2075       _ | IFS | as_nl) ;; #(
    2076       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2077       *) { eval $ac_var=; unset $ac_var;} ;;
    2078       esac ;;
    2079     esac
    2080   done
     1121{
    20811122  (set) 2>&1 |
    2082     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    2083     *${as_nl}ac_space=\ *)
     1123    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1124    *ac_space=\ *)
    20841125      sed -n \
    2085     "s/'\''/'\''\\\\'\'''\''/g;
    2086       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    2087       ;; #(
     1126    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1127      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1128      ;;
    20881129    *)
    2089       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1130      sed -n \
     1131    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    20901132      ;;
    2091     esac |
    2092     sort
    2093 )
     1133    esac;
     1134}
    20941135    echo
    20951136
    2096     $as_echo "## ----------------- ##
     1137    cat <<\_ASBOX
     1138## ----------------- ##
    20971139## Output variables. ##
    2098 ## ----------------- ##"
     1140## ----------------- ##
     1141_ASBOX
    20991142    echo
    21001143    for ac_var in $ac_subst_vars
    21011144    do
    2102       eval ac_val=\$$ac_var
    2103       case $ac_val in
    2104       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2105       esac
    2106       $as_echo "$ac_var='\''$ac_val'\''"
     1145      eval ac_val=$`echo $ac_var`
     1146      echo "$ac_var='"'"'$ac_val'"'"'"
    21071147    done | sort
    21081148    echo
    21091149
    21101150    if test -n "$ac_subst_files"; then
    2111       $as_echo "## ------------------- ##
    2112 ## File substitutions. ##
    2113 ## ------------------- ##"
     1151      cat <<\_ASBOX
     1152## ------------- ##
     1153## Output files. ##
     1154## ------------- ##
     1155_ASBOX
    21141156      echo
    21151157      for ac_var in $ac_subst_files
    21161158      do
    2117     eval ac_val=\$$ac_var
    2118     case $ac_val in
    2119     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2120     esac
    2121     $as_echo "$ac_var='\''$ac_val'\''"
     1159    eval ac_val=$`echo $ac_var`
     1160    echo "$ac_var='"'"'$ac_val'"'"'"
    21221161      done | sort
    21231162      echo
     
    21251164
    21261165    if test -s confdefs.h; then
    2127       $as_echo "## ----------- ##
     1166      cat <<\_ASBOX
     1167## ----------- ##
    21281168## confdefs.h. ##
    2129 ## ----------- ##"
     1169## ----------- ##
     1170_ASBOX
    21301171      echo
    2131       cat confdefs.h
     1172      sed "/^$/d" confdefs.h | sort
    21321173      echo
    21331174    fi
    21341175    test "$ac_signal" != 0 &&
    2135       $as_echo "$as_me: caught signal $ac_signal"
    2136     $as_echo "$as_me: exit $exit_status"
     1176      echo "$as_me: caught signal $ac_signal"
     1177    echo "$as_me: exit $exit_status"
    21371178  } >&5
    2138   rm -f core *.core core.conftest.* &&
    2139     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1179  rm -f core *.core &&
     1180  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    21401181    exit $exit_status
    2141 ' 0
     1182     ' 0
    21421183for ac_signal in 1 2 13 15; do
    2143   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1184  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    21441185done
    21451186ac_signal=0
    21461187
    21471188# confdefs.h avoids OS command line length limits that DEFS can exceed.
    2148 rm -f -r conftest* confdefs.h
    2149 
    2150 $as_echo "/* confdefs.h */" > confdefs.h
     1189rm -rf conftest* confdefs.h
     1190# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1191echo >confdefs.h
    21511192
    21521193# Predefined preprocessor variables.
     
    21561197_ACEOF
    21571198
     1199
    21581200cat >>confdefs.h <<_ACEOF
    21591201#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    21601202_ACEOF
    21611203
     1204
    21621205cat >>confdefs.h <<_ACEOF
    21631206#define PACKAGE_VERSION "$PACKAGE_VERSION"
    21641207_ACEOF
    21651208
     1209
    21661210cat >>confdefs.h <<_ACEOF
    21671211#define PACKAGE_STRING "$PACKAGE_STRING"
    21681212_ACEOF
    21691213
     1214
    21701215cat >>confdefs.h <<_ACEOF
    21711216#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    21721217_ACEOF
    21731218
    2174 cat >>confdefs.h <<_ACEOF
    2175 #define PACKAGE_URL "$PACKAGE_URL"
    2176 _ACEOF
    2177 
    21781219
    21791220# Let the site file select an alternate cache file if it wants to.
    2180 # Prefer an explicitly selected file to automatically selected ones.
    2181 ac_site_file1=NONE
    2182 ac_site_file2=NONE
    2183 if test -n "$CONFIG_SITE"; then
    2184   # We do not want a PATH search for config.site.
    2185   case $CONFIG_SITE in #((
    2186     -*)  ac_site_file1=./$CONFIG_SITE;;
    2187     */*) ac_site_file1=$CONFIG_SITE;;
    2188     *)   ac_site_file1=./$CONFIG_SITE;;
    2189   esac
    2190 elif test "x$prefix" != xNONE; then
    2191   ac_site_file1=$prefix/share/config.site
    2192   ac_site_file2=$prefix/etc/config.site
    2193 else
    2194   ac_site_file1=$ac_default_prefix/share/config.site
    2195   ac_site_file2=$ac_default_prefix/etc/config.site
    2196 fi
    2197 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    2198 do
    2199   test "x$ac_site_file" = xNONE && continue
    2200   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2201     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    2202 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     1221# Prefer explicitly selected file to automatically selected ones.
     1222if test -z "$CONFIG_SITE"; then
     1223  if test "x$prefix" != xNONE; then
     1224    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1225  else
     1226    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1227  fi
     1228fi
     1229for ac_site_file in $CONFIG_SITE; do
     1230  if test -r "$ac_site_file"; then
     1231    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1232echo "$as_me: loading site script $ac_site_file" >&6;}
    22031233    sed 's/^/| /' "$ac_site_file" >&5
    2204     . "$ac_site_file" \
    2205       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2207 as_fn_error $? "failed to load site script $ac_site_file
    2208 See \`config.log' for more details" "$LINENO" 5 ; }
     1234    . "$ac_site_file"
    22091235  fi
    22101236done
    22111237
    22121238if test -r "$cache_file"; then
    2213   # Some versions of bash will fail to source /dev/null (special files
    2214   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2215   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2216     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    2217 $as_echo "$as_me: loading cache $cache_file" >&6;}
     1239  # Some versions of bash will fail to source /dev/null (special
     1240  # files actually), so we avoid doing that.
     1241  if test -f "$cache_file"; then
     1242    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1243echo "$as_me: loading cache $cache_file" >&6;}
    22181244    case $cache_file in
    2219       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    2220       *)                      . "./$cache_file";;
     1245      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1246      *)                      . ./$cache_file;;
    22211247    esac
    22221248  fi
    22231249else
    2224   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    2225 $as_echo "$as_me: creating cache $cache_file" >&6;}
     1250  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1251echo "$as_me: creating cache $cache_file" >&6;}
    22261252  >$cache_file
    22271253fi
     
    22301256# value.
    22311257ac_cache_corrupted=false
    2232 for ac_var in $ac_precious_vars; do
     1258for ac_var in `(set) 2>&1 |
     1259           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    22331260  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    22341261  eval ac_new_set=\$ac_env_${ac_var}_set
    2235   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    2236   eval ac_new_val=\$ac_env_${ac_var}_value
     1262  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1263  eval ac_new_val="\$ac_env_${ac_var}_value"
    22371264  case $ac_old_set,$ac_new_set in
    22381265    set,)
    2239       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    2240 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1266      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1267echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    22411268      ac_cache_corrupted=: ;;
    22421269    ,set)
    2243       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    2244 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1270      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1271echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    22451272      ac_cache_corrupted=: ;;
    22461273    ,);;
    22471274    *)
    22481275      if test "x$ac_old_val" != "x$ac_new_val"; then
    2249     # differences in whitespace do not lead to failure.
    2250     ac_old_val_w=`echo x $ac_old_val`
    2251     ac_new_val_w=`echo x $ac_new_val`
    2252     if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2253       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    2254 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    2255       ac_cache_corrupted=:
    2256     else
    2257       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    2258 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    2259       eval $ac_var=\$ac_old_val
    2260     fi
    2261     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    2262 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2263     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    2264 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
     1276    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1277echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1278    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1279echo "$as_me:   former value:  $ac_old_val" >&2;}
     1280    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1281echo "$as_me:   current value: $ac_new_val" >&2;}
     1282    ac_cache_corrupted=:
    22651283      fi;;
    22661284  esac
     
    22681286  if test "$ac_new_set" = set; then
    22691287    case $ac_new_val in
    2270     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1288    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1289      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    22711290    *) ac_arg=$ac_var=$ac_new_val ;;
    22721291    esac
    22731292    case " $ac_configure_args " in
    22741293      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2275       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1294      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    22761295    esac
    22771296  fi
    22781297done
    22791298if $ac_cache_corrupted; then
    2280   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2282   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    2283 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2284   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2285 fi
    2286 ## -------------------- ##
    2287 ## Main body of script. ##
    2288 ## -------------------- ##
     1299  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1300echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1301  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1302echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1303   { (exit 1); exit 1; }; }
     1304fi
    22891305
    22901306ac_ext=c
     
    22951311
    22961312
    2297 ac_config_headers="$ac_config_headers config.h"
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324
     1325
     1326
     1327
     1328
     1329
     1330          ac_config_headers="$ac_config_headers config.h"
    22981331
    22991332
     
    23141347USE_FASTCGI=0
    23151348if test USE_FASTCGI = 1; then
    2316 $as_echo "#define USE_FASTCGI 1" >>confdefs.h
     1349cat >>confdefs.h <<\_ACEOF
     1350#define USE_FASTCGI 1
     1351_ACEOF
    23171352
    23181353
     
    23201355
    23211356if test USE_LANGACTION = 1; then
    2322 $as_echo "#define USE_LANGACTION 1" >>confdefs.h
    2323 
    2324 
    2325 fi
    2326 
    2327 # Check whether --enable-corba was given.
    2328 if test "${enable_corba+set}" = set; then :
    2329   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
    23301368else
    23311369  USE_CORBA=no
    2332 fi
    2333 
     1370fi;
    23341371if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    23351372  USE_CORBA=1
    2336   $as_echo "#define USE_CORBA /**/" >>confdefs.h
     1373  cat >>confdefs.h <<\_ACEOF
     1374#define USE_CORBA
     1375_ACEOF
    23371376
    23381377else
     
    23421381
    23431382
    2344 # Check whether --with-micodir was given.
    2345 if test "${with_micodir+set}" = set; then :
    2346   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
    23471387else
    23481388  MICO_DIR="default"
    2349 fi
    2350 
     1389fi;
    23511390cat >>confdefs.h <<_ACEOF
    23521391#define MICO_DIR "$MICO_DIR"
     
    23551394
    23561395
    2357 # Check whether --enable-java was given.
    2358 if test "${enable_java+set}" = set; then :
    2359   enableval=$enable_java; ENABLE_JAVA=$enableval
     1396# Check whether --enable-java or --disable-java was given.
     1397if test "${enable_java+set}" = set; then
     1398  enableval="$enable_java"
     1399  ENABLE_JAVA=$enableval
    23601400else
    23611401  ENABLE_JAVA=yes
    2362 fi
    2363 
     1402fi;
    23641403if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
    23651404  ENABLE_JAVA=1
     
    23751414
    23761415
    2377 # Check whether --enable-z3950 was given.
    2378 if test "${enable_z3950+set}" = set; then :
    2379   enableval=$enable_z3950; USE_Z3950=$enableval
     1416# Check whether --enable-z3950 or --disable-z3950 was given.
     1417if test "${enable_z3950+set}" = set; then
     1418  enableval="$enable_z3950"
     1419  USE_Z3950=$enableval
    23801420else
    23811421  USE_Z3950=no
    2382 fi
    2383 
     1422fi;
    23841423if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    23851424  USE_Z3950=1
    2386   $as_echo "#define USE_Z3950 /**/" >>confdefs.h
     1425  cat >>confdefs.h <<\_ACEOF
     1426#define USE_Z3950
     1427_ACEOF
    23871428
    23881429else
     
    23911432
    23921433
    2393 # Check whether --enable-yaz was given.
    2394 if test "${enable_yaz+set}" = set; then :
    2395   enableval=$enable_yaz; USE_YAZ=$enableval
     1434# Check whether --enable-yaz or --disable-yaz was given.
     1435if test "${enable_yaz+set}" = set; then
     1436  enableval="$enable_yaz"
     1437  USE_YAZ=$enableval
    23961438else
    23971439  USE_YAZ=yes
    2398 fi
    2399 
     1440fi;
    24001441if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    24011442  USE_YAZ=1
    2402   $as_echo "#define USE_YAZ /**/" >>confdefs.h
     1443  cat >>confdefs.h <<\_ACEOF
     1444#define USE_YAZ
     1445_ACEOF
    24031446
    24041447else
     
    24071450
    24081451
    2409 # Check whether --enable-jdbm was given.
    2410 if test "${enable_jdbm+set}" = set; then :
    2411   enableval=$enable_jdbm; USE_JDBM=$enableval
     1452# Check whether --enable-wvware or --disable-wvware was given.
     1453if test "${enable_wvware+set}" = set; then
     1454  enableval="$enable_wvware"
     1455  USE_WVWARE=$enableval
     1456else
     1457  USE_WVWARE=yes
     1458fi;
     1459if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then
     1460  USE_WVWARE=1
     1461  cat >>confdefs.h <<\_ACEOF
     1462#define USE_WVWARE
     1463_ACEOF
     1464
     1465else
     1466  USE_WVWARE=0
     1467fi
     1468
     1469
     1470# Check whether --enable-jdbm or --disable-jdbm was given.
     1471if test "${enable_jdbm+set}" = set; then
     1472  enableval="$enable_jdbm"
     1473  USE_JDBM=$enableval
    24121474else
    24131475  USE_JDBM=yes
    2414 fi
    2415 
     1476fi;
    24161477if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    24171478  USE_JDBM=1
    2418   $as_echo "#define USE_JDBM /**/" >>confdefs.h
     1479  cat >>confdefs.h <<\_ACEOF
     1480#define USE_JDBM
     1481_ACEOF
    24191482
    24201483else
     
    24231486
    24241487
    2425 # Check whether --enable-gdbm was given.
    2426 if test "${enable_gdbm+set}" = set; then :
    2427   enableval=$enable_gdbm; USE_GDBM=$enableval
     1488# Check whether --enable-gdbm or --disable-gdbm was given.
     1489if test "${enable_gdbm+set}" = set; then
     1490  enableval="$enable_gdbm"
     1491  USE_GDBM=$enableval
    24281492else
    24291493  USE_GDBM=yes
    2430 fi
    2431 
     1494fi;
    24321495if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    24331496  USE_GDBM=1
    2434   $as_echo "#define USE_GDBM /**/" >>confdefs.h
     1497  cat >>confdefs.h <<\_ACEOF
     1498#define USE_GDBM
     1499_ACEOF
    24351500
    24361501else
     
    24391504
    24401505
    2441 # Check whether --enable-accentfold was given.
    2442 if test "${enable_accentfold+set}" = set; then :
    2443   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
     1506# Check whether --enable-accentfold or --disable-accentfold was given.
     1507if test "${enable_accentfold+set}" = set; then
     1508  enableval="$enable_accentfold"
     1509  ENABLE_ACCENTFOLD=$enableval
    24441510else
    24451511  ENABLE_ACCENTFOLD=yes
    2446 fi
    2447 
     1512fi;
    24481513if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    24491514  ENABLE_ACCENTFOLD=1
    2450   $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
     1515  cat >>confdefs.h <<\_ACEOF
     1516#define ENABLE_ACCENTFOLD
     1517_ACEOF
    24511518
    24521519else
     
    24551522
    24561523
    2457 # Check whether --enable-sqlite was given.
    2458 if test "${enable_sqlite+set}" = set; then :
    2459   enableval=$enable_sqlite; USE_SQLITE=$enableval
     1524# Check whether --enable-sqlite or --disable-sqlite was given.
     1525if test "${enable_sqlite+set}" = set; then
     1526  enableval="$enable_sqlite"
     1527  USE_SQLITE=$enableval
    24601528else
    24611529  USE_SQLITE=yes
    2462 fi
    2463 
     1530fi;
    24641531if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    24651532  USE_SQLITE=1
    2466   $as_echo "#define USE_SQLITE /**/" >>confdefs.h
     1533  cat >>confdefs.h <<\_ACEOF
     1534#define USE_SQLITE
     1535_ACEOF
    24671536
    24681537else
     
    24721541
    24731542if test -d runtime-src; then
    2474    # Check whether --enable-apache-httpd was given.
    2475 if test "${enable_apache_httpd+set}" = set; then :
    2476   enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval
     1543   # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
     1544if test "${enable_apache_httpd+set}" = set; then
     1545  enableval="$enable_apache_httpd"
     1546  USE_APACHE_HTTPD=$enableval
    24771547else
    24781548  USE_APACHE_HTTPD=no
    2479 fi
    2480 
     1549fi;
    24811550   if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then
    24821551     USE_APACHE_HTTPD=1
    2483      $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h
     1552     cat >>confdefs.h <<\_ACEOF
     1553#define USE_APACHE_HTTPD
     1554_ACEOF
    24841555
    24851556   else
     
    24891560fi
    24901561
    2491 # Check whether --enable-jni was given.
    2492 if test "${enable_jni+set}" = set; then :
    2493   enableval=$enable_jni; ENABLE_JNI=$enableval
     1562# Check whether --enable-jni or --disable-jni was given.
     1563if test "${enable_jni+set}" = set; then
     1564  enableval="$enable_jni"
     1565  ENABLE_JNI=$enableval
    24941566else
    24951567  ENABLE_JNI=no
    2496 fi
    2497 
     1568fi;
    24981569if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
    24991570  ENABLE_JNI=1
    2500   $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
     1571  cat >>confdefs.h <<\_ACEOF
     1572#define ENABLE_JNI
     1573_ACEOF
    25011574
    25021575else
     
    25051578
    25061579
    2507 # Check whether --enable-mg was given.
    2508 if test "${enable_mg+set}" = set; then :
    2509   enableval=$enable_mg; ENABLE_MG=$enableval
     1580# Check whether --enable-mg or --disable-mg was given.
     1581if test "${enable_mg+set}" = set; then
     1582  enableval="$enable_mg"
     1583  ENABLE_MG=$enableval
    25101584else
    25111585  ENABLE_MG=yes
    2512 fi
    2513 
     1586fi;
    25141587if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
    25151588  ENABLE_MG=1
    2516   $as_echo "#define ENABLE_MG /**/" >>confdefs.h
     1589  cat >>confdefs.h <<\_ACEOF
     1590#define ENABLE_MG
     1591_ACEOF
    25171592
    25181593 else
     
    25221597
    25231598
    2524 # Check whether --enable-mgpp was given.
    2525 if test "${enable_mgpp+set}" = set; then :
    2526   enableval=$enable_mgpp; ENABLE_MGPP=$enableval
     1599# Check whether --enable-mgpp or --disable-mgpp was given.
     1600if test "${enable_mgpp+set}" = set; then
     1601  enableval="$enable_mgpp"
     1602  ENABLE_MGPP=$enableval
    25271603else
    25281604  ENABLE_MGPP=yes
    2529 fi
    2530 
     1605fi;
    25311606if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
    25321607  ENABLE_MGPP=1
    2533   $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
     1608  cat >>confdefs.h <<\_ACEOF
     1609#define ENABLE_MGPP
     1610_ACEOF
    25341611
    25351612else
     
    25381615
    25391616
    2540 # Check whether --enable-lucene was given.
    2541 if test "${enable_lucene+set}" = set; then :
    2542   enableval=$enable_lucene; ENABLE_LUCENE=$enableval
     1617# Check whether --enable-lucene or --disable-lucene was given.
     1618if test "${enable_lucene+set}" = set; then
     1619  enableval="$enable_lucene"
     1620  ENABLE_LUCENE=$enableval
    25431621else
    25441622  ENABLE_LUCENE=yes
    2545 fi
    2546 
     1623fi;
    25471624if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
    25481625  ENABLE_LUCENE=1
    2549   $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
     1626  cat >>confdefs.h <<\_ACEOF
     1627#define ENABLE_LUCENE
     1628_ACEOF
    25501629
    25511630else
     
    25711650  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    25721651set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2574 $as_echo_n "checking for $ac_word... " >&6; }
    2575 if test "${ac_cv_prog_CC+set}" = set; then :
    2576   $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_CC+set}" = set; then
     1655  echo $ECHO_N "(cached) $ECHO_C" >&6
    25771656else
    25781657  if test -n "$CC"; then
     
    25841663  IFS=$as_save_IFS
    25851664  test -z "$as_dir" && as_dir=.
    2586     for ac_exec_ext in '' $ac_executable_extensions; do
    2587   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
    25881667    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2589     $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
    25901669    break 2
    25911670  fi
    25921671done
    2593   done
    2594 IFS=$as_save_IFS
     1672done
    25951673
    25961674fi
     
    25981676CC=$ac_cv_prog_CC
    25991677if test -n "$CC"; then
    2600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2601 $as_echo "$CC" >&6; }
    2602 else
    2603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2604 $as_echo "no" >&6; }
    2605 fi
    2606 
     1678  echo "$as_me:$LINENO: result: $CC" >&5
     1679echo "${ECHO_T}$CC" >&6
     1680else
     1681  echo "$as_me:$LINENO: result: no" >&5
     1682echo "${ECHO_T}no" >&6
     1683fi
    26071684
    26081685fi
     
    26111688  # Extract the first word of "gcc", so it can be a program name with args.
    26121689set dummy gcc; ac_word=$2
    2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2614 $as_echo_n "checking for $ac_word... " >&6; }
    2615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2616   $as_echo_n "(cached) " >&6
     1690echo "$as_me:$LINENO: checking for $ac_word" >&5
     1691echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1692if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1693  echo $ECHO_N "(cached) $ECHO_C" >&6
    26171694else
    26181695  if test -n "$ac_ct_CC"; then
     
    26241701  IFS=$as_save_IFS
    26251702  test -z "$as_dir" && as_dir=.
    2626     for ac_exec_ext in '' $ac_executable_extensions; do
    2627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1703  for ac_exec_ext in '' $ac_executable_extensions; do
     1704  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26281705    ac_cv_prog_ac_ct_CC="gcc"
    2629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1706    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26301707    break 2
    26311708  fi
    26321709done
    2633   done
    2634 IFS=$as_save_IFS
     1710done
    26351711
    26361712fi
     
    26381714ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26391715if test -n "$ac_ct_CC"; then
    2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2641 $as_echo "$ac_ct_CC" >&6; }
    2642 else
    2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2644 $as_echo "no" >&6; }
    2645 fi
    2646 
    2647   if test "x$ac_ct_CC" = x; then
    2648     CC=""
    2649   else
    2650     case $cross_compiling:$ac_tool_warned in
    2651 yes:)
    2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2654 ac_tool_warned=yes ;;
    2655 esac
    2656     CC=$ac_ct_CC
    2657   fi
     1716  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1717echo "${ECHO_T}$ac_ct_CC" >&6
     1718else
     1719  echo "$as_me:$LINENO: result: no" >&5
     1720echo "${ECHO_T}no" >&6
     1721fi
     1722
     1723  CC=$ac_ct_CC
    26581724else
    26591725  CC="$ac_cv_prog_CC"
     
    26611727
    26621728if test -z "$CC"; then
    2663           if test -n "$ac_tool_prefix"; then
    2664     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1729  if test -n "$ac_tool_prefix"; then
     1730  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    26651731set dummy ${ac_tool_prefix}cc; ac_word=$2
    2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2667 $as_echo_n "checking for $ac_word... " >&6; }
    2668 if test "${ac_cv_prog_CC+set}" = set; then :
    2669   $as_echo_n "(cached) " >&6
     1732echo "$as_me:$LINENO: checking for $ac_word" >&5
     1733echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1734if test "${ac_cv_prog_CC+set}" = set; then
     1735  echo $ECHO_N "(cached) $ECHO_C" >&6
    26701736else
    26711737  if test -n "$CC"; then
     
    26771743  IFS=$as_save_IFS
    26781744  test -z "$as_dir" && as_dir=.
    2679     for ac_exec_ext in '' $ac_executable_extensions; do
    2680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1745  for ac_exec_ext in '' $ac_executable_extensions; do
     1746  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26811747    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1748    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26831749    break 2
    26841750  fi
    26851751done
    2686   done
    2687 IFS=$as_save_IFS
     1752done
    26881753
    26891754fi
     
    26911756CC=$ac_cv_prog_CC
    26921757if test -n "$CC"; then
    2693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2694 $as_echo "$CC" >&6; }
    2695 else
    2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2697 $as_echo "no" >&6; }
    2698 fi
    2699 
    2700 
     1758  echo "$as_me:$LINENO: result: $CC" >&5
     1759echo "${ECHO_T}$CC" >&6
     1760else
     1761  echo "$as_me:$LINENO: result: no" >&5
     1762echo "${ECHO_T}no" >&6
     1763fi
     1764
     1765fi
     1766if test -z "$ac_cv_prog_CC"; then
     1767  ac_ct_CC=$CC
     1768  # Extract the first word of "cc", so it can be a program name with args.
     1769set dummy cc; ac_word=$2
     1770echo "$as_me:$LINENO: checking for $ac_word" >&5
     1771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1772if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1773  echo $ECHO_N "(cached) $ECHO_C" >&6
     1774else
     1775  if test -n "$ac_ct_CC"; then
     1776  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1777else
     1778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1779for as_dir in $PATH
     1780do
     1781  IFS=$as_save_IFS
     1782  test -z "$as_dir" && as_dir=.
     1783  for ac_exec_ext in '' $ac_executable_extensions; do
     1784  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1785    ac_cv_prog_ac_ct_CC="cc"
     1786    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1787    break 2
    27011788  fi
     1789done
     1790done
     1791
     1792fi
     1793fi
     1794ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1795if test -n "$ac_ct_CC"; then
     1796  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1797echo "${ECHO_T}$ac_ct_CC" >&6
     1798else
     1799  echo "$as_me:$LINENO: result: no" >&5
     1800echo "${ECHO_T}no" >&6
     1801fi
     1802
     1803  CC=$ac_ct_CC
     1804else
     1805  CC="$ac_cv_prog_CC"
     1806fi
     1807
    27021808fi
    27031809if test -z "$CC"; then
    27041810  # Extract the first word of "cc", so it can be a program name with args.
    27051811set dummy cc; ac_word=$2
    2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2707 $as_echo_n "checking for $ac_word... " >&6; }
    2708 if test "${ac_cv_prog_CC+set}" = set; then :
    2709   $as_echo_n "(cached) " >&6
     1812echo "$as_me:$LINENO: checking for $ac_word" >&5
     1813echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1814if test "${ac_cv_prog_CC+set}" = set; then
     1815  echo $ECHO_N "(cached) $ECHO_C" >&6
    27101816else
    27111817  if test -n "$CC"; then
     
    27181824  IFS=$as_save_IFS
    27191825  test -z "$as_dir" && as_dir=.
    2720     for ac_exec_ext in '' $ac_executable_extensions; do
    2721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1826  for ac_exec_ext in '' $ac_executable_extensions; do
     1827  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27221828    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    27231829       ac_prog_rejected=yes
     
    27251831     fi
    27261832    ac_cv_prog_CC="cc"
    2727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1833    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27281834    break 2
    27291835  fi
    27301836done
    2731   done
    2732 IFS=$as_save_IFS
     1837done
    27331838
    27341839if test $ac_prog_rejected = yes; then
     
    27481853CC=$ac_cv_prog_CC
    27491854if test -n "$CC"; then
    2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2751 $as_echo "$CC" >&6; }
    2752 else
    2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2754 $as_echo "no" >&6; }
    2755 fi
    2756 
     1855  echo "$as_me:$LINENO: result: $CC" >&5
     1856echo "${ECHO_T}$CC" >&6
     1857else
     1858  echo "$as_me:$LINENO: result: no" >&5
     1859echo "${ECHO_T}no" >&6
     1860fi
    27571861
    27581862fi
    27591863if test -z "$CC"; then
    27601864  if test -n "$ac_tool_prefix"; then
    2761   for ac_prog in cl.exe
     1865  for ac_prog in cl
    27621866  do
    27631867    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    27641868set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2766 $as_echo_n "checking for $ac_word... " >&6; }
    2767 if test "${ac_cv_prog_CC+set}" = set; then :
    2768   $as_echo_n "(cached) " >&6
     1869echo "$as_me:$LINENO: checking for $ac_word" >&5
     1870echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1871if test "${ac_cv_prog_CC+set}" = set; then
     1872  echo $ECHO_N "(cached) $ECHO_C" >&6
    27691873else
    27701874  if test -n "$CC"; then
     
    27761880  IFS=$as_save_IFS
    27771881  test -z "$as_dir" && as_dir=.
    2778     for ac_exec_ext in '' $ac_executable_extensions; do
    2779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1882  for ac_exec_ext in '' $ac_executable_extensions; do
     1883  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27801884    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1885    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27821886    break 2
    27831887  fi
    27841888done
    2785   done
    2786 IFS=$as_save_IFS
     1889done
    27871890
    27881891fi
     
    27901893CC=$ac_cv_prog_CC
    27911894if test -n "$CC"; then
    2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2793 $as_echo "$CC" >&6; }
    2794 else
    2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2796 $as_echo "no" >&6; }
    2797 fi
    2798 
     1895  echo "$as_me:$LINENO: result: $CC" >&5
     1896echo "${ECHO_T}$CC" >&6
     1897else
     1898  echo "$as_me:$LINENO: result: no" >&5
     1899echo "${ECHO_T}no" >&6
     1900fi
    27991901
    28001902    test -n "$CC" && break
     
    28031905if test -z "$CC"; then
    28041906  ac_ct_CC=$CC
    2805   for ac_prog in cl.exe
     1907  for ac_prog in cl
    28061908do
    28071909  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28081910set dummy $ac_prog; ac_word=$2
    2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2810 $as_echo_n "checking for $ac_word... " >&6; }
    2811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2812   $as_echo_n "(cached) " >&6
     1911echo "$as_me:$LINENO: checking for $ac_word" >&5
     1912echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1913if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1914  echo $ECHO_N "(cached) $ECHO_C" >&6
    28131915else
    28141916  if test -n "$ac_ct_CC"; then
     
    28201922  IFS=$as_save_IFS
    28211923  test -z "$as_dir" && as_dir=.
    2822     for ac_exec_ext in '' $ac_executable_extensions; do
    2823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1924  for ac_exec_ext in '' $ac_executable_extensions; do
     1925  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28241926    ac_cv_prog_ac_ct_CC="$ac_prog"
    2825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1927    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28261928    break 2
    28271929  fi
    28281930done
    2829   done
    2830 IFS=$as_save_IFS
     1931done
    28311932
    28321933fi
     
    28341935ac_ct_CC=$ac_cv_prog_ac_ct_CC
    28351936if test -n "$ac_ct_CC"; then
    2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2837 $as_echo "$ac_ct_CC" >&6; }
    2838 else
    2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2840 $as_echo "no" >&6; }
    2841 fi
    2842 
     1937  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1938echo "${ECHO_T}$ac_ct_CC" >&6
     1939else
     1940  echo "$as_me:$LINENO: result: no" >&5
     1941echo "${ECHO_T}no" >&6
     1942fi
    28431943
    28441944  test -n "$ac_ct_CC" && break
    28451945done
    28461946
    2847   if test "x$ac_ct_CC" = x; then
    2848     CC=""
    2849   else
    2850     case $cross_compiling:$ac_tool_warned in
    2851 yes:)
    2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2854 ac_tool_warned=yes ;;
    2855 esac
    2856     CC=$ac_ct_CC
    2857   fi
    2858 fi
    2859 
    2860 fi
    2861 
    2862 
    2863 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2865 as_fn_error $? "no acceptable C compiler found in \$PATH
    2866 See \`config.log' for more details" "$LINENO" 5 ; }
     1947  CC=$ac_ct_CC
     1948fi
     1949
     1950fi
     1951
     1952
     1953test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1954See \`config.log' for more details." >&5
     1955echo "$as_me: error: no acceptable C compiler found in \$PATH
     1956See \`config.log' for more details." >&2;}
     1957   { (exit 1); exit 1; }; }
    28671958
    28681959# Provide some information about the compiler.
    2869 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    2870 set X $ac_compile
    2871 ac_compiler=$2
    2872 for ac_option in --version -v -V -qversion; do
    2873   { { ac_try="$ac_compiler $ac_option >&5"
    2874 case "(($ac_try" in
    2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2876   *) ac_try_echo=$ac_try;;
    2877 esac
    2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2879 $as_echo "$ac_try_echo"; } >&5
    2880   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    2881   ac_status=$?
    2882   if test -s conftest.err; then
    2883     sed '10a\
    2884 ... rest of stderr output deleted ...
    2885          10q' conftest.err >conftest.er1
    2886     cat conftest.er1 >&5
    2887   fi
    2888   rm -f conftest.er1 conftest.err
    2889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2890   test $ac_status = 0; }
    2891 done
    2892 
    2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1960echo "$as_me:$LINENO:" \
     1961     "checking for C compiler version" >&5
     1962ac_compiler=`set X $ac_compile; echo $2`
     1963{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1964  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1965  ac_status=$?
     1966  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1967  (exit $ac_status); }
     1968{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1969  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1970  ac_status=$?
     1971  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1972  (exit $ac_status); }
     1973{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1974  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1975  ac_status=$?
     1976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1977  (exit $ac_status); }
     1978
     1979cat >conftest.$ac_ext <<_ACEOF
     1980/* confdefs.h.  */
     1981_ACEOF
     1982cat confdefs.h >>conftest.$ac_ext
     1983cat >>conftest.$ac_ext <<_ACEOF
    28941984/* end confdefs.h.  */
    28951985
     
    29031993_ACEOF
    29041994ac_clean_files_save=$ac_clean_files
    2905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     1995ac_clean_files="$ac_clean_files a.out a.exe b.out"
    29061996# Try to create an executable without -o first, disregard a.out.
    29071997# It will help us diagnose broken compilers, and finding out an intuition
    29081998# of exeext.
    2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    2910 $as_echo_n "checking whether the C compiler works... " >&6; }
    2911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2912 
    2913 # The possible output files:
    2914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2915 
    2916 ac_rmfiles=
    2917 for ac_file in $ac_files
    2918 do
    2919   case $ac_file in
    2920     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2921     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2922   esac
    2923 done
    2924 rm -f $ac_rmfiles
    2925 
    2926 if { { ac_try="$ac_link_default"
    2927 case "(($ac_try" in
    2928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2929   *) ac_try_echo=$ac_try;;
    2930 esac
    2931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2932 $as_echo "$ac_try_echo"; } >&5
    2933   (eval "$ac_link_default") 2>&5
    2934   ac_status=$?
    2935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2936   test $ac_status = 0; }; then :
    2937   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2939 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2940 # so that the user can short-circuit this test for compilers unknown to
    2941 # Autoconf.
    2942 for ac_file in $ac_files ''
     1999echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2000echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2001ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2002if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     2003  (eval $ac_link_default) 2>&5
     2004  ac_status=$?
     2005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2006  (exit $ac_status); }; then
     2007  # Find the output, starting from the most likely.  This scheme is
     2008# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     2009# resort.
     2010
     2011# Be careful to initialize this variable, since it used to be cached.
     2012# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     2013ac_cv_exeext=
     2014# b.out is created by i960 compilers.
     2015for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    29432016do
    29442017  test -f "$ac_file" || continue
    29452018  case $ac_file in
    2946     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     2019    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     2020    ;;
     2021    conftest.$ac_ext )
     2022    # This is the source file.
    29472023    ;;
    29482024    [ab].out )
     
    29512027    break;;
    29522028    *.* )
    2953     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2954     then :; else
    2955        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2956     fi
    2957     # We set ac_cv_exeext here because the later test for it is not
    2958     # safe: cross compilers may not add the suffix if given an `-o'
    2959     # argument, so we may need to know it at that point already.
    2960     # Even if this section looks crufty: it has the advantage of
    2961     # actually working.
     2029    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2030    # FIXME: I believe we export ac_cv_exeext for Libtool,
     2031    # but it would be cool to find out if it's true.  Does anybody
     2032    # maintain Libtool? --akim.
     2033    export ac_cv_exeext
    29622034    break;;
    29632035    * )
     
    29652037  esac
    29662038done
    2967 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2968 
    2969 else
    2970   ac_file=''
    2971 fi
    2972 if test -z "$ac_file"; then :
    2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2974 $as_echo "no" >&6; }
    2975 $as_echo "$as_me: failed program was:" >&5
     2039else
     2040  echo "$as_me: failed program was:" >&5
    29762041sed 's/^/| /' conftest.$ac_ext >&5
    29772042
    2978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2980 as_fn_error 77 "C compiler cannot create executables
    2981 See \`config.log' for more details" "$LINENO" 5 ; }
    2982 else
    2983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    2984 $as_echo "yes" >&6; }
    2985 fi
    2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    2987 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    2989 $as_echo "$ac_file" >&6; }
     2043{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     2044See \`config.log' for more details." >&5
     2045echo "$as_me: error: C compiler cannot create executables
     2046See \`config.log' for more details." >&2;}
     2047   { (exit 77); exit 77; }; }
     2048fi
     2049
    29902050ac_exeext=$ac_cv_exeext
    2991 
    2992 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2051echo "$as_me:$LINENO: result: $ac_file" >&5
     2052echo "${ECHO_T}$ac_file" >&6
     2053
     2054# Check the compiler produces executables we can run.  If not, either
     2055# the compiler is broken, or we cross compile.
     2056echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2057echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2058# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2059# If not cross compiling, check that we can run a simple program.
     2060if test "$cross_compiling" != yes; then
     2061  if { ac_try='./$ac_file'
     2062  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2063  (eval $ac_try) 2>&5
     2064  ac_status=$?
     2065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2066  (exit $ac_status); }; }; then
     2067    cross_compiling=no
     2068  else
     2069    if test "$cross_compiling" = maybe; then
     2070    cross_compiling=yes
     2071    else
     2072    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2073If you meant to cross compile, use \`--host'.
     2074See \`config.log' for more details." >&5
     2075echo "$as_me: error: cannot run C compiled programs.
     2076If you meant to cross compile, use \`--host'.
     2077See \`config.log' for more details." >&2;}
     2078   { (exit 1); exit 1; }; }
     2079    fi
     2080  fi
     2081fi
     2082echo "$as_me:$LINENO: result: yes" >&5
     2083echo "${ECHO_T}yes" >&6
     2084
     2085rm -f a.out a.exe conftest$ac_cv_exeext b.out
    29932086ac_clean_files=$ac_clean_files_save
    2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    2995 $as_echo_n "checking for suffix of executables... " >&6; }
    2996 if { { ac_try="$ac_link"
    2997 case "(($ac_try" in
    2998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2999   *) ac_try_echo=$ac_try;;
    3000 esac
    3001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3002 $as_echo "$ac_try_echo"; } >&5
    3003   (eval "$ac_link") 2>&5
    3004   ac_status=$?
    3005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3006   test $ac_status = 0; }; then :
     2087# Check the compiler produces executables we can run.  If not, either
     2088# the compiler is broken, or we cross compile.
     2089echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2090echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     2091echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2092echo "${ECHO_T}$cross_compiling" >&6
     2093
     2094echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2095echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     2096if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2097  (eval $ac_link) 2>&5
     2098  ac_status=$?
     2099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2100  (exit $ac_status); }; then
    30072101  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    30082102# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    30122106  test -f "$ac_file" || continue
    30132107  case $ac_file in
    3014     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2108    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    30152109    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2110      export ac_cv_exeext
    30162111      break;;
    30172112    * ) break;;
     
    30192114done
    30202115else
    3021   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3023 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3024 See \`config.log' for more details" "$LINENO" 5 ; }
    3025 fi
    3026 rm -f conftest conftest$ac_cv_exeext
    3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    3028 $as_echo "$ac_cv_exeext" >&6; }
     2116  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2117See \`config.log' for more details." >&5
     2118echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2119See \`config.log' for more details." >&2;}
     2120   { (exit 1); exit 1; }; }
     2121fi
     2122
     2123rm -f conftest$ac_cv_exeext
     2124echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2125echo "${ECHO_T}$ac_cv_exeext" >&6
    30292126
    30302127rm -f conftest.$ac_ext
    30312128EXEEXT=$ac_cv_exeext
    30322129ac_exeext=$EXEEXT
    3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2130echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2131echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2132if test "${ac_cv_objext+set}" = set; then
     2133  echo $ECHO_N "(cached) $ECHO_C" >&6
     2134else
     2135  cat >conftest.$ac_ext <<_ACEOF
     2136/* confdefs.h.  */
     2137_ACEOF
     2138cat confdefs.h >>conftest.$ac_ext
     2139cat >>conftest.$ac_ext <<_ACEOF
    30342140/* end confdefs.h.  */
    3035 #include <stdio.h>
     2141
    30362142int
    30372143main ()
    30382144{
    3039 FILE *f = fopen ("conftest.out", "w");
    3040  return ferror (f) || fclose (f) != 0;
    30412145
    30422146  ;
     
    30442148}
    30452149_ACEOF
    3046 ac_clean_files="$ac_clean_files conftest.out"
    3047 # Check that the compiler produces executables we can run.  If not, either
    3048 # the compiler is broken, or we cross compile.
    3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3050 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3051 if test "$cross_compiling" != yes; then
    3052   { { ac_try="$ac_link"
    3053 case "(($ac_try" in
    3054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3055   *) ac_try_echo=$ac_try;;
    3056 esac
    3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3058 $as_echo "$ac_try_echo"; } >&5
    3059   (eval "$ac_link") 2>&5
    3060   ac_status=$?
    3061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3062   test $ac_status = 0; }
    3063   if { ac_try='./conftest$ac_cv_exeext'
    3064   { { case "(($ac_try" in
    3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3066   *) ac_try_echo=$ac_try;;
    3067 esac
    3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3069 $as_echo "$ac_try_echo"; } >&5
    3070   (eval "$ac_try") 2>&5
    3071   ac_status=$?
    3072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3073   test $ac_status = 0; }; }; then
    3074     cross_compiling=no
    3075   else
    3076     if test "$cross_compiling" = maybe; then
    3077     cross_compiling=yes
    3078     else
    3079     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3081 as_fn_error $? "cannot run C compiled programs.
    3082 If you meant to cross compile, use \`--host'.
    3083 See \`config.log' for more details" "$LINENO" 5 ; }
    3084     fi
    3085   fi
    3086 fi
    3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3088 $as_echo "$cross_compiling" >&6; }
    3089 
    3090 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3091 ac_clean_files=$ac_clean_files_save
    3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3093 $as_echo_n "checking for suffix of object files... " >&6; }
    3094 if test "${ac_cv_objext+set}" = set; then :
    3095   $as_echo_n "(cached) " >&6
    3096 else
    3097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3098 /* end confdefs.h.  */
    3099 
    3100 int
    3101 main ()
    3102 {
    3103 
    3104   ;
    3105   return 0;
    3106 }
    3107 _ACEOF
    31082150rm -f conftest.o conftest.obj
    3109 if { { ac_try="$ac_compile"
    3110 case "(($ac_try" in
    3111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3112   *) ac_try_echo=$ac_try;;
    3113 esac
    3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3115 $as_echo "$ac_try_echo"; } >&5
    3116   (eval "$ac_compile") 2>&5
    3117   ac_status=$?
    3118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3119   test $ac_status = 0; }; then :
    3120   for ac_file in conftest.o conftest.obj conftest.*; do
    3121   test -f "$ac_file" || continue;
     2151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2152  (eval $ac_compile) 2>&5
     2153  ac_status=$?
     2154  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2155  (exit $ac_status); }; then
     2156  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    31222157  case $ac_file in
    3123     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     2158    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    31242159    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    31252160       break;;
     
    31272162done
    31282163else
    3129   $as_echo "$as_me: failed program was:" >&5
     2164  echo "$as_me: failed program was:" >&5
    31302165sed 's/^/| /' conftest.$ac_ext >&5
    31312166
    3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3134 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3135 See \`config.log' for more details" "$LINENO" 5 ; }
    3136 fi
     2167{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2168See \`config.log' for more details." >&5
     2169echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2170See \`config.log' for more details." >&2;}
     2171   { (exit 1); exit 1; }; }
     2172fi
     2173
    31372174rm -f conftest.$ac_cv_objext conftest.$ac_ext
    31382175fi
    3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    3140 $as_echo "$ac_cv_objext" >&6; }
     2176echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2177echo "${ECHO_T}$ac_cv_objext" >&6
    31412178OBJEXT=$ac_cv_objext
    31422179ac_objext=$OBJEXT
    3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    3144 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3145 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    3146   $as_echo_n "(cached) " >&6
    3147 else
    3148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2180echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2181echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2182if test "${ac_cv_c_compiler_gnu+set}" = set; then
     2183  echo $ECHO_N "(cached) $ECHO_C" >&6
     2184else
     2185  cat >conftest.$ac_ext <<_ACEOF
     2186/* confdefs.h.  */
     2187_ACEOF
     2188cat confdefs.h >>conftest.$ac_ext
     2189cat >>conftest.$ac_ext <<_ACEOF
    31492190/* end confdefs.h.  */
    31502191
     
    31602201}
    31612202_ACEOF
    3162 if ac_fn_c_try_compile "$LINENO"; then :
     2203rm -f conftest.$ac_objext
     2204if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2205  (eval $ac_compile) 2>conftest.er1
     2206  ac_status=$?
     2207  grep -v '^ *+' conftest.er1 >conftest.err
     2208  rm -f conftest.er1
     2209  cat conftest.err >&5
     2210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2211  (exit $ac_status); } &&
     2212     { ac_try='test -z "$ac_c_werror_flag"
     2213             || test ! -s conftest.err'
     2214  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2215  (eval $ac_try) 2>&5
     2216  ac_status=$?
     2217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2218  (exit $ac_status); }; } &&
     2219     { ac_try='test -s conftest.$ac_objext'
     2220  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2221  (eval $ac_try) 2>&5
     2222  ac_status=$?
     2223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2224  (exit $ac_status); }; }; then
    31632225  ac_compiler_gnu=yes
    31642226else
    3165   ac_compiler_gnu=no
    3166 fi
    3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2227  echo "$as_me: failed program was:" >&5
     2228sed 's/^/| /' conftest.$ac_ext >&5
     2229
     2230ac_compiler_gnu=no
     2231fi
     2232rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    31682233ac_cv_c_compiler_gnu=$ac_compiler_gnu
    31692234
    31702235fi
    3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    3172 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    3173 if test $ac_compiler_gnu = yes; then
    3174   GCC=yes
    3175 else
    3176   GCC=
    3177 fi
     2236echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2237echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2238GCC=`test $ac_compiler_gnu = yes && echo yes`
    31782239ac_test_CFLAGS=${CFLAGS+set}
    31792240ac_save_CFLAGS=$CFLAGS
    3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    3181 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    3182 if test "${ac_cv_prog_cc_g+set}" = set; then :
    3183   $as_echo_n "(cached) " >&6
    3184 else
    3185   ac_save_c_werror_flag=$ac_c_werror_flag
    3186    ac_c_werror_flag=yes
    3187    ac_cv_prog_cc_g=no
    3188    CFLAGS="-g"
    3189    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2241CFLAGS="-g"
     2242echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2243echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2244if test "${ac_cv_prog_cc_g+set}" = set; then
     2245  echo $ECHO_N "(cached) $ECHO_C" >&6
     2246else
     2247  cat >conftest.$ac_ext <<_ACEOF
     2248/* confdefs.h.  */
     2249_ACEOF
     2250cat confdefs.h >>conftest.$ac_ext
     2251cat >>conftest.$ac_ext <<_ACEOF
    31902252/* end confdefs.h.  */
    31912253
     
    31982260}
    31992261_ACEOF
    3200 if ac_fn_c_try_compile "$LINENO"; then :
     2262rm -f conftest.$ac_objext
     2263if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2264  (eval $ac_compile) 2>conftest.er1
     2265  ac_status=$?
     2266  grep -v '^ *+' conftest.er1 >conftest.err
     2267  rm -f conftest.er1
     2268  cat conftest.err >&5
     2269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2270  (exit $ac_status); } &&
     2271     { ac_try='test -z "$ac_c_werror_flag"
     2272             || test ! -s conftest.err'
     2273  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2274  (eval $ac_try) 2>&5
     2275  ac_status=$?
     2276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2277  (exit $ac_status); }; } &&
     2278     { ac_try='test -s conftest.$ac_objext'
     2279  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2280  (eval $ac_try) 2>&5
     2281  ac_status=$?
     2282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2283  (exit $ac_status); }; }; then
    32012284  ac_cv_prog_cc_g=yes
    32022285else
    3203   CFLAGS=""
    3204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3205 /* end confdefs.h.  */
    3206 
    3207 int
    3208 main ()
    3209 {
    3210 
    3211   ;
    3212   return 0;
    3213 }
    3214 _ACEOF
    3215 if ac_fn_c_try_compile "$LINENO"; then :
    3216 
    3217 else
    3218   ac_c_werror_flag=$ac_save_c_werror_flag
    3219      CFLAGS="-g"
    3220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3221 /* end confdefs.h.  */
    3222 
    3223 int
    3224 main ()
    3225 {
    3226 
    3227   ;
    3228   return 0;
    3229 }
    3230 _ACEOF
    3231 if ac_fn_c_try_compile "$LINENO"; then :
    3232   ac_cv_prog_cc_g=yes
    3233 fi
    3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3235 fi
    3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3237 fi
    3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3239    ac_c_werror_flag=$ac_save_c_werror_flag
    3240 fi
    3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    3242 $as_echo "$ac_cv_prog_cc_g" >&6; }
     2286  echo "$as_me: failed program was:" >&5
     2287sed 's/^/| /' conftest.$ac_ext >&5
     2288
     2289ac_cv_prog_cc_g=no
     2290fi
     2291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2292fi
     2293echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2294echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    32432295if test "$ac_test_CFLAGS" = set; then
    32442296  CFLAGS=$ac_save_CFLAGS
     
    32562308  fi
    32572309fi
    3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    3259 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3260 if test "${ac_cv_prog_cc_c89+set}" = set; then :
    3261   $as_echo_n "(cached) " >&6
    3262 else
    3263   ac_cv_prog_cc_c89=no
     2310echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2311echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2312if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2313  echo $ECHO_N "(cached) $ECHO_C" >&6
     2314else
     2315  ac_cv_prog_cc_stdc=no
    32642316ac_save_CC=$CC
    3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2317cat >conftest.$ac_ext <<_ACEOF
     2318/* confdefs.h.  */
     2319_ACEOF
     2320cat confdefs.h >>conftest.$ac_ext
     2321cat >>conftest.$ac_ext <<_ACEOF
    32662322/* end confdefs.h.  */
    32672323#include <stdarg.h>
     
    32912347   function prototypes and stuff, but not '\xHH' hex character constants.
    32922348   These don't provoke an error unfortunately, instead are silently treated
    3293    as 'x'.  The following induces an error, until -std is added to get
     2349   as 'x'.  The following induces an error, until -std1 is added to get
    32942350   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    32952351   array size at least.  It's necessary to write '\x00'==0 to get something
    3296    that's true only with -std.  */
     2352   that's true only with -std1.  */
    32972353int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3298 
    3299 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3300    inside strings and character constants.  */
    3301 #define FOO(x) 'x'
    3302 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    33032354
    33042355int test (int i, double x);
     
    33162367}
    33172368_ACEOF
    3318 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3319     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2369# Don't try gcc -ansi; that turns off useful extensions and
     2370# breaks some systems' header files.
     2371# AIX           -qlanglvl=ansi
     2372# Ultrix and OSF/1  -std1
     2373# HP-UX 10.20 and later -Ae
     2374# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2375# SVR4          -Xc -D__EXTENSIONS__
     2376for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    33202377do
    33212378  CC="$ac_save_CC $ac_arg"
    3322   if ac_fn_c_try_compile "$LINENO"; then :
    3323   ac_cv_prog_cc_c89=$ac_arg
    3324 fi
    3325 rm -f core conftest.err conftest.$ac_objext
    3326   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2379  rm -f conftest.$ac_objext
     2380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2381  (eval $ac_compile) 2>conftest.er1
     2382  ac_status=$?
     2383  grep -v '^ *+' conftest.er1 >conftest.err
     2384  rm -f conftest.er1
     2385  cat conftest.err >&5
     2386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2387  (exit $ac_status); } &&
     2388     { ac_try='test -z "$ac_c_werror_flag"
     2389             || test ! -s conftest.err'
     2390  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2391  (eval $ac_try) 2>&5
     2392  ac_status=$?
     2393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2394  (exit $ac_status); }; } &&
     2395     { ac_try='test -s conftest.$ac_objext'
     2396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2397  (eval $ac_try) 2>&5
     2398  ac_status=$?
     2399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2400  (exit $ac_status); }; }; then
     2401  ac_cv_prog_cc_stdc=$ac_arg
     2402break
     2403else
     2404  echo "$as_me: failed program was:" >&5
     2405sed 's/^/| /' conftest.$ac_ext >&5
     2406
     2407fi
     2408rm -f conftest.err conftest.$ac_objext
    33272409done
    3328 rm -f conftest.$ac_ext
     2410rm -f conftest.$ac_ext conftest.$ac_objext
    33292411CC=$ac_save_CC
    33302412
    33312413fi
    3332 # AC_CACHE_VAL
    3333 case "x$ac_cv_prog_cc_c89" in
    3334   x)
    3335     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    3336 $as_echo "none needed" >&6; } ;;
    3337   xno)
    3338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    3339 $as_echo "unsupported" >&6; } ;;
     2414
     2415case "x$ac_cv_prog_cc_stdc" in
     2416  x|xno)
     2417    echo "$as_me:$LINENO: result: none needed" >&5
     2418echo "${ECHO_T}none needed" >&6 ;;
    33402419  *)
    3341     CC="$CC $ac_cv_prog_cc_c89"
    3342     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    3343 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     2420    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2421echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2422    CC="$CC $ac_cv_prog_cc_stdc" ;;
    33442423esac
    3345 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3346 
    3347 fi
    3348 
     2424
     2425# Some people use a C++ compiler to compile C.  Since we use `exit',
     2426# in C++ we need to declare it.  In case someone uses the same compiler
     2427# for both compiling C and C++ we need to have the C++ compiler decide
     2428# the declaration of exit, since it's the most demanding environment.
     2429cat >conftest.$ac_ext <<_ACEOF
     2430#ifndef __cplusplus
     2431  choke me
     2432#endif
     2433_ACEOF
     2434rm -f conftest.$ac_objext
     2435if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2436  (eval $ac_compile) 2>conftest.er1
     2437  ac_status=$?
     2438  grep -v '^ *+' conftest.er1 >conftest.err
     2439  rm -f conftest.er1
     2440  cat conftest.err >&5
     2441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2442  (exit $ac_status); } &&
     2443     { ac_try='test -z "$ac_c_werror_flag"
     2444             || test ! -s conftest.err'
     2445  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2446  (eval $ac_try) 2>&5
     2447  ac_status=$?
     2448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2449  (exit $ac_status); }; } &&
     2450     { ac_try='test -s conftest.$ac_objext'
     2451  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2452  (eval $ac_try) 2>&5
     2453  ac_status=$?
     2454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2455  (exit $ac_status); }; }; then
     2456  for ac_declaration in \
     2457   '' \
     2458   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2459   'extern "C" void std::exit (int); using std::exit;' \
     2460   'extern "C" void exit (int) throw ();' \
     2461   'extern "C" void exit (int);' \
     2462   'void exit (int);'
     2463do
     2464  cat >conftest.$ac_ext <<_ACEOF
     2465/* confdefs.h.  */
     2466_ACEOF
     2467cat confdefs.h >>conftest.$ac_ext
     2468cat >>conftest.$ac_ext <<_ACEOF
     2469/* end confdefs.h.  */
     2470$ac_declaration
     2471#include <stdlib.h>
     2472int
     2473main ()
     2474{
     2475exit (42);
     2476  ;
     2477  return 0;
     2478}
     2479_ACEOF
     2480rm -f conftest.$ac_objext
     2481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2482  (eval $ac_compile) 2>conftest.er1
     2483  ac_status=$?
     2484  grep -v '^ *+' conftest.er1 >conftest.err
     2485  rm -f conftest.er1
     2486  cat conftest.err >&5
     2487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2488  (exit $ac_status); } &&
     2489     { ac_try='test -z "$ac_c_werror_flag"
     2490             || test ! -s conftest.err'
     2491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2492  (eval $ac_try) 2>&5
     2493  ac_status=$?
     2494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2495  (exit $ac_status); }; } &&
     2496     { ac_try='test -s conftest.$ac_objext'
     2497  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2498  (eval $ac_try) 2>&5
     2499  ac_status=$?
     2500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2501  (exit $ac_status); }; }; then
     2502  :
     2503else
     2504  echo "$as_me: failed program was:" >&5
     2505sed 's/^/| /' conftest.$ac_ext >&5
     2506
     2507continue
     2508fi
     2509rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2510  cat >conftest.$ac_ext <<_ACEOF
     2511/* confdefs.h.  */
     2512_ACEOF
     2513cat confdefs.h >>conftest.$ac_ext
     2514cat >>conftest.$ac_ext <<_ACEOF
     2515/* end confdefs.h.  */
     2516$ac_declaration
     2517int
     2518main ()
     2519{
     2520exit (42);
     2521  ;
     2522  return 0;
     2523}
     2524_ACEOF
     2525rm -f conftest.$ac_objext
     2526if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2527  (eval $ac_compile) 2>conftest.er1
     2528  ac_status=$?
     2529  grep -v '^ *+' conftest.er1 >conftest.err
     2530  rm -f conftest.er1
     2531  cat conftest.err >&5
     2532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2533  (exit $ac_status); } &&
     2534     { ac_try='test -z "$ac_c_werror_flag"
     2535             || test ! -s conftest.err'
     2536  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2537  (eval $ac_try) 2>&5
     2538  ac_status=$?
     2539  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2540  (exit $ac_status); }; } &&
     2541     { ac_try='test -s conftest.$ac_objext'
     2542  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2543  (eval $ac_try) 2>&5
     2544  ac_status=$?
     2545  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2546  (exit $ac_status); }; }; then
     2547  break
     2548else
     2549  echo "$as_me: failed program was:" >&5
     2550sed 's/^/| /' conftest.$ac_ext >&5
     2551
     2552fi
     2553rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2554done
     2555rm -f conftest*
     2556if test -n "$ac_declaration"; then
     2557  echo '#ifdef __cplusplus' >>confdefs.h
     2558  echo $ac_declaration      >>confdefs.h
     2559  echo '#endif'             >>confdefs.h
     2560fi
     2561
     2562else
     2563  echo "$as_me: failed program was:" >&5
     2564sed 's/^/| /' conftest.$ac_ext >&5
     2565
     2566fi
     2567rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    33492568ac_ext=c
    33502569ac_cpp='$CPP $CPPFLAGS'
     
    33532572ac_compiler_gnu=$ac_cv_c_compiler_gnu
    33542573
    3355 ac_ext=cpp
     2574ac_ext=cc
    33562575ac_cpp='$CXXCPP $CPPFLAGS'
    33572576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    33582577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    33592578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3360 if test -z "$CXX"; then
    3361   if test -n "$CCC"; then
    3362     CXX=$CCC
    3363   else
    3364     if test -n "$ac_tool_prefix"; then
    3365   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2579if test -n "$ac_tool_prefix"; then
     2580  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    33662581  do
    33672582    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33682583set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3370 $as_echo_n "checking for $ac_word... " >&6; }
    3371 if test "${ac_cv_prog_CXX+set}" = set; then :
    3372   $as_echo_n "(cached) " >&6
     2584echo "$as_me:$LINENO: checking for $ac_word" >&5
     2585echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2586if test "${ac_cv_prog_CXX+set}" = set; then
     2587  echo $ECHO_N "(cached) $ECHO_C" >&6
    33732588else
    33742589  if test -n "$CXX"; then
     
    33802595  IFS=$as_save_IFS
    33812596  test -z "$as_dir" && as_dir=.
    3382     for ac_exec_ext in '' $ac_executable_extensions; do
    3383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2597  for ac_exec_ext in '' $ac_executable_extensions; do
     2598  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33842599    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2600    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33862601    break 2
    33872602  fi
    33882603done
    3389   done
    3390 IFS=$as_save_IFS
     2604done
    33912605
    33922606fi
     
    33942608CXX=$ac_cv_prog_CXX
    33952609if test -n "$CXX"; then
    3396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    3397 $as_echo "$CXX" >&6; }
    3398 else
    3399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3400 $as_echo "no" >&6; }
    3401 fi
    3402 
     2610  echo "$as_me:$LINENO: result: $CXX" >&5
     2611echo "${ECHO_T}$CXX" >&6
     2612else
     2613  echo "$as_me:$LINENO: result: no" >&5
     2614echo "${ECHO_T}no" >&6
     2615fi
    34032616
    34042617    test -n "$CXX" && break
     
    34072620if test -z "$CXX"; then
    34082621  ac_ct_CXX=$CXX
    3409   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2622  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    34102623do
    34112624  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34122625set dummy $ac_prog; ac_word=$2
    3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3414 $as_echo_n "checking for $ac_word... " >&6; }
    3415 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
    3416   $as_echo_n "(cached) " >&6
     2626echo "$as_me:$LINENO: checking for $ac_word" >&5
     2627echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2628if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     2629  echo $ECHO_N "(cached) $ECHO_C" >&6
    34172630else
    34182631  if test -n "$ac_ct_CXX"; then
     
    34242637  IFS=$as_save_IFS
    34252638  test -z "$as_dir" && as_dir=.
    3426     for ac_exec_ext in '' $ac_executable_extensions; do
    3427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2639  for ac_exec_ext in '' $ac_executable_extensions; do
     2640  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34282641    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2642    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    34302643    break 2
    34312644  fi
    34322645done
    3433   done
    3434 IFS=$as_save_IFS
     2646done
    34352647
    34362648fi
     
    34382650ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34392651if test -n "$ac_ct_CXX"; then
    3440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    3441 $as_echo "$ac_ct_CXX" >&6; }
    3442 else
    3443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3444 $as_echo "no" >&6; }
    3445 fi
    3446 
     2652  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2653echo "${ECHO_T}$ac_ct_CXX" >&6
     2654else
     2655  echo "$as_me:$LINENO: result: no" >&5
     2656echo "${ECHO_T}no" >&6
     2657fi
    34472658
    34482659  test -n "$ac_ct_CXX" && break
    34492660done
    3450 
    3451   if test "x$ac_ct_CXX" = x; then
    3452     CXX="g++"
    3453   else
    3454     case $cross_compiling:$ac_tool_warned in
    3455 yes:)
    3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    3458 ac_tool_warned=yes ;;
    3459 esac
    3460     CXX=$ac_ct_CXX
    3461   fi
    3462 fi
    3463 
    3464   fi
    3465 fi
     2661test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2662
     2663  CXX=$ac_ct_CXX
     2664fi
     2665
     2666
    34662667# Provide some information about the compiler.
    3467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    3468 set X $ac_compile
    3469 ac_compiler=$2
    3470 for ac_option in --version -v -V -qversion; do
    3471   { { ac_try="$ac_compiler $ac_option >&5"
    3472 case "(($ac_try" in
    3473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3474   *) ac_try_echo=$ac_try;;
    3475 esac
    3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3477 $as_echo "$ac_try_echo"; } >&5
    3478   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    3479   ac_status=$?
    3480   if test -s conftest.err; then
    3481     sed '10a\
    3482 ... rest of stderr output deleted ...
    3483          10q' conftest.err >conftest.er1
    3484     cat conftest.er1 >&5
    3485   fi
    3486   rm -f conftest.er1 conftest.err
    3487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3488   test $ac_status = 0; }
    3489 done
    3490 
    3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    3492 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3493 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
    3494   $as_echo_n "(cached) " >&6
    3495 else
    3496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2668echo "$as_me:$LINENO:" \
     2669     "checking for C++ compiler version" >&5
     2670ac_compiler=`set X $ac_compile; echo $2`
     2671{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2672  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2673  ac_status=$?
     2674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2675  (exit $ac_status); }
     2676{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2677  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2678  ac_status=$?
     2679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2680  (exit $ac_status); }
     2681{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2682  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2683  ac_status=$?
     2684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2685  (exit $ac_status); }
     2686
     2687echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2688echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2689if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2690  echo $ECHO_N "(cached) $ECHO_C" >&6
     2691else
     2692  cat >conftest.$ac_ext <<_ACEOF
     2693/* confdefs.h.  */
     2694_ACEOF
     2695cat confdefs.h >>conftest.$ac_ext
     2696cat >>conftest.$ac_ext <<_ACEOF
    34972697/* end confdefs.h.  */
    34982698
     
    35082708}
    35092709_ACEOF
    3510 if ac_fn_cxx_try_compile "$LINENO"; then :
     2710rm -f conftest.$ac_objext
     2711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2712  (eval $ac_compile) 2>conftest.er1
     2713  ac_status=$?
     2714  grep -v '^ *+' conftest.er1 >conftest.err
     2715  rm -f conftest.er1
     2716  cat conftest.err >&5
     2717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2718  (exit $ac_status); } &&
     2719     { ac_try='test -z "$ac_cxx_werror_flag"
     2720             || test ! -s conftest.err'
     2721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2722  (eval $ac_try) 2>&5
     2723  ac_status=$?
     2724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2725  (exit $ac_status); }; } &&
     2726     { ac_try='test -s conftest.$ac_objext'
     2727  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2728  (eval $ac_try) 2>&5
     2729  ac_status=$?
     2730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2731  (exit $ac_status); }; }; then
    35112732  ac_compiler_gnu=yes
    35122733else
    3513   ac_compiler_gnu=no
    3514 fi
    3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2734  echo "$as_me: failed program was:" >&5
     2735sed 's/^/| /' conftest.$ac_ext >&5
     2736
     2737ac_compiler_gnu=no
     2738fi
     2739rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    35162740ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35172741
    35182742fi
    3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    3520 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    3521 if test $ac_compiler_gnu = yes; then
    3522   GXX=yes
    3523 else
    3524   GXX=
    3525 fi
     2743echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2744echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2745GXX=`test $ac_compiler_gnu = yes && echo yes`
    35262746ac_test_CXXFLAGS=${CXXFLAGS+set}
    35272747ac_save_CXXFLAGS=$CXXFLAGS
    3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    3529 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3530 if test "${ac_cv_prog_cxx_g+set}" = set; then :
    3531   $as_echo_n "(cached) " >&6
    3532 else
    3533   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3534    ac_cxx_werror_flag=yes
    3535    ac_cv_prog_cxx_g=no
    3536    CXXFLAGS="-g"
    3537    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2748CXXFLAGS="-g"
     2749echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2750echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2751if test "${ac_cv_prog_cxx_g+set}" = set; then
     2752  echo $ECHO_N "(cached) $ECHO_C" >&6
     2753else
     2754  cat >conftest.$ac_ext <<_ACEOF
     2755/* confdefs.h.  */
     2756_ACEOF
     2757cat confdefs.h >>conftest.$ac_ext
     2758cat >>conftest.$ac_ext <<_ACEOF
    35382759/* end confdefs.h.  */
    35392760
     
    35462767}
    35472768_ACEOF
    3548 if ac_fn_cxx_try_compile "$LINENO"; then :
     2769rm -f conftest.$ac_objext
     2770if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2771  (eval $ac_compile) 2>conftest.er1
     2772  ac_status=$?
     2773  grep -v '^ *+' conftest.er1 >conftest.err
     2774  rm -f conftest.er1
     2775  cat conftest.err >&5
     2776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2777  (exit $ac_status); } &&
     2778     { ac_try='test -z "$ac_cxx_werror_flag"
     2779             || test ! -s conftest.err'
     2780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2781  (eval $ac_try) 2>&5
     2782  ac_status=$?
     2783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2784  (exit $ac_status); }; } &&
     2785     { ac_try='test -s conftest.$ac_objext'
     2786  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2787  (eval $ac_try) 2>&5
     2788  ac_status=$?
     2789  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2790  (exit $ac_status); }; }; then
    35492791  ac_cv_prog_cxx_g=yes
    35502792else
    3551   CXXFLAGS=""
    3552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3553 /* end confdefs.h.  */
    3554 
    3555 int
    3556 main ()
    3557 {
    3558 
    3559   ;
    3560   return 0;
    3561 }
    3562 _ACEOF
    3563 if ac_fn_cxx_try_compile "$LINENO"; then :
    3564 
    3565 else
    3566   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3567      CXXFLAGS="-g"
    3568      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3569 /* end confdefs.h.  */
    3570 
    3571 int
    3572 main ()
    3573 {
    3574 
    3575   ;
    3576   return 0;
    3577 }
    3578 _ACEOF
    3579 if ac_fn_cxx_try_compile "$LINENO"; then :
    3580   ac_cv_prog_cxx_g=yes
    3581 fi
    3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3583 fi
    3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3585 fi
    3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3587    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3588 fi
    3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    3590 $as_echo "$ac_cv_prog_cxx_g" >&6; }
     2793  echo "$as_me: failed program was:" >&5
     2794sed 's/^/| /' conftest.$ac_ext >&5
     2795
     2796ac_cv_prog_cxx_g=no
     2797fi
     2798rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2799fi
     2800echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2801echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    35912802if test "$ac_test_CXXFLAGS" = set; then
    35922803  CXXFLAGS=$ac_save_CXXFLAGS
     
    36042815  fi
    36052816fi
     2817for ac_declaration in \
     2818   '' \
     2819   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2820   'extern "C" void std::exit (int); using std::exit;' \
     2821   'extern "C" void exit (int) throw ();' \
     2822   'extern "C" void exit (int);' \
     2823   'void exit (int);'
     2824do
     2825  cat >conftest.$ac_ext <<_ACEOF
     2826/* confdefs.h.  */
     2827_ACEOF
     2828cat confdefs.h >>conftest.$ac_ext
     2829cat >>conftest.$ac_ext <<_ACEOF
     2830/* end confdefs.h.  */
     2831$ac_declaration
     2832#include <stdlib.h>
     2833int
     2834main ()
     2835{
     2836exit (42);
     2837  ;
     2838  return 0;
     2839}
     2840_ACEOF
     2841rm -f conftest.$ac_objext
     2842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2843  (eval $ac_compile) 2>conftest.er1
     2844  ac_status=$?
     2845  grep -v '^ *+' conftest.er1 >conftest.err
     2846  rm -f conftest.er1
     2847  cat conftest.err >&5
     2848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2849  (exit $ac_status); } &&
     2850     { ac_try='test -z "$ac_cxx_werror_flag"
     2851             || test ! -s conftest.err'
     2852  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2853  (eval $ac_try) 2>&5
     2854  ac_status=$?
     2855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2856  (exit $ac_status); }; } &&
     2857     { ac_try='test -s conftest.$ac_objext'
     2858  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2859  (eval $ac_try) 2>&5
     2860  ac_status=$?
     2861  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2862  (exit $ac_status); }; }; then
     2863  :
     2864else
     2865  echo "$as_me: failed program was:" >&5
     2866sed 's/^/| /' conftest.$ac_ext >&5
     2867
     2868continue
     2869fi
     2870rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2871  cat >conftest.$ac_ext <<_ACEOF
     2872/* confdefs.h.  */
     2873_ACEOF
     2874cat confdefs.h >>conftest.$ac_ext
     2875cat >>conftest.$ac_ext <<_ACEOF
     2876/* end confdefs.h.  */
     2877$ac_declaration
     2878int
     2879main ()
     2880{
     2881exit (42);
     2882  ;
     2883  return 0;
     2884}
     2885_ACEOF
     2886rm -f conftest.$ac_objext
     2887if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2888  (eval $ac_compile) 2>conftest.er1
     2889  ac_status=$?
     2890  grep -v '^ *+' conftest.er1 >conftest.err
     2891  rm -f conftest.er1
     2892  cat conftest.err >&5
     2893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2894  (exit $ac_status); } &&
     2895     { ac_try='test -z "$ac_cxx_werror_flag"
     2896             || test ! -s conftest.err'
     2897  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2898  (eval $ac_try) 2>&5
     2899  ac_status=$?
     2900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2901  (exit $ac_status); }; } &&
     2902     { ac_try='test -s conftest.$ac_objext'
     2903  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2904  (eval $ac_try) 2>&5
     2905  ac_status=$?
     2906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2907  (exit $ac_status); }; }; then
     2908  break
     2909else
     2910  echo "$as_me: failed program was:" >&5
     2911sed 's/^/| /' conftest.$ac_ext >&5
     2912
     2913fi
     2914rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2915done
     2916rm -f conftest*
     2917if test -n "$ac_declaration"; then
     2918  echo '#ifdef __cplusplus' >>confdefs.h
     2919  echo $ac_declaration      >>confdefs.h
     2920  echo '#endif'             >>confdefs.h
     2921fi
     2922
    36062923ac_ext=c
    36072924ac_cpp='$CPP $CPPFLAGS'
     
    36142931  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36152932set dummy $ac_prog; ac_word=$2
    3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3617 $as_echo_n "checking for $ac_word... " >&6; }
    3618 if test "${ac_cv_prog_AWK+set}" = set; then :
    3619   $as_echo_n "(cached) " >&6
     2933echo "$as_me:$LINENO: checking for $ac_word" >&5
     2934echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2935if test "${ac_cv_prog_AWK+set}" = set; then
     2936  echo $ECHO_N "(cached) $ECHO_C" >&6
    36202937else
    36212938  if test -n "$AWK"; then
     
    36272944  IFS=$as_save_IFS
    36282945  test -z "$as_dir" && as_dir=.
    3629     for ac_exec_ext in '' $ac_executable_extensions; do
    3630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2946  for ac_exec_ext in '' $ac_executable_extensions; do
     2947  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36312948    ac_cv_prog_AWK="$ac_prog"
    3632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2949    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36332950    break 2
    36342951  fi
    36352952done
    3636   done
    3637 IFS=$as_save_IFS
     2953done
    36382954
    36392955fi
     
    36412957AWK=$ac_cv_prog_AWK
    36422958if test -n "$AWK"; then
    3643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    3644 $as_echo "$AWK" >&6; }
    3645 else
    3646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3647 $as_echo "no" >&6; }
    3648 fi
    3649 
     2959  echo "$as_me:$LINENO: result: $AWK" >&5
     2960echo "${ECHO_T}$AWK" >&6
     2961else
     2962  echo "$as_me:$LINENO: result: no" >&5
     2963echo "${ECHO_T}no" >&6
     2964fi
    36502965
    36512966  test -n "$AWK" && break
     
    36562971  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36572972set dummy $ac_prog; ac_word=$2
    3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3659 $as_echo_n "checking for $ac_word... " >&6; }
    3660 if test "${ac_cv_prog_YACC+set}" = set; then :
    3661   $as_echo_n "(cached) " >&6
     2973echo "$as_me:$LINENO: checking for $ac_word" >&5
     2974echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2975if test "${ac_cv_prog_YACC+set}" = set; then
     2976  echo $ECHO_N "(cached) $ECHO_C" >&6
    36622977else
    36632978  if test -n "$YACC"; then
     
    36692984  IFS=$as_save_IFS
    36702985  test -z "$as_dir" && as_dir=.
    3671     for ac_exec_ext in '' $ac_executable_extensions; do
    3672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2986  for ac_exec_ext in '' $ac_executable_extensions; do
     2987  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36732988    ac_cv_prog_YACC="$ac_prog"
    3674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2989    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36752990    break 2
    36762991  fi
    36772992done
    3678   done
    3679 IFS=$as_save_IFS
     2993done
    36802994
    36812995fi
     
    36832997YACC=$ac_cv_prog_YACC
    36842998if test -n "$YACC"; then
    3685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
    3686 $as_echo "$YACC" >&6; }
    3687 else
    3688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3689 $as_echo "no" >&6; }
    3690 fi
    3691 
     2999  echo "$as_me:$LINENO: result: $YACC" >&5
     3000echo "${ECHO_T}$YACC" >&6
     3001else
     3002  echo "$as_me:$LINENO: result: no" >&5
     3003echo "${ECHO_T}no" >&6
     3004fi
    36923005
    36933006  test -n "$YACC" && break
     
    36963009
    36973010ac_aux_dir=
    3698 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    3699   if test -f "$ac_dir/install-sh"; then
     3011for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     3012  if test -f $ac_dir/install-sh; then
    37003013    ac_aux_dir=$ac_dir
    37013014    ac_install_sh="$ac_aux_dir/install-sh -c"
    37023015    break
    3703   elif test -f "$ac_dir/install.sh"; then
     3016  elif test -f $ac_dir/install.sh; then
    37043017    ac_aux_dir=$ac_dir
    37053018    ac_install_sh="$ac_aux_dir/install.sh -c"
    37063019    break
    3707   elif test -f "$ac_dir/shtool"; then
     3020  elif test -f $ac_dir/shtool; then
    37083021    ac_aux_dir=$ac_dir
    37093022    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    37123025done
    37133026if test -z "$ac_aux_dir"; then
    3714   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    3715 fi
    3716 
    3717 # These three variables are undocumented and unsupported,
    3718 # and are intended to be withdrawn in a future Autoconf release.
    3719 # They can cause serious problems if a builder's source tree is in a directory
    3720 # whose full name contains unusual characters.
    3721 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    3722 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    3723 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    3724 
     3027  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     3028echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3029   { (exit 1); exit 1; }; }
     3030fi
     3031ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     3032ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     3033ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    37253034
    37263035# Make sure we can run config.sub.
    3727 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    3728   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    3729 
    3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    3731 $as_echo_n "checking build system type... " >&6; }
    3732 if test "${ac_cv_build+set}" = set; then :
    3733   $as_echo_n "(cached) " >&6
    3734 else
    3735   ac_build_alias=$build_alias
    3736 test "x$ac_build_alias" = x &&
    3737   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    3738 test "x$ac_build_alias" = x &&
    3739   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    3740 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    3741   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    3742 
    3743 fi
    3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    3745 $as_echo "$ac_cv_build" >&6; }
    3746 case $ac_cv_build in
    3747 *-*-*) ;;
    3748 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
    3749 esac
     3036$ac_config_sub sun4 >/dev/null 2>&1 ||
     3037  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     3038echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3039   { (exit 1); exit 1; }; }
     3040
     3041echo "$as_me:$LINENO: checking build system type" >&5
     3042echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3043if test "${ac_cv_build+set}" = set; then
     3044  echo $ECHO_N "(cached) $ECHO_C" >&6
     3045else
     3046  ac_cv_build_alias=$build_alias
     3047test -z "$ac_cv_build_alias" &&
     3048  ac_cv_build_alias=`$ac_config_guess`
     3049test -z "$ac_cv_build_alias" &&
     3050  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     3051echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     3052   { (exit 1); exit 1; }; }
     3053ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     3054  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     3055echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3056   { (exit 1); exit 1; }; }
     3057
     3058fi
     3059echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3060echo "${ECHO_T}$ac_cv_build" >&6
    37503061build=$ac_cv_build
    3751 ac_save_IFS=$IFS; IFS='-'
    3752 set x $ac_cv_build
    3753 shift
    3754 build_cpu=$1
    3755 build_vendor=$2
    3756 shift; shift
    3757 # Remember, the first character of IFS is used to create $*,
    3758 # except with old shells:
    3759 build_os=$*
    3760 IFS=$ac_save_IFS
    3761 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    3762 
    3763 
    3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    3765 $as_echo_n "checking host system type... " >&6; }
    3766 if test "${ac_cv_host+set}" = set; then :
    3767   $as_echo_n "(cached) " >&6
    3768 else
    3769   if test "x$host_alias" = x; then
    3770   ac_cv_host=$ac_cv_build
    3771 else
    3772   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    3773     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    3774 fi
    3775 
    3776 fi
    3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    3778 $as_echo "$ac_cv_host" >&6; }
    3779 case $ac_cv_host in
    3780 *-*-*) ;;
    3781 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
    3782 esac
     3062build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3063build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3064build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3065
     3066
     3067echo "$as_me:$LINENO: checking host system type" >&5
     3068echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3069if test "${ac_cv_host+set}" = set; then
     3070  echo $ECHO_N "(cached) $ECHO_C" >&6
     3071else
     3072  ac_cv_host_alias=$host_alias
     3073test -z "$ac_cv_host_alias" &&
     3074  ac_cv_host_alias=$ac_cv_build_alias
     3075ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     3076  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     3077echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3078   { (exit 1); exit 1; }; }
     3079
     3080fi
     3081echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3082echo "${ECHO_T}$ac_cv_host" >&6
    37833083host=$ac_cv_host
    3784 ac_save_IFS=$IFS; IFS='-'
    3785 set x $ac_cv_host
    3786 shift
    3787 host_cpu=$1
    3788 host_vendor=$2
    3789 shift; shift
    3790 # Remember, the first character of IFS is used to create $*,
    3791 # except with old shells:
    3792 host_os=$*
    3793 IFS=$ac_save_IFS
    3794 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    3795 
    3796 
    3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
    3798 $as_echo_n "checking target system type... " >&6; }
    3799 if test "${ac_cv_target+set}" = set; then :
    3800   $as_echo_n "(cached) " >&6
    3801 else
    3802   if test "x$target_alias" = x; then
    3803   ac_cv_target=$ac_cv_host
    3804 else
    3805   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    3806     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
    3807 fi
    3808 
    3809 fi
    3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
    3811 $as_echo "$ac_cv_target" >&6; }
    3812 case $ac_cv_target in
    3813 *-*-*) ;;
    3814 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
    3815 esac
     3084host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3085host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3086host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3087
     3088
     3089echo "$as_me:$LINENO: checking target system type" >&5
     3090echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3091if test "${ac_cv_target+set}" = set; then
     3092  echo $ECHO_N "(cached) $ECHO_C" >&6
     3093else
     3094  ac_cv_target_alias=$target_alias
     3095test "x$ac_cv_target_alias" = "x" &&
     3096  ac_cv_target_alias=$ac_cv_host_alias
     3097ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     3098  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     3099echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3100   { (exit 1); exit 1; }; }
     3101
     3102fi
     3103echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3104echo "${ECHO_T}$ac_cv_target" >&6
    38163105target=$ac_cv_target
    3817 ac_save_IFS=$IFS; IFS='-'
    3818 set x $ac_cv_target
    3819 shift
    3820 target_cpu=$1
    3821 target_vendor=$2
    3822 shift; shift
    3823 # Remember, the first character of IFS is used to create $*,
    3824 # except with old shells:
    3825 target_os=$*
    3826 IFS=$ac_save_IFS
    3827 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     3106target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3107target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3108target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    38283109
    38293110
     
    38343115    NONENONEs,x,x, &&
    38353116  program_prefix=${target_alias}-
    3836 
    38373117# Find a good install program.  We prefer a C program (faster),
    38383118# so one script is as good as another.  But avoid the broken or
     
    38483128# OS/2's system install, which has a completely different semantic
    38493129# ./install, which can be erroneously created by make from ./install.sh.
    3850 # Reject install programs that cannot install multiple files.
    3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    3852 $as_echo_n "checking for a BSD-compatible install... " >&6; }
     3130echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3131echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    38533132if test -z "$INSTALL"; then
    3854 if test "${ac_cv_path_install+set}" = set; then :
    3855   $as_echo_n "(cached) " >&6
     3133if test "${ac_cv_path_install+set}" = set; then
     3134  echo $ECHO_N "(cached) $ECHO_C" >&6
    38563135else
    38573136  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    38603139  IFS=$as_save_IFS
    38613140  test -z "$as_dir" && as_dir=.
    3862     # Account for people who put trailing slashes in PATH elements.
    3863 case $as_dir/ in #((
    3864   ./ | .// | /[cC]/* | \
     3141  # Account for people who put trailing slashes in PATH elements.
     3142case $as_dir/ in
     3143  ./ | .// | /cC/* | \
    38653144  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3866   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     3145  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    38673146  /usr/ucb/* ) ;;
    38683147  *)
     
    38723151    for ac_prog in ginstall scoinst install; do
    38733152      for ac_exec_ext in '' $ac_executable_extensions; do
    3874     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3153    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    38753154      if test $ac_prog = install &&
    38763155        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    38823161        :
    38833162      else
    3884         rm -rf conftest.one conftest.two conftest.dir
    3885         echo one > conftest.one
    3886         echo two > conftest.two
    3887         mkdir conftest.dir
    3888         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    3889           test -s conftest.one && test -s conftest.two &&
    3890           test -s conftest.dir/conftest.one &&
    3891           test -s conftest.dir/conftest.two
    3892         then
    3893           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3894           break 3
    3895         fi
     3163        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3164        break 3
    38963165      fi
    38973166    fi
     
    39003169    ;;
    39013170esac
    3902 
    3903   done
    3904 IFS=$as_save_IFS
    3905 
    3906 rm -rf conftest.one conftest.two conftest.dir
     3171done
     3172
    39073173
    39083174fi
     
    39103176    INSTALL=$ac_cv_path_install
    39113177  else
    3912     # As a last resort, use the slow shell script.  Don't cache a
    3913     # value for INSTALL within a source directory, because that will
     3178    # As a last resort, use the slow shell script.  We don't cache a
     3179    # path for INSTALL within a source directory, because that will
    39143180    # break other packages using the cache if that directory is
    3915     # removed, or if the value is a relative name.
     3181    # removed, or if the path is relative.
    39163182    INSTALL=$ac_install_sh
    39173183  fi
    39183184fi
    3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    3920 $as_echo "$INSTALL" >&6; }
     3185echo "$as_me:$LINENO: result: $INSTALL" >&5
     3186echo "${ECHO_T}$INSTALL" >&6
    39213187
    39223188# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    39283194test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    39293195
    3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    3931 $as_echo_n "checking whether ln -s works... " >&6; }
     3196echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3197echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    39323198LN_S=$as_ln_s
    39333199if test "$LN_S" = "ln -s"; then
    3934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    3935 $as_echo "yes" >&6; }
    3936 else
    3937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    3938 $as_echo "no, using $LN_S" >&6; }
    3939 fi
    3940 
    3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3942 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    3943 set x ${MAKE-make}
    3944 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3945 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
    3946   $as_echo_n "(cached) " >&6
     3200  echo "$as_me:$LINENO: result: yes" >&5
     3201echo "${ECHO_T}yes" >&6
     3202else
     3203  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3204echo "${ECHO_T}no, using $LN_S" >&6
     3205fi
     3206
     3207echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3208echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3209set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3210if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3211  echo $ECHO_N "(cached) $ECHO_C" >&6
    39473212else
    39483213  cat >conftest.make <<\_ACEOF
    3949 SHELL = /bin/sh
    39503214all:
    3951     @echo '@@@%%%=$(MAKE)=@@@%%%'
    3952 _ACEOF
    3953 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    3954 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    3955   *@@@%%%=?*=@@@%%%*)
    3956     eval ac_cv_prog_make_${ac_make}_set=yes;;
    3957   *)
    3958     eval ac_cv_prog_make_${ac_make}_set=no;;
    3959 esac
     3215    @echo 'ac_maketemp="$(MAKE)"'
     3216_ACEOF
     3217# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3218eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3219if test -n "$ac_maketemp"; then
     3220  eval ac_cv_prog_make_${ac_make}_set=yes
     3221else
     3222  eval ac_cv_prog_make_${ac_make}_set=no
     3223fi
    39603224rm -f conftest.make
    39613225fi
    3962 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    3964 $as_echo "yes" >&6; }
     3226if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3227  echo "$as_me:$LINENO: result: yes" >&5
     3228echo "${ECHO_T}yes" >&6
    39653229  SET_MAKE=
    39663230else
    3967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3968 $as_echo "no" >&6; }
     3231  echo "$as_me:$LINENO: result: no" >&5
     3232echo "${ECHO_T}no" >&6
    39693233  SET_MAKE="MAKE=${MAKE-make}"
    39703234fi
     
    39733237  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    39743238set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3976 $as_echo_n "checking for $ac_word... " >&6; }
    3977 if test "${ac_cv_prog_RANLIB+set}" = set; then :
    3978   $as_echo_n "(cached) " >&6
     3239echo "$as_me:$LINENO: checking for $ac_word" >&5
     3240echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3241if test "${ac_cv_prog_RANLIB+set}" = set; then
     3242  echo $ECHO_N "(cached) $ECHO_C" >&6
    39793243else
    39803244  if test -n "$RANLIB"; then
     
    39863250  IFS=$as_save_IFS
    39873251  test -z "$as_dir" && as_dir=.
    3988     for ac_exec_ext in '' $ac_executable_extensions; do
    3989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3252  for ac_exec_ext in '' $ac_executable_extensions; do
     3253  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39903254    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3255    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39923256    break 2
    39933257  fi
    39943258done
    3995   done
    3996 IFS=$as_save_IFS
     3259done
    39973260
    39983261fi
     
    40003263RANLIB=$ac_cv_prog_RANLIB
    40013264if test -n "$RANLIB"; then
    4002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    4003 $as_echo "$RANLIB" >&6; }
    4004 else
    4005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4006 $as_echo "no" >&6; }
    4007 fi
    4008 
     3265  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3266echo "${ECHO_T}$RANLIB" >&6
     3267else
     3268  echo "$as_me:$LINENO: result: no" >&5
     3269echo "${ECHO_T}no" >&6
     3270fi
    40093271
    40103272fi
     
    40133275  # Extract the first word of "ranlib", so it can be a program name with args.
    40143276set dummy ranlib; ac_word=$2
    4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4016 $as_echo_n "checking for $ac_word... " >&6; }
    4017 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
    4018   $as_echo_n "(cached) " >&6
     3277echo "$as_me:$LINENO: checking for $ac_word" >&5
     3278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3279if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     3280  echo $ECHO_N "(cached) $ECHO_C" >&6
    40193281else
    40203282  if test -n "$ac_ct_RANLIB"; then
     
    40263288  IFS=$as_save_IFS
    40273289  test -z "$as_dir" && as_dir=.
    4028     for ac_exec_ext in '' $ac_executable_extensions; do
    4029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3290  for ac_exec_ext in '' $ac_executable_extensions; do
     3291  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40303292    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3293    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    40323294    break 2
    40333295  fi
    40343296done
    4035   done
    4036 IFS=$as_save_IFS
    4037 
     3297done
     3298
     3299  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    40383300fi
    40393301fi
    40403302ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    40413303if test -n "$ac_ct_RANLIB"; then
    4042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    4043 $as_echo "$ac_ct_RANLIB" >&6; }
    4044 else
    4045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4046 $as_echo "no" >&6; }
    4047 fi
    4048 
    4049   if test "x$ac_ct_RANLIB" = x; then
    4050     RANLIB=":"
    4051   else
    4052     case $cross_compiling:$ac_tool_warned in
    4053 yes:)
    4054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    4055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    4056 ac_tool_warned=yes ;;
    4057 esac
    4058     RANLIB=$ac_ct_RANLIB
    4059   fi
     3304  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3305echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3306else
     3307  echo "$as_me:$LINENO: result: no" >&5
     3308echo "${ECHO_T}no" >&6
     3309fi
     3310
     3311  RANLIB=$ac_ct_RANLIB
    40603312else
    40613313  RANLIB="$ac_cv_prog_RANLIB"
     
    40633315
    40643316
    4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
    4066 $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
     3317echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3318echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    40673319arch_64bit=no
    40683320case "$host_cpu" in
     
    40713323
    40723324if test "$arch_64bit" = yes; then
    4073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4074 $as_echo "yes" >&6; }
     3325  echo "$as_me:$LINENO: result: yes" >&5
     3326echo "${ECHO_T}yes" >&6
    40753327  if test -z "$COMPAT32BITFLAGS" ; then
    40763328    if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then
     
    40793331  fi
    40803332else
    4081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4082 $as_echo "no" >&6; }
     3333  echo "$as_me:$LINENO: result: no" >&5
     3334echo "${ECHO_T}no" >&6
    40833335  if test -z "$COMPAT32BITFLAGS" ; then
    40843336    COMPAT32BITFLAGS=
     
    41133365#do test of MICO_VER
    41143366if test MICO_VER != 0; then
    4115 $as_echo "#define MICO_VER 1" >>confdefs.h
     3367cat >>confdefs.h <<\_ACEOF
     3368#define MICO_VER 1
     3369_ACEOF
    41163370
    41173371
     
    41263380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    41273381ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    4129 $as_echo_n "checking how to run the C preprocessor... " >&6; }
     3382echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3383echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    41303384# On Suns, sometimes $CPP names a directory.
    41313385if test -n "$CPP" && test -d "$CPP"; then
     
    41333387fi
    41343388if test -z "$CPP"; then
    4135   if test "${ac_cv_prog_CPP+set}" = set; then :
    4136   $as_echo_n "(cached) " >&6
     3389  if test "${ac_cv_prog_CPP+set}" = set; then
     3390  echo $ECHO_N "(cached) $ECHO_C" >&6
    41373391else
    41383392      # Double quotes because CPP needs to be expanded
     
    41483402  # On the NeXT, cc -E runs the code through the compiler's parser,
    41493403  # not just through cpp. "Syntax error" is here to catch this case.
    4150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3404  cat >conftest.$ac_ext <<_ACEOF
     3405/* confdefs.h.  */
     3406_ACEOF
     3407cat confdefs.h >>conftest.$ac_ext
     3408cat >>conftest.$ac_ext <<_ACEOF
    41513409/* end confdefs.h.  */
    41523410#ifdef __STDC__
     
    41573415             Syntax error
    41583416_ACEOF
    4159 if ac_fn_c_try_cpp "$LINENO"; then :
    4160 
    4161 else
     3417if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3418  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3419  ac_status=$?
     3420  grep -v '^ *+' conftest.er1 >conftest.err
     3421  rm -f conftest.er1
     3422  cat conftest.err >&5
     3423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3424  (exit $ac_status); } >/dev/null; then
     3425  if test -s conftest.err; then
     3426    ac_cpp_err=$ac_c_preproc_warn_flag
     3427    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3428  else
     3429    ac_cpp_err=
     3430  fi
     3431else
     3432  ac_cpp_err=yes
     3433fi
     3434if test -z "$ac_cpp_err"; then
     3435  :
     3436else
     3437  echo "$as_me: failed program was:" >&5
     3438sed 's/^/| /' conftest.$ac_ext >&5
     3439
    41623440  # Broken: fails on valid input.
    41633441continue
    41643442fi
    4165 rm -f conftest.err conftest.i conftest.$ac_ext
    4166 
    4167   # OK, works on sane cases.  Now check whether nonexistent headers
     3443rm -f conftest.err conftest.$ac_ext
     3444
     3445  # OK, works on sane cases.  Now check whether non-existent headers
    41683446  # can be detected and how.
    4169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3447  cat >conftest.$ac_ext <<_ACEOF
     3448/* confdefs.h.  */
     3449_ACEOF
     3450cat confdefs.h >>conftest.$ac_ext
     3451cat >>conftest.$ac_ext <<_ACEOF
    41703452/* end confdefs.h.  */
    41713453#include <ac_nonexistent.h>
    41723454_ACEOF
    4173 if ac_fn_c_try_cpp "$LINENO"; then :
     3455if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3456  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3457  ac_status=$?
     3458  grep -v '^ *+' conftest.er1 >conftest.err
     3459  rm -f conftest.er1
     3460  cat conftest.err >&5
     3461  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3462  (exit $ac_status); } >/dev/null; then
     3463  if test -s conftest.err; then
     3464    ac_cpp_err=$ac_c_preproc_warn_flag
     3465    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3466  else
     3467    ac_cpp_err=
     3468  fi
     3469else
     3470  ac_cpp_err=yes
     3471fi
     3472if test -z "$ac_cpp_err"; then
    41743473  # Broken: success on invalid input.
    41753474continue
    41763475else
     3476  echo "$as_me: failed program was:" >&5
     3477sed 's/^/| /' conftest.$ac_ext >&5
     3478
    41773479  # Passes both tests.
    41783480ac_preproc_ok=:
    41793481break
    41803482fi
    4181 rm -f conftest.err conftest.i conftest.$ac_ext
     3483rm -f conftest.err conftest.$ac_ext
    41823484
    41833485done
    41843486# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4185 rm -f conftest.i conftest.err conftest.$ac_ext
    4186 if $ac_preproc_ok; then :
     3487rm -f conftest.err conftest.$ac_ext
     3488if $ac_preproc_ok; then
    41873489  break
    41883490fi
     
    41963498  ac_cv_prog_CPP=$CPP
    41973499fi
    4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    4199 $as_echo "$CPP" >&6; }
     3500echo "$as_me:$LINENO: result: $CPP" >&5
     3501echo "${ECHO_T}$CPP" >&6
    42003502ac_preproc_ok=false
    42013503for ac_c_preproc_warn_flag in '' yes
     
    42073509  # On the NeXT, cc -E runs the code through the compiler's parser,
    42083510  # not just through cpp. "Syntax error" is here to catch this case.
    4209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3511  cat >conftest.$ac_ext <<_ACEOF
     3512/* confdefs.h.  */
     3513_ACEOF
     3514cat confdefs.h >>conftest.$ac_ext
     3515cat >>conftest.$ac_ext <<_ACEOF
    42103516/* end confdefs.h.  */
    42113517#ifdef __STDC__
     
    42163522             Syntax error
    42173523_ACEOF
    4218 if ac_fn_c_try_cpp "$LINENO"; then :
    4219 
    4220 else
     3524if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3525  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3526  ac_status=$?
     3527  grep -v '^ *+' conftest.er1 >conftest.err
     3528  rm -f conftest.er1
     3529  cat conftest.err >&5
     3530  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3531  (exit $ac_status); } >/dev/null; then
     3532  if test -s conftest.err; then
     3533    ac_cpp_err=$ac_c_preproc_warn_flag
     3534    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3535  else
     3536    ac_cpp_err=
     3537  fi
     3538else
     3539  ac_cpp_err=yes
     3540fi
     3541if test -z "$ac_cpp_err"; then
     3542  :
     3543else
     3544  echo "$as_me: failed program was:" >&5
     3545sed 's/^/| /' conftest.$ac_ext >&5
     3546
    42213547  # Broken: fails on valid input.
    42223548continue
    42233549fi
    4224 rm -f conftest.err conftest.i conftest.$ac_ext
    4225 
    4226   # OK, works on sane cases.  Now check whether nonexistent headers
     3550rm -f conftest.err conftest.$ac_ext
     3551
     3552  # OK, works on sane cases.  Now check whether non-existent headers
    42273553  # can be detected and how.
    4228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3554  cat >conftest.$ac_ext <<_ACEOF
     3555/* confdefs.h.  */
     3556_ACEOF
     3557cat confdefs.h >>conftest.$ac_ext
     3558cat >>conftest.$ac_ext <<_ACEOF
    42293559/* end confdefs.h.  */
    42303560#include <ac_nonexistent.h>
    42313561_ACEOF
    4232 if ac_fn_c_try_cpp "$LINENO"; then :
     3562if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3563  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3564  ac_status=$?
     3565  grep -v '^ *+' conftest.er1 >conftest.err
     3566  rm -f conftest.er1
     3567  cat conftest.err >&5
     3568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3569  (exit $ac_status); } >/dev/null; then
     3570  if test -s conftest.err; then
     3571    ac_cpp_err=$ac_c_preproc_warn_flag
     3572    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3573  else
     3574    ac_cpp_err=
     3575  fi
     3576else
     3577  ac_cpp_err=yes
     3578fi
     3579if test -z "$ac_cpp_err"; then
    42333580  # Broken: success on invalid input.
    42343581continue
    42353582else
     3583  echo "$as_me: failed program was:" >&5
     3584sed 's/^/| /' conftest.$ac_ext >&5
     3585
    42363586  # Passes both tests.
    42373587ac_preproc_ok=:
    42383588break
    42393589fi
    4240 rm -f conftest.err conftest.i conftest.$ac_ext
     3590rm -f conftest.err conftest.$ac_ext
    42413591
    42423592done
    42433593# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4244 rm -f conftest.i conftest.err conftest.$ac_ext
    4245 if $ac_preproc_ok; then :
    4246 
    4247 else
    4248   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    4249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4250 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    4251 See \`config.log' for more details" "$LINENO" 5 ; }
     3594rm -f conftest.err conftest.$ac_ext
     3595if $ac_preproc_ok; then
     3596  :
     3597else
     3598  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3599See \`config.log' for more details." >&5
     3600echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3601See \`config.log' for more details." >&2;}
     3602   { (exit 1); exit 1; }; }
    42523603fi
    42533604
     
    42593610
    42603611
    4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    4262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4263 if test "${ac_cv_path_GREP+set}" = set; then :
    4264   $as_echo_n "(cached) " >&6
    4265 else
    4266   if test -z "$GREP"; then
    4267   ac_path_GREP_found=false
    4268   # Loop through the user's path and test for each of PROGNAME-LIST
    4269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4271 do
    4272   IFS=$as_save_IFS
    4273   test -z "$as_dir" && as_dir=.
    4274     for ac_prog in grep ggrep; do
    4275     for ac_exec_ext in '' $ac_executable_extensions; do
    4276       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4277       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4278 # Check for GNU ac_path_GREP and select it if it is found.
    4279   # Check for GNU $ac_path_GREP
    4280 case `"$ac_path_GREP" --version 2>&1` in
    4281 *GNU*)
    4282   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4283 *)
    4284   ac_count=0
    4285   $as_echo_n 0123456789 >"conftest.in"
    4286   while :
    4287   do
    4288     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4289     mv "conftest.tmp" "conftest.in"
    4290     cp "conftest.in" "conftest.nl"
    4291     $as_echo 'GREP' >> "conftest.nl"
    4292     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4293     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4294     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4295     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4296       # Best one so far, save it but keep looking for a better one
    4297       ac_cv_path_GREP="$ac_path_GREP"
    4298       ac_path_GREP_max=$ac_count
     3612echo "$as_me:$LINENO: checking for egrep" >&5
     3613echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3614if test "${ac_cv_prog_egrep+set}" = set; then
     3615  echo $ECHO_N "(cached) $ECHO_C" >&6
     3616else
     3617  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3618    then ac_cv_prog_egrep='grep -E'
     3619    else ac_cv_prog_egrep='egrep'
    42993620    fi
    4300     # 10*(2^10) chars as input seems more than enough
    4301     test $ac_count -gt 10 && break
     3621fi
     3622echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3623echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3624 EGREP=$ac_cv_prog_egrep
     3625
     3626
     3627
     3628echo "$as_me:$LINENO: checking for AIX" >&5
     3629echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     3630cat >conftest.$ac_ext <<_ACEOF
     3631/* confdefs.h.  */
     3632_ACEOF
     3633cat confdefs.h >>conftest.$ac_ext
     3634cat >>conftest.$ac_ext <<_ACEOF
     3635/* end confdefs.h.  */
     3636#ifdef _AIX
     3637  yes
     3638#endif
     3639
     3640_ACEOF
     3641if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3642  $EGREP "yes" >/dev/null 2>&1; then
     3643  echo "$as_me:$LINENO: result: yes" >&5
     3644echo "${ECHO_T}yes" >&6
     3645cat >>confdefs.h <<\_ACEOF
     3646#define _ALL_SOURCE 1
     3647_ACEOF
     3648
     3649else
     3650  echo "$as_me:$LINENO: result: no" >&5
     3651echo "${ECHO_T}no" >&6
     3652fi
     3653rm -f conftest*
     3654
     3655
     3656echo "$as_me:$LINENO: checking for library containing strerror" >&5
     3657echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     3658if test "${ac_cv_search_strerror+set}" = set; then
     3659  echo $ECHO_N "(cached) $ECHO_C" >&6
     3660else
     3661  ac_func_search_save_LIBS=$LIBS
     3662ac_cv_search_strerror=no
     3663cat >conftest.$ac_ext <<_ACEOF
     3664/* confdefs.h.  */
     3665_ACEOF
     3666cat confdefs.h >>conftest.$ac_ext
     3667cat >>conftest.$ac_ext <<_ACEOF
     3668/* end confdefs.h.  */
     3669
     3670/* Override any gcc2 internal prototype to avoid an error.  */
     3671#ifdef __cplusplus
     3672extern "C"
     3673#endif
     3674/* We use char because int might match the return type of a gcc2
     3675   builtin and then its argument prototype would still apply.  */
     3676char strerror ();
     3677int
     3678main ()
     3679{
     3680strerror ();
     3681  ;
     3682  return 0;
     3683}
     3684_ACEOF
     3685rm -f conftest.$ac_objext conftest$ac_exeext
     3686if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3687  (eval $ac_link) 2>conftest.er1
     3688  ac_status=$?
     3689  grep -v '^ *+' conftest.er1 >conftest.err
     3690  rm -f conftest.er1
     3691  cat conftest.err >&5
     3692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3693  (exit $ac_status); } &&
     3694     { ac_try='test -z "$ac_c_werror_flag"
     3695             || test ! -s conftest.err'
     3696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3697  (eval $ac_try) 2>&5
     3698  ac_status=$?
     3699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3700  (exit $ac_status); }; } &&
     3701     { ac_try='test -s conftest$ac_exeext'
     3702  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3703  (eval $ac_try) 2>&5
     3704  ac_status=$?
     3705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3706  (exit $ac_status); }; }; then
     3707  ac_cv_search_strerror="none required"
     3708else
     3709  echo "$as_me: failed program was:" >&5
     3710sed 's/^/| /' conftest.$ac_ext >&5
     3711
     3712fi
     3713rm -f conftest.err conftest.$ac_objext \
     3714      conftest$ac_exeext conftest.$ac_ext
     3715if test "$ac_cv_search_strerror" = no; then
     3716  for ac_lib in cposix; do
     3717    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     3718    cat >conftest.$ac_ext <<_ACEOF
     3719/* confdefs.h.  */
     3720_ACEOF
     3721cat confdefs.h >>conftest.$ac_ext
     3722cat >>conftest.$ac_ext <<_ACEOF
     3723/* end confdefs.h.  */
     3724
     3725/* Override any gcc2 internal prototype to avoid an error.  */
     3726#ifdef __cplusplus
     3727extern "C"
     3728#endif
     3729/* We use char because int might match the return type of a gcc2
     3730   builtin and then its argument prototype would still apply.  */
     3731char strerror ();
     3732int
     3733main ()
     3734{
     3735strerror ();
     3736  ;
     3737  return 0;
     3738}
     3739_ACEOF
     3740rm -f conftest.$ac_objext conftest$ac_exeext
     3741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3742  (eval $ac_link) 2>conftest.er1
     3743  ac_status=$?
     3744  grep -v '^ *+' conftest.er1 >conftest.err
     3745  rm -f conftest.er1
     3746  cat conftest.err >&5
     3747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3748  (exit $ac_status); } &&
     3749     { ac_try='test -z "$ac_c_werror_flag"
     3750             || test ! -s conftest.err'
     3751  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3752  (eval $ac_try) 2>&5
     3753  ac_status=$?
     3754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3755  (exit $ac_status); }; } &&
     3756     { ac_try='test -s conftest$ac_exeext'
     3757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3758  (eval $ac_try) 2>&5
     3759  ac_status=$?
     3760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3761  (exit $ac_status); }; }; then
     3762  ac_cv_search_strerror="-l$ac_lib"
     3763break
     3764else
     3765  echo "$as_me: failed program was:" >&5
     3766sed 's/^/| /' conftest.$ac_ext >&5
     3767
     3768fi
     3769rm -f conftest.err conftest.$ac_objext \
     3770      conftest$ac_exeext conftest.$ac_ext
    43023771  done
    4303   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4304 esac
    4305 
    4306       $ac_path_GREP_found && break 3
    4307     done
    4308   done
    4309   done
    4310 IFS=$as_save_IFS
    4311   if test -z "$ac_cv_path_GREP"; then
    4312     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4313   fi
    4314 else
    4315   ac_cv_path_GREP=$GREP
    4316 fi
    4317 
    4318 fi
    4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    4320 $as_echo "$ac_cv_path_GREP" >&6; }
    4321  GREP="$ac_cv_path_GREP"
    4322 
    4323 
    4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    4325 $as_echo_n "checking for egrep... " >&6; }
    4326 if test "${ac_cv_path_EGREP+set}" = set; then :
    4327   $as_echo_n "(cached) " >&6
    4328 else
    4329   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4330    then ac_cv_path_EGREP="$GREP -E"
    4331    else
    4332      if test -z "$EGREP"; then
    4333   ac_path_EGREP_found=false
    4334   # Loop through the user's path and test for each of PROGNAME-LIST
    4335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4337 do
    4338   IFS=$as_save_IFS
    4339   test -z "$as_dir" && as_dir=.
    4340     for ac_prog in egrep; do
    4341     for ac_exec_ext in '' $ac_executable_extensions; do
    4342       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4343       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4344 # Check for GNU ac_path_EGREP and select it if it is found.
    4345   # Check for GNU $ac_path_EGREP
    4346 case `"$ac_path_EGREP" --version 2>&1` in
    4347 *GNU*)
    4348   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4349 *)
    4350   ac_count=0
    4351   $as_echo_n 0123456789 >"conftest.in"
    4352   while :
    4353   do
    4354     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4355     mv "conftest.tmp" "conftest.in"
    4356     cp "conftest.in" "conftest.nl"
    4357     $as_echo 'EGREP' >> "conftest.nl"
    4358     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4359     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4360     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4361     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4362       # Best one so far, save it but keep looking for a better one
    4363       ac_cv_path_EGREP="$ac_path_EGREP"
    4364       ac_path_EGREP_max=$ac_count
    4365     fi
    4366     # 10*(2^10) chars as input seems more than enough
    4367     test $ac_count -gt 10 && break
    4368   done
    4369   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4370 esac
    4371 
    4372       $ac_path_EGREP_found && break 3
    4373     done
    4374   done
    4375   done
    4376 IFS=$as_save_IFS
    4377   if test -z "$ac_cv_path_EGREP"; then
    4378     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4379   fi
    4380 else
    4381   ac_cv_path_EGREP=$EGREP
    4382 fi
    4383 
    4384    fi
    4385 fi
    4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    4387 $as_echo "$ac_cv_path_EGREP" >&6; }
    4388  EGREP="$ac_cv_path_EGREP"
    4389 
    4390 
    4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    4392 $as_echo_n "checking for ANSI C header files... " >&6; }
    4393 if test "${ac_cv_header_stdc+set}" = set; then :
    4394   $as_echo_n "(cached) " >&6
    4395 else
    4396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3772fi
     3773LIBS=$ac_func_search_save_LIBS
     3774fi
     3775echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     3776echo "${ECHO_T}$ac_cv_search_strerror" >&6
     3777if test "$ac_cv_search_strerror" != no; then
     3778  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     3779
     3780fi
     3781
     3782echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3783echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3784if test "${ac_cv_header_stdc+set}" = set; then
     3785  echo $ECHO_N "(cached) $ECHO_C" >&6
     3786else
     3787  cat >conftest.$ac_ext <<_ACEOF
     3788/* confdefs.h.  */
     3789_ACEOF
     3790cat confdefs.h >>conftest.$ac_ext
     3791cat >>conftest.$ac_ext <<_ACEOF
    43973792/* end confdefs.h.  */
    43983793#include <stdlib.h>
     
    44093804}
    44103805_ACEOF
    4411 if ac_fn_c_try_compile "$LINENO"; then :
     3806rm -f conftest.$ac_objext
     3807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3808  (eval $ac_compile) 2>conftest.er1
     3809  ac_status=$?
     3810  grep -v '^ *+' conftest.er1 >conftest.err
     3811  rm -f conftest.er1
     3812  cat conftest.err >&5
     3813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3814  (exit $ac_status); } &&
     3815     { ac_try='test -z "$ac_c_werror_flag"
     3816             || test ! -s conftest.err'
     3817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3818  (eval $ac_try) 2>&5
     3819  ac_status=$?
     3820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3821  (exit $ac_status); }; } &&
     3822     { ac_try='test -s conftest.$ac_objext'
     3823  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3824  (eval $ac_try) 2>&5
     3825  ac_status=$?
     3826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3827  (exit $ac_status); }; }; then
    44123828  ac_cv_header_stdc=yes
    44133829else
    4414   ac_cv_header_stdc=no
    4415 fi
    4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3830  echo "$as_me: failed program was:" >&5
     3831sed 's/^/| /' conftest.$ac_ext >&5
     3832
     3833ac_cv_header_stdc=no
     3834fi
     3835rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    44173836
    44183837if test $ac_cv_header_stdc = yes; then
    44193838  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3839  cat >conftest.$ac_ext <<_ACEOF
     3840/* confdefs.h.  */
     3841_ACEOF
     3842cat confdefs.h >>conftest.$ac_ext
     3843cat >>conftest.$ac_ext <<_ACEOF
    44213844/* end confdefs.h.  */
    44223845#include <string.h>
     
    44243847_ACEOF
    44253848if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4426   $EGREP "memchr" >/dev/null 2>&1; then :
    4427 
     3849  $EGREP "memchr" >/dev/null 2>&1; then
     3850  :
    44283851else
    44293852  ac_cv_header_stdc=no
     
    44353858if test $ac_cv_header_stdc = yes; then
    44363859  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3860  cat >conftest.$ac_ext <<_ACEOF
     3861/* confdefs.h.  */
     3862_ACEOF
     3863cat confdefs.h >>conftest.$ac_ext
     3864cat >>conftest.$ac_ext <<_ACEOF
    44383865/* end confdefs.h.  */
    44393866#include <stdlib.h>
     
    44413868_ACEOF
    44423869if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4443   $EGREP "free" >/dev/null 2>&1; then :
    4444 
     3870  $EGREP "free" >/dev/null 2>&1; then
     3871  :
    44453872else
    44463873  ac_cv_header_stdc=no
     
    44523879if test $ac_cv_header_stdc = yes; then
    44533880  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4454   if test "$cross_compiling" = yes; then :
     3881  if test "$cross_compiling" = yes; then
    44553882  :
    44563883else
    4457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3884  cat >conftest.$ac_ext <<_ACEOF
     3885/* confdefs.h.  */
     3886_ACEOF
     3887cat confdefs.h >>conftest.$ac_ext
     3888cat >>conftest.$ac_ext <<_ACEOF
    44583889/* end confdefs.h.  */
    44593890#include <ctype.h>
    4460 #include <stdlib.h>
    44613891#if ((' ' & 0x0FF) == 0x020)
    44623892# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    44783908    if (XOR (islower (i), ISLOWER (i))
    44793909    || toupper (i) != TOUPPER (i))
    4480       return 2;
    4481   return 0;
     3910      exit(2);
     3911  exit (0);
    44823912}
    44833913_ACEOF
    4484 if ac_fn_c_try_run "$LINENO"; then :
    4485 
    4486 else
    4487   ac_cv_header_stdc=no
    4488 fi
    4489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    4490   conftest.$ac_objext conftest.beam conftest.$ac_ext
    4491 fi
    4492 
    4493 fi
    4494 fi
    4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    4496 $as_echo "$ac_cv_header_stdc" >&6; }
     3914rm -f conftest$ac_exeext
     3915if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3916  (eval $ac_link) 2>&5
     3917  ac_status=$?
     3918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3919  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3920  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3921  (eval $ac_try) 2>&5
     3922  ac_status=$?
     3923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3924  (exit $ac_status); }; }; then
     3925  :
     3926else
     3927  echo "$as_me: program exited with status $ac_status" >&5
     3928echo "$as_me: failed program was:" >&5
     3929sed 's/^/| /' conftest.$ac_ext >&5
     3930
     3931( exit $ac_status )
     3932ac_cv_header_stdc=no
     3933fi
     3934rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3935fi
     3936fi
     3937fi
     3938echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3939echo "${ECHO_T}$ac_cv_header_stdc" >&6
    44973940if test $ac_cv_header_stdc = yes; then
    44983941
    4499 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     3942cat >>confdefs.h <<\_ACEOF
     3943#define STDC_HEADERS 1
     3944_ACEOF
    45003945
    45013946fi
    45023947
    45033948# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3949
     3950
     3951
     3952
     3953
     3954
     3955
     3956
     3957
    45043958for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    45053959          inttypes.h stdint.h unistd.h
    4506 do :
    4507   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4508 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    4509 "
    4510 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     3960do
     3961as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3962echo "$as_me:$LINENO: checking for $ac_header" >&5
     3963echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3964if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3965  echo $ECHO_N "(cached) $ECHO_C" >&6
     3966else
     3967  cat >conftest.$ac_ext <<_ACEOF
     3968/* confdefs.h.  */
     3969_ACEOF
     3970cat confdefs.h >>conftest.$ac_ext
     3971cat >>conftest.$ac_ext <<_ACEOF
     3972/* end confdefs.h.  */
     3973$ac_includes_default
     3974
     3975#include <$ac_header>
     3976_ACEOF
     3977rm -f conftest.$ac_objext
     3978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3979  (eval $ac_compile) 2>conftest.er1
     3980  ac_status=$?
     3981  grep -v '^ *+' conftest.er1 >conftest.err
     3982  rm -f conftest.er1
     3983  cat conftest.err >&5
     3984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3985  (exit $ac_status); } &&
     3986     { ac_try='test -z "$ac_c_werror_flag"
     3987             || test ! -s conftest.err'
     3988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3989  (eval $ac_try) 2>&5
     3990  ac_status=$?
     3991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3992  (exit $ac_status); }; } &&
     3993     { ac_try='test -s conftest.$ac_objext'
     3994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3995  (eval $ac_try) 2>&5
     3996  ac_status=$?
     3997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3998  (exit $ac_status); }; }; then
     3999  eval "$as_ac_Header=yes"
     4000else
     4001  echo "$as_me: failed program was:" >&5
     4002sed 's/^/| /' conftest.$ac_ext >&5
     4003
     4004eval "$as_ac_Header=no"
     4005fi
     4006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4007fi
     4008echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4009echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4010if test `eval echo '${'$as_ac_Header'}'` = yes; then
    45114011  cat >>confdefs.h <<_ACEOF
    4512 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4012#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    45134013_ACEOF
    45144014
     
    45184018
    45194019
    4520 
    4521   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
    4522 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
     4020if test "${ac_cv_header_minix_config_h+set}" = set; then
     4021  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4022echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4023if test "${ac_cv_header_minix_config_h+set}" = set; then
     4024  echo $ECHO_N "(cached) $ECHO_C" >&6
     4025fi
     4026echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4027echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4028else
     4029  # Is the header compilable?
     4030echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4031echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4032cat >conftest.$ac_ext <<_ACEOF
     4033/* confdefs.h.  */
     4034_ACEOF
     4035cat confdefs.h >>conftest.$ac_ext
     4036cat >>conftest.$ac_ext <<_ACEOF
     4037/* end confdefs.h.  */
     4038$ac_includes_default
     4039#include <minix/config.h>
     4040_ACEOF
     4041rm -f conftest.$ac_objext
     4042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4043  (eval $ac_compile) 2>conftest.er1
     4044  ac_status=$?
     4045  grep -v '^ *+' conftest.er1 >conftest.err
     4046  rm -f conftest.er1
     4047  cat conftest.err >&5
     4048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4049  (exit $ac_status); } &&
     4050     { ac_try='test -z "$ac_c_werror_flag"
     4051             || test ! -s conftest.err'
     4052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4053  (eval $ac_try) 2>&5
     4054  ac_status=$?
     4055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4056  (exit $ac_status); }; } &&
     4057     { ac_try='test -s conftest.$ac_objext'
     4058  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4059  (eval $ac_try) 2>&5
     4060  ac_status=$?
     4061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4062  (exit $ac_status); }; }; then
     4063  ac_header_compiler=yes
     4064else
     4065  echo "$as_me: failed program was:" >&5
     4066sed 's/^/| /' conftest.$ac_ext >&5
     4067
     4068ac_header_compiler=no
     4069fi
     4070rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4071echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4072echo "${ECHO_T}$ac_header_compiler" >&6
     4073
     4074# Is the header present?
     4075echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4076echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4077cat >conftest.$ac_ext <<_ACEOF
     4078/* confdefs.h.  */
     4079_ACEOF
     4080cat confdefs.h >>conftest.$ac_ext
     4081cat >>conftest.$ac_ext <<_ACEOF
     4082/* end confdefs.h.  */
     4083#include <minix/config.h>
     4084_ACEOF
     4085if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4086  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4087  ac_status=$?
     4088  grep -v '^ *+' conftest.er1 >conftest.err
     4089  rm -f conftest.er1
     4090  cat conftest.err >&5
     4091  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4092  (exit $ac_status); } >/dev/null; then
     4093  if test -s conftest.err; then
     4094    ac_cpp_err=$ac_c_preproc_warn_flag
     4095    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4096  else
     4097    ac_cpp_err=
     4098  fi
     4099else
     4100  ac_cpp_err=yes
     4101fi
     4102if test -z "$ac_cpp_err"; then
     4103  ac_header_preproc=yes
     4104else
     4105  echo "$as_me: failed program was:" >&5
     4106sed 's/^/| /' conftest.$ac_ext >&5
     4107
     4108  ac_header_preproc=no
     4109fi
     4110rm -f conftest.err conftest.$ac_ext
     4111echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4112echo "${ECHO_T}$ac_header_preproc" >&6
     4113
     4114# So?  What about this header?
     4115case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4116  yes:no: )
     4117    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4118echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4119    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     4120echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     4121    ac_header_preproc=yes
     4122    ;;
     4123  no:yes:* )
     4124    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     4125echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     4126    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     4127echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     4128    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     4129echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     4130    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     4131echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4132    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     4133echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     4134    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     4135echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     4136    (
     4137      cat <<\_ASBOX
     4138## ------------------------------------------ ##
     4139## Report this to the AC_PACKAGE_NAME lists.  ##
     4140## ------------------------------------------ ##
     4141_ASBOX
     4142    ) |
     4143      sed "s/^/$as_me: WARNING:     /" >&2
     4144    ;;
     4145esac
     4146echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4147echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4148if test "${ac_cv_header_minix_config_h+set}" = set; then
     4149  echo $ECHO_N "(cached) $ECHO_C" >&6
     4150else
     4151  ac_cv_header_minix_config_h=$ac_header_preproc
     4152fi
     4153echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4154echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4155
     4156fi
     4157if test $ac_cv_header_minix_config_h = yes; then
    45234158  MINIX=yes
    45244159else
     
    45274162
    45284163
    4529   if test "$MINIX" = yes; then
    4530 
    4531 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
    4532 
    4533 
    4534 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
    4535 
    4536 
    4537 $as_echo "#define _MINIX 1" >>confdefs.h
    4538 
    4539   fi
    4540 
    4541 
    4542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
    4543 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
    4544 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
    4545   $as_echo_n "(cached) " >&6
    4546 else
    4547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4548 /* end confdefs.h.  */
    4549 
    4550 #     define __EXTENSIONS__ 1
    4551       $ac_includes_default
    4552 int
    4553 main ()
    4554 {
    4555 
    4556   ;
    4557   return 0;
    4558 }
    4559 _ACEOF
    4560 if ac_fn_c_try_compile "$LINENO"; then :
    4561   ac_cv_safe_to_define___extensions__=yes
    4562 else
    4563   ac_cv_safe_to_define___extensions__=no
    4564 fi
    4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4566 fi
    4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
    4568 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
    4569   test $ac_cv_safe_to_define___extensions__ = yes &&
    4570     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
    4571 
    4572   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
    4573 
    4574   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
    4575 
    4576   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    4577 
    4578   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
    4579 
    4580 
    4581 
    4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
    4583 $as_echo_n "checking for library containing strerror... " >&6; }
    4584 if test "${ac_cv_search_strerror+set}" = set; then :
    4585   $as_echo_n "(cached) " >&6
    4586 else
    4587   ac_func_search_save_LIBS=$LIBS
    4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4589 /* end confdefs.h.  */
    4590 
    4591 /* Override any GCC internal prototype to avoid an error.
    4592    Use char because int might match the return type of a GCC
    4593    builtin and then its argument prototype would still apply.  */
    4594 #ifdef __cplusplus
    4595 extern "C"
    4596 #endif
    4597 char strerror ();
    4598 int
    4599 main ()
    4600 {
    4601 return strerror ();
    4602   ;
    4603   return 0;
    4604 }
    4605 _ACEOF
    4606 for ac_lib in '' cposix; do
    4607   if test -z "$ac_lib"; then
    4608     ac_res="none required"
    4609   else
    4610     ac_res=-l$ac_lib
    4611     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4612   fi
    4613   if ac_fn_c_try_link "$LINENO"; then :
    4614   ac_cv_search_strerror=$ac_res
    4615 fi
    4616 rm -f core conftest.err conftest.$ac_objext \
    4617     conftest$ac_exeext
    4618   if test "${ac_cv_search_strerror+set}" = set; then :
    4619   break
    4620 fi
    4621 done
    4622 if test "${ac_cv_search_strerror+set}" = set; then :
    4623 
    4624 else
    4625   ac_cv_search_strerror=no
    4626 fi
    4627 rm conftest.$ac_ext
    4628 LIBS=$ac_func_search_save_LIBS
    4629 fi
    4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
    4631 $as_echo "$ac_cv_search_strerror" >&6; }
    4632 ac_res=$ac_cv_search_strerror
    4633 if test "$ac_res" != no; then :
    4634   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    4635 
    4636 fi
    4637 
    4638 
    4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
    4640 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
    4641 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
    4642   $as_echo_n "(cached) " >&6
     4164if test "$MINIX" = yes; then
     4165
     4166cat >>confdefs.h <<\_ACEOF
     4167#define _POSIX_SOURCE 1
     4168_ACEOF
     4169
     4170
     4171cat >>confdefs.h <<\_ACEOF
     4172#define _POSIX_1_SOURCE 2
     4173_ACEOF
     4174
     4175
     4176cat >>confdefs.h <<\_ACEOF
     4177#define _MINIX 1
     4178_ACEOF
     4179
     4180fi
     4181
     4182echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4183echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4184if test "${ac_cv_prog_cc_stdc+set}" = set; then
     4185  echo $ECHO_N "(cached) $ECHO_C" >&6
    46434186else
    46444187  ac_cv_prog_cc_stdc=no
     
    46534196do
    46544197  CFLAGS="$ac_save_CFLAGS $ac_arg"
    4655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4198  cat >conftest.$ac_ext <<_ACEOF
     4199/* confdefs.h.  */
     4200_ACEOF
     4201cat confdefs.h >>conftest.$ac_ext
     4202cat >>conftest.$ac_ext <<_ACEOF
    46564203/* end confdefs.h.  */
    46574204#if !defined(__STDC__) || __STDC__ != 1
     
    46694216}
    46704217_ACEOF
    4671 if ac_fn_c_try_compile "$LINENO"; then :
     4218rm -f conftest.$ac_objext
     4219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4220  (eval $ac_compile) 2>conftest.er1
     4221  ac_status=$?
     4222  grep -v '^ *+' conftest.er1 >conftest.err
     4223  rm -f conftest.er1
     4224  cat conftest.err >&5
     4225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4226  (exit $ac_status); } &&
     4227     { ac_try='test -z "$ac_c_werror_flag"
     4228             || test ! -s conftest.err'
     4229  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4230  (eval $ac_try) 2>&5
     4231  ac_status=$?
     4232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4233  (exit $ac_status); }; } &&
     4234     { ac_try='test -s conftest.$ac_objext'
     4235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4236  (eval $ac_try) 2>&5
     4237  ac_status=$?
     4238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4239  (exit $ac_status); }; }; then
    46724240  ac_cv_prog_cc_stdc="$ac_arg"; break
    4673 fi
    4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4241else
     4242  echo "$as_me: failed program was:" >&5
     4243sed 's/^/| /' conftest.$ac_ext >&5
     4244
     4245fi
     4246rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    46754247done
    46764248CFLAGS="$ac_save_CFLAGS"
     
    46784250fi
    46794251
    4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
    4681 $as_echo "$ac_cv_prog_cc_stdc" >&6; }
     4252echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4253echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    46824254case "x$ac_cv_prog_cc_stdc" in
    46834255  x|xno) ;;
     
    46864258
    46874259
    4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
    4689 $as_echo_n "checking for function prototypes... " >&6; }
     4260echo "$as_me:$LINENO: checking for function prototypes" >&5
     4261echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
    46904262if test "$ac_cv_prog_cc_stdc" != no; then
    4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4692 $as_echo "yes" >&6; }
    4693   $as_echo "#define PROTOTYPES 1" >>confdefs.h
     4263  echo "$as_me:$LINENO: result: yes" >&5
     4264echo "${ECHO_T}yes" >&6
     4265  cat >>confdefs.h <<\_ACEOF
     4266#define PROTOTYPES 1
     4267_ACEOF
    46944268
    46954269  U= ANSI2KNR=
    46964270else
    4697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4698 $as_echo "no" >&6; }
     4271  echo "$as_me:$LINENO: result: no" >&5
     4272echo "${ECHO_T}no" >&6
    46994273  U=_ ANSI2KNR=ansi2knr
    47004274fi
    47014275
    4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
    4703 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
    4704 if test "${ac_cv_c_const+set}" = set; then :
    4705   $as_echo_n "(cached) " >&6
    4706 else
    4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4276echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4277echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4278if test "${ac_cv_c_const+set}" = set; then
     4279  echo $ECHO_N "(cached) $ECHO_C" >&6
     4280else
     4281  cat >conftest.$ac_ext <<_ACEOF
     4282/* confdefs.h.  */
     4283_ACEOF
     4284cat confdefs.h >>conftest.$ac_ext
     4285cat >>conftest.$ac_ext <<_ACEOF
    47084286/* end confdefs.h.  */
    47094287
     
    47154293  /* Ultrix mips cc rejects this.  */
    47164294  typedef int charset[2];
    4717   const charset cs;
     4295  const charset x;
    47184296  /* SunOS 4.1.1 cc rejects this.  */
    4719   char const *const *pcpcc;
    4720   char **ppc;
     4297  char const *const *ccp;
     4298  char **p;
    47214299  /* NEC SVR4.0.2 mips cc rejects this.  */
    47224300  struct point {int x, y;};
     
    47274305     expression */
    47284306  const char *g = "string";
    4729   pcpcc = &g + (g ? g-g : 0);
     4307  ccp = &g + (g ? g-g : 0);
    47304308  /* HPUX 7.0 cc rejects these. */
    4731   ++pcpcc;
    4732   ppc = (char**) pcpcc;
    4733   pcpcc = (char const *const *) ppc;
     4309  ++ccp;
     4310  p = (char**) ccp;
     4311  ccp = (char const *const *) p;
    47344312  { /* SCO 3.2v4 cc rejects this.  */
    47354313    char *t;
     
    47374315
    47384316    *t++ = 0;
    4739     if (s) return 0;
    47404317  }
    47414318  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    47564333  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    47574334    const int foo = 10;
    4758     if (!foo) return 0;
    47594335  }
    4760   return !cs[0] && !zero.x;
    47614336#endif
    47624337
     
    47654340}
    47664341_ACEOF
    4767 if ac_fn_c_try_compile "$LINENO"; then :
     4342rm -f conftest.$ac_objext
     4343if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4344  (eval $ac_compile) 2>conftest.er1
     4345  ac_status=$?
     4346  grep -v '^ *+' conftest.er1 >conftest.err
     4347  rm -f conftest.er1
     4348  cat conftest.err >&5
     4349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4350  (exit $ac_status); } &&
     4351     { ac_try='test -z "$ac_c_werror_flag"
     4352             || test ! -s conftest.err'
     4353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4354  (eval $ac_try) 2>&5
     4355  ac_status=$?
     4356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4357  (exit $ac_status); }; } &&
     4358     { ac_try='test -s conftest.$ac_objext'
     4359  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4360  (eval $ac_try) 2>&5
     4361  ac_status=$?
     4362  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4363  (exit $ac_status); }; }; then
    47684364  ac_cv_c_const=yes
    47694365else
    4770   ac_cv_c_const=no
    4771 fi
    4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4773 fi
    4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
    4775 $as_echo "$ac_cv_c_const" >&6; }
     4366  echo "$as_me: failed program was:" >&5
     4367sed 's/^/| /' conftest.$ac_ext >&5
     4368
     4369ac_cv_c_const=no
     4370fi
     4371rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4372fi
     4373echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4374echo "${ECHO_T}$ac_cv_c_const" >&6
    47764375if test $ac_cv_c_const = no; then
    47774376
    4778 $as_echo "#define const /**/" >>confdefs.h
    4779 
    4780 fi
    4781 
    4782 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
    4783 if test "x$ac_cv_type_off_t" = x""yes; then :
    4784 
     4377cat >>confdefs.h <<\_ACEOF
     4378#define const
     4379_ACEOF
     4380
     4381fi
     4382
     4383echo "$as_me:$LINENO: checking for off_t" >&5
     4384echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4385if test "${ac_cv_type_off_t+set}" = set; then
     4386  echo $ECHO_N "(cached) $ECHO_C" >&6
     4387else
     4388  cat >conftest.$ac_ext <<_ACEOF
     4389/* confdefs.h.  */
     4390_ACEOF
     4391cat confdefs.h >>conftest.$ac_ext
     4392cat >>conftest.$ac_ext <<_ACEOF
     4393/* end confdefs.h.  */
     4394$ac_includes_default
     4395int
     4396main ()
     4397{
     4398if ((off_t *) 0)
     4399  return 0;
     4400if (sizeof (off_t))
     4401  return 0;
     4402  ;
     4403  return 0;
     4404}
     4405_ACEOF
     4406rm -f conftest.$ac_objext
     4407if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4408  (eval $ac_compile) 2>conftest.er1
     4409  ac_status=$?
     4410  grep -v '^ *+' conftest.er1 >conftest.err
     4411  rm -f conftest.er1
     4412  cat conftest.err >&5
     4413  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4414  (exit $ac_status); } &&
     4415     { ac_try='test -z "$ac_c_werror_flag"
     4416             || test ! -s conftest.err'
     4417  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4418  (eval $ac_try) 2>&5
     4419  ac_status=$?
     4420  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4421  (exit $ac_status); }; } &&
     4422     { ac_try='test -s conftest.$ac_objext'
     4423  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4424  (eval $ac_try) 2>&5
     4425  ac_status=$?
     4426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4427  (exit $ac_status); }; }; then
     4428  ac_cv_type_off_t=yes
     4429else
     4430  echo "$as_me: failed program was:" >&5
     4431sed 's/^/| /' conftest.$ac_ext >&5
     4432
     4433ac_cv_type_off_t=no
     4434fi
     4435rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4436fi
     4437echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4438echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4439if test $ac_cv_type_off_t = yes; then
     4440  :
    47854441else
    47864442
    47874443cat >>confdefs.h <<_ACEOF
    4788 #define off_t long int
    4789 _ACEOF
    4790 
    4791 fi
    4792 
    4793 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
    4794 if test "x$ac_cv_type_size_t" = x""yes; then :
    4795 
     4444#define off_t long
     4445_ACEOF
     4446
     4447fi
     4448
     4449echo "$as_me:$LINENO: checking for size_t" >&5
     4450echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4451if test "${ac_cv_type_size_t+set}" = set; then
     4452  echo $ECHO_N "(cached) $ECHO_C" >&6
     4453else
     4454  cat >conftest.$ac_ext <<_ACEOF
     4455/* confdefs.h.  */
     4456_ACEOF
     4457cat confdefs.h >>conftest.$ac_ext
     4458cat >>conftest.$ac_ext <<_ACEOF
     4459/* end confdefs.h.  */
     4460$ac_includes_default
     4461int
     4462main ()
     4463{
     4464if ((size_t *) 0)
     4465  return 0;
     4466if (sizeof (size_t))
     4467  return 0;
     4468  ;
     4469  return 0;
     4470}
     4471_ACEOF
     4472rm -f conftest.$ac_objext
     4473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4474  (eval $ac_compile) 2>conftest.er1
     4475  ac_status=$?
     4476  grep -v '^ *+' conftest.er1 >conftest.err
     4477  rm -f conftest.er1
     4478  cat conftest.err >&5
     4479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4480  (exit $ac_status); } &&
     4481     { ac_try='test -z "$ac_c_werror_flag"
     4482             || test ! -s conftest.err'
     4483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4484  (eval $ac_try) 2>&5
     4485  ac_status=$?
     4486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4487  (exit $ac_status); }; } &&
     4488     { ac_try='test -s conftest.$ac_objext'
     4489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4490  (eval $ac_try) 2>&5
     4491  ac_status=$?
     4492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4493  (exit $ac_status); }; }; then
     4494  ac_cv_type_size_t=yes
     4495else
     4496  echo "$as_me: failed program was:" >&5
     4497sed 's/^/| /' conftest.$ac_ext >&5
     4498
     4499ac_cv_type_size_t=no
     4500fi
     4501rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4502fi
     4503echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4504echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4505if test $ac_cv_type_size_t = yes; then
     4506  :
    47964507else
    47974508
    47984509cat >>confdefs.h <<_ACEOF
    4799 #define size_t unsigned int
    4800 _ACEOF
    4801 
    4802 fi
    4803 
    4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
    4805 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
    4806 if test "${ac_cv_header_time+set}" = set; then :
    4807   $as_echo_n "(cached) " >&6
    4808 else
    4809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4510#define size_t unsigned
     4511_ACEOF
     4512
     4513fi
     4514
     4515echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4516echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     4517if test "${ac_cv_header_time+set}" = set; then
     4518  echo $ECHO_N "(cached) $ECHO_C" >&6
     4519else
     4520  cat >conftest.$ac_ext <<_ACEOF
     4521/* confdefs.h.  */
     4522_ACEOF
     4523cat confdefs.h >>conftest.$ac_ext
     4524cat >>conftest.$ac_ext <<_ACEOF
    48104525/* end confdefs.h.  */
    48114526#include <sys/types.h>
     
    48224537}
    48234538_ACEOF
    4824 if ac_fn_c_try_compile "$LINENO"; then :
     4539rm -f conftest.$ac_objext
     4540if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4541  (eval $ac_compile) 2>conftest.er1
     4542  ac_status=$?
     4543  grep -v '^ *+' conftest.er1 >conftest.err
     4544  rm -f conftest.er1
     4545  cat conftest.err >&5
     4546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4547  (exit $ac_status); } &&
     4548     { ac_try='test -z "$ac_c_werror_flag"
     4549             || test ! -s conftest.err'
     4550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4551  (eval $ac_try) 2>&5
     4552  ac_status=$?
     4553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4554  (exit $ac_status); }; } &&
     4555     { ac_try='test -s conftest.$ac_objext'
     4556  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4557  (eval $ac_try) 2>&5
     4558  ac_status=$?
     4559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4560  (exit $ac_status); }; }; then
    48254561  ac_cv_header_time=yes
    48264562else
    4827   ac_cv_header_time=no
    4828 fi
    4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4830 fi
    4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
    4832 $as_echo "$ac_cv_header_time" >&6; }
     4563  echo "$as_me: failed program was:" >&5
     4564sed 's/^/| /' conftest.$ac_ext >&5
     4565
     4566ac_cv_header_time=no
     4567fi
     4568rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4569fi
     4570echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4571echo "${ECHO_T}$ac_cv_header_time" >&6
    48334572if test $ac_cv_header_time = yes; then
    48344573
    4835 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
    4836 
    4837 fi
    4838 
    4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
    4840 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
    4841 if test "${ac_cv_struct_tm+set}" = set; then :
    4842   $as_echo_n "(cached) " >&6
    4843 else
    4844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4574cat >>confdefs.h <<\_ACEOF
     4575#define TIME_WITH_SYS_TIME 1
     4576_ACEOF
     4577
     4578fi
     4579
     4580echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4581echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     4582if test "${ac_cv_struct_tm+set}" = set; then
     4583  echo $ECHO_N "(cached) $ECHO_C" >&6
     4584else
     4585  cat >conftest.$ac_ext <<_ACEOF
     4586/* confdefs.h.  */
     4587_ACEOF
     4588cat confdefs.h >>conftest.$ac_ext
     4589cat >>conftest.$ac_ext <<_ACEOF
    48454590/* end confdefs.h.  */
    48464591#include <sys/types.h>
     
    48504595main ()
    48514596{
    4852 struct tm tm;
    4853                      int *p = &tm.tm_sec;
    4854                      return !p;
     4597struct tm *tp; tp->tm_sec;
    48554598  ;
    48564599  return 0;
    48574600}
    48584601_ACEOF
    4859 if ac_fn_c_try_compile "$LINENO"; then :
     4602rm -f conftest.$ac_objext
     4603if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4604  (eval $ac_compile) 2>conftest.er1
     4605  ac_status=$?
     4606  grep -v '^ *+' conftest.er1 >conftest.err
     4607  rm -f conftest.er1
     4608  cat conftest.err >&5
     4609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4610  (exit $ac_status); } &&
     4611     { ac_try='test -z "$ac_c_werror_flag"
     4612             || test ! -s conftest.err'
     4613  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4614  (eval $ac_try) 2>&5
     4615  ac_status=$?
     4616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4617  (exit $ac_status); }; } &&
     4618     { ac_try='test -s conftest.$ac_objext'
     4619  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4620  (eval $ac_try) 2>&5
     4621  ac_status=$?
     4622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4623  (exit $ac_status); }; }; then
    48604624  ac_cv_struct_tm=time.h
    48614625else
    4862   ac_cv_struct_tm=sys/time.h
    4863 fi
    4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4865 fi
    4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
    4867 $as_echo "$ac_cv_struct_tm" >&6; }
     4626  echo "$as_me: failed program was:" >&5
     4627sed 's/^/| /' conftest.$ac_ext >&5
     4628
     4629ac_cv_struct_tm=sys/time.h
     4630fi
     4631rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4632fi
     4633echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     4634echo "${ECHO_T}$ac_cv_struct_tm" >&6
    48684635if test $ac_cv_struct_tm = sys/time.h; then
    48694636
    4870 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
     4637cat >>confdefs.h <<\_ACEOF
     4638#define TM_IN_SYS_TIME 1
     4639_ACEOF
    48714640
    48724641fi
     
    48744643
    48754644if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
    4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4645cat >conftest.$ac_ext <<_ACEOF
     4646/* confdefs.h.  */
     4647_ACEOF
     4648cat confdefs.h >>conftest.$ac_ext
     4649cat >>conftest.$ac_ext <<_ACEOF
    48774650/* end confdefs.h.  */
    48784651#include <stdio.h>
     
    48864659}
    48874660_ACEOF
    4888 if ac_fn_c_try_compile "$LINENO"; then :
    4889 
    4890 else
    4891   CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4892 fi
    4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4894 fi
    4895 
    4896 
    4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
    4898 $as_echo_n "checking for main in -lg... " >&6; }
    4899 if test "${ac_cv_lib_g_main+set}" = set; then :
    4900   $as_echo_n "(cached) " >&6
     4661rm -f conftest.$ac_objext
     4662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4663  (eval $ac_compile) 2>conftest.er1
     4664  ac_status=$?
     4665  grep -v '^ *+' conftest.er1 >conftest.err
     4666  rm -f conftest.er1
     4667  cat conftest.err >&5
     4668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4669  (exit $ac_status); } &&
     4670     { ac_try='test -z "$ac_c_werror_flag"
     4671             || test ! -s conftest.err'
     4672  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4673  (eval $ac_try) 2>&5
     4674  ac_status=$?
     4675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4676  (exit $ac_status); }; } &&
     4677     { ac_try='test -s conftest.$ac_objext'
     4678  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4679  (eval $ac_try) 2>&5
     4680  ac_status=$?
     4681  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4682  (exit $ac_status); }; }; then
     4683  :
     4684else
     4685  echo "$as_me: failed program was:" >&5
     4686sed 's/^/| /' conftest.$ac_ext >&5
     4687
     4688CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     4689fi
     4690rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4691fi
     4692
     4693
     4694
     4695echo "$as_me:$LINENO: checking for main in -lg" >&5
     4696echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     4697if test "${ac_cv_lib_g_main+set}" = set; then
     4698  echo $ECHO_N "(cached) $ECHO_C" >&6
    49014699else
    49024700  ac_check_lib_save_LIBS=$LIBS
    49034701LIBS="-lg  $LIBS"
    4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4702cat >conftest.$ac_ext <<_ACEOF
     4703/* confdefs.h.  */
     4704_ACEOF
     4705cat confdefs.h >>conftest.$ac_ext
     4706cat >>conftest.$ac_ext <<_ACEOF
    49054707/* end confdefs.h.  */
    49064708
     
    49094711main ()
    49104712{
    4911 return main ();
     4713main ();
    49124714  ;
    49134715  return 0;
    49144716}
    49154717_ACEOF
    4916 if ac_fn_c_try_link "$LINENO"; then :
     4718rm -f conftest.$ac_objext conftest$ac_exeext
     4719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4720  (eval $ac_link) 2>conftest.er1
     4721  ac_status=$?
     4722  grep -v '^ *+' conftest.er1 >conftest.err
     4723  rm -f conftest.er1
     4724  cat conftest.err >&5
     4725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4726  (exit $ac_status); } &&
     4727     { ac_try='test -z "$ac_c_werror_flag"
     4728             || test ! -s conftest.err'
     4729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4730  (eval $ac_try) 2>&5
     4731  ac_status=$?
     4732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4733  (exit $ac_status); }; } &&
     4734     { ac_try='test -s conftest$ac_exeext'
     4735  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4736  (eval $ac_try) 2>&5
     4737  ac_status=$?
     4738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4739  (exit $ac_status); }; }; then
    49174740  ac_cv_lib_g_main=yes
    49184741else
    4919   ac_cv_lib_g_main=no
    4920 fi
    4921 rm -f core conftest.err conftest.$ac_objext \
    4922     conftest$ac_exeext conftest.$ac_ext
     4742  echo "$as_me: failed program was:" >&5
     4743sed 's/^/| /' conftest.$ac_ext >&5
     4744
     4745ac_cv_lib_g_main=no
     4746fi
     4747rm -f conftest.err conftest.$ac_objext \
     4748      conftest$ac_exeext conftest.$ac_ext
    49234749LIBS=$ac_check_lib_save_LIBS
    49244750fi
    4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
    4926 $as_echo "$ac_cv_lib_g_main" >&6; }
    4927 if test "x$ac_cv_lib_g_main" = x""yes; then :
     4751echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     4752echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     4753if test $ac_cv_lib_g_main = yes; then
    49284754  cat >>confdefs.h <<_ACEOF
    49294755#define HAVE_LIBG 1
     
    49354761ac_cv_lib_g=ac_cv_lib_g_main
    49364762
    4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
    4938 $as_echo_n "checking for main in -lm... " >&6; }
    4939 if test "${ac_cv_lib_m_main+set}" = set; then :
    4940   $as_echo_n "(cached) " >&6
     4763
     4764echo "$as_me:$LINENO: checking for main in -lm" >&5
     4765echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     4766if test "${ac_cv_lib_m_main+set}" = set; then
     4767  echo $ECHO_N "(cached) $ECHO_C" >&6
    49414768else
    49424769  ac_check_lib_save_LIBS=$LIBS
    49434770LIBS="-lm  $LIBS"
    4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4771cat >conftest.$ac_ext <<_ACEOF
     4772/* confdefs.h.  */
     4773_ACEOF
     4774cat confdefs.h >>conftest.$ac_ext
     4775cat >>conftest.$ac_ext <<_ACEOF
    49454776/* end confdefs.h.  */
    49464777
     
    49494780main ()
    49504781{
    4951 return main ();
     4782main ();
    49524783  ;
    49534784  return 0;
    49544785}
    49554786_ACEOF
    4956 if ac_fn_c_try_link "$LINENO"; then :
     4787rm -f conftest.$ac_objext conftest$ac_exeext
     4788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4789  (eval $ac_link) 2>conftest.er1
     4790  ac_status=$?
     4791  grep -v '^ *+' conftest.er1 >conftest.err
     4792  rm -f conftest.er1
     4793  cat conftest.err >&5
     4794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4795  (exit $ac_status); } &&
     4796     { ac_try='test -z "$ac_c_werror_flag"
     4797             || test ! -s conftest.err'
     4798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4799  (eval $ac_try) 2>&5
     4800  ac_status=$?
     4801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4802  (exit $ac_status); }; } &&
     4803     { ac_try='test -s conftest$ac_exeext'
     4804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4805  (eval $ac_try) 2>&5
     4806  ac_status=$?
     4807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4808  (exit $ac_status); }; }; then
    49574809  ac_cv_lib_m_main=yes
    49584810else
    4959   ac_cv_lib_m_main=no
    4960 fi
    4961 rm -f core conftest.err conftest.$ac_objext \
    4962     conftest$ac_exeext conftest.$ac_ext
     4811  echo "$as_me: failed program was:" >&5
     4812sed 's/^/| /' conftest.$ac_ext >&5
     4813
     4814ac_cv_lib_m_main=no
     4815fi
     4816rm -f conftest.err conftest.$ac_objext \
     4817      conftest$ac_exeext conftest.$ac_ext
    49634818LIBS=$ac_check_lib_save_LIBS
    49644819fi
    4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
    4966 $as_echo "$ac_cv_lib_m_main" >&6; }
    4967 if test "x$ac_cv_lib_m_main" = x""yes; then :
     4820echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     4821echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     4822if test $ac_cv_lib_m_main = yes; then
    49684823  cat >>confdefs.h <<_ACEOF
    49694824#define HAVE_LIBM 1
     
    49754830ac_cv_lib_m=ac_cv_lib_m_main
    49764831
    4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
    4978 $as_echo_n "checking for main in -lcrypt... " >&6; }
    4979 if test "${ac_cv_lib_crypt_main+set}" = set; then :
    4980   $as_echo_n "(cached) " >&6
     4832
     4833echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     4834echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     4835if test "${ac_cv_lib_crypt_main+set}" = set; then
     4836  echo $ECHO_N "(cached) $ECHO_C" >&6
    49814837else
    49824838  ac_check_lib_save_LIBS=$LIBS
    49834839LIBS="-lcrypt  $LIBS"
    4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4840cat >conftest.$ac_ext <<_ACEOF
     4841/* confdefs.h.  */
     4842_ACEOF
     4843cat confdefs.h >>conftest.$ac_ext
     4844cat >>conftest.$ac_ext <<_ACEOF
    49854845/* end confdefs.h.  */
    49864846
     
    49894849main ()
    49904850{
    4991 return main ();
     4851main ();
    49924852  ;
    49934853  return 0;
    49944854}
    49954855_ACEOF
    4996 if ac_fn_c_try_link "$LINENO"; then :
     4856rm -f conftest.$ac_objext conftest$ac_exeext
     4857if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4858  (eval $ac_link) 2>conftest.er1
     4859  ac_status=$?
     4860  grep -v '^ *+' conftest.er1 >conftest.err
     4861  rm -f conftest.er1
     4862  cat conftest.err >&5
     4863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4864  (exit $ac_status); } &&
     4865     { ac_try='test -z "$ac_c_werror_flag"
     4866             || test ! -s conftest.err'
     4867  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4868  (eval $ac_try) 2>&5
     4869  ac_status=$?
     4870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4871  (exit $ac_status); }; } &&
     4872     { ac_try='test -s conftest$ac_exeext'
     4873  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4874  (eval $ac_try) 2>&5
     4875  ac_status=$?
     4876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4877  (exit $ac_status); }; }; then
    49974878  ac_cv_lib_crypt_main=yes
    49984879else
    4999   ac_cv_lib_crypt_main=no
    5000 fi
    5001 rm -f core conftest.err conftest.$ac_objext \
    5002     conftest$ac_exeext conftest.$ac_ext
     4880  echo "$as_me: failed program was:" >&5
     4881sed 's/^/| /' conftest.$ac_ext >&5
     4882
     4883ac_cv_lib_crypt_main=no
     4884fi
     4885rm -f conftest.err conftest.$ac_objext \
     4886      conftest$ac_exeext conftest.$ac_ext
    50034887LIBS=$ac_check_lib_save_LIBS
    50044888fi
    5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
    5006 $as_echo "$ac_cv_lib_crypt_main" >&6; }
    5007 if test "x$ac_cv_lib_crypt_main" = x""yes; then :
     4889echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     4890echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     4891if test $ac_cv_lib_crypt_main = yes; then
    50084892  cat >>confdefs.h <<_ACEOF
    50094893#define HAVE_LIBCRYPT 1
     
    50194903#fi
    50204904
     4905
     4906
     4907
     4908
     4909
    50214910ac_header_dirent=no
    50224911for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    5023   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
    5025 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
    5026 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
    5027   $as_echo_n "(cached) " >&6
    5028 else
    5029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4912  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     4913echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     4914echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
     4915if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4916  echo $ECHO_N "(cached) $ECHO_C" >&6
     4917else
     4918  cat >conftest.$ac_ext <<_ACEOF
     4919/* confdefs.h.  */
     4920_ACEOF
     4921cat confdefs.h >>conftest.$ac_ext
     4922cat >>conftest.$ac_ext <<_ACEOF
    50304923/* end confdefs.h.  */
    50314924#include <sys/types.h>
     
    50414934}
    50424935_ACEOF
    5043 if ac_fn_c_try_compile "$LINENO"; then :
     4936rm -f conftest.$ac_objext
     4937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4938  (eval $ac_compile) 2>conftest.er1
     4939  ac_status=$?
     4940  grep -v '^ *+' conftest.er1 >conftest.err
     4941  rm -f conftest.er1
     4942  cat conftest.err >&5
     4943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4944  (exit $ac_status); } &&
     4945     { ac_try='test -z "$ac_c_werror_flag"
     4946             || test ! -s conftest.err'
     4947  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4948  (eval $ac_try) 2>&5
     4949  ac_status=$?
     4950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4951  (exit $ac_status); }; } &&
     4952     { ac_try='test -s conftest.$ac_objext'
     4953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4954  (eval $ac_try) 2>&5
     4955  ac_status=$?
     4956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4957  (exit $ac_status); }; }; then
    50444958  eval "$as_ac_Header=yes"
    50454959else
    5046   eval "$as_ac_Header=no"
    5047 fi
    5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5049 fi
    5050 eval ac_res=\$$as_ac_Header
    5051            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    5052 $as_echo "$ac_res" >&6; }
    5053 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     4960  echo "$as_me: failed program was:" >&5
     4961sed 's/^/| /' conftest.$ac_ext >&5
     4962
     4963eval "$as_ac_Header=no"
     4964fi
     4965rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4966fi
     4967echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4968echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4969if test `eval echo '${'$as_ac_Header'}'` = yes; then
    50544970  cat >>confdefs.h <<_ACEOF
    5055 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     4971#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
    50564972_ACEOF
    50574973
     
    50624978# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    50634979if test $ac_header_dirent = dirent.h; then
    5064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
    5065 $as_echo_n "checking for library containing opendir... " >&6; }
    5066 if test "${ac_cv_search_opendir+set}" = set; then :
    5067   $as_echo_n "(cached) " >&6
     4980  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4981echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     4982if test "${ac_cv_search_opendir+set}" = set; then
     4983  echo $ECHO_N "(cached) $ECHO_C" >&6
    50684984else
    50694985  ac_func_search_save_LIBS=$LIBS
    5070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4986ac_cv_search_opendir=no
     4987cat >conftest.$ac_ext <<_ACEOF
     4988/* confdefs.h.  */
     4989_ACEOF
     4990cat confdefs.h >>conftest.$ac_ext
     4991cat >>conftest.$ac_ext <<_ACEOF
    50714992/* end confdefs.h.  */
    50724993
    5073 /* Override any GCC internal prototype to avoid an error.
    5074    Use char because int might match the return type of a GCC
    5075    builtin and then its argument prototype would still apply.  */
     4994/* Override any gcc2 internal prototype to avoid an error.  */
    50764995#ifdef __cplusplus
    50774996extern "C"
    50784997#endif
     4998/* We use char because int might match the return type of a gcc2
     4999   builtin and then its argument prototype would still apply.  */
    50795000char opendir ();
    50805001int
    50815002main ()
    50825003{
    5083 return opendir ();
     5004opendir ();
    50845005  ;
    50855006  return 0;
    50865007}
    50875008_ACEOF
    5088 for ac_lib in '' dir; do
    5089   if test -z "$ac_lib"; then
    5090     ac_res="none required"
    5091   else
    5092     ac_res=-l$ac_lib
     5009rm -f conftest.$ac_objext conftest$ac_exeext
     5010if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5011  (eval $ac_link) 2>conftest.er1
     5012  ac_status=$?
     5013  grep -v '^ *+' conftest.er1 >conftest.err
     5014  rm -f conftest.er1
     5015  cat conftest.err >&5
     5016  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5017  (exit $ac_status); } &&
     5018     { ac_try='test -z "$ac_c_werror_flag"
     5019             || test ! -s conftest.err'
     5020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5021  (eval $ac_try) 2>&5
     5022  ac_status=$?
     5023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5024  (exit $ac_status); }; } &&
     5025     { ac_try='test -s conftest$ac_exeext'
     5026  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5027  (eval $ac_try) 2>&5
     5028  ac_status=$?
     5029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5030  (exit $ac_status); }; }; then
     5031  ac_cv_search_opendir="none required"
     5032else
     5033  echo "$as_me: failed program was:" >&5
     5034sed 's/^/| /' conftest.$ac_ext >&5
     5035
     5036fi
     5037rm -f conftest.err conftest.$ac_objext \
     5038      conftest$ac_exeext conftest.$ac_ext
     5039if test "$ac_cv_search_opendir" = no; then
     5040  for ac_lib in dir; do
    50935041    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5094   fi
    5095   if ac_fn_c_try_link "$LINENO"; then :
    5096   ac_cv_search_opendir=$ac_res
    5097 fi
    5098 rm -f core conftest.err conftest.$ac_objext \
    5099     conftest$ac_exeext
    5100   if test "${ac_cv_search_opendir+set}" = set; then :
    5101   break
    5102 fi
    5103 done
    5104 if test "${ac_cv_search_opendir+set}" = set; then :
    5105 
    5106 else
    5107   ac_cv_search_opendir=no
    5108 fi
    5109 rm conftest.$ac_ext
    5110 LIBS=$ac_func_search_save_LIBS
    5111 fi
    5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
    5113 $as_echo "$ac_cv_search_opendir" >&6; }
    5114 ac_res=$ac_cv_search_opendir
    5115 if test "$ac_res" != no; then :
    5116   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5117 
    5118 fi
    5119 
    5120 else
    5121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
    5122 $as_echo_n "checking for library containing opendir... " >&6; }
    5123 if test "${ac_cv_search_opendir+set}" = set; then :
    5124   $as_echo_n "(cached) " >&6
    5125 else
    5126   ac_func_search_save_LIBS=$LIBS
    5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5042    cat >conftest.$ac_ext <<_ACEOF
     5043/* confdefs.h.  */
     5044_ACEOF
     5045cat confdefs.h >>conftest.$ac_ext
     5046cat >>conftest.$ac_ext <<_ACEOF
    51285047/* end confdefs.h.  */
    51295048
    5130 /* Override any GCC internal prototype to avoid an error.
    5131    Use char because int might match the return type of a GCC
    5132    builtin and then its argument prototype would still apply.  */
     5049/* Override any gcc2 internal prototype to avoid an error.  */
    51335050#ifdef __cplusplus
    51345051extern "C"
    51355052#endif
     5053/* We use char because int might match the return type of a gcc2
     5054   builtin and then its argument prototype would still apply.  */
    51365055char opendir ();
    51375056int
    51385057main ()
    51395058{
    5140 return opendir ();
     5059opendir ();
    51415060  ;
    51425061  return 0;
    51435062}
    51445063_ACEOF
    5145 for ac_lib in '' x; do
    5146   if test -z "$ac_lib"; then
    5147     ac_res="none required"
    5148   else
    5149     ac_res=-l$ac_lib
     5064rm -f conftest.$ac_objext conftest$ac_exeext
     5065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5066  (eval $ac_link) 2>conftest.er1
     5067  ac_status=$?
     5068  grep -v '^ *+' conftest.er1 >conftest.err
     5069  rm -f conftest.er1
     5070  cat conftest.err >&5
     5071  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5072  (exit $ac_status); } &&
     5073     { ac_try='test -z "$ac_c_werror_flag"
     5074             || test ! -s conftest.err'
     5075  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5076  (eval $ac_try) 2>&5
     5077  ac_status=$?
     5078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5079  (exit $ac_status); }; } &&
     5080     { ac_try='test -s conftest$ac_exeext'
     5081  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5082  (eval $ac_try) 2>&5
     5083  ac_status=$?
     5084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5085  (exit $ac_status); }; }; then
     5086  ac_cv_search_opendir="-l$ac_lib"
     5087break
     5088else
     5089  echo "$as_me: failed program was:" >&5
     5090sed 's/^/| /' conftest.$ac_ext >&5
     5091
     5092fi
     5093rm -f conftest.err conftest.$ac_objext \
     5094      conftest$ac_exeext conftest.$ac_ext
     5095  done
     5096fi
     5097LIBS=$ac_func_search_save_LIBS
     5098fi
     5099echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5100echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5101if test "$ac_cv_search_opendir" != no; then
     5102  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5103
     5104fi
     5105
     5106else
     5107  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5108echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5109if test "${ac_cv_search_opendir+set}" = set; then
     5110  echo $ECHO_N "(cached) $ECHO_C" >&6
     5111else
     5112  ac_func_search_save_LIBS=$LIBS
     5113ac_cv_search_opendir=no
     5114cat >conftest.$ac_ext <<_ACEOF
     5115/* confdefs.h.  */
     5116_ACEOF
     5117cat confdefs.h >>conftest.$ac_ext
     5118cat >>conftest.$ac_ext <<_ACEOF
     5119/* end confdefs.h.  */
     5120
     5121/* Override any gcc2 internal prototype to avoid an error.  */
     5122#ifdef __cplusplus
     5123extern "C"
     5124#endif
     5125/* We use char because int might match the return type of a gcc2
     5126   builtin and then its argument prototype would still apply.  */
     5127char opendir ();
     5128int
     5129main ()
     5130{
     5131opendir ();
     5132  ;
     5133  return 0;
     5134}
     5135_ACEOF
     5136rm -f conftest.$ac_objext conftest$ac_exeext
     5137if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5138  (eval $ac_link) 2>conftest.er1
     5139  ac_status=$?
     5140  grep -v '^ *+' conftest.er1 >conftest.err
     5141  rm -f conftest.er1
     5142  cat conftest.err >&5
     5143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5144  (exit $ac_status); } &&
     5145     { ac_try='test -z "$ac_c_werror_flag"
     5146             || test ! -s conftest.err'
     5147  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5148  (eval $ac_try) 2>&5
     5149  ac_status=$?
     5150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5151  (exit $ac_status); }; } &&
     5152     { ac_try='test -s conftest$ac_exeext'
     5153  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5154  (eval $ac_try) 2>&5
     5155  ac_status=$?
     5156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5157  (exit $ac_status); }; }; then
     5158  ac_cv_search_opendir="none required"
     5159else
     5160  echo "$as_me: failed program was:" >&5
     5161sed 's/^/| /' conftest.$ac_ext >&5
     5162
     5163fi
     5164rm -f conftest.err conftest.$ac_objext \
     5165      conftest$ac_exeext conftest.$ac_ext
     5166if test "$ac_cv_search_opendir" = no; then
     5167  for ac_lib in x; do
    51505168    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5151   fi
    5152   if ac_fn_c_try_link "$LINENO"; then :
    5153   ac_cv_search_opendir=$ac_res
    5154 fi
    5155 rm -f core conftest.err conftest.$ac_objext \
    5156     conftest$ac_exeext
    5157   if test "${ac_cv_search_opendir+set}" = set; then :
    5158   break
    5159 fi
    5160 done
    5161 if test "${ac_cv_search_opendir+set}" = set; then :
    5162 
    5163 else
    5164   ac_cv_search_opendir=no
    5165 fi
    5166 rm conftest.$ac_ext
     5169    cat >conftest.$ac_ext <<_ACEOF
     5170/* confdefs.h.  */
     5171_ACEOF
     5172cat confdefs.h >>conftest.$ac_ext
     5173cat >>conftest.$ac_ext <<_ACEOF
     5174/* end confdefs.h.  */
     5175
     5176/* Override any gcc2 internal prototype to avoid an error.  */
     5177#ifdef __cplusplus
     5178extern "C"
     5179#endif
     5180/* We use char because int might match the return type of a gcc2
     5181   builtin and then its argument prototype would still apply.  */
     5182char opendir ();
     5183int
     5184main ()
     5185{
     5186opendir ();
     5187  ;
     5188  return 0;
     5189}
     5190_ACEOF
     5191rm -f conftest.$ac_objext conftest$ac_exeext
     5192if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5193  (eval $ac_link) 2>conftest.er1
     5194  ac_status=$?
     5195  grep -v '^ *+' conftest.er1 >conftest.err
     5196  rm -f conftest.er1
     5197  cat conftest.err >&5
     5198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5199  (exit $ac_status); } &&
     5200     { ac_try='test -z "$ac_c_werror_flag"
     5201             || test ! -s conftest.err'
     5202  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5203  (eval $ac_try) 2>&5
     5204  ac_status=$?
     5205  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5206  (exit $ac_status); }; } &&
     5207     { ac_try='test -s conftest$ac_exeext'
     5208  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5209  (eval $ac_try) 2>&5
     5210  ac_status=$?
     5211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5212  (exit $ac_status); }; }; then
     5213  ac_cv_search_opendir="-l$ac_lib"
     5214break
     5215else
     5216  echo "$as_me: failed program was:" >&5
     5217sed 's/^/| /' conftest.$ac_ext >&5
     5218
     5219fi
     5220rm -f conftest.err conftest.$ac_objext \
     5221      conftest$ac_exeext conftest.$ac_ext
     5222  done
     5223fi
    51675224LIBS=$ac_func_search_save_LIBS
    51685225fi
    5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
    5170 $as_echo "$ac_cv_search_opendir" >&6; }
    5171 ac_res=$ac_cv_search_opendir
    5172 if test "$ac_res" != no; then :
    5173   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5174 
    5175 fi
    5176 
    5177 fi
    5178 
    5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    5180 $as_echo_n "checking for ANSI C header files... " >&6; }
    5181 if test "${ac_cv_header_stdc+set}" = set; then :
    5182   $as_echo_n "(cached) " >&6
    5183 else
    5184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5226echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5227echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5228if test "$ac_cv_search_opendir" != no; then
     5229  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5230
     5231fi
     5232
     5233fi
     5234
     5235echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5236echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5237if test "${ac_cv_header_stdc+set}" = set; then
     5238  echo $ECHO_N "(cached) $ECHO_C" >&6
     5239else
     5240  cat >conftest.$ac_ext <<_ACEOF
     5241/* confdefs.h.  */
     5242_ACEOF
     5243cat confdefs.h >>conftest.$ac_ext
     5244cat >>conftest.$ac_ext <<_ACEOF
    51855245/* end confdefs.h.  */
    51865246#include <stdlib.h>
     
    51975257}
    51985258_ACEOF
    5199 if ac_fn_c_try_compile "$LINENO"; then :
     5259rm -f conftest.$ac_objext
     5260if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5261  (eval $ac_compile) 2>conftest.er1
     5262  ac_status=$?
     5263  grep -v '^ *+' conftest.er1 >conftest.err
     5264  rm -f conftest.er1
     5265  cat conftest.err >&5
     5266  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5267  (exit $ac_status); } &&
     5268     { ac_try='test -z "$ac_c_werror_flag"
     5269             || test ! -s conftest.err'
     5270  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5271  (eval $ac_try) 2>&5
     5272  ac_status=$?
     5273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5274  (exit $ac_status); }; } &&
     5275     { ac_try='test -s conftest.$ac_objext'
     5276  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5277  (eval $ac_try) 2>&5
     5278  ac_status=$?
     5279  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5280  (exit $ac_status); }; }; then
    52005281  ac_cv_header_stdc=yes
    52015282else
    5202   ac_cv_header_stdc=no
    5203 fi
    5204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5283  echo "$as_me: failed program was:" >&5
     5284sed 's/^/| /' conftest.$ac_ext >&5
     5285
     5286ac_cv_header_stdc=no
     5287fi
     5288rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    52055289
    52065290if test $ac_cv_header_stdc = yes; then
    52075291  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    5208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5292  cat >conftest.$ac_ext <<_ACEOF
     5293/* confdefs.h.  */
     5294_ACEOF
     5295cat confdefs.h >>conftest.$ac_ext
     5296cat >>conftest.$ac_ext <<_ACEOF
    52095297/* end confdefs.h.  */
    52105298#include <string.h>
     
    52125300_ACEOF
    52135301if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5214   $EGREP "memchr" >/dev/null 2>&1; then :
    5215 
     5302  $EGREP "memchr" >/dev/null 2>&1; then
     5303  :
    52165304else
    52175305  ac_cv_header_stdc=no
     
    52235311if test $ac_cv_header_stdc = yes; then
    52245312  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    5225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5313  cat >conftest.$ac_ext <<_ACEOF
     5314/* confdefs.h.  */
     5315_ACEOF
     5316cat confdefs.h >>conftest.$ac_ext
     5317cat >>conftest.$ac_ext <<_ACEOF
    52265318/* end confdefs.h.  */
    52275319#include <stdlib.h>
     
    52295321_ACEOF
    52305322if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5231   $EGREP "free" >/dev/null 2>&1; then :
    5232 
     5323  $EGREP "free" >/dev/null 2>&1; then
     5324  :
    52335325else
    52345326  ac_cv_header_stdc=no
     
    52405332if test $ac_cv_header_stdc = yes; then
    52415333  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    5242   if test "$cross_compiling" = yes; then :
     5334  if test "$cross_compiling" = yes; then
    52435335  :
    52445336else
    5245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5337  cat >conftest.$ac_ext <<_ACEOF
     5338/* confdefs.h.  */
     5339_ACEOF
     5340cat confdefs.h >>conftest.$ac_ext
     5341cat >>conftest.$ac_ext <<_ACEOF
    52465342/* end confdefs.h.  */
    52475343#include <ctype.h>
    5248 #include <stdlib.h>
    52495344#if ((' ' & 0x0FF) == 0x020)
    52505345# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    52665361    if (XOR (islower (i), ISLOWER (i))
    52675362    || toupper (i) != TOUPPER (i))
    5268       return 2;
    5269   return 0;
     5363      exit(2);
     5364  exit (0);
    52705365}
    52715366_ACEOF
    5272 if ac_fn_c_try_run "$LINENO"; then :
    5273 
    5274 else
    5275   ac_cv_header_stdc=no
    5276 fi
    5277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    5278   conftest.$ac_objext conftest.beam conftest.$ac_ext
    5279 fi
    5280 
    5281 fi
    5282 fi
    5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    5284 $as_echo "$ac_cv_header_stdc" >&6; }
     5367rm -f conftest$ac_exeext
     5368if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5369  (eval $ac_link) 2>&5
     5370  ac_status=$?
     5371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5372  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     5373  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5374  (eval $ac_try) 2>&5
     5375  ac_status=$?
     5376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5377  (exit $ac_status); }; }; then
     5378  :
     5379else
     5380  echo "$as_me: program exited with status $ac_status" >&5
     5381echo "$as_me: failed program was:" >&5
     5382sed 's/^/| /' conftest.$ac_ext >&5
     5383
     5384( exit $ac_status )
     5385ac_cv_header_stdc=no
     5386fi
     5387rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5388fi
     5389fi
     5390fi
     5391echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5392echo "${ECHO_T}$ac_cv_header_stdc" >&6
    52855393if test $ac_cv_header_stdc = yes; then
    52865394
    5287 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
    5288 
    5289 fi
     5395cat >>confdefs.h <<\_ACEOF
     5396#define STDC_HEADERS 1
     5397_ACEOF
     5398
     5399fi
     5400
     5401
     5402
     5403
     5404
     5405
     5406
     5407
     5408
    52905409
    52915410for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    5292 do :
    5293   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    5295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5411do
     5412as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5413if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5414  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5415echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5416if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5417  echo $ECHO_N "(cached) $ECHO_C" >&6
     5418fi
     5419echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5420echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5421else
     5422  # Is the header compilable?
     5423echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5424echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5425cat >conftest.$ac_ext <<_ACEOF
     5426/* confdefs.h.  */
     5427_ACEOF
     5428cat confdefs.h >>conftest.$ac_ext
     5429cat >>conftest.$ac_ext <<_ACEOF
     5430/* end confdefs.h.  */
     5431$ac_includes_default
     5432#include <$ac_header>
     5433_ACEOF
     5434rm -f conftest.$ac_objext
     5435if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5436  (eval $ac_compile) 2>conftest.er1
     5437  ac_status=$?
     5438  grep -v '^ *+' conftest.er1 >conftest.err
     5439  rm -f conftest.er1
     5440  cat conftest.err >&5
     5441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5442  (exit $ac_status); } &&
     5443     { ac_try='test -z "$ac_c_werror_flag"
     5444             || test ! -s conftest.err'
     5445  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5446  (eval $ac_try) 2>&5
     5447  ac_status=$?
     5448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5449  (exit $ac_status); }; } &&
     5450     { ac_try='test -s conftest.$ac_objext'
     5451  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5452  (eval $ac_try) 2>&5
     5453  ac_status=$?
     5454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5455  (exit $ac_status); }; }; then
     5456  ac_header_compiler=yes
     5457else
     5458  echo "$as_me: failed program was:" >&5
     5459sed 's/^/| /' conftest.$ac_ext >&5
     5460
     5461ac_header_compiler=no
     5462fi
     5463rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5464echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5465echo "${ECHO_T}$ac_header_compiler" >&6
     5466
     5467# Is the header present?
     5468echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5469echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5470cat >conftest.$ac_ext <<_ACEOF
     5471/* confdefs.h.  */
     5472_ACEOF
     5473cat confdefs.h >>conftest.$ac_ext
     5474cat >>conftest.$ac_ext <<_ACEOF
     5475/* end confdefs.h.  */
     5476#include <$ac_header>
     5477_ACEOF
     5478if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5479  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5480  ac_status=$?
     5481  grep -v '^ *+' conftest.er1 >conftest.err
     5482  rm -f conftest.er1
     5483  cat conftest.err >&5
     5484  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5485  (exit $ac_status); } >/dev/null; then
     5486  if test -s conftest.err; then
     5487    ac_cpp_err=$ac_c_preproc_warn_flag
     5488    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5489  else
     5490    ac_cpp_err=
     5491  fi
     5492else
     5493  ac_cpp_err=yes
     5494fi
     5495if test -z "$ac_cpp_err"; then
     5496  ac_header_preproc=yes
     5497else
     5498  echo "$as_me: failed program was:" >&5
     5499sed 's/^/| /' conftest.$ac_ext >&5
     5500
     5501  ac_header_preproc=no
     5502fi
     5503rm -f conftest.err conftest.$ac_ext
     5504echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5505echo "${ECHO_T}$ac_header_preproc" >&6
     5506
     5507# So?  What about this header?
     5508case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5509  yes:no: )
     5510    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5511echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5512    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5513echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5514    ac_header_preproc=yes
     5515    ;;
     5516  no:yes:* )
     5517    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5518echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5519    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5520echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5521    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5522echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5523    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5524echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5525    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5526echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5527    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5528echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5529    (
     5530      cat <<\_ASBOX
     5531## ------------------------------------------ ##
     5532## Report this to the AC_PACKAGE_NAME lists.  ##
     5533## ------------------------------------------ ##
     5534_ASBOX
     5535    ) |
     5536      sed "s/^/$as_me: WARNING:     /" >&2
     5537    ;;
     5538esac
     5539echo "$as_me:$LINENO: checking for $ac_header" >&5
     5540echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5541if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5542  echo $ECHO_N "(cached) $ECHO_C" >&6
     5543else
     5544  eval "$as_ac_Header=\$ac_header_preproc"
     5545fi
     5546echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5547echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5548
     5549fi
     5550if test `eval echo '${'$as_ac_Header'}'` = yes; then
    52965551  cat >>confdefs.h <<_ACEOF
    5297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5552#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    52985553_ACEOF
    52995554
     
    53025557done
    53035558
    5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5559cat >conftest.$ac_ext <<_ACEOF
     5560/* confdefs.h.  */
     5561_ACEOF
     5562cat confdefs.h >>conftest.$ac_ext
     5563cat >>conftest.$ac_ext <<_ACEOF
    53055564/* end confdefs.h.  */
    53065565#include <stdio.h>
     
    53085567_ACEOF
    53095568if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5310   $EGREP "fread" >/dev/null 2>&1; then :
    5311   $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
     5569  $EGREP "fread" >/dev/null 2>&1; then
     5570  cat >>confdefs.h <<\_ACEOF
     5571#define HAVE_FREAD_DECL 1
     5572_ACEOF
    53125573
    53135574fi
    53145575rm -f conftest*
    53155576
    5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5577cat >conftest.$ac_ext <<_ACEOF
     5578/* confdefs.h.  */
     5579_ACEOF
     5580cat confdefs.h >>conftest.$ac_ext
     5581cat >>conftest.$ac_ext <<_ACEOF
    53175582/* end confdefs.h.  */
    53185583#include <stdio.h>
     
    53205585_ACEOF
    53215586if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5322   $EGREP "fgetc" >/dev/null 2>&1; then :
    5323   $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
     5587  $EGREP "fgetc" >/dev/null 2>&1; then
     5588  cat >>confdefs.h <<\_ACEOF
     5589#define HAVE_FGETC_DECL 1
     5590_ACEOF
    53245591
    53255592fi
    53265593rm -f conftest*
    53275594
    5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5595cat >conftest.$ac_ext <<_ACEOF
     5596/* confdefs.h.  */
     5597_ACEOF
     5598cat confdefs.h >>conftest.$ac_ext
     5599cat >>conftest.$ac_ext <<_ACEOF
    53295600/* end confdefs.h.  */
    53305601#include <sys/procfs.h>
     
    53325603_ACEOF
    53335604if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5334   $EGREP "pr_brksize" >/dev/null 2>&1; then :
    5335   $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
     5605  $EGREP "pr_brksize" >/dev/null 2>&1; then
     5606  cat >>confdefs.h <<\_ACEOF
     5607#define HAVE_PR_BRKSIZE 1
     5608_ACEOF
    53365609
    53375610fi
     
    53415614# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    53425615# for constant arguments.  Useless!
    5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
    5344 $as_echo_n "checking for working alloca.h... " >&6; }
    5345 if test "${ac_cv_working_alloca_h+set}" = set; then :
    5346   $as_echo_n "(cached) " >&6
    5347 else
    5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5616echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5617echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     5618if test "${ac_cv_working_alloca_h+set}" = set; then
     5619  echo $ECHO_N "(cached) $ECHO_C" >&6
     5620else
     5621  cat >conftest.$ac_ext <<_ACEOF
     5622/* confdefs.h.  */
     5623_ACEOF
     5624cat confdefs.h >>conftest.$ac_ext
     5625cat >>conftest.$ac_ext <<_ACEOF
    53495626/* end confdefs.h.  */
    53505627#include <alloca.h>
     
    53535630{
    53545631char *p = (char *) alloca (2 * sizeof (int));
    5355               if (p) return 0;
    53565632  ;
    53575633  return 0;
    53585634}
    53595635_ACEOF
    5360 if ac_fn_c_try_link "$LINENO"; then :
     5636rm -f conftest.$ac_objext conftest$ac_exeext
     5637if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5638  (eval $ac_link) 2>conftest.er1
     5639  ac_status=$?
     5640  grep -v '^ *+' conftest.er1 >conftest.err
     5641  rm -f conftest.er1
     5642  cat conftest.err >&5
     5643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5644  (exit $ac_status); } &&
     5645     { ac_try='test -z "$ac_c_werror_flag"
     5646             || test ! -s conftest.err'
     5647  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5648  (eval $ac_try) 2>&5
     5649  ac_status=$?
     5650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5651  (exit $ac_status); }; } &&
     5652     { ac_try='test -s conftest$ac_exeext'
     5653  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5654  (eval $ac_try) 2>&5
     5655  ac_status=$?
     5656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5657  (exit $ac_status); }; }; then
    53615658  ac_cv_working_alloca_h=yes
    53625659else
    5363   ac_cv_working_alloca_h=no
    5364 fi
    5365 rm -f core conftest.err conftest.$ac_objext \
    5366     conftest$ac_exeext conftest.$ac_ext
    5367 fi
    5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
    5369 $as_echo "$ac_cv_working_alloca_h" >&6; }
     5660  echo "$as_me: failed program was:" >&5
     5661sed 's/^/| /' conftest.$ac_ext >&5
     5662
     5663ac_cv_working_alloca_h=no
     5664fi
     5665rm -f conftest.err conftest.$ac_objext \
     5666      conftest$ac_exeext conftest.$ac_ext
     5667fi
     5668echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5669echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    53705670if test $ac_cv_working_alloca_h = yes; then
    53715671
    5372 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
    5373 
    5374 fi
    5375 
    5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
    5377 $as_echo_n "checking for alloca... " >&6; }
    5378 if test "${ac_cv_func_alloca_works+set}" = set; then :
    5379   $as_echo_n "(cached) " >&6
    5380 else
    5381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5672cat >>confdefs.h <<\_ACEOF
     5673#define HAVE_ALLOCA_H 1
     5674_ACEOF
     5675
     5676fi
     5677
     5678echo "$as_me:$LINENO: checking for alloca" >&5
     5679echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     5680if test "${ac_cv_func_alloca_works+set}" = set; then
     5681  echo $ECHO_N "(cached) $ECHO_C" >&6
     5682else
     5683  cat >conftest.$ac_ext <<_ACEOF
     5684/* confdefs.h.  */
     5685_ACEOF
     5686cat confdefs.h >>conftest.$ac_ext
     5687cat >>conftest.$ac_ext <<_ACEOF
    53825688/* end confdefs.h.  */
    53835689#ifdef __GNUC__
     
    53885694#  define alloca _alloca
    53895695# else
    5390 #  ifdef HAVE_ALLOCA_H
     5696#  if HAVE_ALLOCA_H
    53915697#   include <alloca.h>
    53925698#  else
     
    54065712{
    54075713char *p = (char *) alloca (1);
    5408                     if (p) return 0;
    54095714  ;
    54105715  return 0;
    54115716}
    54125717_ACEOF
    5413 if ac_fn_c_try_link "$LINENO"; then :
     5718rm -f conftest.$ac_objext conftest$ac_exeext
     5719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5720  (eval $ac_link) 2>conftest.er1
     5721  ac_status=$?
     5722  grep -v '^ *+' conftest.er1 >conftest.err
     5723  rm -f conftest.er1
     5724  cat conftest.err >&5
     5725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5726  (exit $ac_status); } &&
     5727     { ac_try='test -z "$ac_c_werror_flag"
     5728             || test ! -s conftest.err'
     5729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5730  (eval $ac_try) 2>&5
     5731  ac_status=$?
     5732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5733  (exit $ac_status); }; } &&
     5734     { ac_try='test -s conftest$ac_exeext'
     5735  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5736  (eval $ac_try) 2>&5
     5737  ac_status=$?
     5738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5739  (exit $ac_status); }; }; then
    54145740  ac_cv_func_alloca_works=yes
    54155741else
    5416   ac_cv_func_alloca_works=no
    5417 fi
    5418 rm -f core conftest.err conftest.$ac_objext \
    5419     conftest$ac_exeext conftest.$ac_ext
    5420 fi
    5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
    5422 $as_echo "$ac_cv_func_alloca_works" >&6; }
     5742  echo "$as_me: failed program was:" >&5
     5743sed 's/^/| /' conftest.$ac_ext >&5
     5744
     5745ac_cv_func_alloca_works=no
     5746fi
     5747rm -f conftest.err conftest.$ac_objext \
     5748      conftest$ac_exeext conftest.$ac_ext
     5749fi
     5750echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     5751echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    54235752
    54245753if test $ac_cv_func_alloca_works = yes; then
    54255754
    5426 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
     5755cat >>confdefs.h <<\_ACEOF
     5756#define HAVE_ALLOCA 1
     5757_ACEOF
    54275758
    54285759else
     
    54325763# use ar to extract alloca.o from them instead of compiling alloca.c.
    54335764
    5434 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    5435 
    5436 $as_echo "#define C_ALLOCA 1" >>confdefs.h
    5437 
    5438 
    5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
    5440 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
    5441 if test "${ac_cv_os_cray+set}" = set; then :
    5442   $as_echo_n "(cached) " >&6
    5443 else
    5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5765ALLOCA=alloca.$ac_objext
     5766
     5767cat >>confdefs.h <<\_ACEOF
     5768#define C_ALLOCA 1
     5769_ACEOF
     5770
     5771
     5772echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     5773echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     5774if test "${ac_cv_os_cray+set}" = set; then
     5775  echo $ECHO_N "(cached) $ECHO_C" >&6
     5776else
     5777  cat >conftest.$ac_ext <<_ACEOF
     5778/* confdefs.h.  */
     5779_ACEOF
     5780cat confdefs.h >>conftest.$ac_ext
     5781cat >>conftest.$ac_ext <<_ACEOF
    54455782/* end confdefs.h.  */
    5446 #if defined CRAY && ! defined CRAY2
     5783#if defined(CRAY) && ! defined(CRAY2)
    54475784webecray
    54485785#else
     
    54525789_ACEOF
    54535790if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5454   $EGREP "webecray" >/dev/null 2>&1; then :
     5791  $EGREP "webecray" >/dev/null 2>&1; then
    54555792  ac_cv_os_cray=yes
    54565793else
     
    54605797
    54615798fi
    5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
    5463 $as_echo "$ac_cv_os_cray" >&6; }
     5799echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     5800echo "${ECHO_T}$ac_cv_os_cray" >&6
    54645801if test $ac_cv_os_cray = yes; then
    54655802  for ac_func in _getb67 GETB67 getb67; do
    5466     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    5468 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     5803    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5804echo "$as_me:$LINENO: checking for $ac_func" >&5
     5805echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     5806if eval "test \"\${$as_ac_var+set}\" = set"; then
     5807  echo $ECHO_N "(cached) $ECHO_C" >&6
     5808else
     5809  cat >conftest.$ac_ext <<_ACEOF
     5810/* confdefs.h.  */
     5811_ACEOF
     5812cat confdefs.h >>conftest.$ac_ext
     5813cat >>conftest.$ac_ext <<_ACEOF
     5814/* end confdefs.h.  */
     5815/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     5816   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     5817#define $ac_func innocuous_$ac_func
     5818
     5819/* System header to define __stub macros and hopefully few prototypes,
     5820    which can conflict with char $ac_func (); below.
     5821    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5822    <limits.h> exists even on freestanding compilers.  */
     5823
     5824#ifdef __STDC__
     5825# include <limits.h>
     5826#else
     5827# include <assert.h>
     5828#endif
     5829
     5830#undef $ac_func
     5831
     5832/* Override any gcc2 internal prototype to avoid an error.  */
     5833#ifdef __cplusplus
     5834extern "C"
     5835{
     5836#endif
     5837/* We use char because int might match the return type of a gcc2
     5838   builtin and then its argument prototype would still apply.  */
     5839char $ac_func ();
     5840/* The GNU C library defines this for functions which it implements
     5841    to always fail with ENOSYS.  Some functions are actually named
     5842    something starting with __ and the normal name is an alias.  */
     5843#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     5844choke me
     5845#else
     5846char (*f) () = $ac_func;
     5847#endif
     5848#ifdef __cplusplus
     5849}
     5850#endif
     5851
     5852int
     5853main ()
     5854{
     5855return f != $ac_func;
     5856  ;
     5857  return 0;
     5858}
     5859_ACEOF
     5860rm -f conftest.$ac_objext conftest$ac_exeext
     5861if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5862  (eval $ac_link) 2>conftest.er1
     5863  ac_status=$?
     5864  grep -v '^ *+' conftest.er1 >conftest.err
     5865  rm -f conftest.er1
     5866  cat conftest.err >&5
     5867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5868  (exit $ac_status); } &&
     5869     { ac_try='test -z "$ac_c_werror_flag"
     5870             || test ! -s conftest.err'
     5871  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5872  (eval $ac_try) 2>&5
     5873  ac_status=$?
     5874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5875  (exit $ac_status); }; } &&
     5876     { ac_try='test -s conftest$ac_exeext'
     5877  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5878  (eval $ac_try) 2>&5
     5879  ac_status=$?
     5880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5881  (exit $ac_status); }; }; then
     5882  eval "$as_ac_var=yes"
     5883else
     5884  echo "$as_me: failed program was:" >&5
     5885sed 's/^/| /' conftest.$ac_ext >&5
     5886
     5887eval "$as_ac_var=no"
     5888fi
     5889rm -f conftest.err conftest.$ac_objext \
     5890      conftest$ac_exeext conftest.$ac_ext
     5891fi
     5892echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     5893echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     5894if test `eval echo '${'$as_ac_var'}'` = yes; then
    54695895
    54705896cat >>confdefs.h <<_ACEOF
     
    54785904fi
    54795905
    5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
    5481 $as_echo_n "checking stack direction for C alloca... " >&6; }
    5482 if test "${ac_cv_c_stack_direction+set}" = set; then :
    5483   $as_echo_n "(cached) " >&6
    5484 else
    5485   if test "$cross_compiling" = yes; then :
     5906echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     5907echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     5908if test "${ac_cv_c_stack_direction+set}" = set; then
     5909  echo $ECHO_N "(cached) $ECHO_C" >&6
     5910else
     5911  if test "$cross_compiling" = yes; then
    54865912  ac_cv_c_stack_direction=0
    54875913else
    5488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5914  cat >conftest.$ac_ext <<_ACEOF
     5915/* confdefs.h.  */
     5916_ACEOF
     5917cat confdefs.h >>conftest.$ac_ext
     5918cat >>conftest.$ac_ext <<_ACEOF
    54895919/* end confdefs.h.  */
    5490 $ac_includes_default
    54915920int
    54925921find_stack_direction ()
     
    55065935main ()
    55075936{
    5508   return find_stack_direction () < 0;
     5937  exit (find_stack_direction () < 0);
    55095938}
    55105939_ACEOF
    5511 if ac_fn_c_try_run "$LINENO"; then :
     5940rm -f conftest$ac_exeext
     5941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5942  (eval $ac_link) 2>&5
     5943  ac_status=$?
     5944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5945  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     5946  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5947  (eval $ac_try) 2>&5
     5948  ac_status=$?
     5949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5950  (exit $ac_status); }; }; then
    55125951  ac_cv_c_stack_direction=1
    55135952else
    5514   ac_cv_c_stack_direction=-1
    5515 fi
    5516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    5517   conftest.$ac_objext conftest.beam conftest.$ac_ext
    5518 fi
    5519 
    5520 fi
    5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
    5522 $as_echo "$ac_cv_c_stack_direction" >&6; }
     5953  echo "$as_me: program exited with status $ac_status" >&5
     5954echo "$as_me: failed program was:" >&5
     5955sed 's/^/| /' conftest.$ac_ext >&5
     5956
     5957( exit $ac_status )
     5958ac_cv_c_stack_direction=-1
     5959fi
     5960rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5961fi
     5962fi
     5963echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     5964echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     5965
    55235966cat >>confdefs.h <<_ACEOF
    55245967#define STACK_DIRECTION $ac_cv_c_stack_direction
     
    55295972
    55305973if test $ac_cv_c_compiler_gnu = yes; then
    5531     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
    5532 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
    5533 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
    5534   $as_echo_n "(cached) " >&6
     5974    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     5975echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     5976if test "${ac_cv_prog_gcc_traditional+set}" = set; then
     5977  echo $ECHO_N "(cached) $ECHO_C" >&6
    55355978else
    55365979    ac_pattern="Autoconf.*'x'"
    5537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5980  cat >conftest.$ac_ext <<_ACEOF
     5981/* confdefs.h.  */
     5982_ACEOF
     5983cat confdefs.h >>conftest.$ac_ext
     5984cat >>conftest.$ac_ext <<_ACEOF
    55385985/* end confdefs.h.  */
    55395986#include <sgtty.h>
     
    55415988_ACEOF
    55425989if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5543   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
     5990  $EGREP "$ac_pattern" >/dev/null 2>&1; then
    55445991  ac_cv_prog_gcc_traditional=yes
    55455992else
     
    55505997
    55515998  if test $ac_cv_prog_gcc_traditional = no; then
    5552     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5999    cat >conftest.$ac_ext <<_ACEOF
     6000/* confdefs.h.  */
     6001_ACEOF
     6002cat confdefs.h >>conftest.$ac_ext
     6003cat >>conftest.$ac_ext <<_ACEOF
    55536004/* end confdefs.h.  */
    55546005#include <termio.h>
     
    55566007_ACEOF
    55576008if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5558   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
     6009  $EGREP "$ac_pattern" >/dev/null 2>&1; then
    55596010  ac_cv_prog_gcc_traditional=yes
    55606011fi
     
    55636014  fi
    55646015fi
    5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
    5566 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
     6016echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6017echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    55676018  if test $ac_cv_prog_gcc_traditional = yes; then
    55686019    CC="$CC -traditional"
     
    55706021fi
    55716022
    5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
    5573 $as_echo_n "checking return type of signal handlers... " >&6; }
    5574 if test "${ac_cv_type_signal+set}" = set; then :
    5575   $as_echo_n "(cached) " >&6
    5576 else
    5577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6023echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6024echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     6025if test "${ac_cv_type_signal+set}" = set; then
     6026  echo $ECHO_N "(cached) $ECHO_C" >&6
     6027else
     6028  cat >conftest.$ac_ext <<_ACEOF
     6029/* confdefs.h.  */
     6030_ACEOF
     6031cat confdefs.h >>conftest.$ac_ext
     6032cat >>conftest.$ac_ext <<_ACEOF
    55786033/* end confdefs.h.  */
    55796034#include <sys/types.h>
    55806035#include <signal.h>
     6036#ifdef signal
     6037# undef signal
     6038#endif
     6039#ifdef __cplusplus
     6040extern "C" void (*signal (int, void (*)(int)))(int);
     6041#else
     6042void (*signal ()) ();
     6043#endif
    55816044
    55826045int
    55836046main ()
    55846047{
    5585 return *(signal (0, 0)) (0) == 1;
     6048int i;
    55866049  ;
    55876050  return 0;
    55886051}
    55896052_ACEOF
    5590 if ac_fn_c_try_compile "$LINENO"; then :
    5591   ac_cv_type_signal=int
    5592 else
     6053rm -f conftest.$ac_objext
     6054if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6055  (eval $ac_compile) 2>conftest.er1
     6056  ac_status=$?
     6057  grep -v '^ *+' conftest.er1 >conftest.err
     6058  rm -f conftest.er1
     6059  cat conftest.err >&5
     6060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6061  (exit $ac_status); } &&
     6062     { ac_try='test -z "$ac_c_werror_flag"
     6063             || test ! -s conftest.err'
     6064  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6065  (eval $ac_try) 2>&5
     6066  ac_status=$?
     6067  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6068  (exit $ac_status); }; } &&
     6069     { ac_try='test -s conftest.$ac_objext'
     6070  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6071  (eval $ac_try) 2>&5
     6072  ac_status=$?
     6073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6074  (exit $ac_status); }; }; then
    55936075  ac_cv_type_signal=void
    5594 fi
    5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5596 fi
    5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
    5598 $as_echo "$ac_cv_type_signal" >&6; }
     6076else
     6077  echo "$as_me: failed program was:" >&5
     6078sed 's/^/| /' conftest.$ac_ext >&5
     6079
     6080ac_cv_type_signal=int
     6081fi
     6082rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6083fi
     6084echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6085echo "${ECHO_T}$ac_cv_type_signal" >&6
    55996086
    56006087cat >>confdefs.h <<_ACEOF
     
    56036090
    56046091
     6092
    56056093for ac_func in vprintf
    5606 do :
    5607   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
    5608 if test "x$ac_cv_func_vprintf" = x""yes; then :
     6094do
     6095as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6096echo "$as_me:$LINENO: checking for $ac_func" >&5
     6097echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6098if eval "test \"\${$as_ac_var+set}\" = set"; then
     6099  echo $ECHO_N "(cached) $ECHO_C" >&6
     6100else
     6101  cat >conftest.$ac_ext <<_ACEOF
     6102/* confdefs.h.  */
     6103_ACEOF
     6104cat confdefs.h >>conftest.$ac_ext
     6105cat >>conftest.$ac_ext <<_ACEOF
     6106/* end confdefs.h.  */
     6107/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6108   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6109#define $ac_func innocuous_$ac_func
     6110
     6111/* System header to define __stub macros and hopefully few prototypes,
     6112    which can conflict with char $ac_func (); below.
     6113    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6114    <limits.h> exists even on freestanding compilers.  */
     6115
     6116#ifdef __STDC__
     6117# include <limits.h>
     6118#else
     6119# include <assert.h>
     6120#endif
     6121
     6122#undef $ac_func
     6123
     6124/* Override any gcc2 internal prototype to avoid an error.  */
     6125#ifdef __cplusplus
     6126extern "C"
     6127{
     6128#endif
     6129/* We use char because int might match the return type of a gcc2
     6130   builtin and then its argument prototype would still apply.  */
     6131char $ac_func ();
     6132/* The GNU C library defines this for functions which it implements
     6133    to always fail with ENOSYS.  Some functions are actually named
     6134    something starting with __ and the normal name is an alias.  */
     6135#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6136choke me
     6137#else
     6138char (*f) () = $ac_func;
     6139#endif
     6140#ifdef __cplusplus
     6141}
     6142#endif
     6143
     6144int
     6145main ()
     6146{
     6147return f != $ac_func;
     6148  ;
     6149  return 0;
     6150}
     6151_ACEOF
     6152rm -f conftest.$ac_objext conftest$ac_exeext
     6153if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6154  (eval $ac_link) 2>conftest.er1
     6155  ac_status=$?
     6156  grep -v '^ *+' conftest.er1 >conftest.err
     6157  rm -f conftest.er1
     6158  cat conftest.err >&5
     6159  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6160  (exit $ac_status); } &&
     6161     { ac_try='test -z "$ac_c_werror_flag"
     6162             || test ! -s conftest.err'
     6163  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6164  (eval $ac_try) 2>&5
     6165  ac_status=$?
     6166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6167  (exit $ac_status); }; } &&
     6168     { ac_try='test -s conftest$ac_exeext'
     6169  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6170  (eval $ac_try) 2>&5
     6171  ac_status=$?
     6172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6173  (exit $ac_status); }; }; then
     6174  eval "$as_ac_var=yes"
     6175else
     6176  echo "$as_me: failed program was:" >&5
     6177sed 's/^/| /' conftest.$ac_ext >&5
     6178
     6179eval "$as_ac_var=no"
     6180fi
     6181rm -f conftest.err conftest.$ac_objext \
     6182      conftest$ac_exeext conftest.$ac_ext
     6183fi
     6184echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6185echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6186if test `eval echo '${'$as_ac_var'}'` = yes; then
    56096187  cat >>confdefs.h <<_ACEOF
    5610 #define HAVE_VPRINTF 1
    5611 _ACEOF
    5612 
    5613 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
    5614 if test "x$ac_cv_func__doprnt" = x""yes; then :
    5615 
    5616 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
     6188#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6189_ACEOF
     6190
     6191echo "$as_me:$LINENO: checking for _doprnt" >&5
     6192echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     6193if test "${ac_cv_func__doprnt+set}" = set; then
     6194  echo $ECHO_N "(cached) $ECHO_C" >&6
     6195else
     6196  cat >conftest.$ac_ext <<_ACEOF
     6197/* confdefs.h.  */
     6198_ACEOF
     6199cat confdefs.h >>conftest.$ac_ext
     6200cat >>conftest.$ac_ext <<_ACEOF
     6201/* end confdefs.h.  */
     6202/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
     6203   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6204#define _doprnt innocuous__doprnt
     6205
     6206/* System header to define __stub macros and hopefully few prototypes,
     6207    which can conflict with char _doprnt (); below.
     6208    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6209    <limits.h> exists even on freestanding compilers.  */
     6210
     6211#ifdef __STDC__
     6212# include <limits.h>
     6213#else
     6214# include <assert.h>
     6215#endif
     6216
     6217#undef _doprnt
     6218
     6219/* Override any gcc2 internal prototype to avoid an error.  */
     6220#ifdef __cplusplus
     6221extern "C"
     6222{
     6223#endif
     6224/* We use char because int might match the return type of a gcc2
     6225   builtin and then its argument prototype would still apply.  */
     6226char _doprnt ();
     6227/* The GNU C library defines this for functions which it implements
     6228    to always fail with ENOSYS.  Some functions are actually named
     6229    something starting with __ and the normal name is an alias.  */
     6230#if defined (__stub__doprnt) || defined (__stub____doprnt)
     6231choke me
     6232#else
     6233char (*f) () = _doprnt;
     6234#endif
     6235#ifdef __cplusplus
     6236}
     6237#endif
     6238
     6239int
     6240main ()
     6241{
     6242return f != _doprnt;
     6243  ;
     6244  return 0;
     6245}
     6246_ACEOF
     6247rm -f conftest.$ac_objext conftest$ac_exeext
     6248if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6249  (eval $ac_link) 2>conftest.er1
     6250  ac_status=$?
     6251  grep -v '^ *+' conftest.er1 >conftest.err
     6252  rm -f conftest.er1
     6253  cat conftest.err >&5
     6254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6255  (exit $ac_status); } &&
     6256     { ac_try='test -z "$ac_c_werror_flag"
     6257             || test ! -s conftest.err'
     6258  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6259  (eval $ac_try) 2>&5
     6260  ac_status=$?
     6261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6262  (exit $ac_status); }; } &&
     6263     { ac_try='test -s conftest$ac_exeext'
     6264  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6265  (eval $ac_try) 2>&5
     6266  ac_status=$?
     6267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6268  (exit $ac_status); }; }; then
     6269  ac_cv_func__doprnt=yes
     6270else
     6271  echo "$as_me: failed program was:" >&5
     6272sed 's/^/| /' conftest.$ac_ext >&5
     6273
     6274ac_cv_func__doprnt=no
     6275fi
     6276rm -f conftest.err conftest.$ac_objext \
     6277      conftest$ac_exeext conftest.$ac_ext
     6278fi
     6279echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6280echo "${ECHO_T}$ac_cv_func__doprnt" >&6
     6281if test $ac_cv_func__doprnt = yes; then
     6282
     6283cat >>confdefs.h <<\_ACEOF
     6284#define HAVE_DOPRNT 1
     6285_ACEOF
    56176286
    56186287fi
     
    56226291
    56236292
     6293
     6294
     6295
     6296
     6297
     6298
     6299
     6300
     6301
     6302
    56246303for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    5625 do :
    5626   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    5628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     6304do
     6305as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6306echo "$as_me:$LINENO: checking for $ac_func" >&5
     6307echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6308if eval "test \"\${$as_ac_var+set}\" = set"; then
     6309  echo $ECHO_N "(cached) $ECHO_C" >&6
     6310else
     6311  cat >conftest.$ac_ext <<_ACEOF
     6312/* confdefs.h.  */
     6313_ACEOF
     6314cat confdefs.h >>conftest.$ac_ext
     6315cat >>conftest.$ac_ext <<_ACEOF
     6316/* end confdefs.h.  */
     6317/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6318   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6319#define $ac_func innocuous_$ac_func
     6320
     6321/* System header to define __stub macros and hopefully few prototypes,
     6322    which can conflict with char $ac_func (); below.
     6323    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6324    <limits.h> exists even on freestanding compilers.  */
     6325
     6326#ifdef __STDC__
     6327# include <limits.h>
     6328#else
     6329# include <assert.h>
     6330#endif
     6331
     6332#undef $ac_func
     6333
     6334/* Override any gcc2 internal prototype to avoid an error.  */
     6335#ifdef __cplusplus
     6336extern "C"
     6337{
     6338#endif
     6339/* We use char because int might match the return type of a gcc2
     6340   builtin and then its argument prototype would still apply.  */
     6341char $ac_func ();
     6342/* The GNU C library defines this for functions which it implements
     6343    to always fail with ENOSYS.  Some functions are actually named
     6344    something starting with __ and the normal name is an alias.  */
     6345#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6346choke me
     6347#else
     6348char (*f) () = $ac_func;
     6349#endif
     6350#ifdef __cplusplus
     6351}
     6352#endif
     6353
     6354int
     6355main ()
     6356{
     6357return f != $ac_func;
     6358  ;
     6359  return 0;
     6360}
     6361_ACEOF
     6362rm -f conftest.$ac_objext conftest$ac_exeext
     6363if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6364  (eval $ac_link) 2>conftest.er1
     6365  ac_status=$?
     6366  grep -v '^ *+' conftest.er1 >conftest.err
     6367  rm -f conftest.er1
     6368  cat conftest.err >&5
     6369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6370  (exit $ac_status); } &&
     6371     { ac_try='test -z "$ac_c_werror_flag"
     6372             || test ! -s conftest.err'
     6373  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6374  (eval $ac_try) 2>&5
     6375  ac_status=$?
     6376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6377  (exit $ac_status); }; } &&
     6378     { ac_try='test -s conftest$ac_exeext'
     6379  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6380  (eval $ac_try) 2>&5
     6381  ac_status=$?
     6382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6383  (exit $ac_status); }; }; then
     6384  eval "$as_ac_var=yes"
     6385else
     6386  echo "$as_me: failed program was:" >&5
     6387sed 's/^/| /' conftest.$ac_ext >&5
     6388
     6389eval "$as_ac_var=no"
     6390fi
     6391rm -f conftest.err conftest.$ac_objext \
     6392      conftest$ac_exeext conftest.$ac_ext
     6393fi
     6394echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6395echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6396if test `eval echo '${'$as_ac_var'}'` = yes; then
    56296397  cat >>confdefs.h <<_ACEOF
    5630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6398#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    56316399_ACEOF
    56326400
     
    56346402done
    56356403
    5636 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
    5637 if test "x$ac_cv_func_ftruncate" = x""yes; then :
    5638   $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
    5639 
    5640 else
    5641   case " $LIBOBJS " in
    5642   *" ftruncate.$ac_objext "* ) ;;
    5643   *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
    5644  ;;
     6404
     6405
     6406
     6407for ac_func in ftruncate strstr strcasecmp
     6408do
     6409as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6410echo "$as_me:$LINENO: checking for $ac_func" >&5
     6411echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6412if eval "test \"\${$as_ac_var+set}\" = set"; then
     6413  echo $ECHO_N "(cached) $ECHO_C" >&6
     6414else
     6415  cat >conftest.$ac_ext <<_ACEOF
     6416/* confdefs.h.  */
     6417_ACEOF
     6418cat confdefs.h >>conftest.$ac_ext
     6419cat >>conftest.$ac_ext <<_ACEOF
     6420/* end confdefs.h.  */
     6421/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6422   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6423#define $ac_func innocuous_$ac_func
     6424
     6425/* System header to define __stub macros and hopefully few prototypes,
     6426    which can conflict with char $ac_func (); below.
     6427    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6428    <limits.h> exists even on freestanding compilers.  */
     6429
     6430#ifdef __STDC__
     6431# include <limits.h>
     6432#else
     6433# include <assert.h>
     6434#endif
     6435
     6436#undef $ac_func
     6437
     6438/* Override any gcc2 internal prototype to avoid an error.  */
     6439#ifdef __cplusplus
     6440extern "C"
     6441{
     6442#endif
     6443/* We use char because int might match the return type of a gcc2
     6444   builtin and then its argument prototype would still apply.  */
     6445char $ac_func ();
     6446/* The GNU C library defines this for functions which it implements
     6447    to always fail with ENOSYS.  Some functions are actually named
     6448    something starting with __ and the normal name is an alias.  */
     6449#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6450choke me
     6451#else
     6452char (*f) () = $ac_func;
     6453#endif
     6454#ifdef __cplusplus
     6455}
     6456#endif
     6457
     6458int
     6459main ()
     6460{
     6461return f != $ac_func;
     6462  ;
     6463  return 0;
     6464}
     6465_ACEOF
     6466rm -f conftest.$ac_objext conftest$ac_exeext
     6467if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6468  (eval $ac_link) 2>conftest.er1
     6469  ac_status=$?
     6470  grep -v '^ *+' conftest.er1 >conftest.err
     6471  rm -f conftest.er1
     6472  cat conftest.err >&5
     6473  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6474  (exit $ac_status); } &&
     6475     { ac_try='test -z "$ac_c_werror_flag"
     6476             || test ! -s conftest.err'
     6477  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6478  (eval $ac_try) 2>&5
     6479  ac_status=$?
     6480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6481  (exit $ac_status); }; } &&
     6482     { ac_try='test -s conftest$ac_exeext'
     6483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6484  (eval $ac_try) 2>&5
     6485  ac_status=$?
     6486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6487  (exit $ac_status); }; }; then
     6488  eval "$as_ac_var=yes"
     6489else
     6490  echo "$as_me: failed program was:" >&5
     6491sed 's/^/| /' conftest.$ac_ext >&5
     6492
     6493eval "$as_ac_var=no"
     6494fi
     6495rm -f conftest.err conftest.$ac_objext \
     6496      conftest$ac_exeext conftest.$ac_ext
     6497fi
     6498echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6499echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6500if test `eval echo '${'$as_ac_var'}'` = yes; then
     6501  cat >>confdefs.h <<_ACEOF
     6502#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6503_ACEOF
     6504
     6505else
     6506  case $LIBOBJS in
     6507    "$ac_func.$ac_objext"   | \
     6508  *" $ac_func.$ac_objext"   | \
     6509    "$ac_func.$ac_objext "* | \
     6510  *" $ac_func.$ac_objext "* ) ;;
     6511  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
    56456512esac
    56466513
    56476514fi
    5648 
    5649 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
    5650 if test "x$ac_cv_func_strstr" = x""yes; then :
    5651   $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
    5652 
    5653 else
    5654   case " $LIBOBJS " in
    5655   *" strstr.$ac_objext "* ) ;;
    5656   *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
    5657  ;;
    5658 esac
    5659 
    5660 fi
    5661 
    5662 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
    5663 if test "x$ac_cv_func_strcasecmp" = x""yes; then :
    5664   $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
    5665 
    5666 else
    5667   case " $LIBOBJS " in
    5668   *" strcasecmp.$ac_objext "* ) ;;
    5669   *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
    5670  ;;
    5671 esac
    5672 
    5673 fi
    5674 
    5675 
    5676 
    5677 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
    5678 if test "x$ac_cv_func_textdomain" = x""yes; then :
    5679   $as_echo "#define ENABLE_NLS  1" >>confdefs.h
     6515done
     6516
     6517
     6518
     6519echo "$as_me:$LINENO: checking for textdomain" >&5
     6520echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     6521if test "${ac_cv_func_textdomain+set}" = set; then
     6522  echo $ECHO_N "(cached) $ECHO_C" >&6
     6523else
     6524  cat >conftest.$ac_ext <<_ACEOF
     6525/* confdefs.h.  */
     6526_ACEOF
     6527cat confdefs.h >>conftest.$ac_ext
     6528cat >>conftest.$ac_ext <<_ACEOF
     6529/* end confdefs.h.  */
     6530/* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
     6531   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6532#define textdomain innocuous_textdomain
     6533
     6534/* System header to define __stub macros and hopefully few prototypes,
     6535    which can conflict with char textdomain (); below.
     6536    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6537    <limits.h> exists even on freestanding compilers.  */
     6538
     6539#ifdef __STDC__
     6540# include <limits.h>
     6541#else
     6542# include <assert.h>
     6543#endif
     6544
     6545#undef textdomain
     6546
     6547/* Override any gcc2 internal prototype to avoid an error.  */
     6548#ifdef __cplusplus
     6549extern "C"
     6550{
     6551#endif
     6552/* We use char because int might match the return type of a gcc2
     6553   builtin and then its argument prototype would still apply.  */
     6554char textdomain ();
     6555/* The GNU C library defines this for functions which it implements
     6556    to always fail with ENOSYS.  Some functions are actually named
     6557    something starting with __ and the normal name is an alias.  */
     6558#if defined (__stub_textdomain) || defined (__stub___textdomain)
     6559choke me
     6560#else
     6561char (*f) () = textdomain;
     6562#endif
     6563#ifdef __cplusplus
     6564}
     6565#endif
     6566
     6567int
     6568main ()
     6569{
     6570return f != textdomain;
     6571  ;
     6572  return 0;
     6573}
     6574_ACEOF
     6575rm -f conftest.$ac_objext conftest$ac_exeext
     6576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6577  (eval $ac_link) 2>conftest.er1
     6578  ac_status=$?
     6579  grep -v '^ *+' conftest.er1 >conftest.err
     6580  rm -f conftest.er1
     6581  cat conftest.err >&5
     6582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6583  (exit $ac_status); } &&
     6584     { ac_try='test -z "$ac_c_werror_flag"
     6585             || test ! -s conftest.err'
     6586  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6587  (eval $ac_try) 2>&5
     6588  ac_status=$?
     6589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6590  (exit $ac_status); }; } &&
     6591     { ac_try='test -s conftest$ac_exeext'
     6592  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6593  (eval $ac_try) 2>&5
     6594  ac_status=$?
     6595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6596  (exit $ac_status); }; }; then
     6597  ac_cv_func_textdomain=yes
     6598else
     6599  echo "$as_me: failed program was:" >&5
     6600sed 's/^/| /' conftest.$ac_ext >&5
     6601
     6602ac_cv_func_textdomain=no
     6603fi
     6604rm -f conftest.err conftest.$ac_objext \
     6605      conftest$ac_exeext conftest.$ac_ext
     6606fi
     6607echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     6608echo "${ECHO_T}$ac_cv_func_textdomain" >&6
     6609if test $ac_cv_func_textdomain = yes; then
     6610  cat >>confdefs.h <<\_ACEOF
     6611#define ENABLE_NLS  1
     6612_ACEOF
    56806613
    56816614fi
     
    56846617# *** Custom checking (based on GNU tar configure.in) ***
    56856618# ---------------------------------------------------------------------------
    5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
    5687 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
     6619echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     6620echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
    56886621if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5690 $as_echo "yes" >&6; }
    5691   case " $LIBOBJS " in
     6622  echo "$as_me:$LINENO: result: yes" >&5
     6623echo "${ECHO_T}yes" >&6
     6624  case $LIBOBJS in
     6625    "gmalloc.$ac_objext"   | \
     6626  *" gmalloc.$ac_objext"   | \
     6627    "gmalloc.$ac_objext "* | \
    56926628  *" gmalloc.$ac_objext "* ) ;;
    5693   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
    5694  ;;
     6629  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
    56956630esac
    56966631
    5697   $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
    5698 
    5699 else
    5700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5701 $as_echo "no" >&6; }
    5702   for ac_func in valloc
    5703 do :
    5704   ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
    5705 if test "x$ac_cv_func_valloc" = x""yes; then :
     6632  cat >>confdefs.h <<\_ACEOF
     6633#define HAVE_VALLOC 1
     6634_ACEOF
     6635
     6636else
     6637  echo "$as_me:$LINENO: result: no" >&5
     6638echo "${ECHO_T}no" >&6
     6639
     6640for ac_func in valloc
     6641do
     6642as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6643echo "$as_me:$LINENO: checking for $ac_func" >&5
     6644echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6645if eval "test \"\${$as_ac_var+set}\" = set"; then
     6646  echo $ECHO_N "(cached) $ECHO_C" >&6
     6647else
     6648  cat >conftest.$ac_ext <<_ACEOF
     6649/* confdefs.h.  */
     6650_ACEOF
     6651cat confdefs.h >>conftest.$ac_ext
     6652cat >>conftest.$ac_ext <<_ACEOF
     6653/* end confdefs.h.  */
     6654/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6655   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6656#define $ac_func innocuous_$ac_func
     6657
     6658/* System header to define __stub macros and hopefully few prototypes,
     6659    which can conflict with char $ac_func (); below.
     6660    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6661    <limits.h> exists even on freestanding compilers.  */
     6662
     6663#ifdef __STDC__
     6664# include <limits.h>
     6665#else
     6666# include <assert.h>
     6667#endif
     6668
     6669#undef $ac_func
     6670
     6671/* Override any gcc2 internal prototype to avoid an error.  */
     6672#ifdef __cplusplus
     6673extern "C"
     6674{
     6675#endif
     6676/* We use char because int might match the return type of a gcc2
     6677   builtin and then its argument prototype would still apply.  */
     6678char $ac_func ();
     6679/* The GNU C library defines this for functions which it implements
     6680    to always fail with ENOSYS.  Some functions are actually named
     6681    something starting with __ and the normal name is an alias.  */
     6682#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6683choke me
     6684#else
     6685char (*f) () = $ac_func;
     6686#endif
     6687#ifdef __cplusplus
     6688}
     6689#endif
     6690
     6691int
     6692main ()
     6693{
     6694return f != $ac_func;
     6695  ;
     6696  return 0;
     6697}
     6698_ACEOF
     6699rm -f conftest.$ac_objext conftest$ac_exeext
     6700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6701  (eval $ac_link) 2>conftest.er1
     6702  ac_status=$?
     6703  grep -v '^ *+' conftest.er1 >conftest.err
     6704  rm -f conftest.er1
     6705  cat conftest.err >&5
     6706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6707  (exit $ac_status); } &&
     6708     { ac_try='test -z "$ac_c_werror_flag"
     6709             || test ! -s conftest.err'
     6710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6711  (eval $ac_try) 2>&5
     6712  ac_status=$?
     6713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6714  (exit $ac_status); }; } &&
     6715     { ac_try='test -s conftest$ac_exeext'
     6716  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6717  (eval $ac_try) 2>&5
     6718  ac_status=$?
     6719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6720  (exit $ac_status); }; }; then
     6721  eval "$as_ac_var=yes"
     6722else
     6723  echo "$as_me: failed program was:" >&5
     6724sed 's/^/| /' conftest.$ac_ext >&5
     6725
     6726eval "$as_ac_var=no"
     6727fi
     6728rm -f conftest.err conftest.$ac_objext \
     6729      conftest$ac_exeext conftest.$ac_ext
     6730fi
     6731echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6732echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6733if test `eval echo '${'$as_ac_var'}'` = yes; then
    57066734  cat >>confdefs.h <<_ACEOF
    5707 #define HAVE_VALLOC 1
     6735#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    57086736_ACEOF
    57096737
     
    57146742
    57156743# we cannot generate static libraries under Darwin
    5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
    5717 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
     6744echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     6745echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
    57186746if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    5719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5720 $as_echo "yes" >&6; }
     6747  echo "$as_me:$LINENO: result: yes" >&5
     6748echo "${ECHO_T}yes" >&6
    57216749  STATIC=""
    57226750else
    5723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5724 $as_echo "no" >&6; }
     6751  echo "$as_me:$LINENO: result: no" >&5
     6752echo "${ECHO_T}no" >&6
    57256753  STATIC="-static "
    57266754fi
    57276755
    57286756
    5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
    5730 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
    5731 
    5732 # Check whether --with-dmalloc was given.
    5733 if test "${with_dmalloc+set}" = set; then :
    5734   withval=$with_dmalloc; if test "$withval" = yes; then
    5735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5736 $as_echo "yes" >&6; }
    5737   $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
     6757echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     6758echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
     6759
     6760# Check whether --with-dmalloc or --without-dmalloc was given.
     6761if test "${with_dmalloc+set}" = set; then
     6762  withval="$with_dmalloc"
     6763  if test "$withval" = yes; then
     6764  echo "$as_me:$LINENO: result: yes" >&5
     6765echo "${ECHO_T}yes" >&6
     6766  cat >>confdefs.h <<\_ACEOF
     6767#define WITH_DMALLOC 1
     6768_ACEOF
    57386769
    57396770  LIBS="$LIBS -ldmalloc"
    57406771  LDFLAGS="$LDFLAGS -g"
    57416772else
    5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5743 $as_echo "no" >&6; }
    5744 fi
    5745 else
    5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5747 $as_echo "no" >&6; }
    5748 fi
    5749 
    5750 
    5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
    5752 $as_echo_n "checking which of rx or regex is wanted... " >&6; }
    5753 
    5754 # Check whether --with-regex was given.
    5755 if test "${with_regex+set}" = set; then :
    5756   withval=$with_regex; if test "$withval" = yes; then
     6773  echo "$as_me:$LINENO: result: no" >&5
     6774echo "${ECHO_T}no" >&6
     6775fi
     6776else
     6777  echo "$as_me:$LINENO: result: no" >&5
     6778echo "${ECHO_T}no" >&6
     6779fi;
     6780
     6781echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     6782echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
     6783
     6784# Check whether --with-regex or --without-regex was given.
     6785if test "${with_regex+set}" = set; then
     6786  withval="$with_regex"
     6787  if test "$withval" = yes; then
    57576788  ac_with_regex=1
    5758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
    5759 $as_echo "regex" >&6; }
    5760   $as_echo "#define WITH_REGEX 1" >>confdefs.h
    5761 
    5762   case " $LIBOBJS " in
     6789  echo "$as_me:$LINENO: result: regex" >&5
     6790echo "${ECHO_T}regex" >&6
     6791  cat >>confdefs.h <<\_ACEOF
     6792#define WITH_REGEX 1
     6793_ACEOF
     6794
     6795  case $LIBOBJS in
     6796    "regex.$ac_objext"   | \
     6797  *" regex.$ac_objext"   | \
     6798    "regex.$ac_objext "* | \
    57636799  *" regex.$ac_objext "* ) ;;
    5764   *) LIBOBJS="$LIBOBJS regex.$ac_objext"
    5765  ;;
     6800  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    57666801esac
    57676802
    57686803fi
    5769 fi
    5770 
     6804fi;
    57716805if test -z "$ac_with_regex"; then
    5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
    5773 $as_echo "rx" >&6; }
    5774   ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
    5775 if test "x$ac_cv_func_re_rx_search" = x""yes; then :
    5776 
    5777 else
    5778   case " $LIBOBJS " in
     6806  echo "$as_me:$LINENO: result: rx" >&5
     6807echo "${ECHO_T}rx" >&6
     6808  echo "$as_me:$LINENO: checking for re_rx_search" >&5
     6809echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     6810if test "${ac_cv_func_re_rx_search+set}" = set; then
     6811  echo $ECHO_N "(cached) $ECHO_C" >&6
     6812else
     6813  cat >conftest.$ac_ext <<_ACEOF
     6814/* confdefs.h.  */
     6815_ACEOF
     6816cat confdefs.h >>conftest.$ac_ext
     6817cat >>conftest.$ac_ext <<_ACEOF
     6818/* end confdefs.h.  */
     6819/* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
     6820   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6821#define re_rx_search innocuous_re_rx_search
     6822
     6823/* System header to define __stub macros and hopefully few prototypes,
     6824    which can conflict with char re_rx_search (); below.
     6825    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6826    <limits.h> exists even on freestanding compilers.  */
     6827
     6828#ifdef __STDC__
     6829# include <limits.h>
     6830#else
     6831# include <assert.h>
     6832#endif
     6833
     6834#undef re_rx_search
     6835
     6836/* Override any gcc2 internal prototype to avoid an error.  */
     6837#ifdef __cplusplus
     6838extern "C"
     6839{
     6840#endif
     6841/* We use char because int might match the return type of a gcc2
     6842   builtin and then its argument prototype would still apply.  */
     6843char re_rx_search ();
     6844/* The GNU C library defines this for functions which it implements
     6845    to always fail with ENOSYS.  Some functions are actually named
     6846    something starting with __ and the normal name is an alias.  */
     6847#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     6848choke me
     6849#else
     6850char (*f) () = re_rx_search;
     6851#endif
     6852#ifdef __cplusplus
     6853}
     6854#endif
     6855
     6856int
     6857main ()
     6858{
     6859return f != re_rx_search;
     6860  ;
     6861  return 0;
     6862}
     6863_ACEOF
     6864rm -f conftest.$ac_objext conftest$ac_exeext
     6865if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6866  (eval $ac_link) 2>conftest.er1
     6867  ac_status=$?
     6868  grep -v '^ *+' conftest.er1 >conftest.err
     6869  rm -f conftest.er1
     6870  cat conftest.err >&5
     6871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6872  (exit $ac_status); } &&
     6873     { ac_try='test -z "$ac_c_werror_flag"
     6874             || test ! -s conftest.err'
     6875  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6876  (eval $ac_try) 2>&5
     6877  ac_status=$?
     6878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6879  (exit $ac_status); }; } &&
     6880     { ac_try='test -s conftest$ac_exeext'
     6881  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6882  (eval $ac_try) 2>&5
     6883  ac_status=$?
     6884  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6885  (exit $ac_status); }; }; then
     6886  ac_cv_func_re_rx_search=yes
     6887else
     6888  echo "$as_me: failed program was:" >&5
     6889sed 's/^/| /' conftest.$ac_ext >&5
     6890
     6891ac_cv_func_re_rx_search=no
     6892fi
     6893rm -f conftest.err conftest.$ac_objext \
     6894      conftest$ac_exeext conftest.$ac_ext
     6895fi
     6896echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     6897echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
     6898if test $ac_cv_func_re_rx_search = yes; then
     6899  :
     6900else
     6901  case $LIBOBJS in
     6902    "rx.$ac_objext"   | \
     6903  *" rx.$ac_objext"   | \
     6904    "rx.$ac_objext "* | \
    57796905  *" rx.$ac_objext "* ) ;;
    5780   *) LIBOBJS="$LIBOBJS rx.$ac_objext"
    5781  ;;
     6906  *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
    57826907esac
    57836908
     
    57896914# ---------------------------------------------------------------------------
    57906915if test "$ac_cv_func_alloca" = 'no'; then
    5791   case " $LIBOBJS " in
     6916  case $LIBOBJS in
     6917    "xmalloc.$ac_objext"   | \
     6918  *" xmalloc.$ac_objext"   | \
     6919    "xmalloc.$ac_objext "* | \
    57926920  *" xmalloc.$ac_objext "* ) ;;
    5793   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
    5794  ;;
     6921  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    57956922esac
    57966923
    5797   case " $LIBOBJS " in
     6924  case $LIBOBJS in
     6925    "error.$ac_objext"   | \
     6926  *" error.$ac_objext"   | \
     6927    "error.$ac_objext "* | \
    57986928  *" error.$ac_objext "* ) ;;
    5799   *) LIBOBJS="$LIBOBJS error.$ac_objext"
    5800  ;;
     6929  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
    58016930esac
    58026931
     
    58066935# ---------------------------------------------------------------------------
    58076936
    5808 ac_ext=cpp
     6937ac_ext=cc
    58096938ac_cpp='$CXXCPP $CPPFLAGS'
    58106939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    58136942
    58146943
    5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5
    5816 $as_echo_n "checking that Perl 5 is available... " >&6; }
     6944echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
     6945echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
    58176946success="no"
    58186947pl_path="$PATH"
     
    58316960try=`expr $try \> 5.000`
    58326961if test $try = "1"; then
    5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
    5834 $as_echo "\"yes\"" >&6; }
     6962echo "$as_me:$LINENO: result: \"yes\"" >&5
     6963echo "${ECHO_T}\"yes\"" >&6
    58356964else
    58366965success="no"
     
    58396968
    58406969if test $success = "no"; then
    5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
    5842 $as_echo "\"no\"" >&6; }
    5843 as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5
     6970echo "$as_me:$LINENO: result: \"no\"" >&5
     6971echo "${ECHO_T}\"no\"" >&6
     6972{ { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
     6973echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
     6974   { (exit 1); exit 1; }; }
    58446975fi
    58456976
    58466977success=no
    5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
    5848 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
    5849 
    5850 
    5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6978echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     6979echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     6980
     6981
     6982cat >conftest.$ac_ext <<_ACEOF
     6983/* confdefs.h.  */
     6984_ACEOF
     6985cat confdefs.h >>conftest.$ac_ext
     6986cat >>conftest.$ac_ext <<_ACEOF
    58526987/* end confdefs.h.  */
    58536988#include <vector>
     
    58616996}
    58626997_ACEOF
    5863 if ac_fn_cxx_try_compile "$LINENO"; then :
     6998rm -f conftest.$ac_objext
     6999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7000  (eval $ac_compile) 2>conftest.er1
     7001  ac_status=$?
     7002  grep -v '^ *+' conftest.er1 >conftest.err
     7003  rm -f conftest.er1
     7004  cat conftest.err >&5
     7005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7006  (exit $ac_status); } &&
     7007     { ac_try='test -z "$ac_cxx_werror_flag"
     7008             || test ! -s conftest.err'
     7009  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7010  (eval $ac_try) 2>&5
     7011  ac_status=$?
     7012  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7013  (exit $ac_status); }; } &&
     7014     { ac_try='test -s conftest.$ac_objext'
     7015  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7016  (eval $ac_try) 2>&5
     7017  ac_status=$?
     7018  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7019  (exit $ac_status); }; }; then
    58647020  success=yes
    5865 fi
    5866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7021else
     7022  echo "$as_me: failed program was:" >&5
     7023sed 's/^/| /' conftest.$ac_ext >&5
     7024
     7025fi
     7026rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    58677027
    58687028if test $success = "no"; then
    5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7029cat >conftest.$ac_ext <<_ACEOF
     7030/* confdefs.h.  */
     7031_ACEOF
     7032cat confdefs.h >>conftest.$ac_ext
     7033cat >>conftest.$ac_ext <<_ACEOF
    58707034/* end confdefs.h.  */
    58717035#include <vector.h>
     
    58797043}
    58807044_ACEOF
    5881 if ac_fn_cxx_try_compile "$LINENO"; then :
     7045rm -f conftest.$ac_objext
     7046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7047  (eval $ac_compile) 2>conftest.er1
     7048  ac_status=$?
     7049  grep -v '^ *+' conftest.er1 >conftest.err
     7050  rm -f conftest.er1
     7051  cat conftest.err >&5
     7052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7053  (exit $ac_status); } &&
     7054     { ac_try='test -z "$ac_cxx_werror_flag"
     7055             || test ! -s conftest.err'
     7056  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7057  (eval $ac_try) 2>&5
     7058  ac_status=$?
     7059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7060  (exit $ac_status); }; } &&
     7061     { ac_try='test -s conftest.$ac_objext'
     7062  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7063  (eval $ac_try) 2>&5
     7064  ac_status=$?
     7065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7066  (exit $ac_status); }; }; then
    58827067  success="yes"
    5883 fi
    5884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7068else
     7069  echo "$as_me: failed program was:" >&5
     7070sed 's/^/| /' conftest.$ac_ext >&5
     7071
     7072fi
     7073rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    58857074fi
    58867075
    58877076if test $success = "no"; then
    5888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7077cat >conftest.$ac_ext <<_ACEOF
     7078/* confdefs.h.  */
     7079_ACEOF
     7080cat confdefs.h >>conftest.$ac_ext
     7081cat >>conftest.$ac_ext <<_ACEOF
    58897082/* end confdefs.h.  */
    58907083#include <ospace\\std\\vector>
     
    58987091}
    58997092_ACEOF
    5900 if ac_fn_cxx_try_compile "$LINENO"; then :
     7093rm -f conftest.$ac_objext
     7094if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7095  (eval $ac_compile) 2>conftest.er1
     7096  ac_status=$?
     7097  grep -v '^ *+' conftest.er1 >conftest.err
     7098  rm -f conftest.er1
     7099  cat conftest.err >&5
     7100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7101  (exit $ac_status); } &&
     7102     { ac_try='test -z "$ac_cxx_werror_flag"
     7103             || test ! -s conftest.err'
     7104  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7105  (eval $ac_try) 2>&5
     7106  ac_status=$?
     7107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7108  (exit $ac_status); }; } &&
     7109     { ac_try='test -s conftest.$ac_objext'
     7110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7111  (eval $ac_try) 2>&5
     7112  ac_status=$?
     7113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7114  (exit $ac_status); }; }; then
    59017115  success="yes"
    5902 fi
    5903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7116else
     7117  echo "$as_me: failed program was:" >&5
     7118sed 's/^/| /' conftest.$ac_ext >&5
     7119
     7120fi
     7121rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    59047122fi
    59057123
    59067124if test $success = yes; then
    5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
    5908 $as_echo "\"no\"" >&6; }
    5909 else
    5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
    5911 $as_echo "\"yes\"" >&6; }
    5912 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
     7125echo "$as_me:$LINENO: result: \"no\"" >&5
     7126echo "${ECHO_T}\"no\"" >&6
     7127else
     7128echo "$as_me:$LINENO: result: \"yes\"" >&5
     7129echo "${ECHO_T}\"yes\"" >&6
     7130{ { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
     7131echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     7132   { (exit 1); exit 1; }; }
    59137133fi
    59147134
     
    59227142
    59237143# check for endianness
    5924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    5925 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    5926 if test "${ac_cv_c_bigendian+set}" = set; then :
    5927   $as_echo_n "(cached) " >&6
    5928 else
    5929   ac_cv_c_bigendian=unknown
    5930     # See if we're dealing with a universal compiler.
    5931     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5932 /* end confdefs.h.  */
    5933 #ifndef __APPLE_CC__
    5934            not a universal capable compiler
    5935          #endif
    5936          typedef int dummy;
    5937 
    5938 _ACEOF
    5939 if ac_fn_cxx_try_compile "$LINENO"; then :
    5940 
    5941     # Check for potential -arch flags.  It is not universal unless
    5942     # there are at least two -arch flags with different values.
    5943     ac_arch=
    5944     ac_prev=
    5945     for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
    5946      if test -n "$ac_prev"; then
    5947        case $ac_word in
    5948          i?86 | x86_64 | ppc | ppc64)
    5949            if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
    5950          ac_arch=$ac_word
    5951            else
    5952          ac_cv_c_bigendian=universal
    5953          break
    5954            fi
    5955            ;;
    5956        esac
    5957        ac_prev=
    5958      elif test "x$ac_word" = "x-arch"; then
    5959        ac_prev=arch
    5960      fi
    5961        done
    5962 fi
    5963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5964     if test $ac_cv_c_bigendian = unknown; then
    5965       # See if sys/param.h defines the BYTE_ORDER macro.
    5966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7144echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7145echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     7146if test "${ac_cv_c_bigendian+set}" = set; then
     7147  echo $ECHO_N "(cached) $ECHO_C" >&6
     7148else
     7149  # See if sys/param.h defines the BYTE_ORDER macro.
     7150cat >conftest.$ac_ext <<_ACEOF
     7151/* confdefs.h.  */
     7152_ACEOF
     7153cat confdefs.h >>conftest.$ac_ext
     7154cat >>conftest.$ac_ext <<_ACEOF
    59677155/* end confdefs.h.  */
    59687156#include <sys/types.h>
    5969          #include <sys/param.h>
     7157#include <sys/param.h>
    59707158
    59717159int
    59727160main ()
    59737161{
    5974 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
    5975              && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
    5976              && LITTLE_ENDIAN)
    5977           bogus endian macros
    5978          #endif
     7162#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
     7163 bogus endian macros
     7164#endif
    59797165
    59807166  ;
     
    59827168}
    59837169_ACEOF
    5984 if ac_fn_cxx_try_compile "$LINENO"; then :
     7170rm -f conftest.$ac_objext
     7171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7172  (eval $ac_compile) 2>conftest.er1
     7173  ac_status=$?
     7174  grep -v '^ *+' conftest.er1 >conftest.err
     7175  rm -f conftest.er1
     7176  cat conftest.err >&5
     7177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7178  (exit $ac_status); } &&
     7179     { ac_try='test -z "$ac_cxx_werror_flag"
     7180             || test ! -s conftest.err'
     7181  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7182  (eval $ac_try) 2>&5
     7183  ac_status=$?
     7184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7185  (exit $ac_status); }; } &&
     7186     { ac_try='test -s conftest.$ac_objext'
     7187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7188  (eval $ac_try) 2>&5
     7189  ac_status=$?
     7190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7191  (exit $ac_status); }; }; then
    59857192  # It does; now see whether it defined to BIG_ENDIAN or not.
    5986      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7193cat >conftest.$ac_ext <<_ACEOF
     7194/* confdefs.h.  */
     7195_ACEOF
     7196cat confdefs.h >>conftest.$ac_ext
     7197cat >>conftest.$ac_ext <<_ACEOF
    59877198/* end confdefs.h.  */
    59887199#include <sys/types.h>
    5989         #include <sys/param.h>
     7200#include <sys/param.h>
    59907201
    59917202int
     
    59937204{
    59947205#if BYTE_ORDER != BIG_ENDIAN
    5995         not big endian
    5996         #endif
     7206 not big endian
     7207#endif
    59977208
    59987209  ;
     
    60007211}
    60017212_ACEOF
    6002 if ac_fn_cxx_try_compile "$LINENO"; then :
     7213rm -f conftest.$ac_objext
     7214if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7215  (eval $ac_compile) 2>conftest.er1
     7216  ac_status=$?
     7217  grep -v '^ *+' conftest.er1 >conftest.err
     7218  rm -f conftest.er1
     7219  cat conftest.err >&5
     7220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7221  (exit $ac_status); } &&
     7222     { ac_try='test -z "$ac_cxx_werror_flag"
     7223             || test ! -s conftest.err'
     7224  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7225  (eval $ac_try) 2>&5
     7226  ac_status=$?
     7227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7228  (exit $ac_status); }; } &&
     7229     { ac_try='test -s conftest.$ac_objext'
     7230  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7231  (eval $ac_try) 2>&5
     7232  ac_status=$?
     7233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7234  (exit $ac_status); }; }; then
    60037235  ac_cv_c_bigendian=yes
    60047236else
    6005   ac_cv_c_bigendian=no
    6006 fi
    6007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6008 fi
    6009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6010     fi
    6011     if test $ac_cv_c_bigendian = unknown; then
    6012       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    6013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7237  echo "$as_me: failed program was:" >&5
     7238sed 's/^/| /' conftest.$ac_ext >&5
     7239
     7240ac_cv_c_bigendian=no
     7241fi
     7242rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7243else
     7244  echo "$as_me: failed program was:" >&5
     7245sed 's/^/| /' conftest.$ac_ext >&5
     7246
     7247# It does not; compile a test program.
     7248if test "$cross_compiling" = yes; then
     7249  # try to guess the endianness by grepping values into an object file
     7250  ac_cv_c_bigendian=unknown
     7251  cat >conftest.$ac_ext <<_ACEOF
     7252/* confdefs.h.  */
     7253_ACEOF
     7254cat confdefs.h >>conftest.$ac_ext
     7255cat >>conftest.$ac_ext <<_ACEOF
    60147256/* end confdefs.h.  */
    6015 #include <limits.h>
    6016 
     7257short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7258short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7259void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
     7260short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7261short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7262void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    60177263int
    60187264main ()
    60197265{
    6020 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
    6021           bogus endian macros
    6022          #endif
    6023 
     7266 _ascii (); _ebcdic ();
    60247267  ;
    60257268  return 0;
    60267269}
    60277270_ACEOF
    6028 if ac_fn_cxx_try_compile "$LINENO"; then :
    6029   # It does; now see whether it defined to _BIG_ENDIAN or not.
    6030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7271rm -f conftest.$ac_objext
     7272if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7273  (eval $ac_compile) 2>conftest.er1
     7274  ac_status=$?
     7275  grep -v '^ *+' conftest.er1 >conftest.err
     7276  rm -f conftest.er1
     7277  cat conftest.err >&5
     7278  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7279  (exit $ac_status); } &&
     7280     { ac_try='test -z "$ac_cxx_werror_flag"
     7281             || test ! -s conftest.err'
     7282  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7283  (eval $ac_try) 2>&5
     7284  ac_status=$?
     7285  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7286  (exit $ac_status); }; } &&
     7287     { ac_try='test -s conftest.$ac_objext'
     7288  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7289  (eval $ac_try) 2>&5
     7290  ac_status=$?
     7291  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7292  (exit $ac_status); }; }; then
     7293  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     7294  ac_cv_c_bigendian=yes
     7295fi
     7296if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     7297  if test "$ac_cv_c_bigendian" = unknown; then
     7298    ac_cv_c_bigendian=no
     7299  else
     7300    # finding both strings is unlikely to happen, but who knows?
     7301    ac_cv_c_bigendian=unknown
     7302  fi
     7303fi
     7304else
     7305  echo "$as_me: failed program was:" >&5
     7306sed 's/^/| /' conftest.$ac_ext >&5
     7307
     7308fi
     7309rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7310else
     7311  cat >conftest.$ac_ext <<_ACEOF
     7312/* confdefs.h.  */
     7313_ACEOF
     7314cat confdefs.h >>conftest.$ac_ext
     7315cat >>conftest.$ac_ext <<_ACEOF
    60317316/* end confdefs.h.  */
    6032 #include <limits.h>
    6033 
    60347317int
    60357318main ()
    60367319{
    6037 #ifndef _BIG_ENDIAN
    6038          not big endian
    6039         #endif
    6040 
    6041   ;
    6042   return 0;
     7320  /* Are we little or big endian?  From Harbison&Steele.  */
     7321  union
     7322  {
     7323    long l;
     7324    char c[sizeof (long)];
     7325  } u;
     7326  u.l = 1;
     7327  exit (u.c[sizeof (long) - 1] == 1);
    60437328}
    60447329_ACEOF
    6045 if ac_fn_cxx_try_compile "$LINENO"; then :
    6046   ac_cv_c_bigendian=yes
    6047 else
     7330rm -f conftest$ac_exeext
     7331if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7332  (eval $ac_link) 2>&5
     7333  ac_status=$?
     7334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7335  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     7336  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7337  (eval $ac_try) 2>&5
     7338  ac_status=$?
     7339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7340  (exit $ac_status); }; }; then
    60487341  ac_cv_c_bigendian=no
    6049 fi
    6050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6051 fi
    6052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6053     fi
    6054     if test $ac_cv_c_bigendian = unknown; then
    6055       # Compile a test program.
    6056       if test "$cross_compiling" = yes; then :
    6057   # Try to guess by grepping values from an object file.
    6058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6059 /* end confdefs.h.  */
    6060 short int ascii_mm[] =
    6061           { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    6062         short int ascii_ii[] =
    6063           { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    6064         int use_ascii (int i) {
    6065           return ascii_mm[i] + ascii_ii[i];
    6066         }
    6067         short int ebcdic_ii[] =
    6068           { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    6069         short int ebcdic_mm[] =
    6070           { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    6071         int use_ebcdic (int i) {
    6072           return ebcdic_mm[i] + ebcdic_ii[i];
    6073         }
    6074         extern int foo;
    6075 
    6076 int
    6077 main ()
    6078 {
    6079 return use_ascii (foo) == use_ebcdic (foo);
    6080   ;
    6081   return 0;
    6082 }
    6083 _ACEOF
    6084 if ac_fn_cxx_try_compile "$LINENO"; then :
    6085   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    6086           ac_cv_c_bigendian=yes
    6087         fi
    6088         if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    6089           if test "$ac_cv_c_bigendian" = unknown; then
    6090         ac_cv_c_bigendian=no
    6091           else
    6092         # finding both strings is unlikely to happen, but who knows?
    6093         ac_cv_c_bigendian=unknown
    6094           fi
    6095         fi
    6096 fi
    6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6098 else
    6099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6100 /* end confdefs.h.  */
    6101 $ac_includes_default
    6102 int
    6103 main ()
    6104 {
    6105 
    6106          /* Are we little or big endian?  From Harbison&Steele.  */
    6107          union
    6108          {
    6109            long int l;
    6110            char c[sizeof (long int)];
    6111          } u;
    6112          u.l = 1;
    6113          return u.c[sizeof (long int) - 1] == 1;
    6114 
    6115   ;
    6116   return 0;
    6117 }
    6118 _ACEOF
    6119 if ac_fn_cxx_try_run "$LINENO"; then :
    6120   ac_cv_c_bigendian=no
    6121 else
    6122   ac_cv_c_bigendian=yes
    6123 fi
    6124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    6125   conftest.$ac_objext conftest.beam conftest.$ac_ext
    6126 fi
    6127 
    6128     fi
    6129 fi
    6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    6131 $as_echo "$ac_cv_c_bigendian" >&6; }
    6132  case $ac_cv_c_bigendian in #(
    6133    yes)
    6134      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    6135 ;; #(
    6136    no)
    6137       ;; #(
    6138    universal)
    6139 
    6140 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    6141 
    6142      ;; #(
    6143    *)
    6144      as_fn_error $? "unknown endianness
    6145  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
    6146  esac
     7342else
     7343  echo "$as_me: program exited with status $ac_status" >&5
     7344echo "$as_me: failed program was:" >&5
     7345sed 's/^/| /' conftest.$ac_ext >&5
     7346
     7347( exit $ac_status )
     7348ac_cv_c_bigendian=yes
     7349fi
     7350rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7351fi
     7352fi
     7353rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7354fi
     7355echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7356echo "${ECHO_T}$ac_cv_c_bigendian" >&6
     7357case $ac_cv_c_bigendian in
     7358  yes)
     7359
     7360cat >>confdefs.h <<\_ACEOF
     7361#define WORDS_BIGENDIAN 1
     7362_ACEOF
     7363 ;;
     7364  no)
     7365     ;;
     7366  *)
     7367    { { echo "$as_me:$LINENO: error: unknown endianness
     7368presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     7369echo "$as_me: error: unknown endianness
     7370presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     7371   { (exit 1); exit 1; }; } ;;
     7372esac
    61477373
    61487374# ---------------------------------------------------------------------------
    61497375if test "$ac_cv_func_alloca" = 'no'; then
    6150   case " $LIBOBJS " in
     7376  case $LIBOBJS in
     7377    "xmalloc.o.$ac_objext"   | \
     7378  *" xmalloc.o.$ac_objext"   | \
     7379    "xmalloc.o.$ac_objext "* | \
    61517380  *" xmalloc.o.$ac_objext "* ) ;;
    6152   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
    6153  ;;
     7381  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    61547382esac
    61557383
    6156   case " $LIBOBJS " in
     7384  case $LIBOBJS in
     7385    "error.$ac_objext"   | \
     7386  *" error.$ac_objext"   | \
     7387    "error.$ac_objext "* | \
    61577388  *" error.$ac_objext "* ) ;;
    6158   *) LIBOBJS="$LIBOBJS error.$ac_objext"
    6159  ;;
     7389  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
    61607390esac
    61617391
     
    61907420subdirs="$subdirs common-src"
    61917421
     7422
     7423
    61927424subdirs="$subdirs build-src"
    61937425
     
    61987430
    61997431if test -d runtime-src; then
    6200    subdirs="$subdirs runtime-src"
     7432
     7433
     7434subdirs="$subdirs runtime-src"
    62017435
    62027436   srclist="$srclist \
     
    62047438fi
    62057439
    6206 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
    6207 
     7440                              ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
    62087441cat >confcache <<\_ACEOF
    62097442# This file is a shell script that caches the results of configure
     
    62247457# The following way of writing the cache mishandles newlines in values,
    62257458# but we know of no workaround that is simple, portable, and efficient.
    6226 # So, we kill variables containing newlines.
     7459# So, don't put newlines in cache variables' values.
    62277460# Ultrix sh set writes to stderr and can't be redirected directly,
    62287461# and sets the high bit in the cache file unless we assign to the vars.
    6229 (
    6230   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    6231     eval ac_val=\$$ac_var
    6232     case $ac_val in #(
    6233     *${as_nl}*)
    6234       case $ac_var in #(
    6235       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    6236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    6237       esac
    6238       case $ac_var in #(
    6239       _ | IFS | as_nl) ;; #(
    6240       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    6241       *) { eval $ac_var=; unset $ac_var;} ;;
    6242       esac ;;
    6243     esac
    6244   done
    6245 
     7462{
    62467463  (set) 2>&1 |
    6247     case $as_nl`(ac_space=' '; set) 2>&1` in #(
    6248     *${as_nl}ac_space=\ *)
    6249       # `set' does not quote correctly, so add quotes: double-quote
    6250       # substitution turns \\\\ into \\, and sed turns \\ into \.
     7464    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     7465    *ac_space=\ *)
     7466      # `set' does not quote correctly, so add quotes (double-quote
     7467      # substitution turns \\\\ into \\, and sed turns \\ into \).
    62517468      sed -n \
    62527469    "s/'/'\\\\''/g;
    62537470      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    6254       ;; #(
     7471      ;;
    62557472    *)
    62567473      # `set' quotes correctly as required by POSIX, so do not add quotes.
    6257       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     7474      sed -n \
     7475    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    62587476      ;;
    6259     esac |
    6260     sort
    6261 ) |
     7477    esac;
     7478} |
    62627479  sed '
    6263      /^ac_cv_env_/b end
    62647480     t clear
    6265      :clear
     7481     : clear
    62667482     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    62677483     t end
    6268      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    6269      :end' >>confcache
    6270 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    6271   if test -w "$cache_file"; then
    6272     test "x$cache_file" != "x/dev/null" &&
    6273       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    6274 $as_echo "$as_me: updating cache $cache_file" >&6;}
     7484     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     7485     : end' >>confcache
     7486if diff $cache_file confcache >/dev/null 2>&1; then :; else
     7487  if test -w $cache_file; then
     7488    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    62757489    cat confcache >$cache_file
    62767490  else
    6277     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    6278 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     7491    echo "not updating unwritable cache $cache_file"
    62797492  fi
    62807493fi
     
    62857498test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    62867499
     7500# VPATH may cause trouble with some makes, so we remove $(srcdir),
     7501# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     7502# trailing colons and then remove the whole line if VPATH becomes empty
     7503# (actually we leave an empty line to preserve line numbers).
     7504if test "x$srcdir" = x.; then
     7505  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     7506s/:*\$(srcdir):*/:/;
     7507s/:*\${srcdir}:*/:/;
     7508s/:*@srcdir@:*/:/;
     7509s/^\([^=]*=[     ]*\):*/\1/;
     7510s/:*$//;
     7511s/^[^=]*=[   ]*$//;
     7512}'
     7513fi
     7514
    62877515DEFS=-DHAVE_CONFIG_H
    62887516
    62897517ac_libobjs=
    62907518ac_ltlibobjs=
    6291 U=
    62927519for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    62937520  # 1. Remove the extension, and $U if already installed.
    6294   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    6295   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
    6296   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    6297   #    will be set to the directory where LIBOBJS objects are built.
    6298   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    6299   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     7521  ac_i=`echo "$ac_i" |
     7522     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     7523  # 2. Add them.
     7524  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     7525  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    63007526done
    63017527LIBOBJS=$ac_libobjs
     
    63057531
    63067532
    6307 
    63087533: ${CONFIG_STATUS=./config.status}
    6309 ac_write_fail=0
    63107534ac_clean_files_save=$ac_clean_files
    63117535ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    6312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    6313 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    6314 as_write_fail=0
    6315 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     7536{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     7537echo "$as_me: creating $CONFIG_STATUS" >&6;}
     7538cat >$CONFIG_STATUS <<_ACEOF
    63167539#! $SHELL
    63177540# Generated by $as_me.
     
    63237546ac_cs_recheck=false
    63247547ac_cs_silent=false
    6325 
    63267548SHELL=\${CONFIG_SHELL-$SHELL}
    6327 export SHELL
    6328 _ASEOF
    6329 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
    6330 ## -------------------- ##
    6331 ## M4sh Initialization. ##
    6332 ## -------------------- ##
    6333 
    6334 # Be more Bourne compatible
    6335 DUALCASE=1; export DUALCASE # for MKS sh
    6336 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     7549_ACEOF
     7550
     7551cat >>$CONFIG_STATUS <<\_ACEOF
     7552## --------------------- ##
     7553## M4sh Initialization.  ##
     7554## --------------------- ##
     7555
     7556# Be Bourne compatible
     7557if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    63377558  emulate sh
    63387559  NULLCMD=:
    6339   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     7560  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    63407561  # is contrary to our usage.  Disable this feature.
    63417562  alias -g '${1+"$@"}'='"$@"'
    6342   setopt NO_GLOB_SUBST
    6343 else
    6344   case `(set -o) 2>/dev/null` in #(
    6345   *posix*) :
    6346     set -o posix ;; #(
    6347   *) :
    6348      ;;
    6349 esac
    6350 fi
    6351 
    6352 
    6353 as_nl='
    6354 '
    6355 export as_nl
    6356 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    6357 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    6358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    6359 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    6360 # Prefer a ksh shell builtin over an external printf program on Solaris,
    6361 # but without wasting forks for bash or zsh.
    6362 if test -z "$BASH_VERSION$ZSH_VERSION" \
    6363     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    6364   as_echo='print -r --'
    6365   as_echo_n='print -rn --'
    6366 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    6367   as_echo='printf %s\n'
    6368   as_echo_n='printf %s'
    6369 else
    6370   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    6371     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    6372     as_echo_n='/usr/ucb/echo -n'
    6373   else
    6374     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    6375     as_echo_n_body='eval
    6376       arg=$1;
    6377       case $arg in #(
    6378       *"$as_nl"*)
    6379     expr "X$arg" : "X\\(.*\\)$as_nl";
    6380     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    6381       esac;
    6382       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    6383     '
    6384     export as_echo_n_body
    6385     as_echo_n='sh -c $as_echo_n_body as_echo'
    6386   fi
    6387   export as_echo_body
    6388   as_echo='sh -c $as_echo_body as_echo'
    6389 fi
    6390 
    6391 # The user is always right.
    6392 if test "${PATH_SEPARATOR+set}" != set; then
    6393   PATH_SEPARATOR=:
    6394   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    6395     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    6396       PATH_SEPARATOR=';'
    6397   }
    6398 fi
    6399 
    6400 
    6401 # IFS
    6402 # We need space, tab and new line, in precisely that order.  Quoting is
    6403 # there to prevent editors from complaining about space-tab.
    6404 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    6405 # splitting by setting IFS to empty value.)
    6406 IFS=" ""    $as_nl"
    6407 
    6408 # Find who we are.  Look in the path if we contain no directory separator.
    6409 case $0 in #((
    6410   *[\\/]* ) as_myself=$0 ;;
    6411   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6412 for as_dir in $PATH
    6413 do
    6414   IFS=$as_save_IFS
    6415   test -z "$as_dir" && as_dir=.
    6416     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    6417   done
    6418 IFS=$as_save_IFS
    6419 
    6420      ;;
    6421 esac
    6422 # We did not find ourselves, most probably we were run as `sh COMMAND'
    6423 # in which case we are not to be found in the path.
    6424 if test "x$as_myself" = x; then
    6425   as_myself=$0
    6426 fi
    6427 if test ! -f "$as_myself"; then
    6428   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    6429   exit 1
    6430 fi
    6431 
    6432 # Unset variables that we do not need and which cause bugs (e.g. in
    6433 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    6434 # suppresses any "Segmentation fault" message there.  '((' could
    6435 # trigger a bug in pdksh 5.2.14.
    6436 for as_var in BASH_ENV ENV MAIL MAILPATH
    6437 do eval test x\${$as_var+set} = xset \
    6438   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    6439 done
     7563elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     7564  set -o posix
     7565fi
     7566DUALCASE=1; export DUALCASE # for MKS sh
     7567
     7568# Support unset when possible.
     7569if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7570  as_unset=unset
     7571else
     7572  as_unset=false
     7573fi
     7574
     7575
     7576# Work around bugs in pre-3.0 UWIN ksh.
     7577$as_unset ENV MAIL MAILPATH
    64407578PS1='$ '
    64417579PS2='> '
     
    64437581
    64447582# NLS nuisances.
    6445 LC_ALL=C
    6446 export LC_ALL
    6447 LANGUAGE=C
    6448 export LANGUAGE
    6449 
    6450 # CDPATH.
    6451 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    6452 
    6453 
    6454 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    6455 # ----------------------------------------
    6456 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    6457 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    6458 # script with STATUS, using 1 if that was 0.
    6459 as_fn_error ()
    6460 {
    6461   as_status=$1; test $as_status -eq 0 && as_status=1
    6462   if test "$4"; then
    6463     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    6464     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     7583for as_var in \
     7584  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     7585  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     7586  LC_TELEPHONE LC_TIME
     7587do
     7588  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7589    eval $as_var=C; export $as_var
     7590  else
     7591    $as_unset $as_var
    64657592  fi
    6466   $as_echo "$as_me: error: $2" >&2
    6467   as_fn_exit $as_status
    6468 } # as_fn_error
    6469 
    6470 
    6471 # as_fn_set_status STATUS
    6472 # -----------------------
    6473 # Set $? to STATUS, without forking.
    6474 as_fn_set_status ()
    6475 {
    6476   return $1
    6477 } # as_fn_set_status
    6478 
    6479 # as_fn_exit STATUS
    6480 # -----------------
    6481 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    6482 as_fn_exit ()
    6483 {
    6484   set +e
    6485   as_fn_set_status $1
    6486   exit $1
    6487 } # as_fn_exit
    6488 
    6489 # as_fn_unset VAR
    6490 # ---------------
    6491 # Portably unset VAR.
    6492 as_fn_unset ()
    6493 {
    6494   { eval $1=; unset $1;}
    6495 }
    6496 as_unset=as_fn_unset
    6497 # as_fn_append VAR VALUE
    6498 # ----------------------
    6499 # Append the text in VALUE to the end of the definition contained in VAR. Take
    6500 # advantage of any shell optimizations that allow amortized linear growth over
    6501 # repeated appends, instead of the typical quadratic growth present in naive
    6502 # implementations.
    6503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    6504   eval 'as_fn_append ()
    6505   {
    6506     eval $1+=\$2
    6507   }'
    6508 else
    6509   as_fn_append ()
    6510   {
    6511     eval $1=\$$1\$2
    6512   }
    6513 fi # as_fn_append
    6514 
    6515 # as_fn_arith ARG...
    6516 # ------------------
    6517 # Perform arithmetic evaluation on the ARGs, and store the result in the
    6518 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    6519 # must be portable across $(()) and expr.
    6520 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    6521   eval 'as_fn_arith ()
    6522   {
    6523     as_val=$(( $* ))
    6524   }'
    6525 else
    6526   as_fn_arith ()
    6527   {
    6528     as_val=`expr "$@" || test $? -eq 1`
    6529   }
    6530 fi # as_fn_arith
    6531 
    6532 
    6533 if expr a : '\(a\)' >/dev/null 2>&1 &&
    6534    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     7593done
     7594
     7595# Required to use basename.
     7596if expr a : '\(a\)' >/dev/null 2>&1; then
    65357597  as_expr=expr
    65367598else
     
    65387600fi
    65397601
    6540 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     7602if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    65417603  as_basename=basename
    65427604else
     
    65447606fi
    65457607
    6546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    6547   as_dirname=dirname
    6548 else
    6549   as_dirname=false
    6550 fi
    6551 
    6552 as_me=`$as_basename -- "$0" ||
     7608
     7609# Name of the executable.
     7610as_me=`$as_basename "$0" ||
    65537611$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    65547612     X"$0" : 'X\(//\)$' \| \
    6555      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    6556 $as_echo X/"$0" |
    6557     sed '/^.*\/\([^/][^/]*\)\/*$/{
    6558         s//\1/
    6559         q
    6560       }
    6561       /^X\/\(\/\/\)$/{
    6562         s//\1/
    6563         q
    6564       }
    6565       /^X\/\(\/\).*/{
    6566         s//\1/
    6567         q
    6568       }
    6569       s/.*/./; q'`
    6570 
     7613     X"$0" : 'X\(/\)$' \| \
     7614     .     : '\(.\)' 2>/dev/null ||
     7615echo X/"$0" |
     7616    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     7617      /^X\/\(\/\/\)$/{ s//\1/; q; }
     7618      /^X\/\(\/\).*/{ s//\1/; q; }
     7619      s/.*/./; q'`
     7620
     7621
     7622# PATH needs CR, and LINENO needs CR and PATH.
    65717623# Avoid depending upon Character Ranges.
    65727624as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    65767628as_cr_alnum=$as_cr_Letters$as_cr_digits
    65777629
    6578 ECHO_C= ECHO_N= ECHO_T=
    6579 case `echo -n x` in #(((((
    6580 -n*)
    6581   case `echo 'xy\c'` in
    6582   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    6583   xy)  ECHO_C='\c';;
    6584   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    6585        ECHO_T=' ';;
    6586   esac;;
    6587 *)
    6588   ECHO_N='-n';;
     7630# The user is always right.
     7631if test "${PATH_SEPARATOR+set}" != set; then
     7632  echo "#! /bin/sh" >conf$$.sh
     7633  echo  "exit 0"   >>conf$$.sh
     7634  chmod +x conf$$.sh
     7635  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     7636    PATH_SEPARATOR=';'
     7637  else
     7638    PATH_SEPARATOR=:
     7639  fi
     7640  rm -f conf$$.sh
     7641fi
     7642
     7643
     7644  as_lineno_1=$LINENO
     7645  as_lineno_2=$LINENO
     7646  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     7647  test "x$as_lineno_1" != "x$as_lineno_2" &&
     7648  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     7649  # Find who we are.  Look in the path if we contain no path at all
     7650  # relative or not.
     7651  case $0 in
     7652    *[\\/]* ) as_myself=$0 ;;
     7653    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7654for as_dir in $PATH
     7655do
     7656  IFS=$as_save_IFS
     7657  test -z "$as_dir" && as_dir=.
     7658  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     7659done
     7660
     7661       ;;
     7662  esac
     7663  # We did not find ourselves, most probably we were run as `sh COMMAND'
     7664  # in which case we are not to be found in the path.
     7665  if test "x$as_myself" = x; then
     7666    as_myself=$0
     7667  fi
     7668  if test ! -f "$as_myself"; then
     7669    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     7670echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     7671   { (exit 1); exit 1; }; }
     7672  fi
     7673  case $CONFIG_SHELL in
     7674  '')
     7675    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7676for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     7677do
     7678  IFS=$as_save_IFS
     7679  test -z "$as_dir" && as_dir=.
     7680  for as_base in sh bash ksh sh5; do
     7681     case $as_dir in
     7682     /*)
     7683       if ("$as_dir/$as_base" -c '
     7684  as_lineno_1=$LINENO
     7685  as_lineno_2=$LINENO
     7686  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     7687  test "x$as_lineno_1" != "x$as_lineno_2" &&
     7688  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     7689         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     7690         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     7691         CONFIG_SHELL=$as_dir/$as_base
     7692         export CONFIG_SHELL
     7693         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     7694       fi;;
     7695     esac
     7696       done
     7697done
     7698;;
     7699  esac
     7700
     7701  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     7702  # uniformly replaced by the line number.  The first 'sed' inserts a
     7703  # line-number line before each line; the second 'sed' does the real
     7704  # work.  The second script uses 'N' to pair each line-number line
     7705  # with the numbered line, and appends trailing '-' during
     7706  # substitution so that $LINENO is not a special case at line end.
     7707  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     7708  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     7709  sed '=' <$as_myself |
     7710    sed '
     7711      N
     7712      s,$,-,
     7713      : loop
     7714      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     7715      t loop
     7716      s,-$,,
     7717      s,^['$as_cr_digits']*\n,,
     7718    ' >$as_me.lineno &&
     7719  chmod +x $as_me.lineno ||
     7720    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     7721echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     7722   { (exit 1); exit 1; }; }
     7723
     7724  # Don't try to exec as it changes $[0], causing all sort of problems
     7725  # (the dirname of $[0] is not the place where we might find the
     7726  # original and so on.  Autoconf is especially sensible to this).
     7727  . ./$as_me.lineno
     7728  # Exit status is that of the last command.
     7729  exit
     7730}
     7731
     7732
     7733case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     7734  *c*,-n*) ECHO_N= ECHO_C='
     7735' ECHO_T='  ' ;;
     7736  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     7737  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    65897738esac
    65907739
     7740if expr a : '\(a\)' >/dev/null 2>&1; then
     7741  as_expr=expr
     7742else
     7743  as_expr=false
     7744fi
     7745
    65917746rm -f conf$$ conf$$.exe conf$$.file
    6592 if test -d conf$$.dir; then
    6593   rm -f conf$$.dir/conf$$.file
    6594 else
    6595   rm -f conf$$.dir
    6596   mkdir conf$$.dir 2>/dev/null
    6597 fi
    6598 if (echo >conf$$.file) 2>/dev/null; then
    6599   if ln -s conf$$.file conf$$ 2>/dev/null; then
     7747echo >conf$$.file
     7748if ln -s conf$$.file conf$$ 2>/dev/null; then
     7749  # We could just check for DJGPP; but this test a) works b) is more generic
     7750  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     7751  if test -f conf$$.exe; then
     7752    # Don't use ln at all; we don't have any links
     7753    as_ln_s='cp -p'
     7754  else
    66007755    as_ln_s='ln -s'
    6601     # ... but there are two gotchas:
    6602     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    6603     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    6604     # In both cases, we have to default to `cp -p'.
    6605     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    6606       as_ln_s='cp -p'
    6607   elif ln conf$$.file conf$$ 2>/dev/null; then
    6608     as_ln_s=ln
    6609   else
    6610     as_ln_s='cp -p'
    66117756  fi
     7757elif ln conf$$.file conf$$ 2>/dev/null; then
     7758  as_ln_s=ln
    66127759else
    66137760  as_ln_s='cp -p'
    66147761fi
    6615 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    6616 rmdir conf$$.dir 2>/dev/null
    6617 
    6618 
    6619 # as_fn_mkdir_p
    6620 # -------------
    6621 # Create "$as_dir" as a directory, including parents if necessary.
    6622 as_fn_mkdir_p ()
    6623 {
    6624 
    6625   case $as_dir in #(
    6626   -*) as_dir=./$as_dir;;
    6627   esac
    6628   test -d "$as_dir" || eval $as_mkdir_p || {
    6629     as_dirs=
    6630     while :; do
    6631       case $as_dir in #(
    6632       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    6633       *) as_qdir=$as_dir;;
    6634       esac
    6635       as_dirs="'$as_qdir' $as_dirs"
    6636       as_dir=`$as_dirname -- "$as_dir" ||
    6637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6638      X"$as_dir" : 'X\(//\)[^/]' \| \
    6639      X"$as_dir" : 'X\(//\)$' \| \
    6640      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    6641 $as_echo X"$as_dir" |
    6642     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    6643         s//\1/
    6644         q
    6645       }
    6646       /^X\(\/\/\)[^/].*/{
    6647         s//\1/
    6648         q
    6649       }
    6650       /^X\(\/\/\)$/{
    6651         s//\1/
    6652         q
    6653       }
    6654       /^X\(\/\).*/{
    6655         s//\1/
    6656         q
    6657       }
    6658       s/.*/./; q'`
    6659       test -d "$as_dir" && break
    6660     done
    6661     test -z "$as_dirs" || eval "mkdir $as_dirs"
    6662   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    6663 
    6664 
    6665 } # as_fn_mkdir_p
     7762rm -f conf$$ conf$$.exe conf$$.file
     7763
    66667764if mkdir -p . 2>/dev/null; then
    6667   as_mkdir_p='mkdir -p "$as_dir"'
     7765  as_mkdir_p=:
    66687766else
    66697767  test -d ./-p && rmdir ./-p
     
    66717769fi
    66727770
    6673 if test -x / >/dev/null 2>&1; then
    6674   as_test_x='test -x'
    6675 else
    6676   if ls -dL / >/dev/null 2>&1; then
    6677     as_ls_L_option=L
    6678   else
    6679     as_ls_L_option=
    6680   fi
    6681   as_test_x='
    6682     eval sh -c '\''
    6683       if test -d "$1"; then
    6684     test -d "$1/.";
    6685       else
    6686     case $1 in #(
    6687     -*)set "./$1";;
    6688     esac;
    6689     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    6690     ???[sx]*):;;*)false;;esac;fi
    6691     '\'' sh
    6692   '
    6693 fi
    6694 as_executable_p=$as_test_x
     7771as_executable_p="test -f"
    66957772
    66967773# Sed expression to map a string onto a valid CPP name.
     
    67017778
    67027779
     7780# IFS
     7781# We need space, tab and new line, in precisely that order.
     7782as_nl='
     7783'
     7784IFS="   $as_nl"
     7785
     7786# CDPATH.
     7787$as_unset CDPATH
     7788
    67037789exec 6>&1
    6704 ## ----------------------------------- ##
    6705 ## Main body of $CONFIG_STATUS script. ##
    6706 ## ----------------------------------- ##
    6707 _ASEOF
    6708 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
    6709 
    6710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    6711 # Save the log message, to keep $0 and so on meaningful, and to
     7790
     7791# Open the log real soon, to keep \$[0] and so on meaningful, and to
    67127792# report actual input values of CONFIG_FILES etc. instead of their
    6713 # values after options handling.
    6714 ac_log="
    6715 This file was extended by $as_me, which was
    6716 generated by GNU Autoconf 2.67.  Invocation command line was
    6717 
    6718   CONFIG_FILES    = $CONFIG_FILES
    6719   CONFIG_HEADERS  = $CONFIG_HEADERS
    6720   CONFIG_LINKS    = $CONFIG_LINKS
    6721   CONFIG_COMMANDS = $CONFIG_COMMANDS
    6722   $ $0 $@
    6723 
    6724 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    6725 "
    6726 
    6727 _ACEOF
    6728 
    6729 case $ac_config_files in *"
    6730 "*) set x $ac_config_files; shift; ac_config_files=$*;;
    6731 esac
    6732 
    6733 case $ac_config_headers in *"
    6734 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
    6735 esac
    6736 
    6737 
    6738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    6739 # Files that config.status was made for.
    6740 config_files="$ac_config_files"
    6741 config_headers="$ac_config_headers"
    6742 
    6743 _ACEOF
    6744 
    6745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    6746 ac_cs_usage="\
    6747 \`$as_me' instantiates files and other configuration actions
    6748 from templates according to the current configuration.  Unless the files
    6749 and actions are specified as TAGs, all are instantiated by default.
    6750 
    6751 Usage: $0 [OPTION]... [TAG]...
    6752 
    6753   -h, --help       print this help, then exit
    6754   -V, --version    print version number and configuration settings, then exit
    6755       --config     print configuration, then exit
    6756   -q, --quiet, --silent
    6757                    do not print progress messages
    6758   -d, --debug      don't remove temporary files
    6759       --recheck    update $as_me by reconfiguring in the same conditions
    6760       --file=FILE[:TEMPLATE]
    6761                    instantiate the configuration file FILE
    6762       --header=FILE[:TEMPLATE]
    6763                    instantiate the configuration header FILE
    6764 
    6765 Configuration files:
    6766 $config_files
    6767 
    6768 Configuration headers:
    6769 $config_headers
    6770 
    6771 Report bugs to the package provider."
    6772 
    6773 _ACEOF
    6774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    6775 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    6776 ac_cs_version="\\
    6777 config.status
    6778 configured by $0, generated by GNU Autoconf 2.67,
    6779   with options \\"\$ac_cs_config\\"
    6780 
    6781 Copyright (C) 2010 Free Software Foundation, Inc.
    6782 This config.status script is free software; the Free Software Foundation
    6783 gives unlimited permission to copy, distribute and modify it."
    6784 
    6785 ac_pwd='$ac_pwd'
    6786 srcdir='$srcdir'
    6787 INSTALL='$INSTALL'
    6788 AWK='$AWK'
    6789 test -n "\$AWK" || AWK=awk
    6790 _ACEOF
    6791 
    6792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    6793 # The default lists apply if the user does not specify any file.
    6794 ac_need_defaults=:
    6795 while test $# != 0
    6796 do
    6797   case $1 in
    6798   --*=?*)
    6799     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    6800     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    6801     ac_shift=:
    6802     ;;
    6803   --*=)
    6804     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    6805     ac_optarg=
    6806     ac_shift=:
    6807     ;;
    6808   *)
    6809     ac_option=$1
    6810     ac_optarg=$2
    6811     ac_shift=shift
    6812     ;;
    6813   esac
    6814 
    6815   case $ac_option in
    6816   # Handling of the options.
    6817   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    6818     ac_cs_recheck=: ;;
    6819   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    6820     $as_echo "$ac_cs_version"; exit ;;
    6821   --config | --confi | --conf | --con | --co | --c )
    6822     $as_echo "$ac_cs_config"; exit ;;
    6823   --debug | --debu | --deb | --de | --d | -d )
    6824     debug=: ;;
    6825   --file | --fil | --fi | --f )
    6826     $ac_shift
    6827     case $ac_optarg in
    6828     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    6829     '') as_fn_error $? "missing file argument" ;;
    6830     esac
    6831     as_fn_append CONFIG_FILES " '$ac_optarg'"
    6832     ac_need_defaults=false;;
    6833   --header | --heade | --head | --hea )
    6834     $ac_shift
    6835     case $ac_optarg in
    6836     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    6837     esac
    6838     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    6839     ac_need_defaults=false;;
    6840   --he | --h)
    6841     # Conflict between --help and --header
    6842     as_fn_error $? "ambiguous option: \`$1'
    6843 Try \`$0 --help' for more information.";;
    6844   --help | --hel | -h )
    6845     $as_echo "$ac_cs_usage"; exit ;;
    6846   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    6847   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    6848     ac_cs_silent=: ;;
    6849 
    6850   # This is an error.
    6851   -*) as_fn_error $? "unrecognized option: \`$1'
    6852 Try \`$0 --help' for more information." ;;
    6853 
    6854   *) as_fn_append ac_config_targets " $1"
    6855      ac_need_defaults=false ;;
    6856 
    6857   esac
    6858   shift
    6859 done
    6860 
    6861 ac_configure_extra_args=
    6862 
    6863 if $ac_cs_silent; then
    6864   exec 6>/dev/null
    6865   ac_configure_extra_args="$ac_configure_extra_args --silent"
    6866 fi
    6867 
    6868 _ACEOF
    6869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    6870 if \$ac_cs_recheck; then
    6871   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    6872   shift
    6873   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
    6874   CONFIG_SHELL='$SHELL'
    6875   export CONFIG_SHELL
    6876   exec "\$@"
    6877 fi
    6878 
    6879 _ACEOF
    6880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7793# values after options handling.  Logging --version etc. is OK.
    68817794exec 5>>config.log
    68827795{
     
    68857798## Running $as_me. ##
    68867799_ASBOX
    6887   $as_echo "$ac_log"
    68887800} >&5
    6889 
    6890 _ACEOF
    6891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    6892 _ACEOF
    6893 
    6894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    6895 
    6896 # Handling of arguments.
     7801cat >&5 <<_CSEOF
     7802
     7803This file was extended by $as_me, which was
     7804generated by GNU Autoconf 2.59.  Invocation command line was
     7805
     7806  CONFIG_FILES    = $CONFIG_FILES
     7807  CONFIG_HEADERS  = $CONFIG_HEADERS
     7808  CONFIG_LINKS    = $CONFIG_LINKS
     7809  CONFIG_COMMANDS = $CONFIG_COMMANDS
     7810  $ $0 $@
     7811
     7812_CSEOF
     7813echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     7814echo >&5
     7815_ACEOF
     7816
     7817# Files that config.status was made for.
     7818if test -n "$ac_config_files"; then
     7819  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     7820fi
     7821
     7822if test -n "$ac_config_headers"; then
     7823  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     7824fi
     7825
     7826if test -n "$ac_config_links"; then
     7827  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     7828fi
     7829
     7830if test -n "$ac_config_commands"; then
     7831  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     7832fi
     7833
     7834cat >>$CONFIG_STATUS <<\_ACEOF
     7835
     7836ac_cs_usage="\
     7837\`$as_me' instantiates files from templates according to the
     7838current configuration.
     7839
     7840Usage: $0 [OPTIONS] [FILE]...
     7841
     7842  -h, --help       print this help, then exit
     7843  -V, --version    print version number, then exit
     7844  -q, --quiet      do not print progress messages
     7845  -d, --debug      don't remove temporary files
     7846      --recheck    update $as_me by reconfiguring in the same conditions
     7847  --file=FILE[:TEMPLATE]
     7848           instantiate the configuration file FILE
     7849  --header=FILE[:TEMPLATE]
     7850           instantiate the configuration header FILE
     7851
     7852Configuration files:
     7853$config_files
     7854
     7855Configuration headers:
     7856$config_headers
     7857
     7858Report bugs to <[email protected]>."
     7859_ACEOF
     7860
     7861cat >>$CONFIG_STATUS <<_ACEOF
     7862ac_cs_version="\\
     7863config.status
     7864configured by $0, generated by GNU Autoconf 2.59,
     7865  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     7866
     7867Copyright (C) 2003 Free Software Foundation, Inc.
     7868This config.status script is free software; the Free Software Foundation
     7869gives unlimited permission to copy, distribute and modify it."
     7870srcdir=$srcdir
     7871INSTALL="$INSTALL"
     7872_ACEOF
     7873
     7874cat >>$CONFIG_STATUS <<\_ACEOF
     7875# If no file are specified by the user, then we need to provide default
     7876# value.  By we need to know if files were specified by the user.
     7877ac_need_defaults=:
     7878while test $# != 0
     7879do
     7880  case $1 in
     7881  --*=*)
     7882    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     7883    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     7884    ac_shift=:
     7885    ;;
     7886  -*)
     7887    ac_option=$1
     7888    ac_optarg=$2
     7889    ac_shift=shift
     7890    ;;
     7891  *) # This is not an option, so the user has probably given explicit
     7892     # arguments.
     7893     ac_option=$1
     7894     ac_need_defaults=false;;
     7895  esac
     7896
     7897  case $ac_option in
     7898  # Handling of the options.
     7899_ACEOF
     7900cat >>$CONFIG_STATUS <<\_ACEOF
     7901  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     7902    ac_cs_recheck=: ;;
     7903  --version | --vers* | -V )
     7904    echo "$ac_cs_version"; exit 0 ;;
     7905  --he | --h)
     7906    # Conflict between --help and --header
     7907    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     7908Try \`$0 --help' for more information." >&5
     7909echo "$as_me: error: ambiguous option: $1
     7910Try \`$0 --help' for more information." >&2;}
     7911   { (exit 1); exit 1; }; };;
     7912  --help | --hel | -h )
     7913    echo "$ac_cs_usage"; exit 0 ;;
     7914  --debug | --d* | -d )
     7915    debug=: ;;
     7916  --file | --fil | --fi | --f )
     7917    $ac_shift
     7918    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     7919    ac_need_defaults=false;;
     7920  --header | --heade | --head | --hea )
     7921    $ac_shift
     7922    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     7923    ac_need_defaults=false;;
     7924  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     7925  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     7926    ac_cs_silent=: ;;
     7927
     7928  # This is an error.
     7929  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     7930Try \`$0 --help' for more information." >&5
     7931echo "$as_me: error: unrecognized option: $1
     7932Try \`$0 --help' for more information." >&2;}
     7933   { (exit 1); exit 1; }; } ;;
     7934
     7935  *) ac_config_targets="$ac_config_targets $1" ;;
     7936
     7937  esac
     7938  shift
     7939done
     7940
     7941ac_configure_extra_args=
     7942
     7943if $ac_cs_silent; then
     7944  exec 6>/dev/null
     7945  ac_configure_extra_args="$ac_configure_extra_args --silent"
     7946fi
     7947
     7948_ACEOF
     7949cat >>$CONFIG_STATUS <<_ACEOF
     7950if \$ac_cs_recheck; then
     7951  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     7952  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     7953fi
     7954
     7955_ACEOF
     7956
     7957
     7958
     7959
     7960
     7961cat >>$CONFIG_STATUS <<\_ACEOF
    68977962for ac_config_target in $ac_config_targets
    68987963do
    6899   case $ac_config_target in
    6900     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    6901     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    6902     "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    6903     "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    6904 
    6905   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
     7964  case "$ac_config_target" in
     7965  # Handling of arguments.
     7966  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     7967  "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     7968  "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     7969  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     7970  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     7971echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     7972   { (exit 1); exit 1; }; };;
    69067973  esac
    69077974done
    6908 
    69097975
    69107976# If the user did not use the arguments to specify the items to instantiate,
     
    69187984
    69197985# Have a temporary directory for convenience.  Make it in the build tree
    6920 # simply because there is no reason against having it here, and in addition,
     7986# simply because there is no reason to put it here, and in addition,
    69217987# creating and moving files from /tmp can sometimes cause problems.
    6922 # Hook for its removal unless debugging.
    6923 # Note that there is a small window in which the directory will not be cleaned:
    6924 # after its creation but before its name has been assigned to `$tmp'.
     7988# Create a temporary directory, and hook for its removal unless debugging.
    69257989$debug ||
    69267990{
    6927   tmp=
    6928   trap 'exit_status=$?
    6929   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    6930 ' 0
    6931   trap 'as_fn_exit 1' 1 2 13 15
     7991  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     7992  trap '{ (exit 1); exit 1; }' 1 2 13 15
    69327993}
     7994
    69337995# Create a (secure) tmp directory for tmp files.
    69347996
    69357997{
    6936   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     7998  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    69377999  test -n "$tmp" && test -d "$tmp"
    69388000}  ||
    69398001{
    6940   tmp=./conf$$-$RANDOM
    6941   (umask 077 && mkdir "$tmp")
    6942 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    6943 
    6944 # Set up the scripts for CONFIG_FILES section.
    6945 # No need to generate them if there are no CONFIG_FILES.
    6946 # This happens for instance with `./config.status config.h'.
    6947 if test -n "$CONFIG_FILES"; then
    6948 
    6949 
    6950 ac_cr=`echo X | tr X '\015'`
    6951 # On cygwin, bash can eat \r inside `` if the user requested igncr.
    6952 # But we know of no other shell where ac_cr would be empty at this
    6953 # point, so we can use a bashism as a fallback.
    6954 if test "x$ac_cr" = x; then
    6955   eval ac_cr=\$\'\\r\'
    6956 fi
    6957 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    6958 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    6959   ac_cs_awk_cr='\\r'
    6960 else
    6961   ac_cs_awk_cr=$ac_cr
    6962 fi
    6963 
    6964 echo 'BEGIN {' >"$tmp/subs1.awk" &&
    6965 _ACEOF
    6966 
    6967 
     8002  tmp=./confstat$$-$RANDOM
     8003  (umask 077 && mkdir $tmp)
     8004} ||
    69688005{
    6969   echo "cat >conf$$subs.awk <<_ACEOF" &&
    6970   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
    6971   echo "_ACEOF"
    6972 } >conf$$subs.sh ||
    6973   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    6974 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    6975 ac_delim='%!_!# '
    6976 for ac_last_try in false false false false false :; do
    6977   . ./conf$$subs.sh ||
    6978     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    6979 
    6980   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
    6981   if test $ac_delim_n = $ac_delim_num; then
    6982     break
    6983   elif $ac_last_try; then
    6984     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    6985   else
    6986     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     8006   echo "$me: cannot create a temporary directory in ." >&2
     8007   { (exit 1); exit 1; }
     8008}
     8009
     8010_ACEOF
     8011
     8012cat >>$CONFIG_STATUS <<_ACEOF
     8013
     8014#
     8015# CONFIG_FILES section.
     8016#
     8017
     8018# No need to generate the scripts if there are no CONFIG_FILES.
     8019# This happens for instance when ./config.status config.h
     8020if test -n "\$CONFIG_FILES"; then
     8021  # Protect against being on the right side of a sed subst in config.status.
     8022  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     8023   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     8024s,@SHELL@,$SHELL,;t t
     8025s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     8026s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     8027s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     8028s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     8029s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     8030s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     8031s,@exec_prefix@,$exec_prefix,;t t
     8032s,@prefix@,$prefix,;t t
     8033s,@program_transform_name@,$program_transform_name,;t t
     8034s,@bindir@,$bindir,;t t
     8035s,@sbindir@,$sbindir,;t t
     8036s,@libexecdir@,$libexecdir,;t t
     8037s,@datadir@,$datadir,;t t
     8038s,@sysconfdir@,$sysconfdir,;t t
     8039s,@sharedstatedir@,$sharedstatedir,;t t
     8040s,@localstatedir@,$localstatedir,;t t
     8041s,@libdir@,$libdir,;t t
     8042s,@includedir@,$includedir,;t t
     8043s,@oldincludedir@,$oldincludedir,;t t
     8044s,@infodir@,$infodir,;t t
     8045s,@mandir@,$mandir,;t t
     8046s,@build_alias@,$build_alias,;t t
     8047s,@host_alias@,$host_alias,;t t
     8048s,@target_alias@,$target_alias,;t t
     8049s,@DEFS@,$DEFS,;t t
     8050s,@ECHO_C@,$ECHO_C,;t t
     8051s,@ECHO_N@,$ECHO_N,;t t
     8052s,@ECHO_T@,$ECHO_T,;t t
     8053s,@LIBS@,$LIBS,;t t
     8054s,@PACKAGE@,$PACKAGE,;t t
     8055s,@VERSION@,$VERSION,;t t
     8056s,@USE_FASTCGI@,$USE_FASTCGI,;t t
     8057s,@USE_LANGACTION@,$USE_LANGACTION,;t t
     8058s,@USE_CORBA@,$USE_CORBA,;t t
     8059s,@MICO_DIR@,$MICO_DIR,;t t
     8060s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t
     8061s,@USE_Z3950@,$USE_Z3950,;t t
     8062s,@USE_YAZ@,$USE_YAZ,;t t
     8063s,@USE_WVWARE@,$USE_WVWARE,;t t
     8064s,@USE_JDBM@,$USE_JDBM,;t t
     8065s,@USE_GDBM@,$USE_GDBM,;t t
     8066s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
     8067s,@USE_SQLITE@,$USE_SQLITE,;t t
     8068s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
     8069s,@ENABLE_JNI@,$ENABLE_JNI,;t t
     8070s,@ENABLE_MG@,$ENABLE_MG,;t t
     8071s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
     8072s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
     8073s,@LDFLAGS@,$LDFLAGS,;t t
     8074s,@CFLAGS@,$CFLAGS,;t t
     8075s,@CC@,$CC,;t t
     8076s,@CPPFLAGS@,$CPPFLAGS,;t t
     8077s,@ac_ct_CC@,$ac_ct_CC,;t t
     8078s,@EXEEXT@,$EXEEXT,;t t
     8079s,@OBJEXT@,$OBJEXT,;t t
     8080s,@CXX@,$CXX,;t t
     8081s,@CXXFLAGS@,$CXXFLAGS,;t t
     8082s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     8083s,@AWK@,$AWK,;t t
     8084s,@YACC@,$YACC,;t t
     8085s,@build@,$build,;t t
     8086s,@build_cpu@,$build_cpu,;t t
     8087s,@build_vendor@,$build_vendor,;t t
     8088s,@build_os@,$build_os,;t t
     8089s,@host@,$host,;t t
     8090s,@host_cpu@,$host_cpu,;t t
     8091s,@host_vendor@,$host_vendor,;t t
     8092s,@host_os@,$host_os,;t t
     8093s,@target@,$target,;t t
     8094s,@target_cpu@,$target_cpu,;t t
     8095s,@target_vendor@,$target_vendor,;t t
     8096s,@target_os@,$target_os,;t t
     8097s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     8098s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     8099s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     8100s,@LN_S@,$LN_S,;t t
     8101s,@SET_MAKE@,$SET_MAKE,;t t
     8102s,@RANLIB@,$RANLIB,;t t
     8103s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
     8104s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
     8105s,@MICO_VER@,$MICO_VER,;t t
     8106s,@CPP@,$CPP,;t t
     8107s,@EGREP@,$EGREP,;t t
     8108s,@U@,$U,;t t
     8109s,@ANSI2KNR@,$ANSI2KNR,;t t
     8110s,@ALLOCA@,$ALLOCA,;t t
     8111s,@LIBOBJS@,$LIBOBJS,;t t
     8112s,@STATIC@,$STATIC,;t t
     8113s,@gsdlos@,$gsdlos,;t t
     8114s,@MODULEDIRS@,$MODULEDIRS,;t t
     8115s,@subdirs@,$subdirs,;t t
     8116s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     8117CEOF
     8118
     8119_ACEOF
     8120
     8121  cat >>$CONFIG_STATUS <<\_ACEOF
     8122  # Split the substitutions into bite-sized pieces for seds with
     8123  # small command number limits, like on Digital OSF/1 and HP-UX.
     8124  ac_max_sed_lines=48
     8125  ac_sed_frag=1 # Number of current file.
     8126  ac_beg=1 # First line for current file.
     8127  ac_end=$ac_max_sed_lines # Line after last line for current file.
     8128  ac_more_lines=:
     8129  ac_sed_cmds=
     8130  while $ac_more_lines; do
     8131    if test $ac_beg -gt 1; then
     8132      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8133    else
     8134      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8135    fi
     8136    if test ! -s $tmp/subs.frag; then
     8137      ac_more_lines=false
     8138    else
     8139      # The purpose of the label and of the branching condition is to
     8140      # speed up the sed processing (if there are no `@' at all, there
     8141      # is no need to browse any of the substitutions).
     8142      # These are the two extra sed commands mentioned above.
     8143      (echo ':t
     8144  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     8145      if test -z "$ac_sed_cmds"; then
     8146    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     8147      else
     8148    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     8149      fi
     8150      ac_sed_frag=`expr $ac_sed_frag + 1`
     8151      ac_beg=$ac_end
     8152      ac_end=`expr $ac_end + $ac_max_sed_lines`
     8153    fi
     8154  done
     8155  if test -z "$ac_sed_cmds"; then
     8156    ac_sed_cmds=cat
    69878157  fi
    6988 done
    6989 rm -f conf$$subs.sh
    6990 
    6991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    6992 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    6993 _ACEOF
    6994 sed -n '
    6995 h
    6996 s/^/S["/; s/!.*/"]=/
    6997 p
    6998 g
    6999 s/^[^!]*!//
    7000 :repl
    7001 t repl
    7002 s/'"$ac_delim"'$//
    7003 t delim
    7004 :nl
    7005 h
    7006 s/\(.\{148\}\)..*/\1/
    7007 t more1
    7008 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
    7009 p
    7010 n
    7011 b repl
    7012 :more1
    7013 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    7014 p
    7015 g
    7016 s/.\{148\}//
    7017 t nl
    7018 :delim
    7019 h
    7020 s/\(.\{148\}\)..*/\1/
    7021 t more2
    7022 s/["\\]/\\&/g; s/^/"/; s/$/"/
    7023 p
    7024 b
    7025 :more2
    7026 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    7027 p
    7028 g
    7029 s/.\{148\}//
    7030 t delim
    7031 ' <conf$$subs.awk | sed '
    7032 /^[^""]/{
    7033   N
    7034   s/\n//
    7035 }
    7036 ' >>$CONFIG_STATUS || ac_write_fail=1
    7037 rm -f conf$$subs.awk
    7038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7039 _ACAWK
    7040 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    7041   for (key in S) S_is_set[key] = 1
    7042   FS = ""
    7043 
    7044 }
    7045 {
    7046   line = $ 0
    7047   nfields = split(line, field, "@")
    7048   substed = 0
    7049   len = length(field[1])
    7050   for (i = 2; i < nfields; i++) {
    7051     key = field[i]
    7052     keylen = length(key)
    7053     if (S_is_set[key]) {
    7054       value = S[key]
    7055       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
    7056       len += length(value) + length(field[++i])
    7057       substed = 1
    7058     } else
    7059       len += 1 + keylen
    7060   }
    7061 
    7062   print line
    7063 }
    7064 
    7065 _ACAWK
    7066 _ACEOF
    7067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7068 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
    7069   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
    7070 else
    7071   cat
    7072 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    7073   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    7074 _ACEOF
    7075 
    7076 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
    7077 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    7078 # trailing colons and then remove the whole line if VPATH becomes empty
    7079 # (actually we leave an empty line to preserve line numbers).
    7080 if test "x$srcdir" = x.; then
    7081   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
    7082 h
    7083 s///
    7084 s/^/:/
    7085 s/[  ]*$/:/
    7086 s/:\$(srcdir):/:/g
    7087 s/:\${srcdir}:/:/g
    7088 s/:@srcdir@:/:/g
    7089 s/^:*//
    7090 s/:*$//
    7091 x
    7092 s/\(=[   ]*\).*/\1/
    7093 G
    7094 s/\n//
    7095 s/^[^=]*=[   ]*$//
    7096 }'
    7097 fi
    7098 
    7099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    71008158fi # test -n "$CONFIG_FILES"
    71018159
    7102 # Set up the scripts for CONFIG_HEADERS section.
    7103 # No need to generate them if there are no CONFIG_HEADERS.
    7104 # This happens for instance with `./config.status Makefile'.
    7105 if test -n "$CONFIG_HEADERS"; then
    7106 cat >"$tmp/defines.awk" <<\_ACAWK ||
    7107 BEGIN {
    7108 _ACEOF
    7109 
    7110 # Transform confdefs.h into an awk script `defines.awk', embedded as
    7111 # here-document in config.status, that substitutes the proper values into
    7112 # config.h.in to produce config.h.
    7113 
    7114 # Create a delimiter string that does not exist in confdefs.h, to ease
    7115 # handling of long lines.
    7116 ac_delim='%!_!# '
    7117 for ac_last_try in false false :; do
    7118   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    7119   if test -z "$ac_t"; then
    7120     break
    7121   elif $ac_last_try; then
    7122     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    7123   else
    7124     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    7125   fi
    7126 done
    7127 
    7128 # For the awk script, D is an array of macro values keyed by name,
    7129 # likewise P contains macro parameters if any.  Preserve backslash
    7130 # newline sequences.
    7131 
    7132 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    7133 sed -n '
    7134 s/.\{148\}/&'"$ac_delim"'/g
    7135 t rset
    7136 :rset
    7137 s/^[     ]*#[    ]*define[   ][  ]*/ /
    7138 t def
    7139 d
    7140 :def
    7141 s/\\$//
    7142 t bsnl
    7143 s/["\\]/\\&/g
    7144 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    7145 D["\1"]=" \3"/p
    7146 s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
    7147 d
    7148 :bsnl
    7149 s/["\\]/\\&/g
    7150 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    7151 D["\1"]=" \3\\\\\\n"\\/p
    7152 t cont
    7153 s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
    7154 t cont
    7155 d
    7156 :cont
    7157 n
    7158 s/.\{148\}/&'"$ac_delim"'/g
    7159 t clear
    7160 :clear
    7161 s/\\$//
    7162 t bsnlc
    7163 s/["\\]/\\&/g; s/^/"/; s/$/"/p
    7164 d
    7165 :bsnlc
    7166 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
    7167 b cont
    7168 ' <confdefs.h | sed '
    7169 s/'"$ac_delim"'/"\\\
    7170 "/g' >>$CONFIG_STATUS || ac_write_fail=1
    7171 
    7172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7173   for (key in D) D_is_set[key] = 1
    7174   FS = ""
    7175 }
    7176 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
    7177   line = \$ 0
    7178   split(line, arg, " ")
    7179   if (arg[1] == "#") {
    7180     defundef = arg[2]
    7181     mac1 = arg[3]
    7182   } else {
    7183     defundef = substr(arg[1], 2)
    7184     mac1 = arg[2]
    7185   }
    7186   split(mac1, mac2, "(") #)
    7187   macro = mac2[1]
    7188   prefix = substr(line, 1, index(line, defundef) - 1)
    7189   if (D_is_set[macro]) {
    7190     # Preserve the white space surrounding the "#".
    7191     print prefix "define", macro P[macro] D[macro]
    7192     next
    7193   } else {
    7194     # Replace #undef with comments.  This is necessary, for example,
    7195     # in the case of _POSIX_SOURCE, which is predefined and required
    7196     # on some systems where configure will not decide to define it.
    7197     if (defundef == "undef") {
    7198       print "/*", prefix defundef, macro, "*/"
    7199       next
    7200     }
    7201   }
    7202 }
    7203 { print }
    7204 _ACAWK
    7205 _ACEOF
    7206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7207   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    7208 fi # test -n "$CONFIG_HEADERS"
    7209 
    7210 
    7211 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
    7212 shift
    7213 for ac_tag
    7214 do
    7215   case $ac_tag in
    7216   :[FHLC]) ac_mode=$ac_tag; continue;;
     8160_ACEOF
     8161cat >>$CONFIG_STATUS <<\_ACEOF
     8162for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     8163  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     8164  case $ac_file in
     8165  - | *:- | *:-:* ) # input from stdin
     8166    cat >$tmp/stdin
     8167    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8168    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8169  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8170    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8171  * )   ac_file_in=$ac_file.in ;;
    72178172  esac
    7218   case $ac_mode$ac_tag in
    7219   :[FHL]*:*);;
    7220   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
    7221   :[FH]-) ac_tag=-:-;;
    7222   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    7223   esac
    7224   ac_save_IFS=$IFS
    7225   IFS=:
    7226   set x $ac_tag
    7227   IFS=$ac_save_IFS
    7228   shift
    7229   ac_file=$1
    7230   shift
    7231 
    7232   case $ac_mode in
    7233   :L) ac_source=$1;;
    7234   :[FH])
    7235     ac_file_inputs=
    7236     for ac_f
    7237     do
    7238       case $ac_f in
    7239       -) ac_f="$tmp/stdin";;
    7240       *) # Look for the file first in the build tree, then in the source tree
    7241      # (if the path is not absolute).  The absolute path cannot be DOS-style,
    7242      # because $ac_f cannot contain `:'.
    7243      test -f "$ac_f" ||
    7244        case $ac_f in
    7245        [\\/$]*) false;;
    7246        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    7247        esac ||
    7248        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
    7249       esac
    7250       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    7251       as_fn_append ac_file_inputs " '$ac_f'"
    7252     done
    7253 
    7254     # Let's still pretend it is `configure' which instantiates (i.e., don't
    7255     # use $as_me), people would be surprised to read:
    7256     #    /* config.h.  Generated by config.status.  */
    7257     configure_input='Generated from '`
    7258       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
    7259     `' by configure.'
    7260     if test x"$ac_file" != x-; then
    7261       configure_input="$ac_file.  $configure_input"
    7262       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    7263 $as_echo "$as_me: creating $ac_file" >&6;}
    7264     fi
    7265     # Neutralize special characters interpreted by sed in replacement strings.
    7266     case $configure_input in #(
    7267     *\&* | *\|* | *\\* )
    7268        ac_sed_conf_input=`$as_echo "$configure_input" |
    7269        sed 's/[\\\\&|]/\\\\&/g'`;; #(
    7270     *) ac_sed_conf_input=$configure_input;;
    7271     esac
    7272 
    7273     case $ac_tag in
    7274     *:-:* | *:-) cat >"$tmp/stdin" \
    7275       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
    7276     esac
    7277     ;;
    7278   esac
    7279 
    7280   ac_dir=`$as_dirname -- "$ac_file" ||
     8173
     8174  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     8175  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    72818176$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    72828177     X"$ac_file" : 'X\(//\)[^/]' \| \
    72838178     X"$ac_file" : 'X\(//\)$' \| \
    7284      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    7285 $as_echo X"$ac_file" |
    7286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    7287         s//\1/
    7288         q
    7289       }
    7290       /^X\(\/\/\)[^/].*/{
    7291         s//\1/
    7292         q
    7293       }
    7294       /^X\(\/\/\)$/{
    7295         s//\1/
    7296         q
    7297       }
    7298       /^X\(\/\).*/{
    7299         s//\1/
    7300         q
    7301       }
    7302       s/.*/./; q'`
    7303   as_dir="$ac_dir"; as_fn_mkdir_p
     8179     X"$ac_file" : 'X\(/\)' \| \
     8180     .     : '\(.\)' 2>/dev/null ||
     8181echo X"$ac_file" |
     8182    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8183      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8184      /^X\(\/\/\)$/{ s//\1/; q; }
     8185      /^X\(\/\).*/{ s//\1/; q; }
     8186      s/.*/./; q'`
     8187  { if $as_mkdir_p; then
     8188    mkdir -p "$ac_dir"
     8189  else
     8190    as_dir="$ac_dir"
     8191    as_dirs=
     8192    while test ! -d "$as_dir"; do
     8193      as_dirs="$as_dir $as_dirs"
     8194      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8195$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8196     X"$as_dir" : 'X\(//\)[^/]' \| \
     8197     X"$as_dir" : 'X\(//\)$' \| \
     8198     X"$as_dir" : 'X\(/\)' \| \
     8199     .     : '\(.\)' 2>/dev/null ||
     8200echo X"$as_dir" |
     8201    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8202      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8203      /^X\(\/\/\)$/{ s//\1/; q; }
     8204      /^X\(\/\).*/{ s//\1/; q; }
     8205      s/.*/./; q'`
     8206    done
     8207    test ! -n "$as_dirs" || mkdir $as_dirs
     8208  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8209echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8210   { (exit 1); exit 1; }; }; }
     8211
    73048212  ac_builddir=.
    73058213
    7306 case "$ac_dir" in
    7307 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8214if test "$ac_dir" != .; then
     8215  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8216  # A "../" for each directory in $ac_dir_suffix.
     8217  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8218else
     8219  ac_dir_suffix= ac_top_builddir=
     8220fi
     8221
     8222case $srcdir in
     8223  .)  # No --srcdir option.  We are building in place.
     8224    ac_srcdir=.
     8225    if test -z "$ac_top_builddir"; then
     8226       ac_top_srcdir=.
     8227    else
     8228       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8229    fi ;;
     8230  [\\/]* | ?:[\\/]* )  # Absolute path.
     8231    ac_srcdir=$srcdir$ac_dir_suffix;
     8232    ac_top_srcdir=$srcdir ;;
     8233  *) # Relative path.
     8234    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8235    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8236esac
     8237
     8238# Do not use `cd foo && pwd` to compute absolute paths, because
     8239# the directories may not exist.
     8240case `pwd` in
     8241.) ac_abs_builddir="$ac_dir";;
    73088242*)
    7309   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    7310   # A ".." for each directory in $ac_dir_suffix.
    7311   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    7312   case $ac_top_builddir_sub in
    7313   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    7314   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    7315   esac ;;
     8243  case "$ac_dir" in
     8244  .) ac_abs_builddir=`pwd`;;
     8245  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8246  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8247  esac;;
    73168248esac
    7317 ac_abs_top_builddir=$ac_pwd
    7318 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    7319 # for backward compatibility:
    7320 ac_top_builddir=$ac_top_build_prefix
    7321 
    7322 case $srcdir in
    7323   .)  # We are building in place.
    7324     ac_srcdir=.
    7325     ac_top_srcdir=$ac_top_builddir_sub
    7326     ac_abs_top_srcdir=$ac_pwd ;;
    7327   [\\/]* | ?:[\\/]* )  # Absolute name.
    7328     ac_srcdir=$srcdir$ac_dir_suffix;
    7329     ac_top_srcdir=$srcdir
    7330     ac_abs_top_srcdir=$srcdir ;;
    7331   *) # Relative name.
    7332     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    7333     ac_top_srcdir=$ac_top_build_prefix$srcdir
    7334     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8249case $ac_abs_builddir in
     8250.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8251*)
     8252  case ${ac_top_builddir}. in
     8253  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8254  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8255  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8256  esac;;
    73358257esac
    7336 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    7337 
    7338 
    7339   case $ac_mode in
    7340   :F)
    7341   #
    7342   # CONFIG_FILE
    7343   #
     8258case $ac_abs_builddir in
     8259.) ac_abs_srcdir=$ac_srcdir;;
     8260*)
     8261  case $ac_srcdir in
     8262  .) ac_abs_srcdir=$ac_abs_builddir;;
     8263  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8264  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8265  esac;;
     8266esac
     8267case $ac_abs_builddir in
     8268.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8269*)
     8270  case $ac_top_srcdir in
     8271  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8272  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8273  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8274  esac;;
     8275esac
     8276
    73448277
    73458278  case $INSTALL in
    73468279  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    7347   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
     8280  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    73488281  esac
    7349 _ACEOF
    7350 
    7351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    7352 # If the template does not know about datarootdir, expand it.
    7353 # FIXME: This hack should be removed a few years after 2.60.
    7354 ac_datarootdir_hack=; ac_datarootdir_seen=
    7355 ac_sed_dataroot='
    7356 /datarootdir/ {
    7357   p
    7358   q
    7359 }
    7360 /@datadir@/p
    7361 /@docdir@/p
    7362 /@infodir@/p
    7363 /@localedir@/p
    7364 /@mandir@/p'
    7365 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    7366 *datarootdir*) ac_datarootdir_seen=yes;;
    7367 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    7368   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    7369 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    7370 _ACEOF
    7371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7372   ac_datarootdir_hack='
    7373   s&@datadir@&$datadir&g
    7374   s&@docdir@&$docdir&g
    7375   s&@infodir@&$infodir&g
    7376   s&@localedir@&$localedir&g
    7377   s&@mandir@&$mandir&g
    7378   s&\\\${datarootdir}&$datarootdir&g' ;;
    7379 esac
    7380 _ACEOF
    7381 
    7382 # Neutralize VPATH when `$srcdir' = `.'.
    7383 # Shell code in configure.ac might set extrasub.
    7384 # FIXME: do we really want to maintain this feature?
    7385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    7386 ac_sed_extra="$ac_vpsub
     8282
     8283  if test x"$ac_file" != x-; then
     8284    { echo "$as_me:$LINENO: creating $ac_file" >&5
     8285echo "$as_me: creating $ac_file" >&6;}
     8286    rm -f "$ac_file"
     8287  fi
     8288  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8289  # use $as_me), people would be surprised to read:
     8290  #    /* config.h.  Generated by config.status.  */
     8291  if test x"$ac_file" = x-; then
     8292    configure_input=
     8293  else
     8294    configure_input="$ac_file.  "
     8295  fi
     8296  configure_input=$configure_input"Generated from `echo $ac_file_in |
     8297                     sed 's,.*/,,'` by configure."
     8298
     8299  # First look for the input files in the build tree, otherwise in the
     8300  # src tree.
     8301  ac_file_inputs=`IFS=:
     8302    for f in $ac_file_in; do
     8303      case $f in
     8304      -) echo $tmp/stdin ;;
     8305      [\\/$]*)
     8306     # Absolute (can't be DOS-style, as IFS=:)
     8307     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8308echo "$as_me: error: cannot find input file: $f" >&2;}
     8309   { (exit 1); exit 1; }; }
     8310     echo "$f";;
     8311      *) # Relative
     8312     if test -f "$f"; then
     8313       # Build tree
     8314       echo "$f"
     8315     elif test -f "$srcdir/$f"; then
     8316       # Source tree
     8317       echo "$srcdir/$f"
     8318     else
     8319       # /dev/null tree
     8320       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8321echo "$as_me: error: cannot find input file: $f" >&2;}
     8322   { (exit 1); exit 1; }; }
     8323     fi;;
     8324      esac
     8325    done` || { (exit 1); exit 1; }
     8326_ACEOF
     8327cat >>$CONFIG_STATUS <<_ACEOF
     8328  sed "$ac_vpsub
    73878329$extrasub
    73888330_ACEOF
    7389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     8331cat >>$CONFIG_STATUS <<\_ACEOF
    73908332:t
    73918333/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    7392 s|@configure_input@|$ac_sed_conf_input|;t t
    7393 s&@top_builddir@&$ac_top_builddir_sub&;t t
    7394 s&@top_build_prefix@&$ac_top_build_prefix&;t t
    7395 s&@srcdir@&$ac_srcdir&;t t
    7396 s&@abs_srcdir@&$ac_abs_srcdir&;t t
    7397 s&@top_srcdir@&$ac_top_srcdir&;t t
    7398 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
    7399 s&@builddir@&$ac_builddir&;t t
    7400 s&@abs_builddir@&$ac_abs_builddir&;t t
    7401 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    7402 s&@INSTALL@&$ac_INSTALL&;t t
    7403 $ac_datarootdir_hack
    7404 "
    7405 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    7406   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    7407 
    7408 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    7409   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    7410   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    7411   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    7412 which seems to be undefined.  Please make sure it is defined" >&5
    7413 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    7414 which seems to be undefined.  Please make sure it is defined" >&2;}
    7415 
    7416   rm -f "$tmp/stdin"
     8334s,@configure_input@,$configure_input,;t t
     8335s,@srcdir@,$ac_srcdir,;t t
     8336s,@abs_srcdir@,$ac_abs_srcdir,;t t
     8337s,@top_srcdir@,$ac_top_srcdir,;t t
     8338s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     8339s,@builddir@,$ac_builddir,;t t
     8340s,@abs_builddir@,$ac_abs_builddir,;t t
     8341s,@top_builddir@,$ac_top_builddir,;t t
     8342s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     8343s,@INSTALL@,$ac_INSTALL,;t t
     8344" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     8345  rm -f $tmp/stdin
     8346  if test x"$ac_file" != x-; then
     8347    mv $tmp/out $ac_file
     8348  else
     8349    cat $tmp/out
     8350    rm -f $tmp/out
     8351  fi
     8352
     8353done
     8354_ACEOF
     8355cat >>$CONFIG_STATUS <<\_ACEOF
     8356
     8357#
     8358# CONFIG_HEADER section.
     8359#
     8360
     8361# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     8362# NAME is the cpp macro being defined and VALUE is the value it is being given.
     8363#
     8364# ac_d sets the value in "#define NAME VALUE" lines.
     8365ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
     8366ac_dB='[     ].*$,\1#\2'
     8367ac_dC=' '
     8368ac_dD=',;t'
     8369# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     8370ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
     8371ac_uB='$,\1#\2define\3'
     8372ac_uC=' '
     8373ac_uD=',;t'
     8374
     8375for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     8376  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    74178377  case $ac_file in
    7418   -) cat "$tmp/out" && rm -f "$tmp/out";;
    7419   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    7420   esac \
    7421   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    7422  ;;
    7423   :H)
    7424   #
    7425   # CONFIG_HEADER
    7426   #
     8378  - | *:- | *:-:* ) # input from stdin
     8379    cat >$tmp/stdin
     8380    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8381    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8382  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8383    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8384  * )   ac_file_in=$ac_file.in ;;
     8385  esac
     8386
     8387  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
     8388echo "$as_me: creating $ac_file" >&6;}
     8389
     8390  # First look for the input files in the build tree, otherwise in the
     8391  # src tree.
     8392  ac_file_inputs=`IFS=:
     8393    for f in $ac_file_in; do
     8394      case $f in
     8395      -) echo $tmp/stdin ;;
     8396      [\\/$]*)
     8397     # Absolute (can't be DOS-style, as IFS=:)
     8398     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8399echo "$as_me: error: cannot find input file: $f" >&2;}
     8400   { (exit 1); exit 1; }; }
     8401     # Do quote $f, to prevent DOS paths from being IFS'd.
     8402     echo "$f";;
     8403      *) # Relative
     8404     if test -f "$f"; then
     8405       # Build tree
     8406       echo "$f"
     8407     elif test -f "$srcdir/$f"; then
     8408       # Source tree
     8409       echo "$srcdir/$f"
     8410     else
     8411       # /dev/null tree
     8412       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8413echo "$as_me: error: cannot find input file: $f" >&2;}
     8414   { (exit 1); exit 1; }; }
     8415     fi;;
     8416      esac
     8417    done` || { (exit 1); exit 1; }
     8418  # Remove the trailing spaces.
     8419  sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
     8420
     8421_ACEOF
     8422
     8423# Transform confdefs.h into two sed scripts, `conftest.defines' and
     8424# `conftest.undefs', that substitutes the proper values into
     8425# config.h.in to produce config.h.  The first handles `#define'
     8426# templates, and the second `#undef' templates.
     8427# And first: Protect against being on the right side of a sed subst in
     8428# config.status.  Protect against being in an unquoted here document
     8429# in config.status.
     8430rm -f conftest.defines conftest.undefs
     8431# Using a here document instead of a string reduces the quoting nightmare.
     8432# Putting comments in sed scripts is not portable.
     8433#
     8434# `end' is used to avoid that the second main sed command (meant for
     8435# 0-ary CPP macros) applies to n-ary macro definitions.
     8436# See the Autoconf documentation for `clear'.
     8437cat >confdef2sed.sed <<\_ACEOF
     8438s/[\\&,]/\\&/g
     8439s,[\\$`],\\&,g
     8440t clear
     8441: clear
     8442s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     8443t end
     8444s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     8445: end
     8446_ACEOF
     8447# If some macros were called several times there might be several times
     8448# the same #defines, which is useless.  Nevertheless, we may not want to
     8449# sort them, since we want the *last* AC-DEFINE to be honored.
     8450uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
     8451sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
     8452rm -f confdef2sed.sed
     8453
     8454# This sed command replaces #undef with comments.  This is necessary, for
     8455# example, in the case of _POSIX_SOURCE, which is predefined and required
     8456# on some systems where configure will not decide to define it.
     8457cat >>conftest.undefs <<\_ACEOF
     8458s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     8459_ACEOF
     8460
     8461# Break up conftest.defines because some shells have a limit on the size
     8462# of here documents, and old seds have small limits too (100 cmds).
     8463echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
     8464echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     8465echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
     8466echo '  :' >>$CONFIG_STATUS
     8467rm -f conftest.tail
     8468while grep . conftest.defines >/dev/null
     8469do
     8470  # Write a limited-size here document to $tmp/defines.sed.
     8471  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
     8472  # Speed up: don't consider the non `#define' lines.
     8473  echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
     8474  # Work around the forget-to-reset-the-flag bug.
     8475  echo 't clr' >>$CONFIG_STATUS
     8476  echo ': clr' >>$CONFIG_STATUS
     8477  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     8478  echo 'CEOF
     8479  sed -f $tmp/defines.sed $tmp/in >$tmp/out
     8480  rm -f $tmp/in
     8481  mv $tmp/out $tmp/in
     8482' >>$CONFIG_STATUS
     8483  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     8484  rm -f conftest.defines
     8485  mv conftest.tail conftest.defines
     8486done
     8487rm -f conftest.defines
     8488echo '  fi # grep' >>$CONFIG_STATUS
     8489echo >>$CONFIG_STATUS
     8490
     8491# Break up conftest.undefs because some shells have a limit on the size
     8492# of here documents, and old seds have small limits too (100 cmds).
     8493echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
     8494rm -f conftest.tail
     8495while grep . conftest.undefs >/dev/null
     8496do
     8497  # Write a limited-size here document to $tmp/undefs.sed.
     8498  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
     8499  # Speed up: don't consider the non `#undef'
     8500  echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     8501  # Work around the forget-to-reset-the-flag bug.
     8502  echo 't clr' >>$CONFIG_STATUS
     8503  echo ': clr' >>$CONFIG_STATUS
     8504  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
     8505  echo 'CEOF
     8506  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
     8507  rm -f $tmp/in
     8508  mv $tmp/out $tmp/in
     8509' >>$CONFIG_STATUS
     8510  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
     8511  rm -f conftest.undefs
     8512  mv conftest.tail conftest.undefs
     8513done
     8514rm -f conftest.undefs
     8515
     8516cat >>$CONFIG_STATUS <<\_ACEOF
     8517  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8518  # use $as_me), people would be surprised to read:
     8519  #    /* config.h.  Generated by config.status.  */
     8520  if test x"$ac_file" = x-; then
     8521    echo "/* Generated by configure.  */" >$tmp/config.h
     8522  else
     8523    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     8524  fi
     8525  cat $tmp/in >>$tmp/config.h
     8526  rm -f $tmp/in
    74278527  if test x"$ac_file" != x-; then
    7428     {
    7429       $as_echo "/* $configure_input  */" \
    7430       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    7431     } >"$tmp/config.h" \
    7432       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    7433     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    7434       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    7435 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     8528    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     8529      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     8530echo "$as_me: $ac_file is unchanged" >&6;}
    74368531    else
    7437       rm -f "$ac_file"
    7438       mv "$tmp/config.h" "$ac_file" \
    7439     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     8532      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8533$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8534     X"$ac_file" : 'X\(//\)[^/]' \| \
     8535     X"$ac_file" : 'X\(//\)$' \| \
     8536     X"$ac_file" : 'X\(/\)' \| \
     8537     .     : '\(.\)' 2>/dev/null ||
     8538echo X"$ac_file" |
     8539    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8540      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8541      /^X\(\/\/\)$/{ s//\1/; q; }
     8542      /^X\(\/\).*/{ s//\1/; q; }
     8543      s/.*/./; q'`
     8544      { if $as_mkdir_p; then
     8545    mkdir -p "$ac_dir"
     8546  else
     8547    as_dir="$ac_dir"
     8548    as_dirs=
     8549    while test ! -d "$as_dir"; do
     8550      as_dirs="$as_dir $as_dirs"
     8551      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8552$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8553     X"$as_dir" : 'X\(//\)[^/]' \| \
     8554     X"$as_dir" : 'X\(//\)$' \| \
     8555     X"$as_dir" : 'X\(/\)' \| \
     8556     .     : '\(.\)' 2>/dev/null ||
     8557echo X"$as_dir" |
     8558    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8559      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8560      /^X\(\/\/\)$/{ s//\1/; q; }
     8561      /^X\(\/\).*/{ s//\1/; q; }
     8562      s/.*/./; q'`
     8563    done
     8564    test ! -n "$as_dirs" || mkdir $as_dirs
     8565  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8566echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8567   { (exit 1); exit 1; }; }; }
     8568
     8569      rm -f $ac_file
     8570      mv $tmp/config.h $ac_file
    74408571    fi
    74418572  else
    7442     $as_echo "/* $configure_input  */" \
    7443       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    7444       || as_fn_error $? "could not create -" "$LINENO" 5
     8573    cat $tmp/config.h
     8574    rm -f $tmp/config.h
    74458575  fi
    7446  ;;
    7447 
    7448 
    7449   esac
    7450 
    7451 done # for ac_tag
    7452 
    7453 
    7454 as_fn_exit 0
    7455 _ACEOF
     8576done
     8577_ACEOF
     8578
     8579cat >>$CONFIG_STATUS <<\_ACEOF
     8580
     8581{ (exit 0); exit 0; }
     8582_ACEOF
     8583chmod +x $CONFIG_STATUS
    74568584ac_clean_files=$ac_clean_files_save
    7457 
    7458 test $ac_write_fail = 0 ||
    7459   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    74608585
    74618586
     
    74788603  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    74798604  # would make configure fail if this is the last instruction.
    7480   $ac_cs_success || as_fn_exit 1
     8605  $ac_cs_success || { (exit 1); exit 1; }
    74818606fi
    74828607
     
    74868611if test "$no_recursion" != yes; then
    74878612
    7488   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
    7489   # so they do not pile up.
     8613  # Remove --cache-file and --srcdir arguments so they do not pile up.
    74908614  ac_sub_configure_args=
    74918615  ac_prev=
    7492   eval "set x $ac_configure_args"
    7493   shift
    7494   for ac_arg
    7495   do
     8616  for ac_arg in $ac_configure_args; do
    74968617    if test -n "$ac_prev"; then
    74978618      ac_prev=
     
    75168637    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    75178638      ;;
    7518     --disable-option-checking)
    7519       ;;
    7520     *)
    7521       case $ac_arg in
    7522       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    7523       esac
    7524       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
     8639    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    75258640    esac
    75268641  done
     
    75288643  # Always prepend --prefix to ensure using the same prefix
    75298644  # in subdir configurations.
    7530   ac_arg="--prefix=$prefix"
    7531   case $ac_arg in
    7532   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    7533   esac
    7534   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
    7535 
    7536   # Pass --silent
    7537   if test "$silent" = yes; then
    7538     ac_sub_configure_args="--silent $ac_sub_configure_args"
    7539   fi
    7540 
    7541   # Always prepend --disable-option-checking to silence warnings, since
    7542   # different subdirs can have different --enable and --with options.
    7543   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
     8645  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
    75448646
    75458647  ac_popdir=`pwd`
     
    75488650    # Do not complain, so a configure script can configure whichever
    75498651    # parts of a large source tree are present.
    7550     test -d "$srcdir/$ac_dir" || continue
    7551 
    7552     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    7553     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
    7554     $as_echo "$ac_msg" >&6
    7555     as_dir="$ac_dir"; as_fn_mkdir_p
     8652    test -d $srcdir/$ac_dir || continue
     8653
     8654    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
     8655echo "$as_me: configuring in $ac_dir" >&6;}
     8656    { if $as_mkdir_p; then
     8657    mkdir -p "$ac_dir"
     8658  else
     8659    as_dir="$ac_dir"
     8660    as_dirs=
     8661    while test ! -d "$as_dir"; do
     8662      as_dirs="$as_dir $as_dirs"
     8663      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8664$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8665     X"$as_dir" : 'X\(//\)[^/]' \| \
     8666     X"$as_dir" : 'X\(//\)$' \| \
     8667     X"$as_dir" : 'X\(/\)' \| \
     8668     .     : '\(.\)' 2>/dev/null ||
     8669echo X"$as_dir" |
     8670    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8671      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8672      /^X\(\/\/\)$/{ s//\1/; q; }
     8673      /^X\(\/\).*/{ s//\1/; q; }
     8674      s/.*/./; q'`
     8675    done
     8676    test ! -n "$as_dirs" || mkdir $as_dirs
     8677  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8678echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8679   { (exit 1); exit 1; }; }; }
     8680
    75568681    ac_builddir=.
    75578682
    7558 case "$ac_dir" in
    7559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8683if test "$ac_dir" != .; then
     8684  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8685  # A "../" for each directory in $ac_dir_suffix.
     8686  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8687else
     8688  ac_dir_suffix= ac_top_builddir=
     8689fi
     8690
     8691case $srcdir in
     8692  .)  # No --srcdir option.  We are building in place.
     8693    ac_srcdir=.
     8694    if test -z "$ac_top_builddir"; then
     8695       ac_top_srcdir=.
     8696    else
     8697       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8698    fi ;;
     8699  [\\/]* | ?:[\\/]* )  # Absolute path.
     8700    ac_srcdir=$srcdir$ac_dir_suffix;
     8701    ac_top_srcdir=$srcdir ;;
     8702  *) # Relative path.
     8703    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8704    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8705esac
     8706
     8707# Do not use `cd foo && pwd` to compute absolute paths, because
     8708# the directories may not exist.
     8709case `pwd` in
     8710.) ac_abs_builddir="$ac_dir";;
    75608711*)
    7561   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    7562   # A ".." for each directory in $ac_dir_suffix.
    7563   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    7564   case $ac_top_builddir_sub in
    7565   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    7566   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    7567   esac ;;
     8712  case "$ac_dir" in
     8713  .) ac_abs_builddir=`pwd`;;
     8714  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8715  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8716  esac;;
    75688717esac
    7569 ac_abs_top_builddir=$ac_pwd
    7570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    7571 # for backward compatibility:
    7572 ac_top_builddir=$ac_top_build_prefix
    7573 
    7574 case $srcdir in
    7575   .)  # We are building in place.
    7576     ac_srcdir=.
    7577     ac_top_srcdir=$ac_top_builddir_sub
    7578     ac_abs_top_srcdir=$ac_pwd ;;
    7579   [\\/]* | ?:[\\/]* )  # Absolute name.
    7580     ac_srcdir=$srcdir$ac_dir_suffix;
    7581     ac_top_srcdir=$srcdir
    7582     ac_abs_top_srcdir=$srcdir ;;
    7583   *) # Relative name.
    7584     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    7585     ac_top_srcdir=$ac_top_build_prefix$srcdir
    7586     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8718case $ac_abs_builddir in
     8719.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8720*)
     8721  case ${ac_top_builddir}. in
     8722  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8723  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8724  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8725  esac;;
    75878726esac
    7588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    7589 
    7590 
    7591     cd "$ac_dir"
     8727case $ac_abs_builddir in
     8728.) ac_abs_srcdir=$ac_srcdir;;
     8729*)
     8730  case $ac_srcdir in
     8731  .) ac_abs_srcdir=$ac_abs_builddir;;
     8732  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8733  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8734  esac;;
     8735esac
     8736case $ac_abs_builddir in
     8737.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8738*)
     8739  case $ac_top_srcdir in
     8740  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8741  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8742  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8743  esac;;
     8744esac
     8745
     8746
     8747    cd $ac_dir
    75928748
    75938749    # Check for guested configure; otherwise get Cygnus style configure.
    7594     if test -f "$ac_srcdir/configure.gnu"; then
    7595       ac_sub_configure=$ac_srcdir/configure.gnu
    7596     elif test -f "$ac_srcdir/configure"; then
    7597       ac_sub_configure=$ac_srcdir/configure
    7598     elif test -f "$ac_srcdir/configure.in"; then
    7599       # This should be Cygnus configure.
    7600       ac_sub_configure=$ac_aux_dir/configure
     8750    if test -f $ac_srcdir/configure.gnu; then
     8751      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
     8752    elif test -f $ac_srcdir/configure; then
     8753      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
     8754    elif test -f $ac_srcdir/configure.in; then
     8755      ac_sub_configure=$ac_configure
    76018756    else
    7602       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
    7603 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     8757      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     8758echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    76048759      ac_sub_configure=
    76058760    fi
     
    76108765      case $cache_file in
    76118766      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    7612       *) # Relative name.
    7613     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
     8767      *) # Relative path.
     8768    ac_sub_cache_file=$ac_top_builddir$cache_file ;;
    76148769      esac
    76158770
    7616       { $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
    7617 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     8771      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     8772echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    76188773      # The eval makes quoting arguments work.
    7619       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    7620        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    7621     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
     8774      eval $ac_sub_configure $ac_sub_configure_args \
     8775       --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
     8776    { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
     8777echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     8778   { (exit 1); exit 1; }; }
    76228779    fi
    76238780
    7624     cd "$ac_popdir"
     8781    cd $ac_popdir
    76258782  done
    76268783fi
    7627 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    7628   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    7629 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    7630 fi
    7631 
    7632 
    7633 
     8784
     8785
     8786
Note: See TracChangeset for help on using the changeset viewer.