Changeset 35457 for main


Ignore:
Timestamp:
2021-09-23T17:15:59+12:00 (3 years ago)
Author:
davidb
Message:

Addition of java-based solution to more cleanly determine Java version and bitness, rather than relying of it's 'version' minus argument and inspecting with 'file' the 'java' program. This commit for Unix OS. A later phase of work will be the updated win32.mak file for Windows. Then a final phase of work will be for the 'search4j' source code to be tied in with the generated jar files

Location:
main/trunk/search4j
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/search4j/Makefile.in

    r29357 r35457  
    2828exec_prefix = @exec_prefix@
    2929bindir = @bindir@
     30libdir = @libdir@
    3031
    3132CXX = @CXX@
     
    3940LIBS = @LIBS@
    4041
     42JAVAC = @JAVAC@
     43JAR = jar
     44JAVACFLAGS = @JAVACFLAGS@
    4145
    4246CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
     
    6569
    6670# Default target: make the search4j executable
    67 all: $(EXECUTABLE)
     71all: $(EXECUTABLE) compile-java install-java
    6872
    6973search4j: $(EXECUTABLE_OBJECTS)
     
    7781clean:
    7882    rm -f $(OBJECTS) $(EXECUTABLE)
     83    rm -f DisplayJavaVersion.class
     84    rm -f DisplayJavaBitness.class
    7985
    8086distclean:
     
    8389depend:
    8490    makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES)
     91
     92compile-java:
     93    $(JAVAC) $(JAVACFLAGS) DisplayJavaVersion.java
     94    $(JAVAC) $(JAVACFLAGS) DisplayJavaBitness.java
     95    $(JAR) cvfm display-java-version.jar Manifest-version.txt DisplayJavaVersion.class
     96    $(JAR) cvfm display-java-bitness.jar Manifest-bitness.txt DisplayJavaBitness.class
     97
     98install-java:
     99    $(INSTALL) -d $(libdir)
     100    $(INSTALL) -d $(libdir)/java
     101    $(INSTALL) display-java-version.jar $(libdir)/java
     102    $(INSTALL) jna.jar $(libdir)/java
     103    $(INSTALL) display-java-bitness.jar $(libdir)/java
  • main/trunk/search4j/configure

    r17496 r35457  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for FULL-PACKAGE-NAME VERSION.
     3# Generated by GNU Autoconf 2.69 for FULL-PACKAGE-NAME VERSION.
    44#
    55# Report bugs to <BUG-REPORT-ADDRESS>.
    66#
    7 # Copyright (C) 2003 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    811# This configure script is free software; the Free Software Foundation
    912# gives unlimited permission to copy, distribute and modify it.
    10 ## --------------------- ##
    11 ## M4sh Initialization.  ##
    12 ## --------------------- ##
    13 
    14 # Be Bourne compatible
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
     16
     17# Be more Bourne compatible
     18DUALCASE=1; export DUALCASE # for MKS sh
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1620  emulate sh
    1721  NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1923  # is contrary to our usage.  Disable this feature.
    2024  alias -g '${1+"$@"}'='"$@"'
    21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    22   set -o posix
    23 fi
    24 DUALCASE=1; export DUALCASE # for MKS sh
    25 
    26 # Support unset when possible.
    27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    28   as_unset=unset
    29 else
    30   as_unset=false
    31 fi
    32 
    33 
    34 # Work around bugs in pre-3.0 UWIN ksh.
    35 $as_unset ENV MAIL MAILPATH
     25  setopt NO_GLOB_SUBST
     26else
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
     32esac
     33fi
     34
     35
     36as_nl='
     37'
     38export as_nl
     39# Printing a long string crashes Solaris 7 /usr/bin/printf.
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50  as_echo='printf %s\n'
     51  as_echo_n='printf %s'
     52else
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55    as_echo_n='/usr/ucb/echo -n'
     56  else
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58    as_echo_n_body='eval
     59      arg=$1;
     60      case $arg in #(
     61      *"$as_nl"*)
     62    expr "X$arg" : "X\\(.*\\)$as_nl";
     63    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64      esac;
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66    '
     67    export as_echo_n_body
     68    as_echo_n='sh -c $as_echo_n_body as_echo'
     69  fi
     70  export as_echo_body
     71  as_echo='sh -c $as_echo_body as_echo'
     72fi
     73
     74# The user is always right.
     75if test "${PATH_SEPARATOR+set}" != set; then
     76  PATH_SEPARATOR=:
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79      PATH_SEPARATOR=';'
     80  }
     81fi
     82
     83
     84# IFS
     85# We need space, tab and new line, in precisely that order.  Quoting is
     86# there to prevent editors from complaining about space-tab.
     87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88# splitting by setting IFS to empty value.)
     89IFS=" ""    $as_nl"
     90
     91# Find who we are.  Look in the path if we contain no directory separator.
     92as_myself=
     93case $0 in #((
     94  *[\\/]* ) as_myself=$0 ;;
     95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96for as_dir in $PATH
     97do
     98  IFS=$as_save_IFS
     99  test -z "$as_dir" && as_dir=.
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
     102IFS=$as_save_IFS
     103
     104     ;;
     105esac
     106# We did not find ourselves, most probably we were run as `sh COMMAND'
     107# in which case we are not to be found in the path.
     108if test "x$as_myself" = x; then
     109  as_myself=$0
     110fi
     111if test ! -f "$as_myself"; then
     112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     123done
    36124PS1='$ '
    37125PS2='> '
     
    39127
    40128# NLS nuisances.
    41 for as_var in \
    42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    44   LC_TELEPHONE LC_TIME
     129LC_ALL=C
     130export LC_ALL
     131LANGUAGE=C
     132export LANGUAGE
     133
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
     162if test "x$CONFIG_SHELL" = x; then
     163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     164  emulate sh
     165  NULLCMD=:
     166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     167  # is contrary to our usage.  Disable this feature.
     168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     169  setopt NO_GLOB_SUBST
     170else
     171  case \`(set -o) 2>/dev/null\` in #(
     172  *posix*) :
     173    set -o posix ;; #(
     174  *) :
     175     ;;
     176esac
     177fi
     178"
     179  as_required="as_fn_return () { (exit \$1); }
     180as_fn_success () { as_fn_return 0; }
     181as_fn_failure () { as_fn_return 1; }
     182as_fn_ret_success () { return 0; }
     183as_fn_ret_failure () { return 1; }
     184
     185exitcode=0
     186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     191
     192else
     193  exitcode=1; echo positional parameters were not saved.
     194fi
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
     197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201test \$(( 1 + 1 )) = 2 || exit 1"
     202  if (eval "$as_required") 2>/dev/null; then :
     203  as_have_required=yes
     204else
     205  as_have_required=no
     206fi
     207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     208
     209else
     210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     211as_found=false
     212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    45213do
    46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    47     eval $as_var=C; export $as_var
     214  IFS=$as_save_IFS
     215  test -z "$as_dir" && as_dir=.
     216  as_found=:
     217  case $as_dir in #(
     218     /*)
     219       for as_base in sh bash ksh sh5; do
     220         # Try only shells that exist, to save several forks.
     221         as_shell=$as_dir/$as_base
     222         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     223            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  CONFIG_SHELL=$as_shell as_have_required=yes
     225           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     226  break 2
     227fi
     228fi
     229       done;;
     230       esac
     231  as_found=false
     232done
     233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     234          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     235  CONFIG_SHELL=$SHELL as_have_required=yes
     236fi; }
     237IFS=$as_save_IFS
     238
     239
     240      if test "x$CONFIG_SHELL" != x; then :
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
     260fi
     261
     262    if test x$as_have_required = xno; then :
     263  $as_echo "$0: This script requires a shell more modern than all"
     264  $as_echo "$0: the shells that I found on your system."
     265  if test x${ZSH_VERSION+set} = xset ; then
     266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    48268  else
    49     $as_unset $as_var
     269    $as_echo "$0: Please tell [email protected] and BUG-REPORT-ADDRESS
     270$0: about your system, including any error possibly output
     271$0: before this message. Then install a modern shell, or
     272$0: manually run the script under such a shell if you do
     273$0: have one."
    50274  fi
    51 done
    52 
    53 # Required to use basename.
    54 if expr a : '\(a\)' >/dev/null 2>&1; then
     275  exit 1
     276fi
     277fi
     278fi
     279SHELL=${CONFIG_SHELL-/bin/sh}
     280export SHELL
     281# Unset more variables known to interfere with behavior of common tools.
     282CLICOLOR_FORCE= GREP_OPTIONS=
     283unset CLICOLOR_FORCE GREP_OPTIONS
     284
     285## --------------------- ##
     286## M4sh Shell Functions. ##
     287## --------------------- ##
     288# as_fn_unset VAR
     289# ---------------
     290# Portably unset VAR.
     291as_fn_unset ()
     292{
     293  { eval $1=; unset $1;}
     294}
     295as_unset=as_fn_unset
     296
     297# as_fn_set_status STATUS
     298# -----------------------
     299# Set $? to STATUS, without forking.
     300as_fn_set_status ()
     301{
     302  return $1
     303} # as_fn_set_status
     304
     305# as_fn_exit STATUS
     306# -----------------
     307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     308as_fn_exit ()
     309{
     310  set +e
     311  as_fn_set_status $1
     312  exit $1
     313} # as_fn_exit
     314
     315# as_fn_mkdir_p
     316# -------------
     317# Create "$as_dir" as a directory, including parents if necessary.
     318as_fn_mkdir_p ()
     319{
     320
     321  case $as_dir in #(
     322  -*) as_dir=./$as_dir;;
     323  esac
     324  test -d "$as_dir" || eval $as_mkdir_p || {
     325    as_dirs=
     326    while :; do
     327      case $as_dir in #(
     328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     329      *) as_qdir=$as_dir;;
     330      esac
     331      as_dirs="'$as_qdir' $as_dirs"
     332      as_dir=`$as_dirname -- "$as_dir" ||
     333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     334     X"$as_dir" : 'X\(//\)[^/]' \| \
     335     X"$as_dir" : 'X\(//\)$' \| \
     336     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     337$as_echo X"$as_dir" |
     338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     339        s//\1/
     340        q
     341      }
     342      /^X\(\/\/\)[^/].*/{
     343        s//\1/
     344        q
     345      }
     346      /^X\(\/\/\)$/{
     347        s//\1/
     348        q
     349      }
     350      /^X\(\/\).*/{
     351        s//\1/
     352        q
     353      }
     354      s/.*/./; q'`
     355      test -d "$as_dir" && break
     356    done
     357    test -z "$as_dirs" || eval "mkdir $as_dirs"
     358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     359
     360
     361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
     370# as_fn_append VAR VALUE
     371# ----------------------
     372# Append the text in VALUE to the end of the definition contained in VAR. Take
     373# advantage of any shell optimizations that allow amortized linear growth over
     374# repeated appends, instead of the typical quadratic growth present in naive
     375# implementations.
     376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     377  eval 'as_fn_append ()
     378  {
     379    eval $1+=\$2
     380  }'
     381else
     382  as_fn_append ()
     383  {
     384    eval $1=\$$1\$2
     385  }
     386fi # as_fn_append
     387
     388# as_fn_arith ARG...
     389# ------------------
     390# Perform arithmetic evaluation on the ARGs, and store the result in the
     391# global $as_val. Take advantage of shells that can avoid forks. The arguments
     392# must be portable across $(()) and expr.
     393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     394  eval 'as_fn_arith ()
     395  {
     396    as_val=$(( $* ))
     397  }'
     398else
     399  as_fn_arith ()
     400  {
     401    as_val=`expr "$@" || test $? -eq 1`
     402  }
     403fi # as_fn_arith
     404
     405
     406# as_fn_error STATUS ERROR [LINENO LOG_FD]
     407# ----------------------------------------
     408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     410# script with STATUS, using 1 if that was 0.
     411as_fn_error ()
     412{
     413  as_status=$1; test $as_status -eq 0 && as_status=1
     414  if test "$4"; then
     415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     417  fi
     418  $as_echo "$as_me: error: $2" >&2
     419  as_fn_exit $as_status
     420} # as_fn_error
     421
     422if expr a : '\(a\)' >/dev/null 2>&1 &&
     423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    55424  as_expr=expr
    56425else
     
    58427fi
    59428
    60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    61430  as_basename=basename
    62431else
     
    64433fi
    65434
    66 
    67 # Name of the executable.
    68 as_me=`$as_basename "$0" ||
     435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     436  as_dirname=dirname
     437else
     438  as_dirname=false
     439fi
     440
     441as_me=`$as_basename -- "$0" ||
    69442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    70443     X"$0" : 'X\(//\)$' \| \
    71      X"$0" : 'X\(/\)$' \| \
    72      .     : '\(.\)' 2>/dev/null ||
    73 echo X/"$0" |
    74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    75       /^X\/\(\/\/\)$/{ s//\1/; q; }
    76       /^X\/\(\/\).*/{ s//\1/; q; }
    77       s/.*/./; q'`
    78 
    79 
    80 # PATH needs CR, and LINENO needs CR and PATH.
     444     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     445$as_echo X/"$0" |
     446    sed '/^.*\/\([^/][^/]*\)\/*$/{
     447        s//\1/
     448        q
     449      }
     450      /^X\/\(\/\/\)$/{
     451        s//\1/
     452        q
     453      }
     454      /^X\/\(\/\).*/{
     455        s//\1/
     456        q
     457      }
     458      s/.*/./; q'`
     459
    81460# Avoid depending upon Character Ranges.
    82461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    86465as_cr_alnum=$as_cr_Letters$as_cr_digits
    87466
    88 # The user is always right.
    89 if test "${PATH_SEPARATOR+set}" != set; then
    90   echo "#! /bin/sh" >conf$$.sh
    91   echo  "exit 0"   >>conf$$.sh
    92   chmod +x conf$$.sh
    93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    94     PATH_SEPARATOR=';'
    95   else
    96     PATH_SEPARATOR=:
    97   fi
    98   rm -f conf$$.sh
    99 fi
    100 
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112 for as_dir in $PATH
    113 do
    114   IFS=$as_save_IFS
    115   test -z "$as_dir" && as_dir=.
    116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117 done
    118 
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
    125   fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
    132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134 do
    135   IFS=$as_save_IFS
    136   test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138      case $as_dir in
    139      /*)
    140        if ("$as_dir/$as_base" -c '
    141   as_lineno_1=$LINENO
    142   as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148          CONFIG_SHELL=$as_dir/$as_base
    149          export CONFIG_SHELL
    150          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151        fi;;
    152      esac
    153        done
    154 done
    155 ;;
    156   esac
    157 
    158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159   # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
    164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
     467
     468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     473  sed -n '
     474    p
     475    /[$]LINENO/=
     476  ' <$as_myself |
    167477    sed '
     478      s/[$]LINENO.*/&-/
     479      t lineno
     480      b
     481      :lineno
    168482      N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     483      :loop
     484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    172485      t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
     486      s/-\n.*//
    175487    ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
    177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178    { (exit 1); exit 1; }; }
    179 
     488  chmod +x "$as_me.lineno" ||
     489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    180495  # Don't try to exec as it changes $[0], causing all sort of problems
    181496  # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
     497  # original and so on.  Autoconf is especially sensitive to this).
     498  . "./$as_me.lineno"
    184499  # Exit status is that of the last command.
    185500  exit
    186501}
    187502
    188 
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='  ' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     503ECHO_C= ECHO_N= ECHO_T=
     504case `echo -n x` in #(((((
     505-n*)
     506  case `echo 'xy\c'` in
     507  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     508  xy)  ECHO_C='\c';;
     509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     510       ECHO_T=' ';;
     511  esac;;
     512*)
     513  ECHO_N='-n';;
    194514esac
    195515
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
    197   as_expr=expr
    198 else
    199   as_expr=false
    200 fi
    201 
    202516rm -f conf$$ conf$$.exe conf$$.file
    203 echo >conf$$.file
    204 if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
    209     as_ln_s='cp -p'
     517if test -d conf$$.dir; then
     518  rm -f conf$$.dir/conf$$.file
     519else
     520  rm -f conf$$.dir
     521  mkdir conf$$.dir 2>/dev/null
     522fi
     523if (echo >conf$$.file) 2>/dev/null; then
     524  if ln -s conf$$.file conf$$ 2>/dev/null; then
     525    as_ln_s='ln -s'
     526    # ... but there are two gotchas:
     527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     529    # In both cases, we have to default to `cp -pR'.
     530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     531      as_ln_s='cp -pR'
     532  elif ln conf$$.file conf$$ 2>/dev/null; then
     533    as_ln_s=ln
    210534  else
    211     as_ln_s='ln -s'
     535    as_ln_s='cp -pR'
    212536  fi
    213 elif ln conf$$.file conf$$ 2>/dev/null; then
    214   as_ln_s=ln
    215 else
    216   as_ln_s='cp -p'
    217 fi
    218 rm -f conf$$ conf$$.exe conf$$.file
     537else
     538  as_ln_s='cp -pR'
     539fi
     540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     541rmdir conf$$.dir 2>/dev/null
    219542
    220543if mkdir -p . 2>/dev/null; then
    221   as_mkdir_p=:
     544  as_mkdir_p='mkdir -p "$as_dir"'
    222545else
    223546  test -d ./-p && rmdir ./-p
     
    225548fi
    226549
    227 as_executable_p="test -f"
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    228552
    229553# Sed expression to map a string onto a valid CPP name.
     
    234558
    235559
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS="   $as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
     560test -n "$DJDIR" || exec 7<&0 </dev/null
     561exec 6>&1
    245562
    246563# Name of the host.
    247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    248565# so uname gets run too.
    249566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    250 
    251 exec 6>&1
    252567
    253568#
     
    255570#
    256571ac_default_prefix=/usr/local
     572ac_clean_files=
    257573ac_config_libobj_dir=.
     574LIBOBJS=
    258575cross_compiling=no
    259576subdirs=
    260577MFLAGS=
    261578MAKEFLAGS=
    262 SHELL=${CONFIG_SHELL-/bin/sh}
    263 
    264 # Maximum number of lines to put in a shell here document.
    265 # This variable seems obsolete.  It should probably be removed, and
    266 # only ac_max_sed_lines should be used.
    267 : ${ac_max_here_lines=38}
    268579
    269580# Identity of this package.
     
    273584PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
    274585PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
     586PACKAGE_URL=''
    275587
    276588ac_unique_file="search4j.cpp"
     
    278590ac_includes_default="\
    279591#include <stdio.h>
    280 #if HAVE_SYS_TYPES_H
     592#ifdef HAVE_SYS_TYPES_H
    281593# include <sys/types.h>
    282594#endif
    283 #if HAVE_SYS_STAT_H
     595#ifdef HAVE_SYS_STAT_H
    284596# include <sys/stat.h>
    285597#endif
    286 #if STDC_HEADERS
     598#ifdef STDC_HEADERS
    287599# include <stdlib.h>
    288600# include <stddef.h>
    289601#else
    290 # if HAVE_STDLIB_H
     602# ifdef HAVE_STDLIB_H
    291603#  include <stdlib.h>
    292604# endif
    293605#endif
    294 #if HAVE_STRING_H
    295 # if !STDC_HEADERS && HAVE_MEMORY_H
     606#ifdef HAVE_STRING_H
     607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    296608#  include <memory.h>
    297609# endif
    298610# include <string.h>
    299611#endif
    300 #if HAVE_STRINGS_H
     612#ifdef HAVE_STRINGS_H
    301613# include <strings.h>
    302614#endif
    303 #if HAVE_INTTYPES_H
     615#ifdef HAVE_INTTYPES_H
    304616# include <inttypes.h>
    305 #else
    306 # if HAVE_STDINT_H
    307 #  include <stdint.h>
    308 # endif
    309617#endif
    310 #if HAVE_UNISTD_H
     618#ifdef HAVE_STDINT_H
     619# include <stdint.h>
     620#endif
     621#ifdef HAVE_UNISTD_H
    311622# include <unistd.h>
    312623#endif"
    313624
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LIBOBJS LTLIBOBJS'
     625ac_subst_vars='LTLIBOBJS
     626LIBOBJS
     627EGREP
     628GREP
     629JAVACFLAGS
     630JAVAC
     631INSTALL_DATA
     632INSTALL_SCRIPT
     633INSTALL_PROGRAM
     634CPP
     635ac_ct_CC
     636CFLAGS
     637CC
     638OBJEXT
     639EXEEXT
     640ac_ct_CXX
     641CPPFLAGS
     642LDFLAGS
     643CXXFLAGS
     644CXX
     645target_alias
     646host_alias
     647build_alias
     648LIBS
     649ECHO_T
     650ECHO_N
     651ECHO_C
     652DEFS
     653mandir
     654localedir
     655libdir
     656psdir
     657pdfdir
     658dvidir
     659htmldir
     660infodir
     661docdir
     662oldincludedir
     663includedir
     664runstatedir
     665localstatedir
     666sharedstatedir
     667sysconfdir
     668datadir
     669datarootdir
     670libexecdir
     671sbindir
     672bindir
     673program_transform_name
     674prefix
     675exec_prefix
     676PACKAGE_URL
     677PACKAGE_BUGREPORT
     678PACKAGE_STRING
     679PACKAGE_VERSION
     680PACKAGE_TARNAME
     681PACKAGE_NAME
     682PATH_SEPARATOR
     683SHELL'
    315684ac_subst_files=''
     685ac_user_opts='
     686enable_option_checking
     687'
     688      ac_precious_vars='build_alias
     689host_alias
     690target_alias
     691CXX
     692CXXFLAGS
     693LDFLAGS
     694LIBS
     695CPPFLAGS
     696CCC
     697CC
     698CFLAGS
     699CPP'
     700
    316701
    317702# Initialize some variables set by options.
    318703ac_init_help=
    319704ac_init_version=false
     705ac_unrecognized_opts=
     706ac_unrecognized_sep=
    320707# The variables have the same names as the options, with
    321708# dashes changed to underlines.
     
    340727# by default will actually change.
    341728# Use braces instead of parens because sh, perl, etc. also accept them.
     729# (The list follows the same order as the GNU Coding Standards.)
    342730bindir='${exec_prefix}/bin'
    343731sbindir='${exec_prefix}/sbin'
    344732libexecdir='${exec_prefix}/libexec'
    345 datadir='${prefix}/share'
     733datarootdir='${prefix}/share'
     734datadir='${datarootdir}'
    346735sysconfdir='${prefix}/etc'
    347736sharedstatedir='${prefix}/com'
    348737localstatedir='${prefix}/var'
    349 libdir='${exec_prefix}/lib'
     738runstatedir='${localstatedir}/run'
    350739includedir='${prefix}/include'
    351740oldincludedir='/usr/include'
    352 infodir='${prefix}/info'
    353 mandir='${prefix}/man'
     741docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     742infodir='${datarootdir}/info'
     743htmldir='${docdir}'
     744dvidir='${docdir}'
     745pdfdir='${docdir}'
     746psdir='${docdir}'
     747libdir='${exec_prefix}/lib'
     748localedir='${datarootdir}/locale'
     749mandir='${datarootdir}/man'
    354750
    355751ac_prev=
     752ac_dashdash=
    356753for ac_option
    357754do
    358755  # If the previous option needs an argument, assign it.
    359756  if test -n "$ac_prev"; then
    360     eval "$ac_prev=\$ac_option"
     757    eval $ac_prev=\$ac_option
    361758    ac_prev=
    362759    continue
    363760  fi
    364761
    365   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     762  case $ac_option in
     763  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     764  *=)   ac_optarg= ;;
     765  *)    ac_optarg=yes ;;
     766  esac
    366767
    367768  # Accept the important Cygnus configure options, so we can diagnose typos.
    368769
    369   case $ac_option in
     770  case $ac_dashdash$ac_option in
     771  --)
     772    ac_dashdash=yes ;;
    370773
    371774  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    389792    cache_file=config.cache ;;
    390793
    391   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     794  -datadir | --datadir | --datadi | --datad)
    392795    ac_prev=datadir ;;
    393   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    394   | --da=*)
     796  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    395797    datadir=$ac_optarg ;;
    396798
     799  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     800  | --dataroo | --dataro | --datar)
     801    ac_prev=datarootdir ;;
     802  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     803  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     804    datarootdir=$ac_optarg ;;
     805
    397806  -disable-* | --disable-*)
    398     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     807    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    399808    # Reject names that are not valid shell variable names.
    400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    401       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    402    { (exit 1); exit 1; }; }
    403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    404     eval "enable_$ac_feature=no" ;;
     809    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     810      as_fn_error $? "invalid feature name: $ac_useropt"
     811    ac_useropt_orig=$ac_useropt
     812    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     813    case $ac_user_opts in
     814      *"
     815"enable_$ac_useropt"
     816"*) ;;
     817      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     818     ac_unrecognized_sep=', ';;
     819    esac
     820    eval enable_$ac_useropt=no ;;
     821
     822  -docdir | --docdir | --docdi | --doc | --do)
     823    ac_prev=docdir ;;
     824  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     825    docdir=$ac_optarg ;;
     826
     827  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     828    ac_prev=dvidir ;;
     829  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     830    dvidir=$ac_optarg ;;
    405831
    406832  -enable-* | --enable-*)
    407     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     833    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    408834    # Reject names that are not valid shell variable names.
    409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    410       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    411    { (exit 1); exit 1; }; }
    412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    413     case $ac_option in
    414       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    415       *) ac_optarg=yes ;;
     835    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     836      as_fn_error $? "invalid feature name: $ac_useropt"
     837    ac_useropt_orig=$ac_useropt
     838    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     839    case $ac_user_opts in
     840      *"
     841"enable_$ac_useropt"
     842"*) ;;
     843      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     844     ac_unrecognized_sep=', ';;
    416845    esac
    417     eval "enable_$ac_feature='$ac_optarg'" ;;
     846    eval enable_$ac_useropt=\$ac_optarg ;;
    418847
    419848  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    442871    host_alias=$ac_optarg ;;
    443872
     873  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     874    ac_prev=htmldir ;;
     875  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     876  | --ht=*)
     877    htmldir=$ac_optarg ;;
     878
    444879  -includedir | --includedir | --includedi | --included | --include \
    445880  | --includ | --inclu | --incl | --inc)
     
    466901    libexecdir=$ac_optarg ;;
    467902
     903  -localedir | --localedir | --localedi | --localed | --locale)
     904    ac_prev=localedir ;;
     905  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     906    localedir=$ac_optarg ;;
     907
    468908  -localstatedir | --localstatedir | --localstatedi | --localstated \
    469   | --localstate | --localstat | --localsta | --localst \
    470   | --locals | --local | --loca | --loc | --lo)
     909  | --localstate | --localstat | --localsta | --localst | --locals)
    471910    ac_prev=localstatedir ;;
    472911  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    473   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    474   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     912  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    475913    localstatedir=$ac_optarg ;;
    476914
     
    537975    program_transform_name=$ac_optarg ;;
    538976
     977  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     978    ac_prev=pdfdir ;;
     979  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     980    pdfdir=$ac_optarg ;;
     981
     982  -psdir | --psdir | --psdi | --psd | --ps)
     983    ac_prev=psdir ;;
     984  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     985    psdir=$ac_optarg ;;
     986
    539987  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    540988  | -silent | --silent | --silen | --sile | --sil)
    541989    silent=yes ;;
     990
     991  -runstatedir | --runstatedir | --runstatedi | --runstated \
     992  | --runstate | --runstat | --runsta | --runst | --runs \
     993  | --run | --ru | --r)
     994    ac_prev=runstatedir ;;
     995  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     996  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     997  | --run=* | --ru=* | --r=*)
     998    runstatedir=$ac_optarg ;;
    542999
    5431000  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     
    5871044
    5881045  -with-* | --with-*)
    589     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1046    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5901047    # Reject names that are not valid shell variable names.
    591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    592       { echo "$as_me: error: invalid package name: $ac_package" >&2
    593    { (exit 1); exit 1; }; }
    594     ac_package=`echo $ac_package| sed 's/-/_/g'`
    595     case $ac_option in
    596       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    597       *) ac_optarg=yes ;;
     1048    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1049      as_fn_error $? "invalid package name: $ac_useropt"
     1050    ac_useropt_orig=$ac_useropt
     1051    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1052    case $ac_user_opts in
     1053      *"
     1054"with_$ac_useropt"
     1055"*) ;;
     1056      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1057     ac_unrecognized_sep=', ';;
    5981058    esac
    599     eval "with_$ac_package='$ac_optarg'" ;;
     1059    eval with_$ac_useropt=\$ac_optarg ;;
    6001060
    6011061  -without-* | --without-*)
    602     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1062    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6031063    # Reject names that are not valid shell variable names.
    604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    605       { echo "$as_me: error: invalid package name: $ac_package" >&2
    606    { (exit 1); exit 1; }; }
    607     ac_package=`echo $ac_package | sed 's/-/_/g'`
    608     eval "with_$ac_package=no" ;;
     1064    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1065      as_fn_error $? "invalid package name: $ac_useropt"
     1066    ac_useropt_orig=$ac_useropt
     1067    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1068    case $ac_user_opts in
     1069      *"
     1070"with_$ac_useropt"
     1071"*) ;;
     1072      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1073     ac_unrecognized_sep=', ';;
     1074    esac
     1075    eval with_$ac_useropt=no ;;
    6091076
    6101077  --x)
     
    6261093    x_libraries=$ac_optarg ;;
    6271094
    628   -*) { echo "$as_me: error: unrecognized option: $ac_option
    629 Try \`$0 --help' for more information." >&2
    630    { (exit 1); exit 1; }; }
     1095  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1096Try \`$0 --help' for more information"
    6311097    ;;
    6321098
     
    6341100    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    6351101    # Reject names that are not valid shell variable names.
    636     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    637       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    638    { (exit 1); exit 1; }; }
    639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    640     eval "$ac_envvar='$ac_optarg'"
     1102    case $ac_envvar in #(
     1103      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1104      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1105    esac
     1106    eval $ac_envvar=\$ac_optarg
    6411107    export $ac_envvar ;;
    6421108
    6431109  *)
    6441110    # FIXME: should be removed in autoconf 3.0.
    645     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1111    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    6461112    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    647       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    648     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1113      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1114    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    6491115    ;;
    6501116
     
    6541120if test -n "$ac_prev"; then
    6551121  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    656   { echo "$as_me: error: missing argument to $ac_option" >&2
    657    { (exit 1); exit 1; }; }
    658 fi
    659 
    660 # Be sure to have absolute paths.
    661 for ac_var in exec_prefix prefix
     1122  as_fn_error $? "missing argument to $ac_option"
     1123fi
     1124
     1125if test -n "$ac_unrecognized_opts"; then
     1126  case $enable_option_checking in
     1127    no) ;;
     1128    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1129    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1130  esac
     1131fi
     1132
     1133# Check all directory arguments for consistency.
     1134for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1135        datadir sysconfdir sharedstatedir localstatedir includedir \
     1136        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1137        libdir localedir mandir runstatedir
    6621138do
    663   eval ac_val=$`echo $ac_var`
     1139  eval ac_val=\$$ac_var
     1140  # Remove trailing slashes.
    6641141  case $ac_val in
    665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    666     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    667    { (exit 1); exit 1; }; };;
     1142    */ )
     1143      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1144      eval $ac_var=\$ac_val;;
    6681145  esac
    669 done
    670 
    671 # Be sure to have absolute paths.
    672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673           localstatedir libdir includedir oldincludedir infodir mandir
    674 do
    675   eval ac_val=$`echo $ac_var`
     1146  # Be sure to have absolute directory names.
    6761147  case $ac_val in
    677     [\\/$]* | ?:[\\/]* ) ;;
    678     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    679    { (exit 1); exit 1; }; };;
     1148    [\\/$]* | ?:[\\/]* )  continue;;
     1149    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6801150  esac
     1151  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    6811152done
    6821153
     
    6921163  if test "x$build_alias" = x; then
    6931164    cross_compiling=maybe
    694     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    695     If a cross compiler is detected then cross compile mode will be used." >&2
    6961165  elif test "x$build_alias" != "x$host_alias"; then
    6971166    cross_compiling=yes
     
    7051174
    7061175
     1176ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1177ac_ls_di=`ls -di .` &&
     1178ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1179  as_fn_error $? "working directory cannot be determined"
     1180test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1181  as_fn_error $? "pwd does not report name of working directory"
     1182
     1183
    7071184# Find the source files, if location was not specified.
    7081185if test -z "$srcdir"; then
    7091186  ac_srcdir_defaulted=yes
    710   # Try the directory containing this script, then its parent.
    711   ac_confdir=`(dirname "$0") 2>/dev/null ||
    712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    713      X"$0" : 'X\(//\)[^/]' \| \
    714      X"$0" : 'X\(//\)$' \| \
    715      X"$0" : 'X\(/\)' \| \
    716      .     : '\(.\)' 2>/dev/null ||
    717 echo X"$0" |
    718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    719       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    720       /^X\(\/\/\)$/{ s//\1/; q; }
    721       /^X\(\/\).*/{ s//\1/; q; }
    722       s/.*/./; q'`
     1187  # Try the directory containing this script, then the parent directory.
     1188  ac_confdir=`$as_dirname -- "$as_myself" ||
     1189$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1190     X"$as_myself" : 'X\(//\)[^/]' \| \
     1191     X"$as_myself" : 'X\(//\)$' \| \
     1192     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1193$as_echo X"$as_myself" |
     1194    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1195        s//\1/
     1196        q
     1197      }
     1198      /^X\(\/\/\)[^/].*/{
     1199        s//\1/
     1200        q
     1201      }
     1202      /^X\(\/\/\)$/{
     1203        s//\1/
     1204        q
     1205      }
     1206      /^X\(\/\).*/{
     1207        s//\1/
     1208        q
     1209      }
     1210      s/.*/./; q'`
    7231211  srcdir=$ac_confdir
    724   if test ! -r $srcdir/$ac_unique_file; then
     1212  if test ! -r "$srcdir/$ac_unique_file"; then
    7251213    srcdir=..
    7261214  fi
     
    7281216  ac_srcdir_defaulted=no
    7291217fi
    730 if test ! -r $srcdir/$ac_unique_file; then
    731   if test "$ac_srcdir_defaulted" = yes; then
    732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    733    { (exit 1); exit 1; }; }
    734   else
    735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    736    { (exit 1); exit 1; }; }
    737   fi
    738 fi
    739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    740   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    741    { (exit 1); exit 1; }; }
    742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    743 ac_env_build_alias_set=${build_alias+set}
    744 ac_env_build_alias_value=$build_alias
    745 ac_cv_env_build_alias_set=${build_alias+set}
    746 ac_cv_env_build_alias_value=$build_alias
    747 ac_env_host_alias_set=${host_alias+set}
    748 ac_env_host_alias_value=$host_alias
    749 ac_cv_env_host_alias_set=${host_alias+set}
    750 ac_cv_env_host_alias_value=$host_alias
    751 ac_env_target_alias_set=${target_alias+set}
    752 ac_env_target_alias_value=$target_alias
    753 ac_cv_env_target_alias_set=${target_alias+set}
    754 ac_cv_env_target_alias_value=$target_alias
    755 ac_env_CXX_set=${CXX+set}
    756 ac_env_CXX_value=$CXX
    757 ac_cv_env_CXX_set=${CXX+set}
    758 ac_cv_env_CXX_value=$CXX
    759 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    760 ac_env_CXXFLAGS_value=$CXXFLAGS
    761 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    762 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    763 ac_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_env_LDFLAGS_value=$LDFLAGS
    765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    766 ac_cv_env_LDFLAGS_value=$LDFLAGS
    767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    771 ac_env_CC_set=${CC+set}
    772 ac_env_CC_value=$CC
    773 ac_cv_env_CC_set=${CC+set}
    774 ac_cv_env_CC_value=$CC
    775 ac_env_CFLAGS_set=${CFLAGS+set}
    776 ac_env_CFLAGS_value=$CFLAGS
    777 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    778 ac_cv_env_CFLAGS_value=$CFLAGS
    779 ac_env_CPP_set=${CPP+set}
    780 ac_env_CPP_value=$CPP
    781 ac_cv_env_CPP_set=${CPP+set}
    782 ac_cv_env_CPP_value=$CPP
     1218if test ! -r "$srcdir/$ac_unique_file"; then
     1219  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1220  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1221fi
     1222ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1223ac_abs_confdir=`(
     1224    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1225    pwd)`
     1226# When building in place, set srcdir=.
     1227if test "$ac_abs_confdir" = "$ac_pwd"; then
     1228  srcdir=.
     1229fi
     1230# Remove unnecessary trailing slashes from srcdir.
     1231# Double slashes in file names in object file debugging info
     1232# mess up M-x gdb in Emacs.
     1233case $srcdir in
     1234*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1235esac
     1236for ac_var in $ac_precious_vars; do
     1237  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1238  eval ac_env_${ac_var}_value=\$${ac_var}
     1239  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1240  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1241done
    7831242
    7841243#
     
    8031262      --help=recursive    display the short help of all the included packages
    8041263  -V, --version           display version information and exit
    805   -q, --quiet, --silent   do not print \`checking...' messages
     1264  -q, --quiet, --silent   do not print \`checking ...' messages
    8061265      --cache-file=FILE   cache test results in FILE [disabled]
    8071266  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    8091268      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8101269
    811 _ACEOF
    812 
    813   cat <<_ACEOF
    8141270Installation directories:
    8151271  --prefix=PREFIX         install architecture-independent files in PREFIX
    816               [$ac_default_prefix]
     1272                          [$ac_default_prefix]
    8171273  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    818               [PREFIX]
     1274                          [PREFIX]
    8191275
    8201276By default, \`make install' will install all the files in
     
    8261282
    8271283Fine tuning of the installation directories:
    828   --bindir=DIR           user executables [EPREFIX/bin]
    829   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    830   --libexecdir=DIR       program executables [EPREFIX/libexec]
    831   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    832   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    833   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    834   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    835   --libdir=DIR           object code libraries [EPREFIX/lib]
    836   --includedir=DIR       C header files [PREFIX/include]
    837   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    838   --infodir=DIR          info documentation [PREFIX/info]
    839   --mandir=DIR           man documentation [PREFIX/man]
     1284  --bindir=DIR            user executables [EPREFIX/bin]
     1285  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1286  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1287  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1288  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1289  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1290  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
     1291  --libdir=DIR            object code libraries [EPREFIX/lib]
     1292  --includedir=DIR        C header files [PREFIX/include]
     1293  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1294  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1295  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1296  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1297  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1298  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1299  --docdir=DIR            documentation root
     1300                          [DATAROOTDIR/doc/full-package-name]
     1301  --htmldir=DIR           html documentation [DOCDIR]
     1302  --dvidir=DIR            dvi documentation [DOCDIR]
     1303  --pdfdir=DIR            pdf documentation [DOCDIR]
     1304  --psdir=DIR             ps documentation [DOCDIR]
    8401305_ACEOF
    8411306
     
    8551320  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8561321              nonstandard directory <lib dir>
    857   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    858               headers in a nonstandard directory <include dir>
     1322  LIBS        libraries to pass to the linker, e.g. -l<library>
     1323  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1324              you have headers in a nonstandard directory <include dir>
    8591325  CC          C compiler command
    8601326  CFLAGS      C compiler flags
     
    8661332Report bugs to <BUG-REPORT-ADDRESS>.
    8671333_ACEOF
     1334ac_status=$?
    8681335fi
    8691336
    8701337if test "$ac_init_help" = "recursive"; then
    8711338  # If there are subdirs, report their specific --help.
    872   ac_popdir=`pwd`
    8731339  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    874     test -d $ac_dir || continue
     1340    test -d "$ac_dir" ||
     1341      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1342      continue
    8751343    ac_builddir=.
    8761344
    877 if test "$ac_dir" != .; then
    878   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    879   # A "../" for each directory in $ac_dir_suffix.
    880   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    881 else
    882   ac_dir_suffix= ac_top_builddir=
    883 fi
     1345case "$ac_dir" in
     1346.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1347*)
     1348  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1349  # A ".." for each directory in $ac_dir_suffix.
     1350  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1351  case $ac_top_builddir_sub in
     1352  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1353  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1354  esac ;;
     1355esac
     1356ac_abs_top_builddir=$ac_pwd
     1357ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1358# for backward compatibility:
     1359ac_top_builddir=$ac_top_build_prefix
    8841360
    8851361case $srcdir in
    886   .)  # No --srcdir option.  We are building in place.
     1362  .)  # We are building in place.
    8871363    ac_srcdir=.
    888     if test -z "$ac_top_builddir"; then
    889        ac_top_srcdir=.
     1364    ac_top_srcdir=$ac_top_builddir_sub
     1365    ac_abs_top_srcdir=$ac_pwd ;;
     1366  [\\/]* | ?:[\\/]* )  # Absolute name.
     1367    ac_srcdir=$srcdir$ac_dir_suffix;
     1368    ac_top_srcdir=$srcdir
     1369    ac_abs_top_srcdir=$srcdir ;;
     1370  *) # Relative name.
     1371    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1372    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1373    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1374esac
     1375ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1376
     1377    cd "$ac_dir" || { ac_status=$?; continue; }
     1378    # Check for guested configure.
     1379    if test -f "$ac_srcdir/configure.gnu"; then
     1380      echo &&
     1381      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1382    elif test -f "$ac_srcdir/configure"; then
     1383      echo &&
     1384      $SHELL "$ac_srcdir/configure" --help=recursive
    8901385    else
    891        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    892     fi ;;
    893   [\\/]* | ?:[\\/]* )  # Absolute path.
    894     ac_srcdir=$srcdir$ac_dir_suffix;
    895     ac_top_srcdir=$srcdir ;;
    896   *) # Relative path.
    897     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    898     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    899 esac
    900 
    901 # Do not use `cd foo && pwd` to compute absolute paths, because
    902 # the directories may not exist.
    903 case `pwd` in
    904 .) ac_abs_builddir="$ac_dir";;
    905 *)
    906   case "$ac_dir" in
    907   .) ac_abs_builddir=`pwd`;;
    908   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    909   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    910   esac;;
    911 esac
    912 case $ac_abs_builddir in
    913 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    914 *)
    915   case ${ac_top_builddir}. in
    916   .) ac_abs_top_builddir=$ac_abs_builddir;;
    917   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    918   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    919   esac;;
    920 esac
    921 case $ac_abs_builddir in
    922 .) ac_abs_srcdir=$ac_srcdir;;
    923 *)
    924   case $ac_srcdir in
    925   .) ac_abs_srcdir=$ac_abs_builddir;;
    926   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    927   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    928   esac;;
    929 esac
    930 case $ac_abs_builddir in
    931 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    932 *)
    933   case $ac_top_srcdir in
    934   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    935   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    936   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    937   esac;;
    938 esac
    939 
    940     cd $ac_dir
    941     # Check for guested configure; otherwise get Cygnus style configure.
    942     if test -f $ac_srcdir/configure.gnu; then
    943       echo
    944       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    945     elif test -f $ac_srcdir/configure; then
    946       echo
    947       $SHELL $ac_srcdir/configure  --help=recursive
    948     elif test -f $ac_srcdir/configure.ac ||
    949        test -f $ac_srcdir/configure.in; then
    950       echo
    951       $ac_configure --help
    952     else
    953       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    954     fi
    955     cd $ac_popdir
     1386      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1387    fi || ac_status=$?
     1388    cd "$ac_pwd" || { ac_status=$?; break; }
    9561389  done
    9571390fi
    9581391
    959 test -n "$ac_init_help" && exit 0
     1392test -n "$ac_init_help" && exit $ac_status
    9601393if $ac_init_version; then
    9611394  cat <<\_ACEOF
    9621395FULL-PACKAGE-NAME configure VERSION
    963 generated by GNU Autoconf 2.59
    964 
    965 Copyright (C) 2003 Free Software Foundation, Inc.
     1396generated by GNU Autoconf 2.69
     1397
     1398Copyright (C) 2012 Free Software Foundation, Inc.
    9661399This configure script is free software; the Free Software Foundation
    9671400gives unlimited permission to copy, distribute and modify it.
    9681401_ACEOF
    969   exit 0
    970 fi
    971 exec 5>config.log
    972 cat >&5 <<_ACEOF
     1402  exit
     1403fi
     1404
     1405## ------------------------ ##
     1406## Autoconf initialization. ##
     1407## ------------------------ ##
     1408
     1409# ac_fn_cxx_try_compile LINENO
     1410# ----------------------------
     1411# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1412ac_fn_cxx_try_compile ()
     1413{
     1414  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1415  rm -f conftest.$ac_objext
     1416  if { { ac_try="$ac_compile"
     1417case "(($ac_try" in
     1418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1419  *) ac_try_echo=$ac_try;;
     1420esac
     1421eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1422$as_echo "$ac_try_echo"; } >&5
     1423  (eval "$ac_compile") 2>conftest.err
     1424  ac_status=$?
     1425  if test -s conftest.err; then
     1426    grep -v '^ *+' conftest.err >conftest.er1
     1427    cat conftest.er1 >&5
     1428    mv -f conftest.er1 conftest.err
     1429  fi
     1430  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1431  test $ac_status = 0; } && {
     1432     test -z "$ac_cxx_werror_flag" ||
     1433     test ! -s conftest.err
     1434       } && test -s conftest.$ac_objext; then :
     1435  ac_retval=0
     1436else
     1437  $as_echo "$as_me: failed program was:" >&5
     1438sed 's/^/| /' conftest.$ac_ext >&5
     1439
     1440    ac_retval=1
     1441fi
     1442  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1443  as_fn_set_status $ac_retval
     1444
     1445} # ac_fn_cxx_try_compile
     1446
     1447# ac_fn_c_try_compile LINENO
     1448# --------------------------
     1449# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1450ac_fn_c_try_compile ()
     1451{
     1452  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1453  rm -f conftest.$ac_objext
     1454  if { { ac_try="$ac_compile"
     1455case "(($ac_try" in
     1456  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1457  *) ac_try_echo=$ac_try;;
     1458esac
     1459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1460$as_echo "$ac_try_echo"; } >&5
     1461  (eval "$ac_compile") 2>conftest.err
     1462  ac_status=$?
     1463  if test -s conftest.err; then
     1464    grep -v '^ *+' conftest.err >conftest.er1
     1465    cat conftest.er1 >&5
     1466    mv -f conftest.er1 conftest.err
     1467  fi
     1468  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1469  test $ac_status = 0; } && {
     1470     test -z "$ac_c_werror_flag" ||
     1471     test ! -s conftest.err
     1472       } && test -s conftest.$ac_objext; then :
     1473  ac_retval=0
     1474else
     1475  $as_echo "$as_me: failed program was:" >&5
     1476sed 's/^/| /' conftest.$ac_ext >&5
     1477
     1478    ac_retval=1
     1479fi
     1480  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1481  as_fn_set_status $ac_retval
     1482
     1483} # ac_fn_c_try_compile
     1484
     1485# ac_fn_c_try_cpp LINENO
     1486# ----------------------
     1487# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1488ac_fn_c_try_cpp ()
     1489{
     1490  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1491  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1492case "(($ac_try" in
     1493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1494  *) ac_try_echo=$ac_try;;
     1495esac
     1496eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1497$as_echo "$ac_try_echo"; } >&5
     1498  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1499  ac_status=$?
     1500  if test -s conftest.err; then
     1501    grep -v '^ *+' conftest.err >conftest.er1
     1502    cat conftest.er1 >&5
     1503    mv -f conftest.er1 conftest.err
     1504  fi
     1505  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1506  test $ac_status = 0; } > conftest.i && {
     1507     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1508     test ! -s conftest.err
     1509       }; then :
     1510  ac_retval=0
     1511else
     1512  $as_echo "$as_me: failed program was:" >&5
     1513sed 's/^/| /' conftest.$ac_ext >&5
     1514
     1515    ac_retval=1
     1516fi
     1517  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1518  as_fn_set_status $ac_retval
     1519
     1520} # ac_fn_c_try_cpp
     1521
     1522# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1523# -------------------------------------------
     1524# Tests whether TYPE exists after having included INCLUDES, setting cache
     1525# variable VAR accordingly.
     1526ac_fn_c_check_type ()
     1527{
     1528  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1530$as_echo_n "checking for $2... " >&6; }
     1531if eval \${$3+:} false; then :
     1532  $as_echo_n "(cached) " >&6
     1533else
     1534  eval "$3=no"
     1535  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1536/* end confdefs.h.  */
     1537$4
     1538int
     1539main ()
     1540{
     1541if (sizeof ($2))
     1542     return 0;
     1543  ;
     1544  return 0;
     1545}
     1546_ACEOF
     1547if ac_fn_c_try_compile "$LINENO"; then :
     1548  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1549/* end confdefs.h.  */
     1550$4
     1551int
     1552main ()
     1553{
     1554if (sizeof (($2)))
     1555        return 0;
     1556  ;
     1557  return 0;
     1558}
     1559_ACEOF
     1560if ac_fn_c_try_compile "$LINENO"; then :
     1561
     1562else
     1563  eval "$3=yes"
     1564fi
     1565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1566fi
     1567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1568fi
     1569eval ac_res=\$$3
     1570           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1571$as_echo "$ac_res" >&6; }
     1572  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1573
     1574} # ac_fn_c_check_type
     1575
     1576# ac_fn_c_try_run LINENO
     1577# ----------------------
     1578# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1579# that executables *can* be run.
     1580ac_fn_c_try_run ()
     1581{
     1582  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1583  if { { ac_try="$ac_link"
     1584case "(($ac_try" in
     1585  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1586  *) ac_try_echo=$ac_try;;
     1587esac
     1588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1589$as_echo "$ac_try_echo"; } >&5
     1590  (eval "$ac_link") 2>&5
     1591  ac_status=$?
     1592  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1593  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1594  { { case "(($ac_try" in
     1595  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1596  *) ac_try_echo=$ac_try;;
     1597esac
     1598eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1599$as_echo "$ac_try_echo"; } >&5
     1600  (eval "$ac_try") 2>&5
     1601  ac_status=$?
     1602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1603  test $ac_status = 0; }; }; then :
     1604  ac_retval=0
     1605else
     1606  $as_echo "$as_me: program exited with status $ac_status" >&5
     1607       $as_echo "$as_me: failed program was:" >&5
     1608sed 's/^/| /' conftest.$ac_ext >&5
     1609
     1610       ac_retval=$ac_status
     1611fi
     1612  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1613  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1614  as_fn_set_status $ac_retval
     1615
     1616} # ac_fn_c_try_run
     1617
     1618# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1619# -------------------------------------------------------
     1620# Tests whether HEADER exists and can be compiled using the include files in
     1621# INCLUDES, setting the cache variable VAR accordingly.
     1622ac_fn_c_check_header_compile ()
     1623{
     1624  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1626$as_echo_n "checking for $2... " >&6; }
     1627if eval \${$3+:} false; then :
     1628  $as_echo_n "(cached) " >&6
     1629else
     1630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1631/* end confdefs.h.  */
     1632$4
     1633#include <$2>
     1634_ACEOF
     1635if ac_fn_c_try_compile "$LINENO"; then :
     1636  eval "$3=yes"
     1637else
     1638  eval "$3=no"
     1639fi
     1640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1641fi
     1642eval ac_res=\$$3
     1643           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1644$as_echo "$ac_res" >&6; }
     1645  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1646
     1647} # ac_fn_c_check_header_compile
     1648
     1649# ac_fn_c_try_link LINENO
     1650# -----------------------
     1651# Try to link conftest.$ac_ext, and return whether this succeeded.
     1652ac_fn_c_try_link ()
     1653{
     1654  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1655  rm -f conftest.$ac_objext conftest$ac_exeext
     1656  if { { ac_try="$ac_link"
     1657case "(($ac_try" in
     1658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1659  *) ac_try_echo=$ac_try;;
     1660esac
     1661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1662$as_echo "$ac_try_echo"; } >&5
     1663  (eval "$ac_link") 2>conftest.err
     1664  ac_status=$?
     1665  if test -s conftest.err; then
     1666    grep -v '^ *+' conftest.err >conftest.er1
     1667    cat conftest.er1 >&5
     1668    mv -f conftest.er1 conftest.err
     1669  fi
     1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1671  test $ac_status = 0; } && {
     1672     test -z "$ac_c_werror_flag" ||
     1673     test ! -s conftest.err
     1674       } && test -s conftest$ac_exeext && {
     1675     test "$cross_compiling" = yes ||
     1676     test -x conftest$ac_exeext
     1677       }; then :
     1678  ac_retval=0
     1679else
     1680  $as_echo "$as_me: failed program was:" >&5
     1681sed 's/^/| /' conftest.$ac_ext >&5
     1682
     1683    ac_retval=1
     1684fi
     1685  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1686  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1687  # interfere with the next link command; also delete a directory that is
     1688  # left behind by Apple's compiler.  We do this before executing the actions.
     1689  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1690  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1691  as_fn_set_status $ac_retval
     1692
     1693} # ac_fn_c_try_link
     1694
     1695# ac_fn_c_check_func LINENO FUNC VAR
     1696# ----------------------------------
     1697# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1698ac_fn_c_check_func ()
     1699{
     1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1702$as_echo_n "checking for $2... " >&6; }
     1703if eval \${$3+:} false; then :
     1704  $as_echo_n "(cached) " >&6
     1705else
     1706  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1707/* end confdefs.h.  */
     1708/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1709   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1710#define $2 innocuous_$2
     1711
     1712/* System header to define __stub macros and hopefully few prototypes,
     1713    which can conflict with char $2 (); below.
     1714    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1715    <limits.h> exists even on freestanding compilers.  */
     1716
     1717#ifdef __STDC__
     1718# include <limits.h>
     1719#else
     1720# include <assert.h>
     1721#endif
     1722
     1723#undef $2
     1724
     1725/* Override any GCC internal prototype to avoid an error.
     1726   Use char because int might match the return type of a GCC
     1727   builtin and then its argument prototype would still apply.  */
     1728#ifdef __cplusplus
     1729extern "C"
     1730#endif
     1731char $2 ();
     1732/* The GNU C library defines this for functions which it implements
     1733    to always fail with ENOSYS.  Some functions are actually named
     1734    something starting with __ and the normal name is an alias.  */
     1735#if defined __stub_$2 || defined __stub___$2
     1736choke me
     1737#endif
     1738
     1739int
     1740main ()
     1741{
     1742return $2 ();
     1743  ;
     1744  return 0;
     1745}
     1746_ACEOF
     1747if ac_fn_c_try_link "$LINENO"; then :
     1748  eval "$3=yes"
     1749else
     1750  eval "$3=no"
     1751fi
     1752rm -f core conftest.err conftest.$ac_objext \
     1753    conftest$ac_exeext conftest.$ac_ext
     1754fi
     1755eval ac_res=\$$3
     1756           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1757$as_echo "$ac_res" >&6; }
     1758  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1759
     1760} # ac_fn_c_check_func
     1761cat >config.log <<_ACEOF
    9731762This file contains any messages produced by compilers while
    9741763running configure, to aid debugging if configure makes a mistake.
    9751764
    9761765It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
    977 generated by GNU Autoconf 2.59.  Invocation command line was
     1766generated by GNU Autoconf 2.69.  Invocation command line was
    9781767
    9791768  $ $0 $@
    9801769
    9811770_ACEOF
     1771exec 5>>config.log
    9821772{
    9831773cat <<_ASUNAME
     
    9981788/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    9991789/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1000 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1790/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10011791/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10021792/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10101800  IFS=$as_save_IFS
    10111801  test -z "$as_dir" && as_dir=.
    1012   echo "PATH: $as_dir"
    1013 done
     1802    $as_echo "PATH: $as_dir"
     1803  done
     1804IFS=$as_save_IFS
    10141805
    10151806} >&5
     
    10331824ac_configure_args0=
    10341825ac_configure_args1=
    1035 ac_sep=
    10361826ac_must_keep_next=false
    10371827for ac_pass in 1 2
     
    10441834    | -silent | --silent | --silen | --sile | --sil)
    10451835      continue ;;
    1046     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1047       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1836    *\'*)
     1837      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10481838    esac
    10491839    case $ac_pass in
    1050     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1840    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    10511841    2)
    1052       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1842      as_fn_append ac_configure_args1 " '$ac_arg'"
    10531843      if test $ac_must_keep_next = true; then
    10541844    ac_must_keep_next=false # Got value, back to normal.
     
    10661856    esac
    10671857      fi
    1068       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1069       # Get rid of the leading space.
    1070       ac_sep=" "
     1858      as_fn_append ac_configure_args " '$ac_arg'"
    10711859      ;;
    10721860    esac
    10731861  done
    10741862done
    1075 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1076 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1863{ ac_configure_args0=; unset ac_configure_args0;}
     1864{ ac_configure_args1=; unset ac_configure_args1;}
    10771865
    10781866# When interrupted or exit'd, cleanup temporary files, and complete
    10791867# config.log.  We remove comments because anyway the quotes in there
    10801868# would cause problems or look ugly.
    1081 # WARNING: Be sure not to use single quotes in there, as some shells,
    1082 # such as our DU 5.0 friend, will then `close' the trap.
     1869# WARNING: Use '\'' to represent an apostrophe within the trap.
     1870# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    10831871trap 'exit_status=$?
    10841872  # Save into config.log some information that might help in debugging.
     
    10861874    echo
    10871875
    1088     cat <<\_ASBOX
    1089 ## ---------------- ##
     1876    $as_echo "## ---------------- ##
    10901877## Cache variables. ##
    1091 ## ---------------- ##
    1092 _ASBOX
     1878## ---------------- ##"
    10931879    echo
    10941880    # The following way of writing the cache mishandles newlines in values,
    1095 {
     1881(
     1882  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1883    eval ac_val=\$$ac_var
     1884    case $ac_val in #(
     1885    *${as_nl}*)
     1886      case $ac_var in #(
     1887      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1888$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1889      esac
     1890      case $ac_var in #(
     1891      _ | IFS | as_nl) ;; #(
     1892      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     1893      *) { eval $ac_var=; unset $ac_var;} ;;
     1894      esac ;;
     1895    esac
     1896  done
    10961897  (set) 2>&1 |
    1097     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1098     *ac_space=\ *)
     1898    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1899    *${as_nl}ac_space=\ *)
    10991900      sed -n \
    1100     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1101       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1901    "s/'\''/'\''\\\\'\'''\''/g;
     1902      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1903      ;; #(
     1904    *)
     1905      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11021906      ;;
    1103     *)
    1104       sed -n \
    1105     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1106       ;;
    1107     esac;
    1108 }
     1907    esac |
     1908    sort
     1909)
    11091910    echo
    11101911
    1111     cat <<\_ASBOX
    1112 ## ----------------- ##
     1912    $as_echo "## ----------------- ##
    11131913## Output variables. ##
    1114 ## ----------------- ##
    1115 _ASBOX
     1914## ----------------- ##"
    11161915    echo
    11171916    for ac_var in $ac_subst_vars
    11181917    do
    1119       eval ac_val=$`echo $ac_var`
    1120       echo "$ac_var='"'"'$ac_val'"'"'"
     1918      eval ac_val=\$$ac_var
     1919      case $ac_val in
     1920      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1921      esac
     1922      $as_echo "$ac_var='\''$ac_val'\''"
    11211923    done | sort
    11221924    echo
    11231925
    11241926    if test -n "$ac_subst_files"; then
    1125       cat <<\_ASBOX
    1126 ## ------------- ##
    1127 ## Output files. ##
    1128 ## ------------- ##
    1129 _ASBOX
     1927      $as_echo "## ------------------- ##
     1928## File substitutions. ##
     1929## ------------------- ##"
    11301930      echo
    11311931      for ac_var in $ac_subst_files
    11321932      do
    1133     eval ac_val=$`echo $ac_var`
    1134     echo "$ac_var='"'"'$ac_val'"'"'"
     1933    eval ac_val=\$$ac_var
     1934    case $ac_val in
     1935    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1936    esac
     1937    $as_echo "$ac_var='\''$ac_val'\''"
    11351938      done | sort
    11361939      echo
     
    11381941
    11391942    if test -s confdefs.h; then
    1140       cat <<\_ASBOX
    1141 ## ----------- ##
     1943      $as_echo "## ----------- ##
    11421944## confdefs.h. ##
    1143 ## ----------- ##
    1144 _ASBOX
     1945## ----------- ##"
    11451946      echo
    1146       sed "/^$/d" confdefs.h | sort
     1947      cat confdefs.h
    11471948      echo
    11481949    fi
    11491950    test "$ac_signal" != 0 &&
    1150       echo "$as_me: caught signal $ac_signal"
    1151     echo "$as_me: exit $exit_status"
     1951      $as_echo "$as_me: caught signal $ac_signal"
     1952    $as_echo "$as_me: exit $exit_status"
    11521953  } >&5
    1153   rm -f core *.core &&
    1154   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1954  rm -f core *.core core.conftest.* &&
     1955    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11551956    exit $exit_status
    1156      ' 0
     1957' 0
    11571958for ac_signal in 1 2 13 15; do
    1158   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1959  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    11591960done
    11601961ac_signal=0
    11611962
    11621963# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1163 rm -rf conftest* confdefs.h
    1164 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1165 echo >confdefs.h
     1964rm -f -r conftest* confdefs.h
     1965
     1966$as_echo "/* confdefs.h */" > confdefs.h
    11661967
    11671968# Predefined preprocessor variables.
     
    11711972_ACEOF
    11721973
    1173 
    11741974cat >>confdefs.h <<_ACEOF
    11751975#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    11761976_ACEOF
    11771977
    1178 
    11791978cat >>confdefs.h <<_ACEOF
    11801979#define PACKAGE_VERSION "$PACKAGE_VERSION"
    11811980_ACEOF
    11821981
    1183 
    11841982cat >>confdefs.h <<_ACEOF
    11851983#define PACKAGE_STRING "$PACKAGE_STRING"
    11861984_ACEOF
    11871985
    1188 
    11891986cat >>confdefs.h <<_ACEOF
    11901987#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    11911988_ACEOF
    11921989
     1990cat >>confdefs.h <<_ACEOF
     1991#define PACKAGE_URL "$PACKAGE_URL"
     1992_ACEOF
     1993
    11931994
    11941995# Let the site file select an alternate cache file if it wants to.
    1195 # Prefer explicitly selected file to automatically selected ones.
    1196 if test -z "$CONFIG_SITE"; then
    1197   if test "x$prefix" != xNONE; then
    1198     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1199   else
    1200     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1201   fi
    1202 fi
    1203 for ac_site_file in $CONFIG_SITE; do
    1204   if test -r "$ac_site_file"; then
    1205     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1206 echo "$as_me: loading site script $ac_site_file" >&6;}
     1996# Prefer an explicitly selected file to automatically selected ones.
     1997ac_site_file1=NONE
     1998ac_site_file2=NONE
     1999if test -n "$CONFIG_SITE"; then
     2000  # We do not want a PATH search for config.site.
     2001  case $CONFIG_SITE in #((
     2002    -*)  ac_site_file1=./$CONFIG_SITE;;
     2003    */*) ac_site_file1=$CONFIG_SITE;;
     2004    *)   ac_site_file1=./$CONFIG_SITE;;
     2005  esac
     2006elif test "x$prefix" != xNONE; then
     2007  ac_site_file1=$prefix/share/config.site
     2008  ac_site_file2=$prefix/etc/config.site
     2009else
     2010  ac_site_file1=$ac_default_prefix/share/config.site
     2011  ac_site_file2=$ac_default_prefix/etc/config.site
     2012fi
     2013for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     2014do
     2015  test "x$ac_site_file" = xNONE && continue
     2016  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2017    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2018$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    12072019    sed 's/^/| /' "$ac_site_file" >&5
    1208     . "$ac_site_file"
     2020    . "$ac_site_file" \
     2021      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2022$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2023as_fn_error $? "failed to load site script $ac_site_file
     2024See \`config.log' for more details" "$LINENO" 5; }
    12092025  fi
    12102026done
    12112027
    12122028if test -r "$cache_file"; then
    1213   # Some versions of bash will fail to source /dev/null (special
    1214   # files actually), so we avoid doing that.
    1215   if test -f "$cache_file"; then
    1216     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1217 echo "$as_me: loading cache $cache_file" >&6;}
     2029  # Some versions of bash will fail to source /dev/null (special files
     2030  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2031  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2032    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2033$as_echo "$as_me: loading cache $cache_file" >&6;}
    12182034    case $cache_file in
    1219       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1220       *)                      . ./$cache_file;;
     2035      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     2036      *)                      . "./$cache_file";;
    12212037    esac
    12222038  fi
    12232039else
    1224   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1225 echo "$as_me: creating cache $cache_file" >&6;}
     2040  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2041$as_echo "$as_me: creating cache $cache_file" >&6;}
    12262042  >$cache_file
    12272043fi
     
    12302046# value.
    12312047ac_cache_corrupted=false
    1232 for ac_var in `(set) 2>&1 |
    1233            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     2048for ac_var in $ac_precious_vars; do
    12342049  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12352050  eval ac_new_set=\$ac_env_${ac_var}_set
    1236   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1237   eval ac_new_val="\$ac_env_${ac_var}_value"
     2051  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     2052  eval ac_new_val=\$ac_env_${ac_var}_value
    12382053  case $ac_old_set,$ac_new_set in
    12392054    set,)
    1240       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1241 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2055      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2056$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    12422057      ac_cache_corrupted=: ;;
    12432058    ,set)
    1244       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1245 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2059      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2060$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    12462061      ac_cache_corrupted=: ;;
    12472062    ,);;
    12482063    *)
    12492064      if test "x$ac_old_val" != "x$ac_new_val"; then
    1250     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1251 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1252     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1253 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1254     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1255 echo "$as_me:   current value: $ac_new_val" >&2;}
    1256     ac_cache_corrupted=:
     2065    # differences in whitespace do not lead to failure.
     2066    ac_old_val_w=`echo x $ac_old_val`
     2067    ac_new_val_w=`echo x $ac_new_val`
     2068    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2069      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2070$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2071      ac_cache_corrupted=:
     2072    else
     2073      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2074$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2075      eval $ac_var=\$ac_old_val
     2076    fi
     2077    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2078$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2079    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2080$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    12572081      fi;;
    12582082  esac
     
    12602084  if test "$ac_new_set" = set; then
    12612085    case $ac_new_val in
    1262     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1263       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2086    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12642087    *) ac_arg=$ac_var=$ac_new_val ;;
    12652088    esac
    12662089    case " $ac_configure_args " in
    12672090      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1268       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2091      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    12692092    esac
    12702093  fi
    12712094done
    12722095if $ac_cache_corrupted; then
    1273   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1274 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1275   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1276 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1277    { (exit 1); exit 1; }; }
    1278 fi
     2096  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2098  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2099$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2100  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2101fi
     2102## -------------------- ##
     2103## Main body of script. ##
     2104## -------------------- ##
    12792105
    12802106ac_ext=c
     
    12862112
    12872113
    1288 
    1289 
    1290 
    1291 
    1292 
    1293 
    1294 
    1295 
    1296 
    1297 
    1298 
    1299 
    1300 
    1301 
    1302 
    1303 
    1304 
    1305 
    1306 
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313           ac_config_headers="$ac_config_headers config.h"
     2114ac_config_headers="$ac_config_headers config.h"
    13142115
    13152116
    13162117# Checks for programs.
    1317 ac_ext=cc
     2118ac_ext=cpp
    13182119ac_cpp='$CXXCPP $CPPFLAGS'
    13192120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13202121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13212122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    1322 if test -n "$ac_tool_prefix"; then
    1323   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2123if test -z "$CXX"; then
     2124  if test -n "$CCC"; then
     2125    CXX=$CCC
     2126  else
     2127    if test -n "$ac_tool_prefix"; then
     2128  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    13242129  do
    13252130    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    13262131set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1327 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1329 if test "${ac_cv_prog_CXX+set}" = set; then
    1330   echo $ECHO_N "(cached) $ECHO_C" >&6
     2132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2133$as_echo_n "checking for $ac_word... " >&6; }
     2134if ${ac_cv_prog_CXX+:} false; then :
     2135  $as_echo_n "(cached) " >&6
    13312136else
    13322137  if test -n "$CXX"; then
     
    13382143  IFS=$as_save_IFS
    13392144  test -z "$as_dir" && as_dir=.
    1340   for ac_exec_ext in '' $ac_executable_extensions; do
    1341   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2145    for ac_exec_ext in '' $ac_executable_extensions; do
     2146  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    13422147    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    1343     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    13442149    break 2
    13452150  fi
    13462151done
    1347 done
     2152  done
     2153IFS=$as_save_IFS
    13482154
    13492155fi
     
    13512157CXX=$ac_cv_prog_CXX
    13522158if test -n "$CXX"; then
    1353   echo "$as_me:$LINENO: result: $CXX" >&5
    1354 echo "${ECHO_T}$CXX" >&6
    1355 else
    1356   echo "$as_me:$LINENO: result: no" >&5
    1357 echo "${ECHO_T}no" >&6
    1358 fi
     2159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     2160$as_echo "$CXX" >&6; }
     2161else
     2162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2163$as_echo "no" >&6; }
     2164fi
     2165
    13592166
    13602167    test -n "$CXX" && break
     
    13632170if test -z "$CXX"; then
    13642171  ac_ct_CXX=$CXX
    1365   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2172  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    13662173do
    13672174  # Extract the first word of "$ac_prog", so it can be a program name with args.
    13682175set dummy $ac_prog; ac_word=$2
    1369 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1371 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    1372   echo $ECHO_N "(cached) $ECHO_C" >&6
     2176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2177$as_echo_n "checking for $ac_word... " >&6; }
     2178if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     2179  $as_echo_n "(cached) " >&6
    13732180else
    13742181  if test -n "$ac_ct_CXX"; then
     
    13802187  IFS=$as_save_IFS
    13812188  test -z "$as_dir" && as_dir=.
    1382   for ac_exec_ext in '' $ac_executable_extensions; do
    1383   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2189    for ac_exec_ext in '' $ac_executable_extensions; do
     2190  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    13842191    ac_cv_prog_ac_ct_CXX="$ac_prog"
    1385     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    13862193    break 2
    13872194  fi
    13882195done
    1389 done
     2196  done
     2197IFS=$as_save_IFS
    13902198
    13912199fi
     
    13932201ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    13942202if test -n "$ac_ct_CXX"; then
    1395   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    1396 echo "${ECHO_T}$ac_ct_CXX" >&6
    1397 else
    1398   echo "$as_me:$LINENO: result: no" >&5
    1399 echo "${ECHO_T}no" >&6
    1400 fi
     2203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     2204$as_echo "$ac_ct_CXX" >&6; }
     2205else
     2206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2207$as_echo "no" >&6; }
     2208fi
     2209
    14012210
    14022211  test -n "$ac_ct_CXX" && break
    14032212done
    1404 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    1405 
    1406   CXX=$ac_ct_CXX
    1407 fi
    1408 
    1409 
     2213
     2214  if test "x$ac_ct_CXX" = x; then
     2215    CXX="g++"
     2216  else
     2217    case $cross_compiling:$ac_tool_warned in
     2218yes:)
     2219{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2220$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2221ac_tool_warned=yes ;;
     2222esac
     2223    CXX=$ac_ct_CXX
     2224  fi
     2225fi
     2226
     2227  fi
     2228fi
    14102229# Provide some information about the compiler.
    1411 echo "$as_me:$LINENO:" \
    1412      "checking for C++ compiler version" >&5
    1413 ac_compiler=`set X $ac_compile; echo $2`
    1414 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1415   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2230$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     2231set X $ac_compile
     2232ac_compiler=$2
     2233for ac_option in --version -v -V -qversion; do
     2234  { { ac_try="$ac_compiler $ac_option >&5"
     2235case "(($ac_try" in
     2236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2237  *) ac_try_echo=$ac_try;;
     2238esac
     2239eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2240$as_echo "$ac_try_echo"; } >&5
     2241  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    14162242  ac_status=$?
    1417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1418   (exit $ac_status); }
    1419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1420   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1421   ac_status=$?
    1422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1423   (exit $ac_status); }
    1424 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1425   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1426   ac_status=$?
    1427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1428   (exit $ac_status); }
    1429 
    1430 cat >conftest.$ac_ext <<_ACEOF
    1431 /* confdefs.h.  */
    1432 _ACEOF
    1433 cat confdefs.h >>conftest.$ac_ext
    1434 cat >>conftest.$ac_ext <<_ACEOF
     2243  if test -s conftest.err; then
     2244    sed '10a\
     2245... rest of stderr output deleted ...
     2246         10q' conftest.err >conftest.er1
     2247    cat conftest.er1 >&5
     2248  fi
     2249  rm -f conftest.er1 conftest.err
     2250  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2251  test $ac_status = 0; }
     2252done
     2253
     2254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    14352255/* end confdefs.h.  */
    14362256
     
    14442264_ACEOF
    14452265ac_clean_files_save=$ac_clean_files
    1446 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2266ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    14472267# Try to create an executable without -o first, disregard a.out.
    14482268# It will help us diagnose broken compilers, and finding out an intuition
    14492269# of exeext.
    1450 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
    1451 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
    1452 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1453 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1454   (eval $ac_link_default) 2>&5
     2270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
     2271$as_echo_n "checking whether the C++ compiler works... " >&6; }
     2272ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2273
     2274# The possible output files:
     2275ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2276
     2277ac_rmfiles=
     2278for ac_file in $ac_files
     2279do
     2280  case $ac_file in
     2281    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2282    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2283  esac
     2284done
     2285rm -f $ac_rmfiles
     2286
     2287if { { ac_try="$ac_link_default"
     2288case "(($ac_try" in
     2289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2290  *) ac_try_echo=$ac_try;;
     2291esac
     2292eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2293$as_echo "$ac_try_echo"; } >&5
     2294  (eval "$ac_link_default") 2>&5
    14552295  ac_status=$?
    1456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1457   (exit $ac_status); }; then
    1458   # Find the output, starting from the most likely.  This scheme is
    1459 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1460 # resort.
    1461 
    1462 # Be careful to initialize this variable, since it used to be cached.
    1463 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1464 ac_cv_exeext=
    1465 # b.out is created by i960 compilers.
    1466 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2297  test $ac_status = 0; }; then :
     2298  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2299# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2300# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2301# so that the user can short-circuit this test for compilers unknown to
     2302# Autoconf.
     2303for ac_file in $ac_files ''
    14672304do
    14682305  test -f "$ac_file" || continue
    14692306  case $ac_file in
    1470     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1471     ;;
    1472     conftest.$ac_ext )
    1473     # This is the source file.
     2307    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    14742308    ;;
    14752309    [ab].out )
     
    14782312    break;;
    14792313    *.* )
    1480     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1481     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1482     # but it would be cool to find out if it's true.  Does anybody
    1483     # maintain Libtool? --akim.
    1484     export ac_cv_exeext
     2314    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2315    then :; else
     2316       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2317    fi
     2318    # We set ac_cv_exeext here because the later test for it is not
     2319    # safe: cross compilers may not add the suffix if given an `-o'
     2320    # argument, so we may need to know it at that point already.
     2321    # Even if this section looks crufty: it has the advantage of
     2322    # actually working.
    14852323    break;;
    14862324    * )
     
    14882326  esac
    14892327done
    1490 else
    1491   echo "$as_me: failed program was:" >&5
     2328test "$ac_cv_exeext" = no && ac_cv_exeext=
     2329
     2330else
     2331  ac_file=''
     2332fi
     2333if test -z "$ac_file"; then :
     2334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2335$as_echo "no" >&6; }
     2336$as_echo "$as_me: failed program was:" >&5
    14922337sed 's/^/| /' conftest.$ac_ext >&5
    14932338
    1494 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
    1495 See \`config.log' for more details." >&5
    1496 echo "$as_me: error: C++ compiler cannot create executables
    1497 See \`config.log' for more details." >&2;}
    1498    { (exit 77); exit 77; }; }
    1499 fi
    1500 
     2339{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2341as_fn_error 77 "C++ compiler cannot create executables
     2342See \`config.log' for more details" "$LINENO" 5; }
     2343else
     2344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2345$as_echo "yes" >&6; }
     2346fi
     2347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
     2348$as_echo_n "checking for C++ compiler default output file name... " >&6; }
     2349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     2350$as_echo "$ac_file" >&6; }
    15012351ac_exeext=$ac_cv_exeext
    1502 echo "$as_me:$LINENO: result: $ac_file" >&5
    1503 echo "${ECHO_T}$ac_file" >&6
    1504 
    1505 # Check the compiler produces executables we can run.  If not, either
    1506 # the compiler is broken, or we cross compile.
    1507 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
    1508 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
    1509 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    1510 # If not cross compiling, check that we can run a simple program.
    1511 if test "$cross_compiling" != yes; then
    1512   if { ac_try='./$ac_file'
    1513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1514   (eval $ac_try) 2>&5
     2352
     2353rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2354ac_clean_files=$ac_clean_files_save
     2355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2356$as_echo_n "checking for suffix of executables... " >&6; }
     2357if { { ac_try="$ac_link"
     2358case "(($ac_try" in
     2359  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2360  *) ac_try_echo=$ac_try;;
     2361esac
     2362eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2363$as_echo "$ac_try_echo"; } >&5
     2364  (eval "$ac_link") 2>&5
    15152365  ac_status=$?
    1516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1517   (exit $ac_status); }; }; then
    1518     cross_compiling=no
    1519   else
    1520     if test "$cross_compiling" = maybe; then
    1521     cross_compiling=yes
    1522     else
    1523     { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
    1524 If you meant to cross compile, use \`--host'.
    1525 See \`config.log' for more details." >&5
    1526 echo "$as_me: error: cannot run C++ compiled programs.
    1527 If you meant to cross compile, use \`--host'.
    1528 See \`config.log' for more details." >&2;}
    1529    { (exit 1); exit 1; }; }
    1530     fi
    1531   fi
    1532 fi
    1533 echo "$as_me:$LINENO: result: yes" >&5
    1534 echo "${ECHO_T}yes" >&6
    1535 
    1536 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    1537 ac_clean_files=$ac_clean_files_save
    1538 # Check the compiler produces executables we can run.  If not, either
    1539 # the compiler is broken, or we cross compile.
    1540 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1541 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1542 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1543 echo "${ECHO_T}$cross_compiling" >&6
    1544 
    1545 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1546 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1548   (eval $ac_link) 2>&5
    1549   ac_status=$?
    1550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1551   (exit $ac_status); }; then
     2366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2367  test $ac_status = 0; }; then :
    15522368  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    15532369# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    15572373  test -f "$ac_file" || continue
    15582374  case $ac_file in
    1559     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2375    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    15602376    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1561       export ac_cv_exeext
    15622377      break;;
    15632378    * ) break;;
     
    15652380done
    15662381else
    1567   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    1568 See \`config.log' for more details." >&5
    1569 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    1570 See \`config.log' for more details." >&2;}
    1571    { (exit 1); exit 1; }; }
    1572 fi
    1573 
    1574 rm -f conftest$ac_cv_exeext
    1575 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1576 echo "${ECHO_T}$ac_cv_exeext" >&6
     2382  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2384as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2385See \`config.log' for more details" "$LINENO" 5; }
     2386fi
     2387rm -f conftest conftest$ac_cv_exeext
     2388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2389$as_echo "$ac_cv_exeext" >&6; }
    15772390
    15782391rm -f conftest.$ac_ext
    15792392EXEEXT=$ac_cv_exeext
    15802393ac_exeext=$EXEEXT
    1581 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1582 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    1583 if test "${ac_cv_objext+set}" = set; then
    1584   echo $ECHO_N "(cached) $ECHO_C" >&6
    1585 else
    1586   cat >conftest.$ac_ext <<_ACEOF
    1587 /* confdefs.h.  */
    1588 _ACEOF
    1589 cat confdefs.h >>conftest.$ac_ext
    1590 cat >>conftest.$ac_ext <<_ACEOF
     2394cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    15912395/* end confdefs.h.  */
    1592 
     2396#include <stdio.h>
    15932397int
    15942398main ()
    15952399{
     2400FILE *f = fopen ("conftest.out", "w");
     2401 return ferror (f) || fclose (f) != 0;
    15962402
    15972403  ;
     
    15992405}
    16002406_ACEOF
     2407ac_clean_files="$ac_clean_files conftest.out"
     2408# Check that the compiler produces executables we can run.  If not, either
     2409# the compiler is broken, or we cross compile.
     2410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     2411$as_echo_n "checking whether we are cross compiling... " >&6; }
     2412if test "$cross_compiling" != yes; then
     2413  { { ac_try="$ac_link"
     2414case "(($ac_try" in
     2415  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2416  *) ac_try_echo=$ac_try;;
     2417esac
     2418eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2419$as_echo "$ac_try_echo"; } >&5
     2420  (eval "$ac_link") 2>&5
     2421  ac_status=$?
     2422  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2423  test $ac_status = 0; }
     2424  if { ac_try='./conftest$ac_cv_exeext'
     2425  { { case "(($ac_try" in
     2426  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2427  *) ac_try_echo=$ac_try;;
     2428esac
     2429eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2430$as_echo "$ac_try_echo"; } >&5
     2431  (eval "$ac_try") 2>&5
     2432  ac_status=$?
     2433  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2434  test $ac_status = 0; }; }; then
     2435    cross_compiling=no
     2436  else
     2437    if test "$cross_compiling" = maybe; then
     2438    cross_compiling=yes
     2439    else
     2440    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2441$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2442as_fn_error $? "cannot run C++ compiled programs.
     2443If you meant to cross compile, use \`--host'.
     2444See \`config.log' for more details" "$LINENO" 5; }
     2445    fi
     2446  fi
     2447fi
     2448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     2449$as_echo "$cross_compiling" >&6; }
     2450
     2451rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     2452ac_clean_files=$ac_clean_files_save
     2453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     2454$as_echo_n "checking for suffix of object files... " >&6; }
     2455if ${ac_cv_objext+:} false; then :
     2456  $as_echo_n "(cached) " >&6
     2457else
     2458  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2459/* end confdefs.h.  */
     2460
     2461int
     2462main ()
     2463{
     2464
     2465  ;
     2466  return 0;
     2467}
     2468_ACEOF
    16012469rm -f conftest.o conftest.obj
    1602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1603   (eval $ac_compile) 2>&5
     2470if { { ac_try="$ac_compile"
     2471case "(($ac_try" in
     2472  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2473  *) ac_try_echo=$ac_try;;
     2474esac
     2475eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2476$as_echo "$ac_try_echo"; } >&5
     2477  (eval "$ac_compile") 2>&5
    16042478  ac_status=$?
    1605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1606   (exit $ac_status); }; then
    1607   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2479  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2480  test $ac_status = 0; }; then :
     2481  for ac_file in conftest.o conftest.obj conftest.*; do
     2482  test -f "$ac_file" || continue;
    16082483  case $ac_file in
    1609     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2484    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    16102485    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    16112486       break;;
     
    16132488done
    16142489else
    1615   echo "$as_me: failed program was:" >&5
     2490  $as_echo "$as_me: failed program was:" >&5
    16162491sed 's/^/| /' conftest.$ac_ext >&5
    16172492
    1618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    1619 See \`config.log' for more details." >&5
    1620 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    1621 See \`config.log' for more details." >&2;}
    1622    { (exit 1); exit 1; }; }
    1623 fi
    1624 
     2493{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2495as_fn_error $? "cannot compute suffix of object files: cannot compile
     2496See \`config.log' for more details" "$LINENO" 5; }
     2497fi
    16252498rm -f conftest.$ac_cv_objext conftest.$ac_ext
    16262499fi
    1627 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1628 echo "${ECHO_T}$ac_cv_objext" >&6
     2500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2501$as_echo "$ac_cv_objext" >&6; }
    16292502OBJEXT=$ac_cv_objext
    16302503ac_objext=$OBJEXT
    1631 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    1632 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    1633 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    1634   echo $ECHO_N "(cached) $ECHO_C" >&6
    1635 else
    1636   cat >conftest.$ac_ext <<_ACEOF
    1637 /* confdefs.h.  */
    1638 _ACEOF
    1639 cat confdefs.h >>conftest.$ac_ext
    1640 cat >>conftest.$ac_ext <<_ACEOF
     2504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     2505$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     2506if ${ac_cv_cxx_compiler_gnu+:} false; then :
     2507  $as_echo_n "(cached) " >&6
     2508else
     2509  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16412510/* end confdefs.h.  */
    16422511
     
    16522521}
    16532522_ACEOF
    1654 rm -f conftest.$ac_objext
    1655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1656   (eval $ac_compile) 2>conftest.er1
    1657   ac_status=$?
    1658   grep -v '^ *+' conftest.er1 >conftest.err
    1659   rm -f conftest.er1
    1660   cat conftest.err >&5
    1661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1662   (exit $ac_status); } &&
    1663      { ac_try='test -z "$ac_cxx_werror_flag"
    1664              || test ! -s conftest.err'
    1665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1666   (eval $ac_try) 2>&5
    1667   ac_status=$?
    1668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1669   (exit $ac_status); }; } &&
    1670      { ac_try='test -s conftest.$ac_objext'
    1671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1672   (eval $ac_try) 2>&5
    1673   ac_status=$?
    1674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1675   (exit $ac_status); }; }; then
     2523if ac_fn_cxx_try_compile "$LINENO"; then :
    16762524  ac_compiler_gnu=yes
    16772525else
    1678   echo "$as_me: failed program was:" >&5
    1679 sed 's/^/| /' conftest.$ac_ext >&5
    1680 
    1681 ac_compiler_gnu=no
    1682 fi
    1683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2526  ac_compiler_gnu=no
     2527fi
     2528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16842529ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    16852530
    16862531fi
    1687 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    1688 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    1689 GXX=`test $ac_compiler_gnu = yes && echo yes`
     2532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     2533$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     2534if test $ac_compiler_gnu = yes; then
     2535  GXX=yes
     2536else
     2537  GXX=
     2538fi
    16902539ac_test_CXXFLAGS=${CXXFLAGS+set}
    16912540ac_save_CXXFLAGS=$CXXFLAGS
    1692 CXXFLAGS="-g"
    1693 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    1694 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    1695 if test "${ac_cv_prog_cxx_g+set}" = set; then
    1696   echo $ECHO_N "(cached) $ECHO_C" >&6
    1697 else
    1698   cat >conftest.$ac_ext <<_ACEOF
    1699 /* confdefs.h.  */
    1700 _ACEOF
    1701 cat confdefs.h >>conftest.$ac_ext
    1702 cat >>conftest.$ac_ext <<_ACEOF
     2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     2542$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     2543if ${ac_cv_prog_cxx_g+:} false; then :
     2544  $as_echo_n "(cached) " >&6
     2545else
     2546  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     2547   ac_cxx_werror_flag=yes
     2548   ac_cv_prog_cxx_g=no
     2549   CXXFLAGS="-g"
     2550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17032551/* end confdefs.h.  */
    17042552
     
    17112559}
    17122560_ACEOF
    1713 rm -f conftest.$ac_objext
    1714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1715   (eval $ac_compile) 2>conftest.er1
    1716   ac_status=$?
    1717   grep -v '^ *+' conftest.er1 >conftest.err
    1718   rm -f conftest.er1
    1719   cat conftest.err >&5
    1720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1721   (exit $ac_status); } &&
    1722      { ac_try='test -z "$ac_cxx_werror_flag"
    1723              || test ! -s conftest.err'
    1724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1725   (eval $ac_try) 2>&5
    1726   ac_status=$?
    1727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1728   (exit $ac_status); }; } &&
    1729      { ac_try='test -s conftest.$ac_objext'
    1730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1731   (eval $ac_try) 2>&5
    1732   ac_status=$?
    1733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1734   (exit $ac_status); }; }; then
     2561if ac_fn_cxx_try_compile "$LINENO"; then :
    17352562  ac_cv_prog_cxx_g=yes
    17362563else
    1737   echo "$as_me: failed program was:" >&5
    1738 sed 's/^/| /' conftest.$ac_ext >&5
    1739 
    1740 ac_cv_prog_cxx_g=no
    1741 fi
    1742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    1743 fi
    1744 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    1745 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     2564  CXXFLAGS=""
     2565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2566/* end confdefs.h.  */
     2567
     2568int
     2569main ()
     2570{
     2571
     2572  ;
     2573  return 0;
     2574}
     2575_ACEOF
     2576if ac_fn_cxx_try_compile "$LINENO"; then :
     2577
     2578else
     2579  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     2580     CXXFLAGS="-g"
     2581     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2582/* end confdefs.h.  */
     2583
     2584int
     2585main ()
     2586{
     2587
     2588  ;
     2589  return 0;
     2590}
     2591_ACEOF
     2592if ac_fn_cxx_try_compile "$LINENO"; then :
     2593  ac_cv_prog_cxx_g=yes
     2594fi
     2595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2596fi
     2597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2598fi
     2599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2600   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     2601fi
     2602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     2603$as_echo "$ac_cv_prog_cxx_g" >&6; }
    17462604if test "$ac_test_CXXFLAGS" = set; then
    17472605  CXXFLAGS=$ac_save_CXXFLAGS
     
    17592617  fi
    17602618fi
    1761 for ac_declaration in \
    1762    '' \
    1763    'extern "C" void std::exit (int) throw (); using std::exit;' \
    1764    'extern "C" void std::exit (int); using std::exit;' \
    1765    'extern "C" void exit (int) throw ();' \
    1766    'extern "C" void exit (int);' \
    1767    'void exit (int);'
    1768 do
    1769   cat >conftest.$ac_ext <<_ACEOF
    1770 /* confdefs.h.  */
    1771 _ACEOF
    1772 cat confdefs.h >>conftest.$ac_ext
    1773 cat >>conftest.$ac_ext <<_ACEOF
    1774 /* end confdefs.h.  */
    1775 $ac_declaration
    1776 #include <stdlib.h>
    1777 int
    1778 main ()
    1779 {
    1780 exit (42);
    1781   ;
    1782   return 0;
    1783 }
    1784 _ACEOF
    1785 rm -f conftest.$ac_objext
    1786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1787   (eval $ac_compile) 2>conftest.er1
    1788   ac_status=$?
    1789   grep -v '^ *+' conftest.er1 >conftest.err
    1790   rm -f conftest.er1
    1791   cat conftest.err >&5
    1792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1793   (exit $ac_status); } &&
    1794      { ac_try='test -z "$ac_cxx_werror_flag"
    1795              || test ! -s conftest.err'
    1796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1797   (eval $ac_try) 2>&5
    1798   ac_status=$?
    1799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1800   (exit $ac_status); }; } &&
    1801      { ac_try='test -s conftest.$ac_objext'
    1802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1803   (eval $ac_try) 2>&5
    1804   ac_status=$?
    1805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1806   (exit $ac_status); }; }; then
    1807   :
    1808 else
    1809   echo "$as_me: failed program was:" >&5
    1810 sed 's/^/| /' conftest.$ac_ext >&5
    1811 
    1812 continue
    1813 fi
    1814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    1815   cat >conftest.$ac_ext <<_ACEOF
    1816 /* confdefs.h.  */
    1817 _ACEOF
    1818 cat confdefs.h >>conftest.$ac_ext
    1819 cat >>conftest.$ac_ext <<_ACEOF
    1820 /* end confdefs.h.  */
    1821 $ac_declaration
    1822 int
    1823 main ()
    1824 {
    1825 exit (42);
    1826   ;
    1827   return 0;
    1828 }
    1829 _ACEOF
    1830 rm -f conftest.$ac_objext
    1831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1832   (eval $ac_compile) 2>conftest.er1
    1833   ac_status=$?
    1834   grep -v '^ *+' conftest.er1 >conftest.err
    1835   rm -f conftest.er1
    1836   cat conftest.err >&5
    1837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1838   (exit $ac_status); } &&
    1839      { ac_try='test -z "$ac_cxx_werror_flag"
    1840              || test ! -s conftest.err'
    1841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1842   (eval $ac_try) 2>&5
    1843   ac_status=$?
    1844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1845   (exit $ac_status); }; } &&
    1846      { ac_try='test -s conftest.$ac_objext'
    1847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1848   (eval $ac_try) 2>&5
    1849   ac_status=$?
    1850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1851   (exit $ac_status); }; }; then
    1852   break
    1853 else
    1854   echo "$as_me: failed program was:" >&5
    1855 sed 's/^/| /' conftest.$ac_ext >&5
    1856 
    1857 fi
    1858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    1859 done
    1860 rm -f conftest*
    1861 if test -n "$ac_declaration"; then
    1862   echo '#ifdef __cplusplus' >>confdefs.h
    1863   echo $ac_declaration      >>confdefs.h
    1864   echo '#endif'             >>confdefs.h
    1865 fi
    1866 
    18672619ac_ext=c
    18682620ac_cpp='$CPP $CPPFLAGS'
     
    18792631  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    18802632set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1883 if test "${ac_cv_prog_CC+set}" = set; then
    1884   echo $ECHO_N "(cached) $ECHO_C" >&6
     2633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2634$as_echo_n "checking for $ac_word... " >&6; }
     2635if ${ac_cv_prog_CC+:} false; then :
     2636  $as_echo_n "(cached) " >&6
    18852637else
    18862638  if test -n "$CC"; then
     
    18922644  IFS=$as_save_IFS
    18932645  test -z "$as_dir" && as_dir=.
    1894   for ac_exec_ext in '' $ac_executable_extensions; do
    1895   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2646    for ac_exec_ext in '' $ac_executable_extensions; do
     2647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18962648    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1897     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18982650    break 2
    18992651  fi
    19002652done
    1901 done
     2653  done
     2654IFS=$as_save_IFS
    19022655
    19032656fi
     
    19052658CC=$ac_cv_prog_CC
    19062659if test -n "$CC"; then
    1907   echo "$as_me:$LINENO: result: $CC" >&5
    1908 echo "${ECHO_T}$CC" >&6
    1909 else
    1910   echo "$as_me:$LINENO: result: no" >&5
    1911 echo "${ECHO_T}no" >&6
    1912 fi
     2660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2661$as_echo "$CC" >&6; }
     2662else
     2663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2664$as_echo "no" >&6; }
     2665fi
     2666
    19132667
    19142668fi
     
    19172671  # Extract the first word of "gcc", so it can be a program name with args.
    19182672set dummy gcc; ac_word=$2
    1919 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1921 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1922   echo $ECHO_N "(cached) $ECHO_C" >&6
     2673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2674$as_echo_n "checking for $ac_word... " >&6; }
     2675if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2676  $as_echo_n "(cached) " >&6
    19232677else
    19242678  if test -n "$ac_ct_CC"; then
     
    19302684  IFS=$as_save_IFS
    19312685  test -z "$as_dir" && as_dir=.
    1932   for ac_exec_ext in '' $ac_executable_extensions; do
    1933   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2686    for ac_exec_ext in '' $ac_executable_extensions; do
     2687  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19342688    ac_cv_prog_ac_ct_CC="gcc"
    1935     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19362690    break 2
    19372691  fi
    19382692done
    1939 done
     2693  done
     2694IFS=$as_save_IFS
    19402695
    19412696fi
     
    19432698ac_ct_CC=$ac_cv_prog_ac_ct_CC
    19442699if test -n "$ac_ct_CC"; then
    1945   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1946 echo "${ECHO_T}$ac_ct_CC" >&6
    1947 else
    1948   echo "$as_me:$LINENO: result: no" >&5
    1949 echo "${ECHO_T}no" >&6
    1950 fi
    1951 
    1952   CC=$ac_ct_CC
     2700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2701$as_echo "$ac_ct_CC" >&6; }
     2702else
     2703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2704$as_echo "no" >&6; }
     2705fi
     2706
     2707  if test "x$ac_ct_CC" = x; then
     2708    CC=""
     2709  else
     2710    case $cross_compiling:$ac_tool_warned in
     2711yes:)
     2712{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2713$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2714ac_tool_warned=yes ;;
     2715esac
     2716    CC=$ac_ct_CC
     2717  fi
    19532718else
    19542719  CC="$ac_cv_prog_CC"
     
    19562721
    19572722if test -z "$CC"; then
    1958   if test -n "$ac_tool_prefix"; then
    1959   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2723          if test -n "$ac_tool_prefix"; then
     2724    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    19602725set dummy ${ac_tool_prefix}cc; ac_word=$2
    1961 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1963 if test "${ac_cv_prog_CC+set}" = set; then
    1964   echo $ECHO_N "(cached) $ECHO_C" >&6
     2726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2727$as_echo_n "checking for $ac_word... " >&6; }
     2728if ${ac_cv_prog_CC+:} false; then :
     2729  $as_echo_n "(cached) " >&6
    19652730else
    19662731  if test -n "$CC"; then
     
    19722737  IFS=$as_save_IFS
    19732738  test -z "$as_dir" && as_dir=.
    1974   for ac_exec_ext in '' $ac_executable_extensions; do
    1975   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2739    for ac_exec_ext in '' $ac_executable_extensions; do
     2740  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19762741    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1977     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2742    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19782743    break 2
    19792744  fi
    19802745done
    1981 done
     2746  done
     2747IFS=$as_save_IFS
    19822748
    19832749fi
     
    19852751CC=$ac_cv_prog_CC
    19862752if test -n "$CC"; then
    1987   echo "$as_me:$LINENO: result: $CC" >&5
    1988 echo "${ECHO_T}$CC" >&6
    1989 else
    1990   echo "$as_me:$LINENO: result: no" >&5
    1991 echo "${ECHO_T}no" >&6
    1992 fi
    1993 
    1994 fi
    1995 if test -z "$ac_cv_prog_CC"; then
    1996   ac_ct_CC=$CC
    1997   # Extract the first word of "cc", so it can be a program name with args.
    1998 set dummy cc; ac_word=$2
    1999 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2002   echo $ECHO_N "(cached) $ECHO_C" >&6
    2003 else
    2004   if test -n "$ac_ct_CC"; then
    2005   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2006 else
    2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2008 for as_dir in $PATH
    2009 do
    2010   IFS=$as_save_IFS
    2011   test -z "$as_dir" && as_dir=.
    2012   for ac_exec_ext in '' $ac_executable_extensions; do
    2013   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2014     ac_cv_prog_ac_ct_CC="cc"
    2015     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2016     break 2
     2753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2754$as_echo "$CC" >&6; }
     2755else
     2756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2757$as_echo "no" >&6; }
     2758fi
     2759
     2760
    20172761  fi
    2018 done
    2019 done
    2020 
    2021 fi
    2022 fi
    2023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2024 if test -n "$ac_ct_CC"; then
    2025   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2026 echo "${ECHO_T}$ac_ct_CC" >&6
    2027 else
    2028   echo "$as_me:$LINENO: result: no" >&5
    2029 echo "${ECHO_T}no" >&6
    2030 fi
    2031 
    2032   CC=$ac_ct_CC
    2033 else
    2034   CC="$ac_cv_prog_CC"
    2035 fi
    2036 
    20372762fi
    20382763if test -z "$CC"; then
    20392764  # Extract the first word of "cc", so it can be a program name with args.
    20402765set dummy cc; ac_word=$2
    2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2043 if test "${ac_cv_prog_CC+set}" = set; then
    2044   echo $ECHO_N "(cached) $ECHO_C" >&6
     2766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2767$as_echo_n "checking for $ac_word... " >&6; }
     2768if ${ac_cv_prog_CC+:} false; then :
     2769  $as_echo_n "(cached) " >&6
    20452770else
    20462771  if test -n "$CC"; then
     
    20532778  IFS=$as_save_IFS
    20542779  test -z "$as_dir" && as_dir=.
    2055   for ac_exec_ext in '' $ac_executable_extensions; do
    2056   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2780    for ac_exec_ext in '' $ac_executable_extensions; do
     2781  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20572782    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    20582783       ac_prog_rejected=yes
     
    20602785     fi
    20612786    ac_cv_prog_CC="cc"
    2062     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2787    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20632788    break 2
    20642789  fi
    20652790done
    2066 done
     2791  done
     2792IFS=$as_save_IFS
    20672793
    20682794if test $ac_prog_rejected = yes; then
     
    20822808CC=$ac_cv_prog_CC
    20832809if test -n "$CC"; then
    2084   echo "$as_me:$LINENO: result: $CC" >&5
    2085 echo "${ECHO_T}$CC" >&6
    2086 else
    2087   echo "$as_me:$LINENO: result: no" >&5
    2088 echo "${ECHO_T}no" >&6
    2089 fi
     2810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2811$as_echo "$CC" >&6; }
     2812else
     2813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2814$as_echo "no" >&6; }
     2815fi
     2816
    20902817
    20912818fi
    20922819if test -z "$CC"; then
    20932820  if test -n "$ac_tool_prefix"; then
    2094   for ac_prog in cl
     2821  for ac_prog in cl.exe
    20952822  do
    20962823    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    20972824set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2100 if test "${ac_cv_prog_CC+set}" = set; then
    2101   echo $ECHO_N "(cached) $ECHO_C" >&6
     2825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2826$as_echo_n "checking for $ac_word... " >&6; }
     2827if ${ac_cv_prog_CC+:} false; then :
     2828  $as_echo_n "(cached) " >&6
    21022829else
    21032830  if test -n "$CC"; then
     
    21092836  IFS=$as_save_IFS
    21102837  test -z "$as_dir" && as_dir=.
    2111   for ac_exec_ext in '' $ac_executable_extensions; do
    2112   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2838    for ac_exec_ext in '' $ac_executable_extensions; do
     2839  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21132840    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2114     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2841    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21152842    break 2
    21162843  fi
    21172844done
    2118 done
     2845  done
     2846IFS=$as_save_IFS
    21192847
    21202848fi
     
    21222850CC=$ac_cv_prog_CC
    21232851if test -n "$CC"; then
    2124   echo "$as_me:$LINENO: result: $CC" >&5
    2125 echo "${ECHO_T}$CC" >&6
    2126 else
    2127   echo "$as_me:$LINENO: result: no" >&5
    2128 echo "${ECHO_T}no" >&6
    2129 fi
     2852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2853$as_echo "$CC" >&6; }
     2854else
     2855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2856$as_echo "no" >&6; }
     2857fi
     2858
    21302859
    21312860    test -n "$CC" && break
     
    21342863if test -z "$CC"; then
    21352864  ac_ct_CC=$CC
    2136   for ac_prog in cl
     2865  for ac_prog in cl.exe
    21372866do
    21382867  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21392868set dummy $ac_prog; ac_word=$2
    2140 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2142 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2143   echo $ECHO_N "(cached) $ECHO_C" >&6
     2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2870$as_echo_n "checking for $ac_word... " >&6; }
     2871if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2872  $as_echo_n "(cached) " >&6
    21442873else
    21452874  if test -n "$ac_ct_CC"; then
     
    21512880  IFS=$as_save_IFS
    21522881  test -z "$as_dir" && as_dir=.
    2153   for ac_exec_ext in '' $ac_executable_extensions; do
    2154   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2882    for ac_exec_ext in '' $ac_executable_extensions; do
     2883  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21552884    ac_cv_prog_ac_ct_CC="$ac_prog"
    2156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2885    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21572886    break 2
    21582887  fi
    21592888done
    2160 done
     2889  done
     2890IFS=$as_save_IFS
    21612891
    21622892fi
     
    21642894ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21652895if test -n "$ac_ct_CC"; then
    2166   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2167 echo "${ECHO_T}$ac_ct_CC" >&6
    2168 else
    2169   echo "$as_me:$LINENO: result: no" >&5
    2170 echo "${ECHO_T}no" >&6
    2171 fi
     2896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2897$as_echo "$ac_ct_CC" >&6; }
     2898else
     2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2900$as_echo "no" >&6; }
     2901fi
     2902
    21722903
    21732904  test -n "$ac_ct_CC" && break
    21742905done
    21752906
    2176   CC=$ac_ct_CC
    2177 fi
    2178 
    2179 fi
    2180 
    2181 
    2182 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2183 See \`config.log' for more details." >&5
    2184 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2185 See \`config.log' for more details." >&2;}
    2186    { (exit 1); exit 1; }; }
     2907  if test "x$ac_ct_CC" = x; then
     2908    CC=""
     2909  else
     2910    case $cross_compiling:$ac_tool_warned in
     2911yes:)
     2912{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2913$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2914ac_tool_warned=yes ;;
     2915esac
     2916    CC=$ac_ct_CC
     2917  fi
     2918fi
     2919
     2920fi
     2921
     2922
     2923test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2924$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2925as_fn_error $? "no acceptable C compiler found in \$PATH
     2926See \`config.log' for more details" "$LINENO" 5; }
    21872927
    21882928# Provide some information about the compiler.
    2189 echo "$as_me:$LINENO:" \
    2190      "checking for C compiler version" >&5
    2191 ac_compiler=`set X $ac_compile; echo $2`
    2192 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2193   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2929$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2930set X $ac_compile
     2931ac_compiler=$2
     2932for ac_option in --version -v -V -qversion; do
     2933  { { ac_try="$ac_compiler $ac_option >&5"
     2934case "(($ac_try" in
     2935  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2936  *) ac_try_echo=$ac_try;;
     2937esac
     2938eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2939$as_echo "$ac_try_echo"; } >&5
     2940  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    21942941  ac_status=$?
    2195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2196   (exit $ac_status); }
    2197 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2198   (eval $ac_compiler -v </dev/null >&5) 2>&5
    2199   ac_status=$?
    2200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2201   (exit $ac_status); }
    2202 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2203   (eval $ac_compiler -V </dev/null >&5) 2>&5
    2204   ac_status=$?
    2205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2206   (exit $ac_status); }
    2207 
    2208 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2209 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    2210 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2211   echo $ECHO_N "(cached) $ECHO_C" >&6
    2212 else
    2213   cat >conftest.$ac_ext <<_ACEOF
    2214 /* confdefs.h.  */
    2215 _ACEOF
    2216 cat confdefs.h >>conftest.$ac_ext
    2217 cat >>conftest.$ac_ext <<_ACEOF
     2942  if test -s conftest.err; then
     2943    sed '10a\
     2944... rest of stderr output deleted ...
     2945         10q' conftest.err >conftest.er1
     2946    cat conftest.er1 >&5
     2947  fi
     2948  rm -f conftest.er1 conftest.err
     2949  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2950  test $ac_status = 0; }
     2951done
     2952
     2953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2954$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     2955if ${ac_cv_c_compiler_gnu+:} false; then :
     2956  $as_echo_n "(cached) " >&6
     2957else
     2958  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    22182959/* end confdefs.h.  */
    22192960
     
    22292970}
    22302971_ACEOF
    2231 rm -f conftest.$ac_objext
    2232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2233   (eval $ac_compile) 2>conftest.er1
    2234   ac_status=$?
    2235   grep -v '^ *+' conftest.er1 >conftest.err
    2236   rm -f conftest.er1
    2237   cat conftest.err >&5
    2238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2239   (exit $ac_status); } &&
    2240      { ac_try='test -z "$ac_c_werror_flag"
    2241              || test ! -s conftest.err'
    2242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2243   (eval $ac_try) 2>&5
    2244   ac_status=$?
    2245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2246   (exit $ac_status); }; } &&
    2247      { ac_try='test -s conftest.$ac_objext'
    2248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2249   (eval $ac_try) 2>&5
    2250   ac_status=$?
    2251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2252   (exit $ac_status); }; }; then
     2972if ac_fn_c_try_compile "$LINENO"; then :
    22532973  ac_compiler_gnu=yes
    22542974else
    2255   echo "$as_me: failed program was:" >&5
    2256 sed 's/^/| /' conftest.$ac_ext >&5
    2257 
    2258 ac_compiler_gnu=no
    2259 fi
    2260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2975  ac_compiler_gnu=no
     2976fi
     2977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    22612978ac_cv_c_compiler_gnu=$ac_compiler_gnu
    22622979
    22632980fi
    2264 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2265 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2266 GCC=`test $ac_compiler_gnu = yes && echo yes`
     2981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2982$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     2983if test $ac_compiler_gnu = yes; then
     2984  GCC=yes
     2985else
     2986  GCC=
     2987fi
    22672988ac_test_CFLAGS=${CFLAGS+set}
    22682989ac_save_CFLAGS=$CFLAGS
    2269 CFLAGS="-g"
    2270 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2271 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2272 if test "${ac_cv_prog_cc_g+set}" = set; then
    2273   echo $ECHO_N "(cached) $ECHO_C" >&6
    2274 else
    2275   cat >conftest.$ac_ext <<_ACEOF
    2276 /* confdefs.h.  */
    2277 _ACEOF
    2278 cat confdefs.h >>conftest.$ac_ext
    2279 cat >>conftest.$ac_ext <<_ACEOF
     2990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2991$as_echo_n "checking whether $CC accepts -g... " >&6; }
     2992if ${ac_cv_prog_cc_g+:} false; then :
     2993  $as_echo_n "(cached) " >&6
     2994else
     2995  ac_save_c_werror_flag=$ac_c_werror_flag
     2996   ac_c_werror_flag=yes
     2997   ac_cv_prog_cc_g=no
     2998   CFLAGS="-g"
     2999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    22803000/* end confdefs.h.  */
    22813001
     
    22883008}
    22893009_ACEOF
    2290 rm -f conftest.$ac_objext
    2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2292   (eval $ac_compile) 2>conftest.er1
    2293   ac_status=$?
    2294   grep -v '^ *+' conftest.er1 >conftest.err
    2295   rm -f conftest.er1
    2296   cat conftest.err >&5
    2297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2298   (exit $ac_status); } &&
    2299      { ac_try='test -z "$ac_c_werror_flag"
    2300              || test ! -s conftest.err'
    2301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2302   (eval $ac_try) 2>&5
    2303   ac_status=$?
    2304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2305   (exit $ac_status); }; } &&
    2306      { ac_try='test -s conftest.$ac_objext'
    2307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2308   (eval $ac_try) 2>&5
    2309   ac_status=$?
    2310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2311   (exit $ac_status); }; }; then
     3010if ac_fn_c_try_compile "$LINENO"; then :
    23123011  ac_cv_prog_cc_g=yes
    23133012else
    2314   echo "$as_me: failed program was:" >&5
    2315 sed 's/^/| /' conftest.$ac_ext >&5
    2316 
    2317 ac_cv_prog_cc_g=no
    2318 fi
    2319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2320 fi
    2321 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2322 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     3013  CFLAGS=""
     3014      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3015/* end confdefs.h.  */
     3016
     3017int
     3018main ()
     3019{
     3020
     3021  ;
     3022  return 0;
     3023}
     3024_ACEOF
     3025if ac_fn_c_try_compile "$LINENO"; then :
     3026
     3027else
     3028  ac_c_werror_flag=$ac_save_c_werror_flag
     3029     CFLAGS="-g"
     3030     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3031/* end confdefs.h.  */
     3032
     3033int
     3034main ()
     3035{
     3036
     3037  ;
     3038  return 0;
     3039}
     3040_ACEOF
     3041if ac_fn_c_try_compile "$LINENO"; then :
     3042  ac_cv_prog_cc_g=yes
     3043fi
     3044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3045fi
     3046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3047fi
     3048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3049   ac_c_werror_flag=$ac_save_c_werror_flag
     3050fi
     3051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3052$as_echo "$ac_cv_prog_cc_g" >&6; }
    23233053if test "$ac_test_CFLAGS" = set; then
    23243054  CFLAGS=$ac_save_CFLAGS
     
    23363066  fi
    23373067fi
    2338 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2339 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2340 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2341   echo $ECHO_N "(cached) $ECHO_C" >&6
    2342 else
    2343   ac_cv_prog_cc_stdc=no
     3068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3069$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3070if ${ac_cv_prog_cc_c89+:} false; then :
     3071  $as_echo_n "(cached) " >&6
     3072else
     3073  ac_cv_prog_cc_c89=no
    23443074ac_save_CC=$CC
    2345 cat >conftest.$ac_ext <<_ACEOF
    2346 /* confdefs.h.  */
    2347 _ACEOF
    2348 cat confdefs.h >>conftest.$ac_ext
    2349 cat >>conftest.$ac_ext <<_ACEOF
     3075cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23503076/* end confdefs.h.  */
    23513077#include <stdarg.h>
    23523078#include <stdio.h>
    2353 #include <sys/types.h>
    2354 #include <sys/stat.h>
     3079struct stat;
    23553080/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    23563081struct buf { int x; };
     
    23753100   function prototypes and stuff, but not '\xHH' hex character constants.
    23763101   These don't provoke an error unfortunately, instead are silently treated
    2377    as 'x'.  The following induces an error, until -std1 is added to get
     3102   as 'x'.  The following induces an error, until -std is added to get
    23783103   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    23793104   array size at least.  It's necessary to write '\x00'==0 to get something
    2380    that's true only with -std1.  */
     3105   that's true only with -std.  */
    23813106int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3107
     3108/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3109   inside strings and character constants.  */
     3110#define FOO(x) 'x'
     3111int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    23823112
    23833113int test (int i, double x);
     
    23953125}
    23963126_ACEOF
    2397 # Don't try gcc -ansi; that turns off useful extensions and
    2398 # breaks some systems' header files.
    2399 # AIX           -qlanglvl=ansi
    2400 # Ultrix and OSF/1  -std1
    2401 # HP-UX 10.20 and later -Ae
    2402 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2403 # SVR4          -Xc -D__EXTENSIONS__
    2404 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3127for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3128    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    24053129do
    24063130  CC="$ac_save_CC $ac_arg"
    2407   rm -f conftest.$ac_objext
    2408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2409   (eval $ac_compile) 2>conftest.er1
    2410   ac_status=$?
    2411   grep -v '^ *+' conftest.er1 >conftest.err
    2412   rm -f conftest.er1
    2413   cat conftest.err >&5
    2414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2415   (exit $ac_status); } &&
    2416      { ac_try='test -z "$ac_c_werror_flag"
    2417              || test ! -s conftest.err'
    2418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2419   (eval $ac_try) 2>&5
    2420   ac_status=$?
    2421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2422   (exit $ac_status); }; } &&
    2423      { ac_try='test -s conftest.$ac_objext'
    2424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2425   (eval $ac_try) 2>&5
    2426   ac_status=$?
    2427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2428   (exit $ac_status); }; }; then
    2429   ac_cv_prog_cc_stdc=$ac_arg
    2430 break
    2431 else
    2432   echo "$as_me: failed program was:" >&5
    2433 sed 's/^/| /' conftest.$ac_ext >&5
    2434 
    2435 fi
    2436 rm -f conftest.err conftest.$ac_objext
     3131  if ac_fn_c_try_compile "$LINENO"; then :
     3132  ac_cv_prog_cc_c89=$ac_arg
     3133fi
     3134rm -f core conftest.err conftest.$ac_objext
     3135  test "x$ac_cv_prog_cc_c89" != "xno" && break
    24373136done
    2438 rm -f conftest.$ac_ext conftest.$ac_objext
     3137rm -f conftest.$ac_ext
    24393138CC=$ac_save_CC
    24403139
    24413140fi
    2442 
    2443 case "x$ac_cv_prog_cc_stdc" in
    2444   x|xno)
    2445     echo "$as_me:$LINENO: result: none needed" >&5
    2446 echo "${ECHO_T}none needed" >&6 ;;
     3141# AC_CACHE_VAL
     3142case "x$ac_cv_prog_cc_c89" in
     3143  x)
     3144    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3145$as_echo "none needed" >&6; } ;;
     3146  xno)
     3147    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3148$as_echo "unsupported" >&6; } ;;
    24473149  *)
    2448     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2449 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2450     CC="$CC $ac_cv_prog_cc_stdc" ;;
     3150    CC="$CC $ac_cv_prog_cc_c89"
     3151    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3152$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    24513153esac
    2452 
    2453 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2454 # in C++ we need to declare it.  In case someone uses the same compiler
    2455 # for both compiling C and C++ we need to have the C++ compiler decide
    2456 # the declaration of exit, since it's the most demanding environment.
    2457 cat >conftest.$ac_ext <<_ACEOF
    2458 #ifndef __cplusplus
    2459   choke me
    2460 #endif
    2461 _ACEOF
    2462 rm -f conftest.$ac_objext
    2463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2464   (eval $ac_compile) 2>conftest.er1
    2465   ac_status=$?
    2466   grep -v '^ *+' conftest.er1 >conftest.err
    2467   rm -f conftest.er1
    2468   cat conftest.err >&5
    2469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2470   (exit $ac_status); } &&
    2471      { ac_try='test -z "$ac_c_werror_flag"
    2472              || test ! -s conftest.err'
    2473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2474   (eval $ac_try) 2>&5
    2475   ac_status=$?
    2476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2477   (exit $ac_status); }; } &&
    2478      { ac_try='test -s conftest.$ac_objext'
    2479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2480   (eval $ac_try) 2>&5
    2481   ac_status=$?
    2482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2483   (exit $ac_status); }; }; then
    2484   for ac_declaration in \
    2485    '' \
    2486    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2487    'extern "C" void std::exit (int); using std::exit;' \
    2488    'extern "C" void exit (int) throw ();' \
    2489    'extern "C" void exit (int);' \
    2490    'void exit (int);'
    2491 do
    2492   cat >conftest.$ac_ext <<_ACEOF
    2493 /* confdefs.h.  */
    2494 _ACEOF
    2495 cat confdefs.h >>conftest.$ac_ext
    2496 cat >>conftest.$ac_ext <<_ACEOF
    2497 /* end confdefs.h.  */
    2498 $ac_declaration
    2499 #include <stdlib.h>
    2500 int
    2501 main ()
    2502 {
    2503 exit (42);
    2504   ;
    2505   return 0;
    2506 }
    2507 _ACEOF
    2508 rm -f conftest.$ac_objext
    2509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2510   (eval $ac_compile) 2>conftest.er1
    2511   ac_status=$?
    2512   grep -v '^ *+' conftest.er1 >conftest.err
    2513   rm -f conftest.er1
    2514   cat conftest.err >&5
    2515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2516   (exit $ac_status); } &&
    2517      { ac_try='test -z "$ac_c_werror_flag"
    2518              || test ! -s conftest.err'
    2519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2520   (eval $ac_try) 2>&5
    2521   ac_status=$?
    2522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2523   (exit $ac_status); }; } &&
    2524      { ac_try='test -s conftest.$ac_objext'
    2525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2526   (eval $ac_try) 2>&5
    2527   ac_status=$?
    2528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2529   (exit $ac_status); }; }; then
    2530   :
    2531 else
    2532   echo "$as_me: failed program was:" >&5
    2533 sed 's/^/| /' conftest.$ac_ext >&5
    2534 
    2535 continue
    2536 fi
    2537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2538   cat >conftest.$ac_ext <<_ACEOF
    2539 /* confdefs.h.  */
    2540 _ACEOF
    2541 cat confdefs.h >>conftest.$ac_ext
    2542 cat >>conftest.$ac_ext <<_ACEOF
    2543 /* end confdefs.h.  */
    2544 $ac_declaration
    2545 int
    2546 main ()
    2547 {
    2548 exit (42);
    2549   ;
    2550   return 0;
    2551 }
    2552 _ACEOF
    2553 rm -f conftest.$ac_objext
    2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2555   (eval $ac_compile) 2>conftest.er1
    2556   ac_status=$?
    2557   grep -v '^ *+' conftest.er1 >conftest.err
    2558   rm -f conftest.er1
    2559   cat conftest.err >&5
    2560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2561   (exit $ac_status); } &&
    2562      { ac_try='test -z "$ac_c_werror_flag"
    2563              || test ! -s conftest.err'
    2564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2565   (eval $ac_try) 2>&5
    2566   ac_status=$?
    2567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2568   (exit $ac_status); }; } &&
    2569      { ac_try='test -s conftest.$ac_objext'
    2570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2571   (eval $ac_try) 2>&5
    2572   ac_status=$?
    2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2574   (exit $ac_status); }; }; then
    2575   break
    2576 else
    2577   echo "$as_me: failed program was:" >&5
    2578 sed 's/^/| /' conftest.$ac_ext >&5
    2579 
    2580 fi
    2581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2582 done
    2583 rm -f conftest*
    2584 if test -n "$ac_declaration"; then
    2585   echo '#ifdef __cplusplus' >>confdefs.h
    2586   echo $ac_declaration      >>confdefs.h
    2587   echo '#endif'             >>confdefs.h
    2588 fi
    2589 
    2590 else
    2591   echo "$as_me: failed program was:" >&5
    2592 sed 's/^/| /' conftest.$ac_ext >&5
    2593 
    2594 fi
    2595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3154if test "x$ac_cv_prog_cc_c89" != xno; then :
     3155
     3156fi
     3157
    25963158ac_ext=c
    25973159ac_cpp='$CPP $CPPFLAGS'
     
    26053167ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    26063168ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2607 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2608 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     3170$as_echo_n "checking how to run the C preprocessor... " >&6; }
    26093171# On Suns, sometimes $CPP names a directory.
    26103172if test -n "$CPP" && test -d "$CPP"; then
     
    26123174fi
    26133175if test -z "$CPP"; then
    2614   if test "${ac_cv_prog_CPP+set}" = set; then
    2615   echo $ECHO_N "(cached) $ECHO_C" >&6
     3176  if ${ac_cv_prog_CPP+:} false; then :
     3177  $as_echo_n "(cached) " >&6
    26163178else
    26173179      # Double quotes because CPP needs to be expanded
     
    26273189  # On the NeXT, cc -E runs the code through the compiler's parser,
    26283190  # not just through cpp. "Syntax error" is here to catch this case.
    2629   cat >conftest.$ac_ext <<_ACEOF
    2630 /* confdefs.h.  */
    2631 _ACEOF
    2632 cat confdefs.h >>conftest.$ac_ext
    2633 cat >>conftest.$ac_ext <<_ACEOF
     3191  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26343192/* end confdefs.h.  */
    26353193#ifdef __STDC__
     
    26403198             Syntax error
    26413199_ACEOF
    2642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2643   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2644   ac_status=$?
    2645   grep -v '^ *+' conftest.er1 >conftest.err
    2646   rm -f conftest.er1
    2647   cat conftest.err >&5
    2648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2649   (exit $ac_status); } >/dev/null; then
    2650   if test -s conftest.err; then
    2651     ac_cpp_err=$ac_c_preproc_warn_flag
    2652     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2653   else
    2654     ac_cpp_err=
    2655   fi
    2656 else
    2657   ac_cpp_err=yes
    2658 fi
    2659 if test -z "$ac_cpp_err"; then
    2660   :
    2661 else
    2662   echo "$as_me: failed program was:" >&5
    2663 sed 's/^/| /' conftest.$ac_ext >&5
    2664 
     3200if ac_fn_c_try_cpp "$LINENO"; then :
     3201
     3202else
    26653203  # Broken: fails on valid input.
    26663204continue
    26673205fi
    2668 rm -f conftest.err conftest.$ac_ext
    2669 
    2670   # OK, works on sane cases.  Now check whether non-existent headers
     3206rm -f conftest.err conftest.i conftest.$ac_ext
     3207
     3208  # OK, works on sane cases.  Now check whether nonexistent headers
    26713209  # can be detected and how.
    2672   cat >conftest.$ac_ext <<_ACEOF
    2673 /* confdefs.h.  */
    2674 _ACEOF
    2675 cat confdefs.h >>conftest.$ac_ext
    2676 cat >>conftest.$ac_ext <<_ACEOF
     3210  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26773211/* end confdefs.h.  */
    26783212#include <ac_nonexistent.h>
    26793213_ACEOF
    2680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2681   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2682   ac_status=$?
    2683   grep -v '^ *+' conftest.er1 >conftest.err
    2684   rm -f conftest.er1
    2685   cat conftest.err >&5
    2686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2687   (exit $ac_status); } >/dev/null; then
    2688   if test -s conftest.err; then
    2689     ac_cpp_err=$ac_c_preproc_warn_flag
    2690     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2691   else
    2692     ac_cpp_err=
    2693   fi
    2694 else
    2695   ac_cpp_err=yes
    2696 fi
    2697 if test -z "$ac_cpp_err"; then
     3214if ac_fn_c_try_cpp "$LINENO"; then :
    26983215  # Broken: success on invalid input.
    26993216continue
    27003217else
    2701   echo "$as_me: failed program was:" >&5
    2702 sed 's/^/| /' conftest.$ac_ext >&5
    2703 
    27043218  # Passes both tests.
    27053219ac_preproc_ok=:
    27063220break
    27073221fi
    2708 rm -f conftest.err conftest.$ac_ext
     3222rm -f conftest.err conftest.i conftest.$ac_ext
    27093223
    27103224done
    27113225# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2712 rm -f conftest.err conftest.$ac_ext
    2713 if $ac_preproc_ok; then
     3226rm -f conftest.i conftest.err conftest.$ac_ext
     3227if $ac_preproc_ok; then :
    27143228  break
    27153229fi
     
    27233237  ac_cv_prog_CPP=$CPP
    27243238fi
    2725 echo "$as_me:$LINENO: result: $CPP" >&5
    2726 echo "${ECHO_T}$CPP" >&6
     3239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3240$as_echo "$CPP" >&6; }
    27273241ac_preproc_ok=false
    27283242for ac_c_preproc_warn_flag in '' yes
     
    27343248  # On the NeXT, cc -E runs the code through the compiler's parser,
    27353249  # not just through cpp. "Syntax error" is here to catch this case.
    2736   cat >conftest.$ac_ext <<_ACEOF
    2737 /* confdefs.h.  */
    2738 _ACEOF
    2739 cat confdefs.h >>conftest.$ac_ext
    2740 cat >>conftest.$ac_ext <<_ACEOF
     3250  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27413251/* end confdefs.h.  */
    27423252#ifdef __STDC__
     
    27473257             Syntax error
    27483258_ACEOF
    2749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2750   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2751   ac_status=$?
    2752   grep -v '^ *+' conftest.er1 >conftest.err
    2753   rm -f conftest.er1
    2754   cat conftest.err >&5
    2755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2756   (exit $ac_status); } >/dev/null; then
    2757   if test -s conftest.err; then
    2758     ac_cpp_err=$ac_c_preproc_warn_flag
    2759     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2760   else
    2761     ac_cpp_err=
    2762   fi
    2763 else
    2764   ac_cpp_err=yes
    2765 fi
    2766 if test -z "$ac_cpp_err"; then
    2767   :
    2768 else
    2769   echo "$as_me: failed program was:" >&5
    2770 sed 's/^/| /' conftest.$ac_ext >&5
    2771 
     3259if ac_fn_c_try_cpp "$LINENO"; then :
     3260
     3261else
    27723262  # Broken: fails on valid input.
    27733263continue
    27743264fi
    2775 rm -f conftest.err conftest.$ac_ext
    2776 
    2777   # OK, works on sane cases.  Now check whether non-existent headers
     3265rm -f conftest.err conftest.i conftest.$ac_ext
     3266
     3267  # OK, works on sane cases.  Now check whether nonexistent headers
    27783268  # can be detected and how.
    2779   cat >conftest.$ac_ext <<_ACEOF
    2780 /* confdefs.h.  */
    2781 _ACEOF
    2782 cat confdefs.h >>conftest.$ac_ext
    2783 cat >>conftest.$ac_ext <<_ACEOF
     3269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27843270/* end confdefs.h.  */
    27853271#include <ac_nonexistent.h>
    27863272_ACEOF
    2787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2788   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2789   ac_status=$?
    2790   grep -v '^ *+' conftest.er1 >conftest.err
    2791   rm -f conftest.er1
    2792   cat conftest.err >&5
    2793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2794   (exit $ac_status); } >/dev/null; then
    2795   if test -s conftest.err; then
    2796     ac_cpp_err=$ac_c_preproc_warn_flag
    2797     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2798   else
    2799     ac_cpp_err=
    2800   fi
    2801 else
    2802   ac_cpp_err=yes
    2803 fi
    2804 if test -z "$ac_cpp_err"; then
     3273if ac_fn_c_try_cpp "$LINENO"; then :
    28053274  # Broken: success on invalid input.
    28063275continue
    28073276else
    2808   echo "$as_me: failed program was:" >&5
    2809 sed 's/^/| /' conftest.$ac_ext >&5
    2810 
    28113277  # Passes both tests.
    28123278ac_preproc_ok=:
    28133279break
    28143280fi
    2815 rm -f conftest.err conftest.$ac_ext
     3281rm -f conftest.err conftest.i conftest.$ac_ext
    28163282
    28173283done
    28183284# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2819 rm -f conftest.err conftest.$ac_ext
    2820 if $ac_preproc_ok; then
    2821   :
    2822 else
    2823   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    2824 See \`config.log' for more details." >&5
    2825 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    2826 See \`config.log' for more details." >&2;}
    2827    { (exit 1); exit 1; }; }
     3285rm -f conftest.i conftest.err conftest.$ac_ext
     3286if $ac_preproc_ok; then :
     3287
     3288else
     3289  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3290$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3291as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3292See \`config.log' for more details" "$LINENO" 5; }
    28283293fi
    28293294
     
    28353300
    28363301ac_aux_dir=
    2837 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2838   if test -f $ac_dir/install-sh; then
     3302for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3303  if test -f "$ac_dir/install-sh"; then
    28393304    ac_aux_dir=$ac_dir
    28403305    ac_install_sh="$ac_aux_dir/install-sh -c"
    28413306    break
    2842   elif test -f $ac_dir/install.sh; then
     3307  elif test -f "$ac_dir/install.sh"; then
    28433308    ac_aux_dir=$ac_dir
    28443309    ac_install_sh="$ac_aux_dir/install.sh -c"
    28453310    break
    2846   elif test -f $ac_dir/shtool; then
     3311  elif test -f "$ac_dir/shtool"; then
    28473312    ac_aux_dir=$ac_dir
    28483313    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    28513316done
    28523317if test -z "$ac_aux_dir"; then
    2853   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2854 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    2855    { (exit 1); exit 1; }; }
    2856 fi
    2857 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2858 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2859 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3318  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     3319fi
     3320
     3321# These three variables are undocumented and unsupported,
     3322# and are intended to be withdrawn in a future Autoconf release.
     3323# They can cause serious problems if a builder's source tree is in a directory
     3324# whose full name contains unusual characters.
     3325ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3326ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3327ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3328
    28603329
    28613330# Find a good install program.  We prefer a C program (faster),
     
    28723341# OS/2's system install, which has a completely different semantic
    28733342# ./install, which can be erroneously created by make from ./install.sh.
    2874 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2875 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3343# Reject install programs that cannot install multiple files.
     3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     3345$as_echo_n "checking for a BSD-compatible install... " >&6; }
    28763346if test -z "$INSTALL"; then
    2877 if test "${ac_cv_path_install+set}" = set; then
    2878   echo $ECHO_N "(cached) $ECHO_C" >&6
     3347if ${ac_cv_path_install+:} false; then :
     3348  $as_echo_n "(cached) " >&6
    28793349else
    28803350  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    28833353  IFS=$as_save_IFS
    28843354  test -z "$as_dir" && as_dir=.
    2885   # Account for people who put trailing slashes in PATH elements.
    2886 case $as_dir/ in
    2887   ./ | .// | /cC/* | \
     3355    # Account for people who put trailing slashes in PATH elements.
     3356case $as_dir/ in #((
     3357  ./ | .// | /[cC]/* | \
    28883358  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2889   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3359  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    28903360  /usr/ucb/* ) ;;
    28913361  *)
     
    28953365    for ac_prog in ginstall scoinst install; do
    28963366      for ac_exec_ext in '' $ac_executable_extensions; do
    2897     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3367    if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    28983368      if test $ac_prog = install &&
    28993369        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    29053375        :
    29063376      else
    2907         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2908         break 3
     3377        rm -rf conftest.one conftest.two conftest.dir
     3378        echo one > conftest.one
     3379        echo two > conftest.two
     3380        mkdir conftest.dir
     3381        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3382          test -s conftest.one && test -s conftest.two &&
     3383          test -s conftest.dir/conftest.one &&
     3384          test -s conftest.dir/conftest.two
     3385        then
     3386          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3387          break 3
     3388        fi
    29093389      fi
    29103390    fi
     
    29133393    ;;
    29143394esac
    2915 done
    2916 
     3395
     3396  done
     3397IFS=$as_save_IFS
     3398
     3399rm -rf conftest.one conftest.two conftest.dir
    29173400
    29183401fi
     
    29203403    INSTALL=$ac_cv_path_install
    29213404  else
    2922     # As a last resort, use the slow shell script.  We don't cache a
    2923     # path for INSTALL within a source directory, because that will
     3405    # As a last resort, use the slow shell script.  Don't cache a
     3406    # value for INSTALL within a source directory, because that will
    29243407    # break other packages using the cache if that directory is
    2925     # removed, or if the path is relative.
     3408    # removed, or if the value is a relative name.
    29263409    INSTALL=$ac_install_sh
    29273410  fi
    29283411fi
    2929 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2930 echo "${ECHO_T}$INSTALL" >&6
     3412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     3413$as_echo "$INSTALL" >&6; }
    29313414
    29323415# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    29393422
    29403423
     3424
     3425if test "x$JAVAC" = x ; then
     3426    if test "x$JAVAPREFIX" = x; then
     3427    test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
     3428do
     3429  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3430set dummy $ac_prog; ac_word=$2
     3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3432$as_echo_n "checking for $ac_word... " >&6; }
     3433if ${ac_cv_prog_JAVAC+:} false; then :
     3434  $as_echo_n "(cached) " >&6
     3435else
     3436  if test -n "$JAVAC"; then
     3437  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
     3438else
     3439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3440for as_dir in $PATH
     3441do
     3442  IFS=$as_save_IFS
     3443  test -z "$as_dir" && as_dir=.
     3444    for ac_exec_ext in '' $ac_executable_extensions; do
     3445  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3446    ac_cv_prog_JAVAC="$ac_prog"
     3447    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3448    break 2
     3449  fi
     3450done
     3451  done
     3452IFS=$as_save_IFS
     3453
     3454fi
     3455fi
     3456JAVAC=$ac_cv_prog_JAVAC
     3457if test -n "$JAVAC"; then
     3458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     3459$as_echo "$JAVAC" >&6; }
     3460else
     3461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3462$as_echo "no" >&6; }
     3463fi
     3464
     3465
     3466  test -n "$JAVAC" && break
     3467done
     3468
     3469  else
     3470    test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
     3471do
     3472  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3473set dummy $ac_prog; ac_word=$2
     3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3475$as_echo_n "checking for $ac_word... " >&6; }
     3476if ${ac_cv_prog_JAVAC+:} false; then :
     3477  $as_echo_n "(cached) " >&6
     3478else
     3479  if test -n "$JAVAC"; then
     3480  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
     3481else
     3482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3483for as_dir in $PATH
     3484do
     3485  IFS=$as_save_IFS
     3486  test -z "$as_dir" && as_dir=.
     3487    for ac_exec_ext in '' $ac_executable_extensions; do
     3488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3489    ac_cv_prog_JAVAC="$ac_prog"
     3490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3491    break 2
     3492  fi
     3493done
     3494  done
     3495IFS=$as_save_IFS
     3496
     3497fi
     3498fi
     3499JAVAC=$ac_cv_prog_JAVAC
     3500if test -n "$JAVAC"; then
     3501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     3502$as_echo "$JAVAC" >&6; }
     3503else
     3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3505$as_echo "no" >&6; }
     3506fi
     3507
     3508
     3509  test -n "$JAVAC" && break
     3510done
     3511test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
     3512
     3513  fi
     3514  test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
     3515else
     3516  echo "Checking for javac... $JAVAC"
     3517fi
     3518
     3519
     3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
     3521$as_echo_n "checking if $JAVAC works... " >&6; }
     3522if ${ac_cv_prog_javac_works+:} false; then :
     3523  $as_echo_n "(cached) " >&6
     3524else
     3525
     3526JAVA_TEST=Test.java
     3527CLASS_TEST=Test.class
     3528cat << \EOF > $JAVA_TEST
     3529/* #line 3529 "configure" */
     3530public class Test {
     3531}
     3532EOF
     3533if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
     3534  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
     3535  (eval $ac_try) 2>&5
     3536  ac_status=$?
     3537  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3538  test $ac_status = 0; }; } >/dev/null 2>&1; then
     3539  ac_cv_prog_javac_works=yes
     3540else
     3541  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3542  echo "configure: failed program was:" >&5
     3543  cat $JAVA_TEST >&5
     3544fi
     3545rm -f $JAVA_TEST $CLASS_TEST
     3546
     3547fi
     3548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
     3549$as_echo "$ac_cv_prog_javac_works" >&6; }
     3550if test "x$JAVACFLAGS" = x ; then
     3551  JAVACFLAGS="-source 1.6 -target 1.6"
     3552fi
     3553
     3554
     3555
     3556
    29413557# Checks for libraries.
    29423558
     
    29463562
    29473563
    2948 echo "$as_me:$LINENO: checking for egrep" >&5
    2949 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2950 if test "${ac_cv_prog_egrep+set}" = set; then
    2951   echo $ECHO_N "(cached) $ECHO_C" >&6
    2952 else
    2953   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2954     then ac_cv_prog_egrep='grep -E'
    2955     else ac_cv_prog_egrep='egrep'
     3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3565$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     3566if ${ac_cv_path_GREP+:} false; then :
     3567  $as_echo_n "(cached) " >&6
     3568else
     3569  if test -z "$GREP"; then
     3570  ac_path_GREP_found=false
     3571  # Loop through the user's path and test for each of PROGNAME-LIST
     3572  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3573for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3574do
     3575  IFS=$as_save_IFS
     3576  test -z "$as_dir" && as_dir=.
     3577    for ac_prog in grep ggrep; do
     3578    for ac_exec_ext in '' $ac_executable_extensions; do
     3579      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3580      as_fn_executable_p "$ac_path_GREP" || continue
     3581# Check for GNU ac_path_GREP and select it if it is found.
     3582  # Check for GNU $ac_path_GREP
     3583case `"$ac_path_GREP" --version 2>&1` in
     3584*GNU*)
     3585  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3586*)
     3587  ac_count=0
     3588  $as_echo_n 0123456789 >"conftest.in"
     3589  while :
     3590  do
     3591    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3592    mv "conftest.tmp" "conftest.in"
     3593    cp "conftest.in" "conftest.nl"
     3594    $as_echo 'GREP' >> "conftest.nl"
     3595    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3596    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3597    as_fn_arith $ac_count + 1 && ac_count=$as_val
     3598    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3599      # Best one so far, save it but keep looking for a better one
     3600      ac_cv_path_GREP="$ac_path_GREP"
     3601      ac_path_GREP_max=$ac_count
    29563602    fi
    2957 fi
    2958 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2959 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2960  EGREP=$ac_cv_prog_egrep
    2961 
    2962 
    2963 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    2964 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    2965 if test "${ac_cv_header_stdc+set}" = set; then
    2966   echo $ECHO_N "(cached) $ECHO_C" >&6
    2967 else
    2968   cat >conftest.$ac_ext <<_ACEOF
    2969 /* confdefs.h.  */
    2970 _ACEOF
    2971 cat confdefs.h >>conftest.$ac_ext
    2972 cat >>conftest.$ac_ext <<_ACEOF
     3603    # 10*(2^10) chars as input seems more than enough
     3604    test $ac_count -gt 10 && break
     3605  done
     3606  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3607esac
     3608
     3609      $ac_path_GREP_found && break 3
     3610    done
     3611  done
     3612  done
     3613IFS=$as_save_IFS
     3614  if test -z "$ac_cv_path_GREP"; then
     3615    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3616  fi
     3617else
     3618  ac_cv_path_GREP=$GREP
     3619fi
     3620
     3621fi
     3622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3623$as_echo "$ac_cv_path_GREP" >&6; }
     3624 GREP="$ac_cv_path_GREP"
     3625
     3626
     3627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3628$as_echo_n "checking for egrep... " >&6; }
     3629if ${ac_cv_path_EGREP+:} false; then :
     3630  $as_echo_n "(cached) " >&6
     3631else
     3632  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     3633   then ac_cv_path_EGREP="$GREP -E"
     3634   else
     3635     if test -z "$EGREP"; then
     3636  ac_path_EGREP_found=false
     3637  # Loop through the user's path and test for each of PROGNAME-LIST
     3638  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3639for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3640do
     3641  IFS=$as_save_IFS
     3642  test -z "$as_dir" && as_dir=.
     3643    for ac_prog in egrep; do
     3644    for ac_exec_ext in '' $ac_executable_extensions; do
     3645      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     3646      as_fn_executable_p "$ac_path_EGREP" || continue
     3647# Check for GNU ac_path_EGREP and select it if it is found.
     3648  # Check for GNU $ac_path_EGREP
     3649case `"$ac_path_EGREP" --version 2>&1` in
     3650*GNU*)
     3651  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     3652*)
     3653  ac_count=0
     3654  $as_echo_n 0123456789 >"conftest.in"
     3655  while :
     3656  do
     3657    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3658    mv "conftest.tmp" "conftest.in"
     3659    cp "conftest.in" "conftest.nl"
     3660    $as_echo 'EGREP' >> "conftest.nl"
     3661    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3662    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3663    as_fn_arith $ac_count + 1 && ac_count=$as_val
     3664    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     3665      # Best one so far, save it but keep looking for a better one
     3666      ac_cv_path_EGREP="$ac_path_EGREP"
     3667      ac_path_EGREP_max=$ac_count
     3668    fi
     3669    # 10*(2^10) chars as input seems more than enough
     3670    test $ac_count -gt 10 && break
     3671  done
     3672  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3673esac
     3674
     3675      $ac_path_EGREP_found && break 3
     3676    done
     3677  done
     3678  done
     3679IFS=$as_save_IFS
     3680  if test -z "$ac_cv_path_EGREP"; then
     3681    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3682  fi
     3683else
     3684  ac_cv_path_EGREP=$EGREP
     3685fi
     3686
     3687   fi
     3688fi
     3689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3690$as_echo "$ac_cv_path_EGREP" >&6; }
     3691 EGREP="$ac_cv_path_EGREP"
     3692
     3693
     3694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3695$as_echo_n "checking for ANSI C header files... " >&6; }
     3696if ${ac_cv_header_stdc+:} false; then :
     3697  $as_echo_n "(cached) " >&6
     3698else
     3699  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29733700/* end confdefs.h.  */
    29743701#include <stdlib.h>
     
    29853712}
    29863713_ACEOF
    2987 rm -f conftest.$ac_objext
    2988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2989   (eval $ac_compile) 2>conftest.er1
    2990   ac_status=$?
    2991   grep -v '^ *+' conftest.er1 >conftest.err
    2992   rm -f conftest.er1
    2993   cat conftest.err >&5
    2994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2995   (exit $ac_status); } &&
    2996      { ac_try='test -z "$ac_c_werror_flag"
    2997              || test ! -s conftest.err'
    2998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2999   (eval $ac_try) 2>&5
    3000   ac_status=$?
    3001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3002   (exit $ac_status); }; } &&
    3003      { ac_try='test -s conftest.$ac_objext'
    3004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3005   (eval $ac_try) 2>&5
    3006   ac_status=$?
    3007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3008   (exit $ac_status); }; }; then
     3714if ac_fn_c_try_compile "$LINENO"; then :
    30093715  ac_cv_header_stdc=yes
    30103716else
    3011   echo "$as_me: failed program was:" >&5
    3012 sed 's/^/| /' conftest.$ac_ext >&5
    3013 
    3014 ac_cv_header_stdc=no
    3015 fi
    3016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3717  ac_cv_header_stdc=no
     3718fi
     3719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30173720
    30183721if test $ac_cv_header_stdc = yes; then
    30193722  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3020   cat >conftest.$ac_ext <<_ACEOF
    3021 /* confdefs.h.  */
    3022 _ACEOF
    3023 cat confdefs.h >>conftest.$ac_ext
    3024 cat >>conftest.$ac_ext <<_ACEOF
     3723  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30253724/* end confdefs.h.  */
    30263725#include <string.h>
     
    30283727_ACEOF
    30293728if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3030   $EGREP "memchr" >/dev/null 2>&1; then
    3031   :
     3729  $EGREP "memchr" >/dev/null 2>&1; then :
     3730
    30323731else
    30333732  ac_cv_header_stdc=no
     
    30393738if test $ac_cv_header_stdc = yes; then
    30403739  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3041   cat >conftest.$ac_ext <<_ACEOF
    3042 /* confdefs.h.  */
    3043 _ACEOF
    3044 cat confdefs.h >>conftest.$ac_ext
    3045 cat >>conftest.$ac_ext <<_ACEOF
     3740  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30463741/* end confdefs.h.  */
    30473742#include <stdlib.h>
     
    30493744_ACEOF
    30503745if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3051   $EGREP "free" >/dev/null 2>&1; then
    3052   :
     3746  $EGREP "free" >/dev/null 2>&1; then :
     3747
    30533748else
    30543749  ac_cv_header_stdc=no
     
    30603755if test $ac_cv_header_stdc = yes; then
    30613756  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3062   if test "$cross_compiling" = yes; then
     3757  if test "$cross_compiling" = yes; then :
    30633758  :
    30643759else
    3065   cat >conftest.$ac_ext <<_ACEOF
    3066 /* confdefs.h.  */
    3067 _ACEOF
    3068 cat confdefs.h >>conftest.$ac_ext
    3069 cat >>conftest.$ac_ext <<_ACEOF
     3760  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30703761/* end confdefs.h.  */
    30713762#include <ctype.h>
     3763#include <stdlib.h>
    30723764#if ((' ' & 0x0FF) == 0x020)
    30733765# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    30893781    if (XOR (islower (i), ISLOWER (i))
    30903782    || toupper (i) != TOUPPER (i))
    3091       exit(2);
    3092   exit (0);
     3783      return 2;
     3784  return 0;
    30933785}
    30943786_ACEOF
    3095 rm -f conftest$ac_exeext
    3096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3097   (eval $ac_link) 2>&5
    3098   ac_status=$?
    3099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3100   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3102   (eval $ac_try) 2>&5
    3103   ac_status=$?
    3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3105   (exit $ac_status); }; }; then
    3106   :
    3107 else
    3108   echo "$as_me: program exited with status $ac_status" >&5
    3109 echo "$as_me: failed program was:" >&5
    3110 sed 's/^/| /' conftest.$ac_ext >&5
    3111 
    3112 ( exit $ac_status )
    3113 ac_cv_header_stdc=no
    3114 fi
    3115 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3116 fi
    3117 fi
    3118 fi
    3119 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3120 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     3787if ac_fn_c_try_run "$LINENO"; then :
     3788
     3789else
     3790  ac_cv_header_stdc=no
     3791fi
     3792rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3793  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3794fi
     3795
     3796fi
     3797fi
     3798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3799$as_echo "$ac_cv_header_stdc" >&6; }
    31213800if test $ac_cv_header_stdc = yes; then
    31223801
    3123 cat >>confdefs.h <<\_ACEOF
    3124 #define STDC_HEADERS 1
    3125 _ACEOF
     3802$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    31263803
    31273804fi
    31283805
    31293806# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3130 
    3131 
    3132 
    3133 
    3134 
    3135 
    3136 
    3137 
    3138 
    31393807for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    31403808          inttypes.h stdint.h unistd.h
    3141 do
    3142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3143 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3146   echo $ECHO_N "(cached) $ECHO_C" >&6
    3147 else
    3148   cat >conftest.$ac_ext <<_ACEOF
    3149 /* confdefs.h.  */
    3150 _ACEOF
    3151 cat confdefs.h >>conftest.$ac_ext
    3152 cat >>conftest.$ac_ext <<_ACEOF
     3809do :
     3810  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3811ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3812"
     3813if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     3814  cat >>confdefs.h <<_ACEOF
     3815#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3816_ACEOF
     3817
     3818fi
     3819
     3820done
     3821
     3822
     3823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
     3824$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
     3825if ${ac_cv_header_stdbool_h+:} false; then :
     3826  $as_echo_n "(cached) " >&6
     3827else
     3828  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31533829/* end confdefs.h.  */
    3154 $ac_includes_default
    3155 
    3156 #include <$ac_header>
    3157 _ACEOF
    3158 rm -f conftest.$ac_objext
    3159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3160   (eval $ac_compile) 2>conftest.er1
    3161   ac_status=$?
    3162   grep -v '^ *+' conftest.er1 >conftest.err
    3163   rm -f conftest.er1
    3164   cat conftest.err >&5
    3165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3166   (exit $ac_status); } &&
    3167      { ac_try='test -z "$ac_c_werror_flag"
    3168              || test ! -s conftest.err'
    3169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3170   (eval $ac_try) 2>&5
    3171   ac_status=$?
    3172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3173   (exit $ac_status); }; } &&
    3174      { ac_try='test -s conftest.$ac_objext'
    3175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3176   (eval $ac_try) 2>&5
    3177   ac_status=$?
    3178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3179   (exit $ac_status); }; }; then
    3180   eval "$as_ac_Header=yes"
    3181 else
    3182   echo "$as_me: failed program was:" >&5
    3183 sed 's/^/| /' conftest.$ac_ext >&5
    3184 
    3185 eval "$as_ac_Header=no"
    3186 fi
    3187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3188 fi
    3189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    3191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    3192   cat >>confdefs.h <<_ACEOF
    3193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    3194 _ACEOF
    3195 
    3196 fi
    3197 
    3198 done
    3199 
    3200 
    3201 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
    3202 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
    3203 if test "${ac_cv_header_stdbool_h+set}" = set; then
    3204   echo $ECHO_N "(cached) $ECHO_C" >&6
    3205 else
    3206   cat >conftest.$ac_ext <<_ACEOF
    3207 /* confdefs.h.  */
    3208 _ACEOF
    3209 cat confdefs.h >>conftest.$ac_ext
    3210 cat >>conftest.$ac_ext <<_ACEOF
    3211 /* end confdefs.h.  */
    3212 
    3213 #include <stdbool.h>
    3214 #ifndef bool
    3215 # error bool is not defined
    3216 #endif
    3217 #ifndef false
    3218 # error false is not defined
    3219 #endif
    3220 #if false
    3221 # error false is not 0
    3222 #endif
    3223 #ifndef true
    3224 # error true is not defined
    3225 #endif
    3226 #if true != 1
    3227 # error true is not 1
    3228 #endif
    3229 #ifndef __bool_true_false_are_defined
    3230 # error __bool_true_false_are_defined is not defined
    3231 #endif
    3232 
    3233     struct s { _Bool s: 1; _Bool t; } s;
    3234 
    3235     char a[true == 1 ? 1 : -1];
    3236     char b[false == 0 ? 1 : -1];
    3237     char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    3238     char d[(bool) -0.5 == true ? 1 : -1];
    3239     bool e = &s;
    3240     char f[(_Bool) -0.0 == false ? 1 : -1];
    3241     char g[true];
    3242     char h[sizeof (_Bool)];
    3243     char i[sizeof s.t];
     3830
     3831             #include <stdbool.h>
     3832             #ifndef bool
     3833              "error: bool is not defined"
     3834             #endif
     3835             #ifndef false
     3836              "error: false is not defined"
     3837             #endif
     3838             #if false
     3839              "error: false is not 0"
     3840             #endif
     3841             #ifndef true
     3842              "error: true is not defined"
     3843             #endif
     3844             #if true != 1
     3845              "error: true is not 1"
     3846             #endif
     3847             #ifndef __bool_true_false_are_defined
     3848              "error: __bool_true_false_are_defined is not defined"
     3849             #endif
     3850
     3851             struct s { _Bool s: 1; _Bool t; } s;
     3852
     3853             char a[true == 1 ? 1 : -1];
     3854             char b[false == 0 ? 1 : -1];
     3855             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     3856             char d[(bool) 0.5 == true ? 1 : -1];
     3857             /* See body of main program for 'e'.  */
     3858             char f[(_Bool) 0.0 == false ? 1 : -1];
     3859             char g[true];
     3860             char h[sizeof (_Bool)];
     3861             char i[sizeof s.t];
     3862             enum { j = false, k = true, l = false * true, m = true * 256 };
     3863             /* The following fails for
     3864                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
     3865             _Bool n[m];
     3866             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
     3867             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
     3868             /* Catch a bug in an HP-UX C compiler.  See
     3869                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
     3870                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
     3871              */
     3872             _Bool q = true;
     3873             _Bool *pq = &q;
    32443874
    32453875int
    32463876main ()
    32473877{
    3248  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     3878
     3879             bool e = &s;
     3880             *pq |= q;
     3881             *pq |= ! q;
     3882             /* Refer to every declared value, to avoid compiler optimizations.  */
     3883             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
     3884                     + !m + !n + !o + !p + !q + !pq);
     3885
    32493886  ;
    32503887  return 0;
    32513888}
    32523889_ACEOF
    3253 rm -f conftest.$ac_objext
    3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3255   (eval $ac_compile) 2>conftest.er1
    3256   ac_status=$?
    3257   grep -v '^ *+' conftest.er1 >conftest.err
    3258   rm -f conftest.er1
    3259   cat conftest.err >&5
    3260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3261   (exit $ac_status); } &&
    3262      { ac_try='test -z "$ac_c_werror_flag"
    3263              || test ! -s conftest.err'
    3264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3265   (eval $ac_try) 2>&5
    3266   ac_status=$?
    3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3268   (exit $ac_status); }; } &&
    3269      { ac_try='test -s conftest.$ac_objext'
    3270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3271   (eval $ac_try) 2>&5
    3272   ac_status=$?
    3273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3274   (exit $ac_status); }; }; then
     3890if ac_fn_c_try_compile "$LINENO"; then :
    32753891  ac_cv_header_stdbool_h=yes
    32763892else
    3277   echo "$as_me: failed program was:" >&5
    3278 sed 's/^/| /' conftest.$ac_ext >&5
    3279 
    3280 ac_cv_header_stdbool_h=no
    3281 fi
    3282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3283 fi
    3284 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
    3285 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
    3286 echo "$as_me:$LINENO: checking for _Bool" >&5
    3287 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
    3288 if test "${ac_cv_type__Bool+set}" = set; then
    3289   echo $ECHO_N "(cached) $ECHO_C" >&6
    3290 else
    3291   cat >conftest.$ac_ext <<_ACEOF
    3292 /* confdefs.h.  */
    3293 _ACEOF
    3294 cat confdefs.h >>conftest.$ac_ext
    3295 cat >>conftest.$ac_ext <<_ACEOF
     3893  ac_cv_header_stdbool_h=no
     3894fi
     3895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3896fi
     3897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
     3898$as_echo "$ac_cv_header_stdbool_h" >&6; }
     3899   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
     3900if test "x$ac_cv_type__Bool" = xyes; then :
     3901
     3902cat >>confdefs.h <<_ACEOF
     3903#define HAVE__BOOL 1
     3904_ACEOF
     3905
     3906
     3907fi
     3908
     3909
     3910if test $ac_cv_header_stdbool_h = yes; then
     3911
     3912$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
     3913
     3914fi
     3915
     3916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
     3917$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
     3918if ${ac_cv_c_const+:} false; then :
     3919  $as_echo_n "(cached) " >&6
     3920else
     3921  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32963922/* end confdefs.h.  */
    3297 $ac_includes_default
     3923
    32983924int
    32993925main ()
    33003926{
    3301 if ((_Bool *) 0)
    3302   return 0;
    3303 if (sizeof (_Bool))
    3304   return 0;
    3305   ;
    3306   return 0;
    3307 }
    3308 _ACEOF
    3309 rm -f conftest.$ac_objext
    3310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3311   (eval $ac_compile) 2>conftest.er1
    3312   ac_status=$?
    3313   grep -v '^ *+' conftest.er1 >conftest.err
    3314   rm -f conftest.er1
    3315   cat conftest.err >&5
    3316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3317   (exit $ac_status); } &&
    3318      { ac_try='test -z "$ac_c_werror_flag"
    3319              || test ! -s conftest.err'
    3320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3321   (eval $ac_try) 2>&5
    3322   ac_status=$?
    3323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3324   (exit $ac_status); }; } &&
    3325      { ac_try='test -s conftest.$ac_objext'
    3326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3327   (eval $ac_try) 2>&5
    3328   ac_status=$?
    3329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3330   (exit $ac_status); }; }; then
    3331   ac_cv_type__Bool=yes
    3332 else
    3333   echo "$as_me: failed program was:" >&5
    3334 sed 's/^/| /' conftest.$ac_ext >&5
    3335 
    3336 ac_cv_type__Bool=no
    3337 fi
    3338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3339 fi
    3340 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
    3341 echo "${ECHO_T}$ac_cv_type__Bool" >&6
    3342 if test $ac_cv_type__Bool = yes; then
    3343 
    3344 cat >>confdefs.h <<_ACEOF
    3345 #define HAVE__BOOL 1
    3346 _ACEOF
    3347 
    3348 
    3349 fi
    3350 
    3351 if test $ac_cv_header_stdbool_h = yes; then
    3352 
    3353 cat >>confdefs.h <<\_ACEOF
    3354 #define HAVE_STDBOOL_H 1
    3355 _ACEOF
    3356 
    3357 fi
    3358 
    3359 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    3360 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    3361 if test "${ac_cv_c_const+set}" = set; then
    3362   echo $ECHO_N "(cached) $ECHO_C" >&6
    3363 else
    3364   cat >conftest.$ac_ext <<_ACEOF
    3365 /* confdefs.h.  */
    3366 _ACEOF
    3367 cat confdefs.h >>conftest.$ac_ext
    3368 cat >>conftest.$ac_ext <<_ACEOF
    3369 /* end confdefs.h.  */
    3370 
    3371 int
    3372 main ()
    3373 {
    3374 /* FIXME: Include the comments suggested by Paul. */
     3927
    33753928#ifndef __cplusplus
    3376   /* Ultrix mips cc rejects this.  */
     3929  /* Ultrix mips cc rejects this sort of thing.  */
    33773930  typedef int charset[2];
    3378   const charset x;
     3931  const charset cs = { 0, 0 };
    33793932  /* SunOS 4.1.1 cc rejects this.  */
    3380   char const *const *ccp;
    3381   char **p;
     3933  char const *const *pcpcc;
     3934  char **ppc;
    33823935  /* NEC SVR4.0.2 mips cc rejects this.  */
    33833936  struct point {int x, y;};
     
    33883941     expression */
    33893942  const char *g = "string";
    3390   ccp = &g + (g ? g-g : 0);
     3943  pcpcc = &g + (g ? g-g : 0);
    33913944  /* HPUX 7.0 cc rejects these. */
    3392   ++ccp;
    3393   p = (char**) ccp;
    3394   ccp = (char const *const *) p;
    3395   { /* SCO 3.2v4 cc rejects this.  */
    3396     char *t;
     3945  ++pcpcc;
     3946  ppc = (char**) pcpcc;
     3947  pcpcc = (char const *const *) ppc;
     3948  { /* SCO 3.2v4 cc rejects this sort of thing.  */
     3949    char tx;
     3950    char *t = &tx;
    33973951    char const *s = 0 ? (char *) 0 : (char const *) 0;
    33983952
    33993953    *t++ = 0;
     3954    if (s) return 0;
    34003955  }
    34013956  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    34093964    ++p;
    34103965  }
    3411   { /* AIX XL C 1.02.0.0 rejects this saying
     3966  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
    34123967       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    3413     struct s { int j; const int *ap[3]; };
    3414     struct s *b; b->j = 5;
     3968    struct s { int j; const int *ap[3]; } bx;
     3969    struct s *b = &bx; b->j = 5;
    34153970  }
    34163971  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    34173972    const int foo = 10;
     3973    if (!foo) return 0;
    34183974  }
     3975  return !cs[0] && !zero.x;
    34193976#endif
    34203977
     
    34233980}
    34243981_ACEOF
    3425 rm -f conftest.$ac_objext
    3426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3427   (eval $ac_compile) 2>conftest.er1
    3428   ac_status=$?
    3429   grep -v '^ *+' conftest.er1 >conftest.err
    3430   rm -f conftest.er1
    3431   cat conftest.err >&5
    3432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3433   (exit $ac_status); } &&
    3434      { ac_try='test -z "$ac_c_werror_flag"
    3435              || test ! -s conftest.err'
    3436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3437   (eval $ac_try) 2>&5
    3438   ac_status=$?
    3439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3440   (exit $ac_status); }; } &&
    3441      { ac_try='test -s conftest.$ac_objext'
    3442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3443   (eval $ac_try) 2>&5
    3444   ac_status=$?
    3445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3446   (exit $ac_status); }; }; then
     3982if ac_fn_c_try_compile "$LINENO"; then :
    34473983  ac_cv_c_const=yes
    34483984else
    3449   echo "$as_me: failed program was:" >&5
    3450 sed 's/^/| /' conftest.$ac_ext >&5
    3451 
    3452 ac_cv_c_const=no
    3453 fi
    3454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3455 fi
    3456 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    3457 echo "${ECHO_T}$ac_cv_c_const" >&6
     3985  ac_cv_c_const=no
     3986fi
     3987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3988fi
     3989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
     3990$as_echo "$ac_cv_c_const" >&6; }
    34583991if test $ac_cv_c_const = no; then
    34593992
    3460 cat >>confdefs.h <<\_ACEOF
    3461 #define const
    3462 _ACEOF
     3993$as_echo "#define const /**/" >>confdefs.h
    34633994
    34643995fi
     
    34663997
    34673998# Checks for library functions.
    3468 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3469 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    3470 if test "${ac_cv_header_stdc+set}" = set; then
    3471   echo $ECHO_N "(cached) $ECHO_C" >&6
    3472 else
    3473   cat >conftest.$ac_ext <<_ACEOF
    3474 /* confdefs.h.  */
    3475 _ACEOF
    3476 cat confdefs.h >>conftest.$ac_ext
    3477 cat >>conftest.$ac_ext <<_ACEOF
     3999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4000$as_echo_n "checking for ANSI C header files... " >&6; }
     4001if ${ac_cv_header_stdc+:} false; then :
     4002  $as_echo_n "(cached) " >&6
     4003else
     4004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34784005/* end confdefs.h.  */
    34794006#include <stdlib.h>
     
    34904017}
    34914018_ACEOF
    3492 rm -f conftest.$ac_objext
    3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3494   (eval $ac_compile) 2>conftest.er1
    3495   ac_status=$?
    3496   grep -v '^ *+' conftest.er1 >conftest.err
    3497   rm -f conftest.er1
    3498   cat conftest.err >&5
    3499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3500   (exit $ac_status); } &&
    3501      { ac_try='test -z "$ac_c_werror_flag"
    3502              || test ! -s conftest.err'
    3503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3504   (eval $ac_try) 2>&5
    3505   ac_status=$?
    3506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3507   (exit $ac_status); }; } &&
    3508      { ac_try='test -s conftest.$ac_objext'
    3509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3510   (eval $ac_try) 2>&5
    3511   ac_status=$?
    3512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3513   (exit $ac_status); }; }; then
     4019if ac_fn_c_try_compile "$LINENO"; then :
    35144020  ac_cv_header_stdc=yes
    35154021else
    3516   echo "$as_me: failed program was:" >&5
    3517 sed 's/^/| /' conftest.$ac_ext >&5
    3518 
    3519 ac_cv_header_stdc=no
    3520 fi
    3521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4022  ac_cv_header_stdc=no
     4023fi
     4024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35224025
    35234026if test $ac_cv_header_stdc = yes; then
    35244027  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3525   cat >conftest.$ac_ext <<_ACEOF
    3526 /* confdefs.h.  */
    3527 _ACEOF
    3528 cat confdefs.h >>conftest.$ac_ext
    3529 cat >>conftest.$ac_ext <<_ACEOF
     4028  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35304029/* end confdefs.h.  */
    35314030#include <string.h>
     
    35334032_ACEOF
    35344033if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3535   $EGREP "memchr" >/dev/null 2>&1; then
    3536   :
     4034  $EGREP "memchr" >/dev/null 2>&1; then :
     4035
    35374036else
    35384037  ac_cv_header_stdc=no
     
    35444043if test $ac_cv_header_stdc = yes; then
    35454044  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3546   cat >conftest.$ac_ext <<_ACEOF
    3547 /* confdefs.h.  */
    3548 _ACEOF
    3549 cat confdefs.h >>conftest.$ac_ext
    3550 cat >>conftest.$ac_ext <<_ACEOF
     4045  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35514046/* end confdefs.h.  */
    35524047#include <stdlib.h>
     
    35544049_ACEOF
    35554050if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3556   $EGREP "free" >/dev/null 2>&1; then
    3557   :
     4051  $EGREP "free" >/dev/null 2>&1; then :
     4052
    35584053else
    35594054  ac_cv_header_stdc=no
     
    35654060if test $ac_cv_header_stdc = yes; then
    35664061  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3567   if test "$cross_compiling" = yes; then
     4062  if test "$cross_compiling" = yes; then :
    35684063  :
    35694064else
    3570   cat >conftest.$ac_ext <<_ACEOF
    3571 /* confdefs.h.  */
    3572 _ACEOF
    3573 cat confdefs.h >>conftest.$ac_ext
    3574 cat >>conftest.$ac_ext <<_ACEOF
     4065  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35754066/* end confdefs.h.  */
    35764067#include <ctype.h>
     4068#include <stdlib.h>
    35774069#if ((' ' & 0x0FF) == 0x020)
    35784070# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    35944086    if (XOR (islower (i), ISLOWER (i))
    35954087    || toupper (i) != TOUPPER (i))
    3596       exit(2);
    3597   exit (0);
    3598 }
    3599 _ACEOF
    3600 rm -f conftest$ac_exeext
    3601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3602   (eval $ac_link) 2>&5
    3603   ac_status=$?
    3604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3605   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3607   (eval $ac_try) 2>&5
    3608   ac_status=$?
    3609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3610   (exit $ac_status); }; }; then
    3611   :
    3612 else
    3613   echo "$as_me: program exited with status $ac_status" >&5
    3614 echo "$as_me: failed program was:" >&5
    3615 sed 's/^/| /' conftest.$ac_ext >&5
    3616 
    3617 ( exit $ac_status )
    3618 ac_cv_header_stdc=no
    3619 fi
    3620 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3621 fi
    3622 fi
    3623 fi
    3624 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3625 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    3626 if test $ac_cv_header_stdc = yes; then
    3627 
    3628 cat >>confdefs.h <<\_ACEOF
    3629 #define STDC_HEADERS 1
    3630 _ACEOF
    3631 
    3632 fi
    3633 
    3634 
    3635 for ac_func in memset
    3636 do
    3637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    3638 echo "$as_me:$LINENO: checking for $ac_func" >&5
    3639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    3640 if eval "test \"\${$as_ac_var+set}\" = set"; then
    3641   echo $ECHO_N "(cached) $ECHO_C" >&6
    3642 else
    3643   cat >conftest.$ac_ext <<_ACEOF
    3644 /* confdefs.h.  */
    3645 _ACEOF
    3646 cat confdefs.h >>conftest.$ac_ext
    3647 cat >>conftest.$ac_ext <<_ACEOF
    3648 /* end confdefs.h.  */
    3649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    3650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    3651 #define $ac_func innocuous_$ac_func
    3652 
    3653 /* System header to define __stub macros and hopefully few prototypes,
    3654     which can conflict with char $ac_func (); below.
    3655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3656     <limits.h> exists even on freestanding compilers.  */
    3657 
    3658 #ifdef __STDC__
    3659 # include <limits.h>
    3660 #else
    3661 # include <assert.h>
    3662 #endif
    3663 
    3664 #undef $ac_func
    3665 
    3666 /* Override any gcc2 internal prototype to avoid an error.  */
    3667 #ifdef __cplusplus
    3668 extern "C"
    3669 {
    3670 #endif
    3671 /* We use char because int might match the return type of a gcc2
    3672    builtin and then its argument prototype would still apply.  */
    3673 char $ac_func ();
    3674 /* The GNU C library defines this for functions which it implements
    3675     to always fail with ENOSYS.  Some functions are actually named
    3676     something starting with __ and the normal name is an alias.  */
    3677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    3678 choke me
    3679 #else
    3680 char (*f) () = $ac_func;
    3681 #endif
    3682 #ifdef __cplusplus
    3683 }
    3684 #endif
    3685 
    3686 int
    3687 main ()
    3688 {
    3689 return f != $ac_func;
    3690   ;
     4088      return 2;
    36914089  return 0;
    36924090}
    36934091_ACEOF
    3694 rm -f conftest.$ac_objext conftest$ac_exeext
    3695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3696   (eval $ac_link) 2>conftest.er1
    3697   ac_status=$?
    3698   grep -v '^ *+' conftest.er1 >conftest.err
    3699   rm -f conftest.er1
    3700   cat conftest.err >&5
    3701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3702   (exit $ac_status); } &&
    3703      { ac_try='test -z "$ac_c_werror_flag"
    3704              || test ! -s conftest.err'
    3705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3706   (eval $ac_try) 2>&5
    3707   ac_status=$?
    3708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3709   (exit $ac_status); }; } &&
    3710      { ac_try='test -s conftest$ac_exeext'
    3711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3712   (eval $ac_try) 2>&5
    3713   ac_status=$?
    3714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3715   (exit $ac_status); }; }; then
    3716   eval "$as_ac_var=yes"
    3717 else
    3718   echo "$as_me: failed program was:" >&5
    3719 sed 's/^/| /' conftest.$ac_ext >&5
    3720 
    3721 eval "$as_ac_var=no"
    3722 fi
    3723 rm -f conftest.err conftest.$ac_objext \
    3724       conftest$ac_exeext conftest.$ac_ext
    3725 fi
    3726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    3727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    3728 if test `eval echo '${'$as_ac_var'}'` = yes; then
     4092if ac_fn_c_try_run "$LINENO"; then :
     4093
     4094else
     4095  ac_cv_header_stdc=no
     4096fi
     4097rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4098  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4099fi
     4100
     4101fi
     4102fi
     4103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4104$as_echo "$ac_cv_header_stdc" >&6; }
     4105if test $ac_cv_header_stdc = yes; then
     4106
     4107$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4108
     4109fi
     4110
     4111for ac_func in memset
     4112do :
     4113  ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
     4114if test "x$ac_cv_func_memset" = xyes; then :
    37294115  cat >>confdefs.h <<_ACEOF
    3730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     4116#define HAVE_MEMSET 1
    37314117_ACEOF
    37324118
     
    37354121
    37364122
    3737           ac_config_files="$ac_config_files Makefile"
     4123ac_config_files="$ac_config_files Makefile"
    37384124
    37394125cat >confcache <<\_ACEOF
     
    37554141# The following way of writing the cache mishandles newlines in values,
    37564142# but we know of no workaround that is simple, portable, and efficient.
    3757 # So, don't put newlines in cache variables' values.
     4143# So, we kill variables containing newlines.
    37584144# Ultrix sh set writes to stderr and can't be redirected directly,
    37594145# and sets the high bit in the cache file unless we assign to the vars.
    3760 {
     4146(
     4147  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     4148    eval ac_val=\$$ac_var
     4149    case $ac_val in #(
     4150    *${as_nl}*)
     4151      case $ac_var in #(
     4152      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     4153$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     4154      esac
     4155      case $ac_var in #(
     4156      _ | IFS | as_nl) ;; #(
     4157      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     4158      *) { eval $ac_var=; unset $ac_var;} ;;
     4159      esac ;;
     4160    esac
     4161  done
     4162
    37614163  (set) 2>&1 |
    3762     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    3763     *ac_space=\ *)
    3764       # `set' does not quote correctly, so add quotes (double-quote
    3765       # substitution turns \\\\ into \\, and sed turns \\ into \).
     4164    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     4165    *${as_nl}ac_space=\ *)
     4166      # `set' does not quote correctly, so add quotes: double-quote
     4167      # substitution turns \\\\ into \\, and sed turns \\ into \.
    37664168      sed -n \
    37674169    "s/'/'\\\\''/g;
    37684170      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    3769       ;;
     4171      ;; #(
    37704172    *)
    37714173      # `set' quotes correctly as required by POSIX, so do not add quotes.
    3772       sed -n \
    3773     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     4174      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    37744175      ;;
    3775     esac;
    3776 } |
     4176    esac |
     4177    sort
     4178) |
    37774179  sed '
     4180     /^ac_cv_env_/b end
    37784181     t clear
    3779      : clear
     4182     :clear
    37804183     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    37814184     t end
    3782      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    3783      : end' >>confcache
    3784 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    3785   if test -w $cache_file; then
    3786     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    3787     cat confcache >$cache_file
     4185     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     4186     :end' >>confcache
     4187if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     4188  if test -w "$cache_file"; then
     4189    if test "x$cache_file" != "x/dev/null"; then
     4190      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     4191$as_echo "$as_me: updating cache $cache_file" >&6;}
     4192      if test ! -f "$cache_file" || test -h "$cache_file"; then
     4193    cat confcache >"$cache_file"
     4194      else
     4195        case $cache_file in #(
     4196        */* | ?:*)
     4197      mv -f confcache "$cache_file"$$ &&
     4198      mv -f "$cache_file"$$ "$cache_file" ;; #(
     4199        *)
     4200      mv -f confcache "$cache_file" ;;
     4201    esac
     4202      fi
     4203    fi
    37884204  else
    3789     echo "not updating unwritable cache $cache_file"
     4205    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     4206$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    37904207  fi
    37914208fi
     
    37964213test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    37974214
    3798 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    3799 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    3800 # trailing colons and then remove the whole line if VPATH becomes empty
    3801 # (actually we leave an empty line to preserve line numbers).
    3802 if test "x$srcdir" = x.; then
    3803   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    3804 s/:*\$(srcdir):*/:/;
    3805 s/:*\${srcdir}:*/:/;
    3806 s/:*@srcdir@:*/:/;
    3807 s/^\([^=]*=[     ]*\):*/\1/;
    3808 s/:*$//;
    3809 s/^[^=]*=[   ]*$//;
    3810 }'
    3811 fi
    3812 
    38134215DEFS=-DHAVE_CONFIG_H
    38144216
    38154217ac_libobjs=
    38164218ac_ltlibobjs=
     4219U=
    38174220for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    38184221  # 1. Remove the extension, and $U if already installed.
    3819   ac_i=`echo "$ac_i" |
    3820      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    3821   # 2. Add them.
    3822   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    3823   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     4222  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     4223  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     4224  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     4225  #    will be set to the directory where LIBOBJS objects are built.
     4226  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     4227  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    38244228done
    38254229LIBOBJS=$ac_libobjs
     
    38294233
    38304234
    3831 : ${CONFIG_STATUS=./config.status}
     4235: "${CONFIG_STATUS=./config.status}"
     4236ac_write_fail=0
    38324237ac_clean_files_save=$ac_clean_files
    38334238ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    3834 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    3835 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    3836 cat >$CONFIG_STATUS <<_ACEOF
     4239{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     4240$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     4241as_write_fail=0
     4242cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    38374243#! $SHELL
    38384244# Generated by $as_me.
     
    38444250ac_cs_recheck=false
    38454251ac_cs_silent=false
     4252
    38464253SHELL=\${CONFIG_SHELL-$SHELL}
    3847 _ACEOF
    3848 
    3849 cat >>$CONFIG_STATUS <<\_ACEOF
    3850 ## --------------------- ##
    3851 ## M4sh Initialization.  ##
    3852 ## --------------------- ##
    3853 
    3854 # Be Bourne compatible
    3855 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     4254export SHELL
     4255_ASEOF
     4256cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     4257## -------------------- ##
     4258## M4sh Initialization. ##
     4259## -------------------- ##
     4260
     4261# Be more Bourne compatible
     4262DUALCASE=1; export DUALCASE # for MKS sh
     4263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    38564264  emulate sh
    38574265  NULLCMD=:
    3858   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     4266  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    38594267  # is contrary to our usage.  Disable this feature.
    38604268  alias -g '${1+"$@"}'='"$@"'
    3861 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    3862   set -o posix
    3863 fi
    3864 DUALCASE=1; export DUALCASE # for MKS sh
    3865 
    3866 # Support unset when possible.
    3867 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    3868   as_unset=unset
    3869 else
    3870   as_unset=false
    3871 fi
    3872 
    3873 
    3874 # Work around bugs in pre-3.0 UWIN ksh.
    3875 $as_unset ENV MAIL MAILPATH
     4269  setopt NO_GLOB_SUBST
     4270else
     4271  case `(set -o) 2>/dev/null` in #(
     4272  *posix*) :
     4273    set -o posix ;; #(
     4274  *) :
     4275     ;;
     4276esac
     4277fi
     4278
     4279
     4280as_nl='
     4281'
     4282export as_nl
     4283# Printing a long string crashes Solaris 7 /usr/bin/printf.
     4284as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     4285as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     4286as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     4287# Prefer a ksh shell builtin over an external printf program on Solaris,
     4288# but without wasting forks for bash or zsh.
     4289if test -z "$BASH_VERSION$ZSH_VERSION" \
     4290    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     4291  as_echo='print -r --'
     4292  as_echo_n='print -rn --'
     4293elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     4294  as_echo='printf %s\n'
     4295  as_echo_n='printf %s'
     4296else
     4297  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     4298    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     4299    as_echo_n='/usr/ucb/echo -n'
     4300  else
     4301    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     4302    as_echo_n_body='eval
     4303      arg=$1;
     4304      case $arg in #(
     4305      *"$as_nl"*)
     4306    expr "X$arg" : "X\\(.*\\)$as_nl";
     4307    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     4308      esac;
     4309      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     4310    '
     4311    export as_echo_n_body
     4312    as_echo_n='sh -c $as_echo_n_body as_echo'
     4313  fi
     4314  export as_echo_body
     4315  as_echo='sh -c $as_echo_body as_echo'
     4316fi
     4317
     4318# The user is always right.
     4319if test "${PATH_SEPARATOR+set}" != set; then
     4320  PATH_SEPARATOR=:
     4321  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     4322    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     4323      PATH_SEPARATOR=';'
     4324  }
     4325fi
     4326
     4327
     4328# IFS
     4329# We need space, tab and new line, in precisely that order.  Quoting is
     4330# there to prevent editors from complaining about space-tab.
     4331# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     4332# splitting by setting IFS to empty value.)
     4333IFS=" ""    $as_nl"
     4334
     4335# Find who we are.  Look in the path if we contain no directory separator.
     4336as_myself=
     4337case $0 in #((
     4338  *[\\/]* ) as_myself=$0 ;;
     4339  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4340for as_dir in $PATH
     4341do
     4342  IFS=$as_save_IFS
     4343  test -z "$as_dir" && as_dir=.
     4344    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     4345  done
     4346IFS=$as_save_IFS
     4347
     4348     ;;
     4349esac
     4350# We did not find ourselves, most probably we were run as `sh COMMAND'
     4351# in which case we are not to be found in the path.
     4352if test "x$as_myself" = x; then
     4353  as_myself=$0
     4354fi
     4355if test ! -f "$as_myself"; then
     4356  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     4357  exit 1
     4358fi
     4359
     4360# Unset variables that we do not need and which cause bugs (e.g. in
     4361# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     4362# suppresses any "Segmentation fault" message there.  '((' could
     4363# trigger a bug in pdksh 5.2.14.
     4364for as_var in BASH_ENV ENV MAIL MAILPATH
     4365do eval test x\${$as_var+set} = xset \
     4366  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     4367done
    38764368PS1='$ '
    38774369PS2='> '
     
    38794371
    38804372# NLS nuisances.
    3881 for as_var in \
    3882   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    3883   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    3884   LC_TELEPHONE LC_TIME
    3885 do
    3886   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    3887     eval $as_var=C; export $as_var
    3888   else
    3889     $as_unset $as_var
     4373LC_ALL=C
     4374export LC_ALL
     4375LANGUAGE=C
     4376export LANGUAGE
     4377
     4378# CDPATH.
     4379(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     4380
     4381
     4382# as_fn_error STATUS ERROR [LINENO LOG_FD]
     4383# ----------------------------------------
     4384# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     4385# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     4386# script with STATUS, using 1 if that was 0.
     4387as_fn_error ()
     4388{
     4389  as_status=$1; test $as_status -eq 0 && as_status=1
     4390  if test "$4"; then
     4391    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     4392    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    38904393  fi
    3891 done
    3892 
    3893 # Required to use basename.
    3894 if expr a : '\(a\)' >/dev/null 2>&1; then
     4394  $as_echo "$as_me: error: $2" >&2
     4395  as_fn_exit $as_status
     4396} # as_fn_error
     4397
     4398
     4399# as_fn_set_status STATUS
     4400# -----------------------
     4401# Set $? to STATUS, without forking.
     4402as_fn_set_status ()
     4403{
     4404  return $1
     4405} # as_fn_set_status
     4406
     4407# as_fn_exit STATUS
     4408# -----------------
     4409# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     4410as_fn_exit ()
     4411{
     4412  set +e
     4413  as_fn_set_status $1
     4414  exit $1
     4415} # as_fn_exit
     4416
     4417# as_fn_unset VAR
     4418# ---------------
     4419# Portably unset VAR.
     4420as_fn_unset ()
     4421{
     4422  { eval $1=; unset $1;}
     4423}
     4424as_unset=as_fn_unset
     4425# as_fn_append VAR VALUE
     4426# ----------------------
     4427# Append the text in VALUE to the end of the definition contained in VAR. Take
     4428# advantage of any shell optimizations that allow amortized linear growth over
     4429# repeated appends, instead of the typical quadratic growth present in naive
     4430# implementations.
     4431if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     4432  eval 'as_fn_append ()
     4433  {
     4434    eval $1+=\$2
     4435  }'
     4436else
     4437  as_fn_append ()
     4438  {
     4439    eval $1=\$$1\$2
     4440  }
     4441fi # as_fn_append
     4442
     4443# as_fn_arith ARG...
     4444# ------------------
     4445# Perform arithmetic evaluation on the ARGs, and store the result in the
     4446# global $as_val. Take advantage of shells that can avoid forks. The arguments
     4447# must be portable across $(()) and expr.
     4448if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     4449  eval 'as_fn_arith ()
     4450  {
     4451    as_val=$(( $* ))
     4452  }'
     4453else
     4454  as_fn_arith ()
     4455  {
     4456    as_val=`expr "$@" || test $? -eq 1`
     4457  }
     4458fi # as_fn_arith
     4459
     4460
     4461if expr a : '\(a\)' >/dev/null 2>&1 &&
     4462   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    38954463  as_expr=expr
    38964464else
     
    38984466fi
    38994467
    3900 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     4468if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    39014469  as_basename=basename
    39024470else
     
    39044472fi
    39054473
    3906 
    3907 # Name of the executable.
    3908 as_me=`$as_basename "$0" ||
     4474if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     4475  as_dirname=dirname
     4476else
     4477  as_dirname=false
     4478fi
     4479
     4480as_me=`$as_basename -- "$0" ||
    39094481$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    39104482     X"$0" : 'X\(//\)$' \| \
    3911      X"$0" : 'X\(/\)$' \| \
    3912      .     : '\(.\)' 2>/dev/null ||
    3913 echo X/"$0" |
    3914     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    3915       /^X\/\(\/\/\)$/{ s//\1/; q; }
    3916       /^X\/\(\/\).*/{ s//\1/; q; }
    3917       s/.*/./; q'`
    3918 
    3919 
    3920 # PATH needs CR, and LINENO needs CR and PATH.
     4483     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     4484$as_echo X/"$0" |
     4485    sed '/^.*\/\([^/][^/]*\)\/*$/{
     4486        s//\1/
     4487        q
     4488      }
     4489      /^X\/\(\/\/\)$/{
     4490        s//\1/
     4491        q
     4492      }
     4493      /^X\/\(\/\).*/{
     4494        s//\1/
     4495        q
     4496      }
     4497      s/.*/./; q'`
     4498
    39214499# Avoid depending upon Character Ranges.
    39224500as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    39264504as_cr_alnum=$as_cr_Letters$as_cr_digits
    39274505
    3928 # The user is always right.
    3929 if test "${PATH_SEPARATOR+set}" != set; then
    3930   echo "#! /bin/sh" >conf$$.sh
    3931   echo  "exit 0"   >>conf$$.sh
    3932   chmod +x conf$$.sh
    3933   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    3934     PATH_SEPARATOR=';'
     4506ECHO_C= ECHO_N= ECHO_T=
     4507case `echo -n x` in #(((((
     4508-n*)
     4509  case `echo 'xy\c'` in
     4510  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     4511  xy)  ECHO_C='\c';;
     4512  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     4513       ECHO_T=' ';;
     4514  esac;;
     4515*)
     4516  ECHO_N='-n';;
     4517esac
     4518
     4519rm -f conf$$ conf$$.exe conf$$.file
     4520if test -d conf$$.dir; then
     4521  rm -f conf$$.dir/conf$$.file
     4522else
     4523  rm -f conf$$.dir
     4524  mkdir conf$$.dir 2>/dev/null
     4525fi
     4526if (echo >conf$$.file) 2>/dev/null; then
     4527  if ln -s conf$$.file conf$$ 2>/dev/null; then
     4528    as_ln_s='ln -s'
     4529    # ... but there are two gotchas:
     4530    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     4531    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     4532    # In both cases, we have to default to `cp -pR'.
     4533    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     4534      as_ln_s='cp -pR'
     4535  elif ln conf$$.file conf$$ 2>/dev/null; then
     4536    as_ln_s=ln
    39354537  else
    3936     PATH_SEPARATOR=:
     4538    as_ln_s='cp -pR'
    39374539  fi
    3938   rm -f conf$$.sh
    3939 fi
    3940 
    3941 
    3942   as_lineno_1=$LINENO
    3943   as_lineno_2=$LINENO
    3944   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    3945   test "x$as_lineno_1" != "x$as_lineno_2" &&
    3946   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    3947   # Find who we are.  Look in the path if we contain no path at all
    3948   # relative or not.
    3949   case $0 in
    3950     *[\\/]* ) as_myself=$0 ;;
    3951     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3952 for as_dir in $PATH
    3953 do
    3954   IFS=$as_save_IFS
    3955   test -z "$as_dir" && as_dir=.
    3956   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    3957 done
    3958 
    3959        ;;
     4540else
     4541  as_ln_s='cp -pR'
     4542fi
     4543rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     4544rmdir conf$$.dir 2>/dev/null
     4545
     4546
     4547# as_fn_mkdir_p
     4548# -------------
     4549# Create "$as_dir" as a directory, including parents if necessary.
     4550as_fn_mkdir_p ()
     4551{
     4552
     4553  case $as_dir in #(
     4554  -*) as_dir=./$as_dir;;
    39604555  esac
    3961   # We did not find ourselves, most probably we were run as `sh COMMAND'
    3962   # in which case we are not to be found in the path.
    3963   if test "x$as_myself" = x; then
    3964     as_myself=$0
    3965   fi
    3966   if test ! -f "$as_myself"; then
    3967     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    3968 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    3969    { (exit 1); exit 1; }; }
    3970   fi
    3971   case $CONFIG_SHELL in
    3972   '')
    3973     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3974 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    3975 do
    3976   IFS=$as_save_IFS
    3977   test -z "$as_dir" && as_dir=.
    3978   for as_base in sh bash ksh sh5; do
    3979      case $as_dir in
    3980      /*)
    3981        if ("$as_dir/$as_base" -c '
    3982   as_lineno_1=$LINENO
    3983   as_lineno_2=$LINENO
    3984   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    3985   test "x$as_lineno_1" != "x$as_lineno_2" &&
    3986   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    3987          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    3988          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    3989          CONFIG_SHELL=$as_dir/$as_base
    3990          export CONFIG_SHELL
    3991          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    3992        fi;;
    3993      esac
    3994        done
    3995 done
    3996 ;;
    3997   esac
    3998 
    3999   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    4000   # uniformly replaced by the line number.  The first 'sed' inserts a
    4001   # line-number line before each line; the second 'sed' does the real
    4002   # work.  The second script uses 'N' to pair each line-number line
    4003   # with the numbered line, and appends trailing '-' during
    4004   # substitution so that $LINENO is not a special case at line end.
    4005   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    4006   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    4007   sed '=' <$as_myself |
    4008     sed '
    4009       N
    4010       s,$,-,
    4011       : loop
    4012       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    4013       t loop
    4014       s,-$,,
    4015       s,^['$as_cr_digits']*\n,,
    4016     ' >$as_me.lineno &&
    4017   chmod +x $as_me.lineno ||
    4018     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    4019 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    4020    { (exit 1); exit 1; }; }
    4021 
    4022   # Don't try to exec as it changes $[0], causing all sort of problems
    4023   # (the dirname of $[0] is not the place where we might find the
    4024   # original and so on.  Autoconf is especially sensible to this).
    4025   . ./$as_me.lineno
    4026   # Exit status is that of the last command.
    4027   exit
    4028 }
    4029 
    4030 
    4031 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    4032   *c*,-n*) ECHO_N= ECHO_C='
    4033 ' ECHO_T='  ' ;;
    4034   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    4035   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    4036 esac
    4037 
    4038 if expr a : '\(a\)' >/dev/null 2>&1; then
    4039   as_expr=expr
    4040 else
    4041   as_expr=false
    4042 fi
    4043 
    4044 rm -f conf$$ conf$$.exe conf$$.file
    4045 echo >conf$$.file
    4046 if ln -s conf$$.file conf$$ 2>/dev/null; then
    4047   # We could just check for DJGPP; but this test a) works b) is more generic
    4048   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    4049   if test -f conf$$.exe; then
    4050     # Don't use ln at all; we don't have any links
    4051     as_ln_s='cp -p'
    4052   else
    4053     as_ln_s='ln -s'
    4054   fi
    4055 elif ln conf$$.file conf$$ 2>/dev/null; then
    4056   as_ln_s=ln
    4057 else
    4058   as_ln_s='cp -p'
    4059 fi
    4060 rm -f conf$$ conf$$.exe conf$$.file
    4061 
     4556  test -d "$as_dir" || eval $as_mkdir_p || {
     4557    as_dirs=
     4558    while :; do
     4559      case $as_dir in #(
     4560      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     4561      *) as_qdir=$as_dir;;
     4562      esac
     4563      as_dirs="'$as_qdir' $as_dirs"
     4564      as_dir=`$as_dirname -- "$as_dir" ||
     4565$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     4566     X"$as_dir" : 'X\(//\)[^/]' \| \
     4567     X"$as_dir" : 'X\(//\)$' \| \
     4568     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     4569$as_echo X"$as_dir" |
     4570    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     4571        s//\1/
     4572        q
     4573      }
     4574      /^X\(\/\/\)[^/].*/{
     4575        s//\1/
     4576        q
     4577      }
     4578      /^X\(\/\/\)$/{
     4579        s//\1/
     4580        q
     4581      }
     4582      /^X\(\/\).*/{
     4583        s//\1/
     4584        q
     4585      }
     4586      s/.*/./; q'`
     4587      test -d "$as_dir" && break
     4588    done
     4589    test -z "$as_dirs" || eval "mkdir $as_dirs"
     4590  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     4591
     4592
     4593} # as_fn_mkdir_p
    40624594if mkdir -p . 2>/dev/null; then
    4063   as_mkdir_p=:
     4595  as_mkdir_p='mkdir -p "$as_dir"'
    40644596else
    40654597  test -d ./-p && rmdir ./-p
     
    40674599fi
    40684600
    4069 as_executable_p="test -f"
     4601
     4602# as_fn_executable_p FILE
     4603# -----------------------
     4604# Test if FILE is an executable regular file.
     4605as_fn_executable_p ()
     4606{
     4607  test -f "$1" && test -x "$1"
     4608} # as_fn_executable_p
     4609as_test_x='test -x'
     4610as_executable_p=as_fn_executable_p
    40704611
    40714612# Sed expression to map a string onto a valid CPP name.
     
    40764617
    40774618
    4078 # IFS
    4079 # We need space, tab and new line, in precisely that order.
    4080 as_nl='
    4081 '
    4082 IFS="   $as_nl"
    4083 
    4084 # CDPATH.
    4085 $as_unset CDPATH
    4086 
    40874619exec 6>&1
    4088 
    4089 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     4620## ----------------------------------- ##
     4621## Main body of $CONFIG_STATUS script. ##
     4622## ----------------------------------- ##
     4623_ASEOF
     4624test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     4625
     4626cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4627# Save the log message, to keep $0 and so on meaningful, and to
    40904628# report actual input values of CONFIG_FILES etc. instead of their
    4091 # values after options handling.  Logging --version etc. is OK.
     4629# values after options handling.
     4630ac_log="
     4631This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
     4632generated by GNU Autoconf 2.69.  Invocation command line was
     4633
     4634  CONFIG_FILES    = $CONFIG_FILES
     4635  CONFIG_HEADERS  = $CONFIG_HEADERS
     4636  CONFIG_LINKS    = $CONFIG_LINKS
     4637  CONFIG_COMMANDS = $CONFIG_COMMANDS
     4638  $ $0 $@
     4639
     4640on `(hostname || uname -n) 2>/dev/null | sed 1q`
     4641"
     4642
     4643_ACEOF
     4644
     4645case $ac_config_files in *"
     4646"*) set x $ac_config_files; shift; ac_config_files=$*;;
     4647esac
     4648
     4649case $ac_config_headers in *"
     4650"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     4651esac
     4652
     4653
     4654cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4655# Files that config.status was made for.
     4656config_files="$ac_config_files"
     4657config_headers="$ac_config_headers"
     4658
     4659_ACEOF
     4660
     4661cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4662ac_cs_usage="\
     4663\`$as_me' instantiates files and other configuration actions
     4664from templates according to the current configuration.  Unless the files
     4665and actions are specified as TAGs, all are instantiated by default.
     4666
     4667Usage: $0 [OPTION]... [TAG]...
     4668
     4669  -h, --help       print this help, then exit
     4670  -V, --version    print version number and configuration settings, then exit
     4671      --config     print configuration, then exit
     4672  -q, --quiet, --silent
     4673                   do not print progress messages
     4674  -d, --debug      don't remove temporary files
     4675      --recheck    update $as_me by reconfiguring in the same conditions
     4676      --file=FILE[:TEMPLATE]
     4677                   instantiate the configuration file FILE
     4678      --header=FILE[:TEMPLATE]
     4679                   instantiate the configuration header FILE
     4680
     4681Configuration files:
     4682$config_files
     4683
     4684Configuration headers:
     4685$config_headers
     4686
     4687Report bugs to <BUG-REPORT-ADDRESS>."
     4688
     4689_ACEOF
     4690cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4691ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     4692ac_cs_version="\\
     4693FULL-PACKAGE-NAME config.status VERSION
     4694configured by $0, generated by GNU Autoconf 2.69,
     4695  with options \\"\$ac_cs_config\\"
     4696
     4697Copyright (C) 2012 Free Software Foundation, Inc.
     4698This config.status script is free software; the Free Software Foundation
     4699gives unlimited permission to copy, distribute and modify it."
     4700
     4701ac_pwd='$ac_pwd'
     4702srcdir='$srcdir'
     4703INSTALL='$INSTALL'
     4704test -n "\$AWK" || AWK=awk
     4705_ACEOF
     4706
     4707cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4708# The default lists apply if the user does not specify any file.
     4709ac_need_defaults=:
     4710while test $# != 0
     4711do
     4712  case $1 in
     4713  --*=?*)
     4714    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     4715    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     4716    ac_shift=:
     4717    ;;
     4718  --*=)
     4719    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     4720    ac_optarg=
     4721    ac_shift=:
     4722    ;;
     4723  *)
     4724    ac_option=$1
     4725    ac_optarg=$2
     4726    ac_shift=shift
     4727    ;;
     4728  esac
     4729
     4730  case $ac_option in
     4731  # Handling of the options.
     4732  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     4733    ac_cs_recheck=: ;;
     4734  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     4735    $as_echo "$ac_cs_version"; exit ;;
     4736  --config | --confi | --conf | --con | --co | --c )
     4737    $as_echo "$ac_cs_config"; exit ;;
     4738  --debug | --debu | --deb | --de | --d | -d )
     4739    debug=: ;;
     4740  --file | --fil | --fi | --f )
     4741    $ac_shift
     4742    case $ac_optarg in
     4743    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     4744    '') as_fn_error $? "missing file argument" ;;
     4745    esac
     4746    as_fn_append CONFIG_FILES " '$ac_optarg'"
     4747    ac_need_defaults=false;;
     4748  --header | --heade | --head | --hea )
     4749    $ac_shift
     4750    case $ac_optarg in
     4751    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     4752    esac
     4753    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     4754    ac_need_defaults=false;;
     4755  --he | --h)
     4756    # Conflict between --help and --header
     4757    as_fn_error $? "ambiguous option: \`$1'
     4758Try \`$0 --help' for more information.";;
     4759  --help | --hel | -h )
     4760    $as_echo "$ac_cs_usage"; exit ;;
     4761  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     4762  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     4763    ac_cs_silent=: ;;
     4764
     4765  # This is an error.
     4766  -*) as_fn_error $? "unrecognized option: \`$1'
     4767Try \`$0 --help' for more information." ;;
     4768
     4769  *) as_fn_append ac_config_targets " $1"
     4770     ac_need_defaults=false ;;
     4771
     4772  esac
     4773  shift
     4774done
     4775
     4776ac_configure_extra_args=
     4777
     4778if $ac_cs_silent; then
     4779  exec 6>/dev/null
     4780  ac_configure_extra_args="$ac_configure_extra_args --silent"
     4781fi
     4782
     4783_ACEOF
     4784cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4785if \$ac_cs_recheck; then
     4786  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     4787  shift
     4788  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     4789  CONFIG_SHELL='$SHELL'
     4790  export CONFIG_SHELL
     4791  exec "\$@"
     4792fi
     4793
     4794_ACEOF
     4795cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    40924796exec 5>>config.log
    40934797{
     
    40964800## Running $as_me. ##
    40974801_ASBOX
     4802  $as_echo "$ac_log"
    40984803} >&5
    4099 cat >&5 <<_CSEOF
    4100 
    4101 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
    4102 generated by GNU Autoconf 2.59.  Invocation command line was
    4103 
    4104   CONFIG_FILES    = $CONFIG_FILES
    4105   CONFIG_HEADERS  = $CONFIG_HEADERS
    4106   CONFIG_LINKS    = $CONFIG_LINKS
    4107   CONFIG_COMMANDS = $CONFIG_COMMANDS
    4108   $ $0 $@
    4109 
    4110 _CSEOF
    4111 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    4112 echo >&5
    4113 _ACEOF
    4114 
    4115 # Files that config.status was made for.
    4116 if test -n "$ac_config_files"; then
    4117   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    4118 fi
    4119 
    4120 if test -n "$ac_config_headers"; then
    4121   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    4122 fi
    4123 
    4124 if test -n "$ac_config_links"; then
    4125   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    4126 fi
    4127 
    4128 if test -n "$ac_config_commands"; then
    4129   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    4130 fi
    4131 
    4132 cat >>$CONFIG_STATUS <<\_ACEOF
    4133 
    4134 ac_cs_usage="\
    4135 \`$as_me' instantiates files from templates according to the
    4136 current configuration.
    4137 
    4138 Usage: $0 [OPTIONS] [FILE]...
    4139 
    4140   -h, --help       print this help, then exit
    4141   -V, --version    print version number, then exit
    4142   -q, --quiet      do not print progress messages
    4143   -d, --debug      don't remove temporary files
    4144       --recheck    update $as_me by reconfiguring in the same conditions
    4145   --file=FILE[:TEMPLATE]
    4146            instantiate the configuration file FILE
    4147   --header=FILE[:TEMPLATE]
    4148            instantiate the configuration header FILE
    4149 
    4150 Configuration files:
    4151 $config_files
    4152 
    4153 Configuration headers:
    4154 $config_headers
    4155 
    4156 Report bugs to <[email protected]>."
    4157 _ACEOF
    4158 
    4159 cat >>$CONFIG_STATUS <<_ACEOF
    4160 ac_cs_version="\\
    4161 FULL-PACKAGE-NAME config.status VERSION
    4162 configured by $0, generated by GNU Autoconf 2.59,
    4163   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    4164 
    4165 Copyright (C) 2003 Free Software Foundation, Inc.
    4166 This config.status script is free software; the Free Software Foundation
    4167 gives unlimited permission to copy, distribute and modify it."
    4168 srcdir=$srcdir
    4169 INSTALL="$INSTALL"
    4170 _ACEOF
    4171 
    4172 cat >>$CONFIG_STATUS <<\_ACEOF
    4173 # If no file are specified by the user, then we need to provide default
    4174 # value.  By we need to know if files were specified by the user.
    4175 ac_need_defaults=:
    4176 while test $# != 0
    4177 do
    4178   case $1 in
    4179   --*=*)
    4180     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    4181     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    4182     ac_shift=:
    4183     ;;
    4184   -*)
    4185     ac_option=$1
    4186     ac_optarg=$2
    4187     ac_shift=shift
    4188     ;;
    4189   *) # This is not an option, so the user has probably given explicit
    4190      # arguments.
    4191      ac_option=$1
    4192      ac_need_defaults=false;;
    4193   esac
    4194 
    4195   case $ac_option in
    4196   # Handling of the options.
    4197 _ACEOF
    4198 cat >>$CONFIG_STATUS <<\_ACEOF
    4199   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    4200     ac_cs_recheck=: ;;
    4201   --version | --vers* | -V )
    4202     echo "$ac_cs_version"; exit 0 ;;
    4203   --he | --h)
    4204     # Conflict between --help and --header
    4205     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    4206 Try \`$0 --help' for more information." >&5
    4207 echo "$as_me: error: ambiguous option: $1
    4208 Try \`$0 --help' for more information." >&2;}
    4209    { (exit 1); exit 1; }; };;
    4210   --help | --hel | -h )
    4211     echo "$ac_cs_usage"; exit 0 ;;
    4212   --debug | --d* | -d )
    4213     debug=: ;;
    4214   --file | --fil | --fi | --f )
    4215     $ac_shift
    4216     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    4217     ac_need_defaults=false;;
    4218   --header | --heade | --head | --hea )
    4219     $ac_shift
    4220     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    4221     ac_need_defaults=false;;
    4222   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    4223   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    4224     ac_cs_silent=: ;;
    4225 
    4226   # This is an error.
    4227   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    4228 Try \`$0 --help' for more information." >&5
    4229 echo "$as_me: error: unrecognized option: $1
    4230 Try \`$0 --help' for more information." >&2;}
    4231    { (exit 1); exit 1; }; } ;;
    4232 
    4233   *) ac_config_targets="$ac_config_targets $1" ;;
    4234 
    4235   esac
    4236   shift
    4237 done
    4238 
    4239 ac_configure_extra_args=
    4240 
    4241 if $ac_cs_silent; then
    4242   exec 6>/dev/null
    4243   ac_configure_extra_args="$ac_configure_extra_args --silent"
    4244 fi
    4245 
    4246 _ACEOF
    4247 cat >>$CONFIG_STATUS <<_ACEOF
    4248 if \$ac_cs_recheck; then
    4249   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    4250   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    4251 fi
    4252 
    4253 _ACEOF
    4254 
    4255 
    4256 
    4257 
    4258 
    4259 cat >>$CONFIG_STATUS <<\_ACEOF
     4804
     4805_ACEOF
     4806cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4807_ACEOF
     4808
     4809cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4810
     4811# Handling of arguments.
    42604812for ac_config_target in $ac_config_targets
    42614813do
    4262   case "$ac_config_target" in
    4263   # Handling of arguments.
    4264   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    4265   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    4266   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    4267 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    4268    { (exit 1); exit 1; }; };;
     4814  case $ac_config_target in
     4815    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     4816    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     4817
     4818  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    42694819  esac
    42704820done
     4821
    42714822
    42724823# If the user did not use the arguments to specify the items to instantiate,
     
    42804831
    42814832# Have a temporary directory for convenience.  Make it in the build tree
    4282 # simply because there is no reason to put it here, and in addition,
     4833# simply because there is no reason against having it here, and in addition,
    42834834# creating and moving files from /tmp can sometimes cause problems.
    4284 # Create a temporary directory, and hook for its removal unless debugging.
     4835# Hook for its removal unless debugging.
     4836# Note that there is a small window in which the directory will not be cleaned:
     4837# after its creation but before its name has been assigned to `$tmp'.
    42854838$debug ||
    42864839{
    4287   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    4288   trap '{ (exit 1); exit 1; }' 1 2 13 15
     4840  tmp= ac_tmp=
     4841  trap 'exit_status=$?
     4842  : "${ac_tmp:=$tmp}"
     4843  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     4844' 0
     4845  trap 'as_fn_exit 1' 1 2 13 15
    42894846}
    4290 
    42914847# Create a (secure) tmp directory for tmp files.
    42924848
    42934849{
    4294   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    4295   test -n "$tmp" && test -d "$tmp"
     4850  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     4851  test -d "$tmp"
    42964852}  ||
    42974853{
    4298   tmp=./confstat$$-$RANDOM
    4299   (umask 077 && mkdir $tmp)
    4300 } ||
     4854  tmp=./conf$$-$RANDOM
     4855  (umask 077 && mkdir "$tmp")
     4856} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     4857ac_tmp=$tmp
     4858
     4859# Set up the scripts for CONFIG_FILES section.
     4860# No need to generate them if there are no CONFIG_FILES.
     4861# This happens for instance with `./config.status config.h'.
     4862if test -n "$CONFIG_FILES"; then
     4863
     4864
     4865ac_cr=`echo X | tr X '\015'`
     4866# On cygwin, bash can eat \r inside `` if the user requested igncr.
     4867# But we know of no other shell where ac_cr would be empty at this
     4868# point, so we can use a bashism as a fallback.
     4869if test "x$ac_cr" = x; then
     4870  eval ac_cr=\$\'\\r\'
     4871fi
     4872ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     4873if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     4874  ac_cs_awk_cr='\\r'
     4875else
     4876  ac_cs_awk_cr=$ac_cr
     4877fi
     4878
     4879echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     4880_ACEOF
     4881
     4882
    43014883{
    4302    echo "$me: cannot create a temporary directory in ." >&2
    4303    { (exit 1); exit 1; }
     4884  echo "cat >conf$$subs.awk <<_ACEOF" &&
     4885  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     4886  echo "_ACEOF"
     4887} >conf$$subs.sh ||
     4888  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     4889ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     4890ac_delim='%!_!# '
     4891for ac_last_try in false false false false false :; do
     4892  . ./conf$$subs.sh ||
     4893    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     4894
     4895  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     4896  if test $ac_delim_n = $ac_delim_num; then
     4897    break
     4898  elif $ac_last_try; then
     4899    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     4900  else
     4901    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     4902  fi
     4903done
     4904rm -f conf$$subs.sh
     4905
     4906cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4907cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     4908_ACEOF
     4909sed -n '
     4910h
     4911s/^/S["/; s/!.*/"]=/
     4912p
     4913g
     4914s/^[^!]*!//
     4915:repl
     4916t repl
     4917s/'"$ac_delim"'$//
     4918t delim
     4919:nl
     4920h
     4921s/\(.\{148\}\)..*/\1/
     4922t more1
     4923s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     4924p
     4925n
     4926b repl
     4927:more1
     4928s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     4929p
     4930g
     4931s/.\{148\}//
     4932t nl
     4933:delim
     4934h
     4935s/\(.\{148\}\)..*/\1/
     4936t more2
     4937s/["\\]/\\&/g; s/^/"/; s/$/"/
     4938p
     4939b
     4940:more2
     4941s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     4942p
     4943g
     4944s/.\{148\}//
     4945t delim
     4946' <conf$$subs.awk | sed '
     4947/^[^""]/{
     4948  N
     4949  s/\n//
    43044950}
    4305 
    4306 _ACEOF
    4307 
    4308 cat >>$CONFIG_STATUS <<_ACEOF
    4309 
    4310 #
    4311 # CONFIG_FILES section.
    4312 #
    4313 
    4314 # No need to generate the scripts if there are no CONFIG_FILES.
    4315 # This happens for instance when ./config.status config.h
    4316 if test -n "\$CONFIG_FILES"; then
    4317   # Protect against being on the right side of a sed subst in config.status.
    4318   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    4319    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    4320 s,@SHELL@,$SHELL,;t t
    4321 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    4322 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    4323 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    4324 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    4325 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    4326 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    4327 s,@exec_prefix@,$exec_prefix,;t t
    4328 s,@prefix@,$prefix,;t t
    4329 s,@program_transform_name@,$program_transform_name,;t t
    4330 s,@bindir@,$bindir,;t t
    4331 s,@sbindir@,$sbindir,;t t
    4332 s,@libexecdir@,$libexecdir,;t t
    4333 s,@datadir@,$datadir,;t t
    4334 s,@sysconfdir@,$sysconfdir,;t t
    4335 s,@sharedstatedir@,$sharedstatedir,;t t
    4336 s,@localstatedir@,$localstatedir,;t t
    4337 s,@libdir@,$libdir,;t t
    4338 s,@includedir@,$includedir,;t t
    4339 s,@oldincludedir@,$oldincludedir,;t t
    4340 s,@infodir@,$infodir,;t t
    4341 s,@mandir@,$mandir,;t t
    4342 s,@build_alias@,$build_alias,;t t
    4343 s,@host_alias@,$host_alias,;t t
    4344 s,@target_alias@,$target_alias,;t t
    4345 s,@DEFS@,$DEFS,;t t
    4346 s,@ECHO_C@,$ECHO_C,;t t
    4347 s,@ECHO_N@,$ECHO_N,;t t
    4348 s,@ECHO_T@,$ECHO_T,;t t
    4349 s,@LIBS@,$LIBS,;t t
    4350 s,@CXX@,$CXX,;t t
    4351 s,@CXXFLAGS@,$CXXFLAGS,;t t
    4352 s,@LDFLAGS@,$LDFLAGS,;t t
    4353 s,@CPPFLAGS@,$CPPFLAGS,;t t
    4354 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    4355 s,@EXEEXT@,$EXEEXT,;t t
    4356 s,@OBJEXT@,$OBJEXT,;t t
    4357 s,@CC@,$CC,;t t
    4358 s,@CFLAGS@,$CFLAGS,;t t
    4359 s,@ac_ct_CC@,$ac_ct_CC,;t t
    4360 s,@CPP@,$CPP,;t t
    4361 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    4362 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    4363 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    4364 s,@EGREP@,$EGREP,;t t
    4365 s,@LIBOBJS@,$LIBOBJS,;t t
    4366 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    4367 CEOF
    4368 
    4369 _ACEOF
    4370 
    4371   cat >>$CONFIG_STATUS <<\_ACEOF
    4372   # Split the substitutions into bite-sized pieces for seds with
    4373   # small command number limits, like on Digital OSF/1 and HP-UX.
    4374   ac_max_sed_lines=48
    4375   ac_sed_frag=1 # Number of current file.
    4376   ac_beg=1 # First line for current file.
    4377   ac_end=$ac_max_sed_lines # Line after last line for current file.
    4378   ac_more_lines=:
    4379   ac_sed_cmds=
    4380   while $ac_more_lines; do
    4381     if test $ac_beg -gt 1; then
    4382       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    4383     else
    4384       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     4951' >>$CONFIG_STATUS || ac_write_fail=1
     4952rm -f conf$$subs.awk
     4953cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4954_ACAWK
     4955cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     4956  for (key in S) S_is_set[key] = 1
     4957  FS = ""
     4958
     4959}
     4960{
     4961  line = $ 0
     4962  nfields = split(line, field, "@")
     4963  substed = 0
     4964  len = length(field[1])
     4965  for (i = 2; i < nfields; i++) {
     4966    key = field[i]
     4967    keylen = length(key)
     4968    if (S_is_set[key]) {
     4969      value = S[key]
     4970      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     4971      len += length(value) + length(field[++i])
     4972      substed = 1
     4973    } else
     4974      len += 1 + keylen
     4975  }
     4976
     4977  print line
     4978}
     4979
     4980_ACAWK
     4981_ACEOF
     4982cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4983if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     4984  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     4985else
     4986  cat
     4987fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     4988  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     4989_ACEOF
     4990
     4991# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     4992# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     4993# trailing colons and then remove the whole line if VPATH becomes empty
     4994# (actually we leave an empty line to preserve line numbers).
     4995if test "x$srcdir" = x.; then
     4996  ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
     4997h
     4998s///
     4999s/^/:/
     5000s/[  ]*$/:/
     5001s/:\$(srcdir):/:/g
     5002s/:\${srcdir}:/:/g
     5003s/:@srcdir@:/:/g
     5004s/^:*//
     5005s/:*$//
     5006x
     5007s/\(=[   ]*\).*/\1/
     5008G
     5009s/\n//
     5010s/^[^=]*=[   ]*$//
     5011}'
     5012fi
     5013
     5014cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5015fi # test -n "$CONFIG_FILES"
     5016
     5017# Set up the scripts for CONFIG_HEADERS section.
     5018# No need to generate them if there are no CONFIG_HEADERS.
     5019# This happens for instance with `./config.status Makefile'.
     5020if test -n "$CONFIG_HEADERS"; then
     5021cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     5022BEGIN {
     5023_ACEOF
     5024
     5025# Transform confdefs.h into an awk script `defines.awk', embedded as
     5026# here-document in config.status, that substitutes the proper values into
     5027# config.h.in to produce config.h.
     5028
     5029# Create a delimiter string that does not exist in confdefs.h, to ease
     5030# handling of long lines.
     5031ac_delim='%!_!# '
     5032for ac_last_try in false false :; do
     5033  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     5034  if test -z "$ac_tt"; then
     5035    break
     5036  elif $ac_last_try; then
     5037    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     5038  else
     5039    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     5040  fi
     5041done
     5042
     5043# For the awk script, D is an array of macro values keyed by name,
     5044# likewise P contains macro parameters if any.  Preserve backslash
     5045# newline sequences.
     5046
     5047ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     5048sed -n '
     5049s/.\{148\}/&'"$ac_delim"'/g
     5050t rset
     5051:rset
     5052s/^[     ]*#[    ]*define[   ][  ]*/ /
     5053t def
     5054d
     5055:def
     5056s/\\$//
     5057t bsnl
     5058s/["\\]/\\&/g
     5059s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     5060D["\1"]=" \3"/p
     5061s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
     5062d
     5063:bsnl
     5064s/["\\]/\\&/g
     5065s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     5066D["\1"]=" \3\\\\\\n"\\/p
     5067t cont
     5068s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     5069t cont
     5070d
     5071:cont
     5072n
     5073s/.\{148\}/&'"$ac_delim"'/g
     5074t clear
     5075:clear
     5076s/\\$//
     5077t bsnlc
     5078s/["\\]/\\&/g; s/^/"/; s/$/"/p
     5079d
     5080:bsnlc
     5081s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     5082b cont
     5083' <confdefs.h | sed '
     5084s/'"$ac_delim"'/"\\\
     5085"/g' >>$CONFIG_STATUS || ac_write_fail=1
     5086
     5087cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5088  for (key in D) D_is_set[key] = 1
     5089  FS = ""
     5090}
     5091/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     5092  line = \$ 0
     5093  split(line, arg, " ")
     5094  if (arg[1] == "#") {
     5095    defundef = arg[2]
     5096    mac1 = arg[3]
     5097  } else {
     5098    defundef = substr(arg[1], 2)
     5099    mac1 = arg[2]
     5100  }
     5101  split(mac1, mac2, "(") #)
     5102  macro = mac2[1]
     5103  prefix = substr(line, 1, index(line, defundef) - 1)
     5104  if (D_is_set[macro]) {
     5105    # Preserve the white space surrounding the "#".
     5106    print prefix "define", macro P[macro] D[macro]
     5107    next
     5108  } else {
     5109    # Replace #undef with comments.  This is necessary, for example,
     5110    # in the case of _POSIX_SOURCE, which is predefined and required
     5111    # on some systems where configure will not decide to define it.
     5112    if (defundef == "undef") {
     5113      print "/*", prefix defundef, macro, "*/"
     5114      next
     5115    }
     5116  }
     5117}
     5118{ print }
     5119_ACAWK
     5120_ACEOF
     5121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5122  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     5123fi # test -n "$CONFIG_HEADERS"
     5124
     5125
     5126eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     5127shift
     5128for ac_tag
     5129do
     5130  case $ac_tag in
     5131  :[FHLC]) ac_mode=$ac_tag; continue;;
     5132  esac
     5133  case $ac_mode$ac_tag in
     5134  :[FHL]*:*);;
     5135  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     5136  :[FH]-) ac_tag=-:-;;
     5137  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     5138  esac
     5139  ac_save_IFS=$IFS
     5140  IFS=:
     5141  set x $ac_tag
     5142  IFS=$ac_save_IFS
     5143  shift
     5144  ac_file=$1
     5145  shift
     5146
     5147  case $ac_mode in
     5148  :L) ac_source=$1;;
     5149  :[FH])
     5150    ac_file_inputs=
     5151    for ac_f
     5152    do
     5153      case $ac_f in
     5154      -) ac_f="$ac_tmp/stdin";;
     5155      *) # Look for the file first in the build tree, then in the source tree
     5156     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     5157     # because $ac_f cannot contain `:'.
     5158     test -f "$ac_f" ||
     5159       case $ac_f in
     5160       [\\/$]*) false;;
     5161       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     5162       esac ||
     5163       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     5164      esac
     5165      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     5166      as_fn_append ac_file_inputs " '$ac_f'"
     5167    done
     5168
     5169    # Let's still pretend it is `configure' which instantiates (i.e., don't
     5170    # use $as_me), people would be surprised to read:
     5171    #    /* config.h.  Generated by config.status.  */
     5172    configure_input='Generated from '`
     5173      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     5174    `' by configure.'
     5175    if test x"$ac_file" != x-; then
     5176      configure_input="$ac_file.  $configure_input"
     5177      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     5178$as_echo "$as_me: creating $ac_file" >&6;}
    43855179    fi
    4386     if test ! -s $tmp/subs.frag; then
    4387       ac_more_lines=false
    4388     else
    4389       # The purpose of the label and of the branching condition is to
    4390       # speed up the sed processing (if there are no `@' at all, there
    4391       # is no need to browse any of the substitutions).
    4392       # These are the two extra sed commands mentioned above.
    4393       (echo ':t
    4394   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    4395       if test -z "$ac_sed_cmds"; then
    4396     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    4397       else
    4398     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    4399       fi
    4400       ac_sed_frag=`expr $ac_sed_frag + 1`
    4401       ac_beg=$ac_end
    4402       ac_end=`expr $ac_end + $ac_max_sed_lines`
    4403     fi
    4404   done
    4405   if test -z "$ac_sed_cmds"; then
    4406     ac_sed_cmds=cat
    4407   fi
    4408 fi # test -n "$CONFIG_FILES"
    4409 
    4410 _ACEOF
    4411 cat >>$CONFIG_STATUS <<\_ACEOF
    4412 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    4413   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    4414   case $ac_file in
    4415   - | *:- | *:-:* ) # input from stdin
    4416     cat >$tmp/stdin
    4417     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4418     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    4419   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4420     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    4421   * )   ac_file_in=$ac_file.in ;;
     5180    # Neutralize special characters interpreted by sed in replacement strings.
     5181    case $configure_input in #(
     5182    *\&* | *\|* | *\\* )
     5183       ac_sed_conf_input=`$as_echo "$configure_input" |
     5184       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     5185    *) ac_sed_conf_input=$configure_input;;
     5186    esac
     5187
     5188    case $ac_tag in
     5189    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     5190      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     5191    esac
     5192    ;;
    44225193  esac
    44235194
    4424   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    4425   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     5195  ac_dir=`$as_dirname -- "$ac_file" ||
    44265196$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    44275197     X"$ac_file" : 'X\(//\)[^/]' \| \
    44285198     X"$ac_file" : 'X\(//\)$' \| \
    4429      X"$ac_file" : 'X\(/\)' \| \
    4430      .     : '\(.\)' 2>/dev/null ||
    4431 echo X"$ac_file" |
    4432     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    4433       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    4434       /^X\(\/\/\)$/{ s//\1/; q; }
    4435       /^X\(\/\).*/{ s//\1/; q; }
    4436       s/.*/./; q'`
    4437   { if $as_mkdir_p; then
    4438     mkdir -p "$ac_dir"
    4439   else
    4440     as_dir="$ac_dir"
    4441     as_dirs=
    4442     while test ! -d "$as_dir"; do
    4443       as_dirs="$as_dir $as_dirs"
    4444       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    4445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    4446      X"$as_dir" : 'X\(//\)[^/]' \| \
    4447      X"$as_dir" : 'X\(//\)$' \| \
    4448      X"$as_dir" : 'X\(/\)' \| \
    4449      .     : '\(.\)' 2>/dev/null ||
    4450 echo X"$as_dir" |
    4451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    4452       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    4453       /^X\(\/\/\)$/{ s//\1/; q; }
    4454       /^X\(\/\).*/{ s//\1/; q; }
    4455       s/.*/./; q'`
    4456     done
    4457     test ! -n "$as_dirs" || mkdir $as_dirs
    4458   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    4459 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    4460    { (exit 1); exit 1; }; }; }
    4461 
     5199     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     5200$as_echo X"$ac_file" |
     5201    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     5202        s//\1/
     5203        q
     5204      }
     5205      /^X\(\/\/\)[^/].*/{
     5206        s//\1/
     5207        q
     5208      }
     5209      /^X\(\/\/\)$/{
     5210        s//\1/
     5211        q
     5212      }
     5213      /^X\(\/\).*/{
     5214        s//\1/
     5215        q
     5216      }
     5217      s/.*/./; q'`
     5218  as_dir="$ac_dir"; as_fn_mkdir_p
    44625219  ac_builddir=.
    44635220
    4464 if test "$ac_dir" != .; then
    4465   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    4466   # A "../" for each directory in $ac_dir_suffix.
    4467   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    4468 else
    4469   ac_dir_suffix= ac_top_builddir=
    4470 fi
     5221case "$ac_dir" in
     5222.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5223*)
     5224  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     5225  # A ".." for each directory in $ac_dir_suffix.
     5226  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     5227  case $ac_top_builddir_sub in
     5228  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5229  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     5230  esac ;;
     5231esac
     5232ac_abs_top_builddir=$ac_pwd
     5233ac_abs_builddir=$ac_pwd$ac_dir_suffix
     5234# for backward compatibility:
     5235ac_top_builddir=$ac_top_build_prefix
    44715236
    44725237case $srcdir in
    4473   .)  # No --srcdir option.  We are building in place.
     5238  .)  # We are building in place.
    44745239    ac_srcdir=.
    4475     if test -z "$ac_top_builddir"; then
    4476        ac_top_srcdir=.
    4477     else
    4478        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    4479     fi ;;
    4480   [\\/]* | ?:[\\/]* )  # Absolute path.
     5240    ac_top_srcdir=$ac_top_builddir_sub
     5241    ac_abs_top_srcdir=$ac_pwd ;;
     5242  [\\/]* | ?:[\\/]* )  # Absolute name.
    44815243    ac_srcdir=$srcdir$ac_dir_suffix;
    4482     ac_top_srcdir=$srcdir ;;
    4483   *) # Relative path.
    4484     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    4485     ac_top_srcdir=$ac_top_builddir$srcdir ;;
     5244    ac_top_srcdir=$srcdir
     5245    ac_abs_top_srcdir=$srcdir ;;
     5246  *) # Relative name.
     5247    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     5248    ac_top_srcdir=$ac_top_build_prefix$srcdir
     5249    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    44865250esac
    4487 
    4488 # Do not use `cd foo && pwd` to compute absolute paths, because
    4489 # the directories may not exist.
    4490 case `pwd` in
    4491 .) ac_abs_builddir="$ac_dir";;
    4492 *)
    4493   case "$ac_dir" in
    4494   .) ac_abs_builddir=`pwd`;;
    4495   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    4496   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    4497   esac;;
    4498 esac
    4499 case $ac_abs_builddir in
    4500 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    4501 *)
    4502   case ${ac_top_builddir}. in
    4503   .) ac_abs_top_builddir=$ac_abs_builddir;;
    4504   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    4505   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    4506   esac;;
    4507 esac
    4508 case $ac_abs_builddir in
    4509 .) ac_abs_srcdir=$ac_srcdir;;
    4510 *)
    4511   case $ac_srcdir in
    4512   .) ac_abs_srcdir=$ac_abs_builddir;;
    4513   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    4514   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    4515   esac;;
    4516 esac
    4517 case $ac_abs_builddir in
    4518 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    4519 *)
    4520   case $ac_top_srcdir in
    4521   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    4522   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    4523   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    4524   esac;;
    4525 esac
    4526 
     5251ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     5252
     5253
     5254  case $ac_mode in
     5255  :F)
     5256  #
     5257  # CONFIG_FILE
     5258  #
    45275259
    45285260  case $INSTALL in
    45295261  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    4530   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     5262  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    45315263  esac
    4532 
    4533   if test x"$ac_file" != x-; then
    4534     { echo "$as_me:$LINENO: creating $ac_file" >&5
    4535 echo "$as_me: creating $ac_file" >&6;}
    4536     rm -f "$ac_file"
    4537   fi
    4538   # Let's still pretend it is `configure' which instantiates (i.e., don't
    4539   # use $as_me), people would be surprised to read:
    4540   #    /* config.h.  Generated by config.status.  */
    4541   if test x"$ac_file" = x-; then
    4542     configure_input=
    4543   else
    4544     configure_input="$ac_file.  "
    4545   fi
    4546   configure_input=$configure_input"Generated from `echo $ac_file_in |
    4547                      sed 's,.*/,,'` by configure."
    4548 
    4549   # First look for the input files in the build tree, otherwise in the
    4550   # src tree.
    4551   ac_file_inputs=`IFS=:
    4552     for f in $ac_file_in; do
    4553       case $f in
    4554       -) echo $tmp/stdin ;;
    4555       [\\/$]*)
    4556      # Absolute (can't be DOS-style, as IFS=:)
    4557      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    4558 echo "$as_me: error: cannot find input file: $f" >&2;}
    4559    { (exit 1); exit 1; }; }
    4560      echo "$f";;
    4561       *) # Relative
    4562      if test -f "$f"; then
    4563        # Build tree
    4564        echo "$f"
    4565      elif test -f "$srcdir/$f"; then
    4566        # Source tree
    4567        echo "$srcdir/$f"
    4568      else
    4569        # /dev/null tree
    4570        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    4571 echo "$as_me: error: cannot find input file: $f" >&2;}
    4572    { (exit 1); exit 1; }; }
    4573      fi;;
    4574       esac
    4575     done` || { (exit 1); exit 1; }
    4576 _ACEOF
    4577 cat >>$CONFIG_STATUS <<_ACEOF
    4578   sed "$ac_vpsub
     5264_ACEOF
     5265
     5266cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5267# If the template does not know about datarootdir, expand it.
     5268# FIXME: This hack should be removed a few years after 2.60.
     5269ac_datarootdir_hack=; ac_datarootdir_seen=
     5270ac_sed_dataroot='
     5271/datarootdir/ {
     5272  p
     5273  q
     5274}
     5275/@datadir@/p
     5276/@docdir@/p
     5277/@infodir@/p
     5278/@localedir@/p
     5279/@mandir@/p'
     5280case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     5281*datarootdir*) ac_datarootdir_seen=yes;;
     5282*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     5283  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     5284$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     5285_ACEOF
     5286cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5287  ac_datarootdir_hack='
     5288  s&@datadir@&$datadir&g
     5289  s&@docdir@&$docdir&g
     5290  s&@infodir@&$infodir&g
     5291  s&@localedir@&$localedir&g
     5292  s&@mandir@&$mandir&g
     5293  s&\\\${datarootdir}&$datarootdir&g' ;;
     5294esac
     5295_ACEOF
     5296
     5297# Neutralize VPATH when `$srcdir' = `.'.
     5298# Shell code in configure.ac might set extrasub.
     5299# FIXME: do we really want to maintain this feature?
     5300cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5301ac_sed_extra="$ac_vpsub
    45795302$extrasub
    45805303_ACEOF
    4581 cat >>$CONFIG_STATUS <<\_ACEOF
     5304cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    45825305:t
    45835306/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    4584 s,@configure_input@,$configure_input,;t t
    4585 s,@srcdir@,$ac_srcdir,;t t
    4586 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    4587 s,@top_srcdir@,$ac_top_srcdir,;t t
    4588 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    4589 s,@builddir@,$ac_builddir,;t t
    4590 s,@abs_builddir@,$ac_abs_builddir,;t t
    4591 s,@top_builddir@,$ac_top_builddir,;t t
    4592 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    4593 s,@INSTALL@,$ac_INSTALL,;t t
    4594 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    4595   rm -f $tmp/stdin
     5307s|@configure_input@|$ac_sed_conf_input|;t t
     5308s&@top_builddir@&$ac_top_builddir_sub&;t t
     5309s&@top_build_prefix@&$ac_top_build_prefix&;t t
     5310s&@srcdir@&$ac_srcdir&;t t
     5311s&@abs_srcdir@&$ac_abs_srcdir&;t t
     5312s&@top_srcdir@&$ac_top_srcdir&;t t
     5313s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     5314s&@builddir@&$ac_builddir&;t t
     5315s&@abs_builddir@&$ac_abs_builddir&;t t
     5316s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     5317s&@INSTALL@&$ac_INSTALL&;t t
     5318$ac_datarootdir_hack
     5319"
     5320eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     5321  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5322
     5323test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     5324  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     5325  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     5326      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     5327  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5328which seems to be undefined.  Please make sure it is defined" >&5
     5329$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5330which seems to be undefined.  Please make sure it is defined" >&2;}
     5331
     5332  rm -f "$ac_tmp/stdin"
     5333  case $ac_file in
     5334  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     5335  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     5336  esac \
     5337  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5338 ;;
     5339  :H)
     5340  #
     5341  # CONFIG_HEADER
     5342  #
    45965343  if test x"$ac_file" != x-; then
    4597     mv $tmp/out $ac_file
    4598   else
    4599     cat $tmp/out
    4600     rm -f $tmp/out
    4601   fi
    4602 
    4603 done
    4604 _ACEOF
    4605 cat >>$CONFIG_STATUS <<\_ACEOF
    4606 
    4607 #
    4608 # CONFIG_HEADER section.
    4609 #
    4610 
    4611 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    4612 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    4613 #
    4614 # ac_d sets the value in "#define NAME VALUE" lines.
    4615 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    4616 ac_dB='[     ].*$,\1#\2'
    4617 ac_dC=' '
    4618 ac_dD=',;t'
    4619 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    4620 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    4621 ac_uB='$,\1#\2define\3'
    4622 ac_uC=' '
    4623 ac_uD=',;t'
    4624 
    4625 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    4626   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    4627   case $ac_file in
    4628   - | *:- | *:-:* ) # input from stdin
    4629     cat >$tmp/stdin
    4630     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4631     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    4632   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4633     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    4634   * )   ac_file_in=$ac_file.in ;;
    4635   esac
    4636 
    4637   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    4638 echo "$as_me: creating $ac_file" >&6;}
    4639 
    4640   # First look for the input files in the build tree, otherwise in the
    4641   # src tree.
    4642   ac_file_inputs=`IFS=:
    4643     for f in $ac_file_in; do
    4644       case $f in
    4645       -) echo $tmp/stdin ;;
    4646       [\\/$]*)
    4647      # Absolute (can't be DOS-style, as IFS=:)
    4648      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    4649 echo "$as_me: error: cannot find input file: $f" >&2;}
    4650    { (exit 1); exit 1; }; }
    4651      # Do quote $f, to prevent DOS paths from being IFS'd.
    4652      echo "$f";;
    4653       *) # Relative
    4654      if test -f "$f"; then
    4655        # Build tree
    4656        echo "$f"
    4657      elif test -f "$srcdir/$f"; then
    4658        # Source tree
    4659        echo "$srcdir/$f"
    4660      else
    4661        # /dev/null tree
    4662        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    4663 echo "$as_me: error: cannot find input file: $f" >&2;}
    4664    { (exit 1); exit 1; }; }
    4665      fi;;
    4666       esac
    4667     done` || { (exit 1); exit 1; }
    4668   # Remove the trailing spaces.
    4669   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    4670 
    4671 _ACEOF
    4672 
    4673 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    4674 # `conftest.undefs', that substitutes the proper values into
    4675 # config.h.in to produce config.h.  The first handles `#define'
    4676 # templates, and the second `#undef' templates.
    4677 # And first: Protect against being on the right side of a sed subst in
    4678 # config.status.  Protect against being in an unquoted here document
    4679 # in config.status.
    4680 rm -f conftest.defines conftest.undefs
    4681 # Using a here document instead of a string reduces the quoting nightmare.
    4682 # Putting comments in sed scripts is not portable.
    4683 #
    4684 # `end' is used to avoid that the second main sed command (meant for
    4685 # 0-ary CPP macros) applies to n-ary macro definitions.
    4686 # See the Autoconf documentation for `clear'.
    4687 cat >confdef2sed.sed <<\_ACEOF
    4688 s/[\\&,]/\\&/g
    4689 s,[\\$`],\\&,g
    4690 t clear
    4691 : clear
    4692 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    4693 t end
    4694 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    4695 : end
    4696 _ACEOF
    4697 # If some macros were called several times there might be several times
    4698 # the same #defines, which is useless.  Nevertheless, we may not want to
    4699 # sort them, since we want the *last* AC-DEFINE to be honored.
    4700 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    4701 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    4702 rm -f confdef2sed.sed
    4703 
    4704 # This sed command replaces #undef with comments.  This is necessary, for
    4705 # example, in the case of _POSIX_SOURCE, which is predefined and required
    4706 # on some systems where configure will not decide to define it.
    4707 cat >>conftest.undefs <<\_ACEOF
    4708 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    4709 _ACEOF
    4710 
    4711 # Break up conftest.defines because some shells have a limit on the size
    4712 # of here documents, and old seds have small limits too (100 cmds).
    4713 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    4714 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    4715 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    4716 echo '  :' >>$CONFIG_STATUS
    4717 rm -f conftest.tail
    4718 while grep . conftest.defines >/dev/null
    4719 do
    4720   # Write a limited-size here document to $tmp/defines.sed.
    4721   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    4722   # Speed up: don't consider the non `#define' lines.
    4723   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    4724   # Work around the forget-to-reset-the-flag bug.
    4725   echo 't clr' >>$CONFIG_STATUS
    4726   echo ': clr' >>$CONFIG_STATUS
    4727   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    4728   echo 'CEOF
    4729   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    4730   rm -f $tmp/in
    4731   mv $tmp/out $tmp/in
    4732 ' >>$CONFIG_STATUS
    4733   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    4734   rm -f conftest.defines
    4735   mv conftest.tail conftest.defines
    4736 done
    4737 rm -f conftest.defines
    4738 echo '  fi # grep' >>$CONFIG_STATUS
    4739 echo >>$CONFIG_STATUS
    4740 
    4741 # Break up conftest.undefs because some shells have a limit on the size
    4742 # of here documents, and old seds have small limits too (100 cmds).
    4743 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    4744 rm -f conftest.tail
    4745 while grep . conftest.undefs >/dev/null
    4746 do
    4747   # Write a limited-size here document to $tmp/undefs.sed.
    4748   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    4749   # Speed up: don't consider the non `#undef'
    4750   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    4751   # Work around the forget-to-reset-the-flag bug.
    4752   echo 't clr' >>$CONFIG_STATUS
    4753   echo ': clr' >>$CONFIG_STATUS
    4754   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    4755   echo 'CEOF
    4756   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    4757   rm -f $tmp/in
    4758   mv $tmp/out $tmp/in
    4759 ' >>$CONFIG_STATUS
    4760   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    4761   rm -f conftest.undefs
    4762   mv conftest.tail conftest.undefs
    4763 done
    4764 rm -f conftest.undefs
    4765 
    4766 cat >>$CONFIG_STATUS <<\_ACEOF
    4767   # Let's still pretend it is `configure' which instantiates (i.e., don't
    4768   # use $as_me), people would be surprised to read:
    4769   #    /* config.h.  Generated by config.status.  */
    4770   if test x"$ac_file" = x-; then
    4771     echo "/* Generated by configure.  */" >$tmp/config.h
    4772   else
    4773     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    4774   fi
    4775   cat $tmp/in >>$tmp/config.h
    4776   rm -f $tmp/in
    4777   if test x"$ac_file" != x-; then
    4778     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    4779       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    4780 echo "$as_me: $ac_file is unchanged" >&6;}
     5344    {
     5345      $as_echo "/* $configure_input  */" \
     5346      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     5347    } >"$ac_tmp/config.h" \
     5348      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5349    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     5350      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     5351$as_echo "$as_me: $ac_file is unchanged" >&6;}
    47815352    else
    4782       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    4783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    4784      X"$ac_file" : 'X\(//\)[^/]' \| \
    4785      X"$ac_file" : 'X\(//\)$' \| \
    4786      X"$ac_file" : 'X\(/\)' \| \
    4787      .     : '\(.\)' 2>/dev/null ||
    4788 echo X"$ac_file" |
    4789     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    4790       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    4791       /^X\(\/\/\)$/{ s//\1/; q; }
    4792       /^X\(\/\).*/{ s//\1/; q; }
    4793       s/.*/./; q'`
    4794       { if $as_mkdir_p; then
    4795     mkdir -p "$ac_dir"
    4796   else
    4797     as_dir="$ac_dir"
    4798     as_dirs=
    4799     while test ! -d "$as_dir"; do
    4800       as_dirs="$as_dir $as_dirs"
    4801       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    4802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    4803      X"$as_dir" : 'X\(//\)[^/]' \| \
    4804      X"$as_dir" : 'X\(//\)$' \| \
    4805      X"$as_dir" : 'X\(/\)' \| \
    4806      .     : '\(.\)' 2>/dev/null ||
    4807 echo X"$as_dir" |
    4808     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    4809       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    4810       /^X\(\/\/\)$/{ s//\1/; q; }
    4811       /^X\(\/\).*/{ s//\1/; q; }
    4812       s/.*/./; q'`
    4813     done
    4814     test ! -n "$as_dirs" || mkdir $as_dirs
    4815   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    4816 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    4817    { (exit 1); exit 1; }; }; }
    4818 
    4819       rm -f $ac_file
    4820       mv $tmp/config.h $ac_file
     5353      rm -f "$ac_file"
     5354      mv "$ac_tmp/config.h" "$ac_file" \
     5355    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    48215356    fi
    48225357  else
    4823     cat $tmp/config.h
    4824     rm -f $tmp/config.h
     5358    $as_echo "/* $configure_input  */" \
     5359      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     5360      || as_fn_error $? "could not create -" "$LINENO" 5
    48255361  fi
    4826 done
    4827 _ACEOF
    4828 
    4829 cat >>$CONFIG_STATUS <<\_ACEOF
    4830 
    4831 { (exit 0); exit 0; }
    4832 _ACEOF
    4833 chmod +x $CONFIG_STATUS
     5362 ;;
     5363
     5364
     5365  esac
     5366
     5367done # for ac_tag
     5368
     5369
     5370as_fn_exit 0
     5371_ACEOF
    48345372ac_clean_files=$ac_clean_files_save
     5373
     5374test $ac_write_fail = 0 ||
     5375  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    48355376
    48365377
     
    48535394  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    48545395  # would make configure fail if this is the last instruction.
    4855   $ac_cs_success || { (exit 1); exit 1; }
    4856 fi
    4857 
     5396  $ac_cs_success || as_fn_exit 1
     5397fi
     5398if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     5399  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     5400$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     5401fi
     5402
  • main/trunk/search4j/configure.ac

    r17496 r35457  
    1212AC_PROG_CPP
    1313AC_PROG_INSTALL
     14AC_PROG_JAVAC
    1415
    1516# Checks for libraries.
Note: See TracChangeset for help on using the changeset viewer.