Changeset 24901


Ignore:
Timestamp:
12/14/11 19:20:29 (9 years ago)
Author:
ak19
Message:

GSDLARCH used in Linux makefiles when working out the cgi-bin path (now cgi-bin\GSDL_OS_ARCH) to install the binaries into.

Location:
main/trunk/greenstone2
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/Makefile.in

    r24874 r24901  
    3838
    3939GSDLOS = @gsdlos@
     40GSDLARCH = @gsdlarch@
    4041
    4142COMPILE = $(CC) -c
  • main/trunk/greenstone2/common-src/cgi-bin/Makefile.in

    r24879 r24901  
    2727COMMON_DIR = $(GSDL_DIR)/common-src
    2828GSDLOS = @gsdlos@
     29GSDLARCH = @gsdlarch@
    2930
    3031
    3132
    3233all:   
    33     mkdir -p $(GSDL_DIR)/cgi-bin/$(GSDLOS)
     34    mkdir -p $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)
    3435
    3536install:
    36     cp * $(GSDL_DIR)/cgi-bin/$(GSDLOS)/.
    37     rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)/Makefile
    38     rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)/Makefile.in
    39     rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)/win32.mak
     37    cp * $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/.
     38    rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/Makefile
     39    rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/Makefile.in
     40    rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/win32.mak
    4041
    4142clean:
    42     rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS)
     43    rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)
    4344
    4445distclean:
    45     rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS)
     46    rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)
    4647    rm -f Makefile
    4748
  • main/trunk/greenstone2/common-src/configure

    r24874 r24901  
    312312ac_subdirs_all="$ac_subdirs_all packages"
    313313ac_subdirs_all="$ac_subdirs_all indexers"
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
     314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS'
    315315ac_subst_files=''
    316316
     
    37803780  if test -z "$COMPAT32BITFLAGS" ; then
    37813781    COMPAT32BITFLAGS="-m32"
     3782    gsdlarch='64'
    37823783  fi
    37833784else
     
    37863787  if test -z "$COMPAT32BITFLAGS" ; then
    37873788    COMPAT32BITFLAGS=
     3789    gsdlarch='32'
    37883790  fi
    37893791fi
     
    75667568  gsdlos=windows
    75677569 fi
     7570
     7571
     7572# Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming
     7573# directories already or if common-src is compiled up on its own.
     7574# E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists.
     7575if test -d "../bin/$gsdlos" -o ! -f "../setup.bash" ; then
     7576   gsdlarch=""
     7577fi
    75687578
    75697579
     
    85428552s,@STATIC@,$STATIC,;t t
    85438553s,@gsdlos@,$gsdlos,;t t
     8554s,@gsdlarch@,$gsdlarch,;t t
    85448555s,@MODULEDIRS@,$MODULEDIRS,;t t
    85458556s,@subdirs@,$subdirs,;t t
  • main/trunk/greenstone2/common-src/configure.in

    r24874 r24901  
    226226  if test -z "$COMPAT32BITFLAGS" ; then
    227227    COMPAT32BITFLAGS="-m32"
     228    gsdlarch='64'
    228229  fi
    229230else
     
    231232  if test -z "$COMPAT32BITFLAGS" ; then
    232233    COMPAT32BITFLAGS=
     234    gsdlarch='32'
    233235  fi
    234236fi
     
    426428 fi
    427429AC_SUBST(gsdlos)
     430
     431# Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming
     432# directories already or if common-src is compiled up on its own.
     433# E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists.
     434if test -d "../bin/$gsdlos" -o ! -f "../setup.bash" ; then
     435   gsdlarch=""
     436fi
     437AC_SUBST(gsdlarch)
    428438
    429439# check for endianness
  • main/trunk/greenstone2/gsicontrol.sh

    r24874 r24901  
    106106    echo "Setting config file to use port $port";
    107107    cat "$GSDLHOME/apache-httpd/$GSDLOS$GSDLARCH/conf/httpd.conf.in" \
    108     | sed "s@\*\*GSDLOS\*\*@$GSDLOS$GSDLARCH@g" \
     108    | sed "s@\*\*GSDL_OS_ARCH\*\*@$GSDLOS$GSDLARCH@g" \
    109109    | sed "s@\*\*PORT\*\*@$port@g" \
    110110    | sed "s@\*\*CONNECTPERMISSION\*\*@$allowfromall@g" \
  • main/trunk/greenstone2/runtime-src/Makefile.in

    r16568 r24901  
    3838
    3939GSDLOS = @gsdlos@
     40GSDLARCH = @gsdlarch@
    4041
    4142COMPILE = $(CC) -c
  • main/trunk/greenstone2/runtime-src/configure

    r23356 r24901  
    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 bug-autoconf@gnu.org 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 uudecode
    630 JAVA
    631 JAVACFLAGS
    632 JAVAC
    633 ac_ct_CXX
    634 CXXFLAGS
    635 CXX
    636 OBJEXT
    637 EXEEXT
    638 ac_ct_CC
    639 CPPFLAGS
    640 CC
    641 CFLAGS
    642 LDFLAGS
    643 ENABLE_LUCENE
    644 ENABLE_MGPP
    645 ENABLE_MG
    646 USE_APACHE_HTTPD
    647 USE_SQLITE
    648 ENABLE_ACCENTFOLD
    649 USE_GDBM
    650 USE_JDBM
    651 ENABLE_JAVA
    652 USE_YAZ
    653 USE_Z3950
    654 MICO_DIR
    655 USE_CORBA
    656 USE_LANGACTION
    657 USE_FASTCGI
    658 VERSION
    659 PACKAGE
    660 target_alias
    661 host_alias
    662 build_alias
    663 LIBS
    664 ECHO_T
    665 ECHO_N
    666 ECHO_C
    667 DEFS
    668 mandir
    669 localedir
    670 libdir
    671 psdir
    672 pdfdir
    673 dvidir
    674 htmldir
    675 infodir
    676 docdir
    677 oldincludedir
    678 includedir
    679 localstatedir
    680 sharedstatedir
    681 sysconfdir
    682 datadir
    683 datarootdir
    684 libexecdir
    685 sbindir
    686 bindir
    687 program_transform_name
    688 prefix
    689 exec_prefix
    690 PACKAGE_URL
    691 PACKAGE_BUGREPORT
    692 PACKAGE_STRING
    693 PACKAGE_VERSION
    694 PACKAGE_TARNAME
    695 PACKAGE_NAME
    696 PATH_SEPARATOR
    697 SHELL'
     311ac_subdirs_all="$ac_subdirs_all packages"
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode 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 gsdlarch MODULEDIRS subdirs LTLIBOBJS'
    698313ac_subst_files=''
    699 ac_user_opts='
    700 enable_option_checking
    701 enable_corba
    702 with_micodir
    703 enable_z3950
    704 enable_yaz
    705 enable_java
    706 enable_jdbm
    707 enable_gdbm
    708 enable_accentfold
    709 enable_sqlite
    710 enable_apache_httpd
    711 enable_mg
    712 enable_mgpp
    713 enable_lucene
    714 with_dmalloc
    715 with_regex
    716 '
    717       ac_precious_vars='build_alias
    718 host_alias
    719 target_alias
    720 CC
    721 CFLAGS
    722 LDFLAGS
    723 LIBS
    724 CPPFLAGS
    725 CXX
    726 CXXFLAGS
    727 CCC
    728 YACC
    729 YFLAGS
    730 CPP'
    731 ac_subdirs_all='packages'
    732314
    733315# Initialize some variables set by options.
    734316ac_init_help=
    735317ac_init_version=false
    736 ac_unrecognized_opts=
    737 ac_unrecognized_sep=
    738318# The variables have the same names as the options, with
    739319# dashes changed to underlines.
     
    758338# by default will actually change.
    759339# Use braces instead of parens because sh, perl, etc. also accept them.
    760 # (The list follows the same order as the GNU Coding Standards.)
    761340bindir='${exec_prefix}/bin'
    762341sbindir='${exec_prefix}/sbin'
    763342libexecdir='${exec_prefix}/libexec'
    764 datarootdir='${prefix}/share'
    765 datadir='${datarootdir}'
     343datadir='${prefix}/share'
    766344sysconfdir='${prefix}/etc'
    767345sharedstatedir='${prefix}/com'
    768346localstatedir='${prefix}/var'
     347libdir='${exec_prefix}/lib'
    769348includedir='${prefix}/include'
    770349oldincludedir='/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'
     350infodir='${prefix}/info'
     351mandir='${prefix}/man'
    780352
    781353ac_prev=
    782 ac_dashdash=
    783354for ac_option
    784355do
    785356  # If the previous option needs an argument, assign it.
    786357  if test -n "$ac_prev"; then
    787     eval $ac_prev=\$ac_option
     358    eval "$ac_prev=\$ac_option"
    788359    ac_prev=
    789360    continue
    790361  fi
    791362
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     364
     365  # Accept the important Cygnus configure options, so we can diagnose typos.
     366
    792367  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 ;;
    803368
    804369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    822387    cache_file=config.cache ;;
    823388
    824   -datadir | --datadir | --datadi | --datad)
     389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    825390    ac_prev=datadir ;;
    826   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     392  | --da=*)
    827393    datadir=$ac_optarg ;;
    828394
    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 
    836395  -disable-* | --disable-*)
    837     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    838397    # 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=', ';;
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     400   { (exit 1); exit 1; }; }
     401    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     402    eval "enable_$ac_feature=no" ;;
     403
     404  -enable-* | --enable-*)
     405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     406    # Reject names that are not valid shell variable names.
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     409   { (exit 1); exit 1; }; }
     410    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     411    case $ac_option in
     412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     413      *) ac_optarg=yes ;;
    849414    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 ;;
     415    eval "enable_$ac_feature='$ac_optarg'" ;;
    877416
    878417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    901440    host_alias=$ac_optarg ;;
    902441
    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 
    909442  -includedir | --includedir | --includedi | --included | --include \
    910443  | --includ | --inclu | --incl | --inc)
     
    931464    libexecdir=$ac_optarg ;;
    932465
    933   -localedir | --localedir | --localedi | --localed | --locale)
    934     ac_prev=localedir ;;
    935   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    936     localedir=$ac_optarg ;;
    937 
    938466  -localstatedir | --localstatedir | --localstatedi | --localstated \
    939   | --localstate | --localstat | --localsta | --localst | --locals)
     467  | --localstate | --localstat | --localsta | --localst \
     468  | --locals | --local | --loca | --loc | --lo)
    940469    ac_prev=localstatedir ;;
    941470  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    942   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    943473    localstatedir=$ac_optarg ;;
    944474
     
    1005535    program_transform_name=$ac_optarg ;;
    1006536
    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 
    1017537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1018538  | -silent | --silent | --silen | --sile | --sil)
     
    1065585
    1066586  -with-* | --with-*)
    1067     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1068588    # 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=', ';;
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     590      { echo "$as_me: error: invalid package name: $ac_package" >&2
     591   { (exit 1); exit 1; }; }
     592    ac_package=`echo $ac_package| sed 's/-/_/g'`
     593    case $ac_option in
     594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     595      *) ac_optarg=yes ;;
    1079596    esac
    1080     eval with_$ac_useropt=\$ac_optarg ;;
     597    eval "with_$ac_package='$ac_optarg'" ;;
    1081598
    1082599  -without-* | --without-*)
    1083     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1084601    # 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 ;;
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     603      { echo "$as_me: error: invalid package name: $ac_package" >&2
     604   { (exit 1); exit 1; }; }
     605    ac_package=`echo $ac_package | sed 's/-/_/g'`
     606    eval "with_$ac_package=no" ;;
    1097607
    1098608  --x)
     
    1114624    x_libraries=$ac_optarg ;;
    1115625
    1116   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1117 Try \`$0 --help' for more information"
     626  -*) { echo "$as_me: error: unrecognized option: $ac_option
     627Try \`$0 --help' for more information." >&2
     628   { (exit 1); exit 1; }; }
    1118629    ;;
    1119630
     
    1121632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    1122633    # 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
     634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     636   { (exit 1); exit 1; }; }
     637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     638    eval "$ac_envvar='$ac_optarg'"
    1128639    export $ac_envvar ;;
    1129640
    1130641  *)
    1131642    # FIXME: should be removed in autoconf 3.0.
    1132     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    1133644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1134       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1135646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    1136647    ;;
     
    1141652if test -n "$ac_prev"; then
    1142653  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 ;;
     654  { echo "$as_me: error: missing argument to $ac_option" >&2
     655   { (exit 1); exit 1; }; }
     656fi
     657
     658# Be sure to have absolute paths.
     659for ac_var in exec_prefix prefix
     660do
     661  eval ac_val=$`echo $ac_var`
     662  case $ac_val in
     663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     665   { (exit 1); exit 1; }; };;
    1151666  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
     667done
     668
     669# Be sure to have absolute paths.
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     671          localstatedir libdir includedir oldincludedir infodir mandir
    1159672do
    1160   eval ac_val=\$$ac_var
    1161   # Remove trailing slashes.
     673  eval ac_val=$`echo $ac_var`
    1162674  case $ac_val in
    1163     */ )
    1164       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
    1165       eval $ac_var=\$ac_val;;
     675    [\\/$]* | ?:[\\/]* ) ;;
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     677   { (exit 1); exit 1; }; };;
    1166678  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"
    1173679done
    1174680
     
    1184690  if test "x$build_alias" = x; then
    1185691    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
     692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     693    If a cross compiler is detected then cross compile mode will be used." >&2
    1188694  elif test "x$build_alias" != "x$host_alias"; then
    1189695    cross_compiling=yes
     
    1197703
    1198704
    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 
    1207705# Find the source files, if location was not specified.
    1208706if test -z "$srcdir"; then
    1209707  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'`
     708  # Try the directory containing this script, then its parent.
     709  ac_confdir=`(dirname "$0") 2>/dev/null ||
     710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     711     X"$0" : 'X\(//\)[^/]' \| \
     712     X"$0" : 'X\(//\)$' \| \
     713     X"$0" : 'X\(/\)' \| \
     714     .     : '\(.\)' 2>/dev/null ||
     715echo X"$0" |
     716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     717      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     718      /^X\(\/\/\)$/{ s//\1/; q; }
     719      /^X\(\/\).*/{ s//\1/; q; }
     720      s/.*/./; q'`
    1234721  srcdir=$ac_confdir
    1235   if test ! -r "$srcdir/$ac_unique_file"; then
     722  if test ! -r $srcdir/$ac_unique_file; then
    1236723    srcdir=..
    1237724  fi
     
    1239726  ac_srcdir_defaulted=no
    1240727fi
    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
     728if test ! -r $srcdir/$ac_unique_file; then
     729  if test "$ac_srcdir_defaulted" = yes; then
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     731   { (exit 1); exit 1; }; }
     732  else
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     734   { (exit 1); exit 1; }; }
     735  fi
     736fi
     737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     739   { (exit 1); exit 1; }; }
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     741ac_env_build_alias_set=${build_alias+set}
     742ac_env_build_alias_value=$build_alias
     743ac_cv_env_build_alias_set=${build_alias+set}
     744ac_cv_env_build_alias_value=$build_alias
     745ac_env_host_alias_set=${host_alias+set}
     746ac_env_host_alias_value=$host_alias
     747ac_cv_env_host_alias_set=${host_alias+set}
     748ac_cv_env_host_alias_value=$host_alias
     749ac_env_target_alias_set=${target_alias+set}
     750ac_env_target_alias_value=$target_alias
     751ac_cv_env_target_alias_set=${target_alias+set}
     752ac_cv_env_target_alias_value=$target_alias
     753ac_env_CC_set=${CC+set}
     754ac_env_CC_value=$CC
     755ac_cv_env_CC_set=${CC+set}
     756ac_cv_env_CC_value=$CC
     757ac_env_CFLAGS_set=${CFLAGS+set}
     758ac_env_CFLAGS_value=$CFLAGS
     759ac_cv_env_CFLAGS_set=${CFLAGS+set}
     760ac_cv_env_CFLAGS_value=$CFLAGS
     761ac_env_LDFLAGS_set=${LDFLAGS+set}
     762ac_env_LDFLAGS_value=$LDFLAGS
     763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_cv_env_LDFLAGS_value=$LDFLAGS
     765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     766ac_env_CPPFLAGS_value=$CPPFLAGS
     767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     769ac_env_CXX_set=${CXX+set}
     770ac_env_CXX_value=$CXX
     771ac_cv_env_CXX_set=${CXX+set}
     772ac_cv_env_CXX_value=$CXX
     773ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     774ac_env_CXXFLAGS_value=$CXXFLAGS
     775ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     776ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     777ac_env_CPP_set=${CPP+set}
     778ac_env_CPP_value=$CPP
     779ac_cv_env_CPP_set=${CPP+set}
     780ac_cv_env_CPP_value=$CPP
    1265781
    1266782#
     
    1285801      --help=recursive    display the short help of all the included packages
    1286802  -V, --version           display version information and exit
    1287   -q, --quiet, --silent   do not print \`checking ...' messages
     803  -q, --quiet, --silent   do not print \`checking...' messages
    1288804      --cache-file=FILE   cache test results in FILE [disabled]
    1289805  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    1291807      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1292808
     809_ACEOF
     810
     811  cat <<_ACEOF
    1293812Installation directories:
    1294813  --prefix=PREFIX         install architecture-independent files in PREFIX
    1295                           [$ac_default_prefix]
     814              [$ac_default_prefix]
    1296815  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1297                           [PREFIX]
     816              [PREFIX]
    1298817
    1299818By default, \`make install' will install all the files in
     
    1305824
    1306825Fine 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]
     826  --bindir=DIR           user executables [EPREFIX/bin]
     827  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     828  --libexecdir=DIR       program executables [EPREFIX/libexec]
     829  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     830  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     831  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     832  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     833  --libdir=DIR           object code libraries [EPREFIX/lib]
     834  --includedir=DIR       C header files [PREFIX/include]
     835  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     836  --infodir=DIR          info documentation [PREFIX/info]
     837  --mandir=DIR           man documentation [PREFIX/man]
    1326838_ACEOF
    1327839
     
    1340852
    1341853Optional Features:
    1342   --disable-option-checking  ignore unrecognized --enable/--with options
    1343854  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1344855  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    1369880  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1370881              nonstandard directory <lib dir>
    1371   LIBS        libraries to pass to the linker, e.g. -l<library>
    1372   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    1373               you have headers in a nonstandard directory <include dir>
     882  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     883              headers in a nonstandard directory <include dir>
    1374884  CXX         C++ compiler command
    1375885  CXXFLAGS    C++ compiler flags
    1376   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1377               the first program found out of: `bison -y', `byacc', `yacc'.
    1378   YFLAGS      The list of arguments that will be passed by default to $YACC.
    1379               This script will default YFLAGS to the empty string to avoid a
    1380               default value of `-d' given by some make applications.
    1381886  CPP         C preprocessor
    1382887
     
    1384889it to find libraries and programs with nonstandard names/locations.
    1385890
    1386 Report bugs to the package provider.
    1387 _ACEOF
    1388 ac_status=$?
     891_ACEOF
    1389892fi
    1390893
    1391894if test "$ac_init_help" = "recursive"; then
    1392895  # If there are subdirs, report their specific --help.
     896  ac_popdir=`pwd`
    1393897  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1394     test -d "$ac_dir" ||
    1395       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
    1396       continue
     898    test -d $ac_dir || continue
    1397899    ac_builddir=.
    1398900
    1399 case "$ac_dir" in
    1400 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     901if test "$ac_dir" != .; then
     902  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     903  # A "../" for each directory in $ac_dir_suffix.
     904  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     905else
     906  ac_dir_suffix= ac_top_builddir=
     907fi
     908
     909case $srcdir in
     910  .)  # No --srcdir option.  We are building in place.
     911    ac_srcdir=.
     912    if test -z "$ac_top_builddir"; then
     913       ac_top_srcdir=.
     914    else
     915       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     916    fi ;;
     917  [\\/]* | ?:[\\/]* )  # Absolute path.
     918    ac_srcdir=$srcdir$ac_dir_suffix;
     919    ac_top_srcdir=$srcdir ;;
     920  *) # Relative path.
     921    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     922    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     923esac
     924
     925# Do not use `cd foo && pwd` to compute absolute paths, because
     926# the directories may not exist.
     927case `pwd` in
     928.) ac_abs_builddir="$ac_dir";;
    1401929*)
    1402   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    1403   # A ".." for each directory in $ac_dir_suffix.
    1404   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    1405   case $ac_top_builddir_sub in
    1406   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1407   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1408   esac ;;
     930  case "$ac_dir" in
     931  .) ac_abs_builddir=`pwd`;;
     932  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     933  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     934  esac;;
    1409935esac
    1410 ac_abs_top_builddir=$ac_pwd
    1411 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1412 # for backward compatibility:
    1413 ac_top_builddir=$ac_top_build_prefix
    1414 
    1415 case $srcdir in
    1416   .)  # We are building in place.
    1417     ac_srcdir=.
    1418     ac_top_srcdir=$ac_top_builddir_sub
    1419     ac_abs_top_srcdir=$ac_pwd ;;
    1420   [\\/]* | ?:[\\/]* )  # Absolute name.
    1421     ac_srcdir=$srcdir$ac_dir_suffix;
    1422     ac_top_srcdir=$srcdir
    1423     ac_abs_top_srcdir=$srcdir ;;
    1424   *) # Relative name.
    1425     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1426     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1427     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     936case $ac_abs_builddir in
     937.) ac_abs_top_builddir=${ac_top_builddir}.;;
     938*)
     939  case ${ac_top_builddir}. in
     940  .) ac_abs_top_builddir=$ac_abs_builddir;;
     941  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     942  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     943  esac;;
    1428944esac
    1429 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1430 
    1431     cd "$ac_dir" || { ac_status=$?; continue; }
    1432     # Check for guested configure.
    1433     if test -f "$ac_srcdir/configure.gnu"; then
    1434       echo &&
    1435       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1436     elif test -f "$ac_srcdir/configure"; then
    1437       echo &&
    1438       $SHELL "$ac_srcdir/configure" --help=recursive
     945case $ac_abs_builddir in
     946.) ac_abs_srcdir=$ac_srcdir;;
     947*)
     948  case $ac_srcdir in
     949  .) ac_abs_srcdir=$ac_abs_builddir;;
     950  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     951  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     952  esac;;
     953esac
     954case $ac_abs_builddir in
     955.) ac_abs_top_srcdir=$ac_top_srcdir;;
     956*)
     957  case $ac_top_srcdir in
     958  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     959  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     960  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     961  esac;;
     962esac
     963
     964    cd $ac_dir
     965    # Check for guested configure; otherwise get Cygnus style configure.
     966    if test -f $ac_srcdir/configure.gnu; then
     967      echo
     968      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     969    elif test -f $ac_srcdir/configure; then
     970      echo
     971      $SHELL $ac_srcdir/configure  --help=recursive
     972    elif test -f $ac_srcdir/configure.ac ||
     973       test -f $ac_srcdir/configure.in; then
     974      echo
     975      $ac_configure --help
    1439976    else
    1440       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1441     fi || ac_status=$?
    1442     cd "$ac_pwd" || { ac_status=$?; break; }
     977      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     978    fi
     979    cd $ac_popdir
    1443980  done
    1444981fi
    1445982
    1446 test -n "$ac_init_help" && exit $ac_status
     983test -n "$ac_init_help" && exit 0
    1447984if $ac_init_version; then
    1448985  cat <<\_ACEOF
    1449 configure
    1450 generated by GNU Autoconf 2.67
    1451 
    1452 Copyright (C) 2010 Free Software Foundation, Inc.
     986
     987Copyright (C) 2003 Free Software Foundation, Inc.
    1453988This configure script is free software; the Free Software Foundation
    1454989gives unlimited permission to copy, distribute and modify it.
    1455990_ACEOF
    1456   exit
    1457 fi
    1458 
    1459 ## ------------------------ ##
    1460 ## Autoconf initialization. ##
    1461 ## ------------------------ ##
    1462 
    1463 # ac_fn_c_try_compile LINENO
    1464 # --------------------------
    1465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1466 ac_fn_c_try_compile ()
    1467 {
    1468   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1469   rm -f conftest.$ac_objext
    1470   if { { ac_try="$ac_compile"
    1471 case "(($ac_try" in
    1472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1473   *) ac_try_echo=$ac_try;;
    1474 esac
    1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1476 $as_echo "$ac_try_echo"; } >&5
    1477   (eval "$ac_compile") 2>conftest.err
    1478   ac_status=$?
    1479   if test -s conftest.err; then
    1480     grep -v '^ *+' conftest.err >conftest.er1
    1481     cat conftest.er1 >&5
    1482     mv -f conftest.er1 conftest.err
    1483   fi
    1484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1485   test $ac_status = 0; } && {
    1486      test -z "$ac_c_werror_flag" ||
    1487      test ! -s conftest.err
    1488        } && test -s conftest.$ac_objext; then :
    1489   ac_retval=0
    1490 else
    1491   $as_echo "$as_me: failed program was:" >&5
    1492 sed 's/^/| /' conftest.$ac_ext >&5
    1493 
    1494     ac_retval=1
    1495 fi
    1496   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1497   as_fn_set_status $ac_retval
    1498 
    1499 } # ac_fn_c_try_compile
    1500 
    1501 # ac_fn_cxx_try_compile LINENO
    1502 # ----------------------------
    1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1504 ac_fn_cxx_try_compile ()
    1505 {
    1506   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1507   rm -f conftest.$ac_objext
    1508   if { { ac_try="$ac_compile"
    1509 case "(($ac_try" in
    1510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1511   *) ac_try_echo=$ac_try;;
    1512 esac
    1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1514 $as_echo "$ac_try_echo"; } >&5
    1515   (eval "$ac_compile") 2>conftest.err
    1516   ac_status=$?
    1517   if test -s conftest.err; then
    1518     grep -v '^ *+' conftest.err >conftest.er1
    1519     cat conftest.er1 >&5
    1520     mv -f conftest.er1 conftest.err
    1521   fi
    1522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1523   test $ac_status = 0; } && {
    1524      test -z "$ac_cxx_werror_flag" ||
    1525      test ! -s conftest.err
    1526        } && test -s conftest.$ac_objext; then :
    1527   ac_retval=0
    1528 else
    1529   $as_echo "$as_me: failed program was:" >&5
    1530 sed 's/^/| /' conftest.$ac_ext >&5
    1531 
    1532     ac_retval=1
    1533 fi
    1534   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1535   as_fn_set_status $ac_retval
    1536 
    1537 } # ac_fn_cxx_try_compile
    1538 
    1539 # ac_fn_c_try_cpp LINENO
    1540 # ----------------------
    1541 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1542 ac_fn_c_try_cpp ()
    1543 {
    1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1545   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1546 case "(($ac_try" in
    1547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1548   *) ac_try_echo=$ac_try;;
    1549 esac
    1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1551 $as_echo "$ac_try_echo"; } >&5
    1552   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1553   ac_status=$?
    1554   if test -s conftest.err; then
    1555     grep -v '^ *+' conftest.err >conftest.er1
    1556     cat conftest.er1 >&5
    1557     mv -f conftest.er1 conftest.err
    1558   fi
    1559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1560   test $ac_status = 0; } > conftest.i && {
    1561      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1562      test ! -s conftest.err
    1563        }; then :
    1564   ac_retval=0
    1565 else
    1566   $as_echo "$as_me: failed program was:" >&5
    1567 sed 's/^/| /' conftest.$ac_ext >&5
    1568 
    1569     ac_retval=1
    1570 fi
    1571   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1572   as_fn_set_status $ac_retval
    1573 
    1574 } # ac_fn_c_try_cpp
    1575 
    1576 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1577 # -------------------------------------------------------
    1578 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1579 # the include files in INCLUDES and setting the cache variable VAR
    1580 # accordingly.
    1581 ac_fn_c_check_header_mongrel ()
    1582 {
    1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1584   if eval "test \"\${$3+set}\"" = set; then :
    1585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1586 $as_echo_n "checking for $2... " >&6; }
    1587 if eval "test \"\${$3+set}\"" = set; then :
    1588   $as_echo_n "(cached) " >&6
    1589 fi
    1590 eval ac_res=\$$3
    1591            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1592 $as_echo "$ac_res" >&6; }
    1593 else
    1594   # Is the header compilable?
    1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1596 $as_echo_n "checking $2 usability... " >&6; }
    1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1598 /* end confdefs.h.  */
    1599 $4
    1600 #include <$2>
    1601 _ACEOF
    1602 if ac_fn_c_try_compile "$LINENO"; then :
    1603   ac_header_compiler=yes
    1604 else
    1605   ac_header_compiler=no
    1606 fi
    1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1609 $as_echo "$ac_header_compiler" >&6; }
    1610 
    1611 # Is the header present?
    1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1613 $as_echo_n "checking $2 presence... " >&6; }
    1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1615 /* end confdefs.h.  */
    1616 #include <$2>
    1617 _ACEOF
    1618 if ac_fn_c_try_cpp "$LINENO"; then :
    1619   ac_header_preproc=yes
    1620 else
    1621   ac_header_preproc=no
    1622 fi
    1623 rm -f conftest.err conftest.i conftest.$ac_ext
    1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1625 $as_echo "$ac_header_preproc" >&6; }
    1626 
    1627 # So?  What about this header?
    1628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1629   yes:no: )
    1630     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1631 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1632     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1634     ;;
    1635   no:yes:* )
    1636     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1637 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1639 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1640     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1641 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1642     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1643 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1646     ;;
    1647 esac
    1648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1649 $as_echo_n "checking for $2... " >&6; }
    1650 if eval "test \"\${$3+set}\"" = set; then :
    1651   $as_echo_n "(cached) " >&6
    1652 else
    1653   eval "$3=\$ac_header_compiler"
    1654 fi
    1655 eval ac_res=\$$3
    1656            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1657 $as_echo "$ac_res" >&6; }
    1658 fi
    1659   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1660 
    1661 } # ac_fn_c_check_header_mongrel
    1662 
    1663 # ac_fn_c_try_run LINENO
    1664 # ----------------------
    1665 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1666 # that executables *can* be run.
    1667 ac_fn_c_try_run ()
    1668 {
    1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1670   if { { ac_try="$ac_link"
    1671 case "(($ac_try" in
    1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1673   *) ac_try_echo=$ac_try;;
    1674 esac
    1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1676 $as_echo "$ac_try_echo"; } >&5
    1677   (eval "$ac_link") 2>&5
    1678   ac_status=$?
    1679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1680   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1681   { { case "(($ac_try" in
    1682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1683   *) ac_try_echo=$ac_try;;
    1684 esac
    1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1686 $as_echo "$ac_try_echo"; } >&5
    1687   (eval "$ac_try") 2>&5
    1688   ac_status=$?
    1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1690   test $ac_status = 0; }; }; then :
    1691   ac_retval=0
    1692 else
    1693   $as_echo "$as_me: program exited with status $ac_status" >&5
    1694        $as_echo "$as_me: failed program was:" >&5
    1695 sed 's/^/| /' conftest.$ac_ext >&5
    1696 
    1697        ac_retval=$ac_status
    1698 fi
    1699   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1700   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1701   as_fn_set_status $ac_retval
    1702 
    1703 } # ac_fn_c_try_run
    1704 
    1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1706 # -------------------------------------------------------
    1707 # Tests whether HEADER exists and can be compiled using the include files in
    1708 # INCLUDES, setting the cache variable VAR accordingly.
    1709 ac_fn_c_check_header_compile ()
    1710 {
    1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1713 $as_echo_n "checking for $2... " >&6; }
    1714 if eval "test \"\${$3+set}\"" = set; then :
    1715   $as_echo_n "(cached) " >&6
    1716 else
    1717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1718 /* end confdefs.h.  */
    1719 $4
    1720 #include <$2>
    1721 _ACEOF
    1722 if ac_fn_c_try_compile "$LINENO"; then :
    1723   eval "$3=yes"
    1724 else
    1725   eval "$3=no"
    1726 fi
    1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1728 fi
    1729 eval ac_res=\$$3
    1730            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1731 $as_echo "$ac_res" >&6; }
    1732   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1733 
    1734 } # ac_fn_c_check_header_compile
    1735 
    1736 # ac_fn_c_try_link LINENO
    1737 # -----------------------
    1738 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1739 ac_fn_c_try_link ()
    1740 {
    1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1742   rm -f conftest.$ac_objext conftest$ac_exeext
    1743   if { { ac_try="$ac_link"
    1744 case "(($ac_try" in
    1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1746   *) ac_try_echo=$ac_try;;
    1747 esac
    1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1749 $as_echo "$ac_try_echo"; } >&5
    1750   (eval "$ac_link") 2>conftest.err
    1751   ac_status=$?
    1752   if test -s conftest.err; then
    1753     grep -v '^ *+' conftest.err >conftest.er1
    1754     cat conftest.er1 >&5
    1755     mv -f conftest.er1 conftest.err
    1756   fi
    1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1758   test $ac_status = 0; } && {
    1759      test -z "$ac_c_werror_flag" ||
    1760      test ! -s conftest.err
    1761        } && test -s conftest$ac_exeext && {
    1762      test "$cross_compiling" = yes ||
    1763      $as_test_x conftest$ac_exeext
    1764        }; then :
    1765   ac_retval=0
    1766 else
    1767   $as_echo "$as_me: failed program was:" >&5
    1768 sed 's/^/| /' conftest.$ac_ext >&5
    1769 
    1770     ac_retval=1
    1771 fi
    1772   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1773   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1774   # interfere with the next link command; also delete a directory that is
    1775   # left behind by Apple's compiler.  We do this before executing the actions.
    1776   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1777   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1778   as_fn_set_status $ac_retval
    1779 
    1780 } # ac_fn_c_try_link
    1781 
    1782 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1783 # -------------------------------------------
    1784 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1785 # variable VAR accordingly.
    1786 ac_fn_c_check_type ()
    1787 {
    1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1790 $as_echo_n "checking for $2... " >&6; }
    1791 if eval "test \"\${$3+set}\"" = set; then :
    1792   $as_echo_n "(cached) " >&6
    1793 else
    1794   eval "$3=no"
    1795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1796 /* end confdefs.h.  */
    1797 $4
    1798 int
    1799 main ()
    1800 {
    1801 if (sizeof ($2))
    1802      return 0;
    1803   ;
    1804   return 0;
    1805 }
    1806 _ACEOF
    1807 if ac_fn_c_try_compile "$LINENO"; then :
    1808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1809 /* end confdefs.h.  */
    1810 $4
    1811 int
    1812 main ()
    1813 {
    1814 if (sizeof (($2)))
    1815         return 0;
    1816   ;
    1817   return 0;
    1818 }
    1819 _ACEOF
    1820 if ac_fn_c_try_compile "$LINENO"; then :
    1821 
    1822 else
    1823   eval "$3=yes"
    1824 fi
    1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1826 fi
    1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1828 fi
    1829 eval ac_res=\$$3
    1830            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1831 $as_echo "$ac_res" >&6; }
    1832   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1833 
    1834 } # ac_fn_c_check_type
    1835 
    1836 # ac_fn_c_check_func LINENO FUNC VAR
    1837 # ----------------------------------
    1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1839 ac_fn_c_check_func ()
    1840 {
    1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1843 $as_echo_n "checking for $2... " >&6; }
    1844 if eval "test \"\${$3+set}\"" = set; then :
    1845   $as_echo_n "(cached) " >&6
    1846 else
    1847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1848 /* end confdefs.h.  */
    1849 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1851 #define $2 innocuous_$2
    1852 
    1853 /* System header to define __stub macros and hopefully few prototypes,
    1854     which can conflict with char $2 (); below.
    1855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1856     <limits.h> exists even on freestanding compilers.  */
    1857 
    1858 #ifdef __STDC__
    1859 # include <limits.h>
    1860 #else
    1861 # include <assert.h>
    1862 #endif
    1863 
    1864 #undef $2
    1865 
    1866 /* Override any GCC internal prototype to avoid an error.
    1867    Use char because int might match the return type of a GCC
    1868    builtin and then its argument prototype would still apply.  */
    1869 #ifdef __cplusplus
    1870 extern "C"
    1871 #endif
    1872 char $2 ();
    1873 /* The GNU C library defines this for functions which it implements
    1874     to always fail with ENOSYS.  Some functions are actually named
    1875     something starting with __ and the normal name is an alias.  */
    1876 #if defined __stub_$2 || defined __stub___$2
    1877 choke me
    1878 #endif
    1879 
    1880 int
    1881 main ()
    1882 {
    1883 return $2 ();
    1884   ;
    1885   return 0;
    1886 }
    1887 _ACEOF
    1888 if ac_fn_c_try_link "$LINENO"; then :
    1889   eval "$3=yes"
    1890 else
    1891   eval "$3=no"
    1892 fi
    1893 rm -f core conftest.err conftest.$ac_objext \
    1894     conftest$ac_exeext conftest.$ac_ext
    1895 fi
    1896 eval ac_res=\$$3
    1897            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1898 $as_echo "$ac_res" >&6; }
    1899   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1900 
    1901 } # ac_fn_c_check_func
    1902 
    1903 # ac_fn_cxx_try_run LINENO
    1904 # ------------------------
    1905 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1906 # that executables *can* be run.
    1907 ac_fn_cxx_try_run ()
    1908 {
    1909   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1910   if { { ac_try="$ac_link"
    1911 case "(($ac_try" in
    1912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1913   *) ac_try_echo=$ac_try;;
    1914 esac
    1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1916 $as_echo "$ac_try_echo"; } >&5
    1917   (eval "$ac_link") 2>&5
    1918   ac_status=$?
    1919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1920   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1921   { { case "(($ac_try" in
    1922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1923   *) ac_try_echo=$ac_try;;
    1924 esac
    1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1926 $as_echo "$ac_try_echo"; } >&5
    1927   (eval "$ac_try") 2>&5
    1928   ac_status=$?
    1929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1930   test $ac_status = 0; }; }; then :
    1931   ac_retval=0
    1932 else
    1933   $as_echo "$as_me: program exited with status $ac_status" >&5
    1934        $as_echo "$as_me: failed program was:" >&5
    1935 sed 's/^/| /' conftest.$ac_ext >&5
    1936 
    1937        ac_retval=$ac_status
    1938 fi
    1939   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1940   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1941   as_fn_set_status $ac_retval
    1942 
    1943 } # ac_fn_cxx_try_run
    1944 cat >config.log <<_ACEOF
     991  exit 0
     992fi
     993exec 5>config.log
     994cat >&5 <<_ACEOF
    1945995This file contains any messages produced by compilers while
    1946996running configure, to aid debugging if configure makes a mistake.
    1947997
    1948998It was created by $as_me, which was
    1949 generated by GNU Autoconf 2.67.  Invocation command line was
     999generated by GNU Autoconf 2.59.  Invocation command line was
    19501000
    19511001  $ $0 $@
    19521002
    19531003_ACEOF
    1954 exec 5>>config.log
    19551004{
    19561005cat <<_ASUNAME
     
    19711020/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    19721021/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1973 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1022hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    19741023/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    19751024/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    19831032  IFS=$as_save_IFS
    19841033  test -z "$as_dir" && as_dir=.
    1985     $as_echo "PATH: $as_dir"
    1986   done
    1987 IFS=$as_save_IFS
     1034  echo "PATH: $as_dir"
     1035done
    19881036
    19891037} >&5
     
    20071055ac_configure_args0=
    20081056ac_configure_args1=
     1057ac_sep=
    20091058ac_must_keep_next=false
    20101059for ac_pass in 1 2
     
    20171066    | -silent | --silent | --silen | --sile | --sil)
    20181067      continue ;;
    2019     *\'*)
    2020       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1068    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1069      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    20211070    esac
    20221071    case $ac_pass in
    2023     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1072    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    20241073    2)
    2025       as_fn_append ac_configure_args1 " '$ac_arg'"
     1074      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    20261075      if test $ac_must_keep_next = true; then
    20271076    ac_must_keep_next=false # Got value, back to normal.
     
    20391088    esac
    20401089      fi
    2041       as_fn_append ac_configure_args " '$ac_arg'"
     1090      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1091      # Get rid of the leading space.
     1092      ac_sep=" "
    20421093      ;;
    20431094    esac
    20441095  done
    20451096done
    2046 { ac_configure_args0=; unset ac_configure_args0;}
    2047 { ac_configure_args1=; unset ac_configure_args1;}
     1097$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1098$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    20481099
    20491100# When interrupted or exit'd, cleanup temporary files, and complete
    20501101# config.log.  We remove comments because anyway the quotes in there
    20511102# would cause problems or look ugly.
    2052 # WARNING: Use '\'' to represent an apostrophe within the trap.
    2053 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1103# WARNING: Be sure not to use single quotes in there, as some shells,
     1104# such as our DU 5.0 friend, will then `close' the trap.
    20541105trap 'exit_status=$?
    20551106  # Save into config.log some information that might help in debugging.
     
    20571108    echo
    20581109
    2059     $as_echo "## ---------------- ##
     1110    cat <<\_ASBOX
     1111## ---------------- ##
    20601112## Cache variables. ##
    2061 ## ---------------- ##"
     1113## ---------------- ##
     1114_ASBOX
    20621115    echo
    20631116    # The following way of writing the cache mishandles newlines in values,
    2064 (
    2065   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    2066     eval ac_val=\$$ac_var
    2067     case $ac_val in #(
    2068     *${as_nl}*)
    2069       case $ac_var in #(
    2070       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    2072       esac
    2073       case $ac_var in #(
    2074       _ | IFS | as_nl) ;; #(
    2075       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2076       *) { eval $ac_var=; unset $ac_var;} ;;
    2077       esac ;;
    2078     esac
    2079   done
     1117{
    20801118  (set) 2>&1 |
    2081     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    2082     *${as_nl}ac_space=\ *)
     1119    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1120    *ac_space=\ *)
    20831121      sed -n \
    2084     "s/'\''/'\''\\\\'\'''\''/g;
    2085       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    2086       ;; #(
     1122    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1123      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1124      ;;
    20871125    *)
    2088       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1126      sed -n \
     1127    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    20891128      ;;
    2090     esac |
    2091     sort
    2092 )
     1129    esac;
     1130}
    20931131    echo
    20941132
    2095     $as_echo "## ----------------- ##
     1133    cat <<\_ASBOX
     1134## ----------------- ##
    20961135## Output variables. ##
    2097 ## ----------------- ##"
     1136## ----------------- ##
     1137_ASBOX
    20981138    echo
    20991139    for ac_var in $ac_subst_vars
    21001140    do
    2101       eval ac_val=\$$ac_var
    2102       case $ac_val in
    2103       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2104       esac
    2105       $as_echo "$ac_var='\''$ac_val'\''"
     1141      eval ac_val=$`echo $ac_var`
     1142      echo "$ac_var='"'"'$ac_val'"'"'"
    21061143    done | sort
    21071144    echo
    21081145
    21091146    if test -n "$ac_subst_files"; then
    2110       $as_echo "## ------------------- ##
    2111 ## File substitutions. ##
    2112 ## ------------------- ##"
     1147      cat <<\_ASBOX
     1148## ------------- ##
     1149## Output files. ##
     1150## ------------- ##
     1151_ASBOX
    21131152      echo
    21141153      for ac_var in $ac_subst_files
    21151154      do
    2116     eval ac_val=\$$ac_var
    2117     case $ac_val in
    2118     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2119     esac
    2120     $as_echo "$ac_var='\''$ac_val'\''"
     1155    eval ac_val=$`echo $ac_var`
     1156    echo "$ac_var='"'"'$ac_val'"'"'"
    21211157      done | sort
    21221158      echo
     
    21241160
    21251161    if test -s confdefs.h; then
    2126       $as_echo "## ----------- ##
     1162      cat <<\_ASBOX
     1163## ----------- ##
    21271164## confdefs.h. ##
    2128 ## ----------- ##"
     1165## ----------- ##
     1166_ASBOX
    21291167      echo
    2130       cat confdefs.h
     1168      sed "/^$/d" confdefs.h | sort
    21311169      echo
    21321170    fi
    21331171    test "$ac_signal" != 0 &&
    2134       $as_echo "$as_me: caught signal $ac_signal"
    2135     $as_echo "$as_me: exit $exit_status"
     1172      echo "$as_me: caught signal $ac_signal"
     1173    echo "$as_me: exit $exit_status"
    21361174  } >&5
    2137   rm -f core *.core core.conftest.* &&
    2138     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1175  rm -f core *.core &&
     1176  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    21391177    exit $exit_status
    2140 ' 0
     1178     ' 0
    21411179for ac_signal in 1 2 13 15; do
    2142   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1180  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    21431181done
    21441182ac_signal=0
    21451183
    21461184# confdefs.h avoids OS command line length limits that DEFS can exceed.
    2147 rm -f -r conftest* confdefs.h
    2148 
    2149 $as_echo "/* confdefs.h */" > confdefs.h
     1185rm -rf conftest* confdefs.h
     1186# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1187echo >confdefs.h
    21501188
    21511189# Predefined preprocessor variables.
     
    21551193_ACEOF
    21561194
     1195
    21571196cat >>confdefs.h <<_ACEOF
    21581197#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    21591198_ACEOF
    21601199
     1200
    21611201cat >>confdefs.h <<_ACEOF
    21621202#define PACKAGE_VERSION "$PACKAGE_VERSION"
    21631203_ACEOF
    21641204
     1205
    21651206cat >>confdefs.h <<_ACEOF
    21661207#define PACKAGE_STRING "$PACKAGE_STRING"
    21671208_ACEOF
    21681209
     1210
    21691211cat >>confdefs.h <<_ACEOF
    21701212#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    21711213_ACEOF
    21721214
    2173 cat >>confdefs.h <<_ACEOF
    2174 #define PACKAGE_URL "$PACKAGE_URL"
    2175 _ACEOF
    2176 
    21771215
    21781216# Let the site file select an alternate cache file if it wants to.
    2179 # Prefer an explicitly selected file to automatically selected ones.
    2180 ac_site_file1=NONE
    2181 ac_site_file2=NONE
    2182 if test -n "$CONFIG_SITE"; then
    2183   # We do not want a PATH search for config.site.
    2184   case $CONFIG_SITE in #((
    2185     -*)  ac_site_file1=./$CONFIG_SITE;;
    2186     */*) ac_site_file1=$CONFIG_SITE;;
    2187     *)   ac_site_file1=./$CONFIG_SITE;;
    2188   esac
    2189 elif test "x$prefix" != xNONE; then
    2190   ac_site_file1=$prefix/share/config.site
    2191   ac_site_file2=$prefix/etc/config.site
    2192 else
    2193   ac_site_file1=$ac_default_prefix/share/config.site
    2194   ac_site_file2=$ac_default_prefix/etc/config.site
    2195 fi
    2196 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    2197 do
    2198   test "x$ac_site_file" = xNONE && continue
    2199   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2200     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     1217# Prefer explicitly selected file to automatically selected ones.
     1218if test -z "$CONFIG_SITE"; then
     1219  if test "x$prefix" != xNONE; then
     1220    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1221  else
     1222    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1223  fi
     1224fi
     1225for ac_site_file in $CONFIG_SITE; do
     1226  if test -r "$ac_site_file"; then
     1227    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1228echo "$as_me: loading site script $ac_site_file" >&6;}
    22021229    sed 's/^/| /' "$ac_site_file" >&5
    2203     . "$ac_site_file" \
    2204       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2206 as_fn_error $? "failed to load site script $ac_site_file
    2207 See \`config.log' for more details" "$LINENO" 5 ; }
     1230    . "$ac_site_file"
    22081231  fi
    22091232done
    22101233
    22111234if test -r "$cache_file"; then
    2212   # Some versions of bash will fail to source /dev/null (special files
    2213   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2214   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2215     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    2216 $as_echo "$as_me: loading cache $cache_file" >&6;}
     1235  # Some versions of bash will fail to source /dev/null (special
     1236  # files actually), so we avoid doing that.
     1237  if test -f "$cache_file"; then
     1238    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1239echo "$as_me: loading cache $cache_file" >&6;}
    22171240    case $cache_file in
    2218       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    2219       *)                      . "./$cache_file";;
     1241      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1242      *)                      . ./$cache_file;;
    22201243    esac
    22211244  fi
    22221245else
    2223   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    2224 $as_echo "$as_me: creating cache $cache_file" >&6;}
     1246  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1247echo "$as_me: creating cache $cache_file" >&6;}
    22251248  >$cache_file
    22261249fi
     
    22291252# value.
    22301253ac_cache_corrupted=false
    2231 for ac_var in $ac_precious_vars; do
     1254for ac_var in `(set) 2>&1 |
     1255           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    22321256  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    22331257  eval ac_new_set=\$ac_env_${ac_var}_set
    2234   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    2235   eval ac_new_val=\$ac_env_${ac_var}_value
     1258  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1259  eval ac_new_val="\$ac_env_${ac_var}_value"
    22361260  case $ac_old_set,$ac_new_set in
    22371261    set,)
    2238       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    2239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1262      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1263echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    22401264      ac_cache_corrupted=: ;;
    22411265    ,set)
    2242       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    2243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1266      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1267echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    22441268      ac_cache_corrupted=: ;;
    22451269    ,);;
    22461270    *)
    22471271      if test "x$ac_old_val" != "x$ac_new_val"; then
    2248     # differences in whitespace do not lead to failure.
    2249     ac_old_val_w=`echo x $ac_old_val`
    2250     ac_new_val_w=`echo x $ac_new_val`
    2251     if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2252       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    2254       ac_cache_corrupted=:
    2255     else
    2256       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    2258       eval $ac_var=\$ac_old_val
    2259     fi
    2260     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    2261 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2262     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    2263 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
     1272    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1273echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1274    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1275echo "$as_me:   former value:  $ac_old_val" >&2;}
     1276    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1277echo "$as_me:   current value: $ac_new_val" >&2;}
     1278    ac_cache_corrupted=:
    22641279      fi;;
    22651280  esac
     
    22671282  if test "$ac_new_set" = set; then
    22681283    case $ac_new_val in
    2269     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1284    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1285      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    22701286    *) ac_arg=$ac_var=$ac_new_val ;;
    22711287    esac
    22721288    case " $ac_configure_args " in
    22731289      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2274       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1290      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    22751291    esac
    22761292  fi
    22771293done
    22781294if $ac_cache_corrupted; then
    2279   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2281   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2283   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2284 fi
    2285 ## -------------------- ##
    2286 ## Main body of script. ##
    2287 ## -------------------- ##
     1295  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1296echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1297  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1298echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1299   { (exit 1); exit 1; }; }
     1300fi
    22881301
    22891302ac_ext=c
     
    22941307
    22951308
    2296 ac_config_headers="$ac_config_headers config.h"
     1309
     1310
     1311
     1312
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324
     1325
     1326          ac_config_headers="$ac_config_headers config.h"
    22971327
    22981328
     
    23141344USE_FASTCGI=0
    23151345if test USE_FASTCGI = 1; then
    2316 $as_echo "#define USE_FASTCGI 1" >>confdefs.h
     1346cat >>confdefs.h <<\_ACEOF
     1347#define USE_FASTCGI 1
     1348_ACEOF
    23171349
    23181350
     
    23201352
    23211353if 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
     1354cat >>confdefs.h <<\_ACEOF
     1355#define USE_LANGACTION 1
     1356_ACEOF
     1357
     1358
     1359fi
     1360
     1361# Check whether --enable-corba or --disable-corba was given.
     1362if test "${enable_corba+set}" = set; then
     1363  enableval="$enable_corba"
     1364  USE_CORBA=$enableval
    23301365else
    23311366  USE_CORBA=no
    2332 fi
    2333 
     1367fi;
    23341368if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    23351369  USE_CORBA=1
    2336   $as_echo "#define USE_CORBA /**/" >>confdefs.h
     1370  cat >>confdefs.h <<\_ACEOF
     1371#define USE_CORBA
     1372_ACEOF
    23371373
    23381374else
     
    23421378
    23431379
    2344 # Check whether --with-micodir was given.
    2345 if test "${with_micodir+set}" = set; then :
    2346   withval=$with_micodir; MICO_DIR=$withval
     1380# Check whether --with-micodir or --without-micodir was given.
     1381if test "${with_micodir+set}" = set; then
     1382  withval="$with_micodir"
     1383  MICO_DIR=$withval
    23471384else
    23481385  MICO_DIR="default"
    2349 fi
    2350 
     1386fi;
    23511387cat >>confdefs.h <<_ACEOF
    23521388#define MICO_DIR "$MICO_DIR"
     
    23551391
    23561392
    2357 # Check whether --enable-z3950 was given.
    2358 if test "${enable_z3950+set}" = set; then :
    2359   enableval=$enable_z3950; USE_Z3950=$enableval
     1393# Check whether --enable-z3950 or --disable-z3950 was given.
     1394if test "${enable_z3950+set}" = set; then
     1395  enableval="$enable_z3950"
     1396  USE_Z3950=$enableval
    23601397else
    23611398  USE_Z3950=no
    2362 fi
    2363 
     1399fi;
    23641400if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    23651401  USE_Z3950=1
    2366   $as_echo "#define USE_Z3950 /**/" >>confdefs.h
     1402  cat >>confdefs.h <<\_ACEOF
     1403#define USE_Z3950
     1404_ACEOF
    23671405
    23681406else
     
    23711409
    23721410
    2373 # Check whether --enable-yaz was given.
    2374 if test "${enable_yaz+set}" = set; then :
    2375   enableval=$enable_yaz; USE_YAZ=$enableval
     1411# Check whether --enable-yaz or --disable-yaz was given.
     1412if test "${enable_yaz+set}" = set; then
     1413  enableval="$enable_yaz"
     1414  USE_YAZ=$enableval
    23761415else
    23771416  USE_YAZ=yes
    2378 fi
    2379 
     1417fi;
    23801418if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    23811419  USE_YAZ=1
    2382   $as_echo "#define USE_YAZ /**/" >>confdefs.h
     1420  cat >>confdefs.h <<\_ACEOF
     1421#define USE_YAZ
     1422_ACEOF
    23831423
    23841424else
     
    23871427
    23881428
    2389 # Check whether --enable-java was given.
    2390 if test "${enable_java+set}" = set; then :
    2391   enableval=$enable_java; ENABLE_JAVA=$enableval
     1429# Check whether --enable-java or --disable-java was given.
     1430if test "${enable_java+set}" = set; then
     1431  enableval="$enable_java"
     1432  ENABLE_JAVA=$enableval
    23921433else
    23931434  ENABLE_JAVA=yes
    2394 fi
    2395 
     1435fi;
    23961436if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
    23971437  ENABLE_JAVA=1
     
    24071447
    24081448
    2409 # Check whether --enable-jdbm was given.
    2410 if test "${enable_jdbm+set}" = set; then :
    2411   enableval=$enable_jdbm; USE_JDBM=$enableval
     1449# Check whether --enable-jdbm or --disable-jdbm was given.
     1450if test "${enable_jdbm+set}" = set; then
     1451  enableval="$enable_jdbm"
     1452  USE_JDBM=$enableval
    24121453else
    24131454  USE_JDBM=yes
    2414 fi
    2415 
     1455fi;
    24161456if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    24171457  USE_JDBM=1
    2418   $as_echo "#define USE_JDBM /**/" >>confdefs.h
     1458  cat >>confdefs.h <<\_ACEOF
     1459#define USE_JDBM
     1460_ACEOF
    24191461
    24201462else
     
    24231465
    24241466
    2425 # Check whether --enable-gdbm was given.
    2426 if test "${enable_gdbm+set}" = set; then :
    2427   enableval=$enable_gdbm; USE_GDBM=$enableval
     1467# Check whether --enable-gdbm or --disable-gdbm was given.
     1468if test "${enable_gdbm+set}" = set; then
     1469  enableval="$enable_gdbm"
     1470  USE_GDBM=$enableval
    24281471else
    24291472  USE_GDBM=yes
    2430 fi
    2431 
     1473fi;
    24321474if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    24331475  USE_GDBM=1
    2434   $as_echo "#define USE_GDBM /**/" >>confdefs.h
     1476  cat >>confdefs.h <<\_ACEOF
     1477#define USE_GDBM
     1478_ACEOF
    24351479
    24361480else
     
    24391483
    24401484
    2441 # Check whether --enable-accentfold was given.
    2442 if test "${enable_accentfold+set}" = set; then :
    2443   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
     1485# Check whether --enable-accentfold or --disable-accentfold was given.
     1486if test "${enable_accentfold+set}" = set; then
     1487  enableval="$enable_accentfold"
     1488  ENABLE_ACCENTFOLD=$enableval
    24441489else
    24451490  ENABLE_ACCENTFOLD=yes
    2446 fi
    2447 
     1491fi;
    24481492if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    24491493  ENABLE_ACCENTFOLD=1
    2450   $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
     1494  cat >>confdefs.h <<\_ACEOF
     1495#define ENABLE_ACCENTFOLD
     1496_ACEOF
    24511497
    24521498else
     
    24551501
    24561502
    2457 # Check whether --enable-sqlite was given.
    2458 if test "${enable_sqlite+set}" = set; then :
    2459   enableval=$enable_sqlite; USE_SQLITE=$enableval
     1503# Check whether --enable-sqlite or --disable-sqlite was given.
     1504if test "${enable_sqlite+set}" = set; then
     1505  enableval="$enable_sqlite"
     1506  USE_SQLITE=$enableval
    24601507else
    24611508  USE_SQLITE=yes
    2462 fi
    2463 
     1509fi;
    24641510if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    24651511  USE_SQLITE=1
    2466   $as_echo "#define USE_SQLITE /**/" >>confdefs.h
     1512  cat >>confdefs.h <<\_ACEOF
     1513#define USE_SQLITE
     1514_ACEOF
    24671515
    24681516else
     
    24711519
    24721520
    2473 # Check whether --enable-apache-httpd was given.
    2474 if test "${enable_apache_httpd+set}" = set; then :
    2475   enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval
     1521# Check whether --enable-apache-httpd or --disable-apache-httpd was given.
     1522if test "${enable_apache_httpd+set}" = set; then
     1523  enableval="$enable_apache_httpd"
     1524  USE_APACHE_HTTPD=$enableval
    24761525else
    24771526  USE_APACHE_HTTPD=no
    2478 fi
    2479 
     1527fi;
    24801528if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then
    24811529  USE_APACHE_HTTPD=1
    2482   $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h
     1530  cat >>confdefs.h <<\_ACEOF
     1531#define USE_APACHE_HTTPD
     1532_ACEOF
    24831533
    24841534else
     
    24881538
    24891539
    2490 # Check whether --enable-mg was given.
    2491 if test "${enable_mg+set}" = set; then :
    2492   enableval=$enable_mg; ENABLE_MG=$enableval
     1540# Check whether --enable-mg or --disable-mg was given.
     1541if test "${enable_mg+set}" = set; then
     1542  enableval="$enable_mg"
     1543  ENABLE_MG=$enableval
    24931544else
    24941545  ENABLE_MG=yes
    2495 fi
    2496 
     1546fi;
    24971547if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
    24981548  ENABLE_MG=1
    2499   $as_echo "#define ENABLE_MG /**/" >>confdefs.h
     1549  cat >>confdefs.h <<\_ACEOF
     1550#define ENABLE_MG
     1551_ACEOF
    25001552
    25011553else
     
    25041556
    25051557
    2506 # Check whether --enable-mgpp was given.
    2507 if test "${enable_mgpp+set}" = set; then :
    2508   enableval=$enable_mgpp; ENABLE_MGPP=$enableval
     1558# Check whether --enable-mgpp or --disable-mgpp was given.
     1559if test "${enable_mgpp+set}" = set; then
     1560  enableval="$enable_mgpp"
     1561  ENABLE_MGPP=$enableval
    25091562else
    25101563  ENABLE_MGPP=yes
    2511 fi
    2512 
     1564fi;
    25131565if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
    25141566  ENABLE_MGPP=1
    2515   $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
     1567  cat >>confdefs.h <<\_ACEOF
     1568#define ENABLE_MGPP
     1569_ACEOF
    25161570
    25171571else
     
    25201574
    25211575
    2522 # Check whether --enable-lucene was given.
    2523 if test "${enable_lucene+set}" = set; then :
    2524   enableval=$enable_lucene; ENABLE_LUCENE=$enableval
     1576# Check whether --enable-lucene or --disable-lucene was given.
     1577if test "${enable_lucene+set}" = set; then
     1578  enableval="$enable_lucene"
     1579  ENABLE_LUCENE=$enableval
    25251580else
    25261581  ENABLE_LUCENE=yes
    2527 fi
    2528 
     1582fi;
    25291583if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
    25301584  ENABLE_LUCENE=1
    2531   $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
     1585  cat >>confdefs.h <<\_ACEOF
     1586#define ENABLE_LUCENE
     1587_ACEOF
    25321588
    25331589else
     
    25521608  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    25531609set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2555 $as_echo_n "checking for $ac_word... " >&6; }
    2556 if test "${ac_cv_prog_CC+set}" = set; then :
    2557   $as_echo_n "(cached) " >&6
     1610echo "$as_me:$LINENO: checking for $ac_word" >&5
     1611echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1612if test "${ac_cv_prog_CC+set}" = set; then
     1613  echo $ECHO_N "(cached) $ECHO_C" >&6
    25581614else
    25591615  if test -n "$CC"; then
     
    25651621  IFS=$as_save_IFS
    25661622  test -z "$as_dir" && as_dir=.
    2567     for ac_exec_ext in '' $ac_executable_extensions; do
    2568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1623  for ac_exec_ext in '' $ac_executable_extensions; do
     1624  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25691625    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1626    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25711627    break 2
    25721628  fi
    25731629done
    2574   done
    2575 IFS=$as_save_IFS
     1630done
    25761631
    25771632fi
     
    25791634CC=$ac_cv_prog_CC
    25801635if test -n "$CC"; then
    2581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2582 $as_echo "$CC" >&6; }
    2583 else
    2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2585 $as_echo "no" >&6; }
    2586 fi
    2587 
     1636  echo "$as_me:$LINENO: result: $CC" >&5
     1637echo "${ECHO_T}$CC" >&6
     1638else
     1639  echo "$as_me:$LINENO: result: no" >&5
     1640echo "${ECHO_T}no" >&6
     1641fi
    25881642
    25891643fi
     
    25921646  # Extract the first word of "gcc", so it can be a program name with args.
    25931647set dummy gcc; ac_word=$2
    2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2595 $as_echo_n "checking for $ac_word... " >&6; }
    2596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2597   $as_echo_n "(cached) " >&6
     1648echo "$as_me:$LINENO: checking for $ac_word" >&5
     1649echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1650if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1651  echo $ECHO_N "(cached) $ECHO_C" >&6
    25981652else
    25991653  if test -n "$ac_ct_CC"; then
     
    26051659  IFS=$as_save_IFS
    26061660  test -z "$as_dir" && as_dir=.
    2607     for ac_exec_ext in '' $ac_executable_extensions; do
    2608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1661  for ac_exec_ext in '' $ac_executable_extensions; do
     1662  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26091663    ac_cv_prog_ac_ct_CC="gcc"
    2610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1664    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26111665    break 2
    26121666  fi
    26131667done
    2614   done
    2615 IFS=$as_save_IFS
     1668done
    26161669
    26171670fi
     
    26191672ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26201673if test -n "$ac_ct_CC"; then
    2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2622 $as_echo "$ac_ct_CC" >&6; }
    2623 else
    2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2625 $as_echo "no" >&6; }
    2626 fi
    2627 
    2628   if test "x$ac_ct_CC" = x; then
    2629     CC=""
    2630   else
    2631     case $cross_compiling:$ac_tool_warned in
    2632 yes:)
    2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2635 ac_tool_warned=yes ;;
    2636 esac
    2637     CC=$ac_ct_CC
    2638   fi
     1674  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1675echo "${ECHO_T}$ac_ct_CC" >&6
     1676else
     1677  echo "$as_me:$LINENO: result: no" >&5
     1678echo "${ECHO_T}no" >&6
     1679fi
     1680
     1681  CC=$ac_ct_CC
    26391682else
    26401683  CC="$ac_cv_prog_CC"
     
    26421685
    26431686if test -z "$CC"; then
    2644           if test -n "$ac_tool_prefix"; then
    2645     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1687  if test -n "$ac_tool_prefix"; then
     1688  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    26461689set dummy ${ac_tool_prefix}cc; ac_word=$2
    2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2648 $as_echo_n "checking for $ac_word... " >&6; }
    2649 if test "${ac_cv_prog_CC+set}" = set; then :
    2650   $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_CC+set}" = set; then
     1693  echo $ECHO_N "(cached) $ECHO_C" >&6
    26511694else
    26521695  if test -n "$CC"; then
     
    26581701  IFS=$as_save_IFS
    26591702  test -z "$as_dir" && as_dir=.
    2660     for ac_exec_ext in '' $ac_executable_extensions; do
    2661   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
    26621705    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2663     $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
    26641707    break 2
    26651708  fi
    26661709done
    2667   done
    2668 IFS=$as_save_IFS
     1710done
    26691711
    26701712fi
     
    26721714CC=$ac_cv_prog_CC
    26731715if test -n "$CC"; then
    2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2675 $as_echo "$CC" >&6; }
    2676 else
    2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2678 $as_echo "no" >&6; }
    2679 fi
    2680 
    2681 
     1716  echo "$as_me:$LINENO: result: $CC" >&5
     1717echo "${ECHO_T}$CC" >&6
     1718else
     1719  echo "$as_me:$LINENO: result: no" >&5
     1720echo "${ECHO_T}no" >&6
     1721fi
     1722
     1723fi
     1724if test -z "$ac_cv_prog_CC"; then
     1725  ac_ct_CC=$CC
     1726  # Extract the first word of "cc", so it can be a program name with args.
     1727set dummy cc; ac_word=$2
     1728echo "$as_me:$LINENO: checking for $ac_word" >&5
     1729echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1730if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1731  echo $ECHO_N "(cached) $ECHO_C" >&6
     1732else
     1733  if test -n "$ac_ct_CC"; then
     1734  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1735else
     1736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1737for as_dir in $PATH
     1738do
     1739  IFS=$as_save_IFS
     1740  test -z "$as_dir" && as_dir=.
     1741  for ac_exec_ext in '' $ac_executable_extensions; do
     1742  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1743    ac_cv_prog_ac_ct_CC="cc"
     1744    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1745    break 2
    26821746  fi
     1747done
     1748done
     1749
     1750fi
     1751fi
     1752ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1753if test -n "$ac_ct_CC"; then
     1754  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1755echo "${ECHO_T}$ac_ct_CC" >&6
     1756else
     1757  echo "$as_me:$LINENO: result: no" >&5
     1758echo "${ECHO_T}no" >&6
     1759fi
     1760
     1761  CC=$ac_ct_CC
     1762else
     1763  CC="$ac_cv_prog_CC"
     1764fi
     1765
    26831766fi
    26841767if test -z "$CC"; then
    26851768  # Extract the first word of "cc", so it can be a program name with args.
    26861769set dummy cc; ac_word=$2
    2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2688 $as_echo_n "checking for $ac_word... " >&6; }
    2689 if test "${ac_cv_prog_CC+set}" = set; then :
    2690   $as_echo_n "(cached) " >&6
     1770echo "$as_me:$LINENO: checking for $ac_word" >&5
     1771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1772if test "${ac_cv_prog_CC+set}" = set; then
     1773  echo $ECHO_N "(cached) $ECHO_C" >&6
    26911774else
    26921775  if test -n "$CC"; then
     
    26991782  IFS=$as_save_IFS
    27001783  test -z "$as_dir" && as_dir=.
    2701     for ac_exec_ext in '' $ac_executable_extensions; do
    2702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1784  for ac_exec_ext in '' $ac_executable_extensions; do
     1785  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27031786    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    27041787       ac_prog_rejected=yes
     
    27061789     fi
    27071790    ac_cv_prog_CC="cc"
    2708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1791    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27091792    break 2
    27101793  fi
    27111794done
    2712   done
    2713 IFS=$as_save_IFS
     1795done
    27141796
    27151797if test $ac_prog_rejected = yes; then
     
    27291811CC=$ac_cv_prog_CC
    27301812if test -n "$CC"; then
    2731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2732 $as_echo "$CC" >&6; }
    2733 else
    2734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2735 $as_echo "no" >&6; }
    2736 fi
    2737 
     1813  echo "$as_me:$LINENO: result: $CC" >&5
     1814echo "${ECHO_T}$CC" >&6
     1815else
     1816  echo "$as_me:$LINENO: result: no" >&5
     1817echo "${ECHO_T}no" >&6
     1818fi
    27381819
    27391820fi
    27401821if test -z "$CC"; then
    27411822  if test -n "$ac_tool_prefix"; then
    2742   for ac_prog in cl.exe
     1823  for ac_prog in cl
    27431824  do
    27441825    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    27451826set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2747 $as_echo_n "checking for $ac_word... " >&6; }
    2748 if test "${ac_cv_prog_CC+set}" = set; then :
    2749   $as_echo_n "(cached) " >&6
     1827echo "$as_me:$LINENO: checking for $ac_word" >&5
     1828echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1829if test "${ac_cv_prog_CC+set}" = set; then
     1830  echo $ECHO_N "(cached) $ECHO_C" >&6
    27501831else
    27511832  if test -n "$CC"; then
     
    27571838  IFS=$as_save_IFS
    27581839  test -z "$as_dir" && as_dir=.
    2759     for ac_exec_ext in '' $ac_executable_extensions; do
    2760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1840  for ac_exec_ext in '' $ac_executable_extensions; do
     1841  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27611842    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1843    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27631844    break 2
    27641845  fi
    27651846done
    2766   done
    2767 IFS=$as_save_IFS
     1847done
    27681848
    27691849fi
     
    27711851CC=$ac_cv_prog_CC
    27721852if test -n "$CC"; then
    2773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2774 $as_echo "$CC" >&6; }
    2775 else
    2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2777 $as_echo "no" >&6; }
    2778 fi
    2779 
     1853  echo "$as_me:$LINENO: result: $CC" >&5
     1854echo "${ECHO_T}$CC" >&6
     1855else
     1856  echo "$as_me:$LINENO: result: no" >&5
     1857echo "${ECHO_T}no" >&6
     1858fi
    27801859
    27811860    test -n "$CC" && break
     
    27841863if test -z "$CC"; then
    27851864  ac_ct_CC=$CC
    2786   for ac_prog in cl.exe
     1865  for ac_prog in cl
    27871866do
    27881867  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27891868set dummy $ac_prog; ac_word=$2
    2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2791 $as_echo_n "checking for $ac_word... " >&6; }
    2792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2793   $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_ac_ct_CC+set}" = set; then
     1872  echo $ECHO_N "(cached) $ECHO_C" >&6
    27941873else
    27951874  if test -n "$ac_ct_CC"; then
     
    28011880  IFS=$as_save_IFS
    28021881  test -z "$as_dir" && as_dir=.
    2803     for ac_exec_ext in '' $ac_executable_extensions; do
    2804   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
    28051884    ac_cv_prog_ac_ct_CC="$ac_prog"
    2806     $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
    28071886    break 2
    28081887  fi
    28091888done
    2810   done
    2811 IFS=$as_save_IFS
     1889done
    28121890
    28131891fi
     
    28151893ac_ct_CC=$ac_cv_prog_ac_ct_CC
    28161894if test -n "$ac_ct_CC"; then
    2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2818 $as_echo "$ac_ct_CC" >&6; }
    2819 else
    2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2821 $as_echo "no" >&6; }
    2822 fi
    2823 
     1895  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1896echo "${ECHO_T}$ac_ct_CC" >&6
     1897else
     1898  echo "$as_me:$LINENO: result: no" >&5
     1899echo "${ECHO_T}no" >&6
     1900fi
    28241901
    28251902  test -n "$ac_ct_CC" && break
    28261903done
    28271904
    2828   if test "x$ac_ct_CC" = x; then
    2829     CC=""
    2830   else
    2831     case $cross_compiling:$ac_tool_warned in
    2832 yes:)
    2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2835 ac_tool_warned=yes ;;
    2836 esac
    2837     CC=$ac_ct_CC
    2838   fi
    2839 fi
    2840 
    2841 fi
    2842 
    2843 
    2844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2846 as_fn_error $? "no acceptable C compiler found in \$PATH
    2847 See \`config.log' for more details" "$LINENO" 5 ; }
     1905  CC=$ac_ct_CC
     1906fi
     1907
     1908fi
     1909
     1910
     1911test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1912See \`config.log' for more details." >&5
     1913echo "$as_me: error: no acceptable C compiler found in \$PATH
     1914See \`config.log' for more details." >&2;}
     1915   { (exit 1); exit 1; }; }
    28481916
    28491917# Provide some information about the compiler.
    2850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    2851 set X $ac_compile
    2852 ac_compiler=$2
    2853 for ac_option in --version -v -V -qversion; do
    2854   { { ac_try="$ac_compiler $ac_option >&5"
    2855 case "(($ac_try" in
    2856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2857   *) ac_try_echo=$ac_try;;
    2858 esac
    2859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2860 $as_echo "$ac_try_echo"; } >&5
    2861   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    2862   ac_status=$?
    2863   if test -s conftest.err; then
    2864     sed '10a\
    2865 ... rest of stderr output deleted ...
    2866          10q' conftest.err >conftest.er1
    2867     cat conftest.er1 >&5
    2868   fi
    2869   rm -f conftest.er1 conftest.err
    2870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2871   test $ac_status = 0; }
    2872 done
    2873 
    2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1918echo "$as_me:$LINENO:" \
     1919     "checking for C compiler version" >&5
     1920ac_compiler=`set X $ac_compile; echo $2`
     1921{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1922  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1923  ac_status=$?
     1924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1925  (exit $ac_status); }
     1926{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1927  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1928  ac_status=$?
     1929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1930  (exit $ac_status); }
     1931{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1932  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1933  ac_status=$?
     1934  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1935  (exit $ac_status); }
     1936
     1937cat >conftest.$ac_ext <<_ACEOF
     1938/* confdefs.h.  */
     1939_ACEOF
     1940cat confdefs.h >>conftest.$ac_ext
     1941cat >>conftest.$ac_ext <<_ACEOF
    28751942/* end confdefs.h.  */
    28761943
     
    28841951_ACEOF
    28851952ac_clean_files_save=$ac_clean_files
    2886 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     1953ac_clean_files="$ac_clean_files a.out a.exe b.out"
    28871954# Try to create an executable without -o first, disregard a.out.
    28881955# It will help us diagnose broken compilers, and finding out an intuition
    28891956# of exeext.
    2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    2891 $as_echo_n "checking whether the C compiler works... " >&6; }
    2892 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2893 
    2894 # The possible output files:
    2895 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2896 
    2897 ac_rmfiles=
    2898 for ac_file in $ac_files
    2899 do
    2900   case $ac_file in
    2901     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2902     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2903   esac
    2904 done
    2905 rm -f $ac_rmfiles
    2906 
    2907 if { { ac_try="$ac_link_default"
    2908 case "(($ac_try" in
    2909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2910   *) ac_try_echo=$ac_try;;
    2911 esac
    2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2913 $as_echo "$ac_try_echo"; } >&5
    2914   (eval "$ac_link_default") 2>&5
    2915   ac_status=$?
    2916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2917   test $ac_status = 0; }; then :
    2918   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2919 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2920 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2921 # so that the user can short-circuit this test for compilers unknown to
    2922 # Autoconf.
    2923 for ac_file in $ac_files ''
     1957echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1958echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     1959ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     1960if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1961  (eval $ac_link_default) 2>&5
     1962  ac_status=$?
     1963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1964  (exit $ac_status); }; then
     1965  # Find the output, starting from the most likely.  This scheme is
     1966# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1967# resort.
     1968
     1969# Be careful to initialize this variable, since it used to be cached.
     1970# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1971ac_cv_exeext=
     1972# b.out is created by i960 compilers.
     1973for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    29241974do
    29251975  test -f "$ac_file" || continue
    29261976  case $ac_file in
    2927     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     1977    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1978    ;;
     1979    conftest.$ac_ext )
     1980    # This is the source file.
    29281981    ;;
    29291982    [ab].out )
     
    29321985    break;;
    29331986    *.* )
    2934     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2935     then :; else
    2936        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2937     fi
    2938     # We set ac_cv_exeext here because the later test for it is not
    2939     # safe: cross compilers may not add the suffix if given an `-o'
    2940     # argument, so we may need to know it at that point already.
    2941     # Even if this section looks crufty: it has the advantage of
    2942     # actually working.
     1987    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1988    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1989    # but it would be cool to find out if it's true.  Does anybody
     1990    # maintain Libtool? --akim.
     1991    export ac_cv_exeext
    29431992    break;;
    29441993    * )
     
    29461995  esac
    29471996done
    2948 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2949 
    2950 else
    2951   ac_file=''
    2952 fi
    2953 if test -z "$ac_file"; then :
    2954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2955 $as_echo "no" >&6; }
    2956 $as_echo "$as_me: failed program was:" >&5
     1997else
     1998  echo "$as_me: failed program was:" >&5
    29571999sed 's/^/| /' conftest.$ac_ext >&5
    29582000
    2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2961 as_fn_error 77 "C compiler cannot create executables
    2962 See \`config.log' for more details" "$LINENO" 5 ; }
    2963 else
    2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    2965 $as_echo "yes" >&6; }
    2966 fi
    2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    2968 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    2970 $as_echo "$ac_file" >&6; }
     2001{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     2002See \`config.log' for more details." >&5
     2003echo "$as_me: error: C compiler cannot create executables
     2004See \`config.log' for more details." >&2;}
     2005   { (exit 77); exit 77; }; }
     2006fi
     2007
    29712008ac_exeext=$ac_cv_exeext
    2972 
    2973 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2009echo "$as_me:$LINENO: result: $ac_file" >&5
     2010echo "${ECHO_T}$ac_file" >&6
     2011
     2012# Check the compiler produces executables we can run.  If not, either
     2013# the compiler is broken, or we cross compile.
     2014echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2015echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2016# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2017# If not cross compiling, check that we can run a simple program.
     2018if test "$cross_compiling" != yes; then
     2019  if { ac_try='./$ac_file'
     2020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2021  (eval $ac_try) 2>&5
     2022  ac_status=$?
     2023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2024  (exit $ac_status); }; }; then
     2025    cross_compiling=no
     2026  else
     2027    if test "$cross_compiling" = maybe; then
     2028    cross_compiling=yes
     2029    else
     2030    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2031If you meant to cross compile, use \`--host'.
     2032See \`config.log' for more details." >&5
     2033echo "$as_me: error: cannot run C compiled programs.
     2034If you meant to cross compile, use \`--host'.
     2035See \`config.log' for more details." >&2;}
     2036   { (exit 1); exit 1; }; }
     2037    fi
     2038  fi
     2039fi
     2040echo "$as_me:$LINENO: result: yes" >&5
     2041echo "${ECHO_T}yes" >&6
     2042
     2043rm -f a.out a.exe conftest$ac_cv_exeext b.out
    29742044ac_clean_files=$ac_clean_files_save
    2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    2976 $as_echo_n "checking for suffix of executables... " >&6; }
    2977 if { { ac_try="$ac_link"
    2978 case "(($ac_try" in
    2979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2980   *) ac_try_echo=$ac_try;;
    2981 esac
    2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2983 $as_echo "$ac_try_echo"; } >&5
    2984   (eval "$ac_link") 2>&5
    2985   ac_status=$?
    2986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2987   test $ac_status = 0; }; then :
     2045# Check the compiler produces executables we can run.  If not, either
     2046# the compiler is broken, or we cross compile.
     2047echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2048echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     2049echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2050echo "${ECHO_T}$cross_compiling" >&6
     2051
     2052echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2053echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     2054if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2055  (eval $ac_link) 2>&5
     2056  ac_status=$?
     2057  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2058  (exit $ac_status); }; then
    29882059  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    29892060# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29932064  test -f "$ac_file" || continue
    29942065  case $ac_file in
    2995     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2066    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    29962067    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2068      export ac_cv_exeext
    29972069      break;;
    29982070    * ) break;;
     
    30002072done
    30012073else
    3002   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3004 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3005 See \`config.log' for more details" "$LINENO" 5 ; }
    3006 fi
    3007 rm -f conftest conftest$ac_cv_exeext
    3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    3009 $as_echo "$ac_cv_exeext" >&6; }
     2074  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2075See \`config.log' for more details." >&5
     2076echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2077See \`config.log' for more details." >&2;}
     2078   { (exit 1); exit 1; }; }
     2079fi
     2080
     2081rm -f conftest$ac_cv_exeext
     2082echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2083echo "${ECHO_T}$ac_cv_exeext" >&6
    30102084
    30112085rm -f conftest.$ac_ext
    30122086EXEEXT=$ac_cv_exeext
    30132087ac_exeext=$EXEEXT
    3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2088echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2089echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2090if test "${ac_cv_objext+set}" = set; then
     2091  echo $ECHO_N "(cached) $ECHO_C" >&6
     2092else
     2093  cat >conftest.$ac_ext <<_ACEOF
     2094/* confdefs.h.  */
     2095_ACEOF
     2096cat confdefs.h >>conftest.$ac_ext
     2097cat >>conftest.$ac_ext <<_ACEOF
    30152098/* end confdefs.h.  */
    3016 #include <stdio.h>
     2099
    30172100int
    30182101main ()
    30192102{
    3020 FILE *f = fopen ("conftest.out", "w");
    3021  return ferror (f) || fclose (f) != 0;
    30222103
    30232104  ;
     
    30252106}
    30262107_ACEOF
    3027 ac_clean_files="$ac_clean_files conftest.out"
    3028 # Check that the compiler produces executables we can run.  If not, either
    3029 # the compiler is broken, or we cross compile.
    3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3031 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3032 if test "$cross_compiling" != yes; then
    3033   { { ac_try="$ac_link"
    3034 case "(($ac_try" in
    3035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3036   *) ac_try_echo=$ac_try;;
    3037 esac
    3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3039 $as_echo "$ac_try_echo"; } >&5
    3040   (eval "$ac_link") 2>&5
    3041   ac_status=$?
    3042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3043   test $ac_status = 0; }
    3044   if { ac_try='./conftest$ac_cv_exeext'
    3045   { { case "(($ac_try" in
    3046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3047   *) ac_try_echo=$ac_try;;
    3048 esac
    3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3050 $as_echo "$ac_try_echo"; } >&5
    3051   (eval "$ac_try") 2>&5
    3052   ac_status=$?
    3053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3054   test $ac_status = 0; }; }; then
    3055     cross_compiling=no
    3056   else
    3057     if test "$cross_compiling" = maybe; then
    3058     cross_compiling=yes
    3059     else
    3060     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3062 as_fn_error $? "cannot run C compiled programs.
    3063 If you meant to cross compile, use \`--host'.
    3064 See \`config.log' for more details" "$LINENO" 5 ; }
    3065     fi
    3066   fi
    3067 fi
    3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3069 $as_echo "$cross_compiling" >&6; }
    3070 
    3071 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3072 ac_clean_files=$ac_clean_files_save
    3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3074 $as_echo_n "checking for suffix of object files... " >&6; }
    3075 if test "${ac_cv_objext+set}" = set; then :
    3076   $as_echo_n "(cached) " >&6
    3077 else
    3078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3079 /* end confdefs.h.  */
    3080 
    3081 int
    3082 main ()
    3083 {
    3084 
    3085   ;
    3086   return 0;
    3087 }
    3088 _ACEOF
    30892108rm -f conftest.o conftest.obj
    3090 if { { ac_try="$ac_compile"
    3091 case "(($ac_try" in
    3092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3093   *) ac_try_echo=$ac_try;;
    3094 esac
    3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3096 $as_echo "$ac_try_echo"; } >&5
    3097   (eval "$ac_compile") 2>&5
    3098   ac_status=$?
    3099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3100   test $ac_status = 0; }; then :
    3101   for ac_file in conftest.o conftest.obj conftest.*; do
    3102   test -f "$ac_file" || continue;
     2109if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2110  (eval $ac_compile) 2>&5
     2111  ac_status=$?
     2112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2113  (exit $ac_status); }; then
     2114  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    31032115  case $ac_file in
    3104     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     2116    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    31052117    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    31062118       break;;
     
    31082120done
    31092121else
    3110   $as_echo "$as_me: failed program was:" >&5
     2122  echo "$as_me: failed program was:" >&5
    31112123sed 's/^/| /' conftest.$ac_ext >&5
    31122124
    3113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3115 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3116 See \`config.log' for more details" "$LINENO" 5 ; }
    3117 fi
     2125{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2126See \`config.log' for more details." >&5
     2127echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2128See \`config.log' for more details." >&2;}
     2129   { (exit 1); exit 1; }; }
     2130fi
     2131
    31182132rm -f conftest.$ac_cv_objext conftest.$ac_ext
    31192133fi
    3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    3121 $as_echo "$ac_cv_objext" >&6; }
     2134echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2135echo "${ECHO_T}$ac_cv_objext" >&6
    31222136OBJEXT=$ac_cv_objext
    31232137ac_objext=$OBJEXT
    3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    3125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3126 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    3127   $as_echo_n "(cached) " >&6
    3128 else
    3129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2138echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2139echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2140if test "${ac_cv_c_compiler_gnu+set}" = set; then
     2141  echo $ECHO_N "(cached) $ECHO_C" >&6
     2142else
     2143  cat >conftest.$ac_ext <<_ACEOF
     2144/* confdefs.h.  */
     2145_ACEOF
     2146cat confdefs.h >>conftest.$ac_ext
     2147cat >>conftest.$ac_ext <<_ACEOF
    31302148/* end confdefs.h.  */
    31312149
     
    31412159}
    31422160_ACEOF
    3143 if ac_fn_c_try_compile "$LINENO"; then :
     2161rm -f conftest.$ac_objext
     2162if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2163  (eval $ac_compile) 2>conftest.er1
     2164  ac_status=$?
     2165  grep -v '^ *+' conftest.er1 >conftest.err
     2166  rm -f conftest.er1
     2167  cat conftest.err >&5
     2168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2169  (exit $ac_status); } &&
     2170     { ac_try='test -z "$ac_c_werror_flag"
     2171             || test ! -s conftest.err'
     2172  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2173  (eval $ac_try) 2>&5
     2174  ac_status=$?
     2175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2176  (exit $ac_status); }; } &&
     2177     { ac_try='test -s conftest.$ac_objext'
     2178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2179  (eval $ac_try) 2>&5
     2180  ac_status=$?
     2181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2182  (exit $ac_status); }; }; then
    31442183  ac_compiler_gnu=yes
    31452184else
    3146   ac_compiler_gnu=no
    3147 fi
    3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2185  echo "$as_me: failed program was:" >&5
     2186sed 's/^/| /' conftest.$ac_ext >&5
     2187
     2188ac_compiler_gnu=no
     2189fi
     2190rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    31492191ac_cv_c_compiler_gnu=$ac_compiler_gnu
    31502192
    31512193fi
    3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    3153 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    3154 if test $ac_compiler_gnu = yes; then
    3155   GCC=yes
    3156 else
    3157   GCC=
    3158 fi
     2194echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2195echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2196GCC=`test $ac_compiler_gnu = yes && echo yes`
    31592197ac_test_CFLAGS=${CFLAGS+set}
    31602198ac_save_CFLAGS=$CFLAGS
    3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    3162 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    3163 if test "${ac_cv_prog_cc_g+set}" = set; then :
    3164   $as_echo_n "(cached) " >&6
    3165 else
    3166   ac_save_c_werror_flag=$ac_c_werror_flag
    3167    ac_c_werror_flag=yes
    3168    ac_cv_prog_cc_g=no
    3169    CFLAGS="-g"
    3170    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2199CFLAGS="-g"
     2200echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2201echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2202if test "${ac_cv_prog_cc_g+set}" = set; then
     2203  echo $ECHO_N "(cached) $ECHO_C" >&6
     2204else
     2205  cat >conftest.$ac_ext <<_ACEOF
     2206/* confdefs.h.  */
     2207_ACEOF
     2208cat confdefs.h >>conftest.$ac_ext
     2209cat >>conftest.$ac_ext <<_ACEOF
    31712210/* end confdefs.h.  */
    31722211
     
    31792218}
    31802219_ACEOF
    3181 if ac_fn_c_try_compile "$LINENO"; then :
     2220rm -f conftest.$ac_objext
     2221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2222  (eval $ac_compile) 2>conftest.er1
     2223  ac_status=$?
     2224  grep -v '^ *+' conftest.er1 >conftest.err
     2225  rm -f conftest.er1
     2226  cat conftest.err >&5
     2227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2228  (exit $ac_status); } &&
     2229     { ac_try='test -z "$ac_c_werror_flag"
     2230             || test ! -s conftest.err'
     2231  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2232  (eval $ac_try) 2>&5
     2233  ac_status=$?
     2234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2235  (exit $ac_status); }; } &&
     2236     { ac_try='test -s conftest.$ac_objext'
     2237  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2238  (eval $ac_try) 2>&5
     2239  ac_status=$?
     2240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2241  (exit $ac_status); }; }; then
    31822242  ac_cv_prog_cc_g=yes
    31832243else
    3184   CFLAGS=""
    3185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3186 /* end confdefs.h.  */
    3187 
    3188 int
    3189 main ()
    3190 {
    3191 
    3192   ;
    3193   return 0;
    3194 }
    3195 _ACEOF
    3196 if ac_fn_c_try_compile "$LINENO"; then :
    3197 
    3198 else
    3199   ac_c_werror_flag=$ac_save_c_werror_flag
    3200      CFLAGS="-g"
    3201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3202 /* end confdefs.h.  */
    3203 
    3204 int
    3205 main ()
    3206 {
    3207 
    3208   ;
    3209   return 0;
    3210 }
    3211 _ACEOF
    3212 if ac_fn_c_try_compile "$LINENO"; then :
    3213   ac_cv_prog_cc_g=yes
    3214 fi
    3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3216 fi
    3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3218 fi
    3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3220    ac_c_werror_flag=$ac_save_c_werror_flag
    3221 fi
    3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    3223 $as_echo "$ac_cv_prog_cc_g" >&6; }
     2244  echo "$as_me: failed program was:" >&5
     2245sed 's/^/| /' conftest.$ac_ext >&5
     2246
     2247ac_cv_prog_cc_g=no
     2248fi
     2249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2250fi
     2251echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2252echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    32242253if test "$ac_test_CFLAGS" = set; then
    32252254  CFLAGS=$ac_save_CFLAGS
     
    32372266  fi
    32382267fi
    3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    3240 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3241 if test "${ac_cv_prog_cc_c89+set}" = set; then :
    3242   $as_echo_n "(cached) " >&6
    3243 else
    3244   ac_cv_prog_cc_c89=no
     2268echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2269echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2270if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2271  echo $ECHO_N "(cached) $ECHO_C" >&6
     2272else
     2273  ac_cv_prog_cc_stdc=no
    32452274ac_save_CC=$CC
    3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2275cat >conftest.$ac_ext <<_ACEOF
     2276/* confdefs.h.  */
     2277_ACEOF
     2278cat confdefs.h >>conftest.$ac_ext
     2279cat >>conftest.$ac_ext <<_ACEOF
    32472280/* end confdefs.h.  */
    32482281#include <stdarg.h>
     
    32722305   function prototypes and stuff, but not '\xHH' hex character constants.
    32732306   These don't provoke an error unfortunately, instead are silently treated
    3274    as 'x'.  The following induces an error, until -std is added to get
     2307   as 'x'.  The following induces an error, until -std1 is added to get
    32752308   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    32762309   array size at least.  It's necessary to write '\x00'==0 to get something
    3277    that's true only with -std.  */
     2310   that's true only with -std1.  */
    32782311int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3279 
    3280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3281    inside strings and character constants.  */
    3282 #define FOO(x) 'x'
    3283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    32842312
    32852313int test (int i, double x);
     
    32972325}
    32982326_ACEOF
    3299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3300     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2327# Don't try gcc -ansi; that turns off useful extensions and
     2328# breaks some systems' header files.
     2329# AIX           -qlanglvl=ansi
     2330# Ultrix and OSF/1  -std1
     2331# HP-UX 10.20 and later -Ae
     2332# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2333# SVR4          -Xc -D__EXTENSIONS__
     2334for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    33012335do
    33022336  CC="$ac_save_CC $ac_arg"
    3303   if ac_fn_c_try_compile "$LINENO"; then :
    3304   ac_cv_prog_cc_c89=$ac_arg
    3305 fi
    3306 rm -f core conftest.err conftest.$ac_objext
    3307   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2337  rm -f conftest.$ac_objext
     2338if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2339  (eval $ac_compile) 2>conftest.er1
     2340  ac_status=$?
     2341  grep -v '^ *+' conftest.er1 >conftest.err
     2342  rm -f conftest.er1
     2343  cat conftest.err >&5
     2344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2345  (exit $ac_status); } &&
     2346     { ac_try='test -z "$ac_c_werror_flag"
     2347             || test ! -s conftest.err'
     2348  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2349  (eval $ac_try) 2>&5
     2350  ac_status=$?
     2351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2352  (exit $ac_status); }; } &&
     2353     { ac_try='test -s conftest.$ac_objext'
     2354  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2355  (eval $ac_try) 2>&5
     2356  ac_status=$?
     2357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2358  (exit $ac_status); }; }; then
     2359  ac_cv_prog_cc_stdc=$ac_arg
     2360break
     2361else
     2362  echo "$as_me: failed program was:" >&5
     2363sed 's/^/| /' conftest.$ac_ext >&5
     2364
     2365fi
     2366rm -f conftest.err conftest.$ac_objext
    33082367done
    3309 rm -f conftest.$ac_ext
     2368rm -f conftest.$ac_ext conftest.$ac_objext
    33102369CC=$ac_save_CC
    33112370
    33122371fi
    3313 # AC_CACHE_VAL
    3314 case "x$ac_cv_prog_cc_c89" in
    3315   x)
    3316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    3317 $as_echo "none needed" >&6; } ;;
    3318   xno)
    3319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    3320 $as_echo "unsupported" >&6; } ;;
     2372
     2373case "x$ac_cv_prog_cc_stdc" in
     2374  x|xno)
     2375    echo "$as_me:$LINENO: result: none needed" >&5
     2376echo "${ECHO_T}none needed" >&6 ;;
    33212377  *)
    3322     CC="$CC $ac_cv_prog_cc_c89"
    3323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    3324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     2378    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2379echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2380    CC="$CC $ac_cv_prog_cc_stdc" ;;
    33252381esac
    3326 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3327 
    3328 fi
    3329 
     2382
     2383# Some people use a C++ compiler to compile C.  Since we use `exit',
     2384# in C++ we need to declare it.  In case someone uses the same compiler
     2385# for both compiling C and C++ we need to have the C++ compiler decide
     2386# the declaration of exit, since it's the most demanding environment.
     2387cat >conftest.$ac_ext <<_ACEOF
     2388#ifndef __cplusplus
     2389  choke me
     2390#endif
     2391_ACEOF
     2392rm -f conftest.$ac_objext
     2393if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2394  (eval $ac_compile) 2>conftest.er1
     2395  ac_status=$?
     2396  grep -v '^ *+' conftest.er1 >conftest.err
     2397  rm -f conftest.er1
     2398  cat conftest.err >&5
     2399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2400  (exit $ac_status); } &&
     2401     { ac_try='test -z "$ac_c_werror_flag"
     2402             || test ! -s conftest.err'
     2403  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2404  (eval $ac_try) 2>&5
     2405  ac_status=$?
     2406  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2407  (exit $ac_status); }; } &&
     2408     { ac_try='test -s conftest.$ac_objext'
     2409  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2410  (eval $ac_try) 2>&5
     2411  ac_status=$?
     2412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2413  (exit $ac_status); }; }; then
     2414  for ac_declaration in \
     2415   '' \
     2416   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2417   'extern "C" void std::exit (int); using std::exit;' \
     2418   'extern "C" void exit (int) throw ();' \
     2419   'extern "C" void exit (int);' \
     2420   'void exit (int);'
     2421do
     2422  cat >conftest.$ac_ext <<_ACEOF
     2423/* confdefs.h.  */
     2424_ACEOF
     2425cat confdefs.h >>conftest.$ac_ext
     2426cat >>conftest.$ac_ext <<_ACEOF
     2427/* end confdefs.h.  */
     2428$ac_declaration
     2429#include <stdlib.h>
     2430int
     2431main ()
     2432{
     2433exit (42);
     2434  ;
     2435  return 0;
     2436}
     2437_ACEOF
     2438rm -f conftest.$ac_objext
     2439if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2440  (eval $ac_compile) 2>conftest.er1
     2441  ac_status=$?
     2442  grep -v '^ *+' conftest.er1 >conftest.err
     2443  rm -f conftest.er1
     2444  cat conftest.err >&5
     2445  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2446  (exit $ac_status); } &&
     2447     { ac_try='test -z "$ac_c_werror_flag"
     2448             || test ! -s conftest.err'
     2449  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2450  (eval $ac_try) 2>&5
     2451  ac_status=$?
     2452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2453  (exit $ac_status); }; } &&
     2454     { ac_try='test -s conftest.$ac_objext'
     2455  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2456  (eval $ac_try) 2>&5
     2457  ac_status=$?
     2458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2459  (exit $ac_status); }; }; then
     2460  :
     2461else
     2462  echo "$as_me: failed program was:" >&5
     2463sed 's/^/| /' conftest.$ac_ext >&5
     2464
     2465continue
     2466fi
     2467rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2468  cat >conftest.$ac_ext <<_ACEOF
     2469/* confdefs.h.  */
     2470_ACEOF
     2471cat confdefs.h >>conftest.$ac_ext
     2472cat >>conftest.$ac_ext <<_ACEOF
     2473/* end confdefs.h.  */
     2474$ac_declaration
     2475int
     2476main ()
     2477{
     2478exit (42);
     2479  ;
     2480  return 0;
     2481}
     2482_ACEOF
     2483rm -f conftest.$ac_objext
     2484if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2485  (eval $ac_compile) 2>conftest.er1
     2486  ac_status=$?
     2487  grep -v '^ *+' conftest.er1 >conftest.err
     2488  rm -f conftest.er1
     2489  cat conftest.err >&5
     2490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2491  (exit $ac_status); } &&
     2492     { ac_try='test -z "$ac_c_werror_flag"
     2493             || test ! -s conftest.err'
     2494  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2495  (eval $ac_try) 2>&5
     2496  ac_status=$?
     2497  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2498  (exit $ac_status); }; } &&
     2499     { ac_try='test -s conftest.$ac_objext'
     2500  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2501  (eval $ac_try) 2>&5
     2502  ac_status=$?
     2503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2504  (exit $ac_status); }; }; then
     2505  break
     2506else
     2507  echo "$as_me: failed program was:" >&5
     2508sed 's/^/| /' conftest.$ac_ext >&5
     2509
     2510fi
     2511rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2512done
     2513rm -f conftest*
     2514if test -n "$ac_declaration"; then
     2515  echo '#ifdef __cplusplus' >>confdefs.h
     2516  echo $ac_declaration      >>confdefs.h
     2517  echo '#endif'             >>confdefs.h
     2518fi
     2519
     2520else
     2521  echo "$as_me: failed program was:" >&5
     2522sed 's/^/| /' conftest.$ac_ext >&5
     2523
     2524fi
     2525rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    33302526ac_ext=c
    33312527ac_cpp='$CPP $CPPFLAGS'
     
    33342530ac_compiler_gnu=$ac_cv_c_compiler_gnu
    33352531
    3336 ac_ext=cpp
     2532ac_ext=cc
    33372533ac_cpp='$CXXCPP $CPPFLAGS'
    33382534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    33392535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    33402536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3341 if test -z "$CXX"; then
    3342   if test -n "$CCC"; then
    3343     CXX=$CCC
    3344   else
    3345     if test -n "$ac_tool_prefix"; then
    3346   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2537if test -n "$ac_tool_prefix"; then
     2538  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    33472539  do
    33482540    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33492541set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3351 $as_echo_n "checking for $ac_word... " >&6; }
    3352 if test "${ac_cv_prog_CXX+set}" = set; then :
    3353   $as_echo_n "(cached) " >&6
     2542echo "$as_me:$LINENO: checking for $ac_word" >&5
     2543echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2544if test "${ac_cv_prog_CXX+set}" = set; then
     2545  echo $ECHO_N "(cached) $ECHO_C" >&6
    33542546else
    33552547  if test -n "$CXX"; then
     
    33612553  IFS=$as_save_IFS
    33622554  test -z "$as_dir" && as_dir=.
    3363     for ac_exec_ext in '' $ac_executable_extensions; do
    3364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2555  for ac_exec_ext in '' $ac_executable_extensions; do
     2556  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33652557    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2558    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33672559    break 2
    33682560  fi
    33692561done
    3370   done
    3371 IFS=$as_save_IFS
     2562done
    33722563
    33732564fi
     
    33752566CXX=$ac_cv_prog_CXX
    33762567if test -n "$CXX"; then
    3377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    3378 $as_echo "$CXX" >&6; }
    3379 else
    3380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3381 $as_echo "no" >&6; }
    3382 fi
    3383 
     2568  echo "$as_me:$LINENO: result: $CXX" >&5
     2569echo "${ECHO_T}$CXX" >&6
     2570else
     2571  echo "$as_me:$LINENO: result: no" >&5
     2572echo "${ECHO_T}no" >&6
     2573fi
    33842574
    33852575    test -n "$CXX" && break
     
    33882578if test -z "$CXX"; then
    33892579  ac_ct_CXX=$CXX
    3390   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2580  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    33912581do
    33922582  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33932583set dummy $ac_prog; ac_word=$2
    3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3395 $as_echo_n "checking for $ac_word... " >&6; }
    3396 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
    3397   $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_ac_ct_CXX+set}" = set; then
     2587  echo $ECHO_N "(cached) $ECHO_C" >&6
    33982588else
    33992589  if test -n "$ac_ct_CXX"; then
     
    34052595  IFS=$as_save_IFS
    34062596  test -z "$as_dir" && as_dir=.
    3407     for ac_exec_ext in '' $ac_executable_extensions; do
    3408   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
    34092599    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3410     $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
    34112601    break 2
    34122602  fi
    34132603done
    3414   done
    3415 IFS=$as_save_IFS
     2604done
    34162605
    34172606fi
     
    34192608ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34202609if test -n "$ac_ct_CXX"; then
    3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    3422 $as_echo "$ac_ct_CXX" >&6; }
    3423 else
    3424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3425 $as_echo "no" >&6; }
    3426 fi
    3427 
     2610  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2611echo "${ECHO_T}$ac_ct_CXX" >&6
     2612else
     2613  echo "$as_me:$LINENO: result: no" >&5
     2614echo "${ECHO_T}no" >&6
     2615fi
    34282616
    34292617  test -n "$ac_ct_CXX" && break
    34302618done
    3431 
    3432   if test "x$ac_ct_CXX" = x; then
    3433     CXX="g++"
    3434   else
    3435     case $cross_compiling:$ac_tool_warned in
    3436 yes:)
    3437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    3438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    3439 ac_tool_warned=yes ;;
    3440 esac
    3441     CXX=$ac_ct_CXX
    3442   fi
    3443 fi
    3444 
    3445   fi
    3446 fi
     2619test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2620
     2621  CXX=$ac_ct_CXX
     2622fi
     2623
     2624
    34472625# Provide some information about the compiler.
    3448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    3449 set X $ac_compile
    3450 ac_compiler=$2
    3451 for ac_option in --version -v -V -qversion; do
    3452   { { ac_try="$ac_compiler $ac_option >&5"
    3453 case "(($ac_try" in
    3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3455   *) ac_try_echo=$ac_try;;
    3456 esac
    3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3458 $as_echo "$ac_try_echo"; } >&5
    3459   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    3460   ac_status=$?
    3461   if test -s conftest.err; then
    3462     sed '10a\
    3463 ... rest of stderr output deleted ...
    3464          10q' conftest.err >conftest.er1
    3465     cat conftest.er1 >&5
    3466   fi
    3467   rm -f conftest.er1 conftest.err
    3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3469   test $ac_status = 0; }
    3470 done
    3471 
    3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    3473 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3474 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
    3475   $as_echo_n "(cached) " >&6
    3476 else
    3477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2626echo "$as_me:$LINENO:" \
     2627     "checking for C++ compiler version" >&5
     2628ac_compiler=`set X $ac_compile; echo $2`
     2629{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2630  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2631  ac_status=$?
     2632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2633  (exit $ac_status); }
     2634{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2635  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2636  ac_status=$?
     2637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2638  (exit $ac_status); }
     2639{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2640  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2641  ac_status=$?
     2642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2643  (exit $ac_status); }
     2644
     2645echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2646echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2647if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2648  echo $ECHO_N "(cached) $ECHO_C" >&6
     2649else
     2650  cat >conftest.$ac_ext <<_ACEOF
     2651/* confdefs.h.  */
     2652_ACEOF
     2653cat confdefs.h >>conftest.$ac_ext
     2654cat >>conftest.$ac_ext <<_ACEOF
    34782655/* end confdefs.h.  */
    34792656
     
    34892666}
    34902667_ACEOF
    3491 if ac_fn_cxx_try_compile "$LINENO"; then :
     2668rm -f conftest.$ac_objext
     2669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2670  (eval $ac_compile) 2>conftest.er1
     2671  ac_status=$?
     2672  grep -v '^ *+' conftest.er1 >conftest.err
     2673  rm -f conftest.er1
     2674  cat conftest.err >&5
     2675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2676  (exit $ac_status); } &&
     2677     { ac_try='test -z "$ac_cxx_werror_flag"
     2678             || test ! -s conftest.err'
     2679  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2680  (eval $ac_try) 2>&5
     2681  ac_status=$?
     2682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2683  (exit $ac_status); }; } &&
     2684     { ac_try='test -s conftest.$ac_objext'
     2685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2686  (eval $ac_try) 2>&5
     2687  ac_status=$?
     2688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2689  (exit $ac_status); }; }; then
    34922690  ac_compiler_gnu=yes
    34932691else
    3494   ac_compiler_gnu=no
    3495 fi
    3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2692  echo "$as_me: failed program was:" >&5
     2693sed 's/^/| /' conftest.$ac_ext >&5
     2694
     2695ac_compiler_gnu=no
     2696fi
     2697rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    34972698ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    34982699
    34992700fi
    3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    3501 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    3502 if test $ac_compiler_gnu = yes; then
    3503   GXX=yes
    3504 else
    3505   GXX=
    3506 fi
     2701echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2702echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2703GXX=`test $ac_compiler_gnu = yes && echo yes`
    35072704ac_test_CXXFLAGS=${CXXFLAGS+set}
    35082705ac_save_CXXFLAGS=$CXXFLAGS
    3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    3510 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3511 if test "${ac_cv_prog_cxx_g+set}" = set; then :
    3512   $as_echo_n "(cached) " >&6
    3513 else
    3514   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3515    ac_cxx_werror_flag=yes
    3516    ac_cv_prog_cxx_g=no
    3517    CXXFLAGS="-g"
    3518    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2706CXXFLAGS="-g"
     2707echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2708echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2709if test "${ac_cv_prog_cxx_g+set}" = set; then
     2710  echo $ECHO_N "(cached) $ECHO_C" >&6
     2711else
     2712  cat >conftest.$ac_ext <<_ACEOF
     2713/* confdefs.h.  */
     2714_ACEOF
     2715cat confdefs.h >>conftest.$ac_ext
     2716cat >>conftest.$ac_ext <<_ACEOF
    35192717/* end confdefs.h.  */
    35202718
     
    35272725}
    35282726_ACEOF
    3529 if ac_fn_cxx_try_compile "$LINENO"; then :
     2727rm -f conftest.$ac_objext
     2728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2729  (eval $ac_compile) 2>conftest.er1
     2730  ac_status=$?
     2731  grep -v '^ *+' conftest.er1 >conftest.err
     2732  rm -f conftest.er1
     2733  cat conftest.err >&5
     2734  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2735  (exit $ac_status); } &&
     2736     { ac_try='test -z "$ac_cxx_werror_flag"
     2737             || test ! -s conftest.err'
     2738  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2739  (eval $ac_try) 2>&5
     2740  ac_status=$?
     2741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2742  (exit $ac_status); }; } &&
     2743     { ac_try='test -s conftest.$ac_objext'
     2744  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2745  (eval $ac_try) 2>&5
     2746  ac_status=$?
     2747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2748  (exit $ac_status); }; }; then
    35302749  ac_cv_prog_cxx_g=yes
    35312750else
    3532   CXXFLAGS=""
    3533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3534 /* end confdefs.h.  */
    3535 
    3536 int
    3537 main ()
    3538 {
    3539 
    3540   ;
    3541   return 0;
    3542 }
    3543 _ACEOF
    3544 if ac_fn_cxx_try_compile "$LINENO"; then :
    3545 
    3546 else
    3547   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3548      CXXFLAGS="-g"
    3549      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3550 /* end confdefs.h.  */
    3551 
    3552 int
    3553 main ()
    3554 {
    3555 
    3556   ;
    3557   return 0;
    3558 }
    3559 _ACEOF
    3560 if ac_fn_cxx_try_compile "$LINENO"; then :
    3561   ac_cv_prog_cxx_g=yes
    3562 fi
    3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3564 fi
    3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3566 fi
    3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3568    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3569 fi
    3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    3571 $as_echo "$ac_cv_prog_cxx_g" >&6; }
     2751  echo "$as_me: failed program was:" >&5
     2752sed 's/^/| /' conftest.$ac_ext >&5
     2753
     2754ac_cv_prog_cxx_g=no
     2755fi
     2756rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2757fi
     2758echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2759echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    35722760if test "$ac_test_CXXFLAGS" = set; then
    35732761  CXXFLAGS=$ac_save_CXXFLAGS
     
    35852773  fi
    35862774fi
     2775for ac_declaration in \
     2776   '' \
     2777   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2778   'extern "C" void std::exit (int); using std::exit;' \
     2779   'extern "C" void exit (int) throw ();' \
     2780   'extern "C" void exit (int);' \
     2781   'void exit (int);'
     2782do
     2783  cat >conftest.$ac_ext <<_ACEOF
     2784/* confdefs.h.  */
     2785_ACEOF
     2786cat confdefs.h >>conftest.$ac_ext
     2787cat >>conftest.$ac_ext <<_ACEOF
     2788/* end confdefs.h.  */
     2789$ac_declaration
     2790#include <stdlib.h>
     2791int
     2792main ()
     2793{
     2794exit (42);
     2795  ;
     2796  return 0;
     2797}
     2798_ACEOF
     2799rm -f conftest.$ac_objext
     2800if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2801  (eval $ac_compile) 2>conftest.er1
     2802  ac_status=$?
     2803  grep -v '^ *+' conftest.er1 >conftest.err
     2804  rm -f conftest.er1
     2805  cat conftest.err >&5
     2806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2807  (exit $ac_status); } &&
     2808     { ac_try='test -z "$ac_cxx_werror_flag"
     2809             || test ! -s conftest.err'
     2810  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2811  (eval $ac_try) 2>&5
     2812  ac_status=$?
     2813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2814  (exit $ac_status); }; } &&
     2815     { ac_try='test -s conftest.$ac_objext'
     2816  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2817  (eval $ac_try) 2>&5
     2818  ac_status=$?
     2819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2820  (exit $ac_status); }; }; then
     2821  :
     2822else
     2823  echo "$as_me: failed program was:" >&5
     2824sed 's/^/| /' conftest.$ac_ext >&5
     2825
     2826continue
     2827fi
     2828rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2829  cat >conftest.$ac_ext <<_ACEOF
     2830/* confdefs.h.  */
     2831_ACEOF
     2832cat confdefs.h >>conftest.$ac_ext
     2833cat >>conftest.$ac_ext <<_ACEOF
     2834/* end confdefs.h.  */
     2835$ac_declaration
     2836int
     2837main ()
     2838{
     2839exit (42);
     2840  ;
     2841  return 0;
     2842}
     2843_ACEOF
     2844rm -f conftest.$ac_objext
     2845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2846  (eval $ac_compile) 2>conftest.er1
     2847  ac_status=$?
     2848  grep -v '^ *+' conftest.er1 >conftest.err
     2849  rm -f conftest.er1
     2850  cat conftest.err >&5
     2851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2852  (exit $ac_status); } &&
     2853     { ac_try='test -z "$ac_cxx_werror_flag"
     2854             || test ! -s conftest.err'
     2855  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2856  (eval $ac_try) 2>&5
     2857  ac_status=$?
     2858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2859  (exit $ac_status); }; } &&
     2860     { ac_try='test -s conftest.$ac_objext'
     2861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2862  (eval $ac_try) 2>&5
     2863  ac_status=$?
     2864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2865  (exit $ac_status); }; }; then
     2866  break
     2867else
     2868  echo "$as_me: failed program was:" >&5
     2869sed 's/^/| /' conftest.$ac_ext >&5
     2870
     2871fi
     2872rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2873done
     2874rm -f conftest*
     2875if test -n "$ac_declaration"; then
     2876  echo '#ifdef __cplusplus' >>confdefs.h
     2877  echo $ac_declaration      >>confdefs.h
     2878  echo '#endif'             >>confdefs.h
     2879fi
     2880
    35872881ac_ext=c
    35882882ac_cpp='$CPP $CPPFLAGS'
     
    36002894  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36012895set dummy $ac_prog; ac_word=$2
    3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3603 $as_echo_n "checking for $ac_word... " >&6; }
    3604 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3605   $as_echo_n "(cached) " >&6
     2896echo "$as_me:$LINENO: checking for $ac_word" >&5
     2897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2898if test "${ac_cv_prog_JAVAC+set}" = set; then
     2899  echo $ECHO_N "(cached) $ECHO_C" >&6
    36062900else
    36072901  if test -n "$JAVAC"; then
     
    36132907  IFS=$as_save_IFS
    36142908  test -z "$as_dir" && as_dir=.
    3615     for ac_exec_ext in '' $ac_executable_extensions; do
    3616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2909  for ac_exec_ext in '' $ac_executable_extensions; do
     2910  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36172911    ac_cv_prog_JAVAC="$ac_prog"
    3618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2912    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36192913    break 2
    36202914  fi
    36212915done
    3622   done
    3623 IFS=$as_save_IFS
     2916done
    36242917
    36252918fi
     
    36272920JAVAC=$ac_cv_prog_JAVAC
    36282921if test -n "$JAVAC"; then
    3629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3630 $as_echo "$JAVAC" >&6; }
    3631 else
    3632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3633 $as_echo "no" >&6; }
    3634 fi
    3635 
     2922  echo "$as_me:$LINENO: result: $JAVAC" >&5
     2923echo "${ECHO_T}$JAVAC" >&6
     2924else
     2925  echo "$as_me:$LINENO: result: no" >&5
     2926echo "${ECHO_T}no" >&6
     2927fi
    36362928
    36372929  test -n "$JAVAC" && break
     
    36432935  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36442936set dummy $ac_prog; ac_word=$2
    3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3646 $as_echo_n "checking for $ac_word... " >&6; }
    3647 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3648   $as_echo_n "(cached) " >&6
     2937echo "$as_me:$LINENO: checking for $ac_word" >&5
     2938echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2939if test "${ac_cv_prog_JAVAC+set}" = set; then
     2940  echo $ECHO_N "(cached) $ECHO_C" >&6
    36492941else
    36502942  if test -n "$JAVAC"; then
     
    36562948  IFS=$as_save_IFS
    36572949  test -z "$as_dir" && as_dir=.
    3658     for ac_exec_ext in '' $ac_executable_extensions; do
    3659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2950  for ac_exec_ext in '' $ac_executable_extensions; do
     2951  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36602952    ac_cv_prog_JAVAC="$ac_prog"
    3661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2953    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36622954    break 2
    36632955  fi
    36642956done
    3665   done
    3666 IFS=$as_save_IFS
     2957done
    36672958
    36682959fi
     
    36702961JAVAC=$ac_cv_prog_JAVAC
    36712962if test -n "$JAVAC"; then
    3672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3673 $as_echo "$JAVAC" >&6; }
    3674 else
    3675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3676 $as_echo "no" >&6; }
    3677 fi
    3678 
     2963  echo "$as_me:$LINENO: result: $JAVAC" >&5
     2964echo "${ECHO_T}$JAVAC" >&6
     2965else
     2966  echo "$as_me:$LINENO: result: no" >&5
     2967echo "${ECHO_T}no" >&6
     2968fi
    36792969
    36802970  test -n "$JAVAC" && break
     
    36832973
    36842974  fi
    3685   test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
     2975  test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     2976echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     2977   { (exit 1); exit 1; }; }
    36862978else
    36872979  echo "Checking for javac... $JAVAC"
     
    36902982
    36912983
    3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    3693 $as_echo_n "checking if $JAVAC works... " >&6; }
    3694 if test "${ac_cv_prog_javac_works+set}" = set; then :
    3695   $as_echo_n "(cached) " >&6
     2984echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     2985echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     2986if test "${ac_cv_prog_javac_works+set}" = set; then
     2987  echo $ECHO_N "(cached) $ECHO_C" >&6
    36962988else
    36972989
     
    36992991CLASS_TEST=Test.class
    37002992cat << \EOF > $JAVA_TEST
    3701 /* #line 3701 "configure" */
     2993/* #line 2993 "configure" */
    37022994public class Test {
    37032995}
    37042996EOF
    37052997if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3706   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3707   (eval $ac_try) 2>&5
    3708   ac_status=$?
    3709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3710   test $ac_status = 0; }; } >/dev/null 2>&1; then
     2998  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2999  (eval $ac_try) 2>&5
     3000  ac_status=$?
     3001  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3002  (exit $ac_status); }; } >/dev/null 2>&1; then
    37113003  ac_cv_prog_javac_works=yes
    37123004else
    3713   as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3005  { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3006echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3007   { (exit 1); exit 1; }; }
    37143008  echo "configure: failed program was:" >&5
    37153009  cat $JAVA_TEST >&5
     
    37183012
    37193013fi
    3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    3721 $as_echo "$ac_cv_prog_javac_works" >&6; }
     3014echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3015echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    37223016if test "x$JAVACFLAGS" = x ; then
    37233017  JAVACFLAGS="-source 1.4 -target 1.4"
     
    37333027  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37343028set dummy $ac_prog; ac_word=$2
    3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3736 $as_echo_n "checking for $ac_word... " >&6; }
    3737 if test "${ac_cv_prog_JAVA+set}" = set; then :
    3738   $as_echo_n "(cached) " >&6
     3029echo "$as_me:$LINENO: checking for $ac_word" >&5
     3030echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3031if test "${ac_cv_prog_JAVA+set}" = set; then
     3032  echo $ECHO_N "(cached) $ECHO_C" >&6
    37393033else
    37403034  if test -n "$JAVA"; then
     
    37463040  IFS=$as_save_IFS
    37473041  test -z "$as_dir" && as_dir=.
    3748     for ac_exec_ext in '' $ac_executable_extensions; do
    3749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3042  for ac_exec_ext in '' $ac_executable_extensions; do
     3043  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37503044    ac_cv_prog_JAVA="$ac_prog"
    3751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3045    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37523046    break 2
    37533047  fi
    37543048done
    3755   done
    3756 IFS=$as_save_IFS
     3049done
    37573050
    37583051fi
     
    37603053JAVA=$ac_cv_prog_JAVA
    37613054if test -n "$JAVA"; then
    3762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    3763 $as_echo "$JAVA" >&6; }
    3764 else
    3765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3766 $as_echo "no" >&6; }
    3767 fi
    3768 
     3055  echo "$as_me:$LINENO: result: $JAVA" >&5
     3056echo "${ECHO_T}$JAVA" >&6
     3057else
     3058  echo "$as_me:$LINENO: result: no" >&5
     3059echo "${ECHO_T}no" >&6
     3060fi
    37693061
    37703062  test -n "$JAVA" && break
     
    37763068  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37773069set dummy $ac_prog; ac_word=$2
    3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3779 $as_echo_n "checking for $ac_word... " >&6; }
    3780 if test "${ac_cv_prog_JAVA+set}" = set; then :
    3781   $as_echo_n "(cached) " >&6
     3070echo "$as_me:$LINENO: checking for $ac_word" >&5
     3071echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3072if test "${ac_cv_prog_JAVA+set}" = set; then
     3073  echo $ECHO_N "(cached) $ECHO_C" >&6
    37823074else
    37833075  if test -n "$JAVA"; then
     
    37893081  IFS=$as_save_IFS
    37903082  test -z "$as_dir" && as_dir=.
    3791     for ac_exec_ext in '' $ac_executable_extensions; do
    3792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3083  for ac_exec_ext in '' $ac_executable_extensions; do
     3084  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37933085    ac_cv_prog_JAVA="$ac_prog"
    3794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3086    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37953087    break 2
    37963088  fi
    37973089done
    3798   done
    3799 IFS=$as_save_IFS
     3090done
    38003091
    38013092fi
     
    38033094JAVA=$ac_cv_prog_JAVA
    38043095if test -n "$JAVA"; then
    3805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    3806 $as_echo "$JAVA" >&6; }
    3807 else
    3808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3809 $as_echo "no" >&6; }
    3810 fi
    3811 
     3096  echo "$as_me:$LINENO: result: $JAVA" >&5
     3097echo "${ECHO_T}$JAVA" >&6
     3098else
     3099  echo "$as_me:$LINENO: result: no" >&5
     3100echo "${ECHO_T}no" >&6
     3101fi
    38123102
    38133103  test -n "$JAVA" && break
     
    38163106
    38173107    fi
    3818     test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
     3108    test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
     3109echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
     3110   { (exit 1); exit 1; }; }
    38193111fi
    38203112
     
    38223114# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    38233115set dummy uudecode$EXEEXT; ac_word=$2
    3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3825 $as_echo_n "checking for $ac_word... " >&6; }
    3826 if test "${ac_cv_prog_uudecode+set}" = set; then :
    3827   $as_echo_n "(cached) " >&6
     3116echo "$as_me:$LINENO: checking for $ac_word" >&5
     3117echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3118if test "${ac_cv_prog_uudecode+set}" = set; then
     3119  echo $ECHO_N "(cached) $ECHO_C" >&6
    38283120else
    38293121  if test -n "$uudecode"; then
     
    38353127  IFS=$as_save_IFS
    38363128  test -z "$as_dir" && as_dir=.
    3837     for ac_exec_ext in '' $ac_executable_extensions; do
    3838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3129  for ac_exec_ext in '' $ac_executable_extensions; do
     3130  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38393131    ac_cv_prog_uudecode="yes"
    3840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3132    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    38413133    break 2
    38423134  fi
    38433135done
    3844   done
    3845 IFS=$as_save_IFS
     3136done
    38463137
    38473138fi
     
    38493140uudecode=$ac_cv_prog_uudecode
    38503141if test -n "$uudecode"; then
    3851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
    3852 $as_echo "$uudecode" >&6; }
    3853 else
    3854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3855 $as_echo "no" >&6; }
    3856 fi
    3857 
     3142  echo "$as_me:$LINENO: result: $uudecode" >&5
     3143echo "${ECHO_T}$uudecode" >&6
     3144else
     3145  echo "$as_me:$LINENO: result: no" >&5
     3146echo "${ECHO_T}no" >&6
     3147fi
    38583148
    38593149if test x$uudecode = xyes; then
    3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
    3861 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
    3862 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
    3863   $as_echo_n "(cached) " >&6
     3150echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     3151echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
     3152if test "${ac_cv_prog_uudecode_base64+set}" = set; then
     3153  echo $ECHO_N "(cached) $ECHO_C" >&6
    38643154else
    38653155
     
    38783168        ac_cv_prog_uudecode_base64=yes
    38793169else
    3880         echo "configure: 3880: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3170        echo "configure: 3170: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    38813171        echo "configure: failed file was:" >&5
    38823172        cat Test.uue >&5
     
    38853175rm -f Test.uue
    38863176fi
    3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
    3888 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
     3177echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     3178echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
    38893179fi
    38903180if test x$ac_cv_prog_uudecode_base64 != xyes; then
    38913181        rm -f Test.class
    3892         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
    3893 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
     3182        { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
     3183echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    38943184        if test x$ac_cv_prog_javac_works = xno; then
    3895                 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
     3185                { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
     3186echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
     3187   { (exit 1); exit 1; }; }
    38963188        fi
    38973189        if test x$ac_cv_prog_javac_works = x; then
     
    39033195  # Extract the first word of "$ac_prog", so it can be a program name with args.
    39043196set dummy $ac_prog; ac_word=$2
    3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3906 $as_echo_n "checking for $ac_word... " >&6; }
    3907 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3908   $as_echo_n "(cached) " >&6
     3197echo "$as_me:$LINENO: checking for $ac_word" >&5
     3198echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3199if test "${ac_cv_prog_JAVAC+set}" = set; then
     3200  echo $ECHO_N "(cached) $ECHO_C" >&6
    39093201else
    39103202  if test -n "$JAVAC"; then
     
    39163208  IFS=$as_save_IFS
    39173209  test -z "$as_dir" && as_dir=.
    3918     for ac_exec_ext in '' $ac_executable_extensions; do
    3919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3210  for ac_exec_ext in '' $ac_executable_extensions; do
     3211  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39203212    ac_cv_prog_JAVAC="$ac_prog"
    3921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3213    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39223214    break 2
    39233215  fi
    39243216done
    3925   done
    3926 IFS=$as_save_IFS
     3217done
    39273218
    39283219fi
     
    39303221JAVAC=$ac_cv_prog_JAVAC
    39313222if test -n "$JAVAC"; then
    3932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3933 $as_echo "$JAVAC" >&6; }
    3934 else
    3935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3936 $as_echo "no" >&6; }
    3937 fi
    3938 
     3223  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3224echo "${ECHO_T}$JAVAC" >&6
     3225else
     3226  echo "$as_me:$LINENO: result: no" >&5
     3227echo "${ECHO_T}no" >&6
     3228fi
    39393229
    39403230  test -n "$JAVAC" && break
     
    39463236  # Extract the first word of "$ac_prog", so it can be a program name with args.
    39473237set dummy $ac_prog; ac_word=$2
    3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3949 $as_echo_n "checking for $ac_word... " >&6; }
    3950 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3951   $as_echo_n "(cached) " >&6
     3238echo "$as_me:$LINENO: checking for $ac_word" >&5
     3239echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3240if test "${ac_cv_prog_JAVAC+set}" = set; then
     3241  echo $ECHO_N "(cached) $ECHO_C" >&6
    39523242else
    39533243  if test -n "$JAVAC"; then
     
    39593249  IFS=$as_save_IFS
    39603250  test -z "$as_dir" && as_dir=.
    3961     for ac_exec_ext in '' $ac_executable_extensions; do
    3962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3251  for ac_exec_ext in '' $ac_executable_extensions; do
     3252  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39633253    ac_cv_prog_JAVAC="$ac_prog"
    3964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3254    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39653255    break 2
    39663256  fi
    39673257done
    3968   done
    3969 IFS=$as_save_IFS
     3258done
    39703259
    39713260fi
     
    39733262JAVAC=$ac_cv_prog_JAVAC
    39743263if test -n "$JAVAC"; then
    3975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3976 $as_echo "$JAVAC" >&6; }
    3977 else
    3978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3979 $as_echo "no" >&6; }
    3980 fi
    3981 
     3264  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3265echo "${ECHO_T}$JAVAC" >&6
     3266else
     3267  echo "$as_me:$LINENO: result: no" >&5
     3268echo "${ECHO_T}no" >&6
     3269fi
    39823270
    39833271  test -n "$JAVAC" && break
     
    39863274
    39873275  fi
    3988   test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
     3276  test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3277echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3278   { (exit 1); exit 1; }; }
    39893279else
    39903280  echo "Checking for javac... $JAVAC"
     
    39933283
    39943284
    3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    3996 $as_echo_n "checking if $JAVAC works... " >&6; }
    3997 if test "${ac_cv_prog_javac_works+set}" = set; then :
    3998   $as_echo_n "(cached) " >&6
     3285echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3286echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3287if test "${ac_cv_prog_javac_works+set}" = set; then
     3288  echo $ECHO_N "(cached) $ECHO_C" >&6
    39993289else
    40003290
     
    40023292CLASS_TEST=Test.class
    40033293cat << \EOF > $JAVA_TEST
    4004 /* #line 4004 "configure" */
     3294/* #line 3294 "configure" */
    40053295public class Test {
    40063296}
    40073297EOF
    40083298if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    4009   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    4010   (eval $ac_try) 2>&5
    4011   ac_status=$?
    4012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4013   test $ac_status = 0; }; } >/dev/null 2>&1; then
     3299  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3300  (eval $ac_try) 2>&5
     3301  ac_status=$?
     3302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3303  (exit $ac_status); }; } >/dev/null 2>&1; then
    40143304  ac_cv_prog_javac_works=yes
    40153305else
    4016   as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3306  { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3307echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3308   { (exit 1); exit 1; }; }
    40173309  echo "configure: failed program was:" >&5
    40183310  cat $JAVA_TEST >&5
     
    40213313
    40223314fi
    4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    4024 $as_echo "$ac_cv_prog_javac_works" >&6; }
     3315echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3316echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    40253317if test "x$JAVACFLAGS" = x ; then
    40263318  JAVACFLAGS="-source 1.4 -target 1.4"
     
    40313323        fi
    40323324fi
    4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
    4034 $as_echo_n "checking if $JAVA works... " >&6; }
    4035 if test "${ac_cv_prog_java_works+set}" = set; then :
    4036   $as_echo_n "(cached) " >&6
     3325echo "$as_me:$LINENO: checking if $JAVA works" >&5
     3326echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
     3327if test "${ac_cv_prog_java_works+set}" = set; then
     3328  echo $ECHO_N "(cached) $ECHO_C" >&6
    40373329else
    40383330
     
    40413333TEST=Test
    40423334cat << \EOF > $JAVA_TEST
    4043 /* [#]line 4043 "configure" */
     3335/* [#]line 3335 "configure" */
    40443336public class Test {
    40453337public static void main (String args[]) {
     
    40493341if test x$ac_cv_prog_uudecode_base64 != xyes; then
    40503342        if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    4051   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    4052   (eval $ac_try) 2>&5
    4053   ac_status=$?
    4054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4055   test $ac_status = 0; }; } && test -s $CLASS_TEST; then
     3343  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3344  (eval $ac_try) 2>&5
     3345  ac_status=$?
     3346  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3347  (exit $ac_status); }; } && test -s $CLASS_TEST; then
    40563348                :
    40573349        else
    40583350          echo "configure: failed program was:" >&5
    40593351          cat $JAVA_TEST >&5
    4060           as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3352          { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3353echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3354   { (exit 1); exit 1; }; }
    40613355        fi
    40623356fi
    40633357if { ac_try='$JAVA $JAVAFLAGS $TEST'
    4064   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    4065   (eval $ac_try) 2>&5
    4066   ac_status=$?
    4067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4068   test $ac_status = 0; }; } >/dev/null 2>&1; then
     3358  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3359  (eval $ac_try) 2>&5
     3360  ac_status=$?
     3361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3362  (exit $ac_status); }; } >/dev/null 2>&1; then
    40693363  ac_cv_prog_java_works=yes
    40703364else
    40713365  echo "configure: failed program was:" >&5
    40723366  cat $JAVA_TEST >&5
    4073   as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3367  { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
     3368echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
     3369   { (exit 1); exit 1; }; }
    40743370fi
    40753371rm -fr $JAVA_TEST $CLASS_TEST Test.uue
    40763372
    40773373fi
    4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
    4079 $as_echo "$ac_cv_prog_java_works" >&6; }
     3374echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     3375echo "${ECHO_T}$ac_cv_prog_java_works" >&6
    40803376
    40813377
     
    40863382  # Extract the first word of "$ac_prog", so it can be a program name with args.
    40873383set dummy $ac_prog; ac_word=$2
    4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4089 $as_echo_n "checking for $ac_word... " >&6; }
    4090 if test "${ac_cv_prog_AWK+set}" = set; then :
    4091   $as_echo_n "(cached) " >&6
     3384echo "$as_me:$LINENO: checking for $ac_word" >&5
     3385echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3386if test "${ac_cv_prog_AWK+set}" = set; then
     3387  echo $ECHO_N "(cached) $ECHO_C" >&6
    40923388else
    40933389  if test -n "$AWK"; then
     
    40993395  IFS=$as_save_IFS
    41003396  test -z "$as_dir" && as_dir=.
    4101     for ac_exec_ext in '' $ac_executable_extensions; do
    4102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3397  for ac_exec_ext in '' $ac_executable_extensions; do
     3398  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41033399    ac_cv_prog_AWK="$ac_prog"
    4104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3400    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41053401    break 2
    41063402  fi
    41073403done
    4108   done
    4109 IFS=$as_save_IFS
     3404done
    41103405
    41113406fi
     
    41133408AWK=$ac_cv_prog_AWK
    41143409if test -n "$AWK"; then
    4115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    4116 $as_echo "$AWK" >&6; }
    4117 else
    4118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4119 $as_echo "no" >&6; }
    4120 fi
    4121 
     3410  echo "$as_me:$LINENO: result: $AWK" >&5
     3411echo "${ECHO_T}$AWK" >&6
     3412else
     3413  echo "$as_me:$LINENO: result: no" >&5
     3414echo "${ECHO_T}no" >&6
     3415fi
    41223416
    41233417  test -n "$AWK" && break
     
    41283422  # Extract the first word of "$ac_prog", so it can be a program name with args.
    41293423set dummy $ac_prog; ac_word=$2
    4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4131 $as_echo_n "checking for $ac_word... " >&6; }
    4132 if test "${ac_cv_prog_YACC+set}" = set; then :
    4133   $as_echo_n "(cached) " >&6
     3424echo "$as_me:$LINENO: checking for $ac_word" >&5
     3425echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3426if test "${ac_cv_prog_YACC+set}" = set; then
     3427  echo $ECHO_N "(cached) $ECHO_C" >&6
    41343428else
    41353429  if test -n "$YACC"; then
     
    41413435  IFS=$as_save_IFS
    41423436  test -z "$as_dir" && as_dir=.
    4143     for ac_exec_ext in '' $ac_executable_extensions; do
    4144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3437  for ac_exec_ext in '' $ac_executable_extensions; do
     3438  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41453439    ac_cv_prog_YACC="$ac_prog"
    4146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3440    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41473441    break 2
    41483442  fi
    41493443done
    4150   done
    4151 IFS=$as_save_IFS
     3444done
    41523445
    41533446fi
     
    41553448YACC=$ac_cv_prog_YACC
    41563449if test -n "$YACC"; then
    4157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
    4158 $as_echo "$YACC" >&6; }
    4159 else
    4160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4161 $as_echo "no" >&6; }
    4162 fi
    4163 
     3450  echo "$as_me:$LINENO: result: $YACC" >&5
     3451echo "${ECHO_T}$YACC" >&6
     3452else
     3453  echo "$as_me:$LINENO: result: no" >&5
     3454echo "${ECHO_T}no" >&6
     3455fi
    41643456
    41653457  test -n "$YACC" && break
     
    41683460
    41693461ac_aux_dir=
    4170 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    4171   if test -f "$ac_dir/install-sh"; then
     3462for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     3463  if test -f $ac_dir/install-sh; then
    41723464    ac_aux_dir=$ac_dir
    41733465    ac_install_sh="$ac_aux_dir/install-sh -c"
    41743466    break
    4175   elif test -f "$ac_dir/install.sh"; then
     3467  elif test -f $ac_dir/install.sh; then
    41763468    ac_aux_dir=$ac_dir
    41773469    ac_install_sh="$ac_aux_dir/install.sh -c"
    41783470    break
    4179   elif test -f "$ac_dir/shtool"; then
     3471  elif test -f $ac_dir/shtool; then
    41803472    ac_aux_dir=$ac_dir
    41813473    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    41843476done
    41853477if test -z "$ac_aux_dir"; then
    4186   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    4187 fi
    4188 
    4189 # These three variables are undocumented and unsupported,
    4190 # and are intended to be withdrawn in a future Autoconf release.
    4191 # They can cause serious problems if a builder's source tree is in a directory
    4192 # whose full name contains unusual characters.
    4193 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    4194 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    4195 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    4196 
     3478  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     3479echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3480   { (exit 1); exit 1; }; }
     3481fi
     3482ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     3483ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     3484ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    41973485
    41983486# Make sure we can run config.sub.
    4199 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    4200   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    4201 
    4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    4203 $as_echo_n "checking build system type... " >&6; }
    4204 if test "${ac_cv_build+set}" = set; then :
    4205   $as_echo_n "(cached) " >&6
    4206 else
    4207   ac_build_alias=$build_alias
    4208 test "x$ac_build_alias" = x &&
    4209   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    4210 test "x$ac_build_alias" = x &&
    4211   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    4212 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    4213   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    4214 
    4215 fi
    4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    4217 $as_echo "$ac_cv_build" >&6; }
    4218 case $ac_cv_build in
    4219 *-*-*) ;;
    4220 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
    4221 esac
     3487$ac_config_sub sun4 >/dev/null 2>&1 ||
     3488  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     3489echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3490   { (exit 1); exit 1; }; }
     3491
     3492echo "$as_me:$LINENO: checking build system type" >&5
     3493echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3494if test "${ac_cv_build+set}" = set; then
     3495  echo $ECHO_N "(cached) $ECHO_C" >&6
     3496else
     3497  ac_cv_build_alias=$build_alias
     3498test -z "$ac_cv_build_alias" &&
     3499  ac_cv_build_alias=`$ac_config_guess`
     3500test -z "$ac_cv_build_alias" &&
     3501  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     3502echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     3503   { (exit 1); exit 1; }; }
     3504ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     3505  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     3506echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3507   { (exit 1); exit 1; }; }
     3508
     3509fi
     3510echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3511echo "${ECHO_T}$ac_cv_build" >&6
    42223512build=$ac_cv_build
    4223 ac_save_IFS=$IFS; IFS='-'
    4224 set x $ac_cv_build
    4225 shift
    4226 build_cpu=$1
    4227 build_vendor=$2
    4228 shift; shift
    4229 # Remember, the first character of IFS is used to create $*,
    4230 # except with old shells:
    4231 build_os=$*
    4232 IFS=$ac_save_IFS
    4233 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    4234 
    4235 
    4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    4237 $as_echo_n "checking host system type... " >&6; }
    4238 if test "${ac_cv_host+set}" = set; then :
    4239   $as_echo_n "(cached) " >&6
    4240 else
    4241   if test "x$host_alias" = x; then
    4242   ac_cv_host=$ac_cv_build
    4243 else
    4244   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    4245     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    4246 fi
    4247 
    4248 fi
    4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    4250 $as_echo "$ac_cv_host" >&6; }
    4251 case $ac_cv_host in
    4252 *-*-*) ;;
    4253 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
    4254 esac
     3513build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3514build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3515build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3516
     3517
     3518echo "$as_me:$LINENO: checking host system type" >&5
     3519echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3520if test "${ac_cv_host+set}" = set; then
     3521  echo $ECHO_N "(cached) $ECHO_C" >&6
     3522else
     3523  ac_cv_host_alias=$host_alias
     3524test -z "$ac_cv_host_alias" &&
     3525  ac_cv_host_alias=$ac_cv_build_alias
     3526ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     3527  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     3528echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3529   { (exit 1); exit 1; }; }
     3530
     3531fi
     3532echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3533echo "${ECHO_T}$ac_cv_host" >&6
    42553534host=$ac_cv_host
    4256 ac_save_IFS=$IFS; IFS='-'
    4257 set x $ac_cv_host
    4258 shift
    4259 host_cpu=$1
    4260 host_vendor=$2
    4261 shift; shift
    4262 # Remember, the first character of IFS is used to create $*,
    4263 # except with old shells:
    4264 host_os=$*
    4265 IFS=$ac_save_IFS
    4266 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    4267 
    4268 
    4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
    4270 $as_echo_n "checking target system type... " >&6; }
    4271 if test "${ac_cv_target+set}" = set; then :
    4272   $as_echo_n "(cached) " >&6
    4273 else
    4274   if test "x$target_alias" = x; then
    4275   ac_cv_target=$ac_cv_host
    4276 else
    4277   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    4278     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
    4279 fi
    4280 
    4281 fi
    4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
    4283 $as_echo "$ac_cv_target" >&6; }
    4284 case $ac_cv_target in
    4285 *-*-*) ;;
    4286 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
    4287 esac
     3535host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3536host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3537host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3538
     3539
     3540echo "$as_me:$LINENO: checking target system type" >&5
     3541echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3542if test "${ac_cv_target+set}" = set; then
     3543  echo $ECHO_N "(cached) $ECHO_C" >&6
     3544else
     3545  ac_cv_target_alias=$target_alias
     3546test "x$ac_cv_target_alias" = "x" &&
     3547  ac_cv_target_alias=$ac_cv_host_alias
     3548ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     3549  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     3550echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3551   { (exit 1); exit 1; }; }
     3552
     3553fi
     3554echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3555echo "${ECHO_T}$ac_cv_target" >&6
    42883556target=$ac_cv_target
    4289 ac_save_IFS=$IFS; IFS='-'
    4290 set x $ac_cv_target
    4291 shift
    4292 target_cpu=$1
    4293 target_vendor=$2
    4294 shift; shift
    4295 # Remember, the first character of IFS is used to create $*,
    4296 # except with old shells:
    4297 target_os=$*
    4298 IFS=$ac_save_IFS
    4299 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     3557target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3558target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3559target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    43003560
    43013561
     
    43063566    NONENONEs,x,x, &&
    43073567  program_prefix=${target_alias}-
    4308 
    43093568# Find a good install program.  We prefer a C program (faster),
    43103569# so one script is as good as another.  But avoid the broken or
     
    43203579# OS/2's system install, which has a completely different semantic
    43213580# ./install, which can be erroneously created by make from ./install.sh.
    4322 # Reject install programs that cannot install multiple files.
    4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    4324 $as_echo_n "checking for a BSD-compatible install... " >&6; }
     3581echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3582echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    43253583if test -z "$INSTALL"; then
    4326 if test "${ac_cv_path_install+set}" = set; then :
    4327   $as_echo_n "(cached) " >&6
     3584if test "${ac_cv_path_install+set}" = set; then
     3585  echo $ECHO_N "(cached) $ECHO_C" >&6
    43283586else
    43293587  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    43323590  IFS=$as_save_IFS
    43333591  test -z "$as_dir" && as_dir=.
    4334     # Account for people who put trailing slashes in PATH elements.
    4335 case $as_dir/ in #((
    4336   ./ | .// | /[cC]/* | \
     3592  # Account for people who put trailing slashes in PATH elements.
     3593case $as_dir/ in
     3594  ./ | .// | /cC/* | \
    43373595  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    4338   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     3596  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    43393597  /usr/ucb/* ) ;;
    43403598  *)
     
    43443602    for ac_prog in ginstall scoinst install; do
    43453603      for ac_exec_ext in '' $ac_executable_extensions; do
    4346     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3604    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    43473605      if test $ac_prog = install &&
    43483606        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    43543612        :
    43553613      else
    4356         rm -rf conftest.one conftest.two conftest.dir
    4357         echo one > conftest.one
    4358         echo two > conftest.two
    4359         mkdir conftest.dir
    4360         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    4361           test -s conftest.one && test -s conftest.two &&
    4362           test -s conftest.dir/conftest.one &&
    4363           test -s conftest.dir/conftest.two
    4364         then
    4365           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    4366           break 3
    4367         fi
     3614        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3615        break 3
    43683616      fi
    43693617    fi
     
    43723620    ;;
    43733621esac
    4374 
    4375   done
    4376 IFS=$as_save_IFS
    4377 
    4378 rm -rf conftest.one conftest.two conftest.dir
     3622done
     3623
    43793624
    43803625fi
     
    43823627    INSTALL=$ac_cv_path_install
    43833628  else
    4384     # As a last resort, use the slow shell script.  Don't cache a
    4385     # value for INSTALL within a source directory, because that will
     3629    # As a last resort, use the slow shell script.  We don't cache a
     3630    # path for INSTALL within a source directory, because that will
    43863631    # break other packages using the cache if that directory is
    4387     # removed, or if the value is a relative name.
     3632    # removed, or if the path is relative.
    43883633    INSTALL=$ac_install_sh
    43893634  fi
    43903635fi
    4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    4392 $as_echo "$INSTALL" >&6; }
     3636echo "$as_me:$LINENO: result: $INSTALL" >&5
     3637echo "${ECHO_T}$INSTALL" >&6
    43933638
    43943639# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    44003645test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    44013646
    4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    4403 $as_echo_n "checking whether ln -s works... " >&6; }
     3647echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3648echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    44043649LN_S=$as_ln_s
    44053650if test "$LN_S" = "ln -s"; then
    4406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4407 $as_echo "yes" >&6; }
    4408 else
    4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    4410 $as_echo "no, using $LN_S" >&6; }
    4411 fi
    4412 
    4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    4414 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    4415 set x ${MAKE-make}
    4416 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    4417 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
    4418   $as_echo_n "(cached) " >&6
     3651  echo "$as_me:$LINENO: result: yes" >&5
     3652echo "${ECHO_T}yes" >&6
     3653else
     3654  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3655echo "${ECHO_T}no, using $LN_S" >&6
     3656fi
     3657
     3658echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3659echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3660set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3661if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3662  echo $ECHO_N "(cached) $ECHO_C" >&6
    44193663else
    44203664  cat >conftest.make <<\_ACEOF
    4421 SHELL = /bin/sh
    44223665all:
    4423     @echo '@@@%%%=$(MAKE)=@@@%%%'
    4424 _ACEOF
    4425 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    4426 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    4427   *@@@%%%=?*=@@@%%%*)
    4428     eval ac_cv_prog_make_${ac_make}_set=yes;;
    4429   *)
    4430     eval ac_cv_prog_make_${ac_make}_set=no;;
    4431 esac
     3666    @echo 'ac_maketemp="$(MAKE)"'
     3667_ACEOF
     3668# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3669eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3670if test -n "$ac_maketemp"; then
     3671  eval ac_cv_prog_make_${ac_make}_set=yes
     3672else
     3673  eval ac_cv_prog_make_${ac_make}_set=no
     3674fi
    44323675rm -f conftest.make
    44333676fi
    4434 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    4435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4436 $as_echo "yes" >&6; }
     3677if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3678  echo "$as_me:$LINENO: result: yes" >&5
     3679echo "${ECHO_T}yes" >&6
    44373680  SET_MAKE=
    44383681else
    4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4440 $as_echo "no" >&6; }
     3682  echo "$as_me:$LINENO: result: no" >&5
     3683echo "${ECHO_T}no" >&6
    44413684  SET_MAKE="MAKE=${MAKE-make}"
    44423685fi
     
    44453688  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    44463689set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4448 $as_echo_n "checking for $ac_word... " >&6; }
    4449 if test "${ac_cv_prog_RANLIB+set}" = set; then :
    4450   $as_echo_n "(cached) " >&6
     3690echo "$as_me:$LINENO: checking for $ac_word" >&5
     3691echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3692if test "${ac_cv_prog_RANLIB+set}" = set; then
     3693  echo $ECHO_N "(cached) $ECHO_C" >&6
    44513694else
    44523695  if test -n "$RANLIB"; then
     
    44583701  IFS=$as_save_IFS
    44593702  test -z "$as_dir" && as_dir=.
    4460     for ac_exec_ext in '' $ac_executable_extensions; do
    4461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3703  for ac_exec_ext in '' $ac_executable_extensions; do
     3704  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    44623705    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3706    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    44643707    break 2
    44653708  fi
    44663709done
    4467   done
    4468 IFS=$as_save_IFS
     3710done
    44693711
    44703712fi
     
    44723714RANLIB=$ac_cv_prog_RANLIB
    44733715if test -n "$RANLIB"; then
    4474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    4475 $as_echo "$RANLIB" >&6; }
    4476 else
    4477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4478 $as_echo "no" >&6; }
    4479 fi
    4480 
     3716  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3717echo "${ECHO_T}$RANLIB" >&6
     3718else
     3719  echo "$as_me:$LINENO: result: no" >&5
     3720echo "${ECHO_T}no" >&6
     3721fi
    44813722
    44823723fi
     
    44853726  # Extract the first word of "ranlib", so it can be a program name with args.
    44863727set dummy ranlib; ac_word=$2
    4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4488 $as_echo_n "checking for $ac_word... " >&6; }
    4489 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
    4490   $as_echo_n "(cached) " >&6
     3728echo "$as_me:$LINENO: checking for $ac_word" >&5
     3729echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3730if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     3731  echo $ECHO_N "(cached) $ECHO_C" >&6
    44913732else
    44923733  if test -n "$ac_ct_RANLIB"; then
     
    44983739  IFS=$as_save_IFS
    44993740  test -z "$as_dir" && as_dir=.
    4500     for ac_exec_ext in '' $ac_executable_extensions; do
    4501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3741  for ac_exec_ext in '' $ac_executable_extensions; do
     3742  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    45023743    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3744    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    45043745    break 2
    45053746  fi
    45063747done
    4507   done
    4508 IFS=$as_save_IFS
    4509 
     3748done
     3749
     3750  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    45103751fi
    45113752fi
    45123753ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    45133754if test -n "$ac_ct_RANLIB"; then
    4514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    4515 $as_echo "$ac_ct_RANLIB" >&6; }
    4516 else
    4517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4518 $as_echo "no" >&6; }
    4519 fi
    4520 
    4521   if test "x$ac_ct_RANLIB" = x; then
    4522     RANLIB=":"
    4523   else
    4524     case $cross_compiling:$ac_tool_warned in
    4525 yes:)
    4526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    4527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    4528 ac_tool_warned=yes ;;
    4529 esac
    4530     RANLIB=$ac_ct_RANLIB
    4531   fi
     3755  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3756echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3757else
     3758  echo "$as_me:$LINENO: result: no" >&5
     3759echo "${ECHO_T}no" >&6
     3760fi
     3761
     3762  RANLIB=$ac_ct_RANLIB
    45323763else
    45333764  RANLIB="$ac_cv_prog_RANLIB"
     
    45353766
    45363767
    4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
    4538 $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
     3768echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3769echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    45393770arch_64bit=no
    45403771case "$host_cpu" in
     
    45433774
    45443775if test "$arch_64bit" = yes; then
    4545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4546 $as_echo "yes" >&6; }
     3776  echo "$as_me:$LINENO: result: yes" >&5
     3777echo "${ECHO_T}yes" >&6
    45473778  if test -z "$COMPAT32BITFLAGS" ; then
    45483779    COMPAT32BITFLAGS="-m32"
     3780    gsdlarch='64'
    45493781  fi
    45503782else
    4551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4552 $as_echo "no" >&6; }
     3783  echo "$as_me:$LINENO: result: no" >&5
     3784echo "${ECHO_T}no" >&6
    45533785  if test -z "$COMPAT32BITFLAGS" ; then
    45543786    COMPAT32BITFLAGS=
     3787    gsdlarch='32'
    45553788  fi
    45563789fi
     
    45923825#do test of MICO_VER
    45933826if test MICO_VER != 0; then
    4594 $as_echo "#define MICO_VER 1" >>confdefs.h
     3827cat >>confdefs.h <<\_ACEOF
     3828#define MICO_VER 1
     3829_ACEOF
    45953830
    45963831
     
    46053840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    46063841ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    4608 $as_echo_n "checking how to run the C preprocessor... " >&6; }
     3842echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3843echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    46093844# On Suns, sometimes $CPP names a directory.
    46103845if test -n "$CPP" && test -d "$CPP"; then
     
    46123847fi
    46133848if test -z "$CPP"; then
    4614   if test "${ac_cv_prog_CPP+set}" = set; then :
    4615   $as_echo_n "(cached) " >&6
     3849  if test "${ac_cv_prog_CPP+set}" = set; then
     3850  echo $ECHO_N "(cached) $ECHO_C" >&6
    46163851else
    46173852      # Double quotes because CPP needs to be expanded
     
    46273862  # On the NeXT, cc -E runs the code through the compiler's parser,
    46283863  # not just through cpp. "Syntax error" is here to catch this case.
    4629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3864  cat >conftest.$ac_ext <<_ACEOF
     3865/* confdefs.h.  */
     3866_ACEOF
     3867cat confdefs.h >>conftest.$ac_ext
     3868cat >>conftest.$ac_ext <<_ACEOF
    46303869/* end confdefs.h.  */
    46313870#ifdef __STDC__
     
    46363875             Syntax error
    46373876_ACEOF
    4638 if ac_fn_c_try_cpp "$LINENO"; then :
    4639 
    4640 else
     3877if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3878  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3879  ac_status=$?
     3880  grep -v '^ *+' conftest.er1 >conftest.err
     3881  rm -f conftest.er1
     3882  cat conftest.err >&5
     3883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3884  (exit $ac_status); } >/dev/null; then
     3885  if test -s conftest.err; then
     3886    ac_cpp_err=$ac_c_preproc_warn_flag
     3887    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3888  else
     3889    ac_cpp_err=
     3890  fi
     3891else
     3892  ac_cpp_err=yes
     3893fi
     3894if test -z "$ac_cpp_err"; then
     3895  :
     3896else
     3897  echo "$as_me: failed program was:" >&5
     3898sed 's/^/| /' conftest.$ac_ext >&5
     3899
    46413900  # Broken: fails on valid input.
    46423901continue
    46433902fi
    4644 rm -f conftest.err conftest.i conftest.$ac_ext
    4645 
    4646   # OK, works on sane cases.  Now check whether nonexistent headers
     3903rm -f conftest.err conftest.$ac_ext
     3904
     3905  # OK, works on sane cases.  Now check whether non-existent headers
    46473906  # can be detected and how.
    4648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3907  cat >conftest.$ac_ext <<_ACEOF
     3908/* confdefs.h.  */
     3909_ACEOF
     3910cat confdefs.h >>conftest.$ac_ext
     3911cat >>conftest.$ac_ext <<_ACEOF
    46493912/* end confdefs.h.  */
    46503913#include <ac_nonexistent.h>
    46513914_ACEOF
    4652 if ac_fn_c_try_cpp "$LINENO"; then :
     3915if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3916  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3917  ac_status=$?
     3918  grep -v '^ *+' conftest.er1 >conftest.err
     3919  rm -f conftest.er1
     3920  cat conftest.err >&5
     3921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3922  (exit $ac_status); } >/dev/null; then
     3923  if test -s conftest.err; then
     3924    ac_cpp_err=$ac_c_preproc_warn_flag
     3925    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3926  else
     3927    ac_cpp_err=
     3928  fi
     3929else
     3930  ac_cpp_err=yes
     3931fi
     3932if test -z "$ac_cpp_err"; then
    46533933  # Broken: success on invalid input.
    46543934continue
    46553935else
     3936  echo "$as_me: failed program was:" >&5
     3937sed 's/^/| /' conftest.$ac_ext >&5
     3938
    46563939  # Passes both tests.
    46573940ac_preproc_ok=:
    46583941break
    46593942fi
    4660 rm -f conftest.err conftest.i conftest.$ac_ext
     3943rm -f conftest.err conftest.$ac_ext
    46613944
    46623945done
    46633946# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4664 rm -f conftest.i conftest.err conftest.$ac_ext
    4665 if $ac_preproc_ok; then :
     3947rm -f conftest.err conftest.$ac_ext
     3948if $ac_preproc_ok; then
    46663949  break
    46673950fi
     
    46753958  ac_cv_prog_CPP=$CPP
    46763959fi
    4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    4678 $as_echo "$CPP" >&6; }
     3960echo "$as_me:$LINENO: result: $CPP" >&5
     3961echo "${ECHO_T}$CPP" >&6
    46793962ac_preproc_ok=false
    46803963for ac_c_preproc_warn_flag in '' yes
     
    46863969  # On the NeXT, cc -E runs the code through the compiler's parser,
    46873970  # not just through cpp. "Syntax error" is here to catch this case.
    4688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3971  cat >conftest.$ac_ext <<_ACEOF
     3972/* confdefs.h.  */
     3973_ACEOF
     3974cat confdefs.h >>conftest.$ac_ext
     3975cat >>conftest.$ac_ext <<_ACEOF
    46893976/* end confdefs.h.  */
    46903977#ifdef __STDC__
     
    46953982             Syntax error
    46963983_ACEOF
    4697 if ac_fn_c_try_cpp "$LINENO"; then :
    4698 
    4699 else
     3984if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3985  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3986  ac_status=$?
     3987  grep -v '^ *+' conftest.er1 >conftest.err
     3988  rm -f conftest.er1
     3989  cat conftest.err >&5
     3990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3991  (exit $ac_status); } >/dev/null; then
     3992  if test -s conftest.err; then
     3993    ac_cpp_err=$ac_c_preproc_warn_flag
     3994    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3995  else
     3996    ac_cpp_err=
     3997  fi
     3998else
     3999  ac_cpp_err=yes
     4000fi
     4001if test -z "$ac_cpp_err"; then
     4002  :
     4003else
     4004  echo "$as_me: failed program was:" >&5
     4005sed 's/^/| /' conftest.$ac_ext >&5
     4006
    47004007  # Broken: fails on valid input.
    47014008continue
    47024009fi
    4703 rm -f conftest.err conftest.i conftest.$ac_ext
    4704 
    4705   # OK, works on sane cases.  Now check whether nonexistent headers
     4010rm -f conftest.err conftest.$ac_ext
     4011
     4012  # OK, works on sane cases.  Now check whether non-existent headers
    47064013  # can be detected and how.
    4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4014  cat >conftest.$ac_ext <<_ACEOF
     4015/* confdefs.h.  */
     4016_ACEOF
     4017cat confdefs.h >>conftest.$ac_ext
     4018cat >>conftest.$ac_ext <<_ACEOF
    47084019/* end confdefs.h.  */
    47094020#include <ac_nonexistent.h>
    47104021_ACEOF
    4711 if ac_fn_c_try_cpp "$LINENO"; then :
     4022if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4023  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4024  ac_status=$?
     4025  grep -v '^ *+' conftest.er1 >conftest.err
     4026  rm -f conftest.er1
     4027  cat conftest.err >&5
     4028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4029  (exit $ac_status); } >/dev/null; then
     4030  if test -s conftest.err; then
     4031    ac_cpp_err=$ac_c_preproc_warn_flag
     4032    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4033  else
     4034    ac_cpp_err=
     4035  fi
     4036else
     4037  ac_cpp_err=yes
     4038fi
     4039if test -z "$ac_cpp_err"; then
    47124040  # Broken: success on invalid input.
    47134041continue
    47144042else
     4043  echo "$as_me: failed program was:" >&5
     4044sed 's/^/| /' conftest.$ac_ext >&5
     4045
    47154046  # Passes both tests.
    47164047ac_preproc_ok=:
    47174048break
    47184049fi
    4719 rm -f conftest.err conftest.i conftest.$ac_ext
     4050rm -f conftest.err conftest.$ac_ext
    47204051
    47214052done
    47224053# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4723 rm -f conftest.i conftest.err conftest.$ac_ext
    4724 if $ac_preproc_ok; then :
    4725 
    4726 else
    4727   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    4728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4729 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    4730 See \`config.log' for more details" "$LINENO" 5 ; }
     4054rm -f conftest.err conftest.$ac_ext
     4055if $ac_preproc_ok; then
     4056  :
     4057else
     4058  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4059See \`config.log' for more details." >&5
     4060echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4061See \`config.log' for more details." >&2;}
     4062   { (exit 1); exit 1; }; }
    47314063fi
    47324064
     
    47384070
    47394071
    4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    4741 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4742 if test "${ac_cv_path_GREP+set}" = set; then :
    4743   $as_echo_n "(cached) " >&6
    4744 else
    4745   if test -z "$GREP"; then
    4746   ac_path_GREP_found=false
    4747   # Loop through the user's path and test for each of PROGNAME-LIST
    4748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4749 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4750 do
    4751   IFS=$as_save_IFS
    4752   test -z "$as_dir" && as_dir=.
    4753     for ac_prog in grep ggrep; do
    4754     for ac_exec_ext in '' $ac_executable_extensions; do
    4755       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4756       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4757 # Check for GNU ac_path_GREP and select it if it is found.
    4758   # Check for GNU $ac_path_GREP
    4759 case `"$ac_path_GREP" --version 2>&1` in
    4760 *GNU*)
    4761   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4762 *)
    4763   ac_count=0
    4764   $as_echo_n 0123456789 >"conftest.in"
    4765   while :
    4766   do
    4767     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4768     mv "conftest.tmp" "conftest.in"
    4769     cp "conftest.in" "conftest.nl"
    4770     $as_echo 'GREP' >> "conftest.nl"
    4771     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4772     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4773     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4774     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4775       # Best one so far, save it but keep looking for a better one
    4776       ac_cv_path_GREP="$ac_path_GREP"
    4777       ac_path_GREP_max=$ac_count
     4072echo "$as_me:$LINENO: checking for egrep" >&5
     4073echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     4074if test "${ac_cv_prog_egrep+set}" = set; then
     4075  echo $ECHO_N "(cached) $ECHO_C" >&6
     4076else
     4077  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     4078    then ac_cv_prog_egrep='grep -E'
     4079    else ac_cv_prog_egrep='egrep'
    47784080    fi
    4779     # 10*(2^10) chars as input seems more than enough
    4780     test $ac_count -gt 10 && break
     4081fi
     4082echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     4083echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     4084 EGREP=$ac_cv_prog_egrep
     4085
     4086
     4087
     4088echo "$as_me:$LINENO: checking for AIX" >&5
     4089echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     4090cat >conftest.$ac_ext <<_ACEOF
     4091/* confdefs.h.  */
     4092_ACEOF
     4093cat confdefs.h >>conftest.$ac_ext
     4094cat >>conftest.$ac_ext <<_ACEOF
     4095/* end confdefs.h.  */
     4096#ifdef _AIX
     4097  yes
     4098#endif
     4099
     4100_ACEOF
     4101if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4102  $EGREP "yes" >/dev/null 2>&1; then
     4103  echo "$as_me:$LINENO: result: yes" >&5
     4104echo "${ECHO_T}yes" >&6
     4105cat >>confdefs.h <<\_ACEOF
     4106#define _ALL_SOURCE 1
     4107_ACEOF
     4108
     4109else
     4110  echo "$as_me:$LINENO: result: no" >&5
     4111echo "${ECHO_T}no" >&6
     4112fi
     4113rm -f conftest*
     4114
     4115
     4116echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4117echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4118if test "${ac_cv_search_strerror+set}" = set; then
     4119  echo $ECHO_N "(cached) $ECHO_C" >&6
     4120else
     4121  ac_func_search_save_LIBS=$LIBS
     4122ac_cv_search_strerror=no
     4123cat >conftest.$ac_ext <<_ACEOF
     4124/* confdefs.h.  */
     4125_ACEOF
     4126cat confdefs.h >>conftest.$ac_ext
     4127cat >>conftest.$ac_ext <<_ACEOF
     4128/* end confdefs.h.  */
     4129
     4130/* Override any gcc2 internal prototype to avoid an error.  */
     4131#ifdef __cplusplus
     4132extern "C"
     4133#endif
     4134/* We use char because int might match the return type of a gcc2
     4135   builtin and then its argument prototype would still apply.  */
     4136char strerror ();
     4137int
     4138main ()
     4139{
     4140strerror ();
     4141  ;
     4142  return 0;
     4143}
     4144_ACEOF
     4145rm -f conftest.$ac_objext conftest$ac_exeext
     4146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4147  (eval $ac_link) 2>conftest.er1
     4148  ac_status=$?
     4149  grep -v '^ *+' conftest.er1 >conftest.err
     4150  rm -f conftest.er1
     4151  cat conftest.err >&5
     4152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4153  (exit $ac_status); } &&
     4154     { ac_try='test -z "$ac_c_werror_flag"
     4155             || test ! -s conftest.err'
     4156  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4157  (eval $ac_try) 2>&5
     4158  ac_status=$?
     4159  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4160  (exit $ac_status); }; } &&
     4161     { ac_try='test -s conftest$ac_exeext'
     4162  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4163  (eval $ac_try) 2>&5
     4164  ac_status=$?
     4165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4166  (exit $ac_status); }; }; then
     4167  ac_cv_search_strerror="none required"
     4168else
     4169  echo "$as_me: failed program was:" >&5
     4170sed 's/^/| /' conftest.$ac_ext >&5
     4171
     4172fi
     4173rm -f conftest.err conftest.$ac_objext \
     4174      conftest$ac_exeext conftest.$ac_ext
     4175if test "$ac_cv_search_strerror" = no; then
     4176  for ac_lib in cposix; do
     4177    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4178    cat >conftest.$ac_ext <<_ACEOF
     4179/* confdefs.h.  */
     4180_ACEOF
     4181cat confdefs.h >>conftest.$ac_ext
     4182cat >>conftest.$ac_ext <<_ACEOF
     4183/* end confdefs.h.  */
     4184
     4185/* Override any gcc2 internal prototype to avoid an error.  */
     4186#ifdef __cplusplus
     4187extern "C"
     4188#endif
     4189/* We use char because int might match the return type of a gcc2
     4190   builtin and then its argument prototype would still apply.  */
     4191char strerror ();
     4192int
     4193main ()
     4194{
     4195strerror ();
     4196  ;
     4197  return 0;
     4198}
     4199_ACEOF
     4200rm -f conftest.$ac_objext conftest$ac_exeext
     4201if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4202  (eval $ac_link) 2>conftest.er1
     4203  ac_status=$?
     4204  grep -v '^ *+' conftest.er1 >conftest.err
     4205  rm -f conftest.er1
     4206  cat conftest.err >&5
     4207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4208  (exit $ac_status); } &&
     4209     { ac_try='test -z "$ac_c_werror_flag"
     4210             || test ! -s conftest.err'
     4211  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4212  (eval $ac_try) 2>&5
     4213  ac_status=$?
     4214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4215  (exit $ac_status); }; } &&
     4216     { ac_try='test -s conftest$ac_exeext'
     4217  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4218  (eval $ac_try) 2>&5
     4219  ac_status=$?
     4220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4221  (exit $ac_status); }; }; then
     4222  ac_cv_search_strerror="-l$ac_lib"
     4223break
     4224else
     4225  echo "$as_me: failed program was:" >&5
     4226sed 's/^/| /' conftest.$ac_ext >&5
     4227
     4228fi
     4229rm -f conftest.err conftest.$ac_objext \
     4230      conftest$ac_exeext conftest.$ac_ext
    47814231  done
    4782   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4783 esac
    4784 
    4785       $ac_path_GREP_found && break 3
    4786     done
    4787   done
    4788   done
    4789 IFS=$as_save_IFS
    4790   if test -z "$ac_cv_path_GREP"; then
    4791     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4792   fi
    4793 else
    4794   ac_cv_path_GREP=$GREP
    4795 fi
    4796 
    4797 fi
    4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    4799 $as_echo "$ac_cv_path_GREP" >&6; }
    4800  GREP="$ac_cv_path_GREP"
    4801 
    4802 
    4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    4804 $as_echo_n "checking for egrep... " >&6; }
    4805 if test "${ac_cv_path_EGREP+set}" = set; then :
    4806   $as_echo_n "(cached) " >&6
    4807 else
    4808   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4809    then ac_cv_path_EGREP="$GREP -E"
    4810    else
    4811      if test -z "$EGREP"; then
    4812   ac_path_EGREP_found=false
    4813   # Loop through the user's path and test for each of PROGNAME-LIST
    4814   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4815 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4816 do
    4817   IFS=$as_save_IFS
    4818   test -z "$as_dir" && as_dir=.
    4819     for ac_prog in egrep; do
    4820     for ac_exec_ext in '' $ac_executable_extensions; do
    4821       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4822       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4823 # Check for GNU ac_path_EGREP and select it if it is found.
    4824   # Check for GNU $ac_path_EGREP
    4825 case `"$ac_path_EGREP" --version 2>&1` in
    4826 *GNU*)
    4827   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4828 *)
    4829   ac_count=0
    4830   $as_echo_n 0123456789 >"conftest.in"
    4831   while :
    4832   do
    4833     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4834     mv "conftest.tmp" "conftest.in"
    4835     cp "conftest.in" "conftest.nl"
    4836     $as_echo 'EGREP' >> "conftest.nl"
    4837     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4838     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4839     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4840     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4841       # Best one so far, save it but keep looking for a better one
    4842       ac_cv_path_EGREP="$ac_path_EGREP"
    4843       ac_path_EGREP_max=$ac_count
    4844     fi
    4845     # 10*(2^10) chars as input seems more than enough
    4846     test $ac_count -gt 10 && break
    4847   done
    4848   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4849 esac
    4850 
    4851       $ac_path_EGREP_found && break 3
    4852     done
    4853   done
    4854   done
    4855 IFS=$as_save_IFS
    4856   if test -z "$ac_cv_path_EGREP"; then
    4857     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4858   fi
    4859 else
    4860   ac_cv_path_EGREP=$EGREP
    4861 fi
    4862 
    4863    fi
    4864 fi
    4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    4866 $as_echo "$ac_cv_path_EGREP" >&6; }
    4867  EGREP="$ac_cv_path_EGREP"
    4868 
    4869 
    4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    4871 $as_echo_n "checking for ANSI C header files... " >&6; }
    4872 if test "${ac_cv_header_stdc+set}" = set; then :
    4873   $as_echo_n "(cached) " >&6
    4874 else
    4875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4232fi
     4233LIBS=$ac_func_search_save_LIBS
     4234fi
     4235echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4236echo "${ECHO_T}$ac_cv_search_strerror" >&6
     4237if test "$ac_cv_search_strerror" != no; then
     4238  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     4239
     4240fi
     4241
     4242echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4243echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4244if test "${ac_cv_header_stdc+set}" = set; then
     4245  echo $ECHO_N "(cached) $ECHO_C" >&6
     4246else
     4247  cat >conftest.$ac_ext <<_ACEOF
     4248/* confdefs.h.  */
     4249_ACEOF
     4250cat confdefs.h >>conftest.$ac_ext
     4251cat >>conftest.$ac_ext <<_ACEOF
    48764252/* end confdefs.h.  */
    48774253#include <stdlib.h>
     
    48884264}
    48894265_ACEOF
    4890 if ac_fn_c_try_compile "$LINENO"; then :
     4266rm -f conftest.$ac_objext
     4267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4268  (eval $ac_compile) 2>conftest.er1
     4269  ac_status=$?
     4270  grep -v '^ *+' conftest.er1 >conftest.err
     4271  rm -f conftest.er1
     4272  cat conftest.err >&5
     4273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4274  (exit $ac_status); } &&
     4275     { ac_try='test -z "$ac_c_werror_flag"
     4276             || test ! -s conftest.err'
     4277  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4278  (eval $ac_try) 2>&5
     4279  ac_status=$?
     4280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4281  (exit $ac_status); }; } &&
     4282     { ac_try='test -s conftest.$ac_objext'
     4283  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4284  (eval $ac_try) 2>&5
     4285  ac_status=$?
     4286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4287  (exit $ac_status); }; }; then
    48914288  ac_cv_header_stdc=yes
    48924289else
    4893   ac_cv_header_stdc=no
    4894 fi
    4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4290  echo "$as_me: failed program was:" >&5
     4291sed 's/^/| /' conftest.$ac_ext >&5
     4292
     4293ac_cv_header_stdc=no
     4294fi
     4295rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    48964296
    48974297if test $ac_cv_header_stdc = yes; then
    48984298  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4299  cat >conftest.$ac_ext <<_ACEOF
     4300/* confdefs.h.  */
     4301_ACEOF
     4302cat confdefs.h >>conftest.$ac_ext
     4303cat >>conftest.$ac_ext <<_ACEOF
    49004304/* end confdefs.h.  */
    49014305#include <string.h>
     
    49034307_ACEOF
    49044308if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4905   $EGREP "memchr" >/dev/null 2>&1; then :
    4906 
     4309  $EGREP "memchr" >/dev/null 2>&1; then
     4310  :
    49074311else
    49084312  ac_cv_header_stdc=no
     
    49144318if test $ac_cv_header_stdc = yes; then
    49154319  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4320  cat >conftest.$ac_ext <<_ACEOF
     4321/* confdefs.h.  */
     4322_ACEOF
     4323cat confdefs.h >>conftest.$ac_ext
     4324cat >>conftest.$ac_ext <<_ACEOF
    49174325/* end confdefs.h.  */
    49184326#include <stdlib.h>
     
    49204328_ACEOF
    49214329if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4922   $EGREP "free" >/dev/null 2>&1; then :
    4923 
     4330  $EGREP "free" >/dev/null 2>&1; then
     4331  :
    49244332else
    49254333  ac_cv_header_stdc=no
     
    49314339if test $ac_cv_header_stdc = yes; then
    49324340  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4933   if test "$cross_compiling" = yes; then :
     4341  if test "$cross_compiling" = yes; then
    49344342  :
    49354343else
    4936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4344  cat >conftest.$ac_ext <<_ACEOF
     4345/* confdefs.h.  */
     4346_ACEOF
     4347cat confdefs.h >>conftest.$ac_ext
     4348cat >>conftest.$ac_ext <<_ACEOF
    49374349/* end confdefs.h.  */
    49384350#include <ctype.h>
    4939 #include <stdlib.h>
    49404351#if ((' ' & 0x0FF) == 0x020)
    49414352# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    49574368    if (XOR (islower (i), ISLOWER (i))
    49584369    || toupper (i) != TOUPPER (i))
    4959       return 2;
    4960   return 0;
     4370      exit(2);
     4371  exit (0);
    49614372}
    49624373_ACEOF
    4963 if ac_fn_c_try_run "$LINENO"; then :
    4964 
    4965 else
    4966   ac_cv_header_stdc=no
    4967 fi
    4968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    4969   conftest.$ac_objext conftest.beam conftest.$ac_ext
    4970 fi
    4971 
    4972 fi
    4973 fi
    4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    4975 $as_echo "$ac_cv_header_stdc" >&6; }
     4374rm -f conftest$ac_exeext
     4375if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4376  (eval $ac_link) 2>&5
     4377  ac_status=$?
     4378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4379  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4380  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4381  (eval $ac_try) 2>&5
     4382  ac_status=$?
     4383  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4384  (exit $ac_status); }; }; then
     4385  :