Changeset 35306 for main


Ignore:
Timestamp:
2021-08-18T11:07:13+12:00 (3 years ago)
Author:
davidb
Message:

Making javac default now source/target 1.6, rather than 1.4. This change was in response to 'javah' being deprecated. JNI is now down with 'javac -h' and to do that, you need to have at least a JDK 1.6 installed

Location:
main/trunk/greenstone2
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/aclocal.m4

    r23356 r35306  
    227227AC_PROVIDE([$0])dnl
    228228if test "x$JAVACFLAGS" = x ; then
    229   JAVACFLAGS="-source 1.4 -target 1.4"
     229  JAVACFLAGS="-source 1.6 -target 1.6"
    230230fi
    231231AC_SUBST(JAVACFLAGS)
  • main/trunk/greenstone2/build-src/configure

    r28509 r35306  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61.
     3# Generated by GNU Autoconf 2.69.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     5#
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7#
     8#
    79# This configure script is free software; the Free Software Foundation
    810# gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
     11## -------------------- ##
     12## M4sh Initialization. ##
     13## -------------------- ##
    1214
    1315# Be more Bourne compatible
    1416DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1618  emulate sh
    1719  NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1921  # is contrary to our usage.  Disable this feature.
    2022  alias -g '${1+"$@"}'='"$@"'
    2123  setopt NO_GLOB_SUBST
    2224else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
     25  case `(set -o) 2>/dev/null` in #(
     26  *posix*) :
     27    set -o posix ;; #(
     28  *) :
     29     ;;
    2530esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     31fi
     32
     33
     34as_nl='
     35'
     36export as_nl
     37# Printing a long string crashes Solaris 7 /usr/bin/printf.
     38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41# Prefer a ksh shell builtin over an external printf program on Solaris,
     42# but without wasting forks for bash or zsh.
     43if test -z "$BASH_VERSION$ZSH_VERSION" \
     44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45  as_echo='print -r --'
     46  as_echo_n='print -rn --'
     47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48  as_echo='printf %s\n'
     49  as_echo_n='printf %s'
     50else
     51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53    as_echo_n='/usr/ucb/echo -n'
     54  else
     55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56    as_echo_n_body='eval
     57      arg=$1;
     58      case $arg in #(
     59      *"$as_nl"*)
     60    expr "X$arg" : "X\\(.*\\)$as_nl";
     61    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62      esac;
     63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64    '
     65    export as_echo_n_body
     66    as_echo_n='sh -c $as_echo_n_body as_echo'
     67  fi
     68  export as_echo_body
     69  as_echo='sh -c $as_echo_body as_echo'
     70fi
    3971
    4072# The user is always right.
    4173if test "${PATH_SEPARATOR+set}" != set; then
    42   echo "#! /bin/sh" >conf$$.sh
    43   echo  "exit 0"   >>conf$$.sh
    44   chmod +x conf$$.sh
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    46     PATH_SEPARATOR=';'
    47   else
    48     PATH_SEPARATOR=:
    49   fi
    50   rm -f conf$$.sh
    51 fi
    52 
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
     74  PATH_SEPARATOR=:
     75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77      PATH_SEPARATOR=';'
     78  }
    5879fi
    5980
     
    6485# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    6586# splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    6887IFS=" ""    $as_nl"
    6988
    7089# Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
     90as_myself=
     91case $0 in #((
    7292  *[\\/]* ) as_myself=$0 ;;
    7393  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    7696  IFS=$as_save_IFS
    7797  test -z "$as_dir" && as_dir=.
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79 done
     98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99  done
    80100IFS=$as_save_IFS
    81101
     
    88108fi
    89109if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    93 
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     111  exit 1
     112fi
     113
     114# Unset variables that we do not need and which cause bugs (e.g. in
     115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     116# suppresses any "Segmentation fault" message there.  '((' could
     117# trigger a bug in pdksh 5.2.14.
     118for as_var in BASH_ENV ENV MAIL MAILPATH
     119do eval test x\${$as_var+set} = xset \
     120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    97121done
    98122PS1='$ '
     
    101125
    102126# NLS nuisances.
    103 for as_var in \
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    106   LC_TELEPHONE LC_TIME
     127LC_ALL=C
     128export LC_ALL
     129LANGUAGE=C
     130export LANGUAGE
     131
     132# CDPATH.
     133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     134
     135# Use a proper internal environment variable to ensure we don't fall
     136  # into an infinite loop, continuously re-executing ourselves.
     137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     138    _as_can_reexec=no; export _as_can_reexec;
     139    # We cannot yet assume a decent shell, so we have to provide a
     140# neutralization value for shells without unset; and this also
     141# works around shells that cannot unset nonexistent variables.
     142# Preserve -v and -x to the replacement shell.
     143BASH_ENV=/dev/null
     144ENV=/dev/null
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     146case $- in # ((((
     147  *v*x* | *x*v* ) as_opts=-vx ;;
     148  *v* ) as_opts=-v ;;
     149  *x* ) as_opts=-x ;;
     150  * ) as_opts= ;;
     151esac
     152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     153# Admittedly, this is quite paranoid, since all the known shells bail
     154# out after a failed `exec'.
     155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     156as_fn_exit 255
     157  fi
     158  # We don't want this to propagate to other subprocesses.
     159          { _as_can_reexec=; unset _as_can_reexec;}
     160if test "x$CONFIG_SHELL" = x; then
     161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     162  emulate sh
     163  NULLCMD=:
     164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     165  # is contrary to our usage.  Disable this feature.
     166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     167  setopt NO_GLOB_SUBST
     168else
     169  case \`(set -o) 2>/dev/null\` in #(
     170  *posix*) :
     171    set -o posix ;; #(
     172  *) :
     173     ;;
     174esac
     175fi
     176"
     177  as_required="as_fn_return () { (exit \$1); }
     178as_fn_success () { as_fn_return 0; }
     179as_fn_failure () { as_fn_return 1; }
     180as_fn_ret_success () { return 0; }
     181as_fn_ret_failure () { return 1; }
     182
     183exitcode=0
     184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     189
     190else
     191  exitcode=1; echo positional parameters were not saved.
     192fi
     193test x\$exitcode = x0 || exit 1
     194test -x / || exit 1"
     195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     199test \$(( 1 + 1 )) = 2 || exit 1"
     200  if (eval "$as_required") 2>/dev/null; then :
     201  as_have_required=yes
     202else
     203  as_have_required=no
     204fi
     205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     206
     207else
     208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     209as_found=false
     210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    107211do
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    109     eval $as_var=C; export $as_var
     212  IFS=$as_save_IFS
     213  test -z "$as_dir" && as_dir=.
     214  as_found=:
     215  case $as_dir in #(
     216     /*)
     217       for as_base in sh bash ksh sh5; do
     218         # Try only shells that exist, to save several forks.
     219         as_shell=$as_dir/$as_base
     220         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     221            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     222  CONFIG_SHELL=$as_shell as_have_required=yes
     223           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  break 2
     225fi
     226fi
     227       done;;
     228       esac
     229  as_found=false
     230done
     231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     232          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     233  CONFIG_SHELL=$SHELL as_have_required=yes
     234fi; }
     235IFS=$as_save_IFS
     236
     237
     238      if test "x$CONFIG_SHELL" != x; then :
     239  export CONFIG_SHELL
     240             # We cannot yet assume a decent shell, so we have to provide a
     241# neutralization value for shells without unset; and this also
     242# works around shells that cannot unset nonexistent variables.
     243# Preserve -v and -x to the replacement shell.
     244BASH_ENV=/dev/null
     245ENV=/dev/null
     246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     247case $- in # ((((
     248  *v*x* | *x*v* ) as_opts=-vx ;;
     249  *v* ) as_opts=-v ;;
     250  *x* ) as_opts=-x ;;
     251  * ) as_opts= ;;
     252esac
     253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     254# Admittedly, this is quite paranoid, since all the known shells bail
     255# out after a failed `exec'.
     256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     257exit 255
     258fi
     259
     260    if test x$as_have_required = xno; then :
     261  $as_echo "$0: This script requires a shell more modern than all"
     262  $as_echo "$0: the shells that I found on your system."
     263  if test x${ZSH_VERSION+set} = xset ; then
     264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    110266  else
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     267    $as_echo "$0: Please tell [email protected] about your system,
     268$0: including any error possibly output before this
     269$0: message. Then install a modern shell, or manually run
     270$0: the script under such a shell if you do have one."
    112271  fi
    113 done
    114 
    115 # Required to use basename.
     272  exit 1
     273fi
     274fi
     275fi
     276SHELL=${CONFIG_SHELL-/bin/sh}
     277export SHELL
     278# Unset more variables known to interfere with behavior of common tools.
     279CLICOLOR_FORCE= GREP_OPTIONS=
     280unset CLICOLOR_FORCE GREP_OPTIONS
     281
     282## --------------------- ##
     283## M4sh Shell Functions. ##
     284## --------------------- ##
     285# as_fn_unset VAR
     286# ---------------
     287# Portably unset VAR.
     288as_fn_unset ()
     289{
     290  { eval $1=; unset $1;}
     291}
     292as_unset=as_fn_unset
     293
     294# as_fn_set_status STATUS
     295# -----------------------
     296# Set $? to STATUS, without forking.
     297as_fn_set_status ()
     298{
     299  return $1
     300} # as_fn_set_status
     301
     302# as_fn_exit STATUS
     303# -----------------
     304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     305as_fn_exit ()
     306{
     307  set +e
     308  as_fn_set_status $1
     309  exit $1
     310} # as_fn_exit
     311
     312# as_fn_mkdir_p
     313# -------------
     314# Create "$as_dir" as a directory, including parents if necessary.
     315as_fn_mkdir_p ()
     316{
     317
     318  case $as_dir in #(
     319  -*) as_dir=./$as_dir;;
     320  esac
     321  test -d "$as_dir" || eval $as_mkdir_p || {
     322    as_dirs=
     323    while :; do
     324      case $as_dir in #(
     325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     326      *) as_qdir=$as_dir;;
     327      esac
     328      as_dirs="'$as_qdir' $as_dirs"
     329      as_dir=`$as_dirname -- "$as_dir" ||
     330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     331     X"$as_dir" : 'X\(//\)[^/]' \| \
     332     X"$as_dir" : 'X\(//\)$' \| \
     333     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     334$as_echo X"$as_dir" |
     335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     336        s//\1/
     337        q
     338      }
     339      /^X\(\/\/\)[^/].*/{
     340        s//\1/
     341        q
     342      }
     343      /^X\(\/\/\)$/{
     344        s//\1/
     345        q
     346      }
     347      /^X\(\/\).*/{
     348        s//\1/
     349        q
     350      }
     351      s/.*/./; q'`
     352      test -d "$as_dir" && break
     353    done
     354    test -z "$as_dirs" || eval "mkdir $as_dirs"
     355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     356
     357
     358} # as_fn_mkdir_p
     359
     360# as_fn_executable_p FILE
     361# -----------------------
     362# Test if FILE is an executable regular file.
     363as_fn_executable_p ()
     364{
     365  test -f "$1" && test -x "$1"
     366} # as_fn_executable_p
     367# as_fn_append VAR VALUE
     368# ----------------------
     369# Append the text in VALUE to the end of the definition contained in VAR. Take
     370# advantage of any shell optimizations that allow amortized linear growth over
     371# repeated appends, instead of the typical quadratic growth present in naive
     372# implementations.
     373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     374  eval 'as_fn_append ()
     375  {
     376    eval $1+=\$2
     377  }'
     378else
     379  as_fn_append ()
     380  {
     381    eval $1=\$$1\$2
     382  }
     383fi # as_fn_append
     384
     385# as_fn_arith ARG...
     386# ------------------
     387# Perform arithmetic evaluation on the ARGs, and store the result in the
     388# global $as_val. Take advantage of shells that can avoid forks. The arguments
     389# must be portable across $(()) and expr.
     390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     391  eval 'as_fn_arith ()
     392  {
     393    as_val=$(( $* ))
     394  }'
     395else
     396  as_fn_arith ()
     397  {
     398    as_val=`expr "$@" || test $? -eq 1`
     399  }
     400fi # as_fn_arith
     401
     402
     403# as_fn_error STATUS ERROR [LINENO LOG_FD]
     404# ----------------------------------------
     405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     407# script with STATUS, using 1 if that was 0.
     408as_fn_error ()
     409{
     410  as_status=$1; test $as_status -eq 0 && as_status=1
     411  if test "$4"; then
     412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     414  fi
     415  $as_echo "$as_me: error: $2" >&2
     416  as_fn_exit $as_status
     417} # as_fn_error
     418
    116419if expr a : '\(a\)' >/dev/null 2>&1 &&
    117420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    127430fi
    128431
    129 
    130 # Name of the executable.
     432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     433  as_dirname=dirname
     434else
     435  as_dirname=false
     436fi
     437
    131438as_me=`$as_basename -- "$0" ||
    132439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    133440     X"$0" : 'X\(//\)$' \| \
    134441     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    135 echo X/"$0" |
     442$as_echo X/"$0" |
    136443    sed '/^.*\/\([^/][^/]*\)\/*$/{
    137444        s//\1/
     
    148455      s/.*/./; q'`
    149456
    150 # CDPATH.
    151 $as_unset CDPATH
    152 
    153 
    154 if test "x$CONFIG_SHELL" = x; then
    155   if (eval ":") 2>/dev/null; then
    156   as_have_required=yes
    157 else
    158   as_have_required=no
    159 fi
    160 
    161   if test $as_have_required = yes &&     (eval ":
    162 (as_func_return () {
    163   (exit \$1)
    164 }
    165 as_func_success () {
    166   as_func_return 0
    167 }
    168 as_func_failure () {
    169   as_func_return 1
    170 }
    171 as_func_ret_success () {
    172   return 0
    173 }
    174 as_func_ret_failure () {
    175   return 1
    176 }
    177 
    178 exitcode=0
    179 if as_func_success; then
    180   :
    181 else
    182   exitcode=1
    183   echo as_func_success failed.
    184 fi
    185 
    186 if as_func_failure; then
    187   exitcode=1
    188   echo as_func_failure succeeded.
    189 fi
    190 
    191 if as_func_ret_success; then
    192   :
    193 else
    194   exitcode=1
    195   echo as_func_ret_success failed.
    196 fi
    197 
    198 if as_func_ret_failure; then
    199   exitcode=1
    200   echo as_func_ret_failure succeeded.
    201 fi
    202 
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    204   :
    205 else
    206   exitcode=1
    207   echo positional parameters were not saved.
    208 fi
    209 
    210 test \$exitcode = 0) || { (exit 1); exit 1; }
    211 
    212 (
    213   as_lineno_1=\$LINENO
    214   as_lineno_2=\$LINENO
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    217 ") 2> /dev/null; then
    218   :
    219 else
    220   as_candidate_shells=
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    223 do
    224   IFS=$as_save_IFS
    225   test -z "$as_dir" && as_dir=.
    226   case $as_dir in
    227      /*)
    228        for as_base in sh bash ksh sh5; do
    229          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    230        done;;
    231        esac
    232 done
    233 IFS=$as_save_IFS
    234 
    235 
    236       for as_shell in $as_candidate_shells $SHELL; do
    237      # Try only shells that exist, to save several forks.
    238      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    239         { ("$as_shell") 2> /dev/null <<\_ASEOF
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    241   emulate sh
    242   NULLCMD=:
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    244   # is contrary to our usage.  Disable this feature.
    245   alias -g '${1+"$@"}'='"$@"'
    246   setopt NO_GLOB_SUBST
    247 else
    248   case `(set -o) 2>/dev/null` in
    249   *posix*) set -o posix ;;
    250 esac
    251 
    252 fi
    253 
    254 
    255 :
    256 _ASEOF
    257 }; then
    258   CONFIG_SHELL=$as_shell
    259            as_have_required=yes
    260            if { "$as_shell" 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 (as_func_return () {
    278   (exit $1)
    279 }
    280 as_func_success () {
    281   as_func_return 0
    282 }
    283 as_func_failure () {
    284   as_func_return 1
    285 }
    286 as_func_ret_success () {
    287   return 0
    288 }
    289 as_func_ret_failure () {
    290   return 1
    291 }
    292 
    293 exitcode=0
    294 if as_func_success; then
    295   :
    296 else
    297   exitcode=1
    298   echo as_func_success failed.
    299 fi
    300 
    301 if as_func_failure; then
    302   exitcode=1
    303   echo as_func_failure succeeded.
    304 fi
    305 
    306 if as_func_ret_success; then
    307   :
    308 else
    309   exitcode=1
    310   echo as_func_ret_success failed.
    311 fi
    312 
    313 if as_func_ret_failure; then
    314   exitcode=1
    315   echo as_func_ret_failure succeeded.
    316 fi
    317 
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then
    319   :
    320 else
    321   exitcode=1
    322   echo positional parameters were not saved.
    323 fi
    324 
    325 test $exitcode = 0) || { (exit 1); exit 1; }
    326 
    327 (
    328   as_lineno_1=$LINENO
    329   as_lineno_2=$LINENO
    330   test "x$as_lineno_1" != "x$as_lineno_2" &&
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    332 
    333 _ASEOF
    334 }; then
    335   break
    336 fi
    337 
    338 fi
    339 
    340       done
    341 
    342       if test "x$CONFIG_SHELL" != x; then
    343   for as_var in BASH_ENV ENV
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    345         done
    346         export CONFIG_SHELL
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    348 fi
    349 
    350 
    351     if test $as_have_required = no; then
    352   echo This script requires a shell more modern than all the
    353       echo shells that I found on your system.  Please install a
    354       echo modern shell, or manually run the script under such a
    355       echo shell if you do have one.
    356       { (exit 1); exit 1; }
    357 fi
    358 
    359 
    360 fi
    361 
    362 fi
    363 
    364 
    365 
    366 (eval "as_func_return () {
    367   (exit \$1)
    368 }
    369 as_func_success () {
    370   as_func_return 0
    371 }
    372 as_func_failure () {
    373   as_func_return 1
    374 }
    375 as_func_ret_success () {
    376   return 0
    377 }
    378 as_func_ret_failure () {
    379   return 1
    380 }
    381 
    382 exitcode=0
    383 if as_func_success; then
    384   :
    385 else
    386   exitcode=1
    387   echo as_func_success failed.
    388 fi
    389 
    390 if as_func_failure; then
    391   exitcode=1
    392   echo as_func_failure succeeded.
    393 fi
    394 
    395 if as_func_ret_success; then
    396   :
    397 else
    398   exitcode=1
    399   echo as_func_ret_success failed.
    400 fi
    401 
    402 if as_func_ret_failure; then
    403   exitcode=1
    404   echo as_func_ret_failure succeeded.
    405 fi
    406 
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    408   :
    409 else
    410   exitcode=1
    411   echo positional parameters were not saved.
    412 fi
    413 
    414 test \$exitcode = 0") || {
    415   echo No shell found that supports shell functions.
    416   echo Please tell [email protected] about your system,
    417   echo including any error possibly output before this
    418   echo message
    419 }
    420 
    421 
    422 
    423   as_lineno_1=$LINENO
    424   as_lineno_2=$LINENO
    425   test "x$as_lineno_1" != "x$as_lineno_2" &&
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    427 
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429   # uniformly replaced by the line number.  The first 'sed' inserts a
    430   # line-number line after each line using $LINENO; the second 'sed'
    431   # does the real work.  The second script uses 'N' to pair each
    432   # line-number line with the line containing $LINENO, and appends
    433   # trailing '-' during substitution so that $LINENO is not a special
    434   # case at line end.
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    437   # E. McMahon (1931-1989) for sed's syntax.  :-)
     457# Avoid depending upon Character Ranges.
     458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     461as_cr_digits='0123456789'
     462as_cr_alnum=$as_cr_Letters$as_cr_digits
     463
     464
     465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438470  sed -n '
    439471    p
     
    452484    ' >$as_me.lineno &&
    453485  chmod +x "$as_me.lineno" ||
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455    { (exit 1); exit 1; }; }
    456 
     486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     487
     488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     489  # already done that, so ensure we don't try to do so again and fall
     490  # in an infinite loop.  This has already happened in practice.
     491  _as_can_reexec=no; export _as_can_reexec
    457492  # Don't try to exec as it changes $[0], causing all sort of problems
    458493  # (the dirname of $[0] is not the place where we might find the
     
    463498}
    464499
    465 
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    467   as_dirname=dirname
    468 else
    469   as_dirname=false
    470 fi
    471 
    472500ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in
     501case `echo -n x` in #(((((
    474502-n*)
    475   case `echo 'x\c'` in
     503  case `echo 'xy\c'` in
    476504  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    477   *)   ECHO_C='\c';;
     505  xy)  ECHO_C='\c';;
     506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     507       ECHO_T=' ';;
    478508  esac;;
    479509*)
     
    481511esac
    482512
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    485   as_expr=expr
    486 else
    487   as_expr=false
    488 fi
    489 
    490513rm -f conf$$ conf$$.exe conf$$.file
    491514if test -d conf$$.dir; then
     
    493516else
    494517  rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497 echo >conf$$.file
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then
    499   as_ln_s='ln -s'
    500   # ... but there are two gotchas:
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    503   # In both cases, we have to default to `cp -p'.
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    505     as_ln_s='cp -p'
    506 elif ln conf$$.file conf$$ 2>/dev/null; then
    507   as_ln_s=ln
    508 else
    509   as_ln_s='cp -p'
     518  mkdir conf$$.dir 2>/dev/null
     519fi
     520if (echo >conf$$.file) 2>/dev/null; then
     521  if ln -s conf$$.file conf$$ 2>/dev/null; then
     522    as_ln_s='ln -s'
     523    # ... but there are two gotchas:
     524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     526    # In both cases, we have to default to `cp -pR'.
     527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     528      as_ln_s='cp -pR'
     529  elif ln conf$$.file conf$$ 2>/dev/null; then
     530    as_ln_s=ln
     531  else
     532    as_ln_s='cp -pR'
     533  fi
     534else
     535  as_ln_s='cp -pR'
    510536fi
    511537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    513539
    514540if mkdir -p . 2>/dev/null; then
    515   as_mkdir_p=:
     541  as_mkdir_p='mkdir -p "$as_dir"'
    516542else
    517543  test -d ./-p && rmdir ./-p
     
    519545fi
    520546
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    524   if ls -dL / >/dev/null 2>&1; then
    525     as_ls_L_option=L
    526   else
    527     as_ls_L_option=
    528   fi
    529   as_test_x='
    530     eval sh -c '\''
    531       if test -d "$1"; then
    532         test -d "$1/.";
    533       else
    534     case $1 in
    535         -*)set "./$1";;
    536     esac;
    537     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    538     ???[sx]*):;;*)false;;esac;fi
    539     '\'' sh
    540   '
    541 fi
    542 as_executable_p=$as_test_x
     547as_test_x='test -x'
     548as_executable_p=as_fn_executable_p
    543549
    544550# Sed expression to map a string onto a valid CPP name.
     
    549555
    550556
    551 
    552 exec 7<&0 </dev/null 6>&1
     557test -n "$DJDIR" || exec 7<&0 </dev/null
     558exec 6>&1
    553559
    554560# Name of the host.
    555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556562# so uname gets run too.
    557563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    568574MFLAGS=
    569575MAKEFLAGS=
    570 SHELL=${CONFIG_SHELL-/bin/sh}
    571576
    572577# Identity of this package.
     
    576581PACKAGE_STRING=
    577582PACKAGE_BUGREPORT=
     583PACKAGE_URL=
    578584
    579585# Factoring default headers for most tests.
     
    613619#endif"
    614620
    615 ac_subst_vars='SHELL
     621enable_option_checking=no
     622ac_subst_vars='LTLIBOBJS
     623subdirs
     624MODULEDIRS
     625gsdlos
     626STATIC
     627LIBOBJS
     628ALLOCA
     629ANSI2KNR
     630U
     631EGREP
     632GREP
     633CPP
     634MICO_VER
     635ARCH_DEP_FLAGS
     636STRIP
     637RANLIB
     638SET_MAKE
     639LN_S
     640INSTALL_DATA
     641INSTALL_SCRIPT
     642INSTALL_PROGRAM
     643target_os
     644target_vendor
     645target_cpu
     646target
     647host_os
     648host_vendor
     649host_cpu
     650host
     651build_os
     652build_vendor
     653build_cpu
     654build
     655YFLAGS
     656YACC
     657AWK
     658uudecode
     659JAVA
     660JAVACFLAGS
     661JAVAC
     662ac_ct_CXX
     663CXXFLAGS
     664CXX
     665OBJEXT
     666EXEEXT
     667ac_ct_CC
     668CPPFLAGS
     669CC
     670CFLAGS
     671LDFLAGS
     672ENABLE_GNOMELIB_EXT
     673USE_SQLITE
     674ENABLE_ACCENTFOLD
     675USE_GDBM
     676USE_JDBM
     677USE_WVWARE
     678ENABLE_JAVA
     679USE_YAZ
     680USE_Z3950
     681MICO_DIR
     682USE_CORBA
     683USE_LANGACTION
     684USE_FASTCGI
     685VERSION
     686PACKAGE
     687target_alias
     688host_alias
     689build_alias
     690LIBS
     691ECHO_T
     692ECHO_N
     693ECHO_C
     694DEFS
     695mandir
     696localedir
     697libdir
     698psdir
     699pdfdir
     700dvidir
     701htmldir
     702infodir
     703docdir
     704oldincludedir
     705includedir
     706runstatedir
     707localstatedir
     708sharedstatedir
     709sysconfdir
     710datadir
     711datarootdir
     712libexecdir
     713sbindir
     714bindir
     715program_transform_name
     716prefix
     717exec_prefix
     718PACKAGE_URL
     719PACKAGE_BUGREPORT
     720PACKAGE_STRING
     721PACKAGE_VERSION
     722PACKAGE_TARNAME
     723PACKAGE_NAME
    616724PATH_SEPARATOR
    617 PACKAGE_NAME
    618 PACKAGE_TARNAME
    619 PACKAGE_VERSION
    620 PACKAGE_STRING
    621 PACKAGE_BUGREPORT
    622 exec_prefix
    623 prefix
    624 program_transform_name
    625 bindir
    626 sbindir
    627 libexecdir
    628 datarootdir
    629 datadir
    630 sysconfdir
    631 sharedstatedir
    632 localstatedir
    633 includedir
    634 oldincludedir
    635 docdir
    636 infodir
    637 htmldir
    638 dvidir
    639 pdfdir
    640 psdir
    641 libdir
    642 localedir
    643 mandir
    644 DEFS
    645 ECHO_C
    646 ECHO_N
    647 ECHO_T
    648 LIBS
    649 build_alias
    650 host_alias
    651 target_alias
    652 PACKAGE
    653 VERSION
    654 USE_FASTCGI
    655 USE_LANGACTION
    656 USE_CORBA
    657 MICO_DIR
    658 USE_Z3950
    659 USE_YAZ
    660 ENABLE_JAVA
    661 USE_WVWARE
    662 USE_JDBM
    663 USE_GDBM
    664 ENABLE_ACCENTFOLD
    665 USE_SQLITE
    666 ENABLE_GNOMELIB_EXT
    667 LDFLAGS
    668 CFLAGS
    669 CC
    670 CPPFLAGS
    671 ac_ct_CC
    672 EXEEXT
    673 OBJEXT
    674 CXX
    675 CXXFLAGS
    676 ac_ct_CXX
    677 JAVAC
    678 JAVACFLAGS
    679 JAVA
    680 uudecode
    681 AWK
    682 YACC
    683 YFLAGS
    684 build
    685 build_cpu
    686 build_vendor
    687 build_os
    688 host
    689 host_cpu
    690 host_vendor
    691 host_os
    692 target
    693 target_cpu
    694 target_vendor
    695 target_os
    696 INSTALL_PROGRAM
    697 INSTALL_SCRIPT
    698 INSTALL_DATA
    699 LN_S
    700 SET_MAKE
    701 RANLIB
    702 STRIP
    703 ARCH_DEP_FLAGS
    704 MICO_VER
    705 CPP
    706 GREP
    707 EGREP
    708 U
    709 ANSI2KNR
    710 ALLOCA
    711 LIBOBJS
    712 STATIC
    713 gsdlos
    714 MODULEDIRS
    715 subdirs
    716 LTLIBOBJS'
     725SHELL'
    717726ac_subst_files=''
     727ac_user_opts='
     728enable_option_checking
     729enable_corba
     730with_micodir
     731enable_z3950
     732enable_yaz
     733enable_java
     734enable_wvware
     735enable_jdbm
     736enable_gdbm
     737enable_accentfold
     738enable_sqlite
     739enable_gnome_lib_ext
     740with_dmalloc
     741with_regex
     742'
    718743      ac_precious_vars='build_alias
    719744host_alias
     
    735760ac_init_help=
    736761ac_init_version=false
     762ac_unrecognized_opts=
     763ac_unrecognized_sep=
    737764# The variables have the same names as the options, with
    738765# dashes changed to underlines.
     
    766793sharedstatedir='${prefix}/com'
    767794localstatedir='${prefix}/var'
     795runstatedir='${localstatedir}/run'
    768796includedir='${prefix}/include'
    769797oldincludedir='/usr/include'
     
    790818
    791819  case $ac_option in
    792   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    793   *)    ac_optarg=yes ;;
     820  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     821  *=)   ac_optarg= ;;
     822  *)    ac_optarg=yes ;;
    794823  esac
    795824
     
    833862
    834863  -disable-* | --disable-*)
    835     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     864    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    836865    # Reject names that are not valid shell variable names.
    837     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    838       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    839    { (exit 1); exit 1; }; }
    840     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    841     eval enable_$ac_feature=no ;;
     866    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     867      as_fn_error $? "invalid feature name: $ac_useropt"
     868    ac_useropt_orig=$ac_useropt
     869    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     870    case $ac_user_opts in
     871      *"
     872"enable_$ac_useropt"
     873"*) ;;
     874      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     875     ac_unrecognized_sep=', ';;
     876    esac
     877    eval enable_$ac_useropt=no ;;
    842878
    843879  -docdir | --docdir | --docdi | --doc | --do)
     
    852888
    853889  -enable-* | --enable-*)
    854     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     890    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    855891    # Reject names that are not valid shell variable names.
    856     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    857       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    858    { (exit 1); exit 1; }; }
    859     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    860     eval enable_$ac_feature=\$ac_optarg ;;
     892    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     893      as_fn_error $? "invalid feature name: $ac_useropt"
     894    ac_useropt_orig=$ac_useropt
     895    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     896    case $ac_user_opts in
     897      *"
     898"enable_$ac_useropt"
     899"*) ;;
     900      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     901     ac_unrecognized_sep=', ';;
     902    esac
     903    eval enable_$ac_useropt=\$ac_optarg ;;
    861904
    862905  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    10031046    silent=yes ;;
    10041047
     1048  -runstatedir | --runstatedir | --runstatedi | --runstated \
     1049  | --runstate | --runstat | --runsta | --runst | --runs \
     1050  | --run | --ru | --r)
     1051    ac_prev=runstatedir ;;
     1052  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     1053  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     1054  | --run=* | --ru=* | --r=*)
     1055    runstatedir=$ac_optarg ;;
     1056
    10051057  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    10061058    ac_prev=sbindir ;;
     
    10491101
    10501102  -with-* | --with-*)
    1051     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1103    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    10521104    # Reject names that are not valid shell variable names.
    1053     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1054       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1055    { (exit 1); exit 1; }; }
    1056     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1057     eval with_$ac_package=\$ac_optarg ;;
     1105    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1106      as_fn_error $? "invalid package name: $ac_useropt"
     1107    ac_useropt_orig=$ac_useropt
     1108    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1109    case $ac_user_opts in
     1110      *"
     1111"with_$ac_useropt"
     1112"*) ;;
     1113      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1114     ac_unrecognized_sep=', ';;
     1115    esac
     1116    eval with_$ac_useropt=\$ac_optarg ;;
    10581117
    10591118  -without-* | --without-*)
    1060     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1119    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    10611120    # Reject names that are not valid shell variable names.
    1062     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1063       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1064    { (exit 1); exit 1; }; }
    1065     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1066     eval with_$ac_package=no ;;
     1121    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1122      as_fn_error $? "invalid package name: $ac_useropt"
     1123    ac_useropt_orig=$ac_useropt
     1124    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1125    case $ac_user_opts in
     1126      *"
     1127"with_$ac_useropt"
     1128"*) ;;
     1129      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1130     ac_unrecognized_sep=', ';;
     1131    esac
     1132    eval with_$ac_useropt=no ;;
    10671133
    10681134  --x)
     
    10841150    x_libraries=$ac_optarg ;;
    10851151
    1086   -*) { echo "$as_me: error: unrecognized option: $ac_option
    1087 Try \`$0 --help' for more information." >&2
    1088    { (exit 1); exit 1; }; }
     1152  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1153Try \`$0 --help' for more information"
    10891154    ;;
    10901155
     
    10921157    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    10931158    # Reject names that are not valid shell variable names.
    1094     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1095       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1096    { (exit 1); exit 1; }; }
     1159    case $ac_envvar in #(
     1160      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1161      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1162    esac
    10971163    eval $ac_envvar=\$ac_optarg
    10981164    export $ac_envvar ;;
     
    11001166  *)
    11011167    # FIXME: should be removed in autoconf 3.0.
    1102     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1168    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    11031169    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1104       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1105     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1170      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1171    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11061172    ;;
    11071173
     
    11111177if test -n "$ac_prev"; then
    11121178  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1113   { echo "$as_me: error: missing argument to $ac_option" >&2
    1114    { (exit 1); exit 1; }; }
    1115 fi
    1116 
    1117 # Be sure to have absolute directory names.
     1179  as_fn_error $? "missing argument to $ac_option"
     1180fi
     1181
     1182if test -n "$ac_unrecognized_opts"; then
     1183  case $enable_option_checking in
     1184    no) ;;
     1185    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1186    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1187  esac
     1188fi
     1189
     1190# Check all directory arguments for consistency.
    11181191for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    11191192        datadir sysconfdir sharedstatedir localstatedir includedir \
    11201193        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1121         libdir localedir mandir
     1194        libdir localedir mandir runstatedir
    11221195do
    11231196  eval ac_val=\$$ac_var
     1197  # Remove trailing slashes.
     1198  case $ac_val in
     1199    */ )
     1200      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1201      eval $ac_var=\$ac_val;;
     1202  esac
     1203  # Be sure to have absolute directory names.
    11241204  case $ac_val in
    11251205    [\\/$]* | ?:[\\/]* )  continue;;
    11261206    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11271207  esac
    1128   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1129    { (exit 1); exit 1; }; }
     1208  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    11301209done
    11311210
     
    11411220  if test "x$build_alias" = x; then
    11421221    cross_compiling=maybe
    1143     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1144     If a cross compiler is detected then cross compile mode will be used." >&2
    11451222  elif test "x$build_alias" != "x$host_alias"; then
    11461223    cross_compiling=yes
     
    11571234ac_ls_di=`ls -di .` &&
    11581235ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1159   { echo "$as_me: error: Working directory cannot be determined" >&2
    1160    { (exit 1); exit 1; }; }
     1236  as_fn_error $? "working directory cannot be determined"
    11611237test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1162   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1163    { (exit 1); exit 1; }; }
     1238  as_fn_error $? "pwd does not report name of working directory"
    11641239
    11651240
     
    11681243  ac_srcdir_defaulted=yes
    11691244  # Try the directory containing this script, then the parent directory.
    1170   ac_confdir=`$as_dirname -- "$0" ||
    1171 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1172      X"$0" : 'X\(//\)[^/]' \| \
    1173      X"$0" : 'X\(//\)$' \| \
    1174      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    1175 echo X"$0" |
     1245  ac_confdir=`$as_dirname -- "$as_myself" ||
     1246$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1247     X"$as_myself" : 'X\(//\)[^/]' \| \
     1248     X"$as_myself" : 'X\(//\)$' \| \
     1249     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1250$as_echo X"$as_myself" |
    11761251    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    11771252        s//\1/
     
    12001275if test ! -r "$srcdir/$ac_unique_file"; then
    12011276  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1202   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1203    { (exit 1); exit 1; }; }
     1277  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12041278fi
    12051279ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12061280ac_abs_confdir=`(
    1207     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    1208    { (exit 1); exit 1; }; }
     1281    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    12091282    pwd)`
    12101283# When building in place, set srcdir=.
     
    12461319      --help=recursive    display the short help of all the included packages
    12471320  -V, --version           display version information and exit
    1248   -q, --quiet, --silent   do not print \`checking...' messages
     1321  -q, --quiet, --silent   do not print \`checking ...' messages
    12491322      --cache-file=FILE   cache test results in FILE [disabled]
    12501323  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    12541327Installation directories:
    12551328  --prefix=PREFIX         install architecture-independent files in PREFIX
    1256               [$ac_default_prefix]
     1329                          [$ac_default_prefix]
    12571330  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1258               [PREFIX]
     1331                          [PREFIX]
    12591332
    12601333By default, \`make install' will install all the files in
     
    12661339
    12671340Fine tuning of the installation directories:
    1268   --bindir=DIR           user executables [EPREFIX/bin]
    1269   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1270   --libexecdir=DIR       program executables [EPREFIX/libexec]
    1271   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1272   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    1273   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    1274   --libdir=DIR           object code libraries [EPREFIX/lib]
    1275   --includedir=DIR       C header files [PREFIX/include]
    1276   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1277   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1278   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1279   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1280   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1281   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1282   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
    1283   --htmldir=DIR          html documentation [DOCDIR]
    1284   --dvidir=DIR           dvi documentation [DOCDIR]
    1285   --pdfdir=DIR           pdf documentation [DOCDIR]
    1286   --psdir=DIR            ps documentation [DOCDIR]
     1341  --bindir=DIR            user executables [EPREFIX/bin]
     1342  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1343  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1344  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1345  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1346  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1347  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
     1348  --libdir=DIR            object code libraries [EPREFIX/lib]
     1349  --includedir=DIR        C header files [PREFIX/include]
     1350  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1351  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1352  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1353  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1354  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1355  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1356  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1357  --htmldir=DIR           html documentation [DOCDIR]
     1358  --dvidir=DIR            dvi documentation [DOCDIR]
     1359  --pdfdir=DIR            pdf documentation [DOCDIR]
     1360  --psdir=DIR             ps documentation [DOCDIR]
    12871361_ACEOF
    12881362
     
    13011375
    13021376Optional Features:
     1377  --disable-option-checking  ignore unrecognized --enable/--with options
    13031378  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13041379  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    13281403              nonstandard directory <lib dir>
    13291404  LIBS        libraries to pass to the linker, e.g. -l<library>
    1330   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1405  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13311406              you have headers in a nonstandard directory <include dir>
    13321407  CXX         C++ compiler command
    13331408  CXXFLAGS    C++ compiler flags
    1334   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1335               the first program found out of: `bison -y', `byacc', `yacc'.
     1409  YACC        The `Yet Another Compiler Compiler' implementation to use.
     1410              Defaults to the first program found out of: `bison -y', `byacc',
     1411              `yacc'.
    13361412  YFLAGS      The list of arguments that will be passed by default to $YACC.
    13371413              This script will default YFLAGS to the empty string to avoid a
     
    13421418it to find libraries and programs with nonstandard names/locations.
    13431419
     1420Report bugs to the package provider.
    13441421_ACEOF
    13451422ac_status=$?
     
    13491426  # If there are subdirs, report their specific --help.
    13501427  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1351     test -d "$ac_dir" || continue
     1428    test -d "$ac_dir" ||
     1429      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1430      continue
    13521431    ac_builddir=.
    13531432
     
    13551434.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    13561435*)
    1357   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     1436  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    13581437  # A ".." for each directory in $ac_dir_suffix.
    1359   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1438  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    13601439  case $ac_top_builddir_sub in
    13611440  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    13931472      $SHELL "$ac_srcdir/configure" --help=recursive
    13941473    else
    1395       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1474      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    13961475    fi || ac_status=$?
    13971476    cd "$ac_pwd" || { ac_status=$?; break; }
     
    14031482  cat <<\_ACEOF
    14041483configure
    1405 generated by GNU Autoconf 2.61
    1406 
    1407 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1408 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     1484generated by GNU Autoconf 2.69
     1485
     1486Copyright (C) 2012 Free Software Foundation, Inc.
    14091487This configure script is free software; the Free Software Foundation
    14101488gives unlimited permission to copy, distribute and modify it.
     
    14121490  exit
    14131491fi
     1492
     1493## ------------------------ ##
     1494## Autoconf initialization. ##
     1495## ------------------------ ##
     1496
     1497# ac_fn_c_try_compile LINENO
     1498# --------------------------
     1499# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1500ac_fn_c_try_compile ()
     1501{
     1502  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1503  rm -f conftest.$ac_objext
     1504  if { { ac_try="$ac_compile"
     1505case "(($ac_try" in
     1506  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1507  *) ac_try_echo=$ac_try;;
     1508esac
     1509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1510$as_echo "$ac_try_echo"; } >&5
     1511  (eval "$ac_compile") 2>conftest.err
     1512  ac_status=$?
     1513  if test -s conftest.err; then
     1514    grep -v '^ *+' conftest.err >conftest.er1
     1515    cat conftest.er1 >&5
     1516    mv -f conftest.er1 conftest.err
     1517  fi
     1518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1519  test $ac_status = 0; } && {
     1520     test -z "$ac_c_werror_flag" ||
     1521     test ! -s conftest.err
     1522       } && test -s conftest.$ac_objext; then :
     1523  ac_retval=0
     1524else
     1525  $as_echo "$as_me: failed program was:" >&5
     1526sed 's/^/| /' conftest.$ac_ext >&5
     1527
     1528    ac_retval=1
     1529fi
     1530  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1531  as_fn_set_status $ac_retval
     1532
     1533} # ac_fn_c_try_compile
     1534
     1535# ac_fn_cxx_try_compile LINENO
     1536# ----------------------------
     1537# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1538ac_fn_cxx_try_compile ()
     1539{
     1540  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1541  rm -f conftest.$ac_objext
     1542  if { { ac_try="$ac_compile"
     1543case "(($ac_try" in
     1544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1545  *) ac_try_echo=$ac_try;;
     1546esac
     1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1548$as_echo "$ac_try_echo"; } >&5
     1549  (eval "$ac_compile") 2>conftest.err
     1550  ac_status=$?
     1551  if test -s conftest.err; then
     1552    grep -v '^ *+' conftest.err >conftest.er1
     1553    cat conftest.er1 >&5
     1554    mv -f conftest.er1 conftest.err
     1555  fi
     1556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1557  test $ac_status = 0; } && {
     1558     test -z "$ac_cxx_werror_flag" ||
     1559     test ! -s conftest.err
     1560       } && test -s conftest.$ac_objext; then :
     1561  ac_retval=0
     1562else
     1563  $as_echo "$as_me: failed program was:" >&5
     1564sed 's/^/| /' conftest.$ac_ext >&5
     1565
     1566    ac_retval=1
     1567fi
     1568  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1569  as_fn_set_status $ac_retval
     1570
     1571} # ac_fn_cxx_try_compile
     1572
     1573# ac_fn_c_try_cpp LINENO
     1574# ----------------------
     1575# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1576ac_fn_c_try_cpp ()
     1577{
     1578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1579  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1580case "(($ac_try" in
     1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1582  *) ac_try_echo=$ac_try;;
     1583esac
     1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1585$as_echo "$ac_try_echo"; } >&5
     1586  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1587  ac_status=$?
     1588  if test -s conftest.err; then
     1589    grep -v '^ *+' conftest.err >conftest.er1
     1590    cat conftest.er1 >&5
     1591    mv -f conftest.er1 conftest.err
     1592  fi
     1593  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1594  test $ac_status = 0; } > conftest.i && {
     1595     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1596     test ! -s conftest.err
     1597       }; then :
     1598  ac_retval=0
     1599else
     1600  $as_echo "$as_me: failed program was:" >&5
     1601sed 's/^/| /' conftest.$ac_ext >&5
     1602
     1603    ac_retval=1
     1604fi
     1605  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1606  as_fn_set_status $ac_retval
     1607
     1608} # ac_fn_c_try_cpp
     1609
     1610# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1611# -------------------------------------------------------
     1612# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1613# the include files in INCLUDES and setting the cache variable VAR
     1614# accordingly.
     1615ac_fn_c_check_header_mongrel ()
     1616{
     1617  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1618  if eval \${$3+:} false; then :
     1619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1620$as_echo_n "checking for $2... " >&6; }
     1621if eval \${$3+:} false; then :
     1622  $as_echo_n "(cached) " >&6
     1623fi
     1624eval ac_res=\$$3
     1625           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1626$as_echo "$ac_res" >&6; }
     1627else
     1628  # Is the header compilable?
     1629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1630$as_echo_n "checking $2 usability... " >&6; }
     1631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1632/* end confdefs.h.  */
     1633$4
     1634#include <$2>
     1635_ACEOF
     1636if ac_fn_c_try_compile "$LINENO"; then :
     1637  ac_header_compiler=yes
     1638else
     1639  ac_header_compiler=no
     1640fi
     1641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1643$as_echo "$ac_header_compiler" >&6; }
     1644
     1645# Is the header present?
     1646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1647$as_echo_n "checking $2 presence... " >&6; }
     1648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1649/* end confdefs.h.  */
     1650#include <$2>
     1651_ACEOF
     1652if ac_fn_c_try_cpp "$LINENO"; then :
     1653  ac_header_preproc=yes
     1654else
     1655  ac_header_preproc=no
     1656fi
     1657rm -f conftest.err conftest.i conftest.$ac_ext
     1658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1659$as_echo "$ac_header_preproc" >&6; }
     1660
     1661# So?  What about this header?
     1662case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1663  yes:no: )
     1664    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1665$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1666    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1667$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1668    ;;
     1669  no:yes:* )
     1670    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1671$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1672    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1673$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1674    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1675$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1676    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1677$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1678    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1679$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1680    ;;
     1681esac
     1682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1683$as_echo_n "checking for $2... " >&6; }
     1684if eval \${$3+:} false; then :
     1685  $as_echo_n "(cached) " >&6
     1686else
     1687  eval "$3=\$ac_header_compiler"
     1688fi
     1689eval ac_res=\$$3
     1690           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1691$as_echo "$ac_res" >&6; }
     1692fi
     1693  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1694
     1695} # ac_fn_c_check_header_mongrel
     1696
     1697# ac_fn_c_try_run LINENO
     1698# ----------------------
     1699# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1700# that executables *can* be run.
     1701ac_fn_c_try_run ()
     1702{
     1703  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1704  if { { ac_try="$ac_link"
     1705case "(($ac_try" in
     1706  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1707  *) ac_try_echo=$ac_try;;
     1708esac
     1709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1710$as_echo "$ac_try_echo"; } >&5
     1711  (eval "$ac_link") 2>&5
     1712  ac_status=$?
     1713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1714  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1715  { { case "(($ac_try" in
     1716  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1717  *) ac_try_echo=$ac_try;;
     1718esac
     1719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1720$as_echo "$ac_try_echo"; } >&5
     1721  (eval "$ac_try") 2>&5
     1722  ac_status=$?
     1723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1724  test $ac_status = 0; }; }; then :
     1725  ac_retval=0
     1726else
     1727  $as_echo "$as_me: program exited with status $ac_status" >&5
     1728       $as_echo "$as_me: failed program was:" >&5
     1729sed 's/^/| /' conftest.$ac_ext >&5
     1730
     1731       ac_retval=$ac_status
     1732fi
     1733  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1734  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1735  as_fn_set_status $ac_retval
     1736
     1737} # ac_fn_c_try_run
     1738
     1739# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1740# -------------------------------------------------------
     1741# Tests whether HEADER exists and can be compiled using the include files in
     1742# INCLUDES, setting the cache variable VAR accordingly.
     1743ac_fn_c_check_header_compile ()
     1744{
     1745  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1747$as_echo_n "checking for $2... " >&6; }
     1748if eval \${$3+:} false; then :
     1749  $as_echo_n "(cached) " >&6
     1750else
     1751  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1752/* end confdefs.h.  */
     1753$4
     1754#include <$2>
     1755_ACEOF
     1756if ac_fn_c_try_compile "$LINENO"; then :
     1757  eval "$3=yes"
     1758else
     1759  eval "$3=no"
     1760fi
     1761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1762fi
     1763eval ac_res=\$$3
     1764           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1765$as_echo "$ac_res" >&6; }
     1766  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1767
     1768} # ac_fn_c_check_header_compile
     1769
     1770# ac_fn_c_try_link LINENO
     1771# -----------------------
     1772# Try to link conftest.$ac_ext, and return whether this succeeded.
     1773ac_fn_c_try_link ()
     1774{
     1775  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1776  rm -f conftest.$ac_objext conftest$ac_exeext
     1777  if { { ac_try="$ac_link"
     1778case "(($ac_try" in
     1779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1780  *) ac_try_echo=$ac_try;;
     1781esac
     1782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1783$as_echo "$ac_try_echo"; } >&5
     1784  (eval "$ac_link") 2>conftest.err
     1785  ac_status=$?
     1786  if test -s conftest.err; then
     1787    grep -v '^ *+' conftest.err >conftest.er1
     1788    cat conftest.er1 >&5
     1789    mv -f conftest.er1 conftest.err
     1790  fi
     1791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1792  test $ac_status = 0; } && {
     1793     test -z "$ac_c_werror_flag" ||
     1794     test ! -s conftest.err
     1795       } && test -s conftest$ac_exeext && {
     1796     test "$cross_compiling" = yes ||
     1797     test -x conftest$ac_exeext
     1798       }; then :
     1799  ac_retval=0
     1800else
     1801  $as_echo "$as_me: failed program was:" >&5
     1802sed 's/^/| /' conftest.$ac_ext >&5
     1803
     1804    ac_retval=1
     1805fi
     1806  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1807  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1808  # interfere with the next link command; also delete a directory that is
     1809  # left behind by Apple's compiler.  We do this before executing the actions.
     1810  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1811  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1812  as_fn_set_status $ac_retval
     1813
     1814} # ac_fn_c_try_link
     1815
     1816# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1817# -------------------------------------------
     1818# Tests whether TYPE exists after having included INCLUDES, setting cache
     1819# variable VAR accordingly.
     1820ac_fn_c_check_type ()
     1821{
     1822  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1824$as_echo_n "checking for $2... " >&6; }
     1825if eval \${$3+:} false; then :
     1826  $as_echo_n "(cached) " >&6
     1827else
     1828  eval "$3=no"
     1829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1830/* end confdefs.h.  */
     1831$4
     1832int
     1833main ()
     1834{
     1835if (sizeof ($2))
     1836     return 0;
     1837  ;
     1838  return 0;
     1839}
     1840_ACEOF
     1841if ac_fn_c_try_compile "$LINENO"; then :
     1842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1843/* end confdefs.h.  */
     1844$4
     1845int
     1846main ()
     1847{
     1848if (sizeof (($2)))
     1849        return 0;
     1850  ;
     1851  return 0;
     1852}
     1853_ACEOF
     1854if ac_fn_c_try_compile "$LINENO"; then :
     1855
     1856else
     1857  eval "$3=yes"
     1858fi
     1859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1860fi
     1861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1862fi
     1863eval ac_res=\$$3
     1864           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1865$as_echo "$ac_res" >&6; }
     1866  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1867
     1868} # ac_fn_c_check_type
     1869
     1870# ac_fn_c_check_func LINENO FUNC VAR
     1871# ----------------------------------
     1872# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1873ac_fn_c_check_func ()
     1874{
     1875  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1877$as_echo_n "checking for $2... " >&6; }
     1878if eval \${$3+:} false; then :
     1879  $as_echo_n "(cached) " >&6
     1880else
     1881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1882/* end confdefs.h.  */
     1883/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1884   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1885#define $2 innocuous_$2
     1886
     1887/* System header to define __stub macros and hopefully few prototypes,
     1888    which can conflict with char $2 (); below.
     1889    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1890    <limits.h> exists even on freestanding compilers.  */
     1891
     1892#ifdef __STDC__
     1893# include <limits.h>
     1894#else
     1895# include <assert.h>
     1896#endif
     1897
     1898#undef $2
     1899
     1900/* Override any GCC internal prototype to avoid an error.
     1901   Use char because int might match the return type of a GCC
     1902   builtin and then its argument prototype would still apply.  */
     1903#ifdef __cplusplus
     1904extern "C"
     1905#endif
     1906char $2 ();
     1907/* The GNU C library defines this for functions which it implements
     1908    to always fail with ENOSYS.  Some functions are actually named
     1909    something starting with __ and the normal name is an alias.  */
     1910#if defined __stub_$2 || defined __stub___$2
     1911choke me
     1912#endif
     1913
     1914int
     1915main ()
     1916{
     1917return $2 ();
     1918  ;
     1919  return 0;
     1920}
     1921_ACEOF
     1922if ac_fn_c_try_link "$LINENO"; then :
     1923  eval "$3=yes"
     1924else
     1925  eval "$3=no"
     1926fi
     1927rm -f core conftest.err conftest.$ac_objext \
     1928    conftest$ac_exeext conftest.$ac_ext
     1929fi
     1930eval ac_res=\$$3
     1931           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1932$as_echo "$ac_res" >&6; }
     1933  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1934
     1935} # ac_fn_c_check_func
     1936
     1937# ac_fn_cxx_try_run LINENO
     1938# ------------------------
     1939# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1940# that executables *can* be run.
     1941ac_fn_cxx_try_run ()
     1942{
     1943  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1944  if { { ac_try="$ac_link"
     1945case "(($ac_try" in
     1946  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1947  *) ac_try_echo=$ac_try;;
     1948esac
     1949eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1950$as_echo "$ac_try_echo"; } >&5
     1951  (eval "$ac_link") 2>&5
     1952  ac_status=$?
     1953  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1954  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1955  { { case "(($ac_try" in
     1956  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1957  *) ac_try_echo=$ac_try;;
     1958esac
     1959eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1960$as_echo "$ac_try_echo"; } >&5
     1961  (eval "$ac_try") 2>&5
     1962  ac_status=$?
     1963  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1964  test $ac_status = 0; }; }; then :
     1965  ac_retval=0
     1966else
     1967  $as_echo "$as_me: program exited with status $ac_status" >&5
     1968       $as_echo "$as_me: failed program was:" >&5
     1969sed 's/^/| /' conftest.$ac_ext >&5
     1970
     1971       ac_retval=$ac_status
     1972fi
     1973  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1974  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1975  as_fn_set_status $ac_retval
     1976
     1977} # ac_fn_cxx_try_run
    14141978cat >config.log <<_ACEOF
    14151979This file contains any messages produced by compilers while
     
    14171981
    14181982It was created by $as_me, which was
    1419 generated by GNU Autoconf 2.61.  Invocation command line was
     1983generated by GNU Autoconf 2.69.  Invocation command line was
    14201984
    14211985  $ $0 $@
     
    14532017  IFS=$as_save_IFS
    14542018  test -z "$as_dir" && as_dir=.
    1455   echo "PATH: $as_dir"
    1456 done
     2019    $as_echo "PATH: $as_dir"
     2020  done
    14572021IFS=$as_save_IFS
    14582022
     
    14882052      continue ;;
    14892053    *\'*)
    1490       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     2054      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    14912055    esac
    14922056    case $ac_pass in
    1493     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2057    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    14942058    2)
    1495       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2059      as_fn_append ac_configure_args1 " '$ac_arg'"
    14962060      if test $ac_must_keep_next = true; then
    14972061    ac_must_keep_next=false # Got value, back to normal.
     
    15092073    esac
    15102074      fi
    1511       ac_configure_args="$ac_configure_args '$ac_arg'"
     2075      as_fn_append ac_configure_args " '$ac_arg'"
    15122076      ;;
    15132077    esac
    15142078  done
    15152079done
    1516 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1517 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2080{ ac_configure_args0=; unset ac_configure_args0;}
     2081{ ac_configure_args1=; unset ac_configure_args1;}
    15182082
    15192083# When interrupted or exit'd, cleanup temporary files, and complete
     
    15272091    echo
    15282092
    1529     cat <<\_ASBOX
    1530 ## ---------------- ##
     2093    $as_echo "## ---------------- ##
    15312094## Cache variables. ##
    1532 ## ---------------- ##
    1533 _ASBOX
     2095## ---------------- ##"
    15342096    echo
    15352097    # The following way of writing the cache mishandles newlines in values,
     
    15402102    *${as_nl}*)
    15412103      case $ac_var in #(
    1542       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1543 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     2104      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2105$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    15442106      esac
    15452107      case $ac_var in #(
    15462108      _ | IFS | as_nl) ;; #(
    1547       *) $as_unset $ac_var ;;
     2109      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     2110      *) { eval $ac_var=; unset $ac_var;} ;;
    15482111      esac ;;
    15492112    esac
     
    15642127    echo
    15652128
    1566     cat <<\_ASBOX
    1567 ## ----------------- ##
     2129    $as_echo "## ----------------- ##
    15682130## Output variables. ##
    1569 ## ----------------- ##
    1570 _ASBOX
     2131## ----------------- ##"
    15712132    echo
    15722133    for ac_var in $ac_subst_vars
     
    15742135      eval ac_val=\$$ac_var
    15752136      case $ac_val in
    1576       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2137      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    15772138      esac
    1578       echo "$ac_var='\''$ac_val'\''"
     2139      $as_echo "$ac_var='\''$ac_val'\''"
    15792140    done | sort
    15802141    echo
    15812142
    15822143    if test -n "$ac_subst_files"; then
    1583       cat <<\_ASBOX
    1584 ## ------------------- ##
     2144      $as_echo "## ------------------- ##
    15852145## File substitutions. ##
    1586 ## ------------------- ##
    1587 _ASBOX
     2146## ------------------- ##"
    15882147      echo
    15892148      for ac_var in $ac_subst_files
     
    15912150    eval ac_val=\$$ac_var
    15922151    case $ac_val in
    1593     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2152    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    15942153    esac
    1595     echo "$ac_var='\''$ac_val'\''"
     2154    $as_echo "$ac_var='\''$ac_val'\''"
    15962155      done | sort
    15972156      echo
     
    15992158
    16002159    if test -s confdefs.h; then
    1601       cat <<\_ASBOX
    1602 ## ----------- ##
     2160      $as_echo "## ----------- ##
    16032161## confdefs.h. ##
    1604 ## ----------- ##
    1605 _ASBOX
     2162## ----------- ##"
    16062163      echo
    16072164      cat confdefs.h
     
    16092166    fi
    16102167    test "$ac_signal" != 0 &&
    1611       echo "$as_me: caught signal $ac_signal"
    1612     echo "$as_me: exit $exit_status"
     2168      $as_echo "$as_me: caught signal $ac_signal"
     2169    $as_echo "$as_me: exit $exit_status"
    16132170  } >&5
    16142171  rm -f core *.core core.conftest.* &&
     
    16172174' 0
    16182175for ac_signal in 1 2 13 15; do
    1619   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2176  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    16202177done
    16212178ac_signal=0
     
    16242181rm -f -r conftest* confdefs.h
    16252182
     2183$as_echo "/* confdefs.h */" > confdefs.h
     2184
    16262185# Predefined preprocessor variables.
    16272186
     
    16302189_ACEOF
    16312190
    1632 
    16332191cat >>confdefs.h <<_ACEOF
    16342192#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    16352193_ACEOF
    16362194
    1637 
    16382195cat >>confdefs.h <<_ACEOF
    16392196#define PACKAGE_VERSION "$PACKAGE_VERSION"
    16402197_ACEOF
    16412198
    1642 
    16432199cat >>confdefs.h <<_ACEOF
    16442200#define PACKAGE_STRING "$PACKAGE_STRING"
    16452201_ACEOF
    16462202
    1647 
    16482203cat >>confdefs.h <<_ACEOF
    16492204#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    16502205_ACEOF
    16512206
     2207cat >>confdefs.h <<_ACEOF
     2208#define PACKAGE_URL "$PACKAGE_URL"
     2209_ACEOF
     2210
    16522211
    16532212# Let the site file select an alternate cache file if it wants to.
    1654 # Prefer explicitly selected file to automatically selected ones.
     2213# Prefer an explicitly selected file to automatically selected ones.
     2214ac_site_file1=NONE
     2215ac_site_file2=NONE
    16552216if test -n "$CONFIG_SITE"; then
    1656   set x "$CONFIG_SITE"
     2217  # We do not want a PATH search for config.site.
     2218  case $CONFIG_SITE in #((
     2219    -*)  ac_site_file1=./$CONFIG_SITE;;
     2220    */*) ac_site_file1=$CONFIG_SITE;;
     2221    *)   ac_site_file1=./$CONFIG_SITE;;
     2222  esac
    16572223elif test "x$prefix" != xNONE; then
    1658   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1659 else
    1660   set x "$ac_default_prefix/share/config.site" \
    1661     "$ac_default_prefix/etc/config.site"
    1662 fi
    1663 shift
    1664 for ac_site_file
     2224  ac_site_file1=$prefix/share/config.site
     2225  ac_site_file2=$prefix/etc/config.site
     2226else
     2227  ac_site_file1=$ac_default_prefix/share/config.site
     2228  ac_site_file2=$ac_default_prefix/etc/config.site
     2229fi
     2230for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    16652231do
    1666   if test -r "$ac_site_file"; then
    1667     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1668 echo "$as_me: loading site script $ac_site_file" >&6;}
     2232  test "x$ac_site_file" = xNONE && continue
     2233  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2234    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2235$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    16692236    sed 's/^/| /' "$ac_site_file" >&5
    1670     . "$ac_site_file"
     2237    . "$ac_site_file" \
     2238      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2240as_fn_error $? "failed to load site script $ac_site_file
     2241See \`config.log' for more details" "$LINENO" 5; }
    16712242  fi
    16722243done
    16732244
    16742245if test -r "$cache_file"; then
    1675   # Some versions of bash will fail to source /dev/null (special
    1676   # files actually), so we avoid doing that.
    1677   if test -f "$cache_file"; then
    1678     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1679 echo "$as_me: loading cache $cache_file" >&6;}
     2246  # Some versions of bash will fail to source /dev/null (special files
     2247  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2248  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2249    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2250$as_echo "$as_me: loading cache $cache_file" >&6;}
    16802251    case $cache_file in
    16812252      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     
    16842255  fi
    16852256else
    1686   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1687 echo "$as_me: creating cache $cache_file" >&6;}
     2257  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2258$as_echo "$as_me: creating cache $cache_file" >&6;}
    16882259  >$cache_file
    16892260fi
     
    16992270  case $ac_old_set,$ac_new_set in
    17002271    set,)
    1701       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1702 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2272      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2273$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17032274      ac_cache_corrupted=: ;;
    17042275    ,set)
    1705       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1706 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2276      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2277$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17072278      ac_cache_corrupted=: ;;
    17082279    ,);;
    17092280    *)
    17102281      if test "x$ac_old_val" != "x$ac_new_val"; then
    1711     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1712 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1713     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1714 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1715     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1716 echo "$as_me:   current value: $ac_new_val" >&2;}
    1717     ac_cache_corrupted=:
     2282    # differences in whitespace do not lead to failure.
     2283    ac_old_val_w=`echo x $ac_old_val`
     2284    ac_new_val_w=`echo x $ac_new_val`
     2285    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2286      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2287$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2288      ac_cache_corrupted=:
     2289    else
     2290      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2291$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2292      eval $ac_var=\$ac_old_val
     2293    fi
     2294    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2295$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2296    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2297$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    17182298      fi;;
    17192299  esac
     
    17212301  if test "$ac_new_set" = set; then
    17222302    case $ac_new_val in
    1723     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2303    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17242304    *) ac_arg=$ac_var=$ac_new_val ;;
    17252305    esac
    17262306    case " $ac_configure_args " in
    17272307      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1728       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2308      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    17292309    esac
    17302310  fi
    17312311done
    17322312if $ac_cache_corrupted; then
    1733   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1734 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1735   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1736 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1737    { (exit 1); exit 1; }; }
    1738 fi
    1739 
    1740 
    1741 
    1742 
    1743 
    1744 
    1745 
    1746 
    1747 
    1748 
    1749 
    1750 
    1751 
    1752 
    1753 
    1754 
     2313  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2314$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2315  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2316$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2317  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2318fi
     2319## -------------------- ##
     2320## Main body of script. ##
     2321## -------------------- ##
    17552322
    17562323ac_ext=c
     
    17802347USE_FASTCGI=0
    17812348if test USE_FASTCGI = 1; then
    1782 cat >>confdefs.h <<\_ACEOF
    1783 #define USE_FASTCGI 1
    1784 _ACEOF
     2349$as_echo "#define USE_FASTCGI 1" >>confdefs.h
    17852350
    17862351
     
    17882353
    17892354if test USE_LANGACTION = 1; then
    1790 cat >>confdefs.h <<\_ACEOF
    1791 #define USE_LANGACTION 1
    1792 _ACEOF
     2355$as_echo "#define USE_LANGACTION 1" >>confdefs.h
    17932356
    17942357
     
    17962359
    17972360# Check whether --enable-corba was given.
    1798 if test "${enable_corba+set}" = set; then
     2361if test "${enable_corba+set}" = set; then :
    17992362  enableval=$enable_corba; USE_CORBA=$enableval
    18002363else
     
    18042367if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    18052368  USE_CORBA=1
    1806   cat >>confdefs.h <<\_ACEOF
    1807 #define USE_CORBA
    1808 _ACEOF
     2369  $as_echo "#define USE_CORBA /**/" >>confdefs.h
    18092370
    18102371else
     
    18152376
    18162377# Check whether --with-micodir was given.
    1817 if test "${with_micodir+set}" = set; then
     2378if test "${with_micodir+set}" = set; then :
    18182379  withval=$with_micodir; MICO_DIR=$withval
    18192380else
     
    18282389
    18292390# Check whether --enable-z3950 was given.
    1830 if test "${enable_z3950+set}" = set; then
     2391if test "${enable_z3950+set}" = set; then :
    18312392  enableval=$enable_z3950; USE_Z3950=$enableval
    18322393else
     
    18362397if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    18372398  USE_Z3950=1
    1838   cat >>confdefs.h <<\_ACEOF
    1839 #define USE_Z3950
    1840 _ACEOF
     2399  $as_echo "#define USE_Z3950 /**/" >>confdefs.h
    18412400
    18422401else
     
    18462405
    18472406# Check whether --enable-yaz was given.
    1848 if test "${enable_yaz+set}" = set; then
     2407if test "${enable_yaz+set}" = set; then :
    18492408  enableval=$enable_yaz; USE_YAZ=$enableval
    18502409else
     
    18542413if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    18552414  USE_YAZ=1
    1856   cat >>confdefs.h <<\_ACEOF
    1857 #define USE_YAZ
    1858 _ACEOF
     2415  $as_echo "#define USE_YAZ /**/" >>confdefs.h
    18592416
    18602417else
     
    18642421
    18652422# Check whether --enable-java was given.
    1866 if test "${enable_java+set}" = set; then
     2423if test "${enable_java+set}" = set; then :
    18672424  enableval=$enable_java; ENABLE_JAVA=$enableval
    18682425else
     
    18842441
    18852442# Check whether --enable-wvware was given.
    1886 if test "${enable_wvware+set}" = set; then
     2443if test "${enable_wvware+set}" = set; then :
    18872444  enableval=$enable_wvware; USE_WVWARE=$enableval
    18882445else
     
    18922449if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then
    18932450  USE_WVWARE=1
    1894   cat >>confdefs.h <<\_ACEOF
    1895 #define USE_WVWARE
    1896 _ACEOF
     2451  $as_echo "#define USE_WVWARE /**/" >>confdefs.h
    18972452
    18982453else
     
    19022457
    19032458# Check whether --enable-jdbm was given.
    1904 if test "${enable_jdbm+set}" = set; then
     2459if test "${enable_jdbm+set}" = set; then :
    19052460  enableval=$enable_jdbm; USE_JDBM=$enableval
    19062461else
     
    19102465if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    19112466  USE_JDBM=1
    1912   cat >>confdefs.h <<\_ACEOF
    1913 #define USE_JDBM
    1914 _ACEOF
     2467  $as_echo "#define USE_JDBM /**/" >>confdefs.h
    19152468
    19162469else
     
    19202473
    19212474# Check whether --enable-gdbm was given.
    1922 if test "${enable_gdbm+set}" = set; then
     2475if test "${enable_gdbm+set}" = set; then :
    19232476  enableval=$enable_gdbm; USE_GDBM=$enableval
    19242477else
     
    19282481if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    19292482  USE_GDBM=1
    1930   cat >>confdefs.h <<\_ACEOF
    1931 #define USE_GDBM
    1932 _ACEOF
     2483  $as_echo "#define USE_GDBM /**/" >>confdefs.h
    19332484
    19342485else
     
    19382489
    19392490# Check whether --enable-accentfold was given.
    1940 if test "${enable_accentfold+set}" = set; then
     2491if test "${enable_accentfold+set}" = set; then :
    19412492  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
    19422493else
     
    19462497if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    19472498  ENABLE_ACCENTFOLD=1
    1948   cat >>confdefs.h <<\_ACEOF
    1949 #define ENABLE_ACCENTFOLD
    1950 _ACEOF
     2499  $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
    19512500
    19522501else
     
    19562505
    19572506# Check whether --enable-sqlite was given.
    1958 if test "${enable_sqlite+set}" = set; then
     2507if test "${enable_sqlite+set}" = set; then :
    19592508  enableval=$enable_sqlite; USE_SQLITE=$enableval
    19602509else
     
    19642513if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    19652514  USE_SQLITE=1
    1966   cat >>confdefs.h <<\_ACEOF
    1967 #define USE_SQLITE
    1968 _ACEOF
     2515  $as_echo "#define USE_SQLITE /**/" >>confdefs.h
    19692516
    19702517else
     
    19742521
    19752522# Check whether --enable-gnome-lib-ext was given.
    1976 if test "${enable_gnome_lib_ext+set}" = set; then
     2523if test "${enable_gnome_lib_ext+set}" = set; then :
    19772524  enableval=$enable_gnome_lib_ext; ENABLE_GNOMELIB_EXT=1
    19782525else
     
    19872534fi
    19882535if test -d $gshome/ext/gnome-lib ; then
    1989    cat >>confdefs.h <<\_ACEOF
    1990 #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT
    1991 _ACEOF
     2536   $as_echo "#define ENABLE_GNOMELIB_EXT \$ENABLE_GNOMELIB_EXT" >>confdefs.h
    19922537
    19932538elif test -f $gshome/ext/gnome-lib-minimal/devel.bash ; then
    1994    cat >>confdefs.h <<\_ACEOF
    1995 #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT
    1996 _ACEOF
     2539   $as_echo "#define ENABLE_GNOMELIB_EXT \$ENABLE_GNOMELIB_EXT" >>confdefs.h
    19972540
    19982541else
    19992542   echo "**** WARNING: No gnome-lib or gnome-lib-minimal(/devel.bash) in gs2build/ext folder. Disabling gnome-lib-ext"
    2000    cat >>confdefs.h <<\_ACEOF
    2001 #define ENABLE_GNOMELIB_EXT 0
    2002 _ACEOF
     2543   $as_echo "#define ENABLE_GNOMELIB_EXT 0" >>confdefs.h
    20032544
    20042545fi
     
    20212562  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    20222563set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2025 if test "${ac_cv_prog_CC+set}" = set; then
    2026   echo $ECHO_N "(cached) $ECHO_C" >&6
     2564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2565$as_echo_n "checking for $ac_word... " >&6; }
     2566if ${ac_cv_prog_CC+:} false; then :
     2567  $as_echo_n "(cached) " >&6
    20272568else
    20282569  if test -n "$CC"; then
     
    20342575  IFS=$as_save_IFS
    20352576  test -z "$as_dir" && as_dir=.
    2036   for ac_exec_ext in '' $ac_executable_extensions; do
    2037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2577    for ac_exec_ext in '' $ac_executable_extensions; do
     2578  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20382579    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2039     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2580    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20402581    break 2
    20412582  fi
    20422583done
    2043 done
     2584  done
    20442585IFS=$as_save_IFS
    20452586
     
    20482589CC=$ac_cv_prog_CC
    20492590if test -n "$CC"; then
    2050   { echo "$as_me:$LINENO: result: $CC" >&5
    2051 echo "${ECHO_T}$CC" >&6; }
    2052 else
    2053   { echo "$as_me:$LINENO: result: no" >&5
    2054 echo "${ECHO_T}no" >&6; }
     2591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2592$as_echo "$CC" >&6; }
     2593else
     2594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2595$as_echo "no" >&6; }
    20552596fi
    20562597
     
    20612602  # Extract the first word of "gcc", so it can be a program name with args.
    20622603set dummy gcc; ac_word=$2
    2063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2066   echo $ECHO_N "(cached) $ECHO_C" >&6
     2604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2605$as_echo_n "checking for $ac_word... " >&6; }
     2606if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2607  $as_echo_n "(cached) " >&6
    20672608else
    20682609  if test -n "$ac_ct_CC"; then
     
    20742615  IFS=$as_save_IFS
    20752616  test -z "$as_dir" && as_dir=.
    2076   for ac_exec_ext in '' $ac_executable_extensions; do
    2077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2617    for ac_exec_ext in '' $ac_executable_extensions; do
     2618  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20782619    ac_cv_prog_ac_ct_CC="gcc"
    2079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2620    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20802621    break 2
    20812622  fi
    20822623done
    2083 done
     2624  done
    20842625IFS=$as_save_IFS
    20852626
     
    20882629ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20892630if test -n "$ac_ct_CC"; then
    2090   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2091 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2092 else
    2093   { echo "$as_me:$LINENO: result: no" >&5
    2094 echo "${ECHO_T}no" >&6; }
     2631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2632$as_echo "$ac_ct_CC" >&6; }
     2633else
     2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2635$as_echo "no" >&6; }
    20952636fi
    20962637
     
    21002641    case $cross_compiling:$ac_tool_warned in
    21012642yes:)
    2102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2103 whose name does not start with the host triplet.  If you think this
    2104 configuration is useful to you, please write to [email protected]." >&5
    2105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2106 whose name does not start with the host triplet.  If you think this
    2107 configuration is useful to you, please write to [email protected]." >&2;}
     2643{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2644$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    21082645ac_tool_warned=yes ;;
    21092646esac
     
    21182655    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    21192656set dummy ${ac_tool_prefix}cc; ac_word=$2
    2120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2122 if test "${ac_cv_prog_CC+set}" = set; then
    2123   echo $ECHO_N "(cached) $ECHO_C" >&6
     2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2658$as_echo_n "checking for $ac_word... " >&6; }
     2659if ${ac_cv_prog_CC+:} false; then :
     2660  $as_echo_n "(cached) " >&6
    21242661else
    21252662  if test -n "$CC"; then
     
    21312668  IFS=$as_save_IFS
    21322669  test -z "$as_dir" && as_dir=.
    2133   for ac_exec_ext in '' $ac_executable_extensions; do
    2134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2670    for ac_exec_ext in '' $ac_executable_extensions; do
     2671  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21352672    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2136     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2673    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21372674    break 2
    21382675  fi
    21392676done
    2140 done
     2677  done
    21412678IFS=$as_save_IFS
    21422679
     
    21452682CC=$ac_cv_prog_CC
    21462683if test -n "$CC"; then
    2147   { echo "$as_me:$LINENO: result: $CC" >&5
    2148 echo "${ECHO_T}$CC" >&6; }
    2149 else
    2150   { echo "$as_me:$LINENO: result: no" >&5
    2151 echo "${ECHO_T}no" >&6; }
     2684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2685$as_echo "$CC" >&6; }
     2686else
     2687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2688$as_echo "no" >&6; }
    21522689fi
    21532690
     
    21582695  # Extract the first word of "cc", so it can be a program name with args.
    21592696set dummy cc; ac_word=$2
    2160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2162 if test "${ac_cv_prog_CC+set}" = set; then
    2163   echo $ECHO_N "(cached) $ECHO_C" >&6
     2697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2698$as_echo_n "checking for $ac_word... " >&6; }
     2699if ${ac_cv_prog_CC+:} false; then :
     2700  $as_echo_n "(cached) " >&6
    21642701else
    21652702  if test -n "$CC"; then
     
    21722709  IFS=$as_save_IFS
    21732710  test -z "$as_dir" && as_dir=.
    2174   for ac_exec_ext in '' $ac_executable_extensions; do
    2175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2711    for ac_exec_ext in '' $ac_executable_extensions; do
     2712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21762713    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    21772714       ac_prog_rejected=yes
     
    21792716     fi
    21802717    ac_cv_prog_CC="cc"
    2181     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2718    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21822719    break 2
    21832720  fi
    21842721done
    2185 done
     2722  done
    21862723IFS=$as_save_IFS
    21872724
     
    22022739CC=$ac_cv_prog_CC
    22032740if test -n "$CC"; then
    2204   { echo "$as_me:$LINENO: result: $CC" >&5
    2205 echo "${ECHO_T}$CC" >&6; }
    2206 else
    2207   { echo "$as_me:$LINENO: result: no" >&5
    2208 echo "${ECHO_T}no" >&6; }
     2741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2742$as_echo "$CC" >&6; }
     2743else
     2744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2745$as_echo "no" >&6; }
    22092746fi
    22102747
     
    22172754    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    22182755set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2221 if test "${ac_cv_prog_CC+set}" = set; then
    2222   echo $ECHO_N "(cached) $ECHO_C" >&6
     2756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2757$as_echo_n "checking for $ac_word... " >&6; }
     2758if ${ac_cv_prog_CC+:} false; then :
     2759  $as_echo_n "(cached) " >&6
    22232760else
    22242761  if test -n "$CC"; then
     
    22302767  IFS=$as_save_IFS
    22312768  test -z "$as_dir" && as_dir=.
    2232   for ac_exec_ext in '' $ac_executable_extensions; do
    2233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2769    for ac_exec_ext in '' $ac_executable_extensions; do
     2770  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22342771    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2235     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2772    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22362773    break 2
    22372774  fi
    22382775done
    2239 done
     2776  done
    22402777IFS=$as_save_IFS
    22412778
     
    22442781CC=$ac_cv_prog_CC
    22452782if test -n "$CC"; then
    2246   { echo "$as_me:$LINENO: result: $CC" >&5
    2247 echo "${ECHO_T}$CC" >&6; }
    2248 else
    2249   { echo "$as_me:$LINENO: result: no" >&5
    2250 echo "${ECHO_T}no" >&6; }
     2783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2784$as_echo "$CC" >&6; }
     2785else
     2786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2787$as_echo "no" >&6; }
    22512788fi
    22522789
     
    22612798  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22622799set dummy $ac_prog; ac_word=$2
    2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2266   echo $ECHO_N "(cached) $ECHO_C" >&6
     2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2801$as_echo_n "checking for $ac_word... " >&6; }
     2802if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2803  $as_echo_n "(cached) " >&6
    22672804else
    22682805  if test -n "$ac_ct_CC"; then
     
    22742811  IFS=$as_save_IFS
    22752812  test -z "$as_dir" && as_dir=.
    2276   for ac_exec_ext in '' $ac_executable_extensions; do
    2277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2813    for ac_exec_ext in '' $ac_executable_extensions; do
     2814  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22782815    ac_cv_prog_ac_ct_CC="$ac_prog"
    2279     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2816    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22802817    break 2
    22812818  fi
    22822819done
    2283 done
     2820  done
    22842821IFS=$as_save_IFS
    22852822
     
    22882825ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22892826if test -n "$ac_ct_CC"; then
    2290   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2291 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2292 else
    2293   { echo "$as_me:$LINENO: result: no" >&5
    2294 echo "${ECHO_T}no" >&6; }
     2827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2828$as_echo "$ac_ct_CC" >&6; }
     2829else
     2830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2831$as_echo "no" >&6; }
    22952832fi
    22962833
     
    23042841    case $cross_compiling:$ac_tool_warned in
    23052842yes:)
    2306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2307 whose name does not start with the host triplet.  If you think this
    2308 configuration is useful to you, please write to [email protected]." >&5
    2309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2310 whose name does not start with the host triplet.  If you think this
    2311 configuration is useful to you, please write to [email protected]." >&2;}
     2843{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2844$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    23122845ac_tool_warned=yes ;;
    23132846esac
     
    23192852
    23202853
    2321 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2322 See \`config.log' for more details." >&5
    2323 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2324 See \`config.log' for more details." >&2;}
    2325    { (exit 1); exit 1; }; }
     2854test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2855$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2856as_fn_error $? "no acceptable C compiler found in \$PATH
     2857See \`config.log' for more details" "$LINENO" 5; }
    23262858
    23272859# Provide some information about the compiler.
    2328 echo "$as_me:$LINENO: checking for C compiler version" >&5
    2329 ac_compiler=`set X $ac_compile; echo $2`
    2330 { (ac_try="$ac_compiler --version >&5"
     2860$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2861set X $ac_compile
     2862ac_compiler=$2
     2863for ac_option in --version -v -V -qversion; do
     2864  { { ac_try="$ac_compiler $ac_option >&5"
    23312865case "(($ac_try" in
    23322866  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23332867  *) ac_try_echo=$ac_try;;
    23342868esac
    2335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2336   (eval "$ac_compiler --version >&5") 2>&5
     2869eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2870$as_echo "$ac_try_echo"; } >&5
     2871  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    23372872  ac_status=$?
    2338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2339   (exit $ac_status); }
    2340 { (ac_try="$ac_compiler -v >&5"
     2873  if test -s conftest.err; then
     2874    sed '10a\
     2875... rest of stderr output deleted ...
     2876         10q' conftest.err >conftest.er1
     2877    cat conftest.er1 >&5
     2878  fi
     2879  rm -f conftest.er1 conftest.err
     2880  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2881  test $ac_status = 0; }
     2882done
     2883
     2884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2885/* end confdefs.h.  */
     2886
     2887int
     2888main ()
     2889{
     2890
     2891  ;
     2892  return 0;
     2893}
     2894_ACEOF
     2895ac_clean_files_save=$ac_clean_files
     2896ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     2897# Try to create an executable without -o first, disregard a.out.
     2898# It will help us diagnose broken compilers, and finding out an intuition
     2899# of exeext.
     2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2901$as_echo_n "checking whether the C compiler works... " >&6; }
     2902ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2903
     2904# The possible output files:
     2905ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2906
     2907ac_rmfiles=
     2908for ac_file in $ac_files
     2909do
     2910  case $ac_file in
     2911    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2912    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2913  esac
     2914done
     2915rm -f $ac_rmfiles
     2916
     2917if { { ac_try="$ac_link_default"
    23412918case "(($ac_try" in
    23422919  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23432920  *) ac_try_echo=$ac_try;;
    23442921esac
    2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2346   (eval "$ac_compiler -v >&5") 2>&5
    2347   ac_status=$?
    2348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2349   (exit $ac_status); }
    2350 { (ac_try="$ac_compiler -V >&5"
    2351 case "(($ac_try" in
    2352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2353   *) ac_try_echo=$ac_try;;
    2354 esac
    2355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2356   (eval "$ac_compiler -V >&5") 2>&5
    2357   ac_status=$?
    2358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2359   (exit $ac_status); }
    2360 
    2361 cat >conftest.$ac_ext <<_ACEOF
    2362 /* confdefs.h.  */
    2363 _ACEOF
    2364 cat confdefs.h >>conftest.$ac_ext
    2365 cat >>conftest.$ac_ext <<_ACEOF
    2366 /* end confdefs.h.  */
    2367 
    2368 int
    2369 main ()
    2370 {
    2371 
    2372   ;
    2373   return 0;
    2374 }
    2375 _ACEOF
    2376 ac_clean_files_save=$ac_clean_files
    2377 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    2378 # Try to create an executable without -o first, disregard a.out.
    2379 # It will help us diagnose broken compilers, and finding out an intuition
    2380 # of exeext.
    2381 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    2383 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2384 #
    2385 # List of possible output files, starting from the most likely.
    2386 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2387 # only as a last resort.  b.out is created by i960 compilers.
    2388 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2389 #
    2390 # The IRIX 6 linker writes into existing files which may not be
    2391 # executable, retaining their permissions.  Remove them first so a
    2392 # subsequent execution test works.
    2393 ac_rmfiles=
    2394 for ac_file in $ac_files
    2395 do
    2396   case $ac_file in
    2397     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2398     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2399   esac
    2400 done
    2401 rm -f $ac_rmfiles
    2402 
    2403 if { (ac_try="$ac_link_default"
    2404 case "(($ac_try" in
    2405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2406   *) ac_try_echo=$ac_try;;
    2407 esac
    2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2922eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2923$as_echo "$ac_try_echo"; } >&5
    24092924  (eval "$ac_link_default") 2>&5
    24102925  ac_status=$?
    2411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2412   (exit $ac_status); }; then
     2926  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2927  test $ac_status = 0; }; then :
    24132928  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    24142929# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    24202935  test -f "$ac_file" || continue
    24212936  case $ac_file in
    2422     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     2937    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    24232938    ;;
    24242939    [ab].out )
     
    24272942    break;;
    24282943    *.* )
    2429         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2944    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    24302945    then :; else
    24312946       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    24462961  ac_file=''
    24472962fi
    2448 
    2449 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2450 echo "${ECHO_T}$ac_file" >&6; }
    2451 if test -z "$ac_file"; then
    2452   echo "$as_me: failed program was:" >&5
     2963if test -z "$ac_file"; then :
     2964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2965$as_echo "no" >&6; }
     2966$as_echo "$as_me: failed program was:" >&5
    24532967sed 's/^/| /' conftest.$ac_ext >&5
    24542968
    2455 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2456 See \`config.log' for more details." >&5
    2457 echo "$as_me: error: C compiler cannot create executables
    2458 See \`config.log' for more details." >&2;}
    2459    { (exit 77); exit 77; }; }
    2460 fi
    2461 
     2969{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2970$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2971as_fn_error 77 "C compiler cannot create executables
     2972See \`config.log' for more details" "$LINENO" 5; }
     2973else
     2974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2975$as_echo "yes" >&6; }
     2976fi
     2977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2978$as_echo_n "checking for C compiler default output file name... " >&6; }
     2979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     2980$as_echo "$ac_file" >&6; }
    24622981ac_exeext=$ac_cv_exeext
    24632982
    2464 # Check that the compiler produces executables we can run.  If not, either
    2465 # the compiler is broken, or we cross compile.
    2466 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2467 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    2468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2469 # If not cross compiling, check that we can run a simple program.
    2470 if test "$cross_compiling" != yes; then
    2471   if { ac_try='./$ac_file'
    2472   { (case "(($ac_try" in
    2473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2474   *) ac_try_echo=$ac_try;;
    2475 esac
    2476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2477   (eval "$ac_try") 2>&5
    2478   ac_status=$?
    2479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2480   (exit $ac_status); }; }; then
    2481     cross_compiling=no
    2482   else
    2483     if test "$cross_compiling" = maybe; then
    2484     cross_compiling=yes
    2485     else
    2486     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2487 If you meant to cross compile, use \`--host'.
    2488 See \`config.log' for more details." >&5
    2489 echo "$as_me: error: cannot run C compiled programs.
    2490 If you meant to cross compile, use \`--host'.
    2491 See \`config.log' for more details." >&2;}
    2492    { (exit 1); exit 1; }; }
    2493     fi
    2494   fi
    2495 fi
    2496 { echo "$as_me:$LINENO: result: yes" >&5
    2497 echo "${ECHO_T}yes" >&6; }
    2498 
    2499 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     2983rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    25002984ac_clean_files=$ac_clean_files_save
    2501 # Check that the compiler produces executables we can run.  If not, either
    2502 # the compiler is broken, or we cross compile.
    2503 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2504 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2505 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2506 echo "${ECHO_T}$cross_compiling" >&6; }
    2507 
    2508 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2509 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2510 if { (ac_try="$ac_link"
     2985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2986$as_echo_n "checking for suffix of executables... " >&6; }
     2987if { { ac_try="$ac_link"
    25112988case "(($ac_try" in
    25122989  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25132990  *) ac_try_echo=$ac_try;;
    25142991esac
    2515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2992eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2993$as_echo "$ac_try_echo"; } >&5
    25162994  (eval "$ac_link") 2>&5
    25172995  ac_status=$?
    2518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2519   (exit $ac_status); }; then
     2996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2997  test $ac_status = 0; }; then :
    25202998  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    25212999# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    25253003  test -f "$ac_file" || continue
    25263004  case $ac_file in
    2527     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     3005    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    25283006    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    25293007      break;;
     
    25323010done
    25333011else
    2534   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2535 See \`config.log' for more details." >&5
    2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2537 See \`config.log' for more details." >&2;}
    2538    { (exit 1); exit 1; }; }
    2539 fi
    2540 
    2541 rm -f conftest$ac_cv_exeext
    2542 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2543 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     3012  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3014as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3015See \`config.log' for more details" "$LINENO" 5; }
     3016fi
     3017rm -f conftest conftest$ac_cv_exeext
     3018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     3019$as_echo "$ac_cv_exeext" >&6; }
    25443020
    25453021rm -f conftest.$ac_ext
    25463022EXEEXT=$ac_cv_exeext
    25473023ac_exeext=$EXEEXT
    2548 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2549 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    2550 if test "${ac_cv_objext+set}" = set; then
    2551   echo $ECHO_N "(cached) $ECHO_C" >&6
    2552 else
    2553   cat >conftest.$ac_ext <<_ACEOF
    2554 /* confdefs.h.  */
    2555 _ACEOF
    2556 cat confdefs.h >>conftest.$ac_ext
    2557 cat >>conftest.$ac_ext <<_ACEOF
     3024cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25583025/* end confdefs.h.  */
    2559 
     3026#include <stdio.h>
    25603027int
    25613028main ()
    25623029{
     3030FILE *f = fopen ("conftest.out", "w");
     3031 return ferror (f) || fclose (f) != 0;
    25633032
    25643033  ;
     
    25663035}
    25673036_ACEOF
    2568 rm -f conftest.o conftest.obj
    2569 if { (ac_try="$ac_compile"
     3037ac_clean_files="$ac_clean_files conftest.out"
     3038# Check that the compiler produces executables we can run.  If not, either
     3039# the compiler is broken, or we cross compile.
     3040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3041$as_echo_n "checking whether we are cross compiling... " >&6; }
     3042if test "$cross_compiling" != yes; then
     3043  { { ac_try="$ac_link"
    25703044case "(($ac_try" in
    25713045  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25723046  *) ac_try_echo=$ac_try;;
    25733047esac
    2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3048eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3049$as_echo "$ac_try_echo"; } >&5
     3050  (eval "$ac_link") 2>&5
     3051  ac_status=$?
     3052  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3053  test $ac_status = 0; }
     3054  if { ac_try='./conftest$ac_cv_exeext'
     3055  { { case "(($ac_try" in
     3056  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3057  *) ac_try_echo=$ac_try;;
     3058esac
     3059eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3060$as_echo "$ac_try_echo"; } >&5
     3061  (eval "$ac_try") 2>&5
     3062  ac_status=$?
     3063  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3064  test $ac_status = 0; }; }; then
     3065    cross_compiling=no
     3066  else
     3067    if test "$cross_compiling" = maybe; then
     3068    cross_compiling=yes
     3069    else
     3070    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3072as_fn_error $? "cannot run C compiled programs.
     3073If you meant to cross compile, use \`--host'.
     3074See \`config.log' for more details" "$LINENO" 5; }
     3075    fi
     3076  fi
     3077fi
     3078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3079$as_echo "$cross_compiling" >&6; }
     3080
     3081rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3082ac_clean_files=$ac_clean_files_save
     3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3084$as_echo_n "checking for suffix of object files... " >&6; }
     3085if ${ac_cv_objext+:} false; then :
     3086  $as_echo_n "(cached) " >&6
     3087else
     3088  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3089/* end confdefs.h.  */
     3090
     3091int
     3092main ()
     3093{
     3094
     3095  ;
     3096  return 0;
     3097}
     3098_ACEOF
     3099rm -f conftest.o conftest.obj
     3100if { { ac_try="$ac_compile"
     3101case "(($ac_try" in
     3102  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3103  *) ac_try_echo=$ac_try;;
     3104esac
     3105eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3106$as_echo "$ac_try_echo"; } >&5
    25753107  (eval "$ac_compile") 2>&5
    25763108  ac_status=$?
    2577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2578   (exit $ac_status); }; then
     3109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3110  test $ac_status = 0; }; then :
    25793111  for ac_file in conftest.o conftest.obj conftest.*; do
    25803112  test -f "$ac_file" || continue;
    25813113  case $ac_file in
    2582     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     3114    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    25833115    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    25843116       break;;
     
    25863118done
    25873119else
    2588   echo "$as_me: failed program was:" >&5
     3120  $as_echo "$as_me: failed program was:" >&5
    25893121sed 's/^/| /' conftest.$ac_ext >&5
    25903122
    2591 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2592 See \`config.log' for more details." >&5
    2593 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2594 See \`config.log' for more details." >&2;}
    2595    { (exit 1); exit 1; }; }
    2596 fi
    2597 
     3123{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3124$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3125as_fn_error $? "cannot compute suffix of object files: cannot compile
     3126See \`config.log' for more details" "$LINENO" 5; }
     3127fi
    25983128rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25993129fi
    2600 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2601 echo "${ECHO_T}$ac_cv_objext" >&6; }
     3130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3131$as_echo "$ac_cv_objext" >&6; }
    26023132OBJEXT=$ac_cv_objext
    26033133ac_objext=$OBJEXT
    2604 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2605 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    2606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2607   echo $ECHO_N "(cached) $ECHO_C" >&6
    2608 else
    2609   cat >conftest.$ac_ext <<_ACEOF
    2610 /* confdefs.h.  */
    2611 _ACEOF
    2612 cat confdefs.h >>conftest.$ac_ext
    2613 cat >>conftest.$ac_ext <<_ACEOF
     3134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3135$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3136if ${ac_cv_c_compiler_gnu+:} false; then :
     3137  $as_echo_n "(cached) " >&6
     3138else
     3139  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26143140/* end confdefs.h.  */
    26153141
     
    26253151}
    26263152_ACEOF
    2627 rm -f conftest.$ac_objext
    2628 if { (ac_try="$ac_compile"
    2629 case "(($ac_try" in
    2630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2631   *) ac_try_echo=$ac_try;;
    2632 esac
    2633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2634   (eval "$ac_compile") 2>conftest.er1
    2635   ac_status=$?
    2636   grep -v '^ *+' conftest.er1 >conftest.err
    2637   rm -f conftest.er1
    2638   cat conftest.err >&5
    2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2640   (exit $ac_status); } && {
    2641      test -z "$ac_c_werror_flag" ||
    2642      test ! -s conftest.err
    2643        } && test -s conftest.$ac_objext; then
     3153if ac_fn_c_try_compile "$LINENO"; then :
    26443154  ac_compiler_gnu=yes
    26453155else
    2646   echo "$as_me: failed program was:" >&5
    2647 sed 's/^/| /' conftest.$ac_ext >&5
    2648 
    2649     ac_compiler_gnu=no
    2650 fi
    2651 
     3156  ac_compiler_gnu=no
     3157fi
    26523158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26533159ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26543160
    26553161fi
    2656 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2657 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    2658 GCC=`test $ac_compiler_gnu = yes && echo yes`
     3162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3163$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3164if test $ac_compiler_gnu = yes; then
     3165  GCC=yes
     3166else
     3167  GCC=
     3168fi
    26593169ac_test_CFLAGS=${CFLAGS+set}
    26603170ac_save_CFLAGS=$CFLAGS
    2661 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    2663 if test "${ac_cv_prog_cc_g+set}" = set; then
    2664   echo $ECHO_N "(cached) $ECHO_C" >&6
     3171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3172$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3173if ${ac_cv_prog_cc_g+:} false; then :
     3174  $as_echo_n "(cached) " >&6
    26653175else
    26663176  ac_save_c_werror_flag=$ac_c_werror_flag
     
    26683178   ac_cv_prog_cc_g=no
    26693179   CFLAGS="-g"
    2670    cat >conftest.$ac_ext <<_ACEOF
    2671 /* confdefs.h.  */
    2672 _ACEOF
    2673 cat confdefs.h >>conftest.$ac_ext
    2674 cat >>conftest.$ac_ext <<_ACEOF
     3180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26753181/* end confdefs.h.  */
    26763182
     
    26833189}
    26843190_ACEOF
    2685 rm -f conftest.$ac_objext
    2686 if { (ac_try="$ac_compile"
    2687 case "(($ac_try" in
    2688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2689   *) ac_try_echo=$ac_try;;
    2690 esac
    2691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2692   (eval "$ac_compile") 2>conftest.er1
    2693   ac_status=$?
    2694   grep -v '^ *+' conftest.er1 >conftest.err
    2695   rm -f conftest.er1
    2696   cat conftest.err >&5
    2697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2698   (exit $ac_status); } && {
    2699      test -z "$ac_c_werror_flag" ||
    2700      test ! -s conftest.err
    2701        } && test -s conftest.$ac_objext; then
     3191if ac_fn_c_try_compile "$LINENO"; then :
    27023192  ac_cv_prog_cc_g=yes
    27033193else
    2704   echo "$as_me: failed program was:" >&5
    2705 sed 's/^/| /' conftest.$ac_ext >&5
    2706 
    2707     CFLAGS=""
    2708       cat >conftest.$ac_ext <<_ACEOF
    2709 /* confdefs.h.  */
    2710 _ACEOF
    2711 cat confdefs.h >>conftest.$ac_ext
    2712 cat >>conftest.$ac_ext <<_ACEOF
     3194  CFLAGS=""
     3195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27133196/* end confdefs.h.  */
    27143197
     
    27213204}
    27223205_ACEOF
    2723 rm -f conftest.$ac_objext
    2724 if { (ac_try="$ac_compile"
    2725 case "(($ac_try" in
    2726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2727   *) ac_try_echo=$ac_try;;
    2728 esac
    2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2730   (eval "$ac_compile") 2>conftest.er1
    2731   ac_status=$?
    2732   grep -v '^ *+' conftest.er1 >conftest.err
    2733   rm -f conftest.er1
    2734   cat conftest.err >&5
    2735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2736   (exit $ac_status); } && {
    2737      test -z "$ac_c_werror_flag" ||
    2738      test ! -s conftest.err
    2739        } && test -s conftest.$ac_objext; then
    2740   :
    2741 else
    2742   echo "$as_me: failed program was:" >&5
    2743 sed 's/^/| /' conftest.$ac_ext >&5
    2744 
    2745     ac_c_werror_flag=$ac_save_c_werror_flag
     3206if ac_fn_c_try_compile "$LINENO"; then :
     3207
     3208else
     3209  ac_c_werror_flag=$ac_save_c_werror_flag
    27463210     CFLAGS="-g"
    2747      cat >conftest.$ac_ext <<_ACEOF
    2748 /* confdefs.h.  */
    2749 _ACEOF
    2750 cat confdefs.h >>conftest.$ac_ext
    2751 cat >>conftest.$ac_ext <<_ACEOF
     3211     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27523212/* end confdefs.h.  */
    27533213
     
    27603220}
    27613221_ACEOF
    2762 rm -f conftest.$ac_objext
    2763 if { (ac_try="$ac_compile"
    2764 case "(($ac_try" in
    2765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2766   *) ac_try_echo=$ac_try;;
    2767 esac
    2768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2769   (eval "$ac_compile") 2>conftest.er1
    2770   ac_status=$?
    2771   grep -v '^ *+' conftest.er1 >conftest.err
    2772   rm -f conftest.er1
    2773   cat conftest.err >&5
    2774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2775   (exit $ac_status); } && {
    2776      test -z "$ac_c_werror_flag" ||
    2777      test ! -s conftest.err
    2778        } && test -s conftest.$ac_objext; then
     3222if ac_fn_c_try_compile "$LINENO"; then :
    27793223  ac_cv_prog_cc_g=yes
    2780 else
    2781   echo "$as_me: failed program was:" >&5
    2782 sed 's/^/| /' conftest.$ac_ext >&5
    2783 
    2784 
    2785 fi
    2786 
     3224fi
    27873225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27883226fi
    2789 
    27903227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27913228fi
    2792 
    27933229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27943230   ac_c_werror_flag=$ac_save_c_werror_flag
    27953231fi
    2796 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2797 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     3232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3233$as_echo "$ac_cv_prog_cc_g" >&6; }
    27983234if test "$ac_test_CFLAGS" = set; then
    27993235  CFLAGS=$ac_save_CFLAGS
     
    28113247  fi
    28123248fi
    2813 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2814 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2815 if test "${ac_cv_prog_cc_c89+set}" = set; then
    2816   echo $ECHO_N "(cached) $ECHO_C" >&6
     3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3250$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3251if ${ac_cv_prog_cc_c89+:} false; then :
     3252  $as_echo_n "(cached) " >&6
    28173253else
    28183254  ac_cv_prog_cc_c89=no
    28193255ac_save_CC=$CC
    2820 cat >conftest.$ac_ext <<_ACEOF
    2821 /* confdefs.h.  */
    2822 _ACEOF
    2823 cat confdefs.h >>conftest.$ac_ext
    2824 cat >>conftest.$ac_ext <<_ACEOF
     3256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28253257/* end confdefs.h.  */
    28263258#include <stdarg.h>
    28273259#include <stdio.h>
    2828 #include <sys/types.h>
    2829 #include <sys/stat.h>
     3260struct stat;
    28303261/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    28313262struct buf { int x; };
     
    28793310do
    28803311  CC="$ac_save_CC $ac_arg"
    2881   rm -f conftest.$ac_objext
    2882 if { (ac_try="$ac_compile"
    2883 case "(($ac_try" in
    2884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2885   *) ac_try_echo=$ac_try;;
    2886 esac
    2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2888   (eval "$ac_compile") 2>conftest.er1
    2889   ac_status=$?
    2890   grep -v '^ *+' conftest.er1 >conftest.err
    2891   rm -f conftest.er1
    2892   cat conftest.err >&5
    2893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2894   (exit $ac_status); } && {
    2895      test -z "$ac_c_werror_flag" ||
    2896      test ! -s conftest.err
    2897        } && test -s conftest.$ac_objext; then
     3312  if ac_fn_c_try_compile "$LINENO"; then :
    28983313  ac_cv_prog_cc_c89=$ac_arg
    2899 else
    2900   echo "$as_me: failed program was:" >&5
    2901 sed 's/^/| /' conftest.$ac_ext >&5
    2902 
    2903 
    2904 fi
    2905 
     3314fi
    29063315rm -f core conftest.err conftest.$ac_objext
    29073316  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    29143323case "x$ac_cv_prog_cc_c89" in
    29153324  x)
    2916     { echo "$as_me:$LINENO: result: none needed" >&5
    2917 echo "${ECHO_T}none needed" >&6; } ;;
     3325    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3326$as_echo "none needed" >&6; } ;;
    29183327  xno)
    2919     { echo "$as_me:$LINENO: result: unsupported" >&5
    2920 echo "${ECHO_T}unsupported" >&6; } ;;
     3328    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3329$as_echo "unsupported" >&6; } ;;
    29213330  *)
    29223331    CC="$CC $ac_cv_prog_cc_c89"
    2923     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2924 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     3332    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3333$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    29253334esac
    2926 
     3335if test "x$ac_cv_prog_cc_c89" != xno; then :
     3336
     3337fi
    29273338
    29283339ac_ext=c
     
    29463357    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29473358set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2950 if test "${ac_cv_prog_CXX+set}" = set; then
    2951   echo $ECHO_N "(cached) $ECHO_C" >&6
     3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3360$as_echo_n "checking for $ac_word... " >&6; }
     3361if ${ac_cv_prog_CXX+:} false; then :
     3362  $as_echo_n "(cached) " >&6
    29523363else
    29533364  if test -n "$CXX"; then
     
    29593370  IFS=$as_save_IFS
    29603371  test -z "$as_dir" && as_dir=.
    2961   for ac_exec_ext in '' $ac_executable_extensions; do
    2962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3372    for ac_exec_ext in '' $ac_executable_extensions; do
     3373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    29633374    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2964     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    29653376    break 2
    29663377  fi
    29673378done
    2968 done
     3379  done
    29693380IFS=$as_save_IFS
    29703381
     
    29733384CXX=$ac_cv_prog_CXX
    29743385if test -n "$CXX"; then
    2975   { echo "$as_me:$LINENO: result: $CXX" >&5
    2976 echo "${ECHO_T}$CXX" >&6; }
    2977 else
    2978   { echo "$as_me:$LINENO: result: no" >&5
    2979 echo "${ECHO_T}no" >&6; }
     3386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3387$as_echo "$CXX" >&6; }
     3388else
     3389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3390$as_echo "no" >&6; }
    29803391fi
    29813392
     
    29903401  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29913402set dummy $ac_prog; ac_word=$2
    2992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2994 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2995   echo $ECHO_N "(cached) $ECHO_C" >&6
     3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3404$as_echo_n "checking for $ac_word... " >&6; }
     3405if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3406  $as_echo_n "(cached) " >&6
    29963407else
    29973408  if test -n "$ac_ct_CXX"; then
     
    30033414  IFS=$as_save_IFS
    30043415  test -z "$as_dir" && as_dir=.
    3005   for ac_exec_ext in '' $ac_executable_extensions; do
    3006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3416    for ac_exec_ext in '' $ac_executable_extensions; do
     3417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    30073418    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3008     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    30093420    break 2
    30103421  fi
    30113422done
    3012 done
     3423  done
    30133424IFS=$as_save_IFS
    30143425
     
    30173428ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    30183429if test -n "$ac_ct_CXX"; then
    3019   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3020 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    3021 else
    3022   { echo "$as_me:$LINENO: result: no" >&5
    3023 echo "${ECHO_T}no" >&6; }
     3430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3431$as_echo "$ac_ct_CXX" >&6; }
     3432else
     3433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3434$as_echo "no" >&6; }
    30243435fi
    30253436
     
    30333444    case $cross_compiling:$ac_tool_warned in
    30343445yes:)
    3035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3036 whose name does not start with the host triplet.  If you think this
    3037 configuration is useful to you, please write to [email protected]." >&5
    3038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3039 whose name does not start with the host triplet.  If you think this
    3040 configuration is useful to you, please write to [email protected]." >&2;}
     3446{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3447$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    30413448ac_tool_warned=yes ;;
    30423449esac
     
    30483455fi
    30493456# Provide some information about the compiler.
    3050 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    3051 ac_compiler=`set X $ac_compile; echo $2`
    3052 { (ac_try="$ac_compiler --version >&5"
     3457$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3458set X $ac_compile
     3459ac_compiler=$2
     3460for ac_option in --version -v -V -qversion; do
     3461  { { ac_try="$ac_compiler $ac_option >&5"
    30533462case "(($ac_try" in
    30543463  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30553464  *) ac_try_echo=$ac_try;;
    30563465esac
    3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3058   (eval "$ac_compiler --version >&5") 2>&5
     3466eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3467$as_echo "$ac_try_echo"; } >&5
     3468  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    30593469  ac_status=$?
    3060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3061   (exit $ac_status); }
    3062 { (ac_try="$ac_compiler -v >&5"
    3063 case "(($ac_try" in
    3064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3065   *) ac_try_echo=$ac_try;;
    3066 esac
    3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3068   (eval "$ac_compiler -v >&5") 2>&5
    3069   ac_status=$?
    3070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3071   (exit $ac_status); }
    3072 { (ac_try="$ac_compiler -V >&5"
    3073 case "(($ac_try" in
    3074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3075   *) ac_try_echo=$ac_try;;
    3076 esac
    3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3078   (eval "$ac_compiler -V >&5") 2>&5
    3079   ac_status=$?
    3080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3081   (exit $ac_status); }
    3082 
    3083 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    3085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3086   echo $ECHO_N "(cached) $ECHO_C" >&6
    3087 else
    3088   cat >conftest.$ac_ext <<_ACEOF
    3089 /* confdefs.h.  */
    3090 _ACEOF
    3091 cat confdefs.h >>conftest.$ac_ext
    3092 cat >>conftest.$ac_ext <<_ACEOF
     3470  if test -s conftest.err; then
     3471    sed '10a\
     3472... rest of stderr output deleted ...
     3473         10q' conftest.err >conftest.er1
     3474    cat conftest.er1 >&5
     3475  fi
     3476  rm -f conftest.er1 conftest.err
     3477  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3478  test $ac_status = 0; }
     3479done
     3480
     3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3482$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3483if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3484  $as_echo_n "(cached) " >&6
     3485else
     3486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30933487/* end confdefs.h.  */
    30943488
     
    31043498}
    31053499_ACEOF
    3106 rm -f conftest.$ac_objext
    3107 if { (ac_try="$ac_compile"
    3108 case "(($ac_try" in
    3109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3110   *) ac_try_echo=$ac_try;;
    3111 esac
    3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3113   (eval "$ac_compile") 2>conftest.er1
    3114   ac_status=$?
    3115   grep -v '^ *+' conftest.er1 >conftest.err
    3116   rm -f conftest.er1
    3117   cat conftest.err >&5
    3118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3119   (exit $ac_status); } && {
    3120      test -z "$ac_cxx_werror_flag" ||
    3121      test ! -s conftest.err
    3122        } && test -s conftest.$ac_objext; then
     3500if ac_fn_cxx_try_compile "$LINENO"; then :
    31233501  ac_compiler_gnu=yes
    31243502else
    3125   echo "$as_me: failed program was:" >&5
    3126 sed 's/^/| /' conftest.$ac_ext >&5
    3127 
    3128     ac_compiler_gnu=no
    3129 fi
    3130 
     3503  ac_compiler_gnu=no
     3504fi
    31313505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31323506ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    31333507
    31343508fi
    3135 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3136 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    3137 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3510$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3511if test $ac_compiler_gnu = yes; then
     3512  GXX=yes
     3513else
     3514  GXX=
     3515fi
    31383516ac_test_CXXFLAGS=${CXXFLAGS+set}
    31393517ac_save_CXXFLAGS=$CXXFLAGS
    3140 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3141 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    3142 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3143   echo $ECHO_N "(cached) $ECHO_C" >&6
     3518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3519$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     3520if ${ac_cv_prog_cxx_g+:} false; then :
     3521  $as_echo_n "(cached) " >&6
    31443522else
    31453523  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    31473525   ac_cv_prog_cxx_g=no
    31483526   CXXFLAGS="-g"
    3149    cat >conftest.$ac_ext <<_ACEOF
    3150 /* confdefs.h.  */
    3151 _ACEOF
    3152 cat confdefs.h >>conftest.$ac_ext
    3153 cat >>conftest.$ac_ext <<_ACEOF
     3527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31543528/* end confdefs.h.  */
    31553529
     
    31623536}
    31633537_ACEOF
    3164 rm -f conftest.$ac_objext
    3165 if { (ac_try="$ac_compile"
    3166 case "(($ac_try" in
    3167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3168   *) ac_try_echo=$ac_try;;
    3169 esac
    3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3171   (eval "$ac_compile") 2>conftest.er1
    3172   ac_status=$?
    3173   grep -v '^ *+' conftest.er1 >conftest.err
    3174   rm -f conftest.er1
    3175   cat conftest.err >&5
    3176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3177   (exit $ac_status); } && {
    3178      test -z "$ac_cxx_werror_flag" ||
    3179      test ! -s conftest.err
    3180        } && test -s conftest.$ac_objext; then
     3538if ac_fn_cxx_try_compile "$LINENO"; then :
    31813539  ac_cv_prog_cxx_g=yes
    31823540else
    3183   echo "$as_me: failed program was:" >&5
    3184 sed 's/^/| /' conftest.$ac_ext >&5
    3185 
    3186     CXXFLAGS=""
    3187       cat >conftest.$ac_ext <<_ACEOF
    3188 /* confdefs.h.  */
    3189 _ACEOF
    3190 cat confdefs.h >>conftest.$ac_ext
    3191 cat >>conftest.$ac_ext <<_ACEOF
     3541  CXXFLAGS=""
     3542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31923543/* end confdefs.h.  */
    31933544
     
    32003551}
    32013552_ACEOF
    3202 rm -f conftest.$ac_objext
    3203 if { (ac_try="$ac_compile"
    3204 case "(($ac_try" in
    3205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3206   *) ac_try_echo=$ac_try;;
    3207 esac
    3208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3209   (eval "$ac_compile") 2>conftest.er1
    3210   ac_status=$?
    3211   grep -v '^ *+' conftest.er1 >conftest.err
    3212   rm -f conftest.er1
    3213   cat conftest.err >&5
    3214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3215   (exit $ac_status); } && {
    3216      test -z "$ac_cxx_werror_flag" ||
    3217      test ! -s conftest.err
    3218        } && test -s conftest.$ac_objext; then
    3219   :
    3220 else
    3221   echo "$as_me: failed program was:" >&5
    3222 sed 's/^/| /' conftest.$ac_ext >&5
    3223 
    3224     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3553if ac_fn_cxx_try_compile "$LINENO"; then :
     3554
     3555else
     3556  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    32253557     CXXFLAGS="-g"
    3226      cat >conftest.$ac_ext <<_ACEOF
    3227 /* confdefs.h.  */
    3228 _ACEOF
    3229 cat confdefs.h >>conftest.$ac_ext
    3230 cat >>conftest.$ac_ext <<_ACEOF
     3558     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32313559/* end confdefs.h.  */
    32323560
     
    32393567}
    32403568_ACEOF
    3241 rm -f conftest.$ac_objext
    3242 if { (ac_try="$ac_compile"
    3243 case "(($ac_try" in
    3244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3245   *) ac_try_echo=$ac_try;;
    3246 esac
    3247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3248   (eval "$ac_compile") 2>conftest.er1
    3249   ac_status=$?
    3250   grep -v '^ *+' conftest.er1 >conftest.err
    3251   rm -f conftest.er1
    3252   cat conftest.err >&5
    3253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3254   (exit $ac_status); } && {
    3255      test -z "$ac_cxx_werror_flag" ||
    3256      test ! -s conftest.err
    3257        } && test -s conftest.$ac_objext; then
     3569if ac_fn_cxx_try_compile "$LINENO"; then :
    32583570  ac_cv_prog_cxx_g=yes
    3259 else
    3260   echo "$as_me: failed program was:" >&5
    3261 sed 's/^/| /' conftest.$ac_ext >&5
    3262 
    3263 
    3264 fi
    3265 
     3571fi
    32663572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32673573fi
    3268 
    32693574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32703575fi
    3271 
    32723576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32733577   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    32743578fi
    3275 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3276 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     3579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3580$as_echo "$ac_cv_prog_cxx_g" >&6; }
    32773581if test "$ac_test_CXXFLAGS" = set; then
    32783582  CXXFLAGS=$ac_save_CXXFLAGS
     
    33053609  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33063610set dummy $ac_prog; ac_word=$2
    3307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3309 if test "${ac_cv_prog_JAVAC+set}" = set; then
    3310   echo $ECHO_N "(cached) $ECHO_C" >&6
     3611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3612$as_echo_n "checking for $ac_word... " >&6; }
     3613if ${ac_cv_prog_JAVAC+:} false; then :
     3614  $as_echo_n "(cached) " >&6
    33113615else
    33123616  if test -n "$JAVAC"; then
     
    33183622  IFS=$as_save_IFS
    33193623  test -z "$as_dir" && as_dir=.
    3320   for ac_exec_ext in '' $ac_executable_extensions; do
    3321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3624    for ac_exec_ext in '' $ac_executable_extensions; do
     3625  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33223626    ac_cv_prog_JAVAC="$ac_prog"
    3323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33243628    break 2
    33253629  fi
    33263630done
    3327 done
     3631  done
    33283632IFS=$as_save_IFS
    33293633
     
    33323636JAVAC=$ac_cv_prog_JAVAC
    33333637if test -n "$JAVAC"; then
    3334   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    3335 echo "${ECHO_T}$JAVAC" >&6; }
    3336 else
    3337   { echo "$as_me:$LINENO: result: no" >&5
    3338 echo "${ECHO_T}no" >&6; }
     3638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     3639$as_echo "$JAVAC" >&6; }
     3640else
     3641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3642$as_echo "no" >&6; }
    33393643fi
    33403644
     
    33483652  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33493653set dummy $ac_prog; ac_word=$2
    3350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3352 if test "${ac_cv_prog_JAVAC+set}" = set; then
    3353   echo $ECHO_N "(cached) $ECHO_C" >&6
     3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3655$as_echo_n "checking for $ac_word... " >&6; }
     3656if ${ac_cv_prog_JAVAC+:} false; then :
     3657  $as_echo_n "(cached) " >&6
    33543658else
    33553659  if test -n "$JAVAC"; then
     
    33613665  IFS=$as_save_IFS
    33623666  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
     3667    for ac_exec_ext in '' $ac_executable_extensions; do
     3668  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33653669    ac_cv_prog_JAVAC="$ac_prog"
    3366     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3670    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33673671    break 2
    33683672  fi
    33693673done
    3370 done
     3674  done
    33713675IFS=$as_save_IFS
    33723676
     
    33753679JAVAC=$ac_cv_prog_JAVAC
    33763680if test -n "$JAVAC"; then
    3377   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    3378 echo "${ECHO_T}$JAVAC" >&6; }
    3379 else
    3380   { echo "$as_me:$LINENO: result: no" >&5
    3381 echo "${ECHO_T}no" >&6; }
     3681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     3682$as_echo "$JAVAC" >&6; }
     3683else
     3684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3685$as_echo "no" >&6; }
    33823686fi
    33833687
     
    33883692
    33893693  fi
    3390   test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    3391 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    3392    { (exit 1); exit 1; }; }
     3694  test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
    33933695else
    33943696  echo "Checking for javac... $JAVAC"
     
    33973699
    33983700
    3399 { echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    3400 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6; }
    3401 if test "${ac_cv_prog_javac_works+set}" = set; then
    3402   echo $ECHO_N "(cached) $ECHO_C" >&6
     3701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
     3702$as_echo_n "checking if $JAVAC works... " >&6; }
     3703if ${ac_cv_prog_javac_works+:} false; then :
     3704  $as_echo_n "(cached) " >&6
    34033705else
    34043706
     
    34063708CLASS_TEST=Test.class
    34073709cat << \EOF > $JAVA_TEST
    3408 /* #line 3408 "configure" */
     3710/* #line 3710 "configure" */
    34093711public class Test {
    34103712}
    34113713EOF
    34123714if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3715  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    34143716  (eval $ac_try) 2>&5
    34153717  ac_status=$?
    3416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3417   (exit $ac_status); }; } >/dev/null 2>&1; then
     3718  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3719  test $ac_status = 0; }; } >/dev/null 2>&1; then
    34183720  ac_cv_prog_javac_works=yes
    34193721else
    3420   { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3421 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    3422    { (exit 1); exit 1; }; }
     3722  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    34233723  echo "configure: failed program was:" >&5
    34243724  cat $JAVA_TEST >&5
     
    34273727
    34283728fi
    3429 { echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    3430 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6; }
     3729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
     3730$as_echo "$ac_cv_prog_javac_works" >&6; }
    34313731if test "x$JAVACFLAGS" = x ; then
    3432   JAVACFLAGS="-source 1.4 -target 1.4"
     3732  JAVACFLAGS="-source 1.6 -target 1.6"
    34333733fi
    34343734
     
    34423742  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34433743set dummy $ac_prog; ac_word=$2
    3444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3446 if test "${ac_cv_prog_JAVA+set}" = set; then
    3447   echo $ECHO_N "(cached) $ECHO_C" >&6
     3744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3745$as_echo_n "checking for $ac_word... " >&6; }
     3746if ${ac_cv_prog_JAVA+:} false; then :
     3747  $as_echo_n "(cached) " >&6
    34483748else
    34493749  if test -n "$JAVA"; then
     
    34553755  IFS=$as_save_IFS
    34563756  test -z "$as_dir" && as_dir=.
    3457   for ac_exec_ext in '' $ac_executable_extensions; do
    3458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3757    for ac_exec_ext in '' $ac_executable_extensions; do
     3758  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34593759    ac_cv_prog_JAVA="$ac_prog"
    3460     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34613761    break 2
    34623762  fi
    34633763done
    3464 done
     3764  done
    34653765IFS=$as_save_IFS
    34663766
     
    34693769JAVA=$ac_cv_prog_JAVA
    34703770if test -n "$JAVA"; then
    3471   { echo "$as_me:$LINENO: result: $JAVA" >&5
    3472 echo "${ECHO_T}$JAVA" >&6; }
    3473 else
    3474   { echo "$as_me:$LINENO: result: no" >&5
    3475 echo "${ECHO_T}no" >&6; }
     3771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
     3772$as_echo "$JAVA" >&6; }
     3773else
     3774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3775$as_echo "no" >&6; }
    34763776fi
    34773777
     
    34853785  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34863786set dummy $ac_prog; ac_word=$2
    3487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3489 if test "${ac_cv_prog_JAVA+set}" = set; then
    3490   echo $ECHO_N "(cached) $ECHO_C" >&6
     3787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3788$as_echo_n "checking for $ac_word... " >&6; }
     3789if ${ac_cv_prog_JAVA+:} false; then :
     3790  $as_echo_n "(cached) " >&6
    34913791else
    34923792  if test -n "$JAVA"; then
     
    34983798  IFS=$as_save_IFS
    34993799  test -z "$as_dir" && as_dir=.
    3500   for ac_exec_ext in '' $ac_executable_extensions; do
    3501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3800    for ac_exec_ext in '' $ac_executable_extensions; do
     3801  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35023802    ac_cv_prog_JAVA="$ac_prog"
    3503     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35043804    break 2
    35053805  fi
    35063806done
    3507 done
     3807  done
    35083808IFS=$as_save_IFS
    35093809
     
    35123812JAVA=$ac_cv_prog_JAVA
    35133813if test -n "$JAVA"; then
    3514   { echo "$as_me:$LINENO: result: $JAVA" >&5
    3515 echo "${ECHO_T}$JAVA" >&6; }
    3516 else
    3517   { echo "$as_me:$LINENO: result: no" >&5
    3518 echo "${ECHO_T}no" >&6; }
     3814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
     3815$as_echo "$JAVA" >&6; }
     3816else
     3817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3818$as_echo "no" >&6; }
    35193819fi
    35203820
     
    35253825
    35263826    fi
    3527     test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
    3528 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
    3529    { (exit 1); exit 1; }; }
     3827    test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
    35303828fi
    35313829
     
    35333831# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    35343832set dummy uudecode$EXEEXT; ac_word=$2
    3535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3537 if test "${ac_cv_prog_uudecode+set}" = set; then
    3538   echo $ECHO_N "(cached) $ECHO_C" >&6
     3833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3834$as_echo_n "checking for $ac_word... " >&6; }
     3835if ${ac_cv_prog_uudecode+:} false; then :
     3836  $as_echo_n "(cached) " >&6
    35393837else
    35403838  if test -n "$uudecode"; then
     
    35463844  IFS=$as_save_IFS
    35473845  test -z "$as_dir" && as_dir=.
    3548   for ac_exec_ext in '' $ac_executable_extensions; do
    3549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3846    for ac_exec_ext in '' $ac_executable_extensions; do
     3847  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35503848    ac_cv_prog_uudecode="yes"
    3551     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35523850    break 2
    35533851  fi
    35543852done
    3555 done
     3853  done
    35563854IFS=$as_save_IFS
    35573855
     
    35603858uudecode=$ac_cv_prog_uudecode
    35613859if test -n "$uudecode"; then
    3562   { echo "$as_me:$LINENO: result: $uudecode" >&5
    3563 echo "${ECHO_T}$uudecode" >&6; }
    3564 else
    3565   { echo "$as_me:$LINENO: result: no" >&5
    3566 echo "${ECHO_T}no" >&6; }
     3860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
     3861$as_echo "$uudecode" >&6; }
     3862else
     3863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3864$as_echo "no" >&6; }
    35673865fi
    35683866
    35693867
    35703868if test x$uudecode = xyes; then
    3571 { echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
    3572 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6; }
    3573 if test "${ac_cv_prog_uudecode_base64+set}" = set; then
    3574   echo $ECHO_N "(cached) $ECHO_C" >&6
     3869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
     3870$as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
     3871if ${ac_cv_prog_uudecode_base64+:} false; then :
     3872  $as_echo_n "(cached) " >&6
    35753873else
    35763874
     
    35893887        ac_cv_prog_uudecode_base64=yes
    35903888else
    3591         echo "configure: 3591: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3889        echo "configure: 3889: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    35923890        echo "configure: failed file was:" >&5
    35933891        cat Test.uue >&5
     
    35963894rm -f Test.uue
    35973895fi
    3598 { echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
    3599 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6; }
     3896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
     3897$as_echo "$ac_cv_prog_uudecode_base64" >&6; }
    36003898fi
    36013899if test x$ac_cv_prog_uudecode_base64 != xyes; then
    36023900        rm -f Test.class
    3603         { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
    3604 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
     3901        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
     3902$as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    36053903        if test x$ac_cv_prog_javac_works = xno; then
    3606                 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
    3607 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
    3608    { (exit 1); exit 1; }; }
     3904                as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
    36093905        fi
    36103906        if test x$ac_cv_prog_javac_works = x; then
     
    36163912  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36173913set dummy $ac_prog; ac_word=$2
    3618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3620 if test "${ac_cv_prog_JAVAC+set}" = set; then
    3621   echo $ECHO_N "(cached) $ECHO_C" >&6
     3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3915$as_echo_n "checking for $ac_word... " >&6; }
     3916if ${ac_cv_prog_JAVAC+:} false; then :
     3917  $as_echo_n "(cached) " >&6
    36223918else
    36233919  if test -n "$JAVAC"; then
     
    36293925  IFS=$as_save_IFS
    36303926  test -z "$as_dir" && as_dir=.
    3631   for ac_exec_ext in '' $ac_executable_extensions; do
    3632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3927    for ac_exec_ext in '' $ac_executable_extensions; do
     3928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36333929    ac_cv_prog_JAVAC="$ac_prog"
    3634     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36353931    break 2
    36363932  fi
    36373933done
    3638 done
     3934  done
    36393935IFS=$as_save_IFS
    36403936
     
    36433939JAVAC=$ac_cv_prog_JAVAC
    36443940if test -n "$JAVAC"; then
    3645   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    3646 echo "${ECHO_T}$JAVAC" >&6; }
    3647 else
    3648   { echo "$as_me:$LINENO: result: no" >&5
    3649 echo "${ECHO_T}no" >&6; }
     3941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     3942$as_echo "$JAVAC" >&6; }
     3943else
     3944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3945$as_echo "no" >&6; }
    36503946fi
    36513947
     
    36593955  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36603956set dummy $ac_prog; ac_word=$2
    3661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3663 if test "${ac_cv_prog_JAVAC+set}" = set; then
    3664   echo $ECHO_N "(cached) $ECHO_C" >&6
     3957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3958$as_echo_n "checking for $ac_word... " >&6; }
     3959if ${ac_cv_prog_JAVAC+:} false; then :
     3960  $as_echo_n "(cached) " >&6
    36653961else
    36663962  if test -n "$JAVAC"; then
     
    36723968  IFS=$as_save_IFS
    36733969  test -z "$as_dir" && as_dir=.
    3674   for ac_exec_ext in '' $ac_executable_extensions; do
    3675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3970    for ac_exec_ext in '' $ac_executable_extensions; do
     3971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36763972    ac_cv_prog_JAVAC="$ac_prog"
    3677     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36783974    break 2
    36793975  fi
    36803976done
    3681 done
     3977  done
    36823978IFS=$as_save_IFS
    36833979
     
    36863982JAVAC=$ac_cv_prog_JAVAC
    36873983if test -n "$JAVAC"; then
    3688   { echo "$as_me:$LINENO: result: $JAVAC" >&5
    3689 echo "${ECHO_T}$JAVAC" >&6; }
    3690 else
    3691   { echo "$as_me:$LINENO: result: no" >&5
    3692 echo "${ECHO_T}no" >&6; }
     3984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     3985$as_echo "$JAVAC" >&6; }
     3986else
     3987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3988$as_echo "no" >&6; }
    36933989fi
    36943990
     
    36993995
    37003996  fi
    3701   test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    3702 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    3703    { (exit 1); exit 1; }; }
     3997  test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
    37043998else
    37053999  echo "Checking for javac... $JAVAC"
     
    37084002
    37094003
    3710 { echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    3711 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6; }
    3712 if test "${ac_cv_prog_javac_works+set}" = set; then
    3713   echo $ECHO_N "(cached) $ECHO_C" >&6
     4004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
     4005$as_echo_n "checking if $JAVAC works... " >&6; }
     4006if ${ac_cv_prog_javac_works+:} false; then :
     4007  $as_echo_n "(cached) " >&6
    37144008else
    37154009
     
    37174011CLASS_TEST=Test.class
    37184012cat << \EOF > $JAVA_TEST
    3719 /* #line 3719 "configure" */
     4013/* #line 4013 "configure" */
    37204014public class Test {
    37214015}
    37224016EOF
    37234017if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4018  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    37254019  (eval $ac_try) 2>&5
    37264020  ac_status=$?
    3727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3728   (exit $ac_status); }; } >/dev/null 2>&1; then
     4021  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4022  test $ac_status = 0; }; } >/dev/null 2>&1; then
    37294023  ac_cv_prog_javac_works=yes
    37304024else
    3731   { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3732 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    3733    { (exit 1); exit 1; }; }
     4025  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    37344026  echo "configure: failed program was:" >&5
    37354027  cat $JAVA_TEST >&5
     
    37384030
    37394031fi
    3740 { echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    3741 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6; }
     4032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
     4033$as_echo "$ac_cv_prog_javac_works" >&6; }
    37424034if test "x$JAVACFLAGS" = x ; then
    3743   JAVACFLAGS="-source 1.4 -target 1.4"
     4035  JAVACFLAGS="-source 1.6 -target 1.6"
    37444036fi
    37454037
     
    37484040        fi
    37494041fi
    3750 { echo "$as_me:$LINENO: checking if $JAVA works" >&5
    3751 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6; }
    3752 if test "${ac_cv_prog_java_works+set}" = set; then
    3753   echo $ECHO_N "(cached) $ECHO_C" >&6
     4042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
     4043$as_echo_n "checking if $JAVA works... " >&6; }
     4044if ${ac_cv_prog_java_works+:} false; then :
     4045  $as_echo_n "(cached) " >&6
    37544046else
    37554047
     
    37584050TEST=Test
    37594051cat << \EOF > $JAVA_TEST
    3760 /* [#]line 3760 "configure" */
     4052/* [#]line 4052 "configure" */
    37614053public class Test {
    37624054public static void main (String args[]) {
     
    37664058if test x$ac_cv_prog_uudecode_base64 != xyes; then
    37674059        if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4060  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    37694061  (eval $ac_try) 2>&5
    37704062  ac_status=$?
    3771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3772   (exit $ac_status); }; } && test -s $CLASS_TEST; then
     4063  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4064  test $ac_status = 0; }; } && test -s $CLASS_TEST; then
    37734065                :
    37744066        else
    37754067          echo "configure: failed program was:" >&5
    37764068          cat $JAVA_TEST >&5
    3777           { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3778 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    3779    { (exit 1); exit 1; }; }
     4069          as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    37804070        fi
    37814071fi
    37824072if { ac_try='$JAVA $JAVAFLAGS $TEST'
    3783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4073  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    37844074  (eval $ac_try) 2>&5
    37854075  ac_status=$?
    3786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3787   (exit $ac_status); }; } >/dev/null 2>&1; then
     4076  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4077  test $ac_status = 0; }; } >/dev/null 2>&1; then
    37884078  ac_cv_prog_java_works=yes
    37894079else
    37904080  echo "configure: failed program was:" >&5
    37914081  cat $JAVA_TEST >&5
    3792   { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
    3793 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
    3794    { (exit 1); exit 1; }; }
     4082  as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    37954083fi
    37964084rm -fr $JAVA_TEST $CLASS_TEST Test.uue
    37974085
    37984086fi
    3799 { echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
    3800 echo "${ECHO_T}$ac_cv_prog_java_works" >&6; }
     4087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
     4088$as_echo "$ac_cv_prog_java_works" >&6; }
    38014089
    38024090
     
    38074095  # Extract the first word of "$ac_prog", so it can be a program name with args.
    38084096set dummy $ac_prog; ac_word=$2
    3809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3811 if test "${ac_cv_prog_AWK+set}" = set; then
    3812   echo $ECHO_N "(cached) $ECHO_C" >&6
     4097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4098$as_echo_n "checking for $ac_word... " >&6; }
     4099if ${ac_cv_prog_AWK+:} false; then :
     4100  $as_echo_n "(cached) " >&6
    38134101else
    38144102  if test -n "$AWK"; then
     
    38204108  IFS=$as_save_IFS
    38214109  test -z "$as_dir" && as_dir=.
    3822   for ac_exec_ext in '' $ac_executable_extensions; do
    3823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4110    for ac_exec_ext in '' $ac_executable_extensions; do
     4111  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38244112    ac_cv_prog_AWK="$ac_prog"
    3825     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4113    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38264114    break 2
    38274115  fi
    38284116done
    3829 done
     4117  done
    38304118IFS=$as_save_IFS
    38314119
     
    38344122AWK=$ac_cv_prog_AWK
    38354123if test -n "$AWK"; then
    3836   { echo "$as_me:$LINENO: result: $AWK" >&5
    3837 echo "${ECHO_T}$AWK" >&6; }
    3838 else
    3839   { echo "$as_me:$LINENO: result: no" >&5
    3840 echo "${ECHO_T}no" >&6; }
     4124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     4125$as_echo "$AWK" >&6; }
     4126else
     4127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4128$as_echo "no" >&6; }
    38414129fi
    38424130
     
    38494137  # Extract the first word of "$ac_prog", so it can be a program name with args.
    38504138set dummy $ac_prog; ac_word=$2
    3851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3853 if test "${ac_cv_prog_YACC+set}" = set; then
    3854   echo $ECHO_N "(cached) $ECHO_C" >&6
     4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4140$as_echo_n "checking for $ac_word... " >&6; }
     4141if ${ac_cv_prog_YACC+:} false; then :
     4142  $as_echo_n "(cached) " >&6
    38554143else
    38564144  if test -n "$YACC"; then
     
    38624150  IFS=$as_save_IFS
    38634151  test -z "$as_dir" && as_dir=.
    3864   for ac_exec_ext in '' $ac_executable_extensions; do
    3865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4152    for ac_exec_ext in '' $ac_executable_extensions; do
     4153  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38664154    ac_cv_prog_YACC="$ac_prog"
    3867     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38684156    break 2
    38694157  fi
    38704158done
    3871 done
     4159  done
    38724160IFS=$as_save_IFS
    38734161
     
    38764164YACC=$ac_cv_prog_YACC
    38774165if test -n "$YACC"; then
    3878   { echo "$as_me:$LINENO: result: $YACC" >&5
    3879 echo "${ECHO_T}$YACC" >&6; }
    3880 else
    3881   { echo "$as_me:$LINENO: result: no" >&5
    3882 echo "${ECHO_T}no" >&6; }
     4166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
     4167$as_echo "$YACC" >&6; }
     4168else
     4169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4170$as_echo "no" >&6; }
    38834171fi
    38844172
     
    39054193done
    39064194if test -z "$ac_aux_dir"; then
    3907   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    3908 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    3909    { (exit 1); exit 1; }; }
     4195  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    39104196fi
    39114197
     
    39214207# Make sure we can run config.sub.
    39224208$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    3923   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    3924 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    3925    { (exit 1); exit 1; }; }
    3926 
    3927 { echo "$as_me:$LINENO: checking build system type" >&5
    3928 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    3929 if test "${ac_cv_build+set}" = set; then
    3930   echo $ECHO_N "(cached) $ECHO_C" >&6
     4209  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     4210
     4211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     4212$as_echo_n "checking build system type... " >&6; }
     4213if ${ac_cv_build+:} false; then :
     4214  $as_echo_n "(cached) " >&6
    39314215else
    39324216  ac_build_alias=$build_alias
     
    39344218  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    39354219test "x$ac_build_alias" = x &&
    3936   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    3937 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    3938    { (exit 1); exit 1; }; }
     4220  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    39394221ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    3940   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    3941 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    3942    { (exit 1); exit 1; }; }
    3943 
    3944 fi
    3945 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    3946 echo "${ECHO_T}$ac_cv_build" >&6; }
     4222  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     4223
     4224fi
     4225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     4226$as_echo "$ac_cv_build" >&6; }
    39474227case $ac_cv_build in
    39484228*-*-*) ;;
    3949 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    3950 echo "$as_me: error: invalid value of canonical build" >&2;}
    3951    { (exit 1); exit 1; }; };;
     4229*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    39524230esac
    39534231build=$ac_cv_build
     
    39654243
    39664244
    3967 { echo "$as_me:$LINENO: checking host system type" >&5
    3968 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    3969 if test "${ac_cv_host+set}" = set; then
    3970   echo $ECHO_N "(cached) $ECHO_C" >&6
     4245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     4246$as_echo_n "checking host system type... " >&6; }
     4247if ${ac_cv_host+:} false; then :
     4248  $as_echo_n "(cached) " >&6
    39714249else
    39724250  if test "x$host_alias" = x; then
     
    39744252else
    39754253  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    3976     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    3977 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    3978    { (exit 1); exit 1; }; }
    3979 fi
    3980 
    3981 fi
    3982 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    3983 echo "${ECHO_T}$ac_cv_host" >&6; }
     4254    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     4255fi
     4256
     4257fi
     4258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     4259$as_echo "$ac_cv_host" >&6; }
    39844260case $ac_cv_host in
    39854261*-*-*) ;;
    3986 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    3987 echo "$as_me: error: invalid value of canonical host" >&2;}
    3988    { (exit 1); exit 1; }; };;
     4262*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    39894263esac
    39904264host=$ac_cv_host
     
    40024276
    40034277
    4004 { echo "$as_me:$LINENO: checking target system type" >&5
    4005 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    4006 if test "${ac_cv_target+set}" = set; then
    4007   echo $ECHO_N "(cached) $ECHO_C" >&6
     4278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
     4279$as_echo_n "checking target system type... " >&6; }
     4280if ${ac_cv_target+:} false; then :
     4281  $as_echo_n "(cached) " >&6
    40084282else
    40094283  if test "x$target_alias" = x; then
     
    40114285else
    40124286  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    4013     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
    4014 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    4015    { (exit 1); exit 1; }; }
    4016 fi
    4017 
    4018 fi
    4019 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    4020 echo "${ECHO_T}$ac_cv_target" >&6; }
     4287    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     4288fi
     4289
     4290fi
     4291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
     4292$as_echo "$ac_cv_target" >&6; }
    40214293case $ac_cv_target in
    40224294*-*-*) ;;
    4023 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
    4024 echo "$as_me: error: invalid value of canonical target" >&2;}
    4025    { (exit 1); exit 1; }; };;
     4295*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
    40264296esac
    40274297target=$ac_cv_target
     
    40454315    NONENONEs,x,x, &&
    40464316  program_prefix=${target_alias}-
     4317
    40474318# Find a good install program.  We prefer a C program (faster),
    40484319# so one script is as good as another.  But avoid the broken or
     
    40584329# OS/2's system install, which has a completely different semantic
    40594330# ./install, which can be erroneously created by make from ./install.sh.
    4060 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    4061 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     4331# Reject install programs that cannot install multiple files.
     4332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     4333$as_echo_n "checking for a BSD-compatible install... " >&6; }
    40624334if test -z "$INSTALL"; then
    4063 if test "${ac_cv_path_install+set}" = set; then
    4064   echo $ECHO_N "(cached) $ECHO_C" >&6
     4335if ${ac_cv_path_install+:} false; then :
     4336  $as_echo_n "(cached) " >&6
    40654337else
    40664338  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    40694341  IFS=$as_save_IFS
    40704342  test -z "$as_dir" && as_dir=.
    4071   # Account for people who put trailing slashes in PATH elements.
    4072 case $as_dir/ in
    4073   ./ | .// | /cC/* | \
     4343    # Account for people who put trailing slashes in PATH elements.
     4344case $as_dir/ in #((
     4345  ./ | .// | /[cC]/* | \
    40744346  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    4075   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     4347  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    40764348  /usr/ucb/* ) ;;
    40774349  *)
     
    40814353    for ac_prog in ginstall scoinst install; do
    40824354      for ac_exec_ext in '' $ac_executable_extensions; do
    4083     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     4355    if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    40844356      if test $ac_prog = install &&
    40854357        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    40914363        :
    40924364      else
    4093         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    4094         break 3
     4365        rm -rf conftest.one conftest.two conftest.dir
     4366        echo one > conftest.one
     4367        echo two > conftest.two
     4368        mkdir conftest.dir
     4369        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     4370          test -s conftest.one && test -s conftest.two &&
     4371          test -s conftest.dir/conftest.one &&
     4372          test -s conftest.dir/conftest.two
     4373        then
     4374          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     4375          break 3
     4376        fi
    40954377      fi
    40964378    fi
     
    40994381    ;;
    41004382esac
    4101 done
     4383
     4384  done
    41024385IFS=$as_save_IFS
    41034386
     4387rm -rf conftest.one conftest.two conftest.dir
    41044388
    41054389fi
     
    41144398  fi
    41154399fi
    4116 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    4117 echo "${ECHO_T}$INSTALL" >&6; }
     4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     4401$as_echo "$INSTALL" >&6; }
    41184402
    41194403# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    41254409test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    41264410
    4127 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    4128 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     4411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     4412$as_echo_n "checking whether ln -s works... " >&6; }
    41294413LN_S=$as_ln_s
    41304414if test "$LN_S" = "ln -s"; then
    4131   { echo "$as_me:$LINENO: result: yes" >&5
    4132 echo "${ECHO_T}yes" >&6; }
    4133 else
    4134   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    4135 echo "${ECHO_T}no, using $LN_S" >&6; }
    4136 fi
    4137 
    4138 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    4139 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
    4140 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    4141 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    4142   echo $ECHO_N "(cached) $ECHO_C" >&6
     4415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4416$as_echo "yes" >&6; }
     4417else
     4418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     4419$as_echo "no, using $LN_S" >&6; }
     4420fi
     4421
     4422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     4423$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     4424set x ${MAKE-make}
     4425ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     4426if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     4427  $as_echo_n "(cached) " >&6
    41434428else
    41444429  cat >conftest.make <<\_ACEOF
     
    41474432    @echo '@@@%%%=$(MAKE)=@@@%%%'
    41484433_ACEOF
    4149 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     4434# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    41504435case `${MAKE-make} -f conftest.make 2>/dev/null` in
    41514436  *@@@%%%=?*=@@@%%%*)
     
    41574442fi
    41584443if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    4159   { echo "$as_me:$LINENO: result: yes" >&5
    4160 echo "${ECHO_T}yes" >&6; }
     4444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4445$as_echo "yes" >&6; }
    41614446  SET_MAKE=
    41624447else
    4163   { echo "$as_me:$LINENO: result: no" >&5
    4164 echo "${ECHO_T}no" >&6; }
     4448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4449$as_echo "no" >&6; }
    41654450  SET_MAKE="MAKE=${MAKE-make}"
    41664451fi
     
    41694454  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    41704455set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    4173 if test "${ac_cv_prog_RANLIB+set}" = set; then
    4174   echo $ECHO_N "(cached) $ECHO_C" >&6
     4456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4457$as_echo_n "checking for $ac_word... " >&6; }
     4458if ${ac_cv_prog_RANLIB+:} false; then :
     4459  $as_echo_n "(cached) " >&6
    41754460else
    41764461  if test -n "$RANLIB"; then
     
    41824467  IFS=$as_save_IFS
    41834468  test -z "$as_dir" && as_dir=.
    4184   for ac_exec_ext in '' $ac_executable_extensions; do
    4185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4469    for ac_exec_ext in '' $ac_executable_extensions; do
     4470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41864471    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4187     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    41884473    break 2
    41894474  fi
    41904475done
    4191 done
     4476  done
    41924477IFS=$as_save_IFS
    41934478
     
    41964481RANLIB=$ac_cv_prog_RANLIB
    41974482if test -n "$RANLIB"; then
    4198   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    4199 echo "${ECHO_T}$RANLIB" >&6; }
    4200 else
    4201   { echo "$as_me:$LINENO: result: no" >&5
    4202 echo "${ECHO_T}no" >&6; }
     4483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4484$as_echo "$RANLIB" >&6; }
     4485else
     4486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4487$as_echo "no" >&6; }
    42034488fi
    42044489
     
    42094494  # Extract the first word of "ranlib", so it can be a program name with args.
    42104495set dummy ranlib; ac_word=$2
    4211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    4213 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    4214   echo $ECHO_N "(cached) $ECHO_C" >&6
     4496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4497$as_echo_n "checking for $ac_word... " >&6; }
     4498if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4499  $as_echo_n "(cached) " >&6
    42154500else
    42164501  if test -n "$ac_ct_RANLIB"; then
     
    42224507  IFS=$as_save_IFS
    42234508  test -z "$as_dir" && as_dir=.
    4224   for ac_exec_ext in '' $ac_executable_extensions; do
    4225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4509    for ac_exec_ext in '' $ac_executable_extensions; do
     4510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    42264511    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4227     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    42284513    break 2
    42294514  fi
    42304515done
    4231 done
     4516  done
    42324517IFS=$as_save_IFS
    42334518
     
    42364521ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    42374522if test -n "$ac_ct_RANLIB"; then
    4238   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    4239 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    4240 else
    4241   { echo "$as_me:$LINENO: result: no" >&5
    4242 echo "${ECHO_T}no" >&6; }
     4523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4524$as_echo "$ac_ct_RANLIB" >&6; }
     4525else
     4526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4527$as_echo "no" >&6; }
    42434528fi
    42444529
     
    42484533    case $cross_compiling:$ac_tool_warned in
    42494534yes:)
    4250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    4251 whose name does not start with the host triplet.  If you think this
    4252 configuration is useful to you, please write to [email protected]." >&5
    4253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    4254 whose name does not start with the host triplet.  If you think this
    4255 configuration is useful to you, please write to [email protected]." >&2;}
     4535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    42564537ac_tool_warned=yes ;;
    42574538esac
     
    42654546  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    42664547set dummy ${ac_tool_prefix}strip; ac_word=$2
    4267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    4269 if test "${ac_cv_prog_STRIP+set}" = set; then
    4270   echo $ECHO_N "(cached) $ECHO_C" >&6
     4548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4549$as_echo_n "checking for $ac_word... " >&6; }
     4550if ${ac_cv_prog_STRIP+:} false; then :
     4551  $as_echo_n "(cached) " >&6
    42714552else
    42724553  if test -n "$STRIP"; then
     
    42784559  IFS=$as_save_IFS
    42794560  test -z "$as_dir" && as_dir=.
    4280   for ac_exec_ext in '' $ac_executable_extensions; do
    4281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4561    for ac_exec_ext in '' $ac_executable_extensions; do
     4562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    42824563    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    4283     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    42844565    break 2
    42854566  fi
    42864567done
    4287 done
     4568  done
    42884569IFS=$as_save_IFS
    42894570
     
    42924573STRIP=$ac_cv_prog_STRIP
    42934574if test -n "$STRIP"; then
    4294   { echo "$as_me:$LINENO: result: $STRIP" >&5
    4295 echo "${ECHO_T}$STRIP" >&6; }
    4296 else
    4297   { echo "$as_me:$LINENO: result: no" >&5
    4298 echo "${ECHO_T}no" >&6; }
     4575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     4576$as_echo "$STRIP" >&6; }
     4577else
     4578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4579$as_echo "no" >&6; }
    42994580fi
    43004581
     
    43054586  # Extract the first word of "strip", so it can be a program name with args.
    43064587set dummy strip; ac_word=$2
    4307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    4309 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    4310   echo $ECHO_N "(cached) $ECHO_C" >&6
     4588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4589$as_echo_n "checking for $ac_word... " >&6; }
     4590if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     4591  $as_echo_n "(cached) " >&6
    43114592else
    43124593  if test -n "$ac_ct_STRIP"; then
     
    43184599  IFS=$as_save_IFS
    43194600  test -z "$as_dir" && as_dir=.
    4320   for ac_exec_ext in '' $ac_executable_extensions; do
    4321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4601    for ac_exec_ext in '' $ac_executable_extensions; do
     4602  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    43224603    ac_cv_prog_ac_ct_STRIP="strip"
    4323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4604    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    43244605    break 2
    43254606  fi
    43264607done
    4327 done
     4608  done
    43284609IFS=$as_save_IFS
    43294610
     
    43324613ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    43334614if test -n "$ac_ct_STRIP"; then
    4334   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
    4335 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
    4336 else
    4337   { echo "$as_me:$LINENO: result: no" >&5
    4338 echo "${ECHO_T}no" >&6; }
     4615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     4616$as_echo "$ac_ct_STRIP" >&6; }
     4617else
     4618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4619$as_echo "no" >&6; }
    43394620fi
    43404621
     
    43444625    case $cross_compiling:$ac_tool_warned in
    43454626yes:)
    4346 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    4347 whose name does not start with the host triplet.  If you think this
    4348 configuration is useful to you, please write to [email protected]." >&5
    4349 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    4350 whose name does not start with the host triplet.  If you think this
    4351 configuration is useful to you, please write to [email protected]." >&2;}
     4627{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    43524629ac_tool_warned=yes ;;
    43534630esac
     
    43594636
    43604637
    4361 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    4362 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
     4638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
     4639$as_echo_n "checking to see if architecture is 64-bit... " >&6; }
    43634640arch_64bit=no
    43644641case "$host_cpu" in
     
    43674644
    43684645if test "$arch_64bit" = yes; then
    4369   { echo "$as_me:$LINENO: result: yes" >&5
    4370 echo "${ECHO_T}yes" >&6; }
     4646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4647$as_echo "yes" >&6; }
    43714648  if test -z "$ARCH_DEP_FLAGS" ; then
    43724649    ARCH_DEP_FLAGS="-fPIC"
    43734650  fi
    43744651else
    4375   { echo "$as_me:$LINENO: result: no" >&5
    4376 echo "${ECHO_T}no" >&6; }
     4652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4653$as_echo "no" >&6; }
    43774654  if test -z "$ARCH_DEP_FLAGS" ; then
    43784655    ARCH_DEP_FLAGS=
     
    44074684#do test of MICO_VER
    44084685if test MICO_VER != 0; then
    4409 cat >>confdefs.h <<\_ACEOF
    4410 #define MICO_VER 1
    4411 _ACEOF
     4686$as_echo "#define MICO_VER 1" >>confdefs.h
    44124687
    44134688
     
    44224697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    44234698ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4424 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    4425 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     4699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     4700$as_echo_n "checking how to run the C preprocessor... " >&6; }
    44264701# On Suns, sometimes $CPP names a directory.
    44274702if test -n "$CPP" && test -d "$CPP"; then
     
    44294704fi
    44304705if test -z "$CPP"; then
    4431   if test "${ac_cv_prog_CPP+set}" = set; then
    4432   echo $ECHO_N "(cached) $ECHO_C" >&6
     4706  if ${ac_cv_prog_CPP+:} false; then :
     4707  $as_echo_n "(cached) " >&6
    44334708else
    44344709      # Double quotes because CPP needs to be expanded
     
    44444719  # On the NeXT, cc -E runs the code through the compiler's parser,
    44454720  # not just through cpp. "Syntax error" is here to catch this case.
    4446   cat >conftest.$ac_ext <<_ACEOF
    4447 /* confdefs.h.  */
    4448 _ACEOF
    4449 cat confdefs.h >>conftest.$ac_ext
    4450 cat >>conftest.$ac_ext <<_ACEOF
     4721  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44514722/* end confdefs.h.  */
    44524723#ifdef __STDC__
     
    44574728             Syntax error
    44584729_ACEOF
    4459 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4460 case "(($ac_try" in
    4461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4462   *) ac_try_echo=$ac_try;;
    4463 esac
    4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4465   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4466   ac_status=$?
    4467   grep -v '^ *+' conftest.er1 >conftest.err
    4468   rm -f conftest.er1
    4469   cat conftest.err >&5
    4470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4471   (exit $ac_status); } >/dev/null && {
    4472      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4473      test ! -s conftest.err
    4474        }; then
    4475   :
    4476 else
    4477   echo "$as_me: failed program was:" >&5
    4478 sed 's/^/| /' conftest.$ac_ext >&5
    4479 
     4730if ac_fn_c_try_cpp "$LINENO"; then :
     4731
     4732else
    44804733  # Broken: fails on valid input.
    44814734continue
    44824735fi
    4483 
    4484 rm -f conftest.err conftest.$ac_ext
     4736rm -f conftest.err conftest.i conftest.$ac_ext
    44854737
    44864738  # OK, works on sane cases.  Now check whether nonexistent headers
    44874739  # can be detected and how.
    4488   cat >conftest.$ac_ext <<_ACEOF
    4489 /* confdefs.h.  */
    4490 _ACEOF
    4491 cat confdefs.h >>conftest.$ac_ext
    4492 cat >>conftest.$ac_ext <<_ACEOF
     4740  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44934741/* end confdefs.h.  */
    44944742#include <ac_nonexistent.h>
    44954743_ACEOF
    4496 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4497 case "(($ac_try" in
    4498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4499   *) ac_try_echo=$ac_try;;
    4500 esac
    4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4502   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4503   ac_status=$?
    4504   grep -v '^ *+' conftest.er1 >conftest.err
    4505   rm -f conftest.er1
    4506   cat conftest.err >&5
    4507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4508   (exit $ac_status); } >/dev/null && {
    4509      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4510      test ! -s conftest.err
    4511        }; then
     4744if ac_fn_c_try_cpp "$LINENO"; then :
    45124745  # Broken: success on invalid input.
    45134746continue
    45144747else
    4515   echo "$as_me: failed program was:" >&5
    4516 sed 's/^/| /' conftest.$ac_ext >&5
    4517 
    45184748  # Passes both tests.
    45194749ac_preproc_ok=:
    45204750break
    45214751fi
    4522 
    4523 rm -f conftest.err conftest.$ac_ext
     4752rm -f conftest.err conftest.i conftest.$ac_ext
    45244753
    45254754done
    45264755# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4527 rm -f conftest.err conftest.$ac_ext
    4528 if $ac_preproc_ok; then
     4756rm -f conftest.i conftest.err conftest.$ac_ext
     4757if $ac_preproc_ok; then :
    45294758  break
    45304759fi
     
    45384767  ac_cv_prog_CPP=$CPP
    45394768fi
    4540 { echo "$as_me:$LINENO: result: $CPP" >&5
    4541 echo "${ECHO_T}$CPP" >&6; }
     4769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     4770$as_echo "$CPP" >&6; }
    45424771ac_preproc_ok=false
    45434772for ac_c_preproc_warn_flag in '' yes
     
    45494778  # On the NeXT, cc -E runs the code through the compiler's parser,
    45504779  # not just through cpp. "Syntax error" is here to catch this case.
    4551   cat >conftest.$ac_ext <<_ACEOF
    4552 /* confdefs.h.  */
    4553 _ACEOF
    4554 cat confdefs.h >>conftest.$ac_ext
    4555 cat >>conftest.$ac_ext <<_ACEOF
     4780  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45564781/* end confdefs.h.  */
    45574782#ifdef __STDC__
     
    45624787             Syntax error
    45634788_ACEOF
    4564 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4565 case "(($ac_try" in
    4566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4567   *) ac_try_echo=$ac_try;;
    4568 esac
    4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4570   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4571   ac_status=$?
    4572   grep -v '^ *+' conftest.er1 >conftest.err
    4573   rm -f conftest.er1
    4574   cat conftest.err >&5
    4575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4576   (exit $ac_status); } >/dev/null && {
    4577      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4578      test ! -s conftest.err
    4579        }; then
    4580   :
    4581 else
    4582   echo "$as_me: failed program was:" >&5
    4583 sed 's/^/| /' conftest.$ac_ext >&5
    4584 
     4789if ac_fn_c_try_cpp "$LINENO"; then :
     4790
     4791else
    45854792  # Broken: fails on valid input.
    45864793continue
    45874794fi
    4588 
    4589 rm -f conftest.err conftest.$ac_ext
     4795rm -f conftest.err conftest.i conftest.$ac_ext
    45904796
    45914797  # OK, works on sane cases.  Now check whether nonexistent headers
    45924798  # can be detected and how.
    4593   cat >conftest.$ac_ext <<_ACEOF
    4594 /* confdefs.h.  */
    4595 _ACEOF
    4596 cat confdefs.h >>conftest.$ac_ext
    4597 cat >>conftest.$ac_ext <<_ACEOF
     4799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45984800/* end confdefs.h.  */
    45994801#include <ac_nonexistent.h>
    46004802_ACEOF
    4601 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4602 case "(($ac_try" in
    4603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4604   *) ac_try_echo=$ac_try;;
    4605 esac
    4606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4607   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4608   ac_status=$?
    4609   grep -v '^ *+' conftest.er1 >conftest.err
    4610   rm -f conftest.er1
    4611   cat conftest.err >&5
    4612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4613   (exit $ac_status); } >/dev/null && {
    4614      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4615      test ! -s conftest.err
    4616        }; then
     4803if ac_fn_c_try_cpp "$LINENO"; then :
    46174804  # Broken: success on invalid input.
    46184805continue
    46194806else
    4620   echo "$as_me: failed program was:" >&5
    4621 sed 's/^/| /' conftest.$ac_ext >&5
    4622 
    46234807  # Passes both tests.
    46244808ac_preproc_ok=:
    46254809break
    46264810fi
    4627 
    4628 rm -f conftest.err conftest.$ac_ext
     4811rm -f conftest.err conftest.i conftest.$ac_ext
    46294812
    46304813done
    46314814# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4632 rm -f conftest.err conftest.$ac_ext
    4633 if $ac_preproc_ok; then
    4634   :
    4635 else
    4636   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4637 See \`config.log' for more details." >&5
    4638 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4639 See \`config.log' for more details." >&2;}
    4640    { (exit 1); exit 1; }; }
     4815rm -f conftest.i conftest.err conftest.$ac_ext
     4816if $ac_preproc_ok; then :
     4817
     4818else
     4819  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4820$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4821as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4822See \`config.log' for more details" "$LINENO" 5; }
    46414823fi
    46424824
     
    46484830
    46494831
    4650 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    4651 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    4652 if test "${ac_cv_path_GREP+set}" = set; then
    4653   echo $ECHO_N "(cached) $ECHO_C" >&6
    4654 else
    4655   # Extract the first word of "grep ggrep" to use in msg output
    4656 if test -z "$GREP"; then
    4657 set dummy grep ggrep; ac_prog_name=$2
    4658 if test "${ac_cv_path_GREP+set}" = set; then
    4659   echo $ECHO_N "(cached) $ECHO_C" >&6
    4660 else
     4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4833$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4834if ${ac_cv_path_GREP+:} false; then :
     4835  $as_echo_n "(cached) " >&6
     4836else
     4837  if test -z "$GREP"; then
    46614838  ac_path_GREP_found=false
    4662 # Loop through the user's path and test for each of PROGNAME-LIST
    4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4839  # Loop through the user's path and test for each of PROGNAME-LIST
     4840  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    46644841for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    46654842do
    46664843  IFS=$as_save_IFS
    46674844  test -z "$as_dir" && as_dir=.
    4668   for ac_prog in grep ggrep; do
    4669   for ac_exec_ext in '' $ac_executable_extensions; do
    4670     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4671     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4672     # Check for GNU ac_path_GREP and select it if it is found.
     4845    for ac_prog in grep ggrep; do
     4846    for ac_exec_ext in '' $ac_executable_extensions; do
     4847      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4848      as_fn_executable_p "$ac_path_GREP" || continue
     4849# Check for GNU ac_path_GREP and select it if it is found.
    46734850  # Check for GNU $ac_path_GREP
    46744851case `"$ac_path_GREP" --version 2>&1` in
     
    46774854*)
    46784855  ac_count=0
    4679   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4856  $as_echo_n 0123456789 >"conftest.in"
    46804857  while :
    46814858  do
     
    46834860    mv "conftest.tmp" "conftest.in"
    46844861    cp "conftest.in" "conftest.nl"
    4685     echo 'GREP' >> "conftest.nl"
     4862    $as_echo 'GREP' >> "conftest.nl"
    46864863    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    46874864    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4688     ac_count=`expr $ac_count + 1`
     4865    as_fn_arith $ac_count + 1 && ac_count=$as_val
    46894866    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    46904867      # Best one so far, save it but keep looking for a better one
     
    46984875esac
    46994876
    4700 
    4701     $ac_path_GREP_found && break 3
     4877      $ac_path_GREP_found && break 3
     4878    done
    47024879  done
    4703 done
    4704 
    4705 done
     4880  done
    47064881IFS=$as_save_IFS
    4707 
    4708 
    4709 fi
    4710 
    4711 GREP="$ac_cv_path_GREP"
    4712 if test -z "$GREP"; then
    4713   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4714 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4715    { (exit 1); exit 1; }; }
    4716 fi
    4717 
     4882  if test -z "$ac_cv_path_GREP"; then
     4883    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4884  fi
    47184885else
    47194886  ac_cv_path_GREP=$GREP
    47204887fi
    47214888
    4722 
    4723 fi
    4724 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    4725 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4889fi
     4890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4891$as_echo "$ac_cv_path_GREP" >&6; }
    47264892 GREP="$ac_cv_path_GREP"
    47274893
    47284894
    4729 { echo "$as_me:$LINENO: checking for egrep" >&5
    4730 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    4731 if test "${ac_cv_path_EGREP+set}" = set; then
    4732   echo $ECHO_N "(cached) $ECHO_C" >&6
     4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4896$as_echo_n "checking for egrep... " >&6; }
     4897if ${ac_cv_path_EGREP+:} false; then :
     4898  $as_echo_n "(cached) " >&6
    47334899else
    47344900  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    47354901   then ac_cv_path_EGREP="$GREP -E"
    47364902   else
    4737      # Extract the first word of "egrep" to use in msg output
    4738 if test -z "$EGREP"; then
    4739 set dummy egrep; ac_prog_name=$2
    4740 if test "${ac_cv_path_EGREP+set}" = set; then
    4741   echo $ECHO_N "(cached) $ECHO_C" >&6
    4742 else
     4903     if test -z "$EGREP"; then
    47434904  ac_path_EGREP_found=false
    4744 # Loop through the user's path and test for each of PROGNAME-LIST
    4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4905  # Loop through the user's path and test for each of PROGNAME-LIST
     4906  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    47464907for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    47474908do
    47484909  IFS=$as_save_IFS
    47494910  test -z "$as_dir" && as_dir=.
    4750   for ac_prog in egrep; do
    4751   for ac_exec_ext in '' $ac_executable_extensions; do
    4752     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4753     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4754     # Check for GNU ac_path_EGREP and select it if it is found.
     4911    for ac_prog in egrep; do
     4912    for ac_exec_ext in '' $ac_executable_extensions; do
     4913      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4914      as_fn_executable_p "$ac_path_EGREP" || continue
     4915# Check for GNU ac_path_EGREP and select it if it is found.
    47554916  # Check for GNU $ac_path_EGREP
    47564917case `"$ac_path_EGREP" --version 2>&1` in
     
    47594920*)
    47604921  ac_count=0
    4761   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4922  $as_echo_n 0123456789 >"conftest.in"
    47624923  while :
    47634924  do
     
    47654926    mv "conftest.tmp" "conftest.in"
    47664927    cp "conftest.in" "conftest.nl"
    4767     echo 'EGREP' >> "conftest.nl"
     4928    $as_echo 'EGREP' >> "conftest.nl"
    47684929    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    47694930    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4770     ac_count=`expr $ac_count + 1`
     4931    as_fn_arith $ac_count + 1 && ac_count=$as_val
    47714932    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    47724933      # Best one so far, save it but keep looking for a better one
     
    47804941esac
    47814942
    4782 
    4783     $ac_path_EGREP_found && break 3
     4943      $ac_path_EGREP_found && break 3
     4944    done
    47844945  done
     4946  done
     4947IFS=$as_save_IFS
     4948  if test -z "$ac_cv_path_EGREP"; then
     4949    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4950  fi
     4951else
     4952  ac_cv_path_EGREP=$EGREP
     4953fi
     4954
     4955   fi
     4956fi
     4957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4958$as_echo "$ac_cv_path_EGREP" >&6; }
     4959 EGREP="$ac_cv_path_EGREP"
     4960
     4961
     4962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4963$as_echo_n "checking for ANSI C header files... " >&6; }
     4964if ${ac_cv_header_stdc+:} false; then :
     4965  $as_echo_n "(cached) " >&6
     4966else
     4967  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4968/* end confdefs.h.  */
     4969#include <stdlib.h>
     4970#include <stdarg.h>
     4971#include <string.h>
     4972#include <float.h>
     4973
     4974int
     4975main ()
     4976{
     4977
     4978  ;
     4979  return 0;
     4980}
     4981_ACEOF
     4982if ac_fn_c_try_compile "$LINENO"; then :
     4983  ac_cv_header_stdc=yes
     4984else
     4985  ac_cv_header_stdc=no
     4986fi
     4987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4988
     4989if test $ac_cv_header_stdc = yes; then
     4990  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     4991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4992/* end confdefs.h.  */
     4993#include <string.h>
     4994
     4995_ACEOF
     4996if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4997  $EGREP "memchr" >/dev/null 2>&1; then :
     4998
     4999else
     5000  ac_cv_header_stdc=no
     5001fi
     5002rm -f conftest*
     5003
     5004fi
     5005
     5006if test $ac_cv_header_stdc = yes; then
     5007  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     5008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5009/* end confdefs.h.  */
     5010#include <stdlib.h>
     5011
     5012_ACEOF
     5013if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5014  $EGREP "free" >/dev/null 2>&1; then :
     5015
     5016else
     5017  ac_cv_header_stdc=no
     5018fi
     5019rm -f conftest*
     5020
     5021fi
     5022
     5023if test $ac_cv_header_stdc = yes; then
     5024  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     5025  if test "$cross_compiling" = yes; then :
     5026  :
     5027else
     5028  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5029/* end confdefs.h.  */
     5030#include <ctype.h>
     5031#include <stdlib.h>
     5032#if ((' ' & 0x0FF) == 0x020)
     5033# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     5034# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     5035#else
     5036# define ISLOWER(c) \
     5037           (('a' <= (c) && (c) <= 'i') \
     5038             || ('j' <= (c) && (c) <= 'r') \
     5039             || ('s' <= (c) && (c) <= 'z'))
     5040# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     5041#endif
     5042
     5043#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     5044int
     5045main ()
     5046{
     5047  int i;
     5048  for (i = 0; i < 256; i++)
     5049    if (XOR (islower (i), ISLOWER (i))
     5050    || toupper (i) != TOUPPER (i))
     5051      return 2;
     5052  return 0;
     5053}
     5054_ACEOF
     5055if ac_fn_c_try_run "$LINENO"; then :
     5056
     5057else
     5058  ac_cv_header_stdc=no
     5059fi
     5060rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5061  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5062fi
     5063
     5064fi
     5065fi
     5066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     5067$as_echo "$ac_cv_header_stdc" >&6; }
     5068if test $ac_cv_header_stdc = yes; then
     5069
     5070$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     5071
     5072fi
     5073
     5074# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     5075for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     5076          inttypes.h stdint.h unistd.h
     5077do :
     5078  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5079ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     5080"
     5081if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5082  cat >>confdefs.h <<_ACEOF
     5083#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5084_ACEOF
     5085
     5086fi
     5087
    47855088done
    47865089
    4787 done
    4788 IFS=$as_save_IFS
    4789 
    4790 
    4791 fi
    4792 
    4793 EGREP="$ac_cv_path_EGREP"
    4794 if test -z "$EGREP"; then
    4795   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4796 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4797    { (exit 1); exit 1; }; }
    4798 fi
    4799 
    4800 else
    4801   ac_cv_path_EGREP=$EGREP
    4802 fi
    4803 
    4804 
    4805    fi
    4806 fi
    4807 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4808 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
    4809  EGREP="$ac_cv_path_EGREP"
    4810 
    4811 
    4812 
    4813 { echo "$as_me:$LINENO: checking for AIX" >&5
    4814 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
    4815 cat >conftest.$ac_ext <<_ACEOF
    4816 /* confdefs.h.  */
    4817 _ACEOF
    4818 cat confdefs.h >>conftest.$ac_ext
    4819 cat >>conftest.$ac_ext <<_ACEOF
     5090
     5091
     5092  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
     5093if test "x$ac_cv_header_minix_config_h" = xyes; then :
     5094  MINIX=yes
     5095else
     5096  MINIX=
     5097fi
     5098
     5099
     5100  if test "$MINIX" = yes; then
     5101
     5102$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
     5103
     5104
     5105$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
     5106
     5107
     5108$as_echo "#define _MINIX 1" >>confdefs.h
     5109
     5110  fi
     5111
     5112
     5113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
     5114$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     5115if ${ac_cv_safe_to_define___extensions__+:} false; then :
     5116  $as_echo_n "(cached) " >&6
     5117else
     5118  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48205119/* end confdefs.h.  */
    4821 #ifdef _AIX
    4822   yes
    4823 #endif
    4824 
    4825 _ACEOF
    4826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4827   $EGREP "yes" >/dev/null 2>&1; then
    4828   { echo "$as_me:$LINENO: result: yes" >&5
    4829 echo "${ECHO_T}yes" >&6; }
    4830 cat >>confdefs.h <<\_ACEOF
    4831 #define _ALL_SOURCE 1
    4832 _ACEOF
    4833 
    4834 else
    4835   { echo "$as_me:$LINENO: result: no" >&5
    4836 echo "${ECHO_T}no" >&6; }
    4837 fi
    4838 rm -f conftest*
    4839 
    4840 
    4841 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
    4842 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
    4843 if test "${ac_cv_search_strerror+set}" = set; then
    4844   echo $ECHO_N "(cached) $ECHO_C" >&6
     5120
     5121#         define __EXTENSIONS__ 1
     5122          $ac_includes_default
     5123int
     5124main ()
     5125{
     5126
     5127  ;
     5128  return 0;
     5129}
     5130_ACEOF
     5131if ac_fn_c_try_compile "$LINENO"; then :
     5132  ac_cv_safe_to_define___extensions__=yes
     5133else
     5134  ac_cv_safe_to_define___extensions__=no
     5135fi
     5136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5137fi
     5138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
     5139$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     5140  test $ac_cv_safe_to_define___extensions__ = yes &&
     5141    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
     5142
     5143  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
     5144
     5145  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
     5146
     5147  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     5148
     5149  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
     5150
     5151
     5152
     5153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
     5154$as_echo_n "checking for library containing strerror... " >&6; }
     5155if ${ac_cv_search_strerror+:} false; then :
     5156  $as_echo_n "(cached) " >&6
    48455157else
    48465158  ac_func_search_save_LIBS=$LIBS
    4847 cat >conftest.$ac_ext <<_ACEOF
    4848 /* confdefs.h.  */
    4849 _ACEOF
    4850 cat confdefs.h >>conftest.$ac_ext
    4851 cat >>conftest.$ac_ext <<_ACEOF
     5159cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48525160/* end confdefs.h.  */
    48535161
     
    48745182    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    48755183  fi
    4876   rm -f conftest.$ac_objext conftest$ac_exeext
    4877 if { (ac_try="$ac_link"
    4878 case "(($ac_try" in
    4879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4880   *) ac_try_echo=$ac_try;;
    4881 esac
    4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4883   (eval "$ac_link") 2>conftest.er1
    4884   ac_status=$?
    4885   grep -v '^ *+' conftest.er1 >conftest.err
    4886   rm -f conftest.er1
    4887   cat conftest.err >&5
    4888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4889   (exit $ac_status); } && {
    4890      test -z "$ac_c_werror_flag" ||
    4891      test ! -s conftest.err
    4892        } && test -s conftest$ac_exeext &&
    4893        $as_test_x conftest$ac_exeext; then
     5184  if ac_fn_c_try_link "$LINENO"; then :
    48945185  ac_cv_search_strerror=$ac_res
    4895 else
    4896   echo "$as_me: failed program was:" >&5
    4897 sed 's/^/| /' conftest.$ac_ext >&5
    4898 
    4899 
    4900 fi
    4901 
    4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4903       conftest$ac_exeext
    4904   if test "${ac_cv_search_strerror+set}" = set; then
     5186fi
     5187rm -f core conftest.err conftest.$ac_objext \
     5188    conftest$ac_exeext
     5189  if ${ac_cv_search_strerror+:} false; then :
    49055190  break
    49065191fi
    49075192done
    4908 if test "${ac_cv_search_strerror+set}" = set; then
    4909   :
     5193if ${ac_cv_search_strerror+:} false; then :
     5194
    49105195else
    49115196  ac_cv_search_strerror=no
     
    49145199LIBS=$ac_func_search_save_LIBS
    49155200fi
    4916 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    4917 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
     5201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
     5202$as_echo "$ac_cv_search_strerror" >&6; }
    49185203ac_res=$ac_cv_search_strerror
    4919 if test "$ac_res" != no; then
     5204if test "$ac_res" != no; then :
    49205205  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    49215206
    49225207fi
    49235208
    4924 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4925 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    4926 if test "${ac_cv_header_stdc+set}" = set; then
    4927   echo $ECHO_N "(cached) $ECHO_C" >&6
    4928 else
    4929   cat >conftest.$ac_ext <<_ACEOF
    4930 /* confdefs.h.  */
    4931 _ACEOF
    4932 cat confdefs.h >>conftest.$ac_ext
    4933 cat >>conftest.$ac_ext <<_ACEOF
    4934 /* end confdefs.h.  */
    4935 #include <stdlib.h>
    4936 #include <stdarg.h>
    4937 #include <string.h>
    4938 #include <float.h>
    4939 
    4940 int
    4941 main ()
    4942 {
    4943 
    4944   ;
    4945   return 0;
    4946 }
    4947 _ACEOF
    4948 rm -f conftest.$ac_objext
    4949 if { (ac_try="$ac_compile"
    4950 case "(($ac_try" in
    4951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4952   *) ac_try_echo=$ac_try;;
    4953 esac
    4954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4955   (eval "$ac_compile") 2>conftest.er1
    4956   ac_status=$?
    4957   grep -v '^ *+' conftest.er1 >conftest.err
    4958   rm -f conftest.er1
    4959   cat conftest.err >&5
    4960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4961   (exit $ac_status); } && {
    4962      test -z "$ac_c_werror_flag" ||
    4963      test ! -s conftest.err
    4964        } && test -s conftest.$ac_objext; then
    4965   ac_cv_header_stdc=yes
    4966 else
    4967   echo "$as_me: failed program was:" >&5
    4968 sed 's/^/| /' conftest.$ac_ext >&5
    4969 
    4970     ac_cv_header_stdc=no
    4971 fi
    4972 
    4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4974 
    4975 if test $ac_cv_header_stdc = yes; then
    4976   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4977   cat >conftest.$ac_ext <<_ACEOF
    4978 /* confdefs.h.  */
    4979 _ACEOF
    4980 cat confdefs.h >>conftest.$ac_ext
    4981 cat >>conftest.$ac_ext <<_ACEOF
    4982 /* end confdefs.h.  */
    4983 #include <string.h>
    4984 
    4985 _ACEOF
    4986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4987   $EGREP "memchr" >/dev/null 2>&1; then
    4988   :
    4989 else
    4990   ac_cv_header_stdc=no
    4991 fi
    4992 rm -f conftest*
    4993 
    4994 fi
    4995 
    4996 if test $ac_cv_header_stdc = yes; then
    4997   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4998   cat >conftest.$ac_ext <<_ACEOF
    4999 /* confdefs.h.  */
    5000 _ACEOF
    5001 cat confdefs.h >>conftest.$ac_ext
    5002 cat >>conftest.$ac_ext <<_ACEOF
    5003 /* end confdefs.h.  */
    5004 #include <stdlib.h>
    5005 
    5006 _ACEOF
    5007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5008   $EGREP "free" >/dev/null 2>&1; then
    5009   :
    5010 else
    5011   ac_cv_header_stdc=no
    5012 fi
    5013 rm -f conftest*
    5014 
    5015 fi
    5016 
    5017 if test $ac_cv_header_stdc = yes; then
    5018   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    5019   if test "$cross_compiling" = yes; then
    5020   :
    5021 else
    5022   cat >conftest.$ac_ext <<_ACEOF
    5023 /* confdefs.h.  */
    5024 _ACEOF
    5025 cat confdefs.h >>conftest.$ac_ext
    5026 cat >>conftest.$ac_ext <<_ACEOF
    5027 /* end confdefs.h.  */
    5028 #include <ctype.h>
    5029 #include <stdlib.h>
    5030 #if ((' ' & 0x0FF) == 0x020)
    5031 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    5032 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    5033 #else
    5034 # define ISLOWER(c) \
    5035            (('a' <= (c) && (c) <= 'i') \
    5036              || ('j' <= (c) && (c) <= 'r') \
    5037              || ('s' <= (c) && (c) <= 'z'))
    5038 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    5039 #endif
    5040 
    5041 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    5042 int
    5043 main ()
    5044 {
    5045   int i;
    5046   for (i = 0; i < 256; i++)
    5047     if (XOR (islower (i), ISLOWER (i))
    5048     || toupper (i) != TOUPPER (i))
    5049       return 2;
    5050   return 0;
    5051 }
    5052 _ACEOF
    5053 rm -f conftest$ac_exeext
    5054 if { (ac_try="$ac_link"
    5055 case "(($ac_try" in
    5056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5057   *) ac_try_echo=$ac_try;;
    5058 esac
    5059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5060   (eval "$ac_link") 2>&5
    5061   ac_status=$?
    5062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5063   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5064   { (case "(($ac_try" in
    5065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5066   *) ac_try_echo=$ac_try;;
    5067 esac
    5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5069   (eval "$ac_try") 2>&5
    5070   ac_status=$?
    5071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5072   (exit $ac_status); }; }; then
    5073   :
    5074 else
    5075   echo "$as_me: program exited with status $ac_status" >&5
    5076 echo "$as_me: failed program was:" >&5
    5077 sed 's/^/| /' conftest.$ac_ext >&5
    5078 
    5079 ( exit $ac_status )
    5080 ac_cv_header_stdc=no
    5081 fi
    5082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5083 fi
    5084 
    5085 
    5086 fi
    5087 fi
    5088 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5089 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    5090 if test $ac_cv_header_stdc = yes; then
    5091 
    5092 cat >>confdefs.h <<\_ACEOF
    5093 #define STDC_HEADERS 1
    5094 _ACEOF
    5095 
    5096 fi
    5097 
    5098 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    5099 
    5100 
    5101 
    5102 
    5103 
    5104 
    5105 
    5106 
    5107 
    5108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    5109           inttypes.h stdint.h unistd.h
    5110 do
    5111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5115   echo $ECHO_N "(cached) $ECHO_C" >&6
    5116 else
    5117   cat >conftest.$ac_ext <<_ACEOF
    5118 /* confdefs.h.  */
    5119 _ACEOF
    5120 cat confdefs.h >>conftest.$ac_ext
    5121 cat >>conftest.$ac_ext <<_ACEOF
    5122 /* end confdefs.h.  */
    5123 $ac_includes_default
    5124 
    5125 #include <$ac_header>
    5126 _ACEOF
    5127 rm -f conftest.$ac_objext
    5128 if { (ac_try="$ac_compile"
    5129 case "(($ac_try" in
    5130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5131   *) ac_try_echo=$ac_try;;
    5132 esac
    5133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5134   (eval "$ac_compile") 2>conftest.er1
    5135   ac_status=$?
    5136   grep -v '^ *+' conftest.er1 >conftest.err
    5137   rm -f conftest.er1
    5138   cat conftest.err >&5
    5139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5140   (exit $ac_status); } && {
    5141      test -z "$ac_c_werror_flag" ||
    5142      test ! -s conftest.err
    5143        } && test -s conftest.$ac_objext; then
    5144   eval "$as_ac_Header=yes"
    5145 else
    5146   echo "$as_me: failed program was:" >&5
    5147 sed 's/^/| /' conftest.$ac_ext >&5
    5148 
    5149     eval "$as_ac_Header=no"
    5150 fi
    5151 
    5152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5153 fi
    5154 ac_res=`eval echo '${'$as_ac_Header'}'`
    5155            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5156 echo "${ECHO_T}$ac_res" >&6; }
    5157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    5158   cat >>confdefs.h <<_ACEOF
    5159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5160 _ACEOF
    5161 
    5162 fi
    5163 
    5164 done
    5165 
    5166 
    5167 if test "${ac_cv_header_minix_config_h+set}" = set; then
    5168   { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    5169 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    5170 if test "${ac_cv_header_minix_config_h+set}" = set; then
    5171   echo $ECHO_N "(cached) $ECHO_C" >&6
    5172 fi
    5173 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    5174 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    5175 else
    5176   # Is the header compilable?
    5177 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    5178 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
    5179 cat >conftest.$ac_ext <<_ACEOF
    5180 /* confdefs.h.  */
    5181 _ACEOF
    5182 cat confdefs.h >>conftest.$ac_ext
    5183 cat >>conftest.$ac_ext <<_ACEOF
    5184 /* end confdefs.h.  */
    5185 $ac_includes_default
    5186 #include <minix/config.h>
    5187 _ACEOF
    5188 rm -f conftest.$ac_objext
    5189 if { (ac_try="$ac_compile"
    5190 case "(($ac_try" in
    5191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5192   *) ac_try_echo=$ac_try;;
    5193 esac
    5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5195   (eval "$ac_compile") 2>conftest.er1
    5196   ac_status=$?
    5197   grep -v '^ *+' conftest.er1 >conftest.err
    5198   rm -f conftest.er1
    5199   cat conftest.err >&5
    5200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5201   (exit $ac_status); } && {
    5202      test -z "$ac_c_werror_flag" ||
    5203      test ! -s conftest.err
    5204        } && test -s conftest.$ac_objext; then
    5205   ac_header_compiler=yes
    5206 else
    5207   echo "$as_me: failed program was:" >&5
    5208 sed 's/^/| /' conftest.$ac_ext >&5
    5209 
    5210     ac_header_compiler=no
    5211 fi
    5212 
    5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5215 echo "${ECHO_T}$ac_header_compiler" >&6; }
    5216 
    5217 # Is the header present?
    5218 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    5219 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
    5220 cat >conftest.$ac_ext <<_ACEOF
    5221 /* confdefs.h.  */
    5222 _ACEOF
    5223 cat confdefs.h >>conftest.$ac_ext
    5224 cat >>conftest.$ac_ext <<_ACEOF
    5225 /* end confdefs.h.  */
    5226 #include <minix/config.h>
    5227 _ACEOF
    5228 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5229 case "(($ac_try" in
    5230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5231   *) ac_try_echo=$ac_try;;
    5232 esac
    5233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5234   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5235   ac_status=$?
    5236   grep -v '^ *+' conftest.er1 >conftest.err
    5237   rm -f conftest.er1
    5238   cat conftest.err >&5
    5239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5240   (exit $ac_status); } >/dev/null && {
    5241      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5242      test ! -s conftest.err
    5243        }; then
    5244   ac_header_preproc=yes
    5245 else
    5246   echo "$as_me: failed program was:" >&5
    5247 sed 's/^/| /' conftest.$ac_ext >&5
    5248 
    5249   ac_header_preproc=no
    5250 fi
    5251 
    5252 rm -f conftest.err conftest.$ac_ext
    5253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5254 echo "${ECHO_T}$ac_header_preproc" >&6; }
    5255 
    5256 # So?  What about this header?
    5257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5258   yes:no: )
    5259     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5260 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5261     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
    5262 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
    5263     ac_header_preproc=yes
    5264     ;;
    5265   no:yes:* )
    5266     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
    5267 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
    5268     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
    5269 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
    5270     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
    5271 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
    5272     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
    5273 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5274     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
    5275 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
    5276     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    5277 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    5278 
    5279     ;;
    5280 esac
    5281 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    5282 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    5283 if test "${ac_cv_header_minix_config_h+set}" = set; then
    5284   echo $ECHO_N "(cached) $ECHO_C" >&6
    5285 else
    5286   ac_cv_header_minix_config_h=$ac_header_preproc
    5287 fi
    5288 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    5289 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    5290 
    5291 fi
    5292 if test $ac_cv_header_minix_config_h = yes; then
    5293   MINIX=yes
    5294 else
    5295   MINIX=
    5296 fi
    5297 
    5298 
    5299 if test "$MINIX" = yes; then
    5300 
    5301 cat >>confdefs.h <<\_ACEOF
    5302 #define _POSIX_SOURCE 1
    5303 _ACEOF
    5304 
    5305 
    5306 cat >>confdefs.h <<\_ACEOF
    5307 #define _POSIX_1_SOURCE 2
    5308 _ACEOF
    5309 
    5310 
    5311 cat >>confdefs.h <<\_ACEOF
    5312 #define _MINIX 1
    5313 _ACEOF
    5314 
    5315 fi
    5316 
    5317 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    5318 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
    5319 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    5320   echo $ECHO_N "(cached) $ECHO_C" >&6
     5209
     5210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
     5211$as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
     5212if ${ac_cv_prog_cc_stdc+:} false; then :
     5213  $as_echo_n "(cached) " >&6
    53215214else
    53225215  ac_cv_prog_cc_stdc=no
     
    53315224do
    53325225  CFLAGS="$ac_save_CFLAGS $ac_arg"
    5333   cat >conftest.$ac_ext <<_ACEOF
    5334 /* confdefs.h.  */
    5335 _ACEOF
    5336 cat confdefs.h >>conftest.$ac_ext
    5337 cat >>conftest.$ac_ext <<_ACEOF
     5226  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53385227/* end confdefs.h.  */
    53395228#if !defined(__STDC__) || __STDC__ != 1
     
    53515240}
    53525241_ACEOF
    5353 rm -f conftest.$ac_objext
    5354 if { (ac_try="$ac_compile"
    5355 case "(($ac_try" in
    5356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5357   *) ac_try_echo=$ac_try;;
    5358 esac
    5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5360   (eval "$ac_compile") 2>conftest.er1
    5361   ac_status=$?
    5362   grep -v '^ *+' conftest.er1 >conftest.err
    5363   rm -f conftest.er1
    5364   cat conftest.err >&5
    5365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5366   (exit $ac_status); } && {
    5367      test -z "$ac_c_werror_flag" ||
    5368      test ! -s conftest.err
    5369        } && test -s conftest.$ac_objext; then
     5242if ac_fn_c_try_compile "$LINENO"; then :
    53705243  ac_cv_prog_cc_stdc="$ac_arg"; break
    5371 else
    5372   echo "$as_me: failed program was:" >&5
    5373 sed 's/^/| /' conftest.$ac_ext >&5
    5374 
    5375 
    5376 fi
    5377 
     5244fi
    53785245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    53795246done
     
    53825249fi
    53835250
    5384 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    5385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
     5251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
     5252$as_echo "$ac_cv_prog_cc_stdc" >&6; }
    53865253case "x$ac_cv_prog_cc_stdc" in
    53875254  x|xno) ;;
     
    53905257
    53915258
    5392 { echo "$as_me:$LINENO: checking for function prototypes" >&5
    5393 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
     5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
     5260$as_echo_n "checking for function prototypes... " >&6; }
    53945261if test "$ac_cv_prog_cc_stdc" != no; then
    5395   { echo "$as_me:$LINENO: result: yes" >&5
    5396 echo "${ECHO_T}yes" >&6; }
    5397   cat >>confdefs.h <<\_ACEOF
    5398 #define PROTOTYPES 1
    5399 _ACEOF
     5262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5263$as_echo "yes" >&6; }
     5264  $as_echo "#define PROTOTYPES 1" >>confdefs.h
    54005265
    54015266  U= ANSI2KNR=
    54025267else
    5403   { echo "$as_me:$LINENO: result: no" >&5
    5404 echo "${ECHO_T}no" >&6; }
     5268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5269$as_echo "no" >&6; }
    54055270  U=_ ANSI2KNR=ansi2knr
    54065271fi
    54075272
    5408 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    5409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
    5410 if test "${ac_cv_c_const+set}" = set; then
    5411   echo $ECHO_N "(cached) $ECHO_C" >&6
    5412 else
    5413   cat >conftest.$ac_ext <<_ACEOF
    5414 /* confdefs.h.  */
    5415 _ACEOF
    5416 cat confdefs.h >>conftest.$ac_ext
    5417 cat >>conftest.$ac_ext <<_ACEOF
     5273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
     5274$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
     5275if ${ac_cv_c_const+:} false; then :
     5276  $as_echo_n "(cached) " >&6
     5277else
     5278  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54185279/* end confdefs.h.  */
    54195280
     
    54215282main ()
    54225283{
    5423 /* FIXME: Include the comments suggested by Paul. */
     5284
    54245285#ifndef __cplusplus
    5425   /* Ultrix mips cc rejects this.  */
     5286  /* Ultrix mips cc rejects this sort of thing.  */
    54265287  typedef int charset[2];
    5427   const charset cs;
     5288  const charset cs = { 0, 0 };
    54285289  /* SunOS 4.1.1 cc rejects this.  */
    54295290  char const *const *pcpcc;
     
    54425303  ppc = (char**) pcpcc;
    54435304  pcpcc = (char const *const *) ppc;
    5444   { /* SCO 3.2v4 cc rejects this.  */
    5445     char *t;
     5305  { /* SCO 3.2v4 cc rejects this sort of thing.  */
     5306    char tx;
     5307    char *t = &tx;
    54465308    char const *s = 0 ? (char *) 0 : (char const *) 0;
    54475309
     
    54595321    ++p;
    54605322  }
    5461   { /* AIX XL C 1.02.0.0 rejects this saying
     5323  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
    54625324       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    5463     struct s { int j; const int *ap[3]; };
    5464     struct s *b; b->j = 5;
     5325    struct s { int j; const int *ap[3]; } bx;
     5326    struct s *b = &bx; b->j = 5;
    54655327  }
    54665328  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     
    54755337}
    54765338_ACEOF
    5477 rm -f conftest.$ac_objext
    5478 if { (ac_try="$ac_compile"
    5479 case "(($ac_try" in
    5480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5481   *) ac_try_echo=$ac_try;;
    5482 esac
    5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5484   (eval "$ac_compile") 2>conftest.er1
    5485   ac_status=$?
    5486   grep -v '^ *+' conftest.er1 >conftest.err
    5487   rm -f conftest.er1
    5488   cat conftest.err >&5
    5489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5490   (exit $ac_status); } && {
    5491      test -z "$ac_c_werror_flag" ||
    5492      test ! -s conftest.err
    5493        } && test -s conftest.$ac_objext; then
     5339if ac_fn_c_try_compile "$LINENO"; then :
    54945340  ac_cv_c_const=yes
    54955341else
    5496   echo "$as_me: failed program was:" >&5
    5497 sed 's/^/| /' conftest.$ac_ext >&5
    5498 
    5499     ac_cv_c_const=no
    5500 fi
    5501 
     5342  ac_cv_c_const=no
     5343fi
    55025344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    55035345fi
    5504 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    5505 echo "${ECHO_T}$ac_cv_c_const" >&6; }
     5346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
     5347$as_echo "$ac_cv_c_const" >&6; }
    55065348if test $ac_cv_c_const = no; then
    55075349
    5508 cat >>confdefs.h <<\_ACEOF
    5509 #define const
    5510 _ACEOF
    5511 
    5512 fi
    5513 
    5514 { echo "$as_me:$LINENO: checking for off_t" >&5
    5515 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
    5516 if test "${ac_cv_type_off_t+set}" = set; then
    5517   echo $ECHO_N "(cached) $ECHO_C" >&6
    5518 else
    5519   cat >conftest.$ac_ext <<_ACEOF
    5520 /* confdefs.h.  */
    5521 _ACEOF
    5522 cat confdefs.h >>conftest.$ac_ext
    5523 cat >>conftest.$ac_ext <<_ACEOF
    5524 /* end confdefs.h.  */
    5525 $ac_includes_default
    5526 typedef off_t ac__type_new_;
    5527 int
    5528 main ()
    5529 {
    5530 if ((ac__type_new_ *) 0)
    5531   return 0;
    5532 if (sizeof (ac__type_new_))
    5533   return 0;
    5534   ;
    5535   return 0;
    5536 }
    5537 _ACEOF
    5538 rm -f conftest.$ac_objext
    5539 if { (ac_try="$ac_compile"
    5540 case "(($ac_try" in
    5541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5542   *) ac_try_echo=$ac_try;;
    5543 esac
    5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5545   (eval "$ac_compile") 2>conftest.er1
    5546   ac_status=$?
    5547   grep -v '^ *+' conftest.er1 >conftest.err
    5548   rm -f conftest.er1
    5549   cat conftest.err >&5
    5550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5551   (exit $ac_status); } && {
    5552      test -z "$ac_c_werror_flag" ||
    5553      test ! -s conftest.err
    5554        } && test -s conftest.$ac_objext; then
    5555   ac_cv_type_off_t=yes
    5556 else
    5557   echo "$as_me: failed program was:" >&5
    5558 sed 's/^/| /' conftest.$ac_ext >&5
    5559 
    5560     ac_cv_type_off_t=no
    5561 fi
    5562 
    5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5564 fi
    5565 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    5566 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
    5567 if test $ac_cv_type_off_t = yes; then
    5568   :
     5350$as_echo "#define const /**/" >>confdefs.h
     5351
     5352fi
     5353
     5354ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
     5355if test "x$ac_cv_type_off_t" = xyes; then :
     5356
    55695357else
    55705358
     
    55755363fi
    55765364
    5577 { echo "$as_me:$LINENO: checking for size_t" >&5
    5578 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
    5579 if test "${ac_cv_type_size_t+set}" = set; then
    5580   echo $ECHO_N "(cached) $ECHO_C" >&6
    5581 else
    5582   cat >conftest.$ac_ext <<_ACEOF
    5583 /* confdefs.h.  */
    5584 _ACEOF
    5585 cat confdefs.h >>conftest.$ac_ext
    5586 cat >>conftest.$ac_ext <<_ACEOF
    5587 /* end confdefs.h.  */
    5588 $ac_includes_default
    5589 typedef size_t ac__type_new_;
    5590 int
    5591 main ()
    5592 {
    5593 if ((ac__type_new_ *) 0)
    5594   return 0;
    5595 if (sizeof (ac__type_new_))
    5596   return 0;
    5597   ;
    5598   return 0;
    5599 }
    5600 _ACEOF
    5601 rm -f conftest.$ac_objext
    5602 if { (ac_try="$ac_compile"
    5603 case "(($ac_try" in
    5604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5605   *) ac_try_echo=$ac_try;;
    5606 esac
    5607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5608   (eval "$ac_compile") 2>conftest.er1
    5609   ac_status=$?
    5610   grep -v '^ *+' conftest.er1 >conftest.err
    5611   rm -f conftest.er1
    5612   cat conftest.err >&5
    5613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5614   (exit $ac_status); } && {
    5615      test -z "$ac_c_werror_flag" ||
    5616      test ! -s conftest.err
    5617        } && test -s conftest.$ac_objext; then
    5618   ac_cv_type_size_t=yes
    5619 else
    5620   echo "$as_me: failed program was:" >&5
    5621 sed 's/^/| /' conftest.$ac_ext >&5
    5622 
    5623     ac_cv_type_size_t=no
    5624 fi
    5625 
    5626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5627 fi
    5628 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    5629 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
    5630 if test $ac_cv_type_size_t = yes; then
    5631   :
     5365ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     5366if test "x$ac_cv_type_size_t" = xyes; then :
     5367
    56325368else
    56335369
     
    56385374fi
    56395375
    5640 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    5641 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
    5642 if test "${ac_cv_header_time+set}" = set; then
    5643   echo $ECHO_N "(cached) $ECHO_C" >&6
    5644 else
    5645   cat >conftest.$ac_ext <<_ACEOF
    5646 /* confdefs.h.  */
    5647 _ACEOF
    5648 cat confdefs.h >>conftest.$ac_ext
    5649 cat >>conftest.$ac_ext <<_ACEOF
     5376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
     5377$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
     5378if ${ac_cv_header_time+:} false; then :
     5379  $as_echo_n "(cached) " >&6
     5380else
     5381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56505382/* end confdefs.h.  */
    56515383#include <sys/types.h>
     
    56625394}
    56635395_ACEOF
    5664 rm -f conftest.$ac_objext
    5665 if { (ac_try="$ac_compile"
    5666 case "(($ac_try" in
    5667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5668   *) ac_try_echo=$ac_try;;
    5669 esac
    5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5671   (eval "$ac_compile") 2>conftest.er1
    5672   ac_status=$?
    5673   grep -v '^ *+' conftest.er1 >conftest.err
    5674   rm -f conftest.er1
    5675   cat conftest.err >&5
    5676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5677   (exit $ac_status); } && {
    5678      test -z "$ac_c_werror_flag" ||
    5679      test ! -s conftest.err
    5680        } && test -s conftest.$ac_objext; then
     5396if ac_fn_c_try_compile "$LINENO"; then :
    56815397  ac_cv_header_time=yes
    56825398else
    5683   echo "$as_me: failed program was:" >&5
    5684 sed 's/^/| /' conftest.$ac_ext >&5
    5685 
    5686     ac_cv_header_time=no
    5687 fi
    5688 
     5399  ac_cv_header_time=no
     5400fi
    56895401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    56905402fi
    5691 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    5692 echo "${ECHO_T}$ac_cv_header_time" >&6; }
     5403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
     5404$as_echo "$ac_cv_header_time" >&6; }
    56935405if test $ac_cv_header_time = yes; then
    56945406
    5695 cat >>confdefs.h <<\_ACEOF
    5696 #define TIME_WITH_SYS_TIME 1
    5697 _ACEOF
    5698 
    5699 fi
    5700 
    5701 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    5702 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
    5703 if test "${ac_cv_struct_tm+set}" = set; then
    5704   echo $ECHO_N "(cached) $ECHO_C" >&6
    5705 else
    5706   cat >conftest.$ac_ext <<_ACEOF
    5707 /* confdefs.h.  */
    5708 _ACEOF
    5709 cat confdefs.h >>conftest.$ac_ext
    5710 cat >>conftest.$ac_ext <<_ACEOF
     5407$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
     5408
     5409fi
     5410
     5411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
     5412$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
     5413if ${ac_cv_struct_tm+:} false; then :
     5414  $as_echo_n "(cached) " >&6
     5415else
     5416  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57115417/* end confdefs.h.  */
    57125418#include <sys/types.h>
     
    57185424struct tm tm;
    57195425                     int *p = &tm.tm_sec;
    5720                      return !p;
     5426                     return !p;
    57215427  ;
    57225428  return 0;
    57235429}
    57245430_ACEOF
    5725 rm -f conftest.$ac_objext
    5726 if { (ac_try="$ac_compile"
    5727 case "(($ac_try" in
    5728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5729   *) ac_try_echo=$ac_try;;
    5730 esac
    5731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5732   (eval "$ac_compile") 2>conftest.er1
    5733   ac_status=$?
    5734   grep -v '^ *+' conftest.er1 >conftest.err
    5735   rm -f conftest.er1
    5736   cat conftest.err >&5
    5737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5738   (exit $ac_status); } && {
    5739      test -z "$ac_c_werror_flag" ||
    5740      test ! -s conftest.err
    5741        } && test -s conftest.$ac_objext; then
     5431if ac_fn_c_try_compile "$LINENO"; then :
    57425432  ac_cv_struct_tm=time.h
    57435433else
    5744   echo "$as_me: failed program was:" >&5
    5745 sed 's/^/| /' conftest.$ac_ext >&5
    5746 
    5747     ac_cv_struct_tm=sys/time.h
    5748 fi
    5749 
     5434  ac_cv_struct_tm=sys/time.h
     5435fi
    57505436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    57515437fi
    5752 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    5753 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
     5438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
     5439$as_echo "$ac_cv_struct_tm" >&6; }
    57545440if test $ac_cv_struct_tm = sys/time.h; then
    57555441
    5756 cat >>confdefs.h <<\_ACEOF
    5757 #define TM_IN_SYS_TIME 1
    5758 _ACEOF
     5442$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
    57595443
    57605444fi
     
    57625446
    57635447if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
    5764 cat >conftest.$ac_ext <<_ACEOF
    5765 /* confdefs.h.  */
    5766 _ACEOF
    5767 cat confdefs.h >>conftest.$ac_ext
    5768 cat >>conftest.$ac_ext <<_ACEOF
     5448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57695449/* end confdefs.h.  */
    57705450#include <stdio.h>
     
    57785458}
    57795459_ACEOF
    5780 rm -f conftest.$ac_objext
    5781 if { (ac_try="$ac_compile"
    5782 case "(($ac_try" in
    5783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5784   *) ac_try_echo=$ac_try;;
    5785 esac
    5786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5787   (eval "$ac_compile") 2>conftest.er1
    5788   ac_status=$?
    5789   grep -v '^ *+' conftest.er1 >conftest.err
    5790   rm -f conftest.er1
    5791   cat conftest.err >&5
    5792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5793   (exit $ac_status); } && {
    5794      test -z "$ac_c_werror_flag" ||
    5795      test ! -s conftest.err
    5796        } && test -s conftest.$ac_objext; then
    5797   :
    5798 else
    5799   echo "$as_me: failed program was:" >&5
    5800 sed 's/^/| /' conftest.$ac_ext >&5
    5801 
    5802     CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    5803 fi
    5804 
     5460if ac_fn_c_try_compile "$LINENO"; then :
     5461
     5462else
     5463  CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5464fi
    58055465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    58065466fi
    58075467
    58085468
    5809 
    5810 { echo "$as_me:$LINENO: checking for main in -lg" >&5
    5811 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
    5812 if test "${ac_cv_lib_g_main+set}" = set; then
    5813   echo $ECHO_N "(cached) $ECHO_C" >&6
     5469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
     5470$as_echo_n "checking for main in -lg... " >&6; }
     5471if ${ac_cv_lib_g_main+:} false; then :
     5472  $as_echo_n "(cached) " >&6
    58145473else
    58155474  ac_check_lib_save_LIBS=$LIBS
    58165475LIBS="-lg  $LIBS"
    5817 cat >conftest.$ac_ext <<_ACEOF
    5818 /* confdefs.h.  */
    5819 _ACEOF
    5820 cat confdefs.h >>conftest.$ac_ext
    5821 cat >>conftest.$ac_ext <<_ACEOF
     5476cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58225477/* end confdefs.h.  */
    58235478
     
    58315486}
    58325487_ACEOF
    5833 rm -f conftest.$ac_objext conftest$ac_exeext
    5834 if { (ac_try="$ac_link"
    5835 case "(($ac_try" in
    5836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5837   *) ac_try_echo=$ac_try;;
    5838 esac
    5839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5840   (eval "$ac_link") 2>conftest.er1
    5841   ac_status=$?
    5842   grep -v '^ *+' conftest.er1 >conftest.err
    5843   rm -f conftest.er1
    5844   cat conftest.err >&5
    5845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5846   (exit $ac_status); } && {
    5847      test -z "$ac_c_werror_flag" ||
    5848      test ! -s conftest.err
    5849        } && test -s conftest$ac_exeext &&
    5850        $as_test_x conftest$ac_exeext; then
     5488if ac_fn_c_try_link "$LINENO"; then :
    58515489  ac_cv_lib_g_main=yes
    58525490else
    5853   echo "$as_me: failed program was:" >&5
    5854 sed 's/^/| /' conftest.$ac_ext >&5
    5855 
    5856     ac_cv_lib_g_main=no
    5857 fi
    5858 
    5859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5860       conftest$ac_exeext conftest.$ac_ext
     5491  ac_cv_lib_g_main=no
     5492fi
     5493rm -f core conftest.err conftest.$ac_objext \
     5494    conftest$ac_exeext conftest.$ac_ext
    58615495LIBS=$ac_check_lib_save_LIBS
    58625496fi
    5863 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    5864 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
    5865 if test $ac_cv_lib_g_main = yes; then
     5497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
     5498$as_echo "$ac_cv_lib_g_main" >&6; }
     5499if test "x$ac_cv_lib_g_main" = xyes; then :
    58665500  cat >>confdefs.h <<_ACEOF
    58675501#define HAVE_LIBG 1
     
    58735507ac_cv_lib_g=ac_cv_lib_g_main
    58745508
    5875 
    5876 { echo "$as_me:$LINENO: checking for main in -lm" >&5
    5877 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    5878 if test "${ac_cv_lib_m_main+set}" = set; then
    5879   echo $ECHO_N "(cached) $ECHO_C" >&6
     5509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
     5510$as_echo_n "checking for main in -lm... " >&6; }
     5511if ${ac_cv_lib_m_main+:} false; then :
     5512  $as_echo_n "(cached) " >&6
    58805513else
    58815514  ac_check_lib_save_LIBS=$LIBS
    58825515LIBS="-lm  $LIBS"
    5883 cat >conftest.$ac_ext <<_ACEOF
    5884 /* confdefs.h.  */
    5885 _ACEOF
    5886 cat confdefs.h >>conftest.$ac_ext
    5887 cat >>conftest.$ac_ext <<_ACEOF
     5516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58885517/* end confdefs.h.  */
    58895518
     
    58975526}
    58985527_ACEOF
    5899 rm -f conftest.$ac_objext conftest$ac_exeext
    5900 if { (ac_try="$ac_link"
    5901 case "(($ac_try" in
    5902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5903   *) ac_try_echo=$ac_try;;
    5904 esac
    5905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5906   (eval "$ac_link") 2>conftest.er1
    5907   ac_status=$?
    5908   grep -v '^ *+' conftest.er1 >conftest.err
    5909   rm -f conftest.er1
    5910   cat conftest.err >&5
    5911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5912   (exit $ac_status); } && {
    5913      test -z "$ac_c_werror_flag" ||
    5914      test ! -s conftest.err
    5915        } && test -s conftest$ac_exeext &&
    5916        $as_test_x conftest$ac_exeext; then
     5528if ac_fn_c_try_link "$LINENO"; then :
    59175529  ac_cv_lib_m_main=yes
    59185530else
    5919   echo "$as_me: failed program was:" >&5
    5920 sed 's/^/| /' conftest.$ac_ext >&5
    5921 
    5922     ac_cv_lib_m_main=no
    5923 fi
    5924 
    5925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5926       conftest$ac_exeext conftest.$ac_ext
     5531  ac_cv_lib_m_main=no
     5532fi
     5533rm -f core conftest.err conftest.$ac_objext \
     5534    conftest$ac_exeext conftest.$ac_ext
    59275535LIBS=$ac_check_lib_save_LIBS
    59285536fi
    5929 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5930 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    5931 if test $ac_cv_lib_m_main = yes; then
     5537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
     5538$as_echo "$ac_cv_lib_m_main" >&6; }
     5539if test "x$ac_cv_lib_m_main" = xyes; then :
    59325540  cat >>confdefs.h <<_ACEOF
    59335541#define HAVE_LIBM 1
     
    59395547ac_cv_lib_m=ac_cv_lib_m_main
    59405548
    5941 
    5942 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    5943 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
    5944 if test "${ac_cv_lib_crypt_main+set}" = set; then
    5945   echo $ECHO_N "(cached) $ECHO_C" >&6
     5549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
     5550$as_echo_n "checking for main in -lcrypt... " >&6; }
     5551if ${ac_cv_lib_crypt_main+:} false; then :
     5552  $as_echo_n "(cached) " >&6
    59465553else
    59475554  ac_check_lib_save_LIBS=$LIBS
    59485555LIBS="-lcrypt  $LIBS"
    5949 cat >conftest.$ac_ext <<_ACEOF
    5950 /* confdefs.h.  */
    5951 _ACEOF
    5952 cat confdefs.h >>conftest.$ac_ext
    5953 cat >>conftest.$ac_ext <<_ACEOF
     5556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59545557/* end confdefs.h.  */
    59555558
     
    59635566}
    59645567_ACEOF
    5965 rm -f conftest.$ac_objext conftest$ac_exeext
    5966 if { (ac_try="$ac_link"
    5967 case "(($ac_try" in
    5968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5969   *) ac_try_echo=$ac_try;;
    5970 esac
    5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5972   (eval "$ac_link") 2>conftest.er1
    5973   ac_status=$?
    5974   grep -v '^ *+' conftest.er1 >conftest.err
    5975   rm -f conftest.er1
    5976   cat conftest.err >&5
    5977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5978   (exit $ac_status); } && {
    5979      test -z "$ac_c_werror_flag" ||
    5980      test ! -s conftest.err
    5981        } && test -s conftest$ac_exeext &&
    5982        $as_test_x conftest$ac_exeext; then
     5568if ac_fn_c_try_link "$LINENO"; then :
    59835569  ac_cv_lib_crypt_main=yes
    59845570else
    5985   echo "$as_me: failed program was:" >&5
    5986 sed 's/^/| /' conftest.$ac_ext >&5
    5987 
    5988     ac_cv_lib_crypt_main=no
    5989 fi
    5990 
    5991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5992       conftest$ac_exeext conftest.$ac_ext
     5571  ac_cv_lib_crypt_main=no
     5572fi
     5573rm -f core conftest.err conftest.$ac_objext \
     5574    conftest$ac_exeext conftest.$ac_ext
    59935575LIBS=$ac_check_lib_save_LIBS
    59945576fi
    5995 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    5996 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
    5997 if test $ac_cv_lib_crypt_main = yes; then
     5577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
     5578$as_echo "$ac_cv_lib_crypt_main" >&6; }
     5579if test "x$ac_cv_lib_crypt_main" = xyes; then :
    59985580  cat >>confdefs.h <<_ACEOF
    59995581#define HAVE_LIBCRYPT 1
     
    60065588
    60075589if test $ENABLE_ACCENTFOLD = 1; then
    6008 
    6009 { echo "$as_me:$LINENO: checking for main in -liconv" >&5
    6010 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6; }
    6011 if test "${ac_cv_lib_iconv_main+set}" = set; then
    6012   echo $ECHO_N "(cached) $ECHO_C" >&6
     5590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5
     5591$as_echo_n "checking for main in -liconv... " >&6; }
     5592if ${ac_cv_lib_iconv_main+:} false; then :
     5593  $as_echo_n "(cached) " >&6
    60135594else
    60145595  ac_check_lib_save_LIBS=$LIBS
    60155596LIBS="-liconv  $LIBS"
    6016 cat >conftest.$ac_ext <<_ACEOF
    6017 /* confdefs.h.  */
    6018 _ACEOF
    6019 cat confdefs.h >>conftest.$ac_ext
    6020 cat >>conftest.$ac_ext <<_ACEOF
     5597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60215598/* end confdefs.h.  */
    60225599
     
    60305607}
    60315608_ACEOF
    6032 rm -f conftest.$ac_objext conftest$ac_exeext
    6033 if { (ac_try="$ac_link"
    6034 case "(($ac_try" in
    6035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6036   *) ac_try_echo=$ac_try;;
    6037 esac
    6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6039   (eval "$ac_link") 2>conftest.er1
    6040   ac_status=$?
    6041   grep -v '^ *+' conftest.er1 >conftest.err
    6042   rm -f conftest.er1
    6043   cat conftest.err >&5
    6044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6045   (exit $ac_status); } && {
    6046      test -z "$ac_c_werror_flag" ||
    6047      test ! -s conftest.err
    6048        } && test -s conftest$ac_exeext &&
    6049        $as_test_x conftest$ac_exeext; then
     5609if ac_fn_c_try_link "$LINENO"; then :
    60505610  ac_cv_lib_iconv_main=yes
    60515611else
    6052   echo "$as_me: failed program was:" >&5
    6053 sed 's/^/| /' conftest.$ac_ext >&5
    6054 
    6055     ac_cv_lib_iconv_main=no
    6056 fi
    6057 
    6058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6059       conftest$ac_exeext conftest.$ac_ext
     5612  ac_cv_lib_iconv_main=no
     5613fi
     5614rm -f core conftest.err conftest.$ac_objext \
     5615    conftest$ac_exeext conftest.$ac_ext
    60605616LIBS=$ac_check_lib_save_LIBS
    60615617fi
    6062 { echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    6063 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6; }
    6064 if test $ac_cv_lib_iconv_main = yes; then
     5618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5
     5619$as_echo "$ac_cv_lib_iconv_main" >&6; }
     5620if test "x$ac_cv_lib_iconv_main" = xyes; then :
    60655621  cat >>confdefs.h <<_ACEOF
    60665622#define HAVE_LIBICONV 1
     
    60745630fi
    60755631
    6076 
    6077 
    6078 
    6079 
    6080 
    60815632ac_header_dirent=no
    60825633for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    6083   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    6084 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    6085 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
    6086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6087   echo $ECHO_N "(cached) $ECHO_C" >&6
    6088 else
    6089   cat >conftest.$ac_ext <<_ACEOF
    6090 /* confdefs.h.  */
    6091 _ACEOF
    6092 cat confdefs.h >>conftest.$ac_ext
    6093 cat >>conftest.$ac_ext <<_ACEOF
     5634  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     5635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
     5636$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
     5637if eval \${$as_ac_Header+:} false; then :
     5638  $as_echo_n "(cached) " >&6
     5639else
     5640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60945641/* end confdefs.h.  */
    60955642#include <sys/types.h>
     
    61055652}
    61065653_ACEOF
    6107 rm -f conftest.$ac_objext
    6108 if { (ac_try="$ac_compile"
    6109 case "(($ac_try" in
    6110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6111   *) ac_try_echo=$ac_try;;
    6112 esac
    6113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6114   (eval "$ac_compile") 2>conftest.er1
    6115   ac_status=$?
    6116   grep -v '^ *+' conftest.er1 >conftest.err
    6117   rm -f conftest.er1
    6118   cat conftest.err >&5
    6119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6120   (exit $ac_status); } && {
    6121      test -z "$ac_c_werror_flag" ||
    6122      test ! -s conftest.err
    6123        } && test -s conftest.$ac_objext; then
     5654if ac_fn_c_try_compile "$LINENO"; then :
    61245655  eval "$as_ac_Header=yes"
    61255656else
    6126   echo "$as_me: failed program was:" >&5
    6127 sed 's/^/| /' conftest.$ac_ext >&5
    6128 
    6129     eval "$as_ac_Header=no"
    6130 fi
    6131 
     5657  eval "$as_ac_Header=no"
     5658fi
    61325659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    61335660fi
    6134 ac_res=`eval echo '${'$as_ac_Header'}'`
    6135            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6136 echo "${ECHO_T}$ac_res" >&6; }
    6137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5661eval ac_res=\$$as_ac_Header
     5662           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5663$as_echo "$ac_res" >&6; }
     5664if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    61385665  cat >>confdefs.h <<_ACEOF
    6139 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     5666#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
    61405667_ACEOF
    61415668
     
    61465673# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    61475674if test $ac_header_dirent = dirent.h; then
    6148   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    6149 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    6150 if test "${ac_cv_search_opendir+set}" = set; then
    6151   echo $ECHO_N "(cached) $ECHO_C" >&6
     5675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
     5676$as_echo_n "checking for library containing opendir... " >&6; }
     5677if ${ac_cv_search_opendir+:} false; then :
     5678  $as_echo_n "(cached) " >&6
    61525679else
    61535680  ac_func_search_save_LIBS=$LIBS
    6154 cat >conftest.$ac_ext <<_ACEOF
    6155 /* confdefs.h.  */
    6156 _ACEOF
    6157 cat confdefs.h >>conftest.$ac_ext
    6158 cat >>conftest.$ac_ext <<_ACEOF
     5681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    61595682/* end confdefs.h.  */
    61605683
     
    61815704    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    61825705  fi
    6183   rm -f conftest.$ac_objext conftest$ac_exeext
    6184 if { (ac_try="$ac_link"
    6185 case "(($ac_try" in
    6186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6187   *) ac_try_echo=$ac_try;;
    6188 esac
    6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6190   (eval "$ac_link") 2>conftest.er1
    6191   ac_status=$?
    6192   grep -v '^ *+' conftest.er1 >conftest.err
    6193   rm -f conftest.er1
    6194   cat conftest.err >&5
    6195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6196   (exit $ac_status); } && {
    6197      test -z "$ac_c_werror_flag" ||
    6198      test ! -s conftest.err
    6199        } && test -s conftest$ac_exeext &&
    6200        $as_test_x conftest$ac_exeext; then
     5706  if ac_fn_c_try_link "$LINENO"; then :
    62015707  ac_cv_search_opendir=$ac_res
    6202 else
    6203   echo "$as_me: failed program was:" >&5
    6204 sed 's/^/| /' conftest.$ac_ext >&5
    6205 
    6206 
    6207 fi
    6208 
    6209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6210       conftest$ac_exeext
    6211   if test "${ac_cv_search_opendir+set}" = set; then
     5708fi
     5709rm -f core conftest.err conftest.$ac_objext \
     5710    conftest$ac_exeext
     5711  if ${ac_cv_search_opendir+:} false; then :
    62125712  break
    62135713fi
    62145714done
    6215 if test "${ac_cv_search_opendir+set}" = set; then
    6216   :
     5715if ${ac_cv_search_opendir+:} false; then :
     5716
    62175717else
    62185718  ac_cv_search_opendir=no
     
    62215721LIBS=$ac_func_search_save_LIBS
    62225722fi
    6223 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    6224 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
     5724$as_echo "$ac_cv_search_opendir" >&6; }
    62255725ac_res=$ac_cv_search_opendir
    6226 if test "$ac_res" != no; then
     5726if test "$ac_res" != no; then :
    62275727  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    62285728
     
    62305730
    62315731else
    6232   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    6233 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    6234 if test "${ac_cv_search_opendir+set}" = set; then
    6235   echo $ECHO_N "(cached) $ECHO_C" >&6
     5732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
     5733$as_echo_n "checking for library containing opendir... " >&6; }
     5734if ${ac_cv_search_opendir+:} false; then :
     5735  $as_echo_n "(cached) " >&6
    62365736else
    62375737  ac_func_search_save_LIBS=$LIBS
    6238 cat >conftest.$ac_ext <<_ACEOF
    6239 /* confdefs.h.  */
    6240 _ACEOF
    6241 cat confdefs.h >>conftest.$ac_ext
    6242 cat >>conftest.$ac_ext <<_ACEOF
     5738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62435739/* end confdefs.h.  */
    62445740
     
    62655761    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    62665762  fi
    6267   rm -f conftest.$ac_objext conftest$ac_exeext
    6268 if { (ac_try="$ac_link"
    6269 case "(($ac_try" in
    6270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6271   *) ac_try_echo=$ac_try;;
    6272 esac
    6273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6274   (eval "$ac_link") 2>conftest.er1
    6275   ac_status=$?
    6276   grep -v '^ *+' conftest.er1 >conftest.err
    6277   rm -f conftest.er1
    6278   cat conftest.err >&5
    6279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6280   (exit $ac_status); } && {
    6281      test -z "$ac_c_werror_flag" ||
    6282      test ! -s conftest.err
    6283        } && test -s conftest$ac_exeext &&
    6284        $as_test_x conftest$ac_exeext; then
     5763  if ac_fn_c_try_link "$LINENO"; then :
    62855764  ac_cv_search_opendir=$ac_res
    6286 else
    6287   echo "$as_me: failed program was:" >&5
    6288 sed 's/^/| /' conftest.$ac_ext >&5
    6289 
    6290 
    6291 fi
    6292 
    6293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6294       conftest$ac_exeext
    6295   if test "${ac_cv_search_opendir+set}" = set; then
     5765fi
     5766rm -f core conftest.err conftest.$ac_objext \
     5767    conftest$ac_exeext
     5768  if ${ac_cv_search_opendir+:} false; then :
    62965769  break
    62975770fi
    62985771done
    6299 if test "${ac_cv_search_opendir+set}" = set; then
    6300   :
     5772if ${ac_cv_search_opendir+:} false; then :
     5773
    63015774else
    63025775  ac_cv_search_opendir=no
     
    63055778LIBS=$ac_func_search_save_LIBS
    63065779fi
    6307 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    6308 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
     5781$as_echo "$ac_cv_search_opendir" >&6; }
    63095782ac_res=$ac_cv_search_opendir
    6310 if test "$ac_res" != no; then
     5783if test "$ac_res" != no; then :
    63115784  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    63125785
     
    63155788fi
    63165789
    6317 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    6318 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    6319 if test "${ac_cv_header_stdc+set}" = set; then
    6320   echo $ECHO_N "(cached) $ECHO_C" >&6
    6321 else
    6322   cat >conftest.$ac_ext <<_ACEOF
    6323 /* confdefs.h.  */
    6324 _ACEOF
    6325 cat confdefs.h >>conftest.$ac_ext
    6326 cat >>conftest.$ac_ext <<_ACEOF
     5790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     5791$as_echo_n "checking for ANSI C header files... " >&6; }
     5792if ${ac_cv_header_stdc+:} false; then :
     5793  $as_echo_n "(cached) " >&6
     5794else
     5795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63275796/* end confdefs.h.  */
    63285797#include <stdlib.h>
     
    63395808}
    63405809_ACEOF
    6341 rm -f conftest.$ac_objext
    6342 if { (ac_try="$ac_compile"
    6343 case "(($ac_try" in
    6344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6345   *) ac_try_echo=$ac_try;;
    6346 esac
    6347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6348   (eval "$ac_compile") 2>conftest.er1
    6349   ac_status=$?
    6350   grep -v '^ *+' conftest.er1 >conftest.err
    6351   rm -f conftest.er1
    6352   cat conftest.err >&5
    6353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6354   (exit $ac_status); } && {
    6355      test -z "$ac_c_werror_flag" ||
    6356      test ! -s conftest.err
    6357        } && test -s conftest.$ac_objext; then
     5810if ac_fn_c_try_compile "$LINENO"; then :
    63585811  ac_cv_header_stdc=yes
    63595812else
    6360   echo "$as_me: failed program was:" >&5
    6361 sed 's/^/| /' conftest.$ac_ext >&5
    6362 
    6363     ac_cv_header_stdc=no
    6364 fi
    6365 
     5813  ac_cv_header_stdc=no
     5814fi
    63665815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63675816
    63685817if test $ac_cv_header_stdc = yes; then
    63695818  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    6370   cat >conftest.$ac_ext <<_ACEOF
    6371 /* confdefs.h.  */
    6372 _ACEOF
    6373 cat confdefs.h >>conftest.$ac_ext
    6374 cat >>conftest.$ac_ext <<_ACEOF
     5819  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63755820/* end confdefs.h.  */
    63765821#include <string.h>
     
    63785823_ACEOF
    63795824if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6380   $EGREP "memchr" >/dev/null 2>&1; then
    6381   :
     5825  $EGREP "memchr" >/dev/null 2>&1; then :
     5826
    63825827else
    63835828  ac_cv_header_stdc=no
     
    63895834if test $ac_cv_header_stdc = yes; then
    63905835  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    6391   cat >conftest.$ac_ext <<_ACEOF
    6392 /* confdefs.h.  */
    6393 _ACEOF
    6394 cat confdefs.h >>conftest.$ac_ext
    6395 cat >>conftest.$ac_ext <<_ACEOF
     5836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63965837/* end confdefs.h.  */
    63975838#include <stdlib.h>
     
    63995840_ACEOF
    64005841if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6401   $EGREP "free" >/dev/null 2>&1; then
    6402   :
     5842  $EGREP "free" >/dev/null 2>&1; then :
     5843
    64035844else
    64045845  ac_cv_header_stdc=no
     
    64105851if test $ac_cv_header_stdc = yes; then
    64115852  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    6412   if test "$cross_compiling" = yes; then
     5853  if test "$cross_compiling" = yes; then :
    64135854  :
    64145855else
    6415   cat >conftest.$ac_ext <<_ACEOF
    6416 /* confdefs.h.  */
    6417 _ACEOF
    6418 cat confdefs.h >>conftest.$ac_ext
    6419 cat >>conftest.$ac_ext <<_ACEOF
     5856  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64205857/* end confdefs.h.  */
    64215858#include <ctype.h>
     
    64445881}
    64455882_ACEOF
    6446 rm -f conftest$ac_exeext
    6447 if { (ac_try="$ac_link"
    6448 case "(($ac_try" in
    6449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6450   *) ac_try_echo=$ac_try;;
    6451 esac
    6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6453   (eval "$ac_link") 2>&5
    6454   ac_status=$?
    6455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6456   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6457   { (case "(($ac_try" in
    6458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6459   *) ac_try_echo=$ac_try;;
    6460 esac
    6461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6462   (eval "$ac_try") 2>&5
    6463   ac_status=$?
    6464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6465   (exit $ac_status); }; }; then
    6466   :
    6467 else
    6468   echo "$as_me: program exited with status $ac_status" >&5
    6469 echo "$as_me: failed program was:" >&5
    6470 sed 's/^/| /' conftest.$ac_ext >&5
    6471 
    6472 ( exit $ac_status )
    6473 ac_cv_header_stdc=no
    6474 fi
    6475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6476 fi
    6477 
    6478 
    6479 fi
    6480 fi
    6481 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    6482 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     5883if ac_fn_c_try_run "$LINENO"; then :
     5884
     5885else
     5886  ac_cv_header_stdc=no
     5887fi
     5888rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5889  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5890fi
     5891
     5892fi
     5893fi
     5894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     5895$as_echo "$ac_cv_header_stdc" >&6; }
    64835896if test $ac_cv_header_stdc = yes; then
    64845897
    6485 cat >>confdefs.h <<\_ACEOF
    6486 #define STDC_HEADERS 1
    6487 _ACEOF
    6488 
    6489 fi
    6490 
    6491 
    6492 
    6493 
    6494 
    6495 
    6496 
    6497 
    6498 
     5898$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     5899
     5900fi
    64995901
    65005902for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    6501 do
    6502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6504   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6507   echo $ECHO_N "(cached) $ECHO_C" >&6
    6508 fi
    6509 ac_res=`eval echo '${'$as_ac_Header'}'`
    6510            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6511 echo "${ECHO_T}$ac_res" >&6; }
    6512 else
    6513   # Is the header compilable?
    6514 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6516 cat >conftest.$ac_ext <<_ACEOF
    6517 /* confdefs.h.  */
    6518 _ACEOF
    6519 cat confdefs.h >>conftest.$ac_ext
    6520 cat >>conftest.$ac_ext <<_ACEOF
    6521 /* end confdefs.h.  */
    6522 $ac_includes_default
    6523 #include <$ac_header>
    6524 _ACEOF
    6525 rm -f conftest.$ac_objext
    6526 if { (ac_try="$ac_compile"
    6527 case "(($ac_try" in
    6528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6529   *) ac_try_echo=$ac_try;;
    6530 esac
    6531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6532   (eval "$ac_compile") 2>conftest.er1
    6533   ac_status=$?
    6534   grep -v '^ *+' conftest.er1 >conftest.err
    6535   rm -f conftest.er1
    6536   cat conftest.err >&5
    6537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6538   (exit $ac_status); } && {
    6539      test -z "$ac_c_werror_flag" ||
    6540      test ! -s conftest.err
    6541        } && test -s conftest.$ac_objext; then
    6542   ac_header_compiler=yes
    6543 else
    6544   echo "$as_me: failed program was:" >&5
    6545 sed 's/^/| /' conftest.$ac_ext >&5
    6546 
    6547     ac_header_compiler=no
    6548 fi
    6549 
    6550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6551 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6552 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6553 
    6554 # Is the header present?
    6555 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6557 cat >conftest.$ac_ext <<_ACEOF
    6558 /* confdefs.h.  */
    6559 _ACEOF
    6560 cat confdefs.h >>conftest.$ac_ext
    6561 cat >>conftest.$ac_ext <<_ACEOF
    6562 /* end confdefs.h.  */
    6563 #include <$ac_header>
    6564 _ACEOF
    6565 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6566 case "(($ac_try" in
    6567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6568   *) ac_try_echo=$ac_try;;
    6569 esac
    6570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6571   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6572   ac_status=$?
    6573   grep -v '^ *+' conftest.er1 >conftest.err
    6574   rm -f conftest.er1
    6575   cat conftest.err >&5
    6576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6577   (exit $ac_status); } >/dev/null && {
    6578      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6579      test ! -s conftest.err
    6580        }; then
    6581   ac_header_preproc=yes
    6582 else
    6583   echo "$as_me: failed program was:" >&5
    6584 sed 's/^/| /' conftest.$ac_ext >&5
    6585 
    6586   ac_header_preproc=no
    6587 fi
    6588 
    6589 rm -f conftest.err conftest.$ac_ext
    6590 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6591 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6592 
    6593 # So?  What about this header?
    6594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6595   yes:no: )
    6596     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6598     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6600     ac_header_preproc=yes
    6601     ;;
    6602   no:yes:* )
    6603     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6605     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6606 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6607     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6609     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6610 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6611     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6613     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6615 
    6616     ;;
    6617 esac
    6618 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6621   echo $ECHO_N "(cached) $ECHO_C" >&6
    6622 else
    6623   eval "$as_ac_Header=\$ac_header_preproc"
    6624 fi
    6625 ac_res=`eval echo '${'$as_ac_Header'}'`
    6626            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6627 echo "${ECHO_T}$ac_res" >&6; }
    6628 
    6629 fi
    6630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5903do :
     5904  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5905ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     5906if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    66315907  cat >>confdefs.h <<_ACEOF
    6632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5908#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    66335909_ACEOF
    66345910
     
    66375913done
    66385914
    6639 cat >conftest.$ac_ext <<_ACEOF
    6640 /* confdefs.h.  */
    6641 _ACEOF
    6642 cat confdefs.h >>conftest.$ac_ext
    6643 cat >>conftest.$ac_ext <<_ACEOF
     5915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    66445916/* end confdefs.h.  */
    66455917#include <stdio.h>
     
    66475919_ACEOF
    66485920if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6649   $EGREP "fread" >/dev/null 2>&1; then
    6650   cat >>confdefs.h <<\_ACEOF
    6651 #define HAVE_FREAD_DECL 1
    6652 _ACEOF
     5921  $EGREP "fread" >/dev/null 2>&1; then :
     5922  $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
    66535923
    66545924fi
    66555925rm -f conftest*
    66565926
    6657 cat >conftest.$ac_ext <<_ACEOF
    6658 /* confdefs.h.  */
    6659 _ACEOF
    6660 cat confdefs.h >>conftest.$ac_ext
    6661 cat >>conftest.$ac_ext <<_ACEOF
     5927cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    66625928/* end confdefs.h.  */
    66635929#include <stdio.h>
     
    66655931_ACEOF
    66665932if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6667   $EGREP "fgetc" >/dev/null 2>&1; then
    6668   cat >>confdefs.h <<\_ACEOF
    6669 #define HAVE_FGETC_DECL 1
    6670 _ACEOF
     5933  $EGREP "fgetc" >/dev/null 2>&1; then :
     5934  $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
    66715935
    66725936fi
    66735937rm -f conftest*
    66745938
    6675 cat >conftest.$ac_ext <<_ACEOF
    6676 /* confdefs.h.  */
    6677 _ACEOF
    6678 cat confdefs.h >>conftest.$ac_ext
    6679 cat >>conftest.$ac_ext <<_ACEOF
     5939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    66805940/* end confdefs.h.  */
    66815941#include <sys/procfs.h>
     
    66835943_ACEOF
    66845944if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6685   $EGREP "pr_brksize" >/dev/null 2>&1; then
    6686   cat >>confdefs.h <<\_ACEOF
    6687 #define HAVE_PR_BRKSIZE 1
    6688 _ACEOF
     5945  $EGREP "pr_brksize" >/dev/null 2>&1; then :
     5946  $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
    66895947
    66905948fi
     
    66945952# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    66955953# for constant arguments.  Useless!
    6696 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
    6697 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
    6698 if test "${ac_cv_working_alloca_h+set}" = set; then
    6699   echo $ECHO_N "(cached) $ECHO_C" >&6
    6700 else
    6701   cat >conftest.$ac_ext <<_ACEOF
    6702 /* confdefs.h.  */
    6703 _ACEOF
    6704 cat confdefs.h >>conftest.$ac_ext
    6705 cat >>conftest.$ac_ext <<_ACEOF
     5954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
     5955$as_echo_n "checking for working alloca.h... " >&6; }
     5956if ${ac_cv_working_alloca_h+:} false; then :
     5957  $as_echo_n "(cached) " >&6
     5958else
     5959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67065960/* end confdefs.h.  */
    67075961#include <alloca.h>
     
    67155969}
    67165970_ACEOF
    6717 rm -f conftest.$ac_objext conftest$ac_exeext
    6718 if { (ac_try="$ac_link"
    6719 case "(($ac_try" in
    6720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6721   *) ac_try_echo=$ac_try;;
    6722 esac
    6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6724   (eval "$ac_link") 2>conftest.er1
    6725   ac_status=$?
    6726   grep -v '^ *+' conftest.er1 >conftest.err
    6727   rm -f conftest.er1
    6728   cat conftest.err >&5
    6729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6730   (exit $ac_status); } && {
    6731      test -z "$ac_c_werror_flag" ||
    6732      test ! -s conftest.err
    6733        } && test -s conftest$ac_exeext &&
    6734        $as_test_x conftest$ac_exeext; then
     5971if ac_fn_c_try_link "$LINENO"; then :
    67355972  ac_cv_working_alloca_h=yes
    67365973else
    6737   echo "$as_me: failed program was:" >&5
    6738 sed 's/^/| /' conftest.$ac_ext >&5
    6739 
    6740     ac_cv_working_alloca_h=no
    6741 fi
    6742 
    6743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6744       conftest$ac_exeext conftest.$ac_ext
    6745 fi
    6746 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    6747 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
     5974  ac_cv_working_alloca_h=no
     5975fi
     5976rm -f core conftest.err conftest.$ac_objext \
     5977    conftest$ac_exeext conftest.$ac_ext
     5978fi
     5979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
     5980$as_echo "$ac_cv_working_alloca_h" >&6; }
    67485981if test $ac_cv_working_alloca_h = yes; then
    67495982
    6750 cat >>confdefs.h <<\_ACEOF
    6751 #define HAVE_ALLOCA_H 1
    6752 _ACEOF
    6753 
    6754 fi
    6755 
    6756 { echo "$as_me:$LINENO: checking for alloca" >&5
    6757 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
    6758 if test "${ac_cv_func_alloca_works+set}" = set; then
    6759   echo $ECHO_N "(cached) $ECHO_C" >&6
    6760 else
    6761   cat >conftest.$ac_ext <<_ACEOF
    6762 /* confdefs.h.  */
    6763 _ACEOF
    6764 cat confdefs.h >>conftest.$ac_ext
    6765 cat >>conftest.$ac_ext <<_ACEOF
     5983$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
     5984
     5985fi
     5986
     5987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
     5988$as_echo_n "checking for alloca... " >&6; }
     5989if ${ac_cv_func_alloca_works+:} false; then :
     5990  $as_echo_n "(cached) " >&6
     5991else
     5992  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67665993/* end confdefs.h.  */
    67675994#ifdef __GNUC__
     
    67796006#   else
    67806007#    ifndef alloca /* predefined by HP cc +Olibcalls */
    6781 char *alloca ();
     6008void *alloca (size_t);
    67826009#    endif
    67836010#   endif
     
    67956022}
    67966023_ACEOF
    6797 rm -f conftest.$ac_objext conftest$ac_exeext
    6798 if { (ac_try="$ac_link"
    6799 case "(($ac_try" in
    6800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6801   *) ac_try_echo=$ac_try;;
    6802 esac
    6803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6804   (eval "$ac_link") 2>conftest.er1
    6805   ac_status=$?
    6806   grep -v '^ *+' conftest.er1 >conftest.err
    6807   rm -f conftest.er1
    6808   cat conftest.err >&5
    6809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6810   (exit $ac_status); } && {
    6811      test -z "$ac_c_werror_flag" ||
    6812      test ! -s conftest.err
    6813        } && test -s conftest$ac_exeext &&
    6814        $as_test_x conftest$ac_exeext; then
     6024if ac_fn_c_try_link "$LINENO"; then :
    68156025  ac_cv_func_alloca_works=yes
    68166026else
    6817   echo "$as_me: failed program was:" >&5
    6818 sed 's/^/| /' conftest.$ac_ext >&5
    6819 
    6820     ac_cv_func_alloca_works=no
    6821 fi
    6822 
    6823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6824       conftest$ac_exeext conftest.$ac_ext
    6825 fi
    6826 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    6827 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
     6027  ac_cv_func_alloca_works=no
     6028fi
     6029rm -f core conftest.err conftest.$ac_objext \
     6030    conftest$ac_exeext conftest.$ac_ext
     6031fi
     6032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
     6033$as_echo "$ac_cv_func_alloca_works" >&6; }
    68286034
    68296035if test $ac_cv_func_alloca_works = yes; then
    68306036
    6831 cat >>confdefs.h <<\_ACEOF
    6832 #define HAVE_ALLOCA 1
    6833 _ACEOF
     6037$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
    68346038
    68356039else
     
    68416045ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    68426046
    6843 cat >>confdefs.h <<\_ACEOF
    6844 #define C_ALLOCA 1
    6845 _ACEOF
    6846 
    6847 
    6848 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    6849 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
    6850 if test "${ac_cv_os_cray+set}" = set; then
    6851   echo $ECHO_N "(cached) $ECHO_C" >&6
    6852 else
    6853   cat >conftest.$ac_ext <<_ACEOF
    6854 /* confdefs.h.  */
    6855 _ACEOF
    6856 cat confdefs.h >>conftest.$ac_ext
    6857 cat >>conftest.$ac_ext <<_ACEOF
     6047$as_echo "#define C_ALLOCA 1" >>confdefs.h
     6048
     6049
     6050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
     6051$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
     6052if ${ac_cv_os_cray+:} false; then :
     6053  $as_echo_n "(cached) " >&6
     6054else
     6055  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    68586056/* end confdefs.h.  */
    68596057#if defined CRAY && ! defined CRAY2
     
    68656063_ACEOF
    68666064if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6867   $EGREP "webecray" >/dev/null 2>&1; then
     6065  $EGREP "webecray" >/dev/null 2>&1; then :
    68686066  ac_cv_os_cray=yes
    68696067else
     
    68736071
    68746072fi
    6875 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    6876 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
     6073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
     6074$as_echo "$ac_cv_os_cray" >&6; }
    68776075if test $ac_cv_os_cray = yes; then
    68786076  for ac_func in _getb67 GETB67 getb67; do
    6879     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    6883   echo $ECHO_N "(cached) $ECHO_C" >&6
    6884 else
    6885   cat >conftest.$ac_ext <<_ACEOF
    6886 /* confdefs.h.  */
    6887 _ACEOF
    6888 cat confdefs.h >>conftest.$ac_ext
    6889 cat >>conftest.$ac_ext <<_ACEOF
    6890 /* end confdefs.h.  */
    6891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    6892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6893 #define $ac_func innocuous_$ac_func
    6894 
    6895 /* System header to define __stub macros and hopefully few prototypes,
    6896     which can conflict with char $ac_func (); below.
    6897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6898     <limits.h> exists even on freestanding compilers.  */
    6899 
    6900 #ifdef __STDC__
    6901 # include <limits.h>
    6902 #else
    6903 # include <assert.h>
    6904 #endif
    6905 
    6906 #undef $ac_func
    6907 
    6908 /* Override any GCC internal prototype to avoid an error.
    6909    Use char because int might match the return type of a GCC
    6910    builtin and then its argument prototype would still apply.  */
    6911 #ifdef __cplusplus
    6912 extern "C"
    6913 #endif
    6914 char $ac_func ();
    6915 /* The GNU C library defines this for functions which it implements
    6916     to always fail with ENOSYS.  Some functions are actually named
    6917     something starting with __ and the normal name is an alias.  */
    6918 #if defined __stub_$ac_func || defined __stub___$ac_func
    6919 choke me
    6920 #endif
    6921 
    6922 int
    6923 main ()
    6924 {
    6925 return $ac_func ();
    6926   ;
    6927   return 0;
    6928 }
    6929 _ACEOF
    6930 rm -f conftest.$ac_objext conftest$ac_exeext
    6931 if { (ac_try="$ac_link"
    6932 case "(($ac_try" in
    6933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6934   *) ac_try_echo=$ac_try;;
    6935 esac
    6936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6937   (eval "$ac_link") 2>conftest.er1
    6938   ac_status=$?
    6939   grep -v '^ *+' conftest.er1 >conftest.err
    6940   rm -f conftest.er1
    6941   cat conftest.err >&5
    6942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6943   (exit $ac_status); } && {
    6944      test -z "$ac_c_werror_flag" ||
    6945      test ! -s conftest.err
    6946        } && test -s conftest$ac_exeext &&
    6947        $as_test_x conftest$ac_exeext; then
    6948   eval "$as_ac_var=yes"
    6949 else
    6950   echo "$as_me: failed program was:" >&5
    6951 sed 's/^/| /' conftest.$ac_ext >&5
    6952 
    6953     eval "$as_ac_var=no"
    6954 fi
    6955 
    6956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6957       conftest$ac_exeext conftest.$ac_ext
    6958 fi
    6959 ac_res=`eval echo '${'$as_ac_var'}'`
    6960            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6961 echo "${ECHO_T}$ac_res" >&6; }
    6962 if test `eval echo '${'$as_ac_var'}'` = yes; then
     6077    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6078ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     6079if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    69636080
    69646081cat >>confdefs.h <<_ACEOF
     
    69726089fi
    69736090
    6974 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    6975 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
    6976 if test "${ac_cv_c_stack_direction+set}" = set; then
    6977   echo $ECHO_N "(cached) $ECHO_C" >&6
    6978 else
    6979   if test "$cross_compiling" = yes; then
     6091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
     6092$as_echo_n "checking stack direction for C alloca... " >&6; }
     6093if ${ac_cv_c_stack_direction+:} false; then :
     6094  $as_echo_n "(cached) " >&6
     6095else
     6096  if test "$cross_compiling" = yes; then :
    69806097  ac_cv_c_stack_direction=0
    69816098else
    6982   cat >conftest.$ac_ext <<_ACEOF
    6983 /* confdefs.h.  */
    6984 _ACEOF
    6985 cat confdefs.h >>conftest.$ac_ext
    6986 cat >>conftest.$ac_ext <<_ACEOF
     6099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    69876100/* end confdefs.h.  */
    69886101$ac_includes_default
    69896102int
    6990 find_stack_direction ()
     6103find_stack_direction (int *addr, int depth)
    69916104{
    6992   static char *addr = 0;
    6993   auto char dummy;
    6994   if (addr == 0)
    6995     {
    6996       addr = &dummy;
    6997       return find_stack_direction ();
    6998     }
    6999   else
    7000     return (&dummy > addr) ? 1 : -1;
     6105  int dir, dummy = 0;
     6106  if (! addr)
     6107    addr = &dummy;
     6108  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
     6109  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
     6110  return dir + dummy;
    70016111}
    70026112
    70036113int
    7004 main ()
     6114main (int argc, char **argv)
    70056115{
    7006   return find_stack_direction () < 0;
     6116  return find_stack_direction (0, argc + !argv + 20) < 0;
    70076117}
    70086118_ACEOF
    7009 rm -f conftest$ac_exeext
    7010 if { (ac_try="$ac_link"
    7011 case "(($ac_try" in
    7012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7013   *) ac_try_echo=$ac_try;;
    7014 esac
    7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7016   (eval "$ac_link") 2>&5
    7017   ac_status=$?
    7018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7019   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7020   { (case "(($ac_try" in
    7021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7022   *) ac_try_echo=$ac_try;;
    7023 esac
    7024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7025   (eval "$ac_try") 2>&5
    7026   ac_status=$?
    7027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7028   (exit $ac_status); }; }; then
     6119if ac_fn_c_try_run "$LINENO"; then :
    70296120  ac_cv_c_stack_direction=1
    70306121else
    7031   echo "$as_me: program exited with status $ac_status" >&5
    7032 echo "$as_me: failed program was:" >&5
    7033 sed 's/^/| /' conftest.$ac_ext >&5
    7034 
    7035 ( exit $ac_status )
    7036 ac_cv_c_stack_direction=-1
    7037 fi
    7038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7039 fi
    7040 
    7041 
    7042 fi
    7043 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    7044 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
    7045 
     6122  ac_cv_c_stack_direction=-1
     6123fi
     6124rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     6125  conftest.$ac_objext conftest.beam conftest.$ac_ext
     6126fi
     6127
     6128fi
     6129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
     6130$as_echo "$ac_cv_c_stack_direction" >&6; }
    70466131cat >>confdefs.h <<_ACEOF
    70476132#define STACK_DIRECTION $ac_cv_c_stack_direction
     
    70526137
    70536138if test $ac_cv_c_compiler_gnu = yes; then
    7054     { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    7055 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
    7056 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    7057   echo $ECHO_N "(cached) $ECHO_C" >&6
     6139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
     6140$as_echo_n "checking whether $CC needs -traditional... " >&6; }
     6141if ${ac_cv_prog_gcc_traditional+:} false; then :
     6142  $as_echo_n "(cached) " >&6
    70586143else
    70596144    ac_pattern="Autoconf.*'x'"
    7060   cat >conftest.$ac_ext <<_ACEOF
    7061 /* confdefs.h.  */
    7062 _ACEOF
    7063 cat confdefs.h >>conftest.$ac_ext
    7064 cat >>conftest.$ac_ext <<_ACEOF
     6145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70656146/* end confdefs.h.  */
    70666147#include <sgtty.h>
     
    70686149_ACEOF
    70696150if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7070   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     6151  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
    70716152  ac_cv_prog_gcc_traditional=yes
    70726153else
     
    70776158
    70786159  if test $ac_cv_prog_gcc_traditional = no; then
    7079     cat >conftest.$ac_ext <<_ACEOF
    7080 /* confdefs.h.  */
    7081 _ACEOF
    7082 cat confdefs.h >>conftest.$ac_ext
    7083 cat >>conftest.$ac_ext <<_ACEOF
     6160    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70846161/* end confdefs.h.  */
    70856162#include <termio.h>
     
    70876164_ACEOF
    70886165if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7089   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     6166  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
    70906167  ac_cv_prog_gcc_traditional=yes
    70916168fi
     
    70946171  fi
    70956172fi
    7096 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    7097 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
     6173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
     6174$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
    70986175  if test $ac_cv_prog_gcc_traditional = yes; then
    70996176    CC="$CC -traditional"
     
    71016178fi
    71026179
    7103 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    7104 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
    7105 if test "${ac_cv_type_signal+set}" = set; then
    7106   echo $ECHO_N "(cached) $ECHO_C" >&6
    7107 else
    7108   cat >conftest.$ac_ext <<_ACEOF
    7109 /* confdefs.h.  */
    7110 _ACEOF
    7111 cat confdefs.h >>conftest.$ac_ext
    7112 cat >>conftest.$ac_ext <<_ACEOF
     6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
     6181$as_echo_n "checking return type of signal handlers... " >&6; }
     6182if ${ac_cv_type_signal+:} false; then :
     6183  $as_echo_n "(cached) " >&6
     6184else
     6185  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    71136186/* end confdefs.h.  */
    71146187#include <sys/types.h>
     
    71236196}
    71246197_ACEOF
    7125 rm -f conftest.$ac_objext
    7126 if { (ac_try="$ac_compile"
    7127 case "(($ac_try" in
    7128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7129   *) ac_try_echo=$ac_try;;
    7130 esac
    7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7132   (eval "$ac_compile") 2>conftest.er1
    7133   ac_status=$?
    7134   grep -v '^ *+' conftest.er1 >conftest.err
    7135   rm -f conftest.er1
    7136   cat conftest.err >&5
    7137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7138   (exit $ac_status); } && {
    7139      test -z "$ac_c_werror_flag" ||
    7140      test ! -s conftest.err
    7141        } && test -s conftest.$ac_objext; then
     6198if ac_fn_c_try_compile "$LINENO"; then :
    71426199  ac_cv_type_signal=int
    71436200else
    7144   echo "$as_me: failed program was:" >&5
    7145 sed 's/^/| /' conftest.$ac_ext >&5
    7146 
    7147     ac_cv_type_signal=void
    7148 fi
    7149 
     6201  ac_cv_type_signal=void
     6202fi
    71506203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71516204fi
    7152 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    7153 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
     6205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
     6206$as_echo "$ac_cv_type_signal" >&6; }
    71546207
    71556208cat >>confdefs.h <<_ACEOF
     
    71586211
    71596212
    7160 
    71616213for ac_func in vprintf
    7162 do
    7163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7164 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    7165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    7166 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7167   echo $ECHO_N "(cached) $ECHO_C" >&6
    7168 else
    7169   cat >conftest.$ac_ext <<_ACEOF
    7170 /* confdefs.h.  */
    7171 _ACEOF
    7172 cat confdefs.h >>conftest.$ac_ext
    7173 cat >>conftest.$ac_ext <<_ACEOF
    7174 /* end confdefs.h.  */
    7175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7177 #define $ac_func innocuous_$ac_func
    7178 
    7179 /* System header to define __stub macros and hopefully few prototypes,
    7180     which can conflict with char $ac_func (); below.
    7181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7182     <limits.h> exists even on freestanding compilers.  */
    7183 
    7184 #ifdef __STDC__
    7185 # include <limits.h>
    7186 #else
    7187 # include <assert.h>
    7188 #endif
    7189 
    7190 #undef $ac_func
    7191 
    7192 /* Override any GCC internal prototype to avoid an error.
    7193    Use char because int might match the return type of a GCC
    7194    builtin and then its argument prototype would still apply.  */
    7195 #ifdef __cplusplus
    7196 extern "C"
    7197 #endif
    7198 char $ac_func ();
    7199 /* The GNU C library defines this for functions which it implements
    7200     to always fail with ENOSYS.  Some functions are actually named
    7201     something starting with __ and the normal name is an alias.  */
    7202 #if defined __stub_$ac_func || defined __stub___$ac_func
    7203 choke me
    7204 #endif
    7205 
    7206 int
    7207 main ()
    7208 {
    7209 return $ac_func ();
    7210   ;
    7211   return 0;
    7212 }
    7213 _ACEOF
    7214 rm -f conftest.$ac_objext conftest$ac_exeext
    7215 if { (ac_try="$ac_link"
    7216 case "(($ac_try" in
    7217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7218   *) ac_try_echo=$ac_try;;
    7219 esac
    7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7221   (eval "$ac_link") 2>conftest.er1
    7222   ac_status=$?
    7223   grep -v '^ *+' conftest.er1 >conftest.err
    7224   rm -f conftest.er1
    7225   cat conftest.err >&5
    7226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7227   (exit $ac_status); } && {
    7228      test -z "$ac_c_werror_flag" ||
    7229      test ! -s conftest.err
    7230        } && test -s conftest$ac_exeext &&
    7231        $as_test_x conftest$ac_exeext; then
    7232   eval "$as_ac_var=yes"
    7233 else
    7234   echo "$as_me: failed program was:" >&5
    7235 sed 's/^/| /' conftest.$ac_ext >&5
    7236 
    7237     eval "$as_ac_var=no"
    7238 fi
    7239 
    7240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7241       conftest$ac_exeext conftest.$ac_ext
    7242 fi
    7243 ac_res=`eval echo '${'$as_ac_var'}'`
    7244            { echo "$as_me:$LINENO: result: $ac_res" >&5
    7245 echo "${ECHO_T}$ac_res" >&6; }
    7246 if test `eval echo '${'$as_ac_var'}'` = yes; then
     6214do :
     6215  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
     6216if test "x$ac_cv_func_vprintf" = xyes; then :
    72476217  cat >>confdefs.h <<_ACEOF
    7248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    7249 _ACEOF
    7250 
    7251 { echo "$as_me:$LINENO: checking for _doprnt" >&5
    7252 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
    7253 if test "${ac_cv_func__doprnt+set}" = set; then
    7254   echo $ECHO_N "(cached) $ECHO_C" >&6
    7255 else
    7256   cat >conftest.$ac_ext <<_ACEOF
    7257 /* confdefs.h.  */
    7258 _ACEOF
    7259 cat confdefs.h >>conftest.$ac_ext
    7260 cat >>conftest.$ac_ext <<_ACEOF
    7261 /* end confdefs.h.  */
    7262 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
    7263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7264 #define _doprnt innocuous__doprnt
    7265 
    7266 /* System header to define __stub macros and hopefully few prototypes,
    7267     which can conflict with char _doprnt (); below.
    7268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7269     <limits.h> exists even on freestanding compilers.  */
    7270 
    7271 #ifdef __STDC__
    7272 # include <limits.h>
    7273 #else
    7274 # include <assert.h>
    7275 #endif
    7276 
    7277 #undef _doprnt
    7278 
    7279 /* Override any GCC internal prototype to avoid an error.
    7280    Use char because int might match the return type of a GCC
    7281    builtin and then its argument prototype would still apply.  */
    7282 #ifdef __cplusplus
    7283 extern "C"
    7284 #endif
    7285 char _doprnt ();
    7286 /* The GNU C library defines this for functions which it implements
    7287     to always fail with ENOSYS.  Some functions are actually named
    7288     something starting with __ and the normal name is an alias.  */
    7289 #if defined __stub__doprnt || defined __stub____doprnt
    7290 choke me
    7291 #endif
    7292 
    7293 int
    7294 main ()
    7295 {
    7296 return _doprnt ();
    7297   ;
    7298   return 0;
    7299 }
    7300 _ACEOF
    7301 rm -f conftest.$ac_objext conftest$ac_exeext
    7302 if { (ac_try="$ac_link"
    7303 case "(($ac_try" in
    7304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7305   *) ac_try_echo=$ac_try;;
    7306 esac
    7307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7308   (eval "$ac_link") 2>conftest.er1
    7309   ac_status=$?
    7310   grep -v '^ *+' conftest.er1 >conftest.err
    7311   rm -f conftest.er1
    7312   cat conftest.err >&5
    7313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7314   (exit $ac_status); } && {
    7315      test -z "$ac_c_werror_flag" ||
    7316      test ! -s conftest.err
    7317        } && test -s conftest$ac_exeext &&
    7318        $as_test_x conftest$ac_exeext; then
    7319   ac_cv_func__doprnt=yes
    7320 else
    7321   echo "$as_me: failed program was:" >&5
    7322 sed 's/^/| /' conftest.$ac_ext >&5
    7323 
    7324     ac_cv_func__doprnt=no
    7325 fi
    7326 
    7327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7328       conftest$ac_exeext conftest.$ac_ext
    7329 fi
    7330 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    7331 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
    7332 if test $ac_cv_func__doprnt = yes; then
    7333 
    7334 cat >>confdefs.h <<\_ACEOF
    7335 #define HAVE_DOPRNT 1
    7336 _ACEOF
     6218#define HAVE_VPRINTF 1
     6219_ACEOF
     6220
     6221ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
     6222if test "x$ac_cv_func__doprnt" = xyes; then :
     6223
     6224$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
    73376225
    73386226fi
     
    73426230
    73436231
    7344 
    7345 
    7346 
    7347 
    7348 
    7349 
    7350 
    7351 
    7352 
    7353 
    73546232for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    7355 do
    7356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    7358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    7359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7360   echo $ECHO_N "(cached) $ECHO_C" >&6
    7361 else
    7362   cat >conftest.$ac_ext <<_ACEOF
    7363 /* confdefs.h.  */
    7364 _ACEOF
    7365 cat confdefs.h >>conftest.$ac_ext
    7366 cat >>conftest.$ac_ext <<_ACEOF
    7367 /* end confdefs.h.  */
    7368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7369    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7370 #define $ac_func innocuous_$ac_func
    7371 
    7372 /* System header to define __stub macros and hopefully few prototypes,
    7373     which can conflict with char $ac_func (); below.
    7374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7375     <limits.h> exists even on freestanding compilers.  */
    7376 
    7377 #ifdef __STDC__
    7378 # include <limits.h>
    7379 #else
    7380 # include <assert.h>
    7381 #endif
    7382 
    7383 #undef $ac_func
    7384 
    7385 /* Override any GCC internal prototype to avoid an error.
    7386    Use char because int might match the return type of a GCC
    7387    builtin and then its argument prototype would still apply.  */
    7388 #ifdef __cplusplus
    7389 extern "C"
    7390 #endif
    7391 char $ac_func ();
    7392 /* The GNU C library defines this for functions which it implements
    7393     to always fail with ENOSYS.  Some functions are actually named
    7394     something starting with __ and the normal name is an alias.  */
    7395 #if defined __stub_$ac_func || defined __stub___$ac_func
    7396 choke me
    7397 #endif
    7398 
    7399 int
    7400 main ()
    7401 {
    7402 return $ac_func ();
    7403   ;
    7404   return 0;
    7405 }
    7406 _ACEOF
    7407 rm -f conftest.$ac_objext conftest$ac_exeext
    7408 if { (ac_try="$ac_link"
    7409 case "(($ac_try" in
    7410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7411   *) ac_try_echo=$ac_try;;
    7412 esac
    7413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7414   (eval "$ac_link") 2>conftest.er1
    7415   ac_status=$?
    7416   grep -v '^ *+' conftest.er1 >conftest.err
    7417   rm -f conftest.er1
    7418   cat conftest.err >&5
    7419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7420   (exit $ac_status); } && {
    7421      test -z "$ac_c_werror_flag" ||
    7422      test ! -s conftest.err
    7423        } && test -s conftest$ac_exeext &&
    7424        $as_test_x conftest$ac_exeext; then
    7425   eval "$as_ac_var=yes"
    7426 else
    7427   echo "$as_me: failed program was:" >&5
    7428 sed 's/^/| /' conftest.$ac_ext >&5
    7429 
    7430     eval "$as_ac_var=no"
    7431 fi
    7432 
    7433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7434       conftest$ac_exeext conftest.$ac_ext
    7435 fi
    7436 ac_res=`eval echo '${'$as_ac_var'}'`
    7437            { echo "$as_me:$LINENO: result: $ac_res" >&5
    7438 echo "${ECHO_T}$ac_res" >&6; }
    7439 if test `eval echo '${'$as_ac_var'}'` = yes; then
     6233do :
     6234  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6235ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     6236if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    74406237  cat >>confdefs.h <<_ACEOF
    7441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6238#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    74426239_ACEOF
    74436240
     
    74456242done
    74466243
    7447 
    7448 
    7449 
    7450 for ac_func in ftruncate strstr strcasecmp
    7451 do
    7452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    7454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    7455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7456   echo $ECHO_N "(cached) $ECHO_C" >&6
    7457 else
    7458   cat >conftest.$ac_ext <<_ACEOF
    7459 /* confdefs.h.  */
    7460 _ACEOF
    7461 cat confdefs.h >>conftest.$ac_ext
    7462 cat >>conftest.$ac_ext <<_ACEOF
    7463 /* end confdefs.h.  */
    7464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7466 #define $ac_func innocuous_$ac_func
    7467 
    7468 /* System header to define __stub macros and hopefully few prototypes,
    7469     which can conflict with char $ac_func (); below.
    7470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7471     <limits.h> exists even on freestanding compilers.  */
    7472 
    7473 #ifdef __STDC__
    7474 # include <limits.h>
    7475 #else
    7476 # include <assert.h>
    7477 #endif
    7478 
    7479 #undef $ac_func
    7480 
    7481 /* Override any GCC internal prototype to avoid an error.
    7482    Use char because int might match the return type of a GCC
    7483    builtin and then its argument prototype would still apply.  */
    7484 #ifdef __cplusplus
    7485 extern "C"
    7486 #endif
    7487 char $ac_func ();
    7488 /* The GNU C library defines this for functions which it implements
    7489     to always fail with ENOSYS.  Some functions are actually named
    7490     something starting with __ and the normal name is an alias.  */
    7491 #if defined __stub_$ac_func || defined __stub___$ac_func
    7492 choke me
    7493 #endif
    7494 
    7495 int
    7496 main ()
    7497 {
    7498 return $ac_func ();
    7499   ;
    7500   return 0;
    7501 }
    7502 _ACEOF
    7503 rm -f conftest.$ac_objext conftest$ac_exeext
    7504 if { (ac_try="$ac_link"
    7505 case "(($ac_try" in
    7506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7507   *) ac_try_echo=$ac_try;;
    7508 esac
    7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7510   (eval "$ac_link") 2>conftest.er1
    7511   ac_status=$?
    7512   grep -v '^ *+' conftest.er1 >conftest.err
    7513   rm -f conftest.er1
    7514   cat conftest.err >&5
    7515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7516   (exit $ac_status); } && {
    7517      test -z "$ac_c_werror_flag" ||
    7518      test ! -s conftest.err
    7519        } && test -s conftest$ac_exeext &&
    7520        $as_test_x conftest$ac_exeext; then
    7521   eval "$as_ac_var=yes"
    7522 else
    7523   echo "$as_me: failed program was:" >&5
    7524 sed 's/^/| /' conftest.$ac_ext >&5
    7525 
    7526     eval "$as_ac_var=no"
    7527 fi
    7528 
    7529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7530       conftest$ac_exeext conftest.$ac_ext
    7531 fi
    7532 ac_res=`eval echo '${'$as_ac_var'}'`
    7533            { echo "$as_me:$LINENO: result: $ac_res" >&5
    7534 echo "${ECHO_T}$ac_res" >&6; }
    7535 if test `eval echo '${'$as_ac_var'}'` = yes; then
    7536   cat >>confdefs.h <<_ACEOF
    7537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    7538 _ACEOF
     6244ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
     6245if test "x$ac_cv_func_ftruncate" = xyes; then :
     6246  $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
    75396247
    75406248else
    75416249  case " $LIBOBJS " in
    7542   *" $ac_func.$ac_objext "* ) ;;
    7543   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     6250  *" ftruncate.$ac_objext "* ) ;;
     6251  *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
    75446252 ;;
    75456253esac
    75466254
    75476255fi
    7548 done
    7549 
    7550 
    7551 
    7552 { echo "$as_me:$LINENO: checking for textdomain" >&5
    7553 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
    7554 if test "${ac_cv_func_textdomain+set}" = set; then
    7555   echo $ECHO_N "(cached) $ECHO_C" >&6
    7556 else
    7557   cat >conftest.$ac_ext <<_ACEOF
    7558 /* confdefs.h.  */
    7559 _ACEOF
    7560 cat confdefs.h >>conftest.$ac_ext
    7561 cat >>conftest.$ac_ext <<_ACEOF
    7562 /* end confdefs.h.  */
    7563 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
    7564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7565 #define textdomain innocuous_textdomain
    7566 
    7567 /* System header to define __stub macros and hopefully few prototypes,
    7568     which can conflict with char textdomain (); below.
    7569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7570     <limits.h> exists even on freestanding compilers.  */
    7571 
    7572 #ifdef __STDC__
    7573 # include <limits.h>
    7574 #else
    7575 # include <assert.h>
    7576 #endif
    7577 
    7578 #undef textdomain
    7579 
    7580 /* Override any GCC internal prototype to avoid an error.
    7581    Use char because int might match the return type of a GCC
    7582    builtin and then its argument prototype would still apply.  */
    7583 #ifdef __cplusplus
    7584 extern "C"
    7585 #endif
    7586 char textdomain ();
    7587 /* The GNU C library defines this for functions which it implements
    7588     to always fail with ENOSYS.  Some functions are actually named
    7589     something starting with __ and the normal name is an alias.  */
    7590 #if defined __stub_textdomain || defined __stub___textdomain
    7591 choke me
    7592 #endif
    7593 
    7594 int
    7595 main ()
    7596 {
    7597 return textdomain ();
    7598   ;
    7599   return 0;
    7600 }
    7601 _ACEOF
    7602 rm -f conftest.$ac_objext conftest$ac_exeext
    7603 if { (ac_try="$ac_link"
    7604 case "(($ac_try" in
    7605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7606   *) ac_try_echo=$ac_try;;
     6256
     6257ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
     6258if test "x$ac_cv_func_strstr" = xyes; then :
     6259  $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
     6260
     6261else
     6262  case " $LIBOBJS " in
     6263  *" strstr.$ac_objext "* ) ;;
     6264  *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
     6265 ;;
    76076266esac
    7608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7609   (eval "$ac_link") 2>conftest.er1
    7610   ac_status=$?
    7611   grep -v '^ *+' conftest.er1 >conftest.err
    7612   rm -f conftest.er1
    7613   cat conftest.err >&5
    7614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7615   (exit $ac_status); } && {
    7616      test -z "$ac_c_werror_flag" ||
    7617      test ! -s conftest.err
    7618        } && test -s conftest$ac_exeext &&
    7619        $as_test_x conftest$ac_exeext; then
    7620   ac_cv_func_textdomain=yes
    7621 else
    7622   echo "$as_me: failed program was:" >&5
    7623 sed 's/^/| /' conftest.$ac_ext >&5
    7624 
    7625     ac_cv_func_textdomain=no
    7626 fi
    7627 
    7628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7629       conftest$ac_exeext conftest.$ac_ext
    7630 fi
    7631 { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    7632 echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
    7633 if test $ac_cv_func_textdomain = yes; then
    7634   cat >>confdefs.h <<\_ACEOF
    7635 #define ENABLE_NLS  1
    7636 _ACEOF
     6267
     6268fi
     6269
     6270ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
     6271if test "x$ac_cv_func_strcasecmp" = xyes; then :
     6272  $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
     6273
     6274else
     6275  case " $LIBOBJS " in
     6276  *" strcasecmp.$ac_objext "* ) ;;
     6277  *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
     6278 ;;
     6279esac
     6280
     6281fi
     6282
     6283
     6284
     6285ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
     6286if test "x$ac_cv_func_textdomain" = xyes; then :
     6287  $as_echo "#define ENABLE_NLS  1" >>confdefs.h
    76376288
    76386289fi
     
    76416292# *** Custom checking (based on GNU tar configure.in) ***
    76426293# ---------------------------------------------------------------------------
    7643 { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    7644 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
     6294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
     6295$as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
    76456296if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    7646   { echo "$as_me:$LINENO: result: yes" >&5
    7647 echo "${ECHO_T}yes" >&6; }
     6297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6298$as_echo "yes" >&6; }
    76486299  case " $LIBOBJS " in
    76496300  *" gmalloc.$ac_objext "* ) ;;
     
    76526303esac
    76536304
    7654   cat >>confdefs.h <<\_ACEOF
     6305  $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
     6306
     6307else
     6308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6309$as_echo "no" >&6; }
     6310  for ac_func in valloc
     6311do :
     6312  ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
     6313if test "x$ac_cv_func_valloc" = xyes; then :
     6314  cat >>confdefs.h <<_ACEOF
    76556315#define HAVE_VALLOC 1
    76566316_ACEOF
    76576317
    7658 else
    7659   { echo "$as_me:$LINENO: result: no" >&5
    7660 echo "${ECHO_T}no" >&6; }
    7661 
    7662 for ac_func in valloc
    7663 do
    7664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7665 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    7666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    7667 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7668   echo $ECHO_N "(cached) $ECHO_C" >&6
    7669 else
    7670   cat >conftest.$ac_ext <<_ACEOF
    7671 /* confdefs.h.  */
    7672 _ACEOF
    7673 cat confdefs.h >>conftest.$ac_ext
    7674 cat >>conftest.$ac_ext <<_ACEOF
    7675 /* end confdefs.h.  */
    7676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7678 #define $ac_func innocuous_$ac_func
    7679 
    7680 /* System header to define __stub macros and hopefully few prototypes,
    7681     which can conflict with char $ac_func (); below.
    7682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7683     <limits.h> exists even on freestanding compilers.  */
    7684 
    7685 #ifdef __STDC__
    7686 # include <limits.h>
    7687 #else
    7688 # include <assert.h>
    7689 #endif
    7690 
    7691 #undef $ac_func
    7692 
    7693 /* Override any GCC internal prototype to avoid an error.
    7694    Use char because int might match the return type of a GCC
    7695    builtin and then its argument prototype would still apply.  */
    7696 #ifdef __cplusplus
    7697 extern "C"
    7698 #endif
    7699 char $ac_func ();
    7700 /* The GNU C library defines this for functions which it implements
    7701     to always fail with ENOSYS.  Some functions are actually named
    7702     something starting with __ and the normal name is an alias.  */
    7703 #if defined __stub_$ac_func || defined __stub___$ac_func
    7704 choke me
    7705 #endif
    7706 
    7707 int
    7708 main ()
    7709 {
    7710 return $ac_func ();
    7711   ;
    7712   return 0;
    7713 }
    7714 _ACEOF
    7715 rm -f conftest.$ac_objext conftest$ac_exeext
    7716 if { (ac_try="$ac_link"
    7717 case "(($ac_try" in
    7718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7719   *) ac_try_echo=$ac_try;;
    7720 esac
    7721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7722   (eval "$ac_link") 2>conftest.er1
    7723   ac_status=$?
    7724   grep -v '^ *+' conftest.er1 >conftest.err
    7725   rm -f conftest.er1
    7726   cat conftest.err >&5
    7727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7728   (exit $ac_status); } && {
    7729      test -z "$ac_c_werror_flag" ||
    7730      test ! -s conftest.err
    7731        } && test -s conftest$ac_exeext &&
    7732        $as_test_x conftest$ac_exeext; then
    7733   eval "$as_ac_var=yes"
    7734 else
    7735   echo "$as_me: failed program was:" >&5
    7736 sed 's/^/| /' conftest.$ac_ext >&5
    7737 
    7738     eval "$as_ac_var=no"
    7739 fi
    7740 
    7741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7742       conftest$ac_exeext conftest.$ac_ext
    7743 fi
    7744 ac_res=`eval echo '${'$as_ac_var'}'`
    7745            { echo "$as_me:$LINENO: result: $ac_res" >&5
    7746 echo "${ECHO_T}$ac_res" >&6; }
    7747 if test `eval echo '${'$as_ac_var'}'` = yes; then
    7748   cat >>confdefs.h <<_ACEOF
    7749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    7750 _ACEOF
    7751 
    77526318fi
    77536319done
     
    77566322
    77576323# we cannot generate static libraries under Darwin
    7758 { echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    7759 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }
     6324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
     6325$as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
    77606326if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    7761   { echo "$as_me:$LINENO: result: yes" >&5
    7762 echo "${ECHO_T}yes" >&6; }
     6327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6328$as_echo "yes" >&6; }
    77636329  STATIC=""
    77646330else
    7765   { echo "$as_me:$LINENO: result: no" >&5
    7766 echo "${ECHO_T}no" >&6; }
     6331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6332$as_echo "no" >&6; }
    77676333  STATIC="-static "
    77686334fi
    77696335
    77706336
    7771 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    7772 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
     6337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
     6338$as_echo_n "checking if malloc debugging is wanted... " >&6; }
    77736339
    77746340# Check whether --with-dmalloc was given.
    7775 if test "${with_dmalloc+set}" = set; then
     6341if test "${with_dmalloc+set}" = set; then :
    77766342  withval=$with_dmalloc; if test "$withval" = yes; then
    7777   { echo "$as_me:$LINENO: result: yes" >&5
    7778 echo "${ECHO_T}yes" >&6; }
    7779   cat >>confdefs.h <<\_ACEOF
    7780 #define WITH_DMALLOC 1
    7781 _ACEOF
     6343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6344$as_echo "yes" >&6; }
     6345  $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
    77826346
    77836347  LIBS="$LIBS -ldmalloc"
    77846348  LDFLAGS="$LDFLAGS -g"
    77856349else
    7786   { echo "$as_me:$LINENO: result: no" >&5
    7787 echo "${ECHO_T}no" >&6; }
    7788 fi
    7789 else
    7790   { echo "$as_me:$LINENO: result: no" >&5
    7791 echo "${ECHO_T}no" >&6; }
    7792 fi
    7793 
    7794 
    7795 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    7796 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
     6350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6351$as_echo "no" >&6; }
     6352fi
     6353else
     6354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6355$as_echo "no" >&6; }
     6356fi
     6357
     6358
     6359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
     6360$as_echo_n "checking which of rx or regex is wanted... " >&6; }
    77976361
    77986362# Check whether --with-regex was given.
    7799 if test "${with_regex+set}" = set; then
     6363if test "${with_regex+set}" = set; then :
    78006364  withval=$with_regex; if test "$withval" = yes; then
    78016365  ac_with_regex=1
    7802   { echo "$as_me:$LINENO: result: regex" >&5
    7803 echo "${ECHO_T}regex" >&6; }
    7804   cat >>confdefs.h <<\_ACEOF
    7805 #define WITH_REGEX 1
    7806 _ACEOF
     6366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
     6367$as_echo "regex" >&6; }
     6368  $as_echo "#define WITH_REGEX 1" >>confdefs.h
    78076369
    78086370  case " $LIBOBJS " in
     
    78166378
    78176379if test -z "$ac_with_regex"; then
    7818   { echo "$as_me:$LINENO: result: rx" >&5
    7819 echo "${ECHO_T}rx" >&6; }
    7820   { echo "$as_me:$LINENO: checking for re_rx_search" >&5
    7821 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
    7822 if test "${ac_cv_func_re_rx_search+set}" = set; then
    7823   echo $ECHO_N "(cached) $ECHO_C" >&6
    7824 else
    7825   cat >conftest.$ac_ext <<_ACEOF
    7826 /* confdefs.h.  */
    7827 _ACEOF
    7828 cat confdefs.h >>conftest.$ac_ext
    7829 cat >>conftest.$ac_ext <<_ACEOF
    7830 /* end confdefs.h.  */
    7831 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
    7832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7833 #define re_rx_search innocuous_re_rx_search
    7834 
    7835 /* System header to define __stub macros and hopefully few prototypes,
    7836     which can conflict with char re_rx_search (); below.
    7837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7838     <limits.h> exists even on freestanding compilers.  */
    7839 
    7840 #ifdef __STDC__
    7841 # include <limits.h>
    7842 #else
    7843 # include <assert.h>
    7844 #endif
    7845 
    7846 #undef re_rx_search
    7847 
    7848 /* Override any GCC internal prototype to avoid an error.
    7849    Use char because int might match the return type of a GCC
    7850    builtin and then its argument prototype would still apply.  */
    7851 #ifdef __cplusplus
    7852 extern "C"
    7853 #endif
    7854 char re_rx_search ();
    7855 /* The GNU C library defines this for functions which it implements
    7856     to always fail with ENOSYS.  Some functions are actually named
    7857     something starting with __ and the normal name is an alias.  */
    7858 #if defined __stub_re_rx_search || defined __stub___re_rx_search
    7859 choke me
    7860 #endif
    7861 
    7862 int
    7863 main ()
    7864 {
    7865 return re_rx_search ();
    7866   ;
    7867   return 0;
    7868 }
    7869 _ACEOF
    7870 rm -f conftest.$ac_objext conftest$ac_exeext
    7871 if { (ac_try="$ac_link"
    7872 case "(($ac_try" in
    7873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7874   *) ac_try_echo=$ac_try;;
    7875 esac
    7876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7877   (eval "$ac_link") 2>conftest.er1
    7878   ac_status=$?
    7879   grep -v '^ *+' conftest.er1 >conftest.err
    7880   rm -f conftest.er1
    7881   cat conftest.err >&5
    7882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7883   (exit $ac_status); } && {
    7884      test -z "$ac_c_werror_flag" ||
    7885      test ! -s conftest.err
    7886        } && test -s conftest$ac_exeext &&
    7887        $as_test_x conftest$ac_exeext; then
    7888   ac_cv_func_re_rx_search=yes
    7889 else
    7890   echo "$as_me: failed program was:" >&5
    7891 sed 's/^/| /' conftest.$ac_ext >&5
    7892 
    7893     ac_cv_func_re_rx_search=no
    7894 fi
    7895 
    7896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7897       conftest$ac_exeext conftest.$ac_ext
    7898 fi
    7899 { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    7900 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
    7901 if test $ac_cv_func_re_rx_search = yes; then
    7902   :
     6380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
     6381$as_echo "rx" >&6; }
     6382  ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
     6383if test "x$ac_cv_func_re_rx_search" = xyes; then :
     6384
    79036385else
    79046386  case " $LIBOBJS " in
     
    79396421
    79406422
    7941 { echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
    7942 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; }
     6423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5
     6424$as_echo_n "checking that Perl 5 is available... " >&6; }
    79436425success="no"
    79446426pl_path="$PATH"
     
    79576439try=`expr $try \> 5.000`
    79586440if test $try = "1"; then
    7959 { echo "$as_me:$LINENO: result: \"yes\"" >&5
    7960 echo "${ECHO_T}\"yes\"" >&6; }
     6441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
     6442$as_echo "\"yes\"" >&6; }
    79616443else
    79626444success="no"
     
    79656447
    79666448if test $success = "no"; then
    7967 { echo "$as_me:$LINENO: result: \"no\"" >&5
    7968 echo "${ECHO_T}\"no\"" >&6; }
    7969 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
    7970 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
    7971    { (exit 1); exit 1; }; }
     6449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
     6450$as_echo "\"no\"" >&6; }
     6451as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5
    79726452fi
    79736453
    79746454success=no
    7975 { echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    7976 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; }
    7977 
    7978 
    7979 cat >conftest.$ac_ext <<_ACEOF
    7980 /* confdefs.h.  */
    7981 _ACEOF
    7982 cat confdefs.h >>conftest.$ac_ext
    7983 cat >>conftest.$ac_ext <<_ACEOF
     6455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
     6456$as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
     6457
     6458
     6459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79846460/* end confdefs.h.  */
    79856461#include <vector>
     
    79936469}
    79946470_ACEOF
    7995 rm -f conftest.$ac_objext
    7996 if { (ac_try="$ac_compile"
    7997 case "(($ac_try" in
    7998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7999   *) ac_try_echo=$ac_try;;
    8000 esac
    8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8002   (eval "$ac_compile") 2>conftest.er1
    8003   ac_status=$?
    8004   grep -v '^ *+' conftest.er1 >conftest.err
    8005   rm -f conftest.er1
    8006   cat conftest.err >&5
    8007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8008   (exit $ac_status); } && {
    8009      test -z "$ac_cxx_werror_flag" ||
    8010      test ! -s conftest.err
    8011        } && test -s conftest.$ac_objext; then
     6471if ac_fn_cxx_try_compile "$LINENO"; then :
    80126472  success=yes
    8013 else
    8014   echo "$as_me: failed program was:" >&5
    8015 sed 's/^/| /' conftest.$ac_ext >&5
    8016 
    8017 
    8018 fi
    8019 
     6473fi
    80206474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80216475
    80226476if test $success = "no"; then
    8023 cat >conftest.$ac_ext <<_ACEOF
    8024 /* confdefs.h.  */
    8025 _ACEOF
    8026 cat confdefs.h >>conftest.$ac_ext
    8027 cat >>conftest.$ac_ext <<_ACEOF
     6477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80286478/* end confdefs.h.  */
    80296479#include <vector.h>
     
    80376487}
    80386488_ACEOF
    8039 rm -f conftest.$ac_objext
    8040 if { (ac_try="$ac_compile"
    8041 case "(($ac_try" in
    8042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8043   *) ac_try_echo=$ac_try;;
    8044 esac
    8045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8046   (eval "$ac_compile") 2>conftest.er1
    8047   ac_status=$?
    8048   grep -v '^ *+' conftest.er1 >conftest.err
    8049   rm -f conftest.er1
    8050   cat conftest.err >&5
    8051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8052   (exit $ac_status); } && {
    8053      test -z "$ac_cxx_werror_flag" ||
    8054      test ! -s conftest.err
    8055        } && test -s conftest.$ac_objext; then
     6489if ac_fn_cxx_try_compile "$LINENO"; then :
    80566490  success="yes"
    8057 else
    8058   echo "$as_me: failed program was:" >&5
    8059 sed 's/^/| /' conftest.$ac_ext >&5
    8060 
    8061 
    8062 fi
    8063 
     6491fi
    80646492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80656493fi
    80666494
    80676495if test $success = "no"; then
    8068 cat >conftest.$ac_ext <<_ACEOF
    8069 /* confdefs.h.  */
    8070 _ACEOF
    8071 cat confdefs.h >>conftest.$ac_ext
    8072 cat >>conftest.$ac_ext <<_ACEOF
     6496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80736497/* end confdefs.h.  */
    80746498#include <ospace\\std\\vector>
     
    80826506}
    80836507_ACEOF
    8084 rm -f conftest.$ac_objext
    8085 if { (ac_try="$ac_compile"
    8086 case "(($ac_try" in
    8087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8088   *) ac_try_echo=$ac_try;;
    8089 esac
    8090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8091   (eval "$ac_compile") 2>conftest.er1
    8092   ac_status=$?
    8093   grep -v '^ *+' conftest.er1 >conftest.err
    8094   rm -f conftest.er1
    8095   cat conftest.err >&5
    8096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8097   (exit $ac_status); } && {
    8098      test -z "$ac_cxx_werror_flag" ||
    8099      test ! -s conftest.err
    8100        } && test -s conftest.$ac_objext; then
     6508if ac_fn_cxx_try_compile "$LINENO"; then :
    81016509  success="yes"
    8102 else
    8103   echo "$as_me: failed program was:" >&5
    8104 sed 's/^/| /' conftest.$ac_ext >&5
    8105 
    8106 
    8107 fi
    8108 
     6510fi
    81096511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    81106512fi
    81116513
    81126514if test $success = yes; then
    8113 { echo "$as_me:$LINENO: result: \"no\"" >&5
    8114 echo "${ECHO_T}\"no\"" >&6; }
    8115 else
    8116 { echo "$as_me:$LINENO: result: \"yes\"" >&5
    8117 echo "${ECHO_T}\"yes\"" >&6; }
    8118 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    8119 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
    8120    { (exit 1); exit 1; }; }
     6515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
     6516$as_echo "\"no\"" >&6; }
     6517else
     6518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
     6519$as_echo "\"yes\"" >&6; }
     6520as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
    81216521fi
    81226522
     
    81356535
    81366536# check for endianness
    8137 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    8138 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    8139 if test "${ac_cv_c_bigendian+set}" = set; then
    8140   echo $ECHO_N "(cached) $ECHO_C" >&6
    8141 else
    8142   # See if sys/param.h defines the BYTE_ORDER macro.
    8143 cat >conftest.$ac_ext <<_ACEOF
    8144 /* confdefs.h.  */
    8145 _ACEOF
    8146 cat confdefs.h >>conftest.$ac_ext
    8147 cat >>conftest.$ac_ext <<_ACEOF
     6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     6538$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     6539if ${ac_cv_c_bigendian+:} false; then :
     6540  $as_echo_n "(cached) " >&6
     6541else
     6542  ac_cv_c_bigendian=unknown
     6543    # See if we're dealing with a universal compiler.
     6544    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6545/* end confdefs.h.  */
     6546#ifndef __APPLE_CC__
     6547           not a universal capable compiler
     6548         #endif
     6549         typedef int dummy;
     6550
     6551_ACEOF
     6552if ac_fn_cxx_try_compile "$LINENO"; then :
     6553
     6554    # Check for potential -arch flags.  It is not universal unless
     6555    # there are at least two -arch flags with different values.
     6556    ac_arch=
     6557    ac_prev=
     6558    for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     6559     if test -n "$ac_prev"; then
     6560       case $ac_word in
     6561         i?86 | x86_64 | ppc | ppc64)
     6562           if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     6563         ac_arch=$ac_word
     6564           else
     6565         ac_cv_c_bigendian=universal
     6566         break
     6567           fi
     6568           ;;
     6569       esac
     6570       ac_prev=
     6571     elif test "x$ac_word" = "x-arch"; then
     6572       ac_prev=arch
     6573     fi
     6574       done
     6575fi
     6576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6577    if test $ac_cv_c_bigendian = unknown; then
     6578      # See if sys/param.h defines the BYTE_ORDER macro.
     6579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    81486580/* end confdefs.h.  */
    81496581#include <sys/types.h>
    8150 #include <sys/param.h>
     6582         #include <sys/param.h>
    81516583
    81526584int
    81536585main ()
    81546586{
    8155 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
    8156     && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    8157  bogus endian macros
    8158 #endif
     6587#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     6588             && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     6589             && LITTLE_ENDIAN)
     6590          bogus endian macros
     6591         #endif
    81596592
    81606593  ;
     
    81626595}
    81636596_ACEOF
    8164 rm -f conftest.$ac_objext
    8165 if { (ac_try="$ac_compile"
    8166 case "(($ac_try" in
    8167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8168   *) ac_try_echo=$ac_try;;
    8169 esac
    8170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8171   (eval "$ac_compile") 2>conftest.er1
    8172   ac_status=$?
    8173   grep -v '^ *+' conftest.er1 >conftest.err
    8174   rm -f conftest.er1
    8175   cat conftest.err >&5
    8176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8177   (exit $ac_status); } && {
    8178      test -z "$ac_cxx_werror_flag" ||
    8179      test ! -s conftest.err
    8180        } && test -s conftest.$ac_objext; then
     6597if ac_fn_cxx_try_compile "$LINENO"; then :
    81816598  # It does; now see whether it defined to BIG_ENDIAN or not.
    8182 cat >conftest.$ac_ext <<_ACEOF
    8183 /* confdefs.h.  */
    8184 _ACEOF
    8185 cat confdefs.h >>conftest.$ac_ext
    8186 cat >>conftest.$ac_ext <<_ACEOF
     6599     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    81876600/* end confdefs.h.  */
    81886601#include <sys/types.h>
    8189 #include <sys/param.h>
     6602        #include <sys/param.h>
    81906603
    81916604int
     
    81936606{
    81946607#if BYTE_ORDER != BIG_ENDIAN
    8195  not big endian
    8196 #endif
     6608        not big endian
     6609        #endif
    81976610
    81986611  ;
     
    82006613}
    82016614_ACEOF
    8202 rm -f conftest.$ac_objext
    8203 if { (ac_try="$ac_compile"
    8204 case "(($ac_try" in
    8205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8206   *) ac_try_echo=$ac_try;;
    8207 esac
    8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8209   (eval "$ac_compile") 2>conftest.er1
    8210   ac_status=$?
    8211   grep -v '^ *+' conftest.er1 >conftest.err
    8212   rm -f conftest.er1
    8213   cat conftest.err >&5
    8214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8215   (exit $ac_status); } && {
    8216      test -z "$ac_cxx_werror_flag" ||
    8217      test ! -s conftest.err
    8218        } && test -s conftest.$ac_objext; then
     6615if ac_fn_cxx_try_compile "$LINENO"; then :
    82196616  ac_cv_c_bigendian=yes
    82206617else
    8221   echo "$as_me: failed program was:" >&5
    8222 sed 's/^/| /' conftest.$ac_ext >&5
    8223 
    8224     ac_cv_c_bigendian=no
    8225 fi
    8226 
     6618  ac_cv_c_bigendian=no
     6619fi
    82276620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8228 else
    8229   echo "$as_me: failed program was:" >&5
    8230 sed 's/^/| /' conftest.$ac_ext >&5
    8231 
    8232     # It does not; compile a test program.
    8233 if test "$cross_compiling" = yes; then
    8234   # try to guess the endianness by grepping values into an object file
    8235   ac_cv_c_bigendian=unknown
    8236   cat >conftest.$ac_ext <<_ACEOF
    8237 /* confdefs.h.  */
    8238 _ACEOF
    8239 cat confdefs.h >>conftest.$ac_ext
    8240 cat >>conftest.$ac_ext <<_ACEOF
     6621fi
     6622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6623    fi
     6624    if test $ac_cv_c_bigendian = unknown; then
     6625      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     6626      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82416627/* end confdefs.h.  */
    8242 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    8243 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    8244 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    8245 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    8246 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    8247 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     6628#include <limits.h>
     6629
    82486630int
    82496631main ()
    82506632{
    8251  _ascii (); _ebcdic ();
     6633#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     6634          bogus endian macros
     6635         #endif
     6636
    82526637  ;
    82536638  return 0;
    82546639}
    82556640_ACEOF
    8256 rm -f conftest.$ac_objext
    8257 if { (ac_try="$ac_compile"
    8258 case "(($ac_try" in
    8259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8260   *) ac_try_echo=$ac_try;;
    8261 esac
    8262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8263   (eval "$ac_compile") 2>conftest.er1
    8264   ac_status=$?
    8265   grep -v '^ *+' conftest.er1 >conftest.err
    8266   rm -f conftest.er1
    8267   cat conftest.err >&5
    8268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8269   (exit $ac_status); } && {
    8270      test -z "$ac_cxx_werror_flag" ||
    8271      test ! -s conftest.err
    8272        } && test -s conftest.$ac_objext; then
    8273   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     6641if ac_fn_cxx_try_compile "$LINENO"; then :
     6642  # It does; now see whether it defined to _BIG_ENDIAN or not.
     6643     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6644/* end confdefs.h.  */
     6645#include <limits.h>
     6646
     6647int
     6648main ()
     6649{
     6650#ifndef _BIG_ENDIAN
     6651         not big endian
     6652        #endif
     6653
     6654  ;
     6655  return 0;
     6656}
     6657_ACEOF
     6658if ac_fn_cxx_try_compile "$LINENO"; then :
    82746659  ac_cv_c_bigendian=yes
    8275 fi
    8276 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    8277   if test "$ac_cv_c_bigendian" = unknown; then
    8278     ac_cv_c_bigendian=no
    8279   else
    8280     # finding both strings is unlikely to happen, but who knows?
    8281     ac_cv_c_bigendian=unknown
    8282   fi
    8283 fi
    8284 else
    8285   echo "$as_me: failed program was:" >&5
    8286 sed 's/^/| /' conftest.$ac_ext >&5
    8287 
    8288 
    8289 fi
    8290 
     6660else
     6661  ac_cv_c_bigendian=no
     6662fi
    82916663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8292 else
    8293   cat >conftest.$ac_ext <<_ACEOF
    8294 /* confdefs.h.  */
    8295 _ACEOF
    8296 cat confdefs.h >>conftest.$ac_ext
    8297 cat >>conftest.$ac_ext <<_ACEOF
     6664fi
     6665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6666    fi
     6667    if test $ac_cv_c_bigendian = unknown; then
     6668      # Compile a test program.
     6669      if test "$cross_compiling" = yes; then :
     6670  # Try to guess by grepping values from an object file.
     6671     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6672/* end confdefs.h.  */
     6673short int ascii_mm[] =
     6674          { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     6675        short int ascii_ii[] =
     6676          { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     6677        int use_ascii (int i) {
     6678          return ascii_mm[i] + ascii_ii[i];
     6679        }
     6680        short int ebcdic_ii[] =
     6681          { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     6682        short int ebcdic_mm[] =
     6683          { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     6684        int use_ebcdic (int i) {
     6685          return ebcdic_mm[i] + ebcdic_ii[i];
     6686        }
     6687        extern int foo;
     6688
     6689int
     6690main ()
     6691{
     6692return use_ascii (foo) == use_ebcdic (foo);
     6693  ;
     6694  return 0;
     6695}
     6696_ACEOF
     6697if ac_fn_cxx_try_compile "$LINENO"; then :
     6698  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     6699          ac_cv_c_bigendian=yes
     6700        fi
     6701        if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     6702          if test "$ac_cv_c_bigendian" = unknown; then
     6703        ac_cv_c_bigendian=no
     6704          else
     6705        # finding both strings is unlikely to happen, but who knows?
     6706        ac_cv_c_bigendian=unknown
     6707          fi
     6708        fi
     6709fi
     6710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6711else
     6712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82986713/* end confdefs.h.  */
    82996714$ac_includes_default
     
    83026717{
    83036718
    8304   /* Are we little or big endian?  From Harbison&Steele.  */
    8305   union
    8306   {
    8307     long int l;
    8308     char c[sizeof (long int)];
    8309   } u;
    8310   u.l = 1;
    8311   return u.c[sizeof (long int) - 1] == 1;
     6719         /* Are we little or big endian?  From Harbison&Steele.  */
     6720         union
     6721         {
     6722           long int l;
     6723           char c[sizeof (long int)];
     6724         } u;
     6725         u.l = 1;
     6726         return u.c[sizeof (long int) - 1] == 1;
    83126727
    83136728  ;
     
    83156730}
    83166731_ACEOF
    8317 rm -f conftest$ac_exeext
    8318 if { (ac_try="$ac_link"
    8319 case "(($ac_try" in
    8320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8321   *) ac_try_echo=$ac_try;;
    8322 esac
    8323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8324   (eval "$ac_link") 2>&5
    8325   ac_status=$?
    8326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8327   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    8328   { (case "(($ac_try" in
    8329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8330   *) ac_try_echo=$ac_try;;
    8331 esac
    8332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8333   (eval "$ac_try") 2>&5
    8334   ac_status=$?
    8335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8336   (exit $ac_status); }; }; then
     6732if ac_fn_cxx_try_run "$LINENO"; then :
    83376733  ac_cv_c_bigendian=no
    83386734else
    8339   echo "$as_me: program exited with status $ac_status" >&5
    8340 echo "$as_me: failed program was:" >&5
    8341 sed 's/^/| /' conftest.$ac_ext >&5
    8342 
    8343 ( exit $ac_status )
    8344 ac_cv_c_bigendian=yes
    8345 fi
    8346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    8347 fi
    8348 
    8349 
    8350 fi
    8351 
    8352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8353 fi
    8354 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    8355 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    8356 case $ac_cv_c_bigendian in
    8357   yes)
    8358 
    8359 cat >>confdefs.h <<\_ACEOF
    8360 #define WORDS_BIGENDIAN 1
    8361 _ACEOF
    8362  ;;
    8363   no)
    8364      ;;
    8365   *)
    8366     { { echo "$as_me:$LINENO: error: unknown endianness
    8367 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    8368 echo "$as_me: error: unknown endianness
    8369 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    8370    { (exit 1); exit 1; }; } ;;
    8371 esac
     6735  ac_cv_c_bigendian=yes
     6736fi
     6737rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     6738  conftest.$ac_objext conftest.beam conftest.$ac_ext
     6739fi
     6740
     6741    fi
     6742fi
     6743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     6744$as_echo "$ac_cv_c_bigendian" >&6; }
     6745 case $ac_cv_c_bigendian in #(
     6746   yes)
     6747     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     6748;; #(
     6749   no)
     6750      ;; #(
     6751   universal)
     6752
     6753$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     6754
     6755     ;; #(
     6756   *)
     6757     as_fn_error $? "unknown endianness
     6758 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     6759 esac
    83726760
    83736761# ---------------------------------------------------------------------------
     
    84086796# GS3 uses this to set up gnome-lib env, GS2 uses the configure in gs2build/toplevel GS2 installation
    84096797# For gnome-lib-minimal need to source its ./devel.bash before wvware can even be configured
    8410 # For a gnome-lib that's already compiled, don't need to its source ./devel.bash to configure wvware
     6798# For a gnome-lib that's already compiled, don't need to source its ./devel.bash to configure wvware
    84116799# If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh
    84126800# Need to make sure that the gnome-lib-minimal is not the cut-down gnome-lib-minimal (which contains
    8413 # only the linux/lib subfolder) that's included with linux and mac binaries, because we can't compile 
    8414 # wvware with the cut-down one, only run wvware with it. The test for the cut-down version is that 
     6801# only the linux/lib subfolder) that's included with linux and mac binaries, because we can't compile
     6802# wvware with the cut-down one, only run wvware with it. The test for the cut-down version is that
    84156803# it does not contain devel.bash.
    84166804
     
    84426830
    84436831# ---------------------------------------------------------------------------
     6832
     6833
    84446834subdirs="$subdirs packages"
    84456835
     
    84796869    *${as_nl}*)
    84806870      case $ac_var in #(
    8481       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    8482 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     6871      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     6872$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    84836873      esac
    84846874      case $ac_var in #(
    84856875      _ | IFS | as_nl) ;; #(
    8486       *) $as_unset $ac_var ;;
     6876      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     6877      *) { eval $ac_var=; unset $ac_var;} ;;
    84876878      esac ;;
    84886879    esac
     
    84926883    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    84936884    *${as_nl}ac_space=\ *)
    8494       # `set' does not quote correctly, so add quotes (double-quote
    8495       # substitution turns \\\\ into \\, and sed turns \\ into \).
     6885      # `set' does not quote correctly, so add quotes: double-quote
     6886      # substitution turns \\\\ into \\, and sed turns \\ into \.
    84966887      sed -n \
    84976888    "s/'/'\\\\''/g;
     
    85156906if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    85166907  if test -w "$cache_file"; then
    8517     test "x$cache_file" != "x/dev/null" &&
    8518       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    8519 echo "$as_me: updating cache $cache_file" >&6;}
    8520     cat confcache >$cache_file
     6908    if test "x$cache_file" != "x/dev/null"; then
     6909      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     6910$as_echo "$as_me: updating cache $cache_file" >&6;}
     6911      if test ! -f "$cache_file" || test -h "$cache_file"; then
     6912    cat confcache >"$cache_file"
     6913      else
     6914        case $cache_file in #(
     6915        */* | ?:*)
     6916      mv -f confcache "$cache_file"$$ &&
     6917      mv -f "$cache_file"$$ "$cache_file" ;; #(
     6918        *)
     6919      mv -f confcache "$cache_file" ;;
     6920    esac
     6921      fi
     6922    fi
    85216923  else
    8522     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    8523 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     6924    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     6925$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    85246926  fi
    85256927fi
     
    85346936ac_libobjs=
    85356937ac_ltlibobjs=
     6938U=
    85366939for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    85376940  # 1. Remove the extension, and $U if already installed.
    85386941  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    8539   ac_i=`echo "$ac_i" | sed "$ac_script"`
     6942  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
    85406943  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    85416944  #    will be set to the directory where LIBOBJS objects are built.
    8542   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    8543   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     6945  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     6946  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    85446947done
    85456948LIBOBJS=$ac_libobjs
     
    85496952
    85506953
    8551 : ${CONFIG_STATUS=./config.status}
     6954
     6955: "${CONFIG_STATUS=./config.status}"
     6956ac_write_fail=0
    85526957ac_clean_files_save=$ac_clean_files
    85536958ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    8554 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    8555 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    8556 cat >$CONFIG_STATUS <<_ACEOF
     6959{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     6960$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     6961as_write_fail=0
     6962cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    85576963#! $SHELL
    85586964# Generated by $as_me.
     
    85646970ac_cs_recheck=false
    85656971ac_cs_silent=false
     6972
    85666973SHELL=\${CONFIG_SHELL-$SHELL}
    8567 _ACEOF
    8568 
    8569 cat >>$CONFIG_STATUS <<\_ACEOF
    8570 ## --------------------- ##
    8571 ## M4sh Initialization.  ##
    8572 ## --------------------- ##
     6974export SHELL
     6975_ASEOF
     6976cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     6977## -------------------- ##
     6978## M4sh Initialization. ##
     6979## -------------------- ##
    85736980
    85746981# Be more Bourne compatible
    85756982DUALCASE=1; export DUALCASE # for MKS sh
    8576 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     6983if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    85776984  emulate sh
    85786985  NULLCMD=:
    8579   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     6986  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    85806987  # is contrary to our usage.  Disable this feature.
    85816988  alias -g '${1+"$@"}'='"$@"'
    85826989  setopt NO_GLOB_SUBST
    85836990else
    8584   case `(set -o) 2>/dev/null` in
    8585   *posix*) set -o posix ;;
     6991  case `(set -o) 2>/dev/null` in #(
     6992  *posix*) :
     6993    set -o posix ;; #(
     6994  *) :
     6995     ;;
    85866996esac
    8587 
    8588 fi
    8589 
    8590 
    8591 
    8592 
    8593 # PATH needs CR
    8594 # Avoid depending upon Character Ranges.
    8595 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    8596 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    8597 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    8598 as_cr_digits='0123456789'
    8599 as_cr_alnum=$as_cr_Letters$as_cr_digits
     6997fi
     6998
     6999
     7000as_nl='
     7001'
     7002export as_nl
     7003# Printing a long string crashes Solaris 7 /usr/bin/printf.
     7004as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     7005as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     7006as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     7007# Prefer a ksh shell builtin over an external printf program on Solaris,
     7008# but without wasting forks for bash or zsh.
     7009if test -z "$BASH_VERSION$ZSH_VERSION" \
     7010    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     7011  as_echo='print -r --'
     7012  as_echo_n='print -rn --'
     7013elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     7014  as_echo='printf %s\n'
     7015  as_echo_n='printf %s'
     7016else
     7017  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     7018    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     7019    as_echo_n='/usr/ucb/echo -n'
     7020  else
     7021    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     7022    as_echo_n_body='eval
     7023      arg=$1;
     7024      case $arg in #(
     7025      *"$as_nl"*)
     7026    expr "X$arg" : "X\\(.*\\)$as_nl";
     7027    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     7028      esac;
     7029      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     7030    '
     7031    export as_echo_n_body
     7032    as_echo_n='sh -c $as_echo_n_body as_echo'
     7033  fi
     7034  export as_echo_body
     7035  as_echo='sh -c $as_echo_body as_echo'
     7036fi
    86007037
    86017038# The user is always right.
    86027039if test "${PATH_SEPARATOR+set}" != set; then
    8603   echo "#! /bin/sh" >conf$$.sh
    8604   echo  "exit 0"   >>conf$$.sh
    8605   chmod +x conf$$.sh
    8606   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    8607     PATH_SEPARATOR=';'
    8608   else
    8609     PATH_SEPARATOR=:
    8610   fi
    8611   rm -f conf$$.sh
    8612 fi
    8613 
    8614 # Support unset when possible.
    8615 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    8616   as_unset=unset
    8617 else
    8618   as_unset=false
     7040  PATH_SEPARATOR=:
     7041  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     7042    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     7043      PATH_SEPARATOR=';'
     7044  }
    86197045fi
    86207046
     
    86257051# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    86267052# splitting by setting IFS to empty value.)
    8627 as_nl='
    8628 '
    86297053IFS=" ""    $as_nl"
    86307054
    86317055# Find who we are.  Look in the path if we contain no directory separator.
    8632 case $0 in
     7056as_myself=
     7057case $0 in #((
    86337058  *[\\/]* ) as_myself=$0 ;;
    86347059  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    86377062  IFS=$as_save_IFS
    86387063  test -z "$as_dir" && as_dir=.
    8639   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    8640 done
     7064    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     7065  done
    86417066IFS=$as_save_IFS
    86427067
     
    86497074fi
    86507075if test ! -f "$as_myself"; then
    8651   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    8652   { (exit 1); exit 1; }
    8653 fi
    8654 
    8655 # Work around bugs in pre-3.0 UWIN ksh.
    8656 for as_var in ENV MAIL MAILPATH
    8657 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     7076  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     7077  exit 1
     7078fi
     7079
     7080# Unset variables that we do not need and which cause bugs (e.g. in
     7081# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     7082# suppresses any "Segmentation fault" message there.  '((' could
     7083# trigger a bug in pdksh 5.2.14.
     7084for as_var in BASH_ENV ENV MAIL MAILPATH
     7085do eval test x\${$as_var+set} = xset \
     7086  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    86587087done
    86597088PS1='$ '
     
    86627091
    86637092# NLS nuisances.
    8664 for as_var in \
    8665   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    8666   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    8667   LC_TELEPHONE LC_TIME
    8668 do
    8669   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    8670     eval $as_var=C; export $as_var
    8671   else
    8672     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     7093LC_ALL=C
     7094export LC_ALL
     7095LANGUAGE=C
     7096export LANGUAGE
     7097
     7098# CDPATH.
     7099(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     7100
     7101
     7102# as_fn_error STATUS ERROR [LINENO LOG_FD]
     7103# ----------------------------------------
     7104# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     7105# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     7106# script with STATUS, using 1 if that was 0.
     7107as_fn_error ()
     7108{
     7109  as_status=$1; test $as_status -eq 0 && as_status=1
     7110  if test "$4"; then
     7111    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     7112    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    86737113  fi
    8674 done
    8675 
    8676 # Required to use basename.
     7114  $as_echo "$as_me: error: $2" >&2
     7115  as_fn_exit $as_status
     7116} # as_fn_error
     7117
     7118
     7119# as_fn_set_status STATUS
     7120# -----------------------
     7121# Set $? to STATUS, without forking.
     7122as_fn_set_status ()
     7123{
     7124  return $1
     7125} # as_fn_set_status
     7126
     7127# as_fn_exit STATUS
     7128# -----------------
     7129# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     7130as_fn_exit ()
     7131{
     7132  set +e
     7133  as_fn_set_status $1
     7134  exit $1
     7135} # as_fn_exit
     7136
     7137# as_fn_unset VAR
     7138# ---------------
     7139# Portably unset VAR.
     7140as_fn_unset ()
     7141{
     7142  { eval $1=; unset $1;}
     7143}
     7144as_unset=as_fn_unset
     7145# as_fn_append VAR VALUE
     7146# ----------------------
     7147# Append the text in VALUE to the end of the definition contained in VAR. Take
     7148# advantage of any shell optimizations that allow amortized linear growth over
     7149# repeated appends, instead of the typical quadratic growth present in naive
     7150# implementations.
     7151if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     7152  eval 'as_fn_append ()
     7153  {
     7154    eval $1+=\$2
     7155  }'
     7156else
     7157  as_fn_append ()
     7158  {
     7159    eval $1=\$$1\$2
     7160  }
     7161fi # as_fn_append
     7162
     7163# as_fn_arith ARG...
     7164# ------------------
     7165# Perform arithmetic evaluation on the ARGs, and store the result in the
     7166# global $as_val. Take advantage of shells that can avoid forks. The arguments
     7167# must be portable across $(()) and expr.
     7168if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     7169  eval 'as_fn_arith ()
     7170  {
     7171    as_val=$(( $* ))
     7172  }'
     7173else
     7174  as_fn_arith ()
     7175  {
     7176    as_val=`expr "$@" || test $? -eq 1`
     7177  }
     7178fi # as_fn_arith
     7179
     7180
    86777181if expr a : '\(a\)' >/dev/null 2>&1 &&
    86787182   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    86887192fi
    86897193
    8690 
    8691 # Name of the executable.
     7194if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     7195  as_dirname=dirname
     7196else
     7197  as_dirname=false
     7198fi
     7199
    86927200as_me=`$as_basename -- "$0" ||
    86937201$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    86947202     X"$0" : 'X\(//\)$' \| \
    86957203     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    8696 echo X/"$0" |
     7204$as_echo X/"$0" |
    86977205    sed '/^.*\/\([^/][^/]*\)\/*$/{
    86987206        s//\1/
     
    87097217      s/.*/./; q'`
    87107218
    8711 # CDPATH.
    8712 $as_unset CDPATH
    8713 
    8714 
    8715 
    8716   as_lineno_1=$LINENO
    8717   as_lineno_2=$LINENO
    8718   test "x$as_lineno_1" != "x$as_lineno_2" &&
    8719   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    8720 
    8721   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    8722   # uniformly replaced by the line number.  The first 'sed' inserts a
    8723   # line-number line after each line using $LINENO; the second 'sed'
    8724   # does the real work.  The second script uses 'N' to pair each
    8725   # line-number line with the line containing $LINENO, and appends
    8726   # trailing '-' during substitution so that $LINENO is not a special
    8727   # case at line end.
    8728   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    8729   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    8730   # E. McMahon (1931-1989) for sed's syntax.  :-)
    8731   sed -n '
    8732     p
    8733     /[$]LINENO/=
    8734   ' <$as_myself |
    8735     sed '
    8736       s/[$]LINENO.*/&-/
    8737       t lineno
    8738       b
    8739       :lineno
    8740       N
    8741       :loop
    8742       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    8743       t loop
    8744       s/-\n.*//
    8745     ' >$as_me.lineno &&
    8746   chmod +x "$as_me.lineno" ||
    8747     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    8748    { (exit 1); exit 1; }; }
    8749 
    8750   # Don't try to exec as it changes $[0], causing all sort of problems
    8751   # (the dirname of $[0] is not the place where we might find the
    8752   # original and so on.  Autoconf is especially sensitive to this).
    8753   . "./$as_me.lineno"
    8754   # Exit status is that of the last command.
    8755   exit
    8756 }
    8757 
    8758 
    8759 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    8760   as_dirname=dirname
    8761 else
    8762   as_dirname=false
    8763 fi
     7219# Avoid depending upon Character Ranges.
     7220as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     7221as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     7222as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     7223as_cr_digits='0123456789'
     7224as_cr_alnum=$as_cr_Letters$as_cr_digits
    87647225
    87657226ECHO_C= ECHO_N= ECHO_T=
    8766 case `echo -n x` in
     7227case `echo -n x` in #(((((
    87677228-n*)
    8768   case `echo 'x\c'` in
     7229  case `echo 'xy\c'` in
    87697230  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    8770   *)   ECHO_C='\c';;
     7231  xy)  ECHO_C='\c';;
     7232  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     7233       ECHO_T=' ';;
    87717234  esac;;
    87727235*)
     
    87747237esac
    87757238
    8776 if expr a : '\(a\)' >/dev/null 2>&1 &&
    8777    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    8778   as_expr=expr
    8779 else
    8780   as_expr=false
    8781 fi
    8782 
    87837239rm -f conf$$ conf$$.exe conf$$.file
    87847240if test -d conf$$.dir; then
     
    87867242else
    87877243  rm -f conf$$.dir
    8788   mkdir conf$$.dir
    8789 fi
    8790 echo >conf$$.file
    8791 if ln -s conf$$.file conf$$ 2>/dev/null; then
    8792   as_ln_s='ln -s'
    8793   # ... but there are two gotchas:
    8794   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    8795   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    8796   # In both cases, we have to default to `cp -p'.
    8797   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    8798     as_ln_s='cp -p'
    8799 elif ln conf$$.file conf$$ 2>/dev/null; then
    8800   as_ln_s=ln
    8801 else
    8802   as_ln_s='cp -p'
     7244  mkdir conf$$.dir 2>/dev/null
     7245fi
     7246if (echo >conf$$.file) 2>/dev/null; then
     7247  if ln -s conf$$.file conf$$ 2>/dev/null; then
     7248    as_ln_s='ln -s'
     7249    # ... but there are two gotchas:
     7250    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     7251    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     7252    # In both cases, we have to default to `cp -pR'.
     7253    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     7254      as_ln_s='cp -pR'
     7255  elif ln conf$$.file conf$$ 2>/dev/null; then
     7256    as_ln_s=ln
     7257  else
     7258    as_ln_s='cp -pR'
     7259  fi
     7260else
     7261  as_ln_s='cp -pR'
    88037262fi
    88047263rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    88057264rmdir conf$$.dir 2>/dev/null
    88067265
    8807 if mkdir -p . 2>/dev/null; then
    8808   as_mkdir_p=:
    8809 else
    8810   test -d ./-p && rmdir ./-p
    8811   as_mkdir_p=false
    8812 fi
    8813 
    8814 if test -x / >/dev/null 2>&1; then
    8815   as_test_x='test -x'
    8816 else
    8817   if ls -dL / >/dev/null 2>&1; then
    8818     as_ls_L_option=L
    8819   else
    8820     as_ls_L_option=
    8821   fi
    8822   as_test_x='
    8823     eval sh -c '\''
    8824       if test -d "$1"; then
    8825         test -d "$1/.";
    8826       else
    8827     case $1 in
    8828         -*)set "./$1";;
    8829     esac;
    8830     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    8831     ???[sx]*):;;*)false;;esac;fi
    8832     '\'' sh
    8833   '
    8834 fi
    8835 as_executable_p=$as_test_x
    8836 
    8837 # Sed expression to map a string onto a valid CPP name.
    8838 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    8839 
    8840 # Sed expression to map a string onto a valid variable name.
    8841 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    8842 
    8843 
    8844 exec 6>&1
    8845 
    8846 # Save the log message, to keep $[0] and so on meaningful, and to
    8847 # report actual input values of CONFIG_FILES etc. instead of their
    8848 # values after options handling.
    8849 ac_log="
    8850 This file was extended by $as_me, which was
    8851 generated by GNU Autoconf 2.61.  Invocation command line was
    8852 
    8853   CONFIG_FILES    = $CONFIG_FILES
    8854   CONFIG_HEADERS  = $CONFIG_HEADERS
    8855   CONFIG_LINKS    = $CONFIG_LINKS
    8856   CONFIG_COMMANDS = $CONFIG_COMMANDS
    8857   $ $0 $@
    8858 
    8859 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    8860 "
    8861 
    8862 _ACEOF
    8863 
    8864 cat >>$CONFIG_STATUS <<_ACEOF
    8865 # Files that config.status was made for.
    8866 config_files="$ac_config_files"
    8867 config_headers="$ac_config_headers"
    8868 
    8869 _ACEOF
    8870 
    8871 cat >>$CONFIG_STATUS <<\_ACEOF
    8872 ac_cs_usage="\
    8873 \`$as_me' instantiates files from templates according to the
    8874 current configuration.
    8875 
    8876 Usage: $0 [OPTIONS] [FILE]...
    8877 
    8878   -h, --help       print this help, then exit
    8879   -V, --version    print version number and configuration settings, then exit
    8880   -q, --quiet      do not print progress messages
    8881   -d, --debug      don't remove temporary files
    8882       --recheck    update $as_me by reconfiguring in the same conditions
    8883   --file=FILE[:TEMPLATE]
    8884            instantiate the configuration file FILE
    8885   --header=FILE[:TEMPLATE]
    8886            instantiate the configuration header FILE
    8887 
    8888 Configuration files:
    8889 $config_files
    8890 
    8891 Configuration headers:
    8892 $config_headers
    8893 
    8894 Report bugs to <[email protected]>."
    8895 
    8896 _ACEOF
    8897 cat >>$CONFIG_STATUS <<_ACEOF
    8898 ac_cs_version="\\
    8899 config.status
    8900 configured by $0, generated by GNU Autoconf 2.61,
    8901   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    8902 
    8903 Copyright (C) 2006 Free Software Foundation, Inc.
    8904 This config.status script is free software; the Free Software Foundation
    8905 gives unlimited permission to copy, distribute and modify it."
    8906 
    8907 ac_pwd='$ac_pwd'
    8908 srcdir='$srcdir'
    8909 INSTALL='$INSTALL'
    8910 _ACEOF
    8911 
    8912 cat >>$CONFIG_STATUS <<\_ACEOF
    8913 # If no file are specified by the user, then we need to provide default
    8914 # value.  By we need to know if files were specified by the user.
    8915 ac_need_defaults=:
    8916 while test $# != 0
    8917 do
    8918   case $1 in
    8919   --*=*)
    8920     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    8921     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    8922     ac_shift=:
    8923     ;;
    8924   *)
    8925     ac_option=$1
    8926     ac_optarg=$2
    8927     ac_shift=shift
    8928     ;;
    8929   esac
    8930 
    8931   case $ac_option in
    8932   # Handling of the options.
    8933   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    8934     ac_cs_recheck=: ;;
    8935   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    8936     echo "$ac_cs_version"; exit ;;
    8937   --debug | --debu | --deb | --de | --d | -d )
    8938     debug=: ;;
    8939   --file | --fil | --fi | --f )
    8940     $ac_shift
    8941     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    8942     ac_need_defaults=false;;
    8943   --header | --heade | --head | --hea )
    8944     $ac_shift
    8945     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    8946     ac_need_defaults=false;;
    8947   --he | --h)
    8948     # Conflict between --help and --header
    8949     { echo "$as_me: error: ambiguous option: $1
    8950 Try \`$0 --help' for more information." >&2
    8951    { (exit 1); exit 1; }; };;
    8952   --help | --hel | -h )
    8953     echo "$ac_cs_usage"; exit ;;
    8954   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    8955   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    8956     ac_cs_silent=: ;;
    8957 
    8958   # This is an error.
    8959   -*) { echo "$as_me: error: unrecognized option: $1
    8960 Try \`$0 --help' for more information." >&2
    8961    { (exit 1); exit 1; }; } ;;
    8962 
    8963   *) ac_config_targets="$ac_config_targets $1"
    8964      ac_need_defaults=false ;;
    8965 
    8966   esac
    8967   shift
    8968 done
    8969 
    8970 ac_configure_extra_args=
    8971 
    8972 if $ac_cs_silent; then
    8973   exec 6>/dev/null
    8974   ac_configure_extra_args="$ac_configure_extra_args --silent"
    8975 fi
    8976 
    8977 _ACEOF
    8978 cat >>$CONFIG_STATUS <<_ACEOF
    8979 if \$ac_cs_recheck; then
    8980   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    8981   CONFIG_SHELL=$SHELL
    8982   export CONFIG_SHELL
    8983   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    8984 fi
    8985 
    8986 _ACEOF
    8987 cat >>$CONFIG_STATUS <<\_ACEOF
    8988 exec 5>>config.log
     7266
     7267# as_fn_mkdir_p
     7268# -------------
     7269# Create "$as_dir" as a directory, including parents if necessary.
     7270as_fn_mkdir_p ()
    89897271{
    8990   echo
    8991   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    8992 ## Running $as_me. ##
    8993 _ASBOX
    8994   echo "$ac_log"
    8995 } >&5
    8996 
    8997 _ACEOF
    8998 cat >>$CONFIG_STATUS <<_ACEOF
    8999 _ACEOF
    9000 
    9001 cat >>$CONFIG_STATUS <<\_ACEOF
    9002 
    9003 # Handling of arguments.
    9004 for ac_config_target in $ac_config_targets
    9005 do
    9006   case $ac_config_target in
    9007     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    9008     "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    9009     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    9010     "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    9011     "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    9012 
    9013   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    9014 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    9015    { (exit 1); exit 1; }; };;
    9016   esac
    9017 done
    9018 
    9019 
    9020 # If the user did not use the arguments to specify the items to instantiate,
    9021 # then the envvar interface is used.  Set only those that are not.
    9022 # We use the long form for the default assignment because of an extremely
    9023 # bizarre bug on SunOS 4.1.3.
    9024 if $ac_need_defaults; then
    9025   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    9026   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    9027 fi
    9028 
    9029 # Have a temporary directory for convenience.  Make it in the build tree
    9030 # simply because there is no reason against having it here, and in addition,
    9031 # creating and moving files from /tmp can sometimes cause problems.
    9032 # Hook for its removal unless debugging.
    9033 # Note that there is a small window in which the directory will not be cleaned:
    9034 # after its creation but before its name has been assigned to `$tmp'.
    9035 $debug ||
    9036 {
    9037   tmp=
    9038   trap 'exit_status=$?
    9039   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    9040 ' 0
    9041   trap '{ (exit 1); exit 1; }' 1 2 13 15
    9042 }
    9043 # Create a (secure) tmp directory for tmp files.
    9044 
    9045 {
    9046   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    9047   test -n "$tmp" && test -d "$tmp"
    9048 }  ||
    9049 {
    9050   tmp=./conf$$-$RANDOM
    9051   (umask 077 && mkdir "$tmp")
    9052 } ||
    9053 {
    9054    echo "$me: cannot create a temporary directory in ." >&2
    9055    { (exit 1); exit 1; }
    9056 }
    9057 
    9058 #
    9059 # Set up the sed scripts for CONFIG_FILES section.
    9060 #
    9061 
    9062 # No need to generate the scripts if there are no CONFIG_FILES.
    9063 # This happens for instance when ./config.status config.h
    9064 if test -n "$CONFIG_FILES"; then
    9065 
    9066 _ACEOF
    9067 
    9068 
    9069 
    9070 ac_delim='%!_!# '
    9071 for ac_last_try in false false false false false :; do
    9072   cat >conf$$subs.sed <<_ACEOF
    9073 SHELL!$SHELL$ac_delim
    9074 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    9075 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    9076 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    9077 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    9078 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    9079 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    9080 exec_prefix!$exec_prefix$ac_delim
    9081 prefix!$prefix$ac_delim
    9082 program_transform_name!$program_transform_name$ac_delim
    9083 bindir!$bindir$ac_delim
    9084 sbindir!$sbindir$ac_delim
    9085 libexecdir!$libexecdir$ac_delim
    9086 datarootdir!$datarootdir$ac_delim
    9087 datadir!$datadir$ac_delim
    9088 sysconfdir!$sysconfdir$ac_delim
    9089 sharedstatedir!$sharedstatedir$ac_delim
    9090 localstatedir!$localstatedir$ac_delim
    9091 includedir!$includedir$ac_delim
    9092 oldincludedir!$oldincludedir$ac_delim
    9093 docdir!$docdir$ac_delim
    9094 infodir!$infodir$ac_delim
    9095 htmldir!$htmldir$ac_delim
    9096 dvidir!$dvidir$ac_delim
    9097 pdfdir!$pdfdir$ac_delim
    9098 psdir!$psdir$ac_delim
    9099 libdir!$libdir$ac_delim
    9100 localedir!$localedir$ac_delim
    9101 mandir!$mandir$ac_delim
    9102 DEFS!$DEFS$ac_delim
    9103 ECHO_C!$ECHO_C$ac_delim
    9104 ECHO_N!$ECHO_N$ac_delim
    9105 ECHO_T!$ECHO_T$ac_delim
    9106 LIBS!$LIBS$ac_delim
    9107 build_alias!$build_alias$ac_delim
    9108 host_alias!$host_alias$ac_delim
    9109 target_alias!$target_alias$ac_delim
    9110 PACKAGE!$PACKAGE$ac_delim
    9111 VERSION!$VERSION$ac_delim
    9112 USE_FASTCGI!$USE_FASTCGI$ac_delim
    9113 USE_LANGACTION!$USE_LANGACTION$ac_delim
    9114 USE_CORBA!$USE_CORBA$ac_delim
    9115 MICO_DIR!$MICO_DIR$ac_delim
    9116 USE_Z3950!$USE_Z3950$ac_delim
    9117 USE_YAZ!$USE_YAZ$ac_delim
    9118 ENABLE_JAVA!$ENABLE_JAVA$ac_delim
    9119 USE_WVWARE!$USE_WVWARE$ac_delim
    9120 USE_JDBM!$USE_JDBM$ac_delim
    9121 USE_GDBM!$USE_GDBM$ac_delim
    9122 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
    9123 USE_SQLITE!$USE_SQLITE$ac_delim
    9124 ENABLE_GNOMELIB_EXT!$ENABLE_GNOMELIB_EXT$ac_delim
    9125 LDFLAGS!$LDFLAGS$ac_delim
    9126 CFLAGS!$CFLAGS$ac_delim
    9127 CC!$CC$ac_delim
    9128 CPPFLAGS!$CPPFLAGS$ac_delim
    9129 ac_ct_CC!$ac_ct_CC$ac_delim
    9130 EXEEXT!$EXEEXT$ac_delim
    9131 OBJEXT!$OBJEXT$ac_delim
    9132 CXX!$CXX$ac_delim
    9133 CXXFLAGS!$CXXFLAGS$ac_delim
    9134 ac_ct_CXX!$ac_ct_CXX$ac_delim
    9135 JAVAC!$JAVAC$ac_delim
    9136 JAVACFLAGS!$JAVACFLAGS$ac_delim
    9137 JAVA!$JAVA$ac_delim
    9138 uudecode!$uudecode$ac_delim
    9139 AWK!$AWK$ac_delim
    9140 YACC!$YACC$ac_delim
    9141 YFLAGS!$YFLAGS$ac_delim
    9142 build!$build$ac_delim
    9143 build_cpu!$build_cpu$ac_delim
    9144 build_vendor!$build_vendor$ac_delim
    9145 build_os!$build_os$ac_delim
    9146 host!$host$ac_delim
    9147 host_cpu!$host_cpu$ac_delim
    9148 host_vendor!$host_vendor$ac_delim
    9149 host_os!$host_os$ac_delim
    9150 target!$target$ac_delim
    9151 target_cpu!$target_cpu$ac_delim
    9152 target_vendor!$target_vendor$ac_delim
    9153 target_os!$target_os$ac_delim
    9154 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
    9155 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
    9156 INSTALL_DATA!$INSTALL_DATA$ac_delim
    9157 LN_S!$LN_S$ac_delim
    9158 SET_MAKE!$SET_MAKE$ac_delim
    9159 RANLIB!$RANLIB$ac_delim
    9160 STRIP!$STRIP$ac_delim
    9161 ARCH_DEP_FLAGS!$ARCH_DEP_FLAGS$ac_delim
    9162 MICO_VER!$MICO_VER$ac_delim
    9163 CPP!$CPP$ac_delim
    9164 GREP!$GREP$ac_delim
    9165 EGREP!$EGREP$ac_delim
    9166 U!$U$ac_delim
    9167 ANSI2KNR!$ANSI2KNR$ac_delim
    9168 ALLOCA!$ALLOCA$ac_delim
    9169 LIBOBJS!$LIBOBJS$ac_delim
    9170 _ACEOF
    9171 
    9172   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
    9173     break
    9174   elif $ac_last_try; then
    9175     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    9176 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    9177    { (exit 1); exit 1; }; }
    9178   else
    9179     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    9180   fi
    9181 done
    9182 
    9183 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    9184 if test -n "$ac_eof"; then
    9185   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    9186   ac_eof=`expr $ac_eof + 1`
    9187 fi
    9188 
    9189 cat >>$CONFIG_STATUS <<_ACEOF
    9190 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    9191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    9192 _ACEOF
    9193 sed '
    9194 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    9195 s/^/s,@/; s/!/@,|#_!!_#|/
    9196 :n
    9197 t n
    9198 s/'"$ac_delim"'$/,g/; t
    9199 s/$/\\/; p
    9200 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    9201 ' >>$CONFIG_STATUS <conf$$subs.sed
    9202 rm -f conf$$subs.sed
    9203 cat >>$CONFIG_STATUS <<_ACEOF
    9204 CEOF$ac_eof
    9205 _ACEOF
    9206 
    9207 
    9208 ac_delim='%!_!# '
    9209 for ac_last_try in false false false false false :; do
    9210   cat >conf$$subs.sed <<_ACEOF
    9211 STATIC!$STATIC$ac_delim
    9212 gsdlos!$gsdlos$ac_delim
    9213 MODULEDIRS!$MODULEDIRS$ac_delim
    9214 subdirs!$subdirs$ac_delim
    9215 LTLIBOBJS!$LTLIBOBJS$ac_delim
    9216 _ACEOF
    9217 
    9218   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
    9219     break
    9220   elif $ac_last_try; then
    9221     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    9222 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    9223    { (exit 1); exit 1; }; }
    9224   else
    9225     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    9226   fi
    9227 done
    9228 
    9229 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    9230 if test -n "$ac_eof"; then
    9231   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    9232   ac_eof=`expr $ac_eof + 1`
    9233 fi
    9234 
    9235 cat >>$CONFIG_STATUS <<_ACEOF
    9236 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
    9237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
    9238 _ACEOF
    9239 sed '
    9240 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    9241 s/^/s,@/; s/!/@,|#_!!_#|/
    9242 :n
    9243 t n
    9244 s/'"$ac_delim"'$/,g/; t
    9245 s/$/\\/; p
    9246 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    9247 ' >>$CONFIG_STATUS <conf$$subs.sed
    9248 rm -f conf$$subs.sed
    9249 cat >>$CONFIG_STATUS <<_ACEOF
    9250 :end
    9251 s/|#_!!_#|//g
    9252 CEOF$ac_eof
    9253 _ACEOF
    9254 
    9255 
    9256 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    9257 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    9258 # trailing colons and then remove the whole line if VPATH becomes empty
    9259 # (actually we leave an empty line to preserve line numbers).
    9260 if test "x$srcdir" = x.; then
    9261   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    9262 s/:*\$(srcdir):*/:/
    9263 s/:*\${srcdir}:*/:/
    9264 s/:*@srcdir@:*/:/
    9265 s/^\([^=]*=[     ]*\):*/\1/
    9266 s/:*$//
    9267 s/^[^=]*=[   ]*$//
    9268 }'
    9269 fi
    9270 
    9271 cat >>$CONFIG_STATUS <<\_ACEOF
    9272 fi # test -n "$CONFIG_FILES"
    9273 
    9274 
    9275 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
    9276 do
    9277   case $ac_tag in
    9278   :[FHLC]) ac_mode=$ac_tag; continue;;
    9279   esac
    9280   case $ac_mode$ac_tag in
    9281   :[FHL]*:*);;
    9282   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    9283 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    9284    { (exit 1); exit 1; }; };;
    9285   :[FH]-) ac_tag=-:-;;
    9286   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    9287   esac
    9288   ac_save_IFS=$IFS
    9289   IFS=:
    9290   set x $ac_tag
    9291   IFS=$ac_save_IFS
    9292   shift
    9293   ac_file=$1
    9294   shift
    9295 
    9296   case $ac_mode in
    9297   :L) ac_source=$1;;
    9298   :[FH])
    9299     ac_file_inputs=
    9300     for ac_f
    9301     do
    9302       case $ac_f in
    9303       -) ac_f="$tmp/stdin";;
    9304       *) # Look for the file first in the build tree, then in the source tree
    9305      # (if the path is not absolute).  The absolute path cannot be DOS-style,
    9306      # because $ac_f cannot contain `:'.
    9307      test -f "$ac_f" ||
    9308        case $ac_f in
    9309        [\\/$]*) false;;
    9310        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    9311        esac ||
    9312        { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    9313 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    9314    { (exit 1); exit 1; }; };;
    9315       esac
    9316       ac_file_inputs="$ac_file_inputs $ac_f"
    9317     done
    9318 
    9319     # Let's still pretend it is `configure' which instantiates (i.e., don't
    9320     # use $as_me), people would be surprised to read:
    9321     #    /* config.h.  Generated by config.status.  */
    9322     configure_input="Generated from "`IFS=:
    9323       echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    9324     if test x"$ac_file" != x-; then
    9325       configure_input="$ac_file.  $configure_input"
    9326       { echo "$as_me:$LINENO: creating $ac_file" >&5
    9327 echo "$as_me: creating $ac_file" >&6;}
    9328     fi
    9329 
    9330     case $ac_tag in
    9331     *:-:* | *:-) cat >"$tmp/stdin";;
    9332     esac
    9333     ;;
    9334   esac
    9335 
    9336   ac_dir=`$as_dirname -- "$ac_file" ||
    9337 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9338      X"$ac_file" : 'X\(//\)[^/]' \| \
    9339      X"$ac_file" : 'X\(//\)$' \| \
    9340      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    9341 echo X"$ac_file" |
    9342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    9343         s//\1/
    9344         q
    9345       }
    9346       /^X\(\/\/\)[^/].*/{
    9347         s//\1/
    9348         q
    9349       }
    9350       /^X\(\/\/\)$/{
    9351         s//\1/
    9352         q
    9353       }
    9354       /^X\(\/\).*/{
    9355         s//\1/
    9356         q
    9357       }
    9358       s/.*/./; q'`
    9359   { as_dir="$ac_dir"
     7272
    93607273  case $as_dir in #(
    93617274  -*) as_dir=./$as_dir;;
    93627275  esac
    9363   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     7276  test -d "$as_dir" || eval $as_mkdir_p || {
    93647277    as_dirs=
    93657278    while :; do
    93667279      case $as_dir in #(
    9367       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     7280      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    93687281      *) as_qdir=$as_dir;;
    93697282      esac
     
    93747287     X"$as_dir" : 'X\(//\)$' \| \
    93757288     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    9376 echo X"$as_dir" |
     7289$as_echo X"$as_dir" |
    93777290    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    93787291        s//\1/
     
    93957308    done
    93967309    test -z "$as_dirs" || eval "mkdir $as_dirs"
    9397   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    9398 echo "$as_me: error: cannot create directory $as_dir" >&2;}
    9399    { (exit 1); exit 1; }; }; }
     7310  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     7311
     7312
     7313} # as_fn_mkdir_p
     7314if mkdir -p . 2>/dev/null; then
     7315  as_mkdir_p='mkdir -p "$as_dir"'
     7316else
     7317  test -d ./-p && rmdir ./-p
     7318  as_mkdir_p=false
     7319fi
     7320
     7321
     7322# as_fn_executable_p FILE
     7323# -----------------------
     7324# Test if FILE is an executable regular file.
     7325as_fn_executable_p ()
     7326{
     7327  test -f "$1" && test -x "$1"
     7328} # as_fn_executable_p
     7329as_test_x='test -x'
     7330as_executable_p=as_fn_executable_p
     7331
     7332# Sed expression to map a string onto a valid CPP name.
     7333as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     7334
     7335# Sed expression to map a string onto a valid variable name.
     7336as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     7337
     7338
     7339exec 6>&1
     7340## ----------------------------------- ##
     7341## Main body of $CONFIG_STATUS script. ##
     7342## ----------------------------------- ##
     7343_ASEOF
     7344test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     7345
     7346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7347# Save the log message, to keep $0 and so on meaningful, and to
     7348# report actual input values of CONFIG_FILES etc. instead of their
     7349# values after options handling.
     7350ac_log="
     7351This file was extended by $as_me, which was
     7352generated by GNU Autoconf 2.69.  Invocation command line was
     7353
     7354  CONFIG_FILES    = $CONFIG_FILES
     7355  CONFIG_HEADERS  = $CONFIG_HEADERS
     7356  CONFIG_LINKS    = $CONFIG_LINKS
     7357  CONFIG_COMMANDS = $CONFIG_COMMANDS
     7358  $ $0 $@
     7359
     7360on `(hostname || uname -n) 2>/dev/null | sed 1q`
     7361"
     7362
     7363_ACEOF
     7364
     7365case $ac_config_files in *"
     7366"*) set x $ac_config_files; shift; ac_config_files=$*;;
     7367esac
     7368
     7369case $ac_config_headers in *"
     7370"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     7371esac
     7372
     7373
     7374cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7375# Files that config.status was made for.
     7376config_files="$ac_config_files"
     7377config_headers="$ac_config_headers"
     7378
     7379_ACEOF
     7380
     7381cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7382ac_cs_usage="\
     7383\`$as_me' instantiates files and other configuration actions
     7384from templates according to the current configuration.  Unless the files
     7385and actions are specified as TAGs, all are instantiated by default.
     7386
     7387Usage: $0 [OPTION]... [TAG]...
     7388
     7389  -h, --help       print this help, then exit
     7390  -V, --version    print version number and configuration settings, then exit
     7391      --config     print configuration, then exit
     7392  -q, --quiet, --silent
     7393                   do not print progress messages
     7394  -d, --debug      don't remove temporary files
     7395      --recheck    update $as_me by reconfiguring in the same conditions
     7396      --file=FILE[:TEMPLATE]
     7397                   instantiate the configuration file FILE
     7398      --header=FILE[:TEMPLATE]
     7399                   instantiate the configuration header FILE
     7400
     7401Configuration files:
     7402$config_files
     7403
     7404Configuration headers:
     7405$config_headers
     7406
     7407Report bugs to the package provider."
     7408
     7409_ACEOF
     7410cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7411ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     7412ac_cs_version="\\
     7413config.status
     7414configured by $0, generated by GNU Autoconf 2.69,
     7415  with options \\"\$ac_cs_config\\"
     7416
     7417Copyright (C) 2012 Free Software Foundation, Inc.
     7418This config.status script is free software; the Free Software Foundation
     7419gives unlimited permission to copy, distribute and modify it."
     7420
     7421ac_pwd='$ac_pwd'
     7422srcdir='$srcdir'
     7423INSTALL='$INSTALL'
     7424AWK='$AWK'
     7425test -n "\$AWK" || AWK=awk
     7426_ACEOF
     7427
     7428cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7429# The default lists apply if the user does not specify any file.
     7430ac_need_defaults=:
     7431while test $# != 0
     7432do
     7433  case $1 in
     7434  --*=?*)
     7435    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     7436    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     7437    ac_shift=:
     7438    ;;
     7439  --*=)
     7440    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     7441    ac_optarg=
     7442    ac_shift=:
     7443    ;;
     7444  *)
     7445    ac_option=$1
     7446    ac_optarg=$2
     7447    ac_shift=shift
     7448    ;;
     7449  esac
     7450
     7451  case $ac_option in
     7452  # Handling of the options.
     7453  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     7454    ac_cs_recheck=: ;;
     7455  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     7456    $as_echo "$ac_cs_version"; exit ;;
     7457  --config | --confi | --conf | --con | --co | --c )
     7458    $as_echo "$ac_cs_config"; exit ;;
     7459  --debug | --debu | --deb | --de | --d | -d )
     7460    debug=: ;;
     7461  --file | --fil | --fi | --f )
     7462    $ac_shift
     7463    case $ac_optarg in
     7464    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     7465    '') as_fn_error $? "missing file argument" ;;
     7466    esac
     7467    as_fn_append CONFIG_FILES " '$ac_optarg'"
     7468    ac_need_defaults=false;;
     7469  --header | --heade | --head | --hea )
     7470    $ac_shift
     7471    case $ac_optarg in
     7472    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     7473    esac
     7474    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     7475    ac_need_defaults=false;;
     7476  --he | --h)
     7477    # Conflict between --help and --header
     7478    as_fn_error $? "ambiguous option: \`$1'
     7479Try \`$0 --help' for more information.";;
     7480  --help | --hel | -h )
     7481    $as_echo "$ac_cs_usage"; exit ;;
     7482  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     7483  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     7484    ac_cs_silent=: ;;
     7485
     7486  # This is an error.
     7487  -*) as_fn_error $? "unrecognized option: \`$1'
     7488Try \`$0 --help' for more information." ;;
     7489
     7490  *) as_fn_append ac_config_targets " $1"
     7491     ac_need_defaults=false ;;
     7492
     7493  esac
     7494  shift
     7495done
     7496
     7497ac_configure_extra_args=
     7498
     7499if $ac_cs_silent; then
     7500  exec 6>/dev/null
     7501  ac_configure_extra_args="$ac_configure_extra_args --silent"
     7502fi
     7503
     7504_ACEOF
     7505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7506if \$ac_cs_recheck; then
     7507  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     7508  shift
     7509  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     7510  CONFIG_SHELL='$SHELL'
     7511  export CONFIG_SHELL
     7512  exec "\$@"
     7513fi
     7514
     7515_ACEOF
     7516cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7517exec 5>>config.log
     7518{
     7519  echo
     7520  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     7521## Running $as_me. ##
     7522_ASBOX
     7523  $as_echo "$ac_log"
     7524} >&5
     7525
     7526_ACEOF
     7527cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7528_ACEOF
     7529
     7530cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7531
     7532# Handling of arguments.
     7533for ac_config_target in $ac_config_targets
     7534do
     7535  case $ac_config_target in
     7536    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     7537    "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
     7538    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     7539    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     7540    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     7541
     7542  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     7543  esac
     7544done
     7545
     7546
     7547# If the user did not use the arguments to specify the items to instantiate,
     7548# then the envvar interface is used.  Set only those that are not.
     7549# We use the long form for the default assignment because of an extremely
     7550# bizarre bug on SunOS 4.1.3.
     7551if $ac_need_defaults; then
     7552  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     7553  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
     7554fi
     7555
     7556# Have a temporary directory for convenience.  Make it in the build tree
     7557# simply because there is no reason against having it here, and in addition,
     7558# creating and moving files from /tmp can sometimes cause problems.
     7559# Hook for its removal unless debugging.
     7560# Note that there is a small window in which the directory will not be cleaned:
     7561# after its creation but before its name has been assigned to `$tmp'.
     7562$debug ||
     7563{
     7564  tmp= ac_tmp=
     7565  trap 'exit_status=$?
     7566  : "${ac_tmp:=$tmp}"
     7567  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     7568' 0
     7569  trap 'as_fn_exit 1' 1 2 13 15
     7570}
     7571# Create a (secure) tmp directory for tmp files.
     7572
     7573{
     7574  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     7575  test -d "$tmp"
     7576}  ||
     7577{
     7578  tmp=./conf$$-$RANDOM
     7579  (umask 077 && mkdir "$tmp")
     7580} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     7581ac_tmp=$tmp
     7582
     7583# Set up the scripts for CONFIG_FILES section.
     7584# No need to generate them if there are no CONFIG_FILES.
     7585# This happens for instance with `./config.status config.h'.
     7586if test -n "$CONFIG_FILES"; then
     7587
     7588
     7589ac_cr=`echo X | tr X '\015'`
     7590# On cygwin, bash can eat \r inside `` if the user requested igncr.
     7591# But we know of no other shell where ac_cr would be empty at this
     7592# point, so we can use a bashism as a fallback.
     7593if test "x$ac_cr" = x; then
     7594  eval ac_cr=\$\'\\r\'
     7595fi
     7596ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     7597if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     7598  ac_cs_awk_cr='\\r'
     7599else
     7600  ac_cs_awk_cr=$ac_cr
     7601fi
     7602
     7603echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     7604_ACEOF
     7605
     7606
     7607{
     7608  echo "cat >conf$$subs.awk <<_ACEOF" &&
     7609  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     7610  echo "_ACEOF"
     7611} >conf$$subs.sh ||
     7612  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     7613ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     7614ac_delim='%!_!# '
     7615for ac_last_try in false false false false false :; do
     7616  . ./conf$$subs.sh ||
     7617    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     7618
     7619  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     7620  if test $ac_delim_n = $ac_delim_num; then
     7621    break
     7622  elif $ac_last_try; then
     7623    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     7624  else
     7625    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     7626  fi
     7627done
     7628rm -f conf$$subs.sh
     7629
     7630cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7631cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     7632_ACEOF
     7633sed -n '
     7634h
     7635s/^/S["/; s/!.*/"]=/
     7636p
     7637g
     7638s/^[^!]*!//
     7639:repl
     7640t repl
     7641s/'"$ac_delim"'$//
     7642t delim
     7643:nl
     7644h
     7645s/\(.\{148\}\)..*/\1/
     7646t more1
     7647s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     7648p
     7649n
     7650b repl
     7651:more1
     7652s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     7653p
     7654g
     7655s/.\{148\}//
     7656t nl
     7657:delim
     7658h
     7659s/\(.\{148\}\)..*/\1/
     7660t more2
     7661s/["\\]/\\&/g; s/^/"/; s/$/"/
     7662p
     7663b
     7664:more2
     7665s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     7666p
     7667g
     7668s/.\{148\}//
     7669t delim
     7670' <conf$$subs.awk | sed '
     7671/^[^""]/{
     7672  N
     7673  s/\n//
     7674}
     7675' >>$CONFIG_STATUS || ac_write_fail=1
     7676rm -f conf$$subs.awk
     7677cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7678_ACAWK
     7679cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     7680  for (key in S) S_is_set[key] = 1
     7681  FS = ""
     7682
     7683}
     7684{
     7685  line = $ 0
     7686  nfields = split(line, field, "@")
     7687  substed = 0
     7688  len = length(field[1])
     7689  for (i = 2; i < nfields; i++) {
     7690    key = field[i]
     7691    keylen = length(key)
     7692    if (S_is_set[key]) {
     7693      value = S[key]
     7694      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     7695      len += length(value) + length(field[++i])
     7696      substed = 1
     7697    } else
     7698      len += 1 + keylen
     7699  }
     7700
     7701  print line
     7702}
     7703
     7704_ACAWK
     7705_ACEOF
     7706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7707if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     7708  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     7709else
     7710  cat
     7711fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     7712  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     7713_ACEOF
     7714
     7715# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     7716# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     7717# trailing colons and then remove the whole line if VPATH becomes empty
     7718# (actually we leave an empty line to preserve line numbers).
     7719if test "x$srcdir" = x.; then
     7720  ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
     7721h
     7722s///
     7723s/^/:/
     7724s/[  ]*$/:/
     7725s/:\$(srcdir):/:/g
     7726s/:\${srcdir}:/:/g
     7727s/:@srcdir@:/:/g
     7728s/^:*//
     7729s/:*$//
     7730x
     7731s/\(=[   ]*\).*/\1/
     7732G
     7733s/\n//
     7734s/^[^=]*=[   ]*$//
     7735}'
     7736fi
     7737
     7738cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7739fi # test -n "$CONFIG_FILES"
     7740
     7741# Set up the scripts for CONFIG_HEADERS section.
     7742# No need to generate them if there are no CONFIG_HEADERS.
     7743# This happens for instance with `./config.status Makefile'.
     7744if test -n "$CONFIG_HEADERS"; then
     7745cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     7746BEGIN {
     7747_ACEOF
     7748
     7749# Transform confdefs.h into an awk script `defines.awk', embedded as
     7750# here-document in config.status, that substitutes the proper values into
     7751# config.h.in to produce config.h.
     7752
     7753# Create a delimiter string that does not exist in confdefs.h, to ease
     7754# handling of long lines.
     7755ac_delim='%!_!# '
     7756for ac_last_try in false false :; do
     7757  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     7758  if test -z "$ac_tt"; then
     7759    break
     7760  elif $ac_last_try; then
     7761    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     7762  else
     7763    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     7764  fi
     7765done
     7766
     7767# For the awk script, D is an array of macro values keyed by name,
     7768# likewise P contains macro parameters if any.  Preserve backslash
     7769# newline sequences.
     7770
     7771ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     7772sed -n '
     7773s/.\{148\}/&'"$ac_delim"'/g
     7774t rset
     7775:rset
     7776s/^[     ]*#[    ]*define[   ][  ]*/ /
     7777t def
     7778d
     7779:def
     7780s/\\$//
     7781t bsnl
     7782s/["\\]/\\&/g
     7783s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     7784D["\1"]=" \3"/p
     7785s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
     7786d
     7787:bsnl
     7788s/["\\]/\\&/g
     7789s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     7790D["\1"]=" \3\\\\\\n"\\/p
     7791t cont
     7792s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     7793t cont
     7794d
     7795:cont
     7796n
     7797s/.\{148\}/&'"$ac_delim"'/g
     7798t clear
     7799:clear
     7800s/\\$//
     7801t bsnlc
     7802s/["\\]/\\&/g; s/^/"/; s/$/"/p
     7803d
     7804:bsnlc
     7805s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     7806b cont
     7807' <confdefs.h | sed '
     7808s/'"$ac_delim"'/"\\\
     7809"/g' >>$CONFIG_STATUS || ac_write_fail=1
     7810
     7811cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7812  for (key in D) D_is_set[key] = 1
     7813  FS = ""
     7814}
     7815/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     7816  line = \$ 0
     7817  split(line, arg, " ")
     7818  if (arg[1] == "#") {
     7819    defundef = arg[2]
     7820    mac1 = arg[3]
     7821  } else {
     7822    defundef = substr(arg[1], 2)
     7823    mac1 = arg[2]
     7824  }
     7825  split(mac1, mac2, "(") #)
     7826  macro = mac2[1]
     7827  prefix = substr(line, 1, index(line, defundef) - 1)
     7828  if (D_is_set[macro]) {
     7829    # Preserve the white space surrounding the "#".
     7830    print prefix "define", macro P[macro] D[macro]
     7831    next
     7832  } else {
     7833    # Replace #undef with comments.  This is necessary, for example,
     7834    # in the case of _POSIX_SOURCE, which is predefined and required
     7835    # on some systems where configure will not decide to define it.
     7836    if (defundef == "undef") {
     7837      print "/*", prefix defundef, macro, "*/"
     7838      next
     7839    }
     7840  }
     7841}
     7842{ print }
     7843_ACAWK
     7844_ACEOF
     7845cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7846  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     7847fi # test -n "$CONFIG_HEADERS"
     7848
     7849
     7850eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     7851shift
     7852for ac_tag
     7853do
     7854  case $ac_tag in
     7855  :[FHLC]) ac_mode=$ac_tag; continue;;
     7856  esac
     7857  case $ac_mode$ac_tag in
     7858  :[FHL]*:*);;
     7859  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     7860  :[FH]-) ac_tag=-:-;;
     7861  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     7862  esac
     7863  ac_save_IFS=$IFS
     7864  IFS=:
     7865  set x $ac_tag
     7866  IFS=$ac_save_IFS
     7867  shift
     7868  ac_file=$1
     7869  shift
     7870
     7871  case $ac_mode in
     7872  :L) ac_source=$1;;
     7873  :[FH])
     7874    ac_file_inputs=
     7875    for ac_f
     7876    do
     7877      case $ac_f in
     7878      -) ac_f="$ac_tmp/stdin";;
     7879      *) # Look for the file first in the build tree, then in the source tree
     7880     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     7881     # because $ac_f cannot contain `:'.
     7882     test -f "$ac_f" ||
     7883       case $ac_f in
     7884       [\\/$]*) false;;
     7885       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     7886       esac ||
     7887       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     7888      esac
     7889      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     7890      as_fn_append ac_file_inputs " '$ac_f'"
     7891    done
     7892
     7893    # Let's still pretend it is `configure' which instantiates (i.e., don't
     7894    # use $as_me), people would be surprised to read:
     7895    #    /* config.h.  Generated by config.status.  */
     7896    configure_input='Generated from '`
     7897      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     7898    `' by configure.'
     7899    if test x"$ac_file" != x-; then
     7900      configure_input="$ac_file.  $configure_input"
     7901      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     7902$as_echo "$as_me: creating $ac_file" >&6;}
     7903    fi
     7904    # Neutralize special characters interpreted by sed in replacement strings.
     7905    case $configure_input in #(
     7906    *\&* | *\|* | *\\* )
     7907       ac_sed_conf_input=`$as_echo "$configure_input" |
     7908       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     7909    *) ac_sed_conf_input=$configure_input;;
     7910    esac
     7911
     7912    case $ac_tag in
     7913    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     7914      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     7915    esac
     7916    ;;
     7917  esac
     7918
     7919  ac_dir=`$as_dirname -- "$ac_file" ||
     7920$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     7921     X"$ac_file" : 'X\(//\)[^/]' \| \
     7922     X"$ac_file" : 'X\(//\)$' \| \
     7923     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     7924$as_echo X"$ac_file" |
     7925    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     7926        s//\1/
     7927        q
     7928      }
     7929      /^X\(\/\/\)[^/].*/{
     7930        s//\1/
     7931        q
     7932      }
     7933      /^X\(\/\/\)$/{
     7934        s//\1/
     7935        q
     7936      }
     7937      /^X\(\/\).*/{
     7938        s//\1/
     7939        q
     7940      }
     7941      s/.*/./; q'`
     7942  as_dir="$ac_dir"; as_fn_mkdir_p
    94007943  ac_builddir=.
    94017944
     
    94037946.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    94047947*)
    9405   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     7948  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    94067949  # A ".." for each directory in $ac_dir_suffix.
    9407   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     7950  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    94087951  case $ac_top_builddir_sub in
    94097952  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    94457988_ACEOF
    94467989
    9447 cat >>$CONFIG_STATUS <<\_ACEOF
     7990cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    94487991# If the template does not know about datarootdir, expand it.
    94497992# FIXME: This hack should be removed a few years after 2.60.
    94507993ac_datarootdir_hack=; ac_datarootdir_seen=
    9451 
    9452 case `sed -n '/datarootdir/ {
     7994ac_sed_dataroot='
     7995/datarootdir/ {
    94537996  p
    94547997  q
     
    94588001/@infodir@/p
    94598002/@localedir@/p
    9460 /@mandir@/p
    9461 ' $ac_file_inputs` in
     8003/@mandir@/p'
     8004case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    94628005*datarootdir*) ac_datarootdir_seen=yes;;
    94638006*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    9464   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    9465 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    9466 _ACEOF
    9467 cat >>$CONFIG_STATUS <<_ACEOF
     8007  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     8008$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     8009_ACEOF
     8010cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    94688011  ac_datarootdir_hack='
    94698012  s&@datadir@&$datadir&g
     
    94728015  s&@localedir@&$localedir&g
    94738016  s&@mandir@&$mandir&g
    9474     s&\\\${datarootdir}&$datarootdir&g' ;;
     8017  s&\\\${datarootdir}&$datarootdir&g' ;;
    94758018esac
    94768019_ACEOF
     
    94798022# Shell code in configure.ac might set extrasub.
    94808023# FIXME: do we really want to maintain this feature?
    9481 cat >>$CONFIG_STATUS <<_ACEOF
    9482   sed "$ac_vpsub
     8024cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8025ac_sed_extra="$ac_vpsub
    94838026$extrasub
    94848027_ACEOF
    9485 cat >>$CONFIG_STATUS <<\_ACEOF
     8028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    94868029:t
    94878030/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    9488 s&@configure_input@&$configure_input&;t t
     8031s|@configure_input@|$ac_sed_conf_input|;t t
    94898032s&@top_builddir@&$ac_top_builddir_sub&;t t
     8033s&@top_build_prefix@&$ac_top_build_prefix&;t t
    94908034s&@srcdir@&$ac_srcdir&;t t
    94918035s&@abs_srcdir@&$ac_abs_srcdir&;t t
     
    94978041s&@INSTALL@&$ac_INSTALL&;t t
    94988042$ac_datarootdir_hack
    9499 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
     8043"
     8044eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     8045  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    95008046
    95018047test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    9502   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    9503   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    9504   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9505 which seems to be undefined.  Please make sure it is defined." >&5
    9506 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9507 which seems to be undefined.  Please make sure it is defined." >&2;}
    9508 
    9509   rm -f "$tmp/stdin"
     8048  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     8049  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     8050      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     8051  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8052which seems to be undefined.  Please make sure it is defined" >&5
     8053$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8054which seems to be undefined.  Please make sure it is defined" >&2;}
     8055
     8056  rm -f "$ac_tmp/stdin"
    95108057  case $ac_file in
    9511   -) cat "$tmp/out"; rm -f "$tmp/out";;
    9512   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
    9513   esac
     8058  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     8059  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     8060  esac \
     8061  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    95148062 ;;
    95158063  :H)
     
    95178065  # CONFIG_HEADER
    95188066  #
    9519 _ACEOF
    9520 
    9521 # Transform confdefs.h into a sed script `conftest.defines', that
    9522 # substitutes the proper values into config.h.in to produce config.h.
    9523 rm -f conftest.defines conftest.tail
    9524 # First, append a space to every undef/define line, to ease matching.
    9525 echo 's/$/ /' >conftest.defines
    9526 # Then, protect against being on the right side of a sed subst, or in
    9527 # an unquoted here document, in config.status.  If some macros were
    9528 # called several times there might be several #defines for the same
    9529 # symbol, which is useless.  But do not sort them, since the last
    9530 # AC_DEFINE must be honored.
    9531 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    9532 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
    9533 # NAME is the cpp macro being defined, VALUE is the value it is being given.
    9534 # PARAMS is the parameter list in the macro definition--in most cases, it's
    9535 # just an empty string.
    9536 ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
    9537 ac_dB='\\)[  (].*,\\1define\\2'
    9538 ac_dC=' '
    9539 ac_dD=' ,'
    9540 
    9541 uniq confdefs.h |
    9542   sed -n '
    9543     t rset
    9544     :rset
    9545     s/^[     ]*#[    ]*define[   ][  ]*//
    9546     t ok
    9547     d
    9548     :ok
    9549     s/[\\&,]/\\&/g
    9550     s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
    9551     s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
    9552   ' >>conftest.defines
    9553 
    9554 # Remove the space that was appended to ease matching.
    9555 # Then replace #undef with comments.  This is necessary, for
    9556 # example, in the case of _POSIX_SOURCE, which is predefined and required
    9557 # on some systems where configure will not decide to define it.
    9558 # (The regexp can be short, since the line contains either #define or #undef.)
    9559 echo 's/ $//
    9560 s,^[     #]*u.*,/* & */,' >>conftest.defines
    9561 
    9562 # Break up conftest.defines:
    9563 ac_max_sed_lines=50
    9564 
    9565 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
    9566 # Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
    9567 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
    9568 # et cetera.
    9569 ac_in='$ac_file_inputs'
    9570 ac_out='"$tmp/out1"'
    9571 ac_nxt='"$tmp/out2"'
    9572 
    9573 while :
    9574 do
    9575   # Write a here document:
    9576     cat >>$CONFIG_STATUS <<_ACEOF
    9577     # First, check the format of the line:
    9578     cat >"\$tmp/defines.sed" <<\\CEOF
    9579 /^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
    9580 /^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
    9581 b
    9582 :def
    9583 _ACEOF
    9584   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
    9585   echo 'CEOF
    9586     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
    9587   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
    9588   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
    9589   grep . conftest.tail >/dev/null || break
    9590   rm -f conftest.defines
    9591   mv conftest.tail conftest.defines
    9592 done
    9593 rm -f conftest.defines conftest.tail
    9594 
    9595 echo "ac_result=$ac_in" >>$CONFIG_STATUS
    9596 cat >>$CONFIG_STATUS <<\_ACEOF
    95978067  if test x"$ac_file" != x-; then
    9598     echo "/* $configure_input  */" >"$tmp/config.h"
    9599     cat "$ac_result" >>"$tmp/config.h"
    9600     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
    9601       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    9602 echo "$as_me: $ac_file is unchanged" >&6;}
     8068    {
     8069      $as_echo "/* $configure_input  */" \
     8070      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     8071    } >"$ac_tmp/config.h" \
     8072      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     8073    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     8074      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     8075$as_echo "$as_me: $ac_file is unchanged" >&6;}
    96038076    else
    9604       rm -f $ac_file
    9605       mv "$tmp/config.h" $ac_file
     8077      rm -f "$ac_file"
     8078      mv "$ac_tmp/config.h" "$ac_file" \
     8079    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    96068080    fi
    96078081  else
    9608     echo "/* $configure_input  */"
    9609     cat "$ac_result"
     8082    $as_echo "/* $configure_input  */" \
     8083      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     8084      || as_fn_error $? "could not create -" "$LINENO" 5
    96108085  fi
    9611   rm -f "$tmp/out12"
    96128086 ;;
    96138087
     
    96188092
    96198093
    9620 { (exit 0); exit 0; }
    9621 _ACEOF
    9622 chmod +x $CONFIG_STATUS
     8094as_fn_exit 0
     8095_ACEOF
    96238096ac_clean_files=$ac_clean_files_save
     8097
     8098test $ac_write_fail = 0 ||
     8099  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    96248100
    96258101
     
    96428118  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    96438119  # would make configure fail if this is the last instruction.
    9644   $ac_cs_success || { (exit 1); exit 1; }
     8120  $ac_cs_success || as_fn_exit 1
    96458121fi
    96468122
     
    96508126if test "$no_recursion" != yes; then
    96518127
    9652   # Remove --cache-file and --srcdir arguments so they do not pile up.
     8128  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
     8129  # so they do not pile up.
    96538130  ac_sub_configure_args=
    96548131  ac_prev=
     
    96798156    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    96808157      ;;
     8158    --disable-option-checking)
     8159      ;;
    96818160    *)
    96828161      case $ac_arg in
    9683       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8162      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    96848163      esac
    9685       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     8164      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    96868165    esac
    96878166  done
     
    96918170  ac_arg="--prefix=$prefix"
    96928171  case $ac_arg in
    9693   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8172  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    96948173  esac
    96958174  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     
    97008179  fi
    97018180
     8181  # Always prepend --disable-option-checking to silence warnings, since
     8182  # different subdirs can have different --enable and --with options.
     8183  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
     8184
    97028185  ac_popdir=`pwd`
    97038186  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
     
    97088191
    97098192    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    9710     echo "$as_me:$LINENO: $ac_msg" >&5
    9711     echo "$ac_msg" >&6
    9712     { as_dir="$ac_dir"
    9713   case $as_dir in #(
    9714   -*) as_dir=./$as_dir;;
    9715   esac
    9716   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    9717     as_dirs=
    9718     while :; do
    9719       case $as_dir in #(
    9720       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    9721       *) as_qdir=$as_dir;;
    9722       esac
    9723       as_dirs="'$as_qdir' $as_dirs"
    9724       as_dir=`$as_dirname -- "$as_dir" ||
    9725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9726      X"$as_dir" : 'X\(//\)[^/]' \| \
    9727      X"$as_dir" : 'X\(//\)$' \| \
    9728      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    9729 echo X"$as_dir" |
    9730     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    9731         s//\1/
    9732         q
    9733       }
    9734       /^X\(\/\/\)[^/].*/{
    9735         s//\1/
    9736         q
    9737       }
    9738       /^X\(\/\/\)$/{
    9739         s//\1/
    9740         q
    9741       }
    9742       /^X\(\/\).*/{
    9743         s//\1/
    9744         q
    9745       }
    9746       s/.*/./; q'`
    9747       test -d "$as_dir" && break
    9748     done
    9749     test -z "$as_dirs" || eval "mkdir $as_dirs"
    9750   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    9751 echo "$as_me: error: cannot create directory $as_dir" >&2;}
    9752    { (exit 1); exit 1; }; }; }
     8193    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
     8194    $as_echo "$ac_msg" >&6
     8195    as_dir="$ac_dir"; as_fn_mkdir_p
    97538196    ac_builddir=.
    97548197
     
    97568199.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    97578200*)
    9758   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8201  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    97598202  # A ".." for each directory in $ac_dir_suffix.
    9760   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     8203  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    97618204  case $ac_top_builddir_sub in
    97628205  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    97978240      ac_sub_configure=$ac_aux_dir/configure
    97988241    else
    9799       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    9800 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     8242      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
     8243$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    98018244      ac_sub_configure=
    98028245    fi
     
    98118254      esac
    98128255
    9813       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    9814 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     8256      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     8257$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    98158258      # The eval makes quoting arguments work.
    98168259      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    98178260       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    9818     { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    9819 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    9820    { (exit 1); exit 1; }; }
     8261    as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    98218262    fi
    98228263
     
    98248265  done
    98258266fi
    9826 
    9827 
    9828 
     8267if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     8268  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     8269$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     8270fi
     8271
     8272
     8273
  • main/trunk/greenstone2/common-src/aclocal.m4

    r23356 r35306  
    226226AC_PROVIDE([$0])dnl
    227227if test "x$JAVACFLAGS" = x ; then
    228   JAVACFLAGS="-source 1.4 -target 1.4"
     228  JAVACFLAGS="-source 1.6 -target 1.6"
    229229fi
    230230AC_SUBST(JAVACFLAGS)
  • main/trunk/greenstone2/common-src/configure

    r26808 r35306  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68.
     3# Generated by GNU Autoconf 2.69.
    44#
    55#
    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.
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    97#
    108#
     
    135133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136134
     135# Use a proper internal environment variable to ensure we don't fall
     136  # into an infinite loop, continuously re-executing ourselves.
     137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     138    _as_can_reexec=no; export _as_can_reexec;
     139    # We cannot yet assume a decent shell, so we have to provide a
     140# neutralization value for shells without unset; and this also
     141# works around shells that cannot unset nonexistent variables.
     142# Preserve -v and -x to the replacement shell.
     143BASH_ENV=/dev/null
     144ENV=/dev/null
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     146case $- in # ((((
     147  *v*x* | *x*v* ) as_opts=-vx ;;
     148  *v* ) as_opts=-v ;;
     149  *x* ) as_opts=-x ;;
     150  * ) as_opts= ;;
     151esac
     152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     153# Admittedly, this is quite paranoid, since all the known shells bail
     154# out after a failed `exec'.
     155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     156as_fn_exit 255
     157  fi
     158  # We don't want this to propagate to other subprocesses.
     159          { _as_can_reexec=; unset _as_can_reexec;}
    137160if test "x$CONFIG_SHELL" = x; then
    138161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     
    168191  exitcode=1; echo positional parameters were not saved.
    169192fi
    170 test x\$exitcode = x0 || exit 1"
     193test x\$exitcode = x0 || exit 1
     194test -x / || exit 1"
    171195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    172196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     
    213237
    214238      if test "x$CONFIG_SHELL" != x; then :
    215   # We cannot yet assume a decent shell, so we have to provide a
    216     # neutralization value for shells without unset; and this also
    217     # works around shells that cannot unset nonexistent variables.
    218     # Preserve -v and -x to the replacement shell.
    219     BASH_ENV=/dev/null
    220     ENV=/dev/null
    221     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222     export CONFIG_SHELL
    223     case $- in # ((((
    224       *v*x* | *x*v* ) as_opts=-vx ;;
    225       *v* ) as_opts=-v ;;
    226       *x* ) as_opts=-x ;;
    227       * ) as_opts= ;;
    228     esac
    229     exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     239  export CONFIG_SHELL
     240             # We cannot yet assume a decent shell, so we have to provide a
     241# neutralization value for shells without unset; and this also
     242# works around shells that cannot unset nonexistent variables.
     243# Preserve -v and -x to the replacement shell.
     244BASH_ENV=/dev/null
     245ENV=/dev/null
     246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     247case $- in # ((((
     248  *v*x* | *x*v* ) as_opts=-vx ;;
     249  *v* ) as_opts=-v ;;
     250  *x* ) as_opts=-x ;;
     251  * ) as_opts= ;;
     252esac
     253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     254# Admittedly, this is quite paranoid, since all the known shells bail
     255# out after a failed `exec'.
     256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     257exit 255
    230258fi
    231259
     
    329357
    330358} # as_fn_mkdir_p
     359
     360# as_fn_executable_p FILE
     361# -----------------------
     362# Test if FILE is an executable regular file.
     363as_fn_executable_p ()
     364{
     365  test -f "$1" && test -x "$1"
     366} # as_fn_executable_p
    331367# as_fn_append VAR VALUE
    332368# ----------------------
     
    450486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    451487
     488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     489  # already done that, so ensure we don't try to do so again and fall
     490  # in an infinite loop.  This has already happened in practice.
     491  _as_can_reexec=no; export _as_can_reexec
    452492  # Don't try to exec as it changes $[0], causing all sort of problems
    453493  # (the dirname of $[0] is not the place where we might find the
     
    484524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    485525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    486     # In both cases, we have to default to `cp -p'.
     526    # In both cases, we have to default to `cp -pR'.
    487527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    488       as_ln_s='cp -p'
     528      as_ln_s='cp -pR'
    489529  elif ln conf$$.file conf$$ 2>/dev/null; then
    490530    as_ln_s=ln
    491531  else
    492     as_ln_s='cp -p'
     532    as_ln_s='cp -pR'
    493533  fi
    494534else
    495   as_ln_s='cp -p'
     535  as_ln_s='cp -pR'
    496536fi
    497537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    505545fi
    506546
    507 if test -x / >/dev/null 2>&1; then
    508   as_test_x='test -x'
    509 else
    510   if ls -dL / >/dev/null 2>&1; then
    511     as_ls_L_option=L
    512   else
    513     as_ls_L_option=
    514   fi
    515   as_test_x='
    516     eval sh -c '\''
    517       if test -d "$1"; then
    518     test -d "$1/.";
    519       else
    520     case $1 in #(
    521     -*)set "./$1";;
    522     esac;
    523     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    524     ???[sx]*):;;*)false;;esac;fi
    525     '\'' sh
    526   '
    527 fi
    528 as_executable_p=$as_test_x
     547as_test_x='test -x'
     548as_executable_p=as_fn_executable_p
    529549
    530550# Sed expression to map a string onto a valid CPP name.
     
    688708oldincludedir
    689709includedir
     710runstatedir
    690711localstatedir
    691712sharedstatedir
     
    779800sharedstatedir='${prefix}/com'
    780801localstatedir='${prefix}/var'
     802runstatedir='${localstatedir}/run'
    781803includedir='${prefix}/include'
    782804oldincludedir='/usr/include'
     
    10311053    silent=yes ;;
    10321054
     1055  -runstatedir | --runstatedir | --runstatedi | --runstated \
     1056  | --runstate | --runstat | --runsta | --runst | --runs \
     1057  | --run | --ru | --r)
     1058    ac_prev=runstatedir ;;
     1059  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     1060  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     1061  | --run=* | --ru=* | --r=*)
     1062    runstatedir=$ac_optarg ;;
     1063
    10331064  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    10341065    ac_prev=sbindir ;;
     
    11681199        datadir sysconfdir sharedstatedir localstatedir includedir \
    11691200        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1170         libdir localedir mandir
     1201        libdir localedir mandir runstatedir
    11711202do
    11721203  eval ac_val=\$$ac_var
     
    11961227  if test "x$build_alias" = x; then
    11971228    cross_compiling=maybe
    1198     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1199     If a cross compiler is detected then cross compile mode will be used" >&2
    12001229  elif test "x$build_alias" != "x$host_alias"; then
    12011230    cross_compiling=yes
     
    13231352  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    13241353  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1354  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
    13251355  --libdir=DIR            object code libraries [EPREFIX/lib]
    13261356  --includedir=DIR        C header files [PREFIX/include]
     
    14611491  cat <<\_ACEOF
    14621492configure
    1463 generated by GNU Autoconf 2.68
    1464 
    1465 Copyright (C) 2010 Free Software Foundation, Inc.
     1493generated by GNU Autoconf 2.69
     1494
     1495Copyright (C) 2012 Free Software Foundation, Inc.
    14661496This configure script is free software; the Free Software Foundation
    14671497gives unlimited permission to copy, distribute and modify it.
     
    17741804       } && test -s conftest$ac_exeext && {
    17751805     test "$cross_compiling" = yes ||
    1776      $as_test_x conftest$ac_exeext
     1806     test -x conftest$ac_exeext
    17771807       }; then :
    17781808  ac_retval=0
     
    19601990
    19611991It was created by $as_me, which was
    1962 generated by GNU Autoconf 2.68.  Invocation command line was
     1992generated by GNU Autoconf 2.69.  Invocation command line was
    19631993
    19641994  $ $0 $@
     
    25812611  test -z "$as_dir" && as_dir=.
    25822612    for ac_exec_ext in '' $ac_executable_extensions; do
    2583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25842614    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    25852615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    26212651  test -z "$as_dir" && as_dir=.
    26222652    for ac_exec_ext in '' $ac_executable_extensions; do
    2623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26242654    ac_cv_prog_ac_ct_CC="gcc"
    26252655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    26742704  test -z "$as_dir" && as_dir=.
    26752705    for ac_exec_ext in '' $ac_executable_extensions; do
    2676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26772707    ac_cv_prog_CC="${ac_tool_prefix}cc"
    26782708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27152745  test -z "$as_dir" && as_dir=.
    27162746    for ac_exec_ext in '' $ac_executable_extensions; do
    2717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2747  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27182748    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    27192749       ac_prog_rejected=yes
     
    27732803  test -z "$as_dir" && as_dir=.
    27742804    for ac_exec_ext in '' $ac_executable_extensions; do
    2775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27762806    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    27772807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28172847  test -z "$as_dir" && as_dir=.
    28182848    for ac_exec_ext in '' $ac_executable_extensions; do
    2819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28202850    ac_cv_prog_ac_ct_CC="$ac_prog"
    28212851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32633293#include <stdarg.h>
    32643294#include <stdio.h>
    3265 #include <sys/types.h>
    3266 #include <sys/stat.h>
     3295struct stat;
    32673296/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    32683297struct buf { int x; };
     
    33773406  test -z "$as_dir" && as_dir=.
    33783407    for ac_exec_ext in '' $ac_executable_extensions; do
    3379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3408  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33803409    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    33813410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    34213450  test -z "$as_dir" && as_dir=.
    34223451    for ac_exec_ext in '' $ac_executable_extensions; do
    3423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3452  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34243453    ac_cv_prog_ac_ct_CXX="$ac_prog"
    34253454    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    36293658  test -z "$as_dir" && as_dir=.
    36303659    for ac_exec_ext in '' $ac_executable_extensions; do
    3631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36323661    ac_cv_prog_JAVA="$ac_prog"
    36333662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    36723701  test -z "$as_dir" && as_dir=.
    36733702    for ac_exec_ext in '' $ac_executable_extensions; do
    3674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3703  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36753704    ac_cv_prog_JAVA="$ac_prog"
    36763705    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    37183747  test -z "$as_dir" && as_dir=.
    37193748    for ac_exec_ext in '' $ac_executable_extensions; do
    3720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3749  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37213750    ac_cv_prog_uudecode="yes"
    37223751    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    37603789        ac_cv_prog_uudecode_base64=yes
    37613790else
    3762         echo "configure: 3762: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3791        echo "configure: 3791: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    37633792        echo "configure: failed file was:" >&5
    37643793        cat Test.uue >&5
     
    37993828  test -z "$as_dir" && as_dir=.
    38003829    for ac_exec_ext in '' $ac_executable_extensions; do
    3801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3830  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38023831    ac_cv_prog_JAVAC="$ac_prog"
    38033832    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38423871  test -z "$as_dir" && as_dir=.
    38433872    for ac_exec_ext in '' $ac_executable_extensions; do
    3844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3873  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38453874    ac_cv_prog_JAVAC="$ac_prog"
    38463875    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38833912CLASS_TEST=Test.class
    38843913cat << \EOF > $JAVA_TEST
    3885 /* #line 3885 "configure" */
     3914/* #line 3914 "configure" */
    38863915public class Test {
    38873916}
     
    39053934$as_echo "$ac_cv_prog_javac_works" >&6; }
    39063935if test "x$JAVACFLAGS" = x ; then
    3907   JAVACFLAGS="-source 1.4 -target 1.4"
     3936  JAVACFLAGS="-source 1.6 -target 1.6"
    39083937fi
    39093938
     
    39223951TEST=Test
    39233952cat << \EOF > $JAVA_TEST
    3924 /* [#]line 3924 "configure" */
     3953/* [#]line 3953 "configure" */
    39253954public class Test {
    39263955public static void main (String args[]) {
     
    39834012  test -z "$as_dir" && as_dir=.
    39844013    for ac_exec_ext in '' $ac_executable_extensions; do
    3985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4014  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39864015    ac_cv_prog_JAVAC="$ac_prog"
    39874016    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    40264055  test -z "$as_dir" && as_dir=.
    40274056    for ac_exec_ext in '' $ac_executable_extensions; do
    4028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4057  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40294058    ac_cv_prog_JAVAC="$ac_prog"
    40304059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    40674096CLASS_TEST=Test.class
    40684097cat << \EOF > $JAVA_TEST
    4069 /* #line 4069 "configure" */
     4098/* #line 4098 "configure" */
    40704099public class Test {
    40714100}
     
    40894118$as_echo "$ac_cv_prog_javac_works" >&6; }
    40904119if test "x$JAVACFLAGS" = x ; then
    4091   JAVACFLAGS="-source 1.4 -target 1.4"
     4120  JAVACFLAGS="-source 1.6 -target 1.6"
    40924121fi
    40934122
     
    41134142  test -z "$as_dir" && as_dir=.
    41144143    for ac_exec_ext in '' $ac_executable_extensions; do
    4115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41164145    ac_cv_prog_AWK="$ac_prog"
    41174146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    41554184  test -z "$as_dir" && as_dir=.
    41564185    for ac_exec_ext in '' $ac_executable_extensions; do
    4157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41584187    ac_cv_prog_YACC="$ac_prog"
    41594188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    43574386    for ac_prog in ginstall scoinst install; do
    43584387      for ac_exec_ext in '' $ac_executable_extensions; do
    4359     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     4388    if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    43604389      if test $ac_prog = install &&
    43614390        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    44724501  test -z "$as_dir" && as_dir=.
    44734502    for ac_exec_ext in '' $ac_executable_extensions; do
    4474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    44754504    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    44764505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    45124541  test -z "$as_dir" && as_dir=.
    45134542    for ac_exec_ext in '' $ac_executable_extensions; do
    4514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4543  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    45154544    ac_cv_prog_ac_ct_RANLIB="ranlib"
    45164545    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    45644593  test -z "$as_dir" && as_dir=.
    45654594    for ac_exec_ext in '' $ac_executable_extensions; do
    4566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    45674596    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    45684597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    46044633  test -z "$as_dir" && as_dir=.
    46054634    for ac_exec_ext in '' $ac_executable_extensions; do
    4606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4635  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    46074636    ac_cv_prog_ac_ct_STRIP="strip"
    46084637    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    48524881    for ac_exec_ext in '' $ac_executable_extensions; do
    48534882      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4854       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4883      as_fn_executable_p "$ac_path_GREP" || continue
    48554884# Check for GNU ac_path_GREP and select it if it is found.
    48564885  # Check for GNU $ac_path_GREP
     
    49184947    for ac_exec_ext in '' $ac_executable_extensions; do
    49194948      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4920       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4949      as_fn_executable_p "$ac_path_EGREP" || continue
    49214950# Check for GNU ac_path_EGREP and select it if it is found.
    49224951  # Check for GNU $ac_path_EGREP
     
    51255154/* end confdefs.h.  */
    51265155
    5127 #     define __EXTENSIONS__ 1
    5128       $ac_includes_default
     5156#         define __EXTENSIONS__ 1
     5157          $ac_includes_default
    51295158int
    51305159main ()
     
    52885317main ()
    52895318{
    5290 /* FIXME: Include the comments suggested by Paul. */
     5319
    52915320#ifndef __cplusplus
    5292   /* Ultrix mips cc rejects this.  */
     5321  /* Ultrix mips cc rejects this sort of thing.  */
    52935322  typedef int charset[2];
    5294   const charset cs;
     5323  const charset cs = { 0, 0 };
    52955324  /* SunOS 4.1.1 cc rejects this.  */
    52965325  char const *const *pcpcc;
     
    53095338  ppc = (char**) pcpcc;
    53105339  pcpcc = (char const *const *) ppc;
    5311   { /* SCO 3.2v4 cc rejects this.  */
    5312     char *t;
     5340  { /* SCO 3.2v4 cc rejects this sort of thing.  */
     5341    char tx;
     5342    char *t = &tx;
    53135343    char const *s = 0 ? (char *) 0 : (char const *) 0;
    53145344
     
    53265356    ++p;
    53275357  }
    5328   { /* AIX XL C 1.02.0.0 rejects this saying
     5358  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
    53295359       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    5330     struct s { int j; const int *ap[3]; };
    5331     struct s *b; b->j = 5;
     5360    struct s { int j; const int *ap[3]; } bx;
     5361    struct s *b = &bx; b->j = 5;
    53325362  }
    53335363  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     
    60676097$ac_includes_default
    60686098int
    6069 find_stack_direction ()
     6099find_stack_direction (int *addr, int depth)
    60706100{
    6071   static char *addr = 0;
    6072   auto char dummy;
    6073   if (addr == 0)
    6074     {
    6075       addr = &dummy;
    6076       return find_stack_direction ();
    6077     }
    6078   else
    6079     return (&dummy > addr) ? 1 : -1;
     6101  int dir, dummy = 0;
     6102  if (! addr)
     6103    addr = &dummy;
     6104  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
     6105  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
     6106  return dir + dummy;
    60806107}
    60816108
    60826109int
    6083 main ()
     6110main (int argc, char **argv)
    60846111{
    6085   return find_stack_direction () < 0;
     6112  return find_stack_direction (0, argc + !argv + 20) < 0;
    60866113}
    60876114_ACEOF
     
    71747201    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    71757202    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    7176     # In both cases, we have to default to `cp -p'.
     7203    # In both cases, we have to default to `cp -pR'.
    71777204    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    7178       as_ln_s='cp -p'
     7205      as_ln_s='cp -pR'
    71797206  elif ln conf$$.file conf$$ 2>/dev/null; then
    71807207    as_ln_s=ln
    71817208  else
    7182     as_ln_s='cp -p'
     7209    as_ln_s='cp -pR'
    71837210  fi
    71847211else
    7185   as_ln_s='cp -p'
     7212  as_ln_s='cp -pR'
    71867213fi
    71877214rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    72437270fi
    72447271
    7245 if test -x / >/dev/null 2>&1; then
    7246   as_test_x='test -x'
    7247 else
    7248   if ls -dL / >/dev/null 2>&1; then
    7249     as_ls_L_option=L
    7250   else
    7251     as_ls_L_option=
    7252   fi
    7253   as_test_x='
    7254     eval sh -c '\''
    7255       if test -d "$1"; then
    7256     test -d "$1/.";
    7257       else
    7258     case $1 in #(
    7259     -*)set "./$1";;
    7260     esac;
    7261     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    7262     ???[sx]*):;;*)false;;esac;fi
    7263     '\'' sh
    7264   '
    7265 fi
    7266 as_executable_p=$as_test_x
     7272
     7273# as_fn_executable_p FILE
     7274# -----------------------
     7275# Test if FILE is an executable regular file.
     7276as_fn_executable_p ()
     7277{
     7278  test -f "$1" && test -x "$1"
     7279} # as_fn_executable_p
     7280as_test_x='test -x'
     7281as_executable_p=as_fn_executable_p
    72677282
    72687283# Sed expression to map a string onto a valid CPP name.
     
    72867301ac_log="
    72877302This file was extended by $as_me, which was
    7288 generated by GNU Autoconf 2.68.  Invocation command line was
     7303generated by GNU Autoconf 2.69.  Invocation command line was
    72897304
    72907305  CONFIG_FILES    = $CONFIG_FILES
     
    73487363ac_cs_version="\\
    73497364config.status
    7350 configured by $0, generated by GNU Autoconf 2.68,
     7365configured by $0, generated by GNU Autoconf 2.69,
    73517366  with options \\"\$ac_cs_config\\"
    73527367
    7353 Copyright (C) 2010 Free Software Foundation, Inc.
     7368Copyright (C) 2012 Free Software Foundation, Inc.
    73547369This config.status script is free software; the Free Software Foundation
    73557370gives unlimited permission to copy, distribute and modify it."
     
    74417456cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    74427457if \$ac_cs_recheck; then
    7443   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     7458  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    74447459  shift
    74457460  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  • main/trunk/greenstone2/common-src/indexers/aclocal.m4

    r23356 r35306  
    8686AC_PROVIDE([$0])dnl
    8787if test "x$JAVACFLAGS" = x ; then
    88   JAVACFLAGS="-source 1.4 -target 1.4"
     88  JAVACFLAGS="-source 1.6 -target 1.6"
    8989fi
    9090AC_SUBST(JAVACFLAGS)
  • main/trunk/greenstone2/common-src/indexers/configure

    r26156 r35306  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63.
     3# Generated by GNU Autoconf 2.69.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     5#
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7#
     8#
    79# This configure script is free software; the Free Software Foundation
    810# gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
     11## -------------------- ##
     12## M4sh Initialization. ##
     13## -------------------- ##
    1214
    1315# Be more Bourne compatible
    1416DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1618  emulate sh
    1719  NULLCMD=:
     
    2123  setopt NO_GLOB_SUBST
    2224else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
     25  case `(set -o) 2>/dev/null` in #(
     26  *posix*) :
     27    set -o posix ;; #(
     28  *) :
     29     ;;
    2530esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     31fi
     32
    3933
    4034as_nl='
     
    4539as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4640as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     41# Prefer a ksh shell builtin over an external printf program on Solaris,
     42# but without wasting forks for bash or zsh.
     43if test -z "$BASH_VERSION$ZSH_VERSION" \
     44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45  as_echo='print -r --'
     46  as_echo_n='print -rn --'
     47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    4848  as_echo='printf %s\n'
    4949  as_echo_n='printf %s'
     
    5656    as_echo_n_body='eval
    5757      arg=$1;
    58       case $arg in
     58      case $arg in #(
    5959      *"$as_nl"*)
    6060    expr "X$arg" : "X\\(.*\\)$as_nl";
     
    7979fi
    8080
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    87 
    8881
    8982# IFS
     
    9588
    9689# Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
     90as_myself=
     91case $0 in #((
    9892  *[\\/]* ) as_myself=$0 ;;
    9993  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10296  IFS=$as_save_IFS
    10397  test -z "$as_dir" && as_dir=.
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    105 done
     98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99  done
    106100IFS=$as_save_IFS
    107101
     
    115109if test ! -f "$as_myself"; then
    116110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    117   { (exit 1); exit 1; }
    118 fi
    119 
    120 # Work around bugs in pre-3.0 UWIN ksh.
    121 for as_var in ENV MAIL MAILPATH
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     111  exit 1
     112fi
     113
     114# Unset variables that we do not need and which cause bugs (e.g. in
     115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     116# suppresses any "Segmentation fault" message there.  '((' could
     117# trigger a bug in pdksh 5.2.14.
     118for as_var in BASH_ENV ENV MAIL MAILPATH
     119do eval test x\${$as_var+set} = xset \
     120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123121done
    124122PS1='$ '
     
    132130export LANGUAGE
    133131
    134 # Required to use basename.
     132# CDPATH.
     133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     134
     135# Use a proper internal environment variable to ensure we don't fall
     136  # into an infinite loop, continuously re-executing ourselves.
     137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     138    _as_can_reexec=no; export _as_can_reexec;
     139    # We cannot yet assume a decent shell, so we have to provide a
     140# neutralization value for shells without unset; and this also
     141# works around shells that cannot unset nonexistent variables.
     142# Preserve -v and -x to the replacement shell.
     143BASH_ENV=/dev/null
     144ENV=/dev/null
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     146case $- in # ((((
     147  *v*x* | *x*v* ) as_opts=-vx ;;
     148  *v* ) as_opts=-v ;;
     149  *x* ) as_opts=-x ;;
     150  * ) as_opts= ;;
     151esac
     152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     153# Admittedly, this is quite paranoid, since all the known shells bail
     154# out after a failed `exec'.
     155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     156as_fn_exit 255
     157  fi
     158  # We don't want this to propagate to other subprocesses.
     159          { _as_can_reexec=; unset _as_can_reexec;}
     160if test "x$CONFIG_SHELL" = x; then
     161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     162  emulate sh
     163  NULLCMD=:
     164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     165  # is contrary to our usage.  Disable this feature.
     166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     167  setopt NO_GLOB_SUBST
     168else
     169  case \`(set -o) 2>/dev/null\` in #(
     170  *posix*) :
     171    set -o posix ;; #(
     172  *) :
     173     ;;
     174esac
     175fi
     176"
     177  as_required="as_fn_return () { (exit \$1); }
     178as_fn_success () { as_fn_return 0; }
     179as_fn_failure () { as_fn_return 1; }
     180as_fn_ret_success () { return 0; }
     181as_fn_ret_failure () { return 1; }
     182
     183exitcode=0
     184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     189
     190else
     191  exitcode=1; echo positional parameters were not saved.
     192fi
     193test x\$exitcode = x0 || exit 1
     194test -x / || exit 1"
     195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
     199  if (eval "$as_required") 2>/dev/null; then :
     200  as_have_required=yes
     201else
     202  as_have_required=no
     203fi
     204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     205
     206else
     207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     208as_found=false
     209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     210do
     211  IFS=$as_save_IFS
     212  test -z "$as_dir" && as_dir=.
     213  as_found=:
     214  case $as_dir in #(
     215     /*)
     216       for as_base in sh bash ksh sh5; do
     217         # Try only shells that exist, to save several forks.
     218         as_shell=$as_dir/$as_base
     219         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     220            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     221  CONFIG_SHELL=$as_shell as_have_required=yes
     222           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     223  break 2
     224fi
     225fi
     226       done;;
     227       esac
     228  as_found=false
     229done
     230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     231          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     232  CONFIG_SHELL=$SHELL as_have_required=yes
     233fi; }
     234IFS=$as_save_IFS
     235
     236
     237      if test "x$CONFIG_SHELL" != x; then :
     238  export CONFIG_SHELL
     239             # We cannot yet assume a decent shell, so we have to provide a
     240# neutralization value for shells without unset; and this also
     241# works around shells that cannot unset nonexistent variables.
     242# Preserve -v and -x to the replacement shell.
     243BASH_ENV=/dev/null
     244ENV=/dev/null
     245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     246case $- in # ((((
     247  *v*x* | *x*v* ) as_opts=-vx ;;
     248  *v* ) as_opts=-v ;;
     249  *x* ) as_opts=-x ;;
     250  * ) as_opts= ;;
     251esac
     252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     253# Admittedly, this is quite paranoid, since all the known shells bail
     254# out after a failed `exec'.
     255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     256exit 255
     257fi
     258
     259    if test x$as_have_required = xno; then :
     260  $as_echo "$0: This script requires a shell more modern than all"
     261  $as_echo "$0: the shells that I found on your system."
     262  if test x${ZSH_VERSION+set} = xset ; then
     263    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     264    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     265  else
     266    $as_echo "$0: Please tell [email protected] about your system,
     267$0: including any error possibly output before this
     268$0: message. Then install a modern shell, or manually run
     269$0: the script under such a shell if you do have one."
     270  fi
     271  exit 1
     272fi
     273fi
     274fi
     275SHELL=${CONFIG_SHELL-/bin/sh}
     276export SHELL
     277# Unset more variables known to interfere with behavior of common tools.
     278CLICOLOR_FORCE= GREP_OPTIONS=
     279unset CLICOLOR_FORCE GREP_OPTIONS
     280
     281## --------------------- ##
     282## M4sh Shell Functions. ##
     283## --------------------- ##
     284# as_fn_unset VAR
     285# ---------------
     286# Portably unset VAR.
     287as_fn_unset ()
     288{
     289  { eval $1=; unset $1;}
     290}
     291as_unset=as_fn_unset
     292
     293# as_fn_set_status STATUS
     294# -----------------------
     295# Set $? to STATUS, without forking.
     296as_fn_set_status ()
     297{
     298  return $1
     299} # as_fn_set_status
     300
     301# as_fn_exit STATUS
     302# -----------------
     303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     304as_fn_exit ()
     305{
     306  set +e
     307  as_fn_set_status $1
     308  exit $1
     309} # as_fn_exit
     310
     311# as_fn_mkdir_p
     312# -------------
     313# Create "$as_dir" as a directory, including parents if necessary.
     314as_fn_mkdir_p ()
     315{
     316
     317  case $as_dir in #(
     318  -*) as_dir=./$as_dir;;
     319  esac
     320  test -d "$as_dir" || eval $as_mkdir_p || {
     321    as_dirs=
     322    while :; do
     323      case $as_dir in #(
     324      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     325      *) as_qdir=$as_dir;;
     326      esac
     327      as_dirs="'$as_qdir' $as_dirs"
     328      as_dir=`$as_dirname -- "$as_dir" ||
     329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     330     X"$as_dir" : 'X\(//\)[^/]' \| \
     331     X"$as_dir" : 'X\(//\)$' \| \
     332     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     333$as_echo X"$as_dir" |
     334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     335        s//\1/
     336        q
     337      }
     338      /^X\(\/\/\)[^/].*/{
     339        s//\1/
     340        q
     341      }
     342      /^X\(\/\/\)$/{
     343        s//\1/
     344        q
     345      }
     346      /^X\(\/\).*/{
     347        s//\1/
     348        q
     349      }
     350      s/.*/./; q'`
     351      test -d "$as_dir" && break
     352    done
     353    test -z "$as_dirs" || eval "mkdir $as_dirs"
     354  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     355
     356
     357} # as_fn_mkdir_p
     358
     359# as_fn_executable_p FILE
     360# -----------------------
     361# Test if FILE is an executable regular file.
     362as_fn_executable_p ()
     363{
     364  test -f "$1" && test -x "$1"
     365} # as_fn_executable_p
     366# as_fn_append VAR VALUE
     367# ----------------------
     368# Append the text in VALUE to the end of the definition contained in VAR. Take
     369# advantage of any shell optimizations that allow amortized linear growth over
     370# repeated appends, instead of the typical quadratic growth present in naive
     371# implementations.
     372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     373  eval 'as_fn_append ()
     374  {
     375    eval $1+=\$2
     376  }'
     377else
     378  as_fn_append ()
     379  {
     380    eval $1=\$$1\$2
     381  }
     382fi # as_fn_append
     383
     384# as_fn_arith ARG...
     385# ------------------
     386# Perform arithmetic evaluation on the ARGs, and store the result in the
     387# global $as_val. Take advantage of shells that can avoid forks. The arguments
     388# must be portable across $(()) and expr.
     389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     390  eval 'as_fn_arith ()
     391  {
     392    as_val=$(( $* ))
     393  }'
     394else
     395  as_fn_arith ()
     396  {
     397    as_val=`expr "$@" || test $? -eq 1`
     398  }
     399fi # as_fn_arith
     400
     401
     402# as_fn_error STATUS ERROR [LINENO LOG_FD]
     403# ----------------------------------------
     404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     406# script with STATUS, using 1 if that was 0.
     407as_fn_error ()
     408{
     409  as_status=$1; test $as_status -eq 0 && as_status=1
     410  if test "$4"; then
     411    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     412    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     413  fi
     414  $as_echo "$as_me: error: $2" >&2
     415  as_fn_exit $as_status
     416} # as_fn_error
     417
    135418if expr a : '\(a\)' >/dev/null 2>&1 &&
    136419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    146429fi
    147430
    148 
    149 # Name of the executable.
     431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     432  as_dirname=dirname
     433else
     434  as_dirname=false
     435fi
     436
    150437as_me=`$as_basename -- "$0" ||
    151438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    167454      s/.*/./; q'`
    168455
    169 # CDPATH.
    170 $as_unset CDPATH
    171 
    172 
    173 if test "x$CONFIG_SHELL" = x; then
    174   if (eval ":") 2>/dev/null; then
    175   as_have_required=yes
    176 else
    177   as_have_required=no
    178 fi
    179 
    180   if test $as_have_required = yes &&     (eval ":
    181 (as_func_return () {
    182   (exit \$1)
    183 }
    184 as_func_success () {
    185   as_func_return 0
    186 }
    187 as_func_failure () {
    188   as_func_return 1
    189 }
    190 as_func_ret_success () {
    191   return 0
    192 }
    193 as_func_ret_failure () {
    194   return 1
    195 }
    196 
    197 exitcode=0
    198 if as_func_success; then
    199   :
    200 else
    201   exitcode=1
    202   echo as_func_success failed.
    203 fi
    204 
    205 if as_func_failure; then
    206   exitcode=1
    207   echo as_func_failure succeeded.
    208 fi
    209 
    210 if as_func_ret_success; then
    211   :
    212 else
    213   exitcode=1
    214   echo as_func_ret_success failed.
    215 fi
    216 
    217 if as_func_ret_failure; then
    218   exitcode=1
    219   echo as_func_ret_failure succeeded.
    220 fi
    221 
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    223   :
    224 else
    225   exitcode=1
    226   echo positional parameters were not saved.
    227 fi
    228 
    229 test \$exitcode = 0) || { (exit 1); exit 1; }
    230 
    231 (
    232   as_lineno_1=\$LINENO
    233   as_lineno_2=\$LINENO
    234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    236 ") 2> /dev/null; then
    237   :
    238 else
    239   as_candidate_shells=
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    242 do
    243   IFS=$as_save_IFS
    244   test -z "$as_dir" && as_dir=.
    245   case $as_dir in
    246      /*)
    247        for as_base in sh bash ksh sh5; do
    248          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    249        done;;
    250        esac
    251 done
    252 IFS=$as_save_IFS
    253 
    254 
    255       for as_shell in $as_candidate_shells $SHELL; do
    256      # Try only shells that exist, to save several forks.
    257      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    258         { ("$as_shell") 2> /dev/null <<\_ASEOF
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in
    268   *posix*) set -o posix ;;
    269 esac
    270 
    271 fi
    272 
    273 
    274 :
    275 _ASEOF
    276 }; then
    277   CONFIG_SHELL=$as_shell
    278            as_have_required=yes
    279            if { "$as_shell" 2> /dev/null <<\_ASEOF
    280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    281   emulate sh
    282   NULLCMD=:
    283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    284   # is contrary to our usage.  Disable this feature.
    285   alias -g '${1+"$@"}'='"$@"'
    286   setopt NO_GLOB_SUBST
    287 else
    288   case `(set -o) 2>/dev/null` in
    289   *posix*) set -o posix ;;
    290 esac
    291 
    292 fi
    293 
    294 
    295 :
    296 (as_func_return () {
    297   (exit $1)
    298 }
    299 as_func_success () {
    300   as_func_return 0
    301 }
    302 as_func_failure () {
    303   as_func_return 1
    304 }
    305 as_func_ret_success () {
    306   return 0
    307 }
    308 as_func_ret_failure () {
    309   return 1
    310 }
    311 
    312 exitcode=0
    313 if as_func_success; then
    314   :
    315 else
    316   exitcode=1
    317   echo as_func_success failed.
    318 fi
    319 
    320 if as_func_failure; then
    321   exitcode=1
    322   echo as_func_failure succeeded.
    323 fi
    324 
    325 if as_func_ret_success; then
    326   :
    327 else
    328   exitcode=1
    329   echo as_func_ret_success failed.
    330 fi
    331 
    332 if as_func_ret_failure; then
    333   exitcode=1
    334   echo as_func_ret_failure succeeded.
    335 fi
    336 
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then
    338   :
    339 else
    340   exitcode=1
    341   echo positional parameters were not saved.
    342 fi
    343 
    344 test $exitcode = 0) || { (exit 1); exit 1; }
    345 
    346 (
    347   as_lineno_1=$LINENO
    348   as_lineno_2=$LINENO
    349   test "x$as_lineno_1" != "x$as_lineno_2" &&
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    351 
    352 _ASEOF
    353 }; then
    354   break
    355 fi
    356 
    357 fi
    358 
    359       done
    360 
    361       if test "x$CONFIG_SHELL" != x; then
    362   for as_var in BASH_ENV ENV
    363     do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    364     done
    365     export CONFIG_SHELL
    366     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    367 fi
    368 
    369 
    370     if test $as_have_required = no; then
    371   echo This script requires a shell more modern than all the
    372       echo shells that I found on your system.  Please install a
    373       echo modern shell, or manually run the script under such a
    374       echo shell if you do have one.
    375       { (exit 1); exit 1; }
    376 fi
    377 
    378 
    379 fi
    380 
    381 fi
    382 
    383 
    384 
    385 (eval "as_func_return () {
    386   (exit \$1)
    387 }
    388 as_func_success () {
    389   as_func_return 0
    390 }
    391 as_func_failure () {
    392   as_func_return 1
    393 }
    394 as_func_ret_success () {
    395   return 0
    396 }
    397 as_func_ret_failure () {
    398   return 1
    399 }
    400 
    401 exitcode=0
    402 if as_func_success; then
    403   :
    404 else
    405   exitcode=1
    406   echo as_func_success failed.
    407 fi
    408 
    409 if as_func_failure; then
    410   exitcode=1
    411   echo as_func_failure succeeded.
    412 fi
    413 
    414 if as_func_ret_success; then
    415   :
    416 else
    417   exitcode=1
    418   echo as_func_ret_success failed.
    419 fi
    420 
    421 if as_func_ret_failure; then
    422   exitcode=1
    423   echo as_func_ret_failure succeeded.
    424 fi
    425 
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    427   :
    428 else
    429   exitcode=1
    430   echo positional parameters were not saved.
    431 fi
    432 
    433 test \$exitcode = 0") || {
    434   echo No shell found that supports shell functions.
    435   echo Please tell [email protected] about your system,
    436   echo including any error possibly output before this message.
    437   echo This can help us improve future autoconf versions.
    438   echo Configuration will now proceed without shell functions.
    439 }
    440 
    441 
    442 
    443   as_lineno_1=$LINENO
    444   as_lineno_2=$LINENO
    445   test "x$as_lineno_1" != "x$as_lineno_2" &&
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    447 
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    449   # uniformly replaced by the line number.  The first 'sed' inserts a
    450   # line-number line after each line using $LINENO; the second 'sed'
    451   # does the real work.  The second script uses 'N' to pair each
    452   # line-number line with the line containing $LINENO, and appends
    453   # trailing '-' during substitution so that $LINENO is not a special
    454   # case at line end.
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    457   # E. McMahon (1931-1989) for sed's syntax.  :-)
     456# Avoid depending upon Character Ranges.
     457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     460as_cr_digits='0123456789'
     461as_cr_alnum=$as_cr_Letters$as_cr_digits
     462
     463
     464  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     465  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     466  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     467  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     468  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    458469  sed -n '
    459470    p
     
    472483    ' >$as_me.lineno &&
    473484  chmod +x "$as_me.lineno" ||
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    475    { (exit 1); exit 1; }; }
    476 
     485    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     486
     487  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     488  # already done that, so ensure we don't try to do so again and fall
     489  # in an infinite loop.  This has already happened in practice.
     490  _as_can_reexec=no; export _as_can_reexec
    477491  # Don't try to exec as it changes $[0], causing all sort of problems
    478492  # (the dirname of $[0] is not the place where we might find the
     
    483497}
    484498
    485 
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    487   as_dirname=dirname
    488 else
    489   as_dirname=false
    490 fi
    491 
    492499ECHO_C= ECHO_N= ECHO_T=
    493 case `echo -n x` in
     500case `echo -n x` in #(((((
    494501-n*)
    495   case `echo 'x\c'` in
     502  case `echo 'xy\c'` in
    496503  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    497   *)   ECHO_C='\c';;
     504  xy)  ECHO_C='\c';;
     505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     506       ECHO_T=' ';;
    498507  esac;;
    499508*)
    500509  ECHO_N='-n';;
    501510esac
    502 if expr a : '\(a\)' >/dev/null 2>&1 &&
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    504   as_expr=expr
    505 else
    506   as_expr=false
    507 fi
    508511
    509512rm -f conf$$ conf$$.exe conf$$.file
     
    520523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    521524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    522     # In both cases, we have to default to `cp -p'.
     525    # In both cases, we have to default to `cp -pR'.
    523526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    524       as_ln_s='cp -p'
     527      as_ln_s='cp -pR'
    525528  elif ln conf$$.file conf$$ 2>/dev/null; then
    526529    as_ln_s=ln
    527530  else
    528     as_ln_s='cp -p'
     531    as_ln_s='cp -pR'
    529532  fi
    530533else
    531   as_ln_s='cp -p'
     534  as_ln_s='cp -pR'
    532535fi
    533536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    535538
    536539if mkdir -p . 2>/dev/null; then
    537   as_mkdir_p=:
     540  as_mkdir_p='mkdir -p "$as_dir"'
    538541else
    539542  test -d ./-p && rmdir ./-p
     
    541544fi
    542545
    543 if test -x / >/dev/null 2>&1; then
    544   as_test_x='test -x'
    545 else
    546   if ls -dL / >/dev/null 2>&1; then
    547     as_ls_L_option=L
    548   else
    549     as_ls_L_option=
    550   fi
    551   as_test_x='
    552     eval sh -c '\''
    553       if test -d "$1"; then
    554     test -d "$1/.";
    555       else
    556     case $1 in
    557     -*)set "./$1";;
    558     esac;
    559     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    560     ???[sx]*):;;*)false;;esac;fi
    561     '\'' sh
    562   '
    563 fi
    564 as_executable_p=$as_test_x
     546as_test_x='test -x'
     547as_executable_p=as_fn_executable_p
    565548
    566549# Sed expression to map a string onto a valid CPP name.
     
    571554
    572555
    573 
    574 exec 7<&0 </dev/null 6>&1
     556test -n "$DJDIR" || exec 7<&0 </dev/null
     557exec 6>&1
    575558
    576559# Name of the host.
    577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    578561# so uname gets run too.
    579562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    590573MFLAGS=
    591574MAKEFLAGS=
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593575
    594576# Identity of this package.
     
    598580PACKAGE_STRING=
    599581PACKAGE_BUGREPORT=
     582PACKAGE_URL=
    600583
    601584enable_option_checking=no
     
    633616oldincludedir
    634617includedir
     618runstatedir
    635619localstatedir
    636620sharedstatedir
     
    644628prefix
    645629exec_prefix
     630PACKAGE_URL
    646631PACKAGE_BUGREPORT
    647632PACKAGE_STRING
     
    706691sharedstatedir='${prefix}/com'
    707692localstatedir='${prefix}/var'
     693runstatedir='${localstatedir}/run'
    708694includedir='${prefix}/include'
    709695oldincludedir='/usr/include'
     
    730716
    731717  case $ac_option in
    732   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    733   *)    ac_optarg=yes ;;
     718  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     719  *=)   ac_optarg= ;;
     720  *)    ac_optarg=yes ;;
    734721  esac
    735722
     
    776763    # Reject names that are not valid shell variable names.
    777764    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    778       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    779    { (exit 1); exit 1; }; }
     765      as_fn_error $? "invalid feature name: $ac_useropt"
    780766    ac_useropt_orig=$ac_useropt
    781767    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    803789    # Reject names that are not valid shell variable names.
    804790    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    805       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    806    { (exit 1); exit 1; }; }
     791      as_fn_error $? "invalid feature name: $ac_useropt"
    807792    ac_useropt_orig=$ac_useropt
    808793    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    959944    silent=yes ;;
    960945
     946  -runstatedir | --runstatedir | --runstatedi | --runstated \
     947  | --runstate | --runstat | --runsta | --runst | --runs \
     948  | --run | --ru | --r)
     949    ac_prev=runstatedir ;;
     950  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     951  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     952  | --run=* | --ru=* | --r=*)
     953    runstatedir=$ac_optarg ;;
     954
    961955  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    962956    ac_prev=sbindir ;;
     
    10081002    # Reject names that are not valid shell variable names.
    10091003    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1010       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1011    { (exit 1); exit 1; }; }
     1004      as_fn_error $? "invalid package name: $ac_useropt"
    10121005    ac_useropt_orig=$ac_useropt
    10131006    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10251018    # Reject names that are not valid shell variable names.
    10261019    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1027       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1028    { (exit 1); exit 1; }; }
     1020      as_fn_error $? "invalid package name: $ac_useropt"
    10291021    ac_useropt_orig=$ac_useropt
    10301022    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10561048    x_libraries=$ac_optarg ;;
    10571049
    1058   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1059 Try \`$0 --help' for more information." >&2
    1060    { (exit 1); exit 1; }; }
     1050  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1051Try \`$0 --help' for more information"
    10611052    ;;
    10621053
     
    10641055    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    10651056    # Reject names that are not valid shell variable names.
    1066     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1067       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1068    { (exit 1); exit 1; }; }
     1057    case $ac_envvar in #(
     1058      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1059      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1060    esac
    10691061    eval $ac_envvar=\$ac_optarg
    10701062    export $ac_envvar ;;
     
    10751067    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    10761068      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1077     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1069    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    10781070    ;;
    10791071
     
    10831075if test -n "$ac_prev"; then
    10841076  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1085   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1086    { (exit 1); exit 1; }; }
     1077  as_fn_error $? "missing argument to $ac_option"
    10871078fi
    10881079
     
    10901081  case $enable_option_checking in
    10911082    no) ;;
    1092     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1093    { (exit 1); exit 1; }; } ;;
     1083    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    10941084    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    10951085  esac
     
    11001090        datadir sysconfdir sharedstatedir localstatedir includedir \
    11011091        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1102         libdir localedir mandir
     1092        libdir localedir mandir runstatedir
    11031093do
    11041094  eval ac_val=\$$ac_var
     
    11141104    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11151105  esac
    1116   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1117    { (exit 1); exit 1; }; }
     1106  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    11181107done
    11191108
     
    11291118  if test "x$build_alias" = x; then
    11301119    cross_compiling=maybe
    1131     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1132     If a cross compiler is detected then cross compile mode will be used." >&2
    11331120  elif test "x$build_alias" != "x$host_alias"; then
    11341121    cross_compiling=yes
     
    11451132ac_ls_di=`ls -di .` &&
    11461133ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1147   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1148    { (exit 1); exit 1; }; }
     1134  as_fn_error $? "working directory cannot be determined"
    11491135test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1150   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1151    { (exit 1); exit 1; }; }
     1136  as_fn_error $? "pwd does not report name of working directory"
    11521137
    11531138
     
    11881173if test ! -r "$srcdir/$ac_unique_file"; then
    11891174  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1190   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1191    { (exit 1); exit 1; }; }
     1175  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    11921176fi
    11931177ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    11941178ac_abs_confdir=`(
    1195     cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1196    { (exit 1); exit 1; }; }
     1179    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    11971180    pwd)`
    11981181# When building in place, set srcdir=.
     
    12341217      --help=recursive    display the short help of all the included packages
    12351218  -V, --version           display version information and exit
    1236   -q, --quiet, --silent   do not print \`checking...' messages
     1219  -q, --quiet, --silent   do not print \`checking ...' messages
    12371220      --cache-file=FILE   cache test results in FILE [disabled]
    12381221  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    12601243  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    12611244  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1245  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
    12621246  --libdir=DIR            object code libraries [EPREFIX/lib]
    12631247  --includedir=DIR        C header files [PREFIX/include]
     
    13001284  --with-libiconv-prefix=dir       Use specified libiconv directory
    13011285
     1286Report bugs to the package provider.
    13021287_ACEOF
    13031288ac_status=$?
     
    13631348  cat <<\_ACEOF
    13641349configure
    1365 generated by GNU Autoconf 2.63
    1366 
    1367 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1368 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1350generated by GNU Autoconf 2.69
     1351
     1352Copyright (C) 2012 Free Software Foundation, Inc.
    13691353This configure script is free software; the Free Software Foundation
    13701354gives unlimited permission to copy, distribute and modify it.
     
    13721356  exit
    13731357fi
     1358
     1359## ------------------------ ##
     1360## Autoconf initialization. ##
     1361## ------------------------ ##
    13741362cat >config.log <<_ACEOF
    13751363This file contains any messages produced by compilers while
     
    13771365
    13781366It was created by $as_me, which was
    1379 generated by GNU Autoconf 2.63.  Invocation command line was
     1367generated by GNU Autoconf 2.69.  Invocation command line was
    13801368
    13811369  $ $0 $@
     
    14131401  IFS=$as_save_IFS
    14141402  test -z "$as_dir" && as_dir=.
    1415   $as_echo "PATH: $as_dir"
    1416 done
     1403    $as_echo "PATH: $as_dir"
     1404  done
    14171405IFS=$as_save_IFS
    14181406
     
    14511439    esac
    14521440    case $ac_pass in
    1453     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1441    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    14541442    2)
    1455       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1443      as_fn_append ac_configure_args1 " '$ac_arg'"
    14561444      if test $ac_must_keep_next = true; then
    14571445    ac_must_keep_next=false # Got value, back to normal.
     
    14691457    esac
    14701458      fi
    1471       ac_configure_args="$ac_configure_args '$ac_arg'"
     1459      as_fn_append ac_configure_args " '$ac_arg'"
    14721460      ;;
    14731461    esac
    14741462  done
    14751463done
    1476 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1477 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1464{ ac_configure_args0=; unset ac_configure_args0;}
     1465{ ac_configure_args1=; unset ac_configure_args1;}
    14781466
    14791467# When interrupted or exit'd, cleanup temporary files, and complete
     
    14871475    echo
    14881476
    1489     cat <<\_ASBOX
    1490 ## ---------------- ##
     1477    $as_echo "## ---------------- ##
    14911478## Cache variables. ##
    1492 ## ---------------- ##
    1493 _ASBOX
     1479## ---------------- ##"
    14941480    echo
    14951481    # The following way of writing the cache mishandles newlines in values,
     
    15001486    *${as_nl}*)
    15011487      case $ac_var in #(
    1502       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     1488      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    15031489$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    15041490      esac
     
    15061492      _ | IFS | as_nl) ;; #(
    15071493      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1508       *) $as_unset $ac_var ;;
     1494      *) { eval $ac_var=; unset $ac_var;} ;;
    15091495      esac ;;
    15101496    esac
     
    15251511    echo
    15261512
    1527     cat <<\_ASBOX
    1528 ## ----------------- ##
     1513    $as_echo "## ----------------- ##
    15291514## Output variables. ##
    1530 ## ----------------- ##
    1531 _ASBOX
     1515## ----------------- ##"
    15321516    echo
    15331517    for ac_var in $ac_subst_vars
     
    15421526
    15431527    if test -n "$ac_subst_files"; then
    1544       cat <<\_ASBOX
    1545 ## ------------------- ##
     1528      $as_echo "## ------------------- ##
    15461529## File substitutions. ##
    1547 ## ------------------- ##
    1548 _ASBOX
     1530## ------------------- ##"
    15491531      echo
    15501532      for ac_var in $ac_subst_files
     
    15601542
    15611543    if test -s confdefs.h; then
    1562       cat <<\_ASBOX
    1563 ## ----------- ##
     1544      $as_echo "## ----------- ##
    15641545## confdefs.h. ##
    1565 ## ----------- ##
    1566 _ASBOX
     1546## ----------- ##"
    15671547      echo
    15681548      cat confdefs.h
     
    15781558' 0
    15791559for ac_signal in 1 2 13 15; do
    1580   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1560  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    15811561done
    15821562ac_signal=0
     
    15841564# confdefs.h avoids OS command line length limits that DEFS can exceed.
    15851565rm -f -r conftest* confdefs.h
     1566
     1567$as_echo "/* confdefs.h */" > confdefs.h
    15861568
    15871569# Predefined preprocessor variables.
     
    15911573_ACEOF
    15921574
    1593 
    15941575cat >>confdefs.h <<_ACEOF
    15951576#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    15961577_ACEOF
    15971578
    1598 
    15991579cat >>confdefs.h <<_ACEOF
    16001580#define PACKAGE_VERSION "$PACKAGE_VERSION"
    16011581_ACEOF
    16021582
    1603 
    16041583cat >>confdefs.h <<_ACEOF
    16051584#define PACKAGE_STRING "$PACKAGE_STRING"
    16061585_ACEOF
    16071586
    1608 
    16091587cat >>confdefs.h <<_ACEOF
    16101588#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1589_ACEOF
     1590
     1591cat >>confdefs.h <<_ACEOF
     1592#define PACKAGE_URL "$PACKAGE_URL"
    16111593_ACEOF
    16121594
     
    16171599ac_site_file2=NONE
    16181600if test -n "$CONFIG_SITE"; then
    1619   ac_site_file1=$CONFIG_SITE
     1601  # We do not want a PATH search for config.site.
     1602  case $CONFIG_SITE in #((
     1603    -*)  ac_site_file1=./$CONFIG_SITE;;
     1604    */*) ac_site_file1=$CONFIG_SITE;;
     1605    *)   ac_site_file1=./$CONFIG_SITE;;
     1606  esac
    16201607elif test "x$prefix" != xNONE; then
    16211608  ac_site_file1=$prefix/share/config.site
     
    16281615do
    16291616  test "x$ac_site_file" = xNONE && continue
    1630   if test -r "$ac_site_file"; then
    1631     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1617  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     1618    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    16321619$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    16331620    sed 's/^/| /' "$ac_site_file" >&5
    1634     . "$ac_site_file"
     1621    . "$ac_site_file" \
     1622      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1623$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     1624as_fn_error $? "failed to load site script $ac_site_file
     1625See \`config.log' for more details" "$LINENO" 5; }
    16351626  fi
    16361627done
    16371628
    16381629if test -r "$cache_file"; then
    1639   # Some versions of bash will fail to source /dev/null (special
    1640   # files actually), so we avoid doing that.
    1641   if test -f "$cache_file"; then
    1642     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1630  # Some versions of bash will fail to source /dev/null (special files
     1631  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     1632  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     1633    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    16431634$as_echo "$as_me: loading cache $cache_file" >&6;}
    16441635    case $cache_file in
     
    16481639  fi
    16491640else
    1650   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1641  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    16511642$as_echo "$as_me: creating cache $cache_file" >&6;}
    16521643  >$cache_file
     
    16631654  case $ac_old_set,$ac_new_set in
    16641655    set,)
    1665       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1656      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    16661657$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    16671658      ac_cache_corrupted=: ;;
    16681659    ,set)
    1669       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1660      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    16701661$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    16711662      ac_cache_corrupted=: ;;
     
    16771668    ac_new_val_w=`echo x $ac_new_val`
    16781669    if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1679       { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1670      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    16801671$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    16811672      ac_cache_corrupted=:
    16821673    else
    1683       { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1674      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    16841675$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    16851676      eval $ac_var=\$ac_old_val
    16861677    fi
    1687     { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     1678    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    16881679$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1689     { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     1680    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    16901681$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    16911682      fi;;
     
    16991690    case " $ac_configure_args " in
    17001691      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1701       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     1692      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    17021693    esac
    17031694  fi
    17041695done
    17051696if $ac_cache_corrupted; then
    1706   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     1697  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    17071698$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1708   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1699  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    17091700$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1710   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1711 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1712    { (exit 1); exit 1; }; }
    1713 fi
    1714 
    1715 
    1716 
    1717 
    1718 
    1719 
    1720 
    1721 
    1722 
    1723 
    1724 
    1725 
    1726 
    1727 
    1728 
    1729 
     1701  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     1702fi
     1703## -------------------- ##
     1704## Main body of script. ##
     1705## -------------------- ##
    17301706
    17311707ac_ext=c
     
    17381714
    17391715# Check whether --enable-java was given.
    1740 if test "${enable_java+set}" = set; then
     1716if test "${enable_java+set}" = set; then :
    17411717  enableval=$enable_java; ENABLE_JAVA=$enableval
    17421718else
     
    17631739
    17641740# Check whether --enable-accentfold was given.
    1765 if test "${enable_accentfold+set}" = set; then
     1741if test "${enable_accentfold+set}" = set; then :
    17661742  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
    17671743else
     
    17711747if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    17721748  ENABLE_ACCENTFOLD=1
    1773   cat >>confdefs.h <<\_ACEOF
    1774 #define ENABLE_ACCENTFOLD /**/
    1775 _ACEOF
     1749  $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
    17761750
    17771751else
     
    17821756
    17831757# Check whether --enable-jni was given.
    1784 if test "${enable_jni+set}" = set; then
     1758if test "${enable_jni+set}" = set; then :
    17851759  enableval=$enable_jni; ENABLE_JNI=$enableval
    17861760else
     
    17901764if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
    17911765  ENABLE_JNI=1
    1792   cat >>confdefs.h <<\_ACEOF
    1793 #define ENABLE_JNI /**/
    1794 _ACEOF
     1766  $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
    17951767
    17961768else
     
    18011773
    18021774# Check whether --enable-mg was given.
    1803 if test "${enable_mg+set}" = set; then
     1775if test "${enable_mg+set}" = set; then :
    18041776  enableval=$enable_mg; ENABLE_MG=$enableval
    18051777else
     
    18091781if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
    18101782  ENABLE_MG=1
    1811   cat >>confdefs.h <<\_ACEOF
    1812 #define ENABLE_MG /**/
    1813 _ACEOF
     1783  $as_echo "#define ENABLE_MG /**/" >>confdefs.h
    18141784
    18151785else
     
    18201790
    18211791# Check whether --enable-mgpp was given.
    1822 if test "${enable_mgpp+set}" = set; then
     1792if test "${enable_mgpp+set}" = set; then :
    18231793  enableval=$enable_mgpp; ENABLE_MGPP=$enableval
    18241794else
     
    18281798if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
    18291799  ENABLE_MGPP=1
    1830   cat >>confdefs.h <<\_ACEOF
    1831 #define ENABLE_MGPP /**/
    1832 _ACEOF
     1800  $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
    18331801
    18341802else
     
    18381806
    18391807# Check whether --enable-lucene was given.
    1840 if test "${enable_lucene+set}" = set; then
     1808if test "${enable_lucene+set}" = set; then :
    18411809  enableval=$enable_lucene; ENABLE_LUCENE=$enableval
    18421810else
     
    18461814if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
    18471815  ENABLE_LUCENE=1
    1848   cat >>confdefs.h <<\_ACEOF
    1849 #define ENABLE_LUCENE /**/
    1850 _ACEOF
     1816  $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
    18511817
    18521818else
     
    18641830  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18651831set dummy $ac_prog; ac_word=$2
    1866 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     1832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18671833$as_echo_n "checking for $ac_word... " >&6; }
    1868 if test "${ac_cv_prog_JAVAC+set}" = set; then
     1834if ${ac_cv_prog_JAVAC+:} false; then :
    18691835  $as_echo_n "(cached) " >&6
    18701836else
     
    18771843  IFS=$as_save_IFS
    18781844  test -z "$as_dir" && as_dir=.
    1879   for ac_exec_ext in '' $ac_executable_extensions; do
    1880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1845    for ac_exec_ext in '' $ac_executable_extensions; do
     1846  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18811847    ac_cv_prog_JAVAC="$ac_prog"
    1882     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18831849    break 2
    18841850  fi
    18851851done
    1886 done
     1852  done
    18871853IFS=$as_save_IFS
    18881854
     
    18911857JAVAC=$ac_cv_prog_JAVAC
    18921858if test -n "$JAVAC"; then
    1893   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     1859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    18941860$as_echo "$JAVAC" >&6; }
    18951861else
    1896   { $as_echo "$as_me:$LINENO: result: no" >&5
     1862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    18971863$as_echo "no" >&6; }
    18981864fi
     
    19071873  # Extract the first word of "$ac_prog", so it can be a program name with args.
    19081874set dummy $ac_prog; ac_word=$2
    1909 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     1875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19101876$as_echo_n "checking for $ac_word... " >&6; }
    1911 if test "${ac_cv_prog_JAVAC+set}" = set; then
     1877if ${ac_cv_prog_JAVAC+:} false; then :
    19121878  $as_echo_n "(cached) " >&6
    19131879else
     
    19201886  IFS=$as_save_IFS
    19211887  test -z "$as_dir" && as_dir=.
    1922   for ac_exec_ext in '' $ac_executable_extensions; do
    1923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1888    for ac_exec_ext in '' $ac_executable_extensions; do
     1889  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19241890    ac_cv_prog_JAVAC="$ac_prog"
    1925     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1891    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19261892    break 2
    19271893  fi
    19281894done
    1929 done
     1895  done
    19301896IFS=$as_save_IFS
    19311897
     
    19341900JAVAC=$ac_cv_prog_JAVAC
    19351901if test -n "$JAVAC"; then
    1936   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     1902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    19371903$as_echo "$JAVAC" >&6; }
    19381904else
    1939   { $as_echo "$as_me:$LINENO: result: no" >&5
     1905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19401906$as_echo "no" >&6; }
    19411907fi
     
    19471913
    19481914  fi
    1949   test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    1950 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    1951    { (exit 1); exit 1; }; }
     1915  test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
    19521916else
    19531917  echo "Checking for javac... $JAVAC"
     
    19551919
    19561920
    1957 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     1921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    19581922$as_echo_n "checking if $JAVAC works... " >&6; }
    1959 if test "${ac_cv_prog_javac_works+set}" = set; then
     1923if ${ac_cv_prog_javac_works+:} false; then :
    19601924  $as_echo_n "(cached) " >&6
    19611925else
     
    19641928CLASS_TEST=Test.class
    19651929cat << \EOF > $JAVA_TEST
    1966 /* #line 1966 "configure" */
     1930/* #line 1930 "configure" */
    19671931public class Test {
    19681932}
    19691933EOF
    19701934if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    1971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1935  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    19721936  (eval $ac_try) 2>&5
    19731937  ac_status=$?
    1974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1975   (exit $ac_status); }; } >/dev/null 2>&1; then
     1938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1939  test $ac_status = 0; }; } >/dev/null 2>&1; then
    19761940  ac_cv_prog_javac_works=yes
    19771941else
    1978   { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    1979 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    1980    { (exit 1); exit 1; }; }
     1942  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    19811943  echo "configure: failed program was:" >&5
    19821944  cat $JAVA_TEST >&5
     
    19851947
    19861948fi
    1987 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     1949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    19881950$as_echo "$ac_cv_prog_javac_works" >&6; }
    19891951if test "x$JAVACFLAGS" = x ; then
    1990   JAVACFLAGS="-source 1.4 -target 1.4"
     1952  JAVACFLAGS="-source 1.6 -target 1.6"
    19911953fi
    19921954
     
    20001962  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20011963set dummy $ac_prog; ac_word=$2
    2002 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     1964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20031965$as_echo_n "checking for $ac_word... " >&6; }
    2004 if test "${ac_cv_prog_JAVA+set}" = set; then
     1966if ${ac_cv_prog_JAVA+:} false; then :
    20051967  $as_echo_n "(cached) " >&6
    20061968else
     
    20131975  IFS=$as_save_IFS
    20141976  test -z "$as_dir" && as_dir=.
    2015   for ac_exec_ext in '' $ac_executable_extensions; do
    2016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1977    for ac_exec_ext in '' $ac_executable_extensions; do
     1978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20171979    ac_cv_prog_JAVA="$ac_prog"
    2018     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20191981    break 2
    20201982  fi
    20211983done
    2022 done
     1984  done
    20231985IFS=$as_save_IFS
    20241986
     
    20271989JAVA=$ac_cv_prog_JAVA
    20281990if test -n "$JAVA"; then
    2029   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     1991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    20301992$as_echo "$JAVA" >&6; }
    20311993else
    2032   { $as_echo "$as_me:$LINENO: result: no" >&5
     1994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20331995$as_echo "no" >&6; }
    20341996fi
     
    20432005  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20442006set dummy $ac_prog; ac_word=$2
    2045 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20462008$as_echo_n "checking for $ac_word... " >&6; }
    2047 if test "${ac_cv_prog_JAVA+set}" = set; then
     2009if ${ac_cv_prog_JAVA+:} false; then :
    20482010  $as_echo_n "(cached) " >&6
    20492011else
     
    20562018  IFS=$as_save_IFS
    20572019  test -z "$as_dir" && as_dir=.
    2058   for ac_exec_ext in '' $ac_executable_extensions; do
    2059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2020    for ac_exec_ext in '' $ac_executable_extensions; do
     2021  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20602022    ac_cv_prog_JAVA="$ac_prog"
    2061     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2023    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20622024    break 2
    20632025  fi
    20642026done
    2065 done
     2027  done
    20662028IFS=$as_save_IFS
    20672029
     
    20702032JAVA=$ac_cv_prog_JAVA
    20712033if test -n "$JAVA"; then
    2072   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     2034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    20732035$as_echo "$JAVA" >&6; }
    20742036else
    2075   { $as_echo "$as_me:$LINENO: result: no" >&5
     2037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20762038$as_echo "no" >&6; }
    20772039fi
     
    20832045
    20842046    fi
    2085     test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
    2086 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
    2087    { (exit 1); exit 1; }; }
     2047    test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
    20882048fi
    20892049
     
    20912051# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    20922052set dummy uudecode$EXEEXT; ac_word=$2
    2093 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20942054$as_echo_n "checking for $ac_word... " >&6; }
    2095 if test "${ac_cv_prog_uudecode+set}" = set; then
     2055if ${ac_cv_prog_uudecode+:} false; then :
    20962056  $as_echo_n "(cached) " >&6
    20972057else
     
    21042064  IFS=$as_save_IFS
    21052065  test -z "$as_dir" && as_dir=.
    2106   for ac_exec_ext in '' $ac_executable_extensions; do
    2107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2066    for ac_exec_ext in '' $ac_executable_extensions; do
     2067  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21082068    ac_cv_prog_uudecode="yes"
    2109     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2069    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21102070    break 2
    21112071  fi
    21122072done
    2113 done
     2073  done
    21142074IFS=$as_save_IFS
    21152075
     
    21182078uudecode=$ac_cv_prog_uudecode
    21192079if test -n "$uudecode"; then
    2120   { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
     2080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
    21212081$as_echo "$uudecode" >&6; }
    21222082else
    2123   { $as_echo "$as_me:$LINENO: result: no" >&5
     2083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21242084$as_echo "no" >&6; }
    21252085fi
     
    21272087
    21282088if test x$uudecode = xyes; then
    2129 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     2089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
    21302090$as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
    2131 if test "${ac_cv_prog_uudecode_base64+set}" = set; then
     2091if ${ac_cv_prog_uudecode_base64+:} false; then :
    21322092  $as_echo_n "(cached) " >&6
    21332093else
     
    21472107        ac_cv_prog_uudecode_base64=yes
    21482108else
    2149         echo "configure: 2149: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     2109        echo "configure: 2109: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    21502110        echo "configure: failed file was:" >&5
    21512111        cat Test.uue >&5
     
    21542114rm -f Test.uue
    21552115fi
    2156 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     2116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
    21572117$as_echo "$ac_cv_prog_uudecode_base64" >&6; }
    21582118fi
    21592119if test x$ac_cv_prog_uudecode_base64 != xyes; then
    21602120        rm -f Test.class
    2161         { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
     2121        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
    21622122$as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    21632123        if test x$ac_cv_prog_javac_works = xno; then
    2164                 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
    2165 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
    2166    { (exit 1); exit 1; }; }
     2124                as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
    21672125        fi
    21682126        if test x$ac_cv_prog_javac_works = x; then
     
    21742132  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21752133set dummy $ac_prog; ac_word=$2
    2176 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21772135$as_echo_n "checking for $ac_word... " >&6; }
    2178 if test "${ac_cv_prog_JAVAC+set}" = set; then
     2136if ${ac_cv_prog_JAVAC+:} false; then :
    21792137  $as_echo_n "(cached) " >&6
    21802138else
     
    21872145  IFS=$as_save_IFS
    21882146  test -z "$as_dir" && as_dir=.
    2189   for ac_exec_ext in '' $ac_executable_extensions; do
    2190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2147    for ac_exec_ext in '' $ac_executable_extensions; do
     2148  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21912149    ac_cv_prog_JAVAC="$ac_prog"
    2192     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2150    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21932151    break 2
    21942152  fi
    21952153done
    2196 done
     2154  done
    21972155IFS=$as_save_IFS
    21982156
     
    22012159JAVAC=$ac_cv_prog_JAVAC
    22022160if test -n "$JAVAC"; then
    2203   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     2161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    22042162$as_echo "$JAVAC" >&6; }
    22052163else
    2206   { $as_echo "$as_me:$LINENO: result: no" >&5
     2164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22072165$as_echo "no" >&6; }
    22082166fi
     
    22172175  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22182176set dummy $ac_prog; ac_word=$2
    2219 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22202178$as_echo_n "checking for $ac_word... " >&6; }
    2221 if test "${ac_cv_prog_JAVAC+set}" = set; then
     2179if ${ac_cv_prog_JAVAC+:} false; then :
    22222180  $as_echo_n "(cached) " >&6
    22232181else
     
    22302188  IFS=$as_save_IFS
    22312189  test -z "$as_dir" && as_dir=.
    2232   for ac_exec_ext in '' $ac_executable_extensions; do
    2233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2190    for ac_exec_ext in '' $ac_executable_extensions; do
     2191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22342192    ac_cv_prog_JAVAC="$ac_prog"
    2235     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22362194    break 2
    22372195  fi
    22382196done
    2239 done
     2197  done
    22402198IFS=$as_save_IFS
    22412199
     
    22442202JAVAC=$ac_cv_prog_JAVAC
    22452203if test -n "$JAVAC"; then
    2246   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     2204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    22472205$as_echo "$JAVAC" >&6; }
    22482206else
    2249   { $as_echo "$as_me:$LINENO: result: no" >&5
     2207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22502208$as_echo "no" >&6; }
    22512209fi
     
    22572215
    22582216  fi
    2259   test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    2260 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    2261    { (exit 1); exit 1; }; }
     2217  test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
    22622218else
    22632219  echo "Checking for javac... $JAVAC"
     
    22652221
    22662222
    2267 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     2223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    22682224$as_echo_n "checking if $JAVAC works... " >&6; }
    2269 if test "${ac_cv_prog_javac_works+set}" = set; then
     2225if ${ac_cv_prog_javac_works+:} false; then :
    22702226  $as_echo_n "(cached) " >&6
    22712227else
     
    22742230CLASS_TEST=Test.class
    22752231cat << \EOF > $JAVA_TEST
    2276 /* #line 2276 "configure" */
     2232/* #line 2232 "configure" */
    22772233public class Test {
    22782234}
    22792235EOF
    22802236if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    2281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2237  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    22822238  (eval $ac_try) 2>&5
    22832239  ac_status=$?
    2284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2285   (exit $ac_status); }; } >/dev/null 2>&1; then
     2240  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2241  test $ac_status = 0; }; } >/dev/null 2>&1; then
    22862242  ac_cv_prog_javac_works=yes
    22872243else
    2288   { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    2289 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    2290    { (exit 1); exit 1; }; }
     2244  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    22912245  echo "configure: failed program was:" >&5
    22922246  cat $JAVA_TEST >&5
     
    22952249
    22962250fi
    2297 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     2251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    22982252$as_echo "$ac_cv_prog_javac_works" >&6; }
    22992253if test "x$JAVACFLAGS" = x ; then
    2300   JAVACFLAGS="-source 1.4 -target 1.4"
     2254  JAVACFLAGS="-source 1.6 -target 1.6"
    23012255fi
    23022256
     
    23052259        fi
    23062260fi
    2307 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
     2261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
    23082262$as_echo_n "checking if $JAVA works... " >&6; }
    2309 if test "${ac_cv_prog_java_works+set}" = set; then
     2263if ${ac_cv_prog_java_works+:} false; then :
    23102264  $as_echo_n "(cached) " >&6
    23112265else
     
    23152269TEST=Test
    23162270cat << \EOF > $JAVA_TEST
    2317 /* [#]line 2317 "configure" */
     2271/* [#]line 2271 "configure" */
    23182272public class Test {
    23192273public static void main (String args[]) {
     
    23232277if test x$ac_cv_prog_uudecode_base64 != xyes; then
    23242278        if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    2325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2279  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    23262280  (eval $ac_try) 2>&5
    23272281  ac_status=$?
    2328   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2329   (exit $ac_status); }; } && test -s $CLASS_TEST; then
     2282  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2283  test $ac_status = 0; }; } && test -s $CLASS_TEST; then
    23302284                :
    23312285        else
    23322286          echo "configure: failed program was:" >&5
    23332287          cat $JAVA_TEST >&5
    2334           { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    2335 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    2336    { (exit 1); exit 1; }; }
     2288          as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    23372289        fi
    23382290fi
    23392291if { ac_try='$JAVA $JAVAFLAGS $TEST'
    2340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2292  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    23412293  (eval $ac_try) 2>&5
    23422294  ac_status=$?
    2343   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2344   (exit $ac_status); }; } >/dev/null 2>&1; then
     2295  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2296  test $ac_status = 0; }; } >/dev/null 2>&1; then
    23452297  ac_cv_prog_java_works=yes
    23462298else
    23472299  echo "configure: failed program was:" >&5
    23482300  cat $JAVA_TEST >&5
    2349   { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
    2350 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
    2351    { (exit 1); exit 1; }; }
     2301  as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    23522302fi
    23532303rm -fr $JAVA_TEST $CLASS_TEST Test.uue
    23542304
    23552305fi
    2356 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     2306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
    23572307$as_echo "$ac_cv_prog_java_works" >&6; }
    23582308
     
    23632313
    23642314# Check whether --with-unac was given.
    2365 if test "${with_unac+set}" = set; then
     2315if test "${with_unac+set}" = set; then :
    23662316  withval=$with_unac; UNAC_DIR=$withval
    23672317fi
     
    23702320
    23712321# Check whether --with-libiconv was given.
    2372 if test "${with_libiconv+set}" = set; then
     2322if test "${with_libiconv+set}" = set; then :
    23732323  withval=$with_libiconv; LIBICONV_DIR=$withval
    23742324fi
     
    23932343done
    23942344if test -z "$ac_aux_dir"; then
    2395   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    2396 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    2397    { (exit 1); exit 1; }; }
     2345  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    23982346fi
    23992347
     
    24702418    *${as_nl}*)
    24712419      case $ac_var in #(
    2472       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2420      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    24732421$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    24742422      esac
     
    24762424      _ | IFS | as_nl) ;; #(
    24772425      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2478       *) $as_unset $ac_var ;;
     2426      *) { eval $ac_var=; unset $ac_var;} ;;
    24792427      esac ;;
    24802428    esac
     
    24842432    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    24852433    *${as_nl}ac_space=\ *)
    2486       # `set' does not quote correctly, so add quotes (double-quote
    2487       # substitution turns \\\\ into \\, and sed turns \\ into \).
     2434      # `set' does not quote correctly, so add quotes: double-quote
     2435      # substitution turns \\\\ into \\, and sed turns \\ into \.
    24882436      sed -n \
    24892437    "s/'/'\\\\''/g;
     
    25072455if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    25082456  if test -w "$cache_file"; then
    2509     test "x$cache_file" != "x/dev/null" &&
    2510       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     2457    if test "x$cache_file" != "x/dev/null"; then
     2458      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    25112459$as_echo "$as_me: updating cache $cache_file" >&6;}
    2512     cat confcache >$cache_file
     2460      if test ! -f "$cache_file" || test -h "$cache_file"; then
     2461    cat confcache >"$cache_file"
     2462      else
     2463        case $cache_file in #(
     2464        */* | ?:*)
     2465      mv -f confcache "$cache_file"$$ &&
     2466      mv -f "$cache_file"$$ "$cache_file" ;; #(
     2467        *)
     2468      mv -f confcache "$cache_file" ;;
     2469    esac
     2470      fi
     2471    fi
    25132472  else
    2514     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     2473    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    25152474$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    25162475  fi
     
    25622521ac_libobjs=
    25632522ac_ltlibobjs=
     2523U=
    25642524for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    25652525  # 1. Remove the extension, and $U if already installed.
     
    25682528  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    25692529  #    will be set to the directory where LIBOBJS objects are built.
    2570   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    2571   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     2530  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     2531  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    25722532done
    25732533LIBOBJS=$ac_libobjs
     
    25772537
    25782538
    2579 : ${CONFIG_STATUS=./config.status}
     2539: "${CONFIG_STATUS=./config.status}"
    25802540ac_write_fail=0
    25812541ac_clean_files_save=$ac_clean_files
    25822542ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    2583 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     2543{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    25842544$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    2585 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     2545as_write_fail=0
     2546cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    25862547#! $SHELL
    25872548# Generated by $as_me.
     
    25932554ac_cs_recheck=false
    25942555ac_cs_silent=false
     2556
    25952557SHELL=\${CONFIG_SHELL-$SHELL}
    2596 _ACEOF
    2597 
    2598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    2599 ## --------------------- ##
    2600 ## M4sh Initialization.  ##
    2601 ## --------------------- ##
     2558export SHELL
     2559_ASEOF
     2560cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     2561## -------------------- ##
     2562## M4sh Initialization. ##
     2563## -------------------- ##
    26022564
    26032565# Be more Bourne compatible
    26042566DUALCASE=1; export DUALCASE # for MKS sh
    2605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     2567if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    26062568  emulate sh
    26072569  NULLCMD=:
     
    26112573  setopt NO_GLOB_SUBST
    26122574else
    2613   case `(set -o) 2>/dev/null` in
    2614   *posix*) set -o posix ;;
     2575  case `(set -o) 2>/dev/null` in #(
     2576  *posix*) :
     2577    set -o posix ;; #(
     2578  *) :
     2579     ;;
    26152580esac
    2616 
    2617 fi
    2618 
    2619 
    2620 
    2621 
    2622 # PATH needs CR
    2623 # Avoid depending upon Character Ranges.
    2624 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    2625 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    2626 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    2627 as_cr_digits='0123456789'
    2628 as_cr_alnum=$as_cr_Letters$as_cr_digits
     2581fi
     2582
    26292583
    26302584as_nl='
     
    26352589as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    26362590as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    2637 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     2591# Prefer a ksh shell builtin over an external printf program on Solaris,
     2592# but without wasting forks for bash or zsh.
     2593if test -z "$BASH_VERSION$ZSH_VERSION" \
     2594    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     2595  as_echo='print -r --'
     2596  as_echo_n='print -rn --'
     2597elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    26382598  as_echo='printf %s\n'
    26392599  as_echo_n='printf %s'
     
    26462606    as_echo_n_body='eval
    26472607      arg=$1;
    2648       case $arg in
     2608      case $arg in #(
    26492609      *"$as_nl"*)
    26502610    expr "X$arg" : "X\\(.*\\)$as_nl";
     
    26692629fi
    26702630
    2671 # Support unset when possible.
    2672 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    2673   as_unset=unset
    2674 else
    2675   as_unset=false
    2676 fi
    2677 
    26782631
    26792632# IFS
     
    26852638
    26862639# Find who we are.  Look in the path if we contain no directory separator.
    2687 case $0 in
     2640as_myself=
     2641case $0 in #((
    26882642  *[\\/]* ) as_myself=$0 ;;
    26892643  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    26922646  IFS=$as_save_IFS
    26932647  test -z "$as_dir" && as_dir=.
    2694   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    2695 done
     2648    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     2649  done
    26962650IFS=$as_save_IFS
    26972651
     
    27052659if test ! -f "$as_myself"; then
    27062660  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    2707   { (exit 1); exit 1; }
    2708 fi
    2709 
    2710 # Work around bugs in pre-3.0 UWIN ksh.
    2711 for as_var in ENV MAIL MAILPATH
    2712 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     2661  exit 1
     2662fi
     2663
     2664# Unset variables that we do not need and which cause bugs (e.g. in
     2665# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     2666# suppresses any "Segmentation fault" message there.  '((' could
     2667# trigger a bug in pdksh 5.2.14.
     2668for as_var in BASH_ENV ENV MAIL MAILPATH
     2669do eval test x\${$as_var+set} = xset \
     2670  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    27132671done
    27142672PS1='$ '
     
    27222680export LANGUAGE
    27232681
    2724 # Required to use basename.
     2682# CDPATH.
     2683(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     2684
     2685
     2686# as_fn_error STATUS ERROR [LINENO LOG_FD]
     2687# ----------------------------------------
     2688# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     2689# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     2690# script with STATUS, using 1 if that was 0.
     2691as_fn_error ()
     2692{
     2693  as_status=$1; test $as_status -eq 0 && as_status=1
     2694  if test "$4"; then
     2695    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2696    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     2697  fi
     2698  $as_echo "$as_me: error: $2" >&2
     2699  as_fn_exit $as_status
     2700} # as_fn_error
     2701
     2702
     2703# as_fn_set_status STATUS
     2704# -----------------------
     2705# Set $? to STATUS, without forking.
     2706as_fn_set_status ()
     2707{
     2708  return $1
     2709} # as_fn_set_status
     2710
     2711# as_fn_exit STATUS
     2712# -----------------
     2713# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     2714as_fn_exit ()
     2715{
     2716  set +e
     2717  as_fn_set_status $1
     2718  exit $1
     2719} # as_fn_exit
     2720
     2721# as_fn_unset VAR
     2722# ---------------
     2723# Portably unset VAR.
     2724as_fn_unset ()
     2725{
     2726  { eval $1=; unset $1;}
     2727}
     2728as_unset=as_fn_unset
     2729# as_fn_append VAR VALUE
     2730# ----------------------
     2731# Append the text in VALUE to the end of the definition contained in VAR. Take
     2732# advantage of any shell optimizations that allow amortized linear growth over
     2733# repeated appends, instead of the typical quadratic growth present in naive
     2734# implementations.
     2735if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     2736  eval 'as_fn_append ()
     2737  {
     2738    eval $1+=\$2
     2739  }'
     2740else
     2741  as_fn_append ()
     2742  {
     2743    eval $1=\$$1\$2
     2744  }
     2745fi # as_fn_append
     2746
     2747# as_fn_arith ARG...
     2748# ------------------
     2749# Perform arithmetic evaluation on the ARGs, and store the result in the
     2750# global $as_val. Take advantage of shells that can avoid forks. The arguments
     2751# must be portable across $(()) and expr.
     2752if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     2753  eval 'as_fn_arith ()
     2754  {
     2755    as_val=$(( $* ))
     2756  }'
     2757else
     2758  as_fn_arith ()
     2759  {
     2760    as_val=`expr "$@" || test $? -eq 1`
     2761  }
     2762fi # as_fn_arith
     2763
     2764
    27252765if expr a : '\(a\)' >/dev/null 2>&1 &&
    27262766   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    27362776fi
    27372777
    2738 
    2739 # Name of the executable.
     2778if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     2779  as_dirname=dirname
     2780else
     2781  as_dirname=false
     2782fi
     2783
    27402784as_me=`$as_basename -- "$0" ||
    27412785$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    27572801      s/.*/./; q'`
    27582802
    2759 # CDPATH.
    2760 $as_unset CDPATH
    2761 
    2762 
    2763 
    2764   as_lineno_1=$LINENO
    2765   as_lineno_2=$LINENO
    2766   test "x$as_lineno_1" != "x$as_lineno_2" &&
    2767   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    2768 
    2769   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    2770   # uniformly replaced by the line number.  The first 'sed' inserts a
    2771   # line-number line after each line using $LINENO; the second 'sed'
    2772   # does the real work.  The second script uses 'N' to pair each
    2773   # line-number line with the line containing $LINENO, and appends
    2774   # trailing '-' during substitution so that $LINENO is not a special
    2775   # case at line end.
    2776   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    2777   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    2778   # E. McMahon (1931-1989) for sed's syntax.  :-)
    2779   sed -n '
    2780     p
    2781     /[$]LINENO/=
    2782   ' <$as_myself |
    2783     sed '
    2784       s/[$]LINENO.*/&-/
    2785       t lineno
    2786       b
    2787       :lineno
    2788       N
    2789       :loop
    2790       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    2791       t loop
    2792       s/-\n.*//
    2793     ' >$as_me.lineno &&
    2794   chmod +x "$as_me.lineno" ||
    2795     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    2796    { (exit 1); exit 1; }; }
    2797 
    2798   # Don't try to exec as it changes $[0], causing all sort of problems
    2799   # (the dirname of $[0] is not the place where we might find the
    2800   # original and so on.  Autoconf is especially sensitive to this).
    2801   . "./$as_me.lineno"
    2802   # Exit status is that of the last command.
    2803   exit
    2804 }
    2805 
    2806 
    2807 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    2808   as_dirname=dirname
    2809 else
    2810   as_dirname=false
    2811 fi
     2803# Avoid depending upon Character Ranges.
     2804as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     2805as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     2806as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     2807as_cr_digits='0123456789'
     2808as_cr_alnum=$as_cr_Letters$as_cr_digits
    28122809
    28132810ECHO_C= ECHO_N= ECHO_T=
    2814 case `echo -n x` in
     2811case `echo -n x` in #(((((
    28152812-n*)
    2816   case `echo 'x\c'` in
     2813  case `echo 'xy\c'` in
    28172814  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    2818   *)   ECHO_C='\c';;
     2815  xy)  ECHO_C='\c';;
     2816  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     2817       ECHO_T=' ';;
    28192818  esac;;
    28202819*)
    28212820  ECHO_N='-n';;
    28222821esac
    2823 if expr a : '\(a\)' >/dev/null 2>&1 &&
    2824    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    2825   as_expr=expr
    2826 else
    2827   as_expr=false
    2828 fi
    28292822
    28302823rm -f conf$$ conf$$.exe conf$$.file
     
    28412834    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    28422835    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    2843     # In both cases, we have to default to `cp -p'.
     2836    # In both cases, we have to default to `cp -pR'.
    28442837    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    2845       as_ln_s='cp -p'
     2838      as_ln_s='cp -pR'
    28462839  elif ln conf$$.file conf$$ 2>/dev/null; then
    28472840    as_ln_s=ln
    28482841  else
    2849     as_ln_s='cp -p'
     2842    as_ln_s='cp -pR'
    28502843  fi
    28512844else
    2852   as_ln_s='cp -p'
     2845  as_ln_s='cp -pR'
    28532846fi
    28542847rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    28552848rmdir conf$$.dir 2>/dev/null
    28562849
    2857 if mkdir -p . 2>/dev/null; then
    2858   as_mkdir_p=:
    2859 else
    2860   test -d ./-p && rmdir ./-p
    2861   as_mkdir_p=false
    2862 fi
    2863 
    2864 if test -x / >/dev/null 2>&1; then
    2865   as_test_x='test -x'
    2866 else
    2867   if ls -dL / >/dev/null 2>&1; then
    2868     as_ls_L_option=L
    2869   else
    2870     as_ls_L_option=
    2871   fi
    2872   as_test_x='
    2873     eval sh -c '\''
    2874       if test -d "$1"; then
    2875     test -d "$1/.";
    2876       else
    2877     case $1 in
    2878     -*)set "./$1";;
    2879     esac;
    2880     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    2881     ???[sx]*):;;*)false;;esac;fi
    2882     '\'' sh
    2883   '
    2884 fi
    2885 as_executable_p=$as_test_x
    2886 
    2887 # Sed expression to map a string onto a valid CPP name.
    2888 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    2889 
    2890 # Sed expression to map a string onto a valid variable name.
    2891 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    2892 
    2893 
    2894 exec 6>&1
    2895 
    2896 # Save the log message, to keep $[0] and so on meaningful, and to
    2897 # report actual input values of CONFIG_FILES etc. instead of their
    2898 # values after options handling.
    2899 ac_log="
    2900 This file was extended by $as_me, which was
    2901 generated by GNU Autoconf 2.63.  Invocation command line was
    2902 
    2903   CONFIG_FILES    = $CONFIG_FILES
    2904   CONFIG_HEADERS  = $CONFIG_HEADERS
    2905   CONFIG_LINKS    = $CONFIG_LINKS
    2906   CONFIG_COMMANDS = $CONFIG_COMMANDS
    2907   $ $0 $@
    2908 
    2909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    2910 "
    2911 
    2912 _ACEOF
    2913 
    2914 case $ac_config_files in *"
    2915 "*) set x $ac_config_files; shift; ac_config_files=$*;;
    2916 esac
    2917 
    2918 
    2919 
    2920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2921 # Files that config.status was made for.
    2922 config_files="$ac_config_files"
    2923 
    2924 _ACEOF
    2925 
    2926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    2927 ac_cs_usage="\
    2928 \`$as_me' instantiates files from templates according to the
    2929 current configuration.
    2930 
    2931 Usage: $0 [OPTION]... [FILE]...
    2932 
    2933   -h, --help       print this help, then exit
    2934   -V, --version    print version number and configuration settings, then exit
    2935   -q, --quiet, --silent
    2936                    do not print progress messages
    2937   -d, --debug      don't remove temporary files
    2938       --recheck    update $as_me by reconfiguring in the same conditions
    2939       --file=FILE[:TEMPLATE]
    2940                    instantiate the configuration file FILE
    2941 
    2942 Configuration files:
    2943 $config_files
    2944 
    2945 Report bugs to <[email protected]>."
    2946 
    2947 _ACEOF
    2948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2949 ac_cs_version="\\
    2950 config.status
    2951 configured by $0, generated by GNU Autoconf 2.63,
    2952   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    2953 
    2954 Copyright (C) 2008 Free Software Foundation, Inc.
    2955 This config.status script is free software; the Free Software Foundation
    2956 gives unlimited permission to copy, distribute and modify it."
    2957 
    2958 ac_pwd='$ac_pwd'
    2959 srcdir='$srcdir'
    2960 test -n "\$AWK" || AWK=awk
    2961 _ACEOF
    2962 
    2963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    2964 # The default lists apply if the user does not specify any file.
    2965 ac_need_defaults=:
    2966 while test $# != 0
    2967 do
    2968   case $1 in
    2969   --*=*)
    2970     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    2971     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    2972     ac_shift=:
    2973     ;;
    2974   *)
    2975     ac_option=$1
    2976     ac_optarg=$2
    2977     ac_shift=shift
    2978     ;;
    2979   esac
    2980 
    2981   case $ac_option in
    2982   # Handling of the options.
    2983   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    2984     ac_cs_recheck=: ;;
    2985   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    2986     $as_echo "$ac_cs_version"; exit ;;
    2987   --debug | --debu | --deb | --de | --d | -d )
    2988     debug=: ;;
    2989   --file | --fil | --fi | --f )
    2990     $ac_shift
    2991     case $ac_optarg in
    2992     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    2993     esac
    2994     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    2995     ac_need_defaults=false;;
    2996   --he | --h |  --help | --hel | -h )
    2997     $as_echo "$ac_cs_usage"; exit ;;
    2998   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    2999   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    3000     ac_cs_silent=: ;;
    3001 
    3002   # This is an error.
    3003   -*) { $as_echo "$as_me: error: unrecognized option: $1
    3004 Try \`$0 --help' for more information." >&2
    3005    { (exit 1); exit 1; }; } ;;
    3006 
    3007   *) ac_config_targets="$ac_config_targets $1"
    3008      ac_need_defaults=false ;;
    3009 
    3010   esac
    3011   shift
    3012 done
    3013 
    3014 ac_configure_extra_args=
    3015 
    3016 if $ac_cs_silent; then
    3017   exec 6>/dev/null
    3018   ac_configure_extra_args="$ac_configure_extra_args --silent"
    3019 fi
    3020 
    3021 _ACEOF
    3022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    3023 if \$ac_cs_recheck; then
    3024   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    3025   shift
    3026   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
    3027   CONFIG_SHELL='$SHELL'
    3028   export CONFIG_SHELL
    3029   exec "\$@"
    3030 fi
    3031 
    3032 _ACEOF
    3033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    3034 exec 5>>config.log
     2850
     2851# as_fn_mkdir_p
     2852# -------------
     2853# Create "$as_dir" as a directory, including parents if necessary.
     2854as_fn_mkdir_p ()
    30352855{
    3036   echo
    3037   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    3038 ## Running $as_me. ##
    3039 _ASBOX
    3040   $as_echo "$ac_log"
    3041 } >&5
    3042 
    3043 _ACEOF
    3044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    3045 _ACEOF
    3046 
    3047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    3048 
    3049 # Handling of arguments.
    3050 for ac_config_target in $ac_config_targets
    3051 do
    3052   case $ac_config_target in
    3053     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    3054     "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    3055 
    3056   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    3057 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    3058    { (exit 1); exit 1; }; };;
    3059   esac
    3060 done
    3061 
    3062 
    3063 # If the user did not use the arguments to specify the items to instantiate,
    3064 # then the envvar interface is used.  Set only those that are not.
    3065 # We use the long form for the default assignment because of an extremely
    3066 # bizarre bug on SunOS 4.1.3.
    3067 if $ac_need_defaults; then
    3068   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    3069 fi
    3070 
    3071 # Have a temporary directory for convenience.  Make it in the build tree
    3072 # simply because there is no reason against having it here, and in addition,
    3073 # creating and moving files from /tmp can sometimes cause problems.
    3074 # Hook for its removal unless debugging.
    3075 # Note that there is a small window in which the directory will not be cleaned:
    3076 # after its creation but before its name has been assigned to `$tmp'.
    3077 $debug ||
    3078 {
    3079   tmp=
    3080   trap 'exit_status=$?
    3081   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    3082 ' 0
    3083   trap '{ (exit 1); exit 1; }' 1 2 13 15
    3084 }
    3085 # Create a (secure) tmp directory for tmp files.
    3086 
    3087 {
    3088   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    3089   test -n "$tmp" && test -d "$tmp"
    3090 }  ||
    3091 {
    3092   tmp=./conf$$-$RANDOM
    3093   (umask 077 && mkdir "$tmp")
    3094 } ||
    3095 {
    3096    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    3097    { (exit 1); exit 1; }
    3098 }
    3099 
    3100 # Set up the scripts for CONFIG_FILES section.
    3101 # No need to generate them if there are no CONFIG_FILES.
    3102 # This happens for instance with `./config.status config.h'.
    3103 if test -n "$CONFIG_FILES"; then
    3104 
    3105 
    3106 ac_cr='
    3107 '
    3108 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    3109 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    3110   ac_cs_awk_cr='\\r'
    3111 else
    3112   ac_cs_awk_cr=$ac_cr
    3113 fi
    3114 
    3115 echo 'BEGIN {' >"$tmp/subs1.awk" &&
    3116 _ACEOF
    3117 
    3118 
    3119 {
    3120   echo "cat >conf$$subs.awk <<_ACEOF" &&
    3121   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
    3122   echo "_ACEOF"
    3123 } >conf$$subs.sh ||
    3124   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    3125 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    3126    { (exit 1); exit 1; }; }
    3127 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    3128 ac_delim='%!_!# '
    3129 for ac_last_try in false false false false false :; do
    3130   . ./conf$$subs.sh ||
    3131     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    3132 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    3133    { (exit 1); exit 1; }; }
    3134 
    3135   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
    3136   if test $ac_delim_n = $ac_delim_num; then
    3137     break
    3138   elif $ac_last_try; then
    3139     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    3140 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    3141    { (exit 1); exit 1; }; }
    3142   else
    3143     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    3144   fi
    3145 done
    3146 rm -f conf$$subs.sh
    3147 
    3148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    3149 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    3150 _ACEOF
    3151 sed -n '
    3152 h
    3153 s/^/S["/; s/!.*/"]=/
    3154 p
    3155 g
    3156 s/^[^!]*!//
    3157 :repl
    3158 t repl
    3159 s/'"$ac_delim"'$//
    3160 t delim
    3161 :nl
    3162 h
    3163 s/\(.\{148\}\).*/\1/
    3164 t more1
    3165 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
    3166 p
    3167 n
    3168 b repl
    3169 :more1
    3170 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    3171 p
    3172 g
    3173 s/.\{148\}//
    3174 t nl
    3175 :delim
    3176 h
    3177 s/\(.\{148\}\).*/\1/
    3178 t more2
    3179 s/["\\]/\\&/g; s/^/"/; s/$/"/
    3180 p
    3181 b
    3182 :more2
    3183 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    3184 p
    3185 g
    3186 s/.\{148\}//
    3187 t delim
    3188 ' <conf$$subs.awk | sed '
    3189 /^[^""]/{
    3190   N
    3191   s/\n//
    3192 }
    3193 ' >>$CONFIG_STATUS || ac_write_fail=1
    3194 rm -f conf$$subs.awk
    3195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    3196 _ACAWK
    3197 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    3198   for (key in S) S_is_set[key] = 1
    3199   FS = ""
    3200 
    3201 }
    3202 {
    3203   line = $ 0
    3204   nfields = split(line, field, "@")
    3205   substed = 0
    3206   len = length(field[1])
    3207   for (i = 2; i < nfields; i++) {
    3208     key = field[i]
    3209     keylen = length(key)
    3210     if (S_is_set[key]) {
    3211       value = S[key]
    3212       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
    3213       len += length(value) + length(field[++i])
    3214       substed = 1
    3215     } else
    3216       len += 1 + keylen
    3217   }
    3218 
    3219   print line
    3220 }
    3221 
    3222 _ACAWK
    3223 _ACEOF
    3224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    3225 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
    3226   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
    3227 else
    3228   cat
    3229 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    3230   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    3231 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    3232    { (exit 1); exit 1; }; }
    3233 _ACEOF
    3234 
    3235 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    3236 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    3237 # trailing colons and then remove the whole line if VPATH becomes empty
    3238 # (actually we leave an empty line to preserve line numbers).
    3239 if test "x$srcdir" = x.; then
    3240   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    3241 s/:*\$(srcdir):*/:/
    3242 s/:*\${srcdir}:*/:/
    3243 s/:*@srcdir@:*/:/
    3244 s/^\([^=]*=[     ]*\):*/\1/
    3245 s/:*$//
    3246 s/^[^=]*=[   ]*$//
    3247 }'
    3248 fi
    3249 
    3250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    3251 fi # test -n "$CONFIG_FILES"
    3252 
    3253 
    3254 eval set X "  :F $CONFIG_FILES      "
    3255 shift
    3256 for ac_tag
    3257 do
    3258   case $ac_tag in
    3259   :[FHLC]) ac_mode=$ac_tag; continue;;
    3260   esac
    3261   case $ac_mode$ac_tag in
    3262   :[FHL]*:*);;
    3263   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    3264 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    3265    { (exit 1); exit 1; }; };;
    3266   :[FH]-) ac_tag=-:-;;
    3267   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    3268   esac
    3269   ac_save_IFS=$IFS
    3270   IFS=:
    3271   set x $ac_tag
    3272   IFS=$ac_save_IFS
    3273   shift
    3274   ac_file=$1
    3275   shift
    3276 
    3277   case $ac_mode in
    3278   :L) ac_source=$1;;
    3279   :[FH])
    3280     ac_file_inputs=
    3281     for ac_f
    3282     do
    3283       case $ac_f in
    3284       -) ac_f="$tmp/stdin";;
    3285       *) # Look for the file first in the build tree, then in the source tree
    3286      # (if the path is not absolute).  The absolute path cannot be DOS-style,
    3287      # because $ac_f cannot contain `:'.
    3288      test -f "$ac_f" ||
    3289        case $ac_f in
    3290        [\\/$]*) false;;
    3291        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    3292        esac ||
    3293        { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    3294 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    3295    { (exit 1); exit 1; }; };;
    3296       esac
    3297       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    3298       ac_file_inputs="$ac_file_inputs '$ac_f'"
    3299     done
    3300 
    3301     # Let's still pretend it is `configure' which instantiates (i.e., don't
    3302     # use $as_me), people would be surprised to read:
    3303     #    /* config.h.  Generated by config.status.  */
    3304     configure_input='Generated from '`
    3305       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
    3306     `' by configure.'
    3307     if test x"$ac_file" != x-; then
    3308       configure_input="$ac_file.  $configure_input"
    3309       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
    3310 $as_echo "$as_me: creating $ac_file" >&6;}
    3311     fi
    3312     # Neutralize special characters interpreted by sed in replacement strings.
    3313     case $configure_input in #(
    3314     *\&* | *\|* | *\\* )
    3315        ac_sed_conf_input=`$as_echo "$configure_input" |
    3316        sed 's/[\\\\&|]/\\\\&/g'`;; #(
    3317     *) ac_sed_conf_input=$configure_input;;
    3318     esac
    3319 
    3320     case $ac_tag in
    3321     *:-:* | *:-) cat >"$tmp/stdin" \
    3322       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    3323 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    3324    { (exit 1); exit 1; }; } ;;
    3325     esac
    3326     ;;
    3327   esac
    3328 
    3329   ac_dir=`$as_dirname -- "$ac_file" ||
    3330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    3331      X"$ac_file" : 'X\(//\)[^/]' \| \
    3332      X"$ac_file" : 'X\(//\)$' \| \
    3333      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    3334 $as_echo X"$ac_file" |
    3335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    3336         s//\1/
    3337         q
    3338       }
    3339       /^X\(\/\/\)[^/].*/{
    3340         s//\1/
    3341         q
    3342       }
    3343       /^X\(\/\/\)$/{
    3344         s//\1/
    3345         q
    3346       }
    3347       /^X\(\/\).*/{
    3348         s//\1/
    3349         q
    3350       }
    3351       s/.*/./; q'`
    3352   { as_dir="$ac_dir"
     2856
    33532857  case $as_dir in #(
    33542858  -*) as_dir=./$as_dir;;
    33552859  esac
    3356   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     2860  test -d "$as_dir" || eval $as_mkdir_p || {
    33572861    as_dirs=
    33582862    while :; do
     
    33882892    done
    33892893    test -z "$as_dirs" || eval "mkdir $as_dirs"
    3390   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    3391 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    3392    { (exit 1); exit 1; }; }; }
     2894  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     2895
     2896
     2897} # as_fn_mkdir_p
     2898if mkdir -p . 2>/dev/null; then
     2899  as_mkdir_p='mkdir -p "$as_dir"'
     2900else
     2901  test -d ./-p && rmdir ./-p
     2902  as_mkdir_p=false
     2903fi
     2904
     2905
     2906# as_fn_executable_p FILE
     2907# -----------------------
     2908# Test if FILE is an executable regular file.
     2909as_fn_executable_p ()
     2910{
     2911  test -f "$1" && test -x "$1"
     2912} # as_fn_executable_p
     2913as_test_x='test -x'
     2914as_executable_p=as_fn_executable_p
     2915
     2916# Sed expression to map a string onto a valid CPP name.
     2917as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     2918
     2919# Sed expression to map a string onto a valid variable name.
     2920as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     2921
     2922
     2923exec 6>&1
     2924## ----------------------------------- ##
     2925## Main body of $CONFIG_STATUS script. ##
     2926## ----------------------------------- ##
     2927_ASEOF
     2928test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     2929
     2930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     2931# Save the log message, to keep $0 and so on meaningful, and to
     2932# report actual input values of CONFIG_FILES etc. instead of their
     2933# values after options handling.
     2934ac_log="
     2935This file was extended by $as_me, which was
     2936generated by GNU Autoconf 2.69.  Invocation command line was
     2937
     2938  CONFIG_FILES    = $CONFIG_FILES
     2939  CONFIG_HEADERS  = $CONFIG_HEADERS
     2940  CONFIG_LINKS    = $CONFIG_LINKS
     2941  CONFIG_COMMANDS = $CONFIG_COMMANDS
     2942  $ $0 $@
     2943
     2944on `(hostname || uname -n) 2>/dev/null | sed 1q`
     2945"
     2946
     2947_ACEOF
     2948
     2949case $ac_config_files in *"
     2950"*) set x $ac_config_files; shift; ac_config_files=$*;;
     2951esac
     2952
     2953
     2954
     2955cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     2956# Files that config.status was made for.
     2957config_files="$ac_config_files"
     2958
     2959_ACEOF
     2960
     2961cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     2962ac_cs_usage="\
     2963\`$as_me' instantiates files and other configuration actions
     2964from templates according to the current configuration.  Unless the files
     2965and actions are specified as TAGs, all are instantiated by default.
     2966
     2967Usage: $0 [OPTION]... [TAG]...
     2968
     2969  -h, --help       print this help, then exit
     2970  -V, --version    print version number and configuration settings, then exit
     2971      --config     print configuration, then exit
     2972  -q, --quiet, --silent
     2973                   do not print progress messages
     2974  -d, --debug      don't remove temporary files
     2975      --recheck    update $as_me by reconfiguring in the same conditions
     2976      --file=FILE[:TEMPLATE]
     2977                   instantiate the configuration file FILE
     2978
     2979Configuration files:
     2980$config_files
     2981
     2982Report bugs to the package provider."
     2983
     2984_ACEOF
     2985cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     2986ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     2987ac_cs_version="\\
     2988config.status
     2989configured by $0, generated by GNU Autoconf 2.69,
     2990  with options \\"\$ac_cs_config\\"
     2991
     2992Copyright (C) 2012 Free Software Foundation, Inc.
     2993This config.status script is free software; the Free Software Foundation
     2994gives unlimited permission to copy, distribute and modify it."
     2995
     2996ac_pwd='$ac_pwd'
     2997srcdir='$srcdir'
     2998test -n "\$AWK" || AWK=awk
     2999_ACEOF
     3000
     3001cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     3002# The default lists apply if the user does not specify any file.
     3003ac_need_defaults=:
     3004while test $# != 0
     3005do
     3006  case $1 in
     3007  --*=?*)
     3008    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     3009    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     3010    ac_shift=:
     3011    ;;
     3012  --*=)
     3013    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     3014    ac_optarg=
     3015    ac_shift=:
     3016    ;;
     3017  *)
     3018    ac_option=$1
     3019    ac_optarg=$2
     3020    ac_shift=shift
     3021    ;;
     3022  esac
     3023
     3024  case $ac_option in
     3025  # Handling of the options.
     3026  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     3027    ac_cs_recheck=: ;;
     3028  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     3029    $as_echo "$ac_cs_version"; exit ;;
     3030  --config | --confi | --conf | --con | --co | --c )
     3031    $as_echo "$ac_cs_config"; exit ;;
     3032  --debug | --debu | --deb | --de | --d | -d )
     3033    debug=: ;;
     3034  --file | --fil | --fi | --f )
     3035    $ac_shift
     3036    case $ac_optarg in
     3037    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     3038    '') as_fn_error $? "missing file argument" ;;
     3039    esac
     3040    as_fn_append CONFIG_FILES " '$ac_optarg'"
     3041    ac_need_defaults=false;;
     3042  --he | --h |  --help | --hel | -h )
     3043    $as_echo "$ac_cs_usage"; exit ;;
     3044  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     3045  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     3046    ac_cs_silent=: ;;
     3047
     3048  # This is an error.
     3049  -*) as_fn_error $? "unrecognized option: \`$1'
     3050Try \`$0 --help' for more information." ;;
     3051
     3052  *) as_fn_append ac_config_targets " $1"
     3053     ac_need_defaults=false ;;
     3054
     3055  esac
     3056  shift
     3057done
     3058
     3059ac_configure_extra_args=
     3060
     3061if $ac_cs_silent; then
     3062  exec 6>/dev/null
     3063  ac_configure_extra_args="$ac_configure_extra_args --silent"
     3064fi
     3065
     3066_ACEOF
     3067cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     3068if \$ac_cs_recheck; then
     3069  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     3070  shift
     3071  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     3072  CONFIG_SHELL='$SHELL'
     3073  export CONFIG_SHELL
     3074  exec "\$@"
     3075fi
     3076
     3077_ACEOF
     3078cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     3079exec 5>>config.log
     3080{
     3081  echo
     3082  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     3083## Running $as_me. ##
     3084_ASBOX
     3085  $as_echo "$ac_log"
     3086} >&5
     3087
     3088_ACEOF
     3089cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     3090_ACEOF
     3091
     3092cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     3093
     3094# Handling of arguments.
     3095for ac_config_target in $ac_config_targets
     3096do
     3097  case $ac_config_target in
     3098    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     3099    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     3100
     3101  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     3102  esac
     3103done
     3104
     3105
     3106# If the user did not use the arguments to specify the items to instantiate,
     3107# then the envvar interface is used.  Set only those that are not.
     3108# We use the long form for the default assignment because of an extremely
     3109# bizarre bug on SunOS 4.1.3.
     3110if $ac_need_defaults; then
     3111  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     3112fi
     3113
     3114# Have a temporary directory for convenience.  Make it in the build tree
     3115# simply because there is no reason against having it here, and in addition,
     3116# creating and moving files from /tmp can sometimes cause problems.
     3117# Hook for its removal unless debugging.
     3118# Note that there is a small window in which the directory will not be cleaned:
     3119# after its creation but before its name has been assigned to `$tmp'.
     3120$debug ||
     3121{
     3122  tmp= ac_tmp=
     3123  trap 'exit_status=$?
     3124  : "${ac_tmp:=$tmp}"
     3125  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     3126' 0
     3127  trap 'as_fn_exit 1' 1 2 13 15
     3128}
     3129# Create a (secure) tmp directory for tmp files.
     3130
     3131{
     3132  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     3133  test -d "$tmp"
     3134}  ||
     3135{
     3136  tmp=./conf$$-$RANDOM
     3137  (umask 077 && mkdir "$tmp")
     3138} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     3139ac_tmp=$tmp
     3140
     3141# Set up the scripts for CONFIG_FILES section.
     3142# No need to generate them if there are no CONFIG_FILES.
     3143# This happens for instance with `./config.status config.h'.
     3144if test -n "$CONFIG_FILES"; then
     3145
     3146
     3147ac_cr=`echo X | tr X '\015'`
     3148# On cygwin, bash can eat \r inside `` if the user requested igncr.
     3149# But we know of no other shell where ac_cr would be empty at this
     3150# point, so we can use a bashism as a fallback.
     3151if test "x$ac_cr" = x; then
     3152  eval ac_cr=\$\'\\r\'
     3153fi
     3154ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     3155if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     3156  ac_cs_awk_cr='\\r'
     3157else
     3158  ac_cs_awk_cr=$ac_cr
     3159fi
     3160
     3161echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     3162_ACEOF
     3163
     3164
     3165{
     3166  echo "cat >conf$$subs.awk <<_ACEOF" &&
     3167  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     3168  echo "_ACEOF"
     3169} >conf$$subs.sh ||
     3170  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     3171ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     3172ac_delim='%!_!# '
     3173for ac_last_try in false false false false false :; do
     3174  . ./conf$$subs.sh ||
     3175    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     3176
     3177  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     3178  if test $ac_delim_n = $ac_delim_num; then
     3179    break
     3180  elif $ac_last_try; then
     3181    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     3182  else
     3183    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     3184  fi
     3185done
     3186rm -f conf$$subs.sh
     3187
     3188cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     3189cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     3190_ACEOF
     3191sed -n '
     3192h
     3193s/^/S["/; s/!.*/"]=/
     3194p
     3195g
     3196s/^[^!]*!//
     3197:repl
     3198t repl
     3199s/'"$ac_delim"'$//
     3200t delim
     3201:nl
     3202h
     3203s/\(.\{148\}\)..*/\1/
     3204t more1
     3205s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     3206p
     3207n
     3208b repl
     3209:more1
     3210s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     3211p
     3212g
     3213s/.\{148\}//
     3214t nl
     3215:delim
     3216h
     3217s/\(.\{148\}\)..*/\1/
     3218t more2
     3219s/["\\]/\\&/g; s/^/"/; s/$/"/
     3220p
     3221b
     3222:more2
     3223s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     3224p
     3225g
     3226s/.\{148\}//
     3227t delim
     3228' <conf$$subs.awk | sed '
     3229/^[^""]/{
     3230  N
     3231  s/\n//
     3232}
     3233' >>$CONFIG_STATUS || ac_write_fail=1
     3234rm -f conf$$subs.awk
     3235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     3236_ACAWK
     3237cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     3238  for (key in S) S_is_set[key] = 1
     3239  FS = ""
     3240
     3241}
     3242{
     3243  line = $ 0
     3244  nfields = split(line, field, "@")
     3245  substed = 0
     3246  len = length(field[1])
     3247  for (i = 2; i < nfields; i++) {
     3248    key = field[i]
     3249    keylen = length(key)
     3250    if (S_is_set[key]) {
     3251      value = S[key]
     3252      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     3253      len += length(value) + length(field[++i])
     3254      substed = 1
     3255    } else
     3256      len += 1 + keylen
     3257  }
     3258
     3259  print line
     3260}
     3261
     3262_ACAWK
     3263_ACEOF
     3264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     3265if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     3266  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     3267else
     3268  cat
     3269fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     3270  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     3271_ACEOF
     3272
     3273# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     3274# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     3275# trailing colons and then remove the whole line if VPATH becomes empty
     3276# (actually we leave an empty line to preserve line numbers).
     3277if test "x$srcdir" = x.; then
     3278  ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
     3279h
     3280s///
     3281s/^/:/
     3282s/[  ]*$/:/
     3283s/:\$(srcdir):/:/g
     3284s/:\${srcdir}:/:/g
     3285s/:@srcdir@:/:/g
     3286s/^:*//
     3287s/:*$//
     3288x
     3289s/\(=[   ]*\).*/\1/
     3290G
     3291s/\n//
     3292s/^[^=]*=[   ]*$//
     3293}'
     3294fi
     3295
     3296cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     3297fi # test -n "$CONFIG_FILES"
     3298
     3299
     3300eval set X "  :F $CONFIG_FILES      "
     3301shift
     3302for ac_tag
     3303do
     3304  case $ac_tag in
     3305  :[FHLC]) ac_mode=$ac_tag; continue;;
     3306  esac
     3307  case $ac_mode$ac_tag in
     3308  :[FHL]*:*);;
     3309  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     3310  :[FH]-) ac_tag=-:-;;
     3311  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     3312  esac
     3313  ac_save_IFS=$IFS
     3314  IFS=:
     3315  set x $ac_tag
     3316  IFS=$ac_save_IFS
     3317  shift
     3318  ac_file=$1
     3319  shift
     3320
     3321  case $ac_mode in
     3322  :L) ac_source=$1;;
     3323  :[FH])
     3324    ac_file_inputs=
     3325    for ac_f
     3326    do
     3327      case $ac_f in
     3328      -) ac_f="$ac_tmp/stdin";;
     3329      *) # Look for the file first in the build tree, then in the source tree
     3330     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     3331     # because $ac_f cannot contain `:'.
     3332     test -f "$ac_f" ||
     3333       case $ac_f in
     3334       [\\/$]*) false;;
     3335       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     3336       esac ||
     3337       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     3338      esac
     3339      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     3340      as_fn_append ac_file_inputs " '$ac_f'"
     3341    done
     3342
     3343    # Let's still pretend it is `configure' which instantiates (i.e., don't
     3344    # use $as_me), people would be surprised to read:
     3345    #    /* config.h.  Generated by config.status.  */
     3346    configure_input='Generated from '`
     3347      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     3348    `' by configure.'
     3349    if test x"$ac_file" != x-; then
     3350      configure_input="$ac_file.  $configure_input"
     3351      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     3352$as_echo "$as_me: creating $ac_file" >&6;}
     3353    fi
     3354    # Neutralize special characters interpreted by sed in replacement strings.
     3355    case $configure_input in #(
     3356    *\&* | *\|* | *\\* )
     3357       ac_sed_conf_input=`$as_echo "$configure_input" |
     3358       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     3359    *) ac_sed_conf_input=$configure_input;;
     3360    esac
     3361
     3362    case $ac_tag in
     3363    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     3364      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     3365    esac
     3366    ;;
     3367  esac
     3368
     3369  ac_dir=`$as_dirname -- "$ac_file" ||
     3370$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     3371     X"$ac_file" : 'X\(//\)[^/]' \| \
     3372     X"$ac_file" : 'X\(//\)$' \| \
     3373     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     3374$as_echo X"$ac_file" |
     3375    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     3376        s//\1/
     3377        q
     3378      }
     3379      /^X\(\/\/\)[^/].*/{
     3380        s//\1/
     3381        q
     3382      }
     3383      /^X\(\/\/\)$/{
     3384        s//\1/
     3385        q
     3386      }
     3387      /^X\(\/\).*/{
     3388        s//\1/
     3389        q
     3390      }
     3391      s/.*/./; q'`
     3392  as_dir="$ac_dir"; as_fn_mkdir_p
    33933393  ac_builddir=.
    33943394
     
    34383438# FIXME: This hack should be removed a few years after 2.60.
    34393439ac_datarootdir_hack=; ac_datarootdir_seen=
    3440 
    34413440ac_sed_dataroot='
    34423441/datarootdir/ {
     
    34483447/@infodir@/p
    34493448/@localedir@/p
    3450 /@mandir@/p
    3451 '
     3449/@mandir@/p'
    34523450case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    34533451*datarootdir*) ac_datarootdir_seen=yes;;
    34543452*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    3455   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     3453  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    34563454$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    34573455_ACEOF
     
    34633461  s&@localedir@&$localedir&g
    34643462  s&@mandir@&$mandir&g
    3465     s&\\\${datarootdir}&$datarootdir&g' ;;
     3463  s&\\\${datarootdir}&$datarootdir&g' ;;
    34663464esac
    34673465_ACEOF
     
    34893487$ac_datarootdir_hack
    34903488"
    3491 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    3492   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    3493 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    3494    { (exit 1); exit 1; }; }
     3489eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     3490  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    34953491
    34963492test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    3497   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    3498   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    3499   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    3500 which seems to be undefined.  Please make sure it is defined." >&5
     3493  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     3494  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     3495      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     3496  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     3497which seems to be undefined.  Please make sure it is defined" >&5
    35013498$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    3502 which seems to be undefined.  Please make sure it is defined." >&2;}
    3503 
    3504   rm -f "$tmp/stdin"
     3499which seems to be undefined.  Please make sure it is defined" >&2;}
     3500
     3501  rm -f "$ac_tmp/stdin"
    35053502  case $ac_file in
    3506   -) cat "$tmp/out" && rm -f "$tmp/out";;
    3507   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     3503  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     3504  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    35083505  esac \
    3509   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    3510 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    3511    { (exit 1); exit 1; }; }
     3506  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    35123507 ;;
    35133508
     
    35193514
    35203515
    3521 { (exit 0); exit 0; }
     3516as_fn_exit 0
    35223517_ACEOF
    3523 chmod +x $CONFIG_STATUS
    35243518ac_clean_files=$ac_clean_files_save
    35253519
    35263520test $ac_write_fail = 0 ||
    3527   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    3528 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    3529    { (exit 1); exit 1; }; }
     3521  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    35303522
    35313523
     
    35483540  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    35493541  # would make configure fail if this is the last instruction.
    3550   $ac_cs_success || { (exit 1); exit 1; }
     3542  $ac_cs_success || as_fn_exit 1
    35513543fi
    35523544
     
    35923584      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    35933585      esac
    3594       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     3586      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    35953587    esac
    35963588  done
     
    36213613
    36223614    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    3623     $as_echo "$as_me:$LINENO: $ac_msg" >&5
     3615    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
    36243616    $as_echo "$ac_msg" >&6
    3625     { as_dir="$ac_dir"
    3626   case $as_dir in #(
    3627   -*) as_dir=./$as_dir;;
    3628   esac
    3629   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    3630     as_dirs=
    3631     while :; do
    3632       case $as_dir in #(
    3633       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    3634       *) as_qdir=$as_dir;;
    3635       esac
    3636       as_dirs="'$as_qdir' $as_dirs"
    3637       as_dir=`$as_dirname -- "$as_dir" ||
    3638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    3639      X"$as_dir" : 'X\(//\)[^/]' \| \
    3640      X"$as_dir" : 'X\(//\)$' \| \
    3641      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    3642 $as_echo X"$as_dir" |
    3643     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    3644         s//\1/
    3645         q
    3646       }
    3647       /^X\(\/\/\)[^/].*/{
    3648         s//\1/
    3649         q
    3650       }
    3651       /^X\(\/\/\)$/{
    3652         s//\1/
    3653         q
    3654       }
    3655       /^X\(\/\).*/{
    3656         s//\1/
    3657         q
    3658       }
    3659       s/.*/./; q'`
    3660       test -d "$as_dir" && break
    3661     done
    3662     test -z "$as_dirs" || eval "mkdir $as_dirs"
    3663   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    3664 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    3665    { (exit 1); exit 1; }; }; }
     3617    as_dir="$ac_dir"; as_fn_mkdir_p
    36663618    ac_builddir=.
    36673619
     
    37103662      ac_sub_configure=$ac_aux_dir/configure
    37113663    else
    3712       { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     3664      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
    37133665$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    37143666      ac_sub_configure=
     
    37243676      esac
    37253677
    3726       { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     3678      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    37273679$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    37283680      # The eval makes quoting arguments work.
    37293681      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    37303682       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    3731     { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    3732 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    3733    { (exit 1); exit 1; }; }
     3683    as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    37343684    fi
    37353685
     
    37383688fi
    37393689if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    3740   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     3690  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    37413691$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    37423692fi
  • main/trunk/greenstone2/common-src/indexers/mg/aclocal.m4

    r23356 r35306  
    226226AC_PROVIDE([$0])dnl
    227227if test "x$JAVACFLAGS" = x ; then
    228   JAVACFLAGS="-source 1.4 -target 1.4"
     228  JAVACFLAGS="-source 1.6 -target 1.6"
    229229fi
    230230AC_SUBST(JAVACFLAGS)
  • main/trunk/greenstone2/common-src/indexers/mg/configure

    r26675 r35306  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68.
     3# Generated by GNU Autoconf 2.69.
    44#
    55#
    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.
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    97#
    108#
     
    135133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136134
     135# Use a proper internal environment variable to ensure we don't fall
     136  # into an infinite loop, continuously re-executing ourselves.
     137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     138    _as_can_reexec=no; export _as_can_reexec;
     139    # We cannot yet assume a decent shell, so we have to provide a
     140# neutralization value for shells without unset; and this also
     141# works around shells that cannot unset nonexistent variables.
     142# Preserve -v and -x to the replacement shell.
     143BASH_ENV=/dev/null
     144ENV=/dev/null
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     146case $- in # ((((
     147  *v*x* | *x*v* ) as_opts=-vx ;;
     148  *v* ) as_opts=-v ;;
     149  *x* ) as_opts=-x ;;
     150  * ) as_opts= ;;
     151esac
     152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     153# Admittedly, this is quite paranoid, since all the known shells bail
     154# out after a failed `exec'.
     155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     156as_fn_exit 255
     157  fi
     158  # We don't want this to propagate to other subprocesses.
     159          { _as_can_reexec=; unset _as_can_reexec;}
    137160if test "x$CONFIG_SHELL" = x; then
    138161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     
    168191  exitcode=1; echo positional parameters were not saved.
    169192fi
    170 test x\$exitcode = x0 || exit 1"
     193test x\$exitcode = x0 || exit 1
     194test -x / || exit 1"
    171195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    172196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     
    213237
    214238      if test "x$CONFIG_SHELL" != x; then :
    215   # We cannot yet assume a decent shell, so we have to provide a
    216     # neutralization value for shells without unset; and this also
    217     # works around shells that cannot unset nonexistent variables.
    218     # Preserve -v and -x to the replacement shell.
    219     BASH_ENV=/dev/null
    220     ENV=/dev/null
    221     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222     export CONFIG_SHELL
    223     case $- in # ((((
    224       *v*x* | *x*v* ) as_opts=-vx ;;
    225       *v* ) as_opts=-v ;;
    226       *x* ) as_opts=-x ;;
    227       * ) as_opts= ;;
    228     esac
    229     exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     239  export CONFIG_SHELL
     240             # We cannot yet assume a decent shell, so we have to provide a
     241# neutralization value for shells without unset; and this also
     242# works around shells that cannot unset nonexistent variables.
     243# Preserve -v and -x to the replacement shell.
     244BASH_ENV=/dev/null
     245ENV=/dev/null
     246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     247case $- in # ((((
     248  *v*x* | *x*v* ) as_opts=-vx ;;
     249  *v* ) as_opts=-v ;;
     250  *x* ) as_opts=-x ;;
     251  * ) as_opts= ;;
     252esac
     253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     254# Admittedly, this is quite paranoid, since all the known shells bail
     255# out after a failed `exec'.
     256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     257exit 255
    230258fi
    231259
     
    329357
    330358} # as_fn_mkdir_p
     359
     360# as_fn_executable_p FILE
     361# -----------------------
     362# Test if FILE is an executable regular file.
     363as_fn_executable_p ()
     364{
     365  test -f "$1" && test -x "$1"
     366} # as_fn_executable_p
    331367# as_fn_append VAR VALUE
    332368# ----------------------
     
    450486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    451487
     488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     489  # already done that, so ensure we don't try to do so again and fall
     490  # in an infinite loop.  This has already happened in practice.
     491  _as_can_reexec=no; export _as_can_reexec
    452492  # Don't try to exec as it changes $[0], causing all sort of problems
    453493  # (the dirname of $[0] is not the place where we might find the
     
    484524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    485525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    486     # In both cases, we have to default to `cp -p'.
     526    # In both cases, we have to default to `cp -pR'.
    487527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    488       as_ln_s='cp -p'
     528      as_ln_s='cp -pR'
    489529  elif ln conf$$.file conf$$ 2>/dev/null; then
    490530    as_ln_s=ln
    491531  else
    492     as_ln_s='cp -p'
     532    as_ln_s='cp -pR'
    493533  fi
    494534else
    495   as_ln_s='cp -p'
     535  as_ln_s='cp -pR'
    496536fi
    497537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    505545fi
    506546
    507 if test -x / >/dev/null 2>&1; then
    508   as_test_x='test -x'
    509 else
    510   if ls -dL / >/dev/null 2>&1; then
    511     as_ls_L_option=L
    512   else
    513     as_ls_L_option=
    514   fi
    515   as_test_x='
    516     eval sh -c '\''
    517       if test -d "$1"; then
    518     test -d "$1/.";
    519       else
    520     case $1 in #(
    521     -*)set "./$1";;
    522     esac;
    523     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    524     ???[sx]*):;;*)false;;esac;fi
    525     '\'' sh
    526   '
    527 fi
    528 as_executable_p=$as_test_x
     547as_test_x='test -x'
     548as_executable_p=as_fn_executable_p
    529549
    530550# Sed expression to map a string onto a valid CPP name.
     
    671691oldincludedir
    672692includedir
     693runstatedir
    673694localstatedir
    674695sharedstatedir
     
    749770sharedstatedir='${prefix}/com'
    750771localstatedir='${prefix}/var'
     772runstatedir='${localstatedir}/run'
    751773includedir='${prefix}/include'
    752774oldincludedir='/usr/include'
     
    10011023    silent=yes ;;
    10021024
     1025  -runstatedir | --runstatedir | --runstatedi | --runstated \
     1026  | --runstate | --runstat | --runsta | --runst | --runs \
     1027  | --run | --ru | --r)
     1028    ac_prev=runstatedir ;;
     1029  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     1030  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     1031  | --run=* | --ru=* | --r=*)
     1032    runstatedir=$ac_optarg ;;
     1033
    10031034  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    10041035    ac_prev=sbindir ;;
     
    11381169        datadir sysconfdir sharedstatedir localstatedir includedir \
    11391170        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1140         libdir localedir mandir
     1171        libdir localedir mandir runstatedir
    11411172do
    11421173  eval ac_val=\$$ac_var
     
    11661197  if test "x$build_alias" = x; then
    11671198    cross_compiling=maybe
    1168     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1169     If a cross compiler is detected then cross compile mode will be used" >&2
    11701199  elif test "x$build_alias" != "x$host_alias"; then
    11711200    cross_compiling=yes
     
    12931322  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    12941323  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1324  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
    12951325  --libdir=DIR            object code libraries [EPREFIX/lib]
    12961326  --includedir=DIR        C header files [PREFIX/include]
     
    14241454  cat <<\_ACEOF
    14251455configure
    1426 generated by GNU Autoconf 2.68
    1427 
    1428 Copyright (C) 2010 Free Software Foundation, Inc.
     1456generated by GNU Autoconf 2.69
     1457
     1458Copyright (C) 2012 Free Software Foundation, Inc.
    14291459This configure script is free software; the Free Software Foundation
    14301460gives unlimited permission to copy, distribute and modify it.
     
    17371767       } && test -s conftest$ac_exeext && {
    17381768     test "$cross_compiling" = yes ||
    1739      $as_test_x conftest$ac_exeext
     1769     test -x conftest$ac_exeext
    17401770       }; then :
    17411771  ac_retval=0
     
    18811911
    18821912It was created by $as_me, which was
    1883 generated by GNU Autoconf 2.68.  Invocation command line was
     1913generated by GNU Autoconf 2.69.  Invocation command line was
    18841914
    18851915  $ $0 $@
     
    24512481  test -z "$as_dir" && as_dir=.
    24522482    for ac_exec_ext in '' $ac_executable_extensions; do
    2453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24542484    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    24552485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24952525  test -z "$as_dir" && as_dir=.
    24962526    for ac_exec_ext in '' $ac_executable_extensions; do
    2497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2527  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24982528    ac_cv_prog_ac_ct_CXX="$ac_prog"
    24992529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29482978  test -z "$as_dir" && as_dir=.
    29492979    for ac_exec_ext in '' $ac_executable_extensions; do
    2950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    29512981    ac_cv_prog_AWK="$ac_prog"
    29522982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29903020  test -z "$as_dir" && as_dir=.
    29913021    for ac_exec_ext in '' $ac_executable_extensions; do
    2992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3022  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    29933023    ac_cv_prog_YACC="$ac_prog"
    29943024    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30373067  test -z "$as_dir" && as_dir=.
    30383068    for ac_exec_ext in '' $ac_executable_extensions; do
    3039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3069  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    30403070    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    30413071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30773107  test -z "$as_dir" && as_dir=.
    30783108    for ac_exec_ext in '' $ac_executable_extensions; do
    3079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3109  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    30803110    ac_cv_prog_ac_ct_CC="gcc"
    30813111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31303160  test -z "$as_dir" && as_dir=.
    31313161    for ac_exec_ext in '' $ac_executable_extensions; do
    3132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31333163    ac_cv_prog_CC="${ac_tool_prefix}cc"
    31343164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31713201  test -z "$as_dir" && as_dir=.
    31723202    for ac_exec_ext in '' $ac_executable_extensions; do
    3173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31743204    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    31753205       ac_prog_rejected=yes
     
    32293259  test -z "$as_dir" && as_dir=.
    32303260    for ac_exec_ext in '' $ac_executable_extensions; do
    3231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3261  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    32323262    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    32333263    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32733303  test -z "$as_dir" && as_dir=.
    32743304    for ac_exec_ext in '' $ac_executable_extensions; do
    3275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3305  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    32763306    ac_cv_prog_ac_ct_CC="$ac_prog"
    32773307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    34693499#include <stdarg.h>
    34703500#include <stdio.h>
    3471 #include <sys/types.h>
    3472 #include <sys/stat.h>
     3501struct stat;
    34733502/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    34743503struct buf { int x; };
     
    35923621    for ac_prog in ginstall scoinst install; do
    35933622      for ac_exec_ext in '' $ac_executable_extensions; do
    3594     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3623    if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    35953624      if test $ac_prog = install &&
    35963625        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    37073736  test -z "$as_dir" && as_dir=.
    37083737    for ac_exec_ext in '' $ac_executable_extensions; do
    3709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3738  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37103739    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    37113740    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    37473776  test -z "$as_dir" && as_dir=.
    37483777    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
     3778  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37503779    ac_cv_prog_ac_ct_RANLIB="ranlib"
    37513780    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38053834  test -z "$as_dir" && as_dir=.
    38063835    for ac_exec_ext in '' $ac_executable_extensions; do
    3807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3836  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38083837    ac_cv_prog_JAVA="$ac_prog"
    38093838    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38483877  test -z "$as_dir" && as_dir=.
    38493878    for ac_exec_ext in '' $ac_executable_extensions; do
    3850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3879  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38513880    ac_cv_prog_JAVA="$ac_prog"
    38523881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38943923  test -z "$as_dir" && as_dir=.
    38953924    for ac_exec_ext in '' $ac_executable_extensions; do
    3896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3925  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38973926    ac_cv_prog_uudecode="yes"
    38983927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    39363965        ac_cv_prog_uudecode_base64=yes
    39373966else
    3938         echo "configure: 3938: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3967        echo "configure: 3967: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    39393968        echo "configure: failed file was:" >&5
    39403969        cat Test.uue >&5
     
    39754004  test -z "$as_dir" && as_dir=.
    39764005    for ac_exec_ext in '' $ac_executable_extensions; do
    3977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4006  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39784007    ac_cv_prog_JAVAC="$ac_prog"
    39794008    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    40184047  test -z "$as_dir" && as_dir=.
    40194048    for ac_exec_ext in '' $ac_executable_extensions; do
    4020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4049  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40214050    ac_cv_prog_JAVAC="$ac_prog"
    40224051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    40594088CLASS_TEST=Test.class
    40604089cat << \EOF > $JAVA_TEST
    4061 /* #line 4061 "configure" */
     4090/* #line 4090 "configure" */
    40624091public class Test {
    40634092}
     
    40814110$as_echo "$ac_cv_prog_javac_works" >&6; }
    40824111if test "x$JAVACFLAGS" = x ; then
    4083   JAVACFLAGS="-source 1.4 -target 1.4"
     4112  JAVACFLAGS="-source 1.6 -target 1.6"
    40844113fi
    40854114
     
    40984127TEST=Test
    40994128cat << \EOF > $JAVA_TEST
    4100 /* [#]line 4100 "configure" */
     4129/* [#]line 4129 "configure" */
    41014130public class Test {
    41024131public static void main (String args[]) {
     
    41594188  test -z "$as_dir" && as_dir=.
    41604189    for ac_exec_ext in '' $ac_executable_extensions; do
    4161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4190  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41624191    ac_cv_prog_JAVAC="$ac_prog"
    41634192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    42024231  test -z "$as_dir" && as_dir=.
    42034232    for ac_exec_ext in '' $ac_executable_extensions; do
    4204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4233  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    42054234    ac_cv_prog_JAVAC="$ac_prog"
    42064235    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    42434272CLASS_TEST=Test.class
    42444273cat << \EOF > $JAVA_TEST
    4245 /* #line 4245 "configure" */
     4274/* #line 4274 "configure" */
    42464275public class Test {
    42474276}
     
    42654294$as_echo "$ac_cv_prog_javac_works" >&6; }
    42664295if test "x$JAVACFLAGS" = x ; then
    4267   JAVACFLAGS="-source 1.4 -target 1.4"
     4296  JAVACFLAGS="-source 1.6 -target 1.6"
    42684297fi
    42694298
     
    44274456    for ac_exec_ext in '' $ac_executable_extensions; do
    44284457      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4429       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4458      as_fn_executable_p "$ac_path_GREP" || continue
    44304459# Check for GNU ac_path_GREP and select it if it is found.
    44314460  # Check for GNU $ac_path_GREP
     
    44934522    for ac_exec_ext in '' $ac_executable_extensions; do
    44944523      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4495       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4524      as_fn_executable_p "$ac_path_EGREP" || continue
    44964525# Check for GNU ac_path_EGREP and select it if it is found.
    44974526  # Check for GNU $ac_path_EGREP
     
    47004729/* end confdefs.h.  */
    47014730
    4702 #     define __EXTENSIONS__ 1
    4703       $ac_includes_default
     4731#         define __EXTENSIONS__ 1
     4732          $ac_includes_default
    47044733int
    47054734main ()
     
    48634892main ()
    48644893{
    4865 /* FIXME: Include the comments suggested by Paul. */
     4894
    48664895#ifndef __cplusplus
    4867   /* Ultrix mips cc rejects this.  */
     4896  /* Ultrix mips cc rejects this sort of thing.  */
    48684897  typedef int charset[2];
    4869   const charset cs;
     4898  const charset cs = { 0, 0 };
    48704899  /* SunOS 4.1.1 cc rejects this.  */
    48714900  char const *const *pcpcc;
     
    48844913  ppc = (char**) pcpcc;
    48854914  pcpcc = (char const *const *) ppc;
    4886   { /* SCO 3.2v4 cc rejects this.  */
    4887     char *t;
     4915  { /* SCO 3.2v4 cc rejects this sort of thing.  */
     4916    char tx;
     4917    char *t = &tx;
    48884918    char const *s = 0 ? (char *) 0 : (char const *) 0;
    48894919
     
    49014931    ++p;
    49024932  }
    4903   { /* AIX XL C 1.02.0.0 rejects this saying
     4933  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
    49044934       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    4905     struct s { int j; const int *ap[3]; };
    4906     struct s *b; b->j = 5;
     4935    struct s { int j; const int *ap[3]; } bx;
     4936    struct s *b = &bx; b->j = 5;
    49074937  }
    49084938  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     
    55585588$ac_includes_default
    55595589int
    5560 find_stack_direction ()
     5590find_stack_direction (int *addr, int depth)
    55615591{
    5562   static char *addr = 0;
    5563   auto char dummy;
    5564   if (addr == 0)
    5565     {
    5566       addr = &dummy;
    5567       return find_stack_direction ();
    5568     }
    5569   else
    5570     return (&dummy > addr) ? 1 : -1;
     5592  int dir, dummy = 0;
     5593  if (! addr)
     5594    addr = &dummy;
     5595  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
     5596  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
     5597  return dir + dummy;
    55715598}
    55725599
    55735600int
    5574 main ()
     5601main (int argc, char **argv)
    55755602{
    5576   return find_stack_direction () < 0;
     5603  return find_stack_direction (0, argc + !argv + 20) < 0;
    55775604}
    55785605_ACEOF
     
    65376564    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    65386565    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    6539     # In both cases, we have to default to `cp -p'.
     6566    # In both cases, we have to default to `cp -pR'.
    65406567    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    6541       as_ln_s='cp -p'
     6568      as_ln_s='cp -pR'
    65426569  elif ln conf$$.file conf$$ 2>/dev/null; then
    65436570    as_ln_s=ln
    65446571  else
    6545     as_ln_s='cp -p'
     6572    as_ln_s='cp -pR'
    65466573  fi
    65476574else
    6548   as_ln_s='cp -p'
     6575  as_ln_s='cp -pR'
    65496576fi
    65506577rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    66066633fi
    66076634
    6608 if test -x / >/dev/null 2>&1; then
    6609   as_test_x='test -x'
    6610 else
    6611   if ls -dL / >/dev/null 2>&1; then
    6612     as_ls_L_option=L
    6613   else
    6614     as_ls_L_option=
    6615   fi
    6616   as_test_x='
    6617     eval sh -c '\''
    6618       if test -d "$1"; then
    6619     test -d "$1/.";
    6620       else
    6621     case $1 in #(
    6622     -*)set "./$1";;
    6623     esac;
    6624     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    6625     ???[sx]*):;;*)false;;esac;fi
    6626     '\'' sh
    6627   '
    6628 fi
    6629 as_executable_p=$as_test_x
     6635
     6636# as_fn_executable_p FILE
     6637# -----------------------
     6638# Test if FILE is an executable regular file.
     6639as_fn_executable_p ()
     6640{
     6641  test -f "$1" && test -x "$1"
     6642} # as_fn_executable_p
     6643as_test_x='test -x'
     6644as_executable_p=as_fn_executable_p
    66306645
    66316646# Sed expression to map a string onto a valid CPP name.
     
    66496664ac_log="
    66506665This file was extended by $as_me, which was
    6651 generated by GNU Autoconf 2.68.  Invocation command line was
     6666generated by GNU Autoconf 2.69.  Invocation command line was
    66526667
    66536668  CONFIG_FILES    = $CONFIG_FILES
     
    67156730ac_cs_version="\\
    67166731config.status
    6717 configured by $0, generated by GNU Autoconf 2.68,
     6732configured by $0, generated by GNU Autoconf 2.69,
    67186733  with options \\"\$ac_cs_config\\"
    67196734
    6720 Copyright (C) 2010 Free Software Foundation, Inc.
     6735Copyright (C) 2012 Free Software Foundation, Inc.
    67216736This config.status script is free software; the Free Software Foundation
    67226737gives unlimited permission to copy, distribute and modify it."
     
    68086823cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    68096824if \$ac_cs_recheck; then
    6810   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     6825  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    68116826  shift
    68126827  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  • main/trunk/greenstone2/common-src/indexers/mgpp/aclocal.m4

    r23356 r35306  
    310310AC_PROVIDE([$0])dnl
    311311if test "x$JAVACFLAGS" = x ; then
    312    JAVACFLAGS="-source 1.4 -target 1.4"
     312   JAVACFLAGS="-source 1.6 -target 1.6"
    313313fi
    314314AC_SUBST(JAVACFLAGS)
  • main/trunk/greenstone2/common-src/indexers/mgpp/configure

    r30867 r35306  
    694694oldincludedir
    695695includedir
     696runstatedir
    696697localstatedir
    697698sharedstatedir
     
    776777sharedstatedir='${prefix}/com'
    777778localstatedir='${prefix}/var'
     779runstatedir='${localstatedir}/run'
    778780includedir='${prefix}/include'
    779781oldincludedir='/usr/include'
     
    10281030    silent=yes ;;
    10291031
     1032  -runstatedir | --runstatedir | --runstatedi | --runstated \
     1033  | --runstate | --runstat | --runsta | --runst | --runs \
     1034  | --run | --ru | --r)
     1035    ac_prev=runstatedir ;;
     1036  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     1037  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     1038  | --run=* | --ru=* | --r=*)
     1039    runstatedir=$ac_optarg ;;
     1040
    10301041  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    10311042    ac_prev=sbindir ;;
     
    11651176        datadir sysconfdir sharedstatedir localstatedir includedir \
    11661177        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1167         libdir localedir mandir
     1178        libdir localedir mandir runstatedir
    11681179do
    11691180  eval ac_val=\$$ac_var
     
    13181329  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    13191330  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1331  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
    13201332  --libdir=DIR            object code libraries [EPREFIX/lib]
    13211333  --includedir=DIR        C header files [PREFIX/include]
     
    41754187        ac_cv_prog_uudecode_base64=yes
    41764188else
    4177         echo "configure: 4177: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     4189        echo "configure: 4189: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    41784190        echo "configure: failed file was:" >&5
    41794191        cat Test.uue >&5
     
    42984310CLASS_TEST=Test.class
    42994311cat << \EOF > $JAVA_TEST
    4300 /* #line 4300 "configure" */
     4312/* #line 4312 "configure" */
    43014313public class Test {
    43024314}
     
    43204332$as_echo "$ac_cv_prog_javac_works" >&6; }
    43214333if test "x$JAVACFLAGS" = x ; then
    4322    JAVACFLAGS="-source 1.4 -target 1.4"
     4334   JAVACFLAGS="-source 1.6 -target 1.6"
    43234335fi
    43244336
     
    43374349TEST=Test
    43384350cat << \EOF > $JAVA_TEST
    4339 /* [#]line 4339 "configure" */
     4351/* [#]line 4351 "configure" */
    43404352public class Test {
    43414353public static void main (String args[]) {
     
    44824494CLASS_TEST=Test.class
    44834495cat << \EOF > $JAVA_TEST
    4484 /* #line 4484 "configure" */
     4496/* #line 4496 "configure" */
    44854497public class Test {
    44864498}
     
    45044516$as_echo "$ac_cv_prog_javac_works" >&6; }
    45054517if test "x$JAVACFLAGS" = x ; then
    4506    JAVACFLAGS="-source 1.4 -target 1.4"
     4518   JAVACFLAGS="-source 1.6 -target 1.6"
    45074519fi
    45084520
  • main/trunk/greenstone2/common-src/packages/configure

    r30863 r35306  
    267267
    268268  if test "x$JAVACFLAGS" = "x" ; then
    269     JAVACFLAGS="-source 1.4 -target 1.4"
     269    JAVACFLAGS="-source 1.6 -target 1.6"
    270270  fi
    271271
Note: See TracChangeset for help on using the changeset viewer.