"Fossies" - the Fresh Open Source Software Archive

Member "Plone-5.2.5-UnifiedInstaller-1.0/preflight" (13 Sep 2021, 148679 Bytes) of package /linux/www/Plone-5.2.5-UnifiedInstaller-1.0.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for FULL-PACKAGE-NAME VERSION.
    4 #
    5 # Report bugs to <BUG-REPORT-ADDRESS>.
    6 #
    7 #
    8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   10 # Foundation, Inc.
   11 #
   12 #
   13 # This configure script is free software; the Free Software Foundation
   14 # gives unlimited permission to copy, distribute and modify it.
   15 ## -------------------- ##
   16 ## M4sh Initialization. ##
   17 ## -------------------- ##
   18 
   19 # Be more Bourne compatible
   20 DUALCASE=1; export DUALCASE # for MKS sh
   21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   22   emulate sh
   23   NULLCMD=:
   24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   25   # is contrary to our usage.  Disable this feature.
   26   alias -g '${1+"$@"}'='"$@"'
   27   setopt NO_GLOB_SUBST
   28 else
   29   case `(set -o) 2>/dev/null` in #(
   30   *posix*) :
   31     set -o posix ;; #(
   32   *) :
   33      ;;
   34 esac
   35 fi
   36 
   37 
   38 as_nl='
   39 '
   40 export as_nl
   41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   45 # Prefer a ksh shell builtin over an external printf program on Solaris,
   46 # but without wasting forks for bash or zsh.
   47 if test -z "$BASH_VERSION$ZSH_VERSION" \
   48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   49   as_echo='print -r --'
   50   as_echo_n='print -rn --'
   51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   52   as_echo='printf %s\n'
   53   as_echo_n='printf %s'
   54 else
   55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   57     as_echo_n='/usr/ucb/echo -n'
   58   else
   59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   60     as_echo_n_body='eval
   61       arg=$1;
   62       case $arg in #(
   63       *"$as_nl"*)
   64     expr "X$arg" : "X\\(.*\\)$as_nl";
   65     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   66       esac;
   67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   68     '
   69     export as_echo_n_body
   70     as_echo_n='sh -c $as_echo_n_body as_echo'
   71   fi
   72   export as_echo_body
   73   as_echo='sh -c $as_echo_body as_echo'
   74 fi
   75 
   76 # The user is always right.
   77 if test "${PATH_SEPARATOR+set}" != set; then
   78   PATH_SEPARATOR=:
   79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   81       PATH_SEPARATOR=';'
   82   }
   83 fi
   84 
   85 
   86 # IFS
   87 # We need space, tab and new line, in precisely that order.  Quoting is
   88 # there to prevent editors from complaining about space-tab.
   89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   90 # splitting by setting IFS to empty value.)
   91 IFS=" ""    $as_nl"
   92 
   93 # Find who we are.  Look in the path if we contain no directory separator.
   94 as_myself=
   95 case $0 in #((
   96   *[\\/]* ) as_myself=$0 ;;
   97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   98 for as_dir in $PATH
   99 do
  100   IFS=$as_save_IFS
  101   test -z "$as_dir" && as_dir=.
  102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  103   done
  104 IFS=$as_save_IFS
  105 
  106      ;;
  107 esac
  108 # We did not find ourselves, most probably we were run as `sh COMMAND'
  109 # in which case we are not to be found in the path.
  110 if test "x$as_myself" = x; then
  111   as_myself=$0
  112 fi
  113 if test ! -f "$as_myself"; then
  114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  115   exit 1
  116 fi
  117 
  118 # Unset variables that we do not need and which cause bugs (e.g. in
  119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  120 # suppresses any "Segmentation fault" message there.  '((' could
  121 # trigger a bug in pdksh 5.2.14.
  122 for as_var in BASH_ENV ENV MAIL MAILPATH
  123 do eval test x\${$as_var+set} = xset \
  124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  125 done
  126 PS1='$ '
  127 PS2='> '
  128 PS4='+ '
  129 
  130 # NLS nuisances.
  131 LC_ALL=C
  132 export LC_ALL
  133 LANGUAGE=C
  134 export LANGUAGE
  135 
  136 # CDPATH.
  137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  138 
  139 if test "x$CONFIG_SHELL" = x; then
  140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  141   emulate sh
  142   NULLCMD=:
  143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  144   # is contrary to our usage.  Disable this feature.
  145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  146   setopt NO_GLOB_SUBST
  147 else
  148   case \`(set -o) 2>/dev/null\` in #(
  149   *posix*) :
  150     set -o posix ;; #(
  151   *) :
  152      ;;
  153 esac
  154 fi
  155 "
  156   as_required="as_fn_return () { (exit \$1); }
  157 as_fn_success () { as_fn_return 0; }
  158 as_fn_failure () { as_fn_return 1; }
  159 as_fn_ret_success () { return 0; }
  160 as_fn_ret_failure () { return 1; }
  161 
  162 exitcode=0
  163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  168 
  169 else
  170   exitcode=1; echo positional parameters were not saved.
  171 fi
  172 test x\$exitcode = x0 || exit 1"
  173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  177 test \$(( 1 + 1 )) = 2 || exit 1"
  178   if (eval "$as_required") 2>/dev/null; then :
  179   as_have_required=yes
  180 else
  181   as_have_required=no
  182 fi
  183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  184 
  185 else
  186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  187 as_found=false
  188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  189 do
  190   IFS=$as_save_IFS
  191   test -z "$as_dir" && as_dir=.
  192   as_found=:
  193   case $as_dir in #(
  194      /*)
  195        for as_base in sh bash ksh sh5; do
  196          # Try only shells that exist, to save several forks.
  197          as_shell=$as_dir/$as_base
  198          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  199             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  200   CONFIG_SHELL=$as_shell as_have_required=yes
  201            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  202   break 2
  203 fi
  204 fi
  205        done;;
  206        esac
  207   as_found=false
  208 done
  209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  210           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  211   CONFIG_SHELL=$SHELL as_have_required=yes
  212 fi; }
  213 IFS=$as_save_IFS
  214 
  215 
  216       if test "x$CONFIG_SHELL" != x; then :
  217   # We cannot yet assume a decent shell, so we have to provide a
  218     # neutralization value for shells without unset; and this also
  219     # works around shells that cannot unset nonexistent variables.
  220     # Preserve -v and -x to the replacement shell.
  221     BASH_ENV=/dev/null
  222     ENV=/dev/null
  223     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  224     export CONFIG_SHELL
  225     case $- in # ((((
  226       *v*x* | *x*v* ) as_opts=-vx ;;
  227       *v* ) as_opts=-v ;;
  228       *x* ) as_opts=-x ;;
  229       * ) as_opts= ;;
  230     esac
  231     exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  232 fi
  233 
  234     if test x$as_have_required = xno; then :
  235   $as_echo "$0: This script requires a shell more modern than all"
  236   $as_echo "$0: the shells that I found on your system."
  237   if test x${ZSH_VERSION+set} = xset ; then
  238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  240   else
  241     $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
  242 $0: about your system, including any error possibly output
  243 $0: before this message. Then install a modern shell, or
  244 $0: manually run the script under such a shell if you do
  245 $0: have one."
  246   fi
  247   exit 1
  248 fi
  249 fi
  250 fi
  251 SHELL=${CONFIG_SHELL-/bin/sh}
  252 export SHELL
  253 # Unset more variables known to interfere with behavior of common tools.
  254 CLICOLOR_FORCE= GREP_OPTIONS=
  255 unset CLICOLOR_FORCE GREP_OPTIONS
  256 
  257 ## --------------------- ##
  258 ## M4sh Shell Functions. ##
  259 ## --------------------- ##
  260 # as_fn_unset VAR
  261 # ---------------
  262 # Portably unset VAR.
  263 as_fn_unset ()
  264 {
  265   { eval $1=; unset $1;}
  266 }
  267 as_unset=as_fn_unset
  268 
  269 # as_fn_set_status STATUS
  270 # -----------------------
  271 # Set $? to STATUS, without forking.
  272 as_fn_set_status ()
  273 {
  274   return $1
  275 } # as_fn_set_status
  276 
  277 # as_fn_exit STATUS
  278 # -----------------
  279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  280 as_fn_exit ()
  281 {
  282   set +e
  283   as_fn_set_status $1
  284   exit $1
  285 } # as_fn_exit
  286 
  287 # as_fn_mkdir_p
  288 # -------------
  289 # Create "$as_dir" as a directory, including parents if necessary.
  290 as_fn_mkdir_p ()
  291 {
  292 
  293   case $as_dir in #(
  294   -*) as_dir=./$as_dir;;
  295   esac
  296   test -d "$as_dir" || eval $as_mkdir_p || {
  297     as_dirs=
  298     while :; do
  299       case $as_dir in #(
  300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  301       *) as_qdir=$as_dir;;
  302       esac
  303       as_dirs="'$as_qdir' $as_dirs"
  304       as_dir=`$as_dirname -- "$as_dir" ||
  305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  306      X"$as_dir" : 'X\(//\)[^/]' \| \
  307      X"$as_dir" : 'X\(//\)$' \| \
  308      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  309 $as_echo X"$as_dir" |
  310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  311         s//\1/
  312         q
  313       }
  314       /^X\(\/\/\)[^/].*/{
  315         s//\1/
  316         q
  317       }
  318       /^X\(\/\/\)$/{
  319         s//\1/
  320         q
  321       }
  322       /^X\(\/\).*/{
  323         s//\1/
  324         q
  325       }
  326       s/.*/./; q'`
  327       test -d "$as_dir" && break
  328     done
  329     test -z "$as_dirs" || eval "mkdir $as_dirs"
  330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  331 
  332 
  333 } # as_fn_mkdir_p
  334 # as_fn_append VAR VALUE
  335 # ----------------------
  336 # Append the text in VALUE to the end of the definition contained in VAR. Take
  337 # advantage of any shell optimizations that allow amortized linear growth over
  338 # repeated appends, instead of the typical quadratic growth present in naive
  339 # implementations.
  340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  341   eval 'as_fn_append ()
  342   {
  343     eval $1+=\$2
  344   }'
  345 else
  346   as_fn_append ()
  347   {
  348     eval $1=\$$1\$2
  349   }
  350 fi # as_fn_append
  351 
  352 # as_fn_arith ARG...
  353 # ------------------
  354 # Perform arithmetic evaluation on the ARGs, and store the result in the
  355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  356 # must be portable across $(()) and expr.
  357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  358   eval 'as_fn_arith ()
  359   {
  360     as_val=$(( $* ))
  361   }'
  362 else
  363   as_fn_arith ()
  364   {
  365     as_val=`expr "$@" || test $? -eq 1`
  366   }
  367 fi # as_fn_arith
  368 
  369 
  370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  371 # ----------------------------------------
  372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  374 # script with STATUS, using 1 if that was 0.
  375 as_fn_error ()
  376 {
  377   as_status=$1; test $as_status -eq 0 && as_status=1
  378   if test "$4"; then
  379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  381   fi
  382   $as_echo "$as_me: error: $2" >&2
  383   as_fn_exit $as_status
  384 } # as_fn_error
  385 
  386 if expr a : '\(a\)' >/dev/null 2>&1 &&
  387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  388   as_expr=expr
  389 else
  390   as_expr=false
  391 fi
  392 
  393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  394   as_basename=basename
  395 else
  396   as_basename=false
  397 fi
  398 
  399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  400   as_dirname=dirname
  401 else
  402   as_dirname=false
  403 fi
  404 
  405 as_me=`$as_basename -- "$0" ||
  406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  407      X"$0" : 'X\(//\)$' \| \
  408      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  409 $as_echo X/"$0" |
  410     sed '/^.*\/\([^/][^/]*\)\/*$/{
  411         s//\1/
  412         q
  413       }
  414       /^X\/\(\/\/\)$/{
  415         s//\1/
  416         q
  417       }
  418       /^X\/\(\/\).*/{
  419         s//\1/
  420         q
  421       }
  422       s/.*/./; q'`
  423 
  424 # Avoid depending upon Character Ranges.
  425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  428 as_cr_digits='0123456789'
  429 as_cr_alnum=$as_cr_Letters$as_cr_digits
  430 
  431 
  432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  437   sed -n '
  438     p
  439     /[$]LINENO/=
  440   ' <$as_myself |
  441     sed '
  442       s/[$]LINENO.*/&-/
  443       t lineno
  444       b
  445       :lineno
  446       N
  447       :loop
  448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  449       t loop
  450       s/-\n.*//
  451     ' >$as_me.lineno &&
  452   chmod +x "$as_me.lineno" ||
  453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  454 
  455   # Don't try to exec as it changes $[0], causing all sort of problems
  456   # (the dirname of $[0] is not the place where we might find the
  457   # original and so on.  Autoconf is especially sensitive to this).
  458   . "./$as_me.lineno"
  459   # Exit status is that of the last command.
  460   exit
  461 }
  462 
  463 ECHO_C= ECHO_N= ECHO_T=
  464 case `echo -n x` in #(((((
  465 -n*)
  466   case `echo 'xy\c'` in
  467   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  468   xy)  ECHO_C='\c';;
  469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  470        ECHO_T=' ';;
  471   esac;;
  472 *)
  473   ECHO_N='-n';;
  474 esac
  475 
  476 rm -f conf$$ conf$$.exe conf$$.file
  477 if test -d conf$$.dir; then
  478   rm -f conf$$.dir/conf$$.file
  479 else
  480   rm -f conf$$.dir
  481   mkdir conf$$.dir 2>/dev/null
  482 fi
  483 if (echo >conf$$.file) 2>/dev/null; then
  484   if ln -s conf$$.file conf$$ 2>/dev/null; then
  485     as_ln_s='ln -s'
  486     # ... but there are two gotchas:
  487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  489     # In both cases, we have to default to `cp -p'.
  490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  491       as_ln_s='cp -p'
  492   elif ln conf$$.file conf$$ 2>/dev/null; then
  493     as_ln_s=ln
  494   else
  495     as_ln_s='cp -p'
  496   fi
  497 else
  498   as_ln_s='cp -p'
  499 fi
  500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  501 rmdir conf$$.dir 2>/dev/null
  502 
  503 if mkdir -p . 2>/dev/null; then
  504   as_mkdir_p='mkdir -p "$as_dir"'
  505 else
  506   test -d ./-p && rmdir ./-p
  507   as_mkdir_p=false
  508 fi
  509 
  510 if test -x / >/dev/null 2>&1; then
  511   as_test_x='test -x'
  512 else
  513   if ls -dL / >/dev/null 2>&1; then
  514     as_ls_L_option=L
  515   else
  516     as_ls_L_option=
  517   fi
  518   as_test_x='
  519     eval sh -c '\''
  520       if test -d "$1"; then
  521     test -d "$1/.";
  522       else
  523     case $1 in #(
  524     -*)set "./$1";;
  525     esac;
  526     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  527     ???[sx]*):;;*)false;;esac;fi
  528     '\'' sh
  529   '
  530 fi
  531 as_executable_p=$as_test_x
  532 
  533 # Sed expression to map a string onto a valid CPP name.
  534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  535 
  536 # Sed expression to map a string onto a valid variable name.
  537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  538 
  539 
  540 test -n "$DJDIR" || exec 7<&0 </dev/null
  541 exec 6>&1
  542 
  543 # Name of the host.
  544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  545 # so uname gets run too.
  546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  547 
  548 #
  549 # Initializations.
  550 #
  551 ac_default_prefix=/usr/local
  552 ac_clean_files=
  553 ac_config_libobj_dir=.
  554 LIBOBJS=
  555 cross_compiling=no
  556 subdirs=
  557 MFLAGS=
  558 MAKEFLAGS=
  559 
  560 # Identity of this package.
  561 PACKAGE_NAME='FULL-PACKAGE-NAME'
  562 PACKAGE_TARNAME='full-package-name'
  563 PACKAGE_VERSION='VERSION'
  564 PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
  565 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
  566 PACKAGE_URL=''
  567 
  568 # Factoring default headers for most tests.
  569 ac_includes_default="\
  570 #include <stdio.h>
  571 #ifdef HAVE_SYS_TYPES_H
  572 # include <sys/types.h>
  573 #endif
  574 #ifdef HAVE_SYS_STAT_H
  575 # include <sys/stat.h>
  576 #endif
  577 #ifdef STDC_HEADERS
  578 # include <stdlib.h>
  579 # include <stddef.h>
  580 #else
  581 # ifdef HAVE_STDLIB_H
  582 #  include <stdlib.h>
  583 # endif
  584 #endif
  585 #ifdef HAVE_STRING_H
  586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  587 #  include <memory.h>
  588 # endif
  589 # include <string.h>
  590 #endif
  591 #ifdef HAVE_STRINGS_H
  592 # include <strings.h>
  593 #endif
  594 #ifdef HAVE_INTTYPES_H
  595 # include <inttypes.h>
  596 #endif
  597 #ifdef HAVE_STDINT_H
  598 # include <stdint.h>
  599 #endif
  600 #ifdef HAVE_UNISTD_H
  601 # include <unistd.h>
  602 #endif"
  603 
  604 ac_subst_vars='LTLIBOBJS
  605 LIBOBJS
  606 have_ssl
  607 have_libjpeg
  608 have_libz
  609 have_readline
  610 EGREP
  611 GREP
  612 have_ssl_h
  613 have_xslt_config
  614 have_xml2_config
  615 have_patch
  616 have_make
  617 have_gunzip
  618 have_tar
  619 have_bunzip2
  620 ac_ct_CXX
  621 CXXFLAGS
  622 CXX
  623 CPP
  624 OBJEXT
  625 EXEEXT
  626 ac_ct_CC
  627 CPPFLAGS
  628 LDFLAGS
  629 CFLAGS
  630 CC
  631 target_alias
  632 host_alias
  633 build_alias
  634 LIBS
  635 ECHO_T
  636 ECHO_N
  637 ECHO_C
  638 DEFS
  639 mandir
  640 localedir
  641 libdir
  642 psdir
  643 pdfdir
  644 dvidir
  645 htmldir
  646 infodir
  647 docdir
  648 oldincludedir
  649 includedir
  650 localstatedir
  651 sharedstatedir
  652 sysconfdir
  653 datadir
  654 datarootdir
  655 libexecdir
  656 sbindir
  657 bindir
  658 program_transform_name
  659 prefix
  660 exec_prefix
  661 PACKAGE_URL
  662 PACKAGE_BUGREPORT
  663 PACKAGE_STRING
  664 PACKAGE_VERSION
  665 PACKAGE_TARNAME
  666 PACKAGE_NAME
  667 PATH_SEPARATOR
  668 SHELL'
  669 ac_subst_files=''
  670 ac_user_opts='
  671 enable_option_checking
  672 '
  673       ac_precious_vars='build_alias
  674 host_alias
  675 target_alias
  676 CC
  677 CFLAGS
  678 LDFLAGS
  679 LIBS
  680 CPPFLAGS
  681 CPP
  682 CXX
  683 CXXFLAGS
  684 CCC'
  685 
  686 
  687 # Initialize some variables set by options.
  688 ac_init_help=
  689 ac_init_version=false
  690 ac_unrecognized_opts=
  691 ac_unrecognized_sep=
  692 # The variables have the same names as the options, with
  693 # dashes changed to underlines.
  694 cache_file=/dev/null
  695 exec_prefix=NONE
  696 no_create=
  697 no_recursion=
  698 prefix=NONE
  699 program_prefix=NONE
  700 program_suffix=NONE
  701 program_transform_name=s,x,x,
  702 silent=
  703 site=
  704 srcdir=
  705 verbose=
  706 x_includes=NONE
  707 x_libraries=NONE
  708 
  709 # Installation directory options.
  710 # These are left unexpanded so users can "make install exec_prefix=/foo"
  711 # and all the variables that are supposed to be based on exec_prefix
  712 # by default will actually change.
  713 # Use braces instead of parens because sh, perl, etc. also accept them.
  714 # (The list follows the same order as the GNU Coding Standards.)
  715 bindir='${exec_prefix}/bin'
  716 sbindir='${exec_prefix}/sbin'
  717 libexecdir='${exec_prefix}/libexec'
  718 datarootdir='${prefix}/share'
  719 datadir='${datarootdir}'
  720 sysconfdir='${prefix}/etc'
  721 sharedstatedir='${prefix}/com'
  722 localstatedir='${prefix}/var'
  723 includedir='${prefix}/include'
  724 oldincludedir='/usr/include'
  725 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  726 infodir='${datarootdir}/info'
  727 htmldir='${docdir}'
  728 dvidir='${docdir}'
  729 pdfdir='${docdir}'
  730 psdir='${docdir}'
  731 libdir='${exec_prefix}/lib'
  732 localedir='${datarootdir}/locale'
  733 mandir='${datarootdir}/man'
  734 
  735 ac_prev=
  736 ac_dashdash=
  737 for ac_option
  738 do
  739   # If the previous option needs an argument, assign it.
  740   if test -n "$ac_prev"; then
  741     eval $ac_prev=\$ac_option
  742     ac_prev=
  743     continue
  744   fi
  745 
  746   case $ac_option in
  747   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  748   *=)   ac_optarg= ;;
  749   *)    ac_optarg=yes ;;
  750   esac
  751 
  752   # Accept the important Cygnus configure options, so we can diagnose typos.
  753 
  754   case $ac_dashdash$ac_option in
  755   --)
  756     ac_dashdash=yes ;;
  757 
  758   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  759     ac_prev=bindir ;;
  760   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  761     bindir=$ac_optarg ;;
  762 
  763   -build | --build | --buil | --bui | --bu)
  764     ac_prev=build_alias ;;
  765   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  766     build_alias=$ac_optarg ;;
  767 
  768   -cache-file | --cache-file | --cache-fil | --cache-fi \
  769   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  770     ac_prev=cache_file ;;
  771   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  772   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  773     cache_file=$ac_optarg ;;
  774 
  775   --config-cache | -C)
  776     cache_file=config.cache ;;
  777 
  778   -datadir | --datadir | --datadi | --datad)
  779     ac_prev=datadir ;;
  780   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  781     datadir=$ac_optarg ;;
  782 
  783   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  784   | --dataroo | --dataro | --datar)
  785     ac_prev=datarootdir ;;
  786   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  787   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  788     datarootdir=$ac_optarg ;;
  789 
  790   -disable-* | --disable-*)
  791     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  792     # Reject names that are not valid shell variable names.
  793     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  794       as_fn_error $? "invalid feature name: $ac_useropt"
  795     ac_useropt_orig=$ac_useropt
  796     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  797     case $ac_user_opts in
  798       *"
  799 "enable_$ac_useropt"
  800 "*) ;;
  801       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  802      ac_unrecognized_sep=', ';;
  803     esac
  804     eval enable_$ac_useropt=no ;;
  805 
  806   -docdir | --docdir | --docdi | --doc | --do)
  807     ac_prev=docdir ;;
  808   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  809     docdir=$ac_optarg ;;
  810 
  811   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  812     ac_prev=dvidir ;;
  813   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  814     dvidir=$ac_optarg ;;
  815 
  816   -enable-* | --enable-*)
  817     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  818     # Reject names that are not valid shell variable names.
  819     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  820       as_fn_error $? "invalid feature name: $ac_useropt"
  821     ac_useropt_orig=$ac_useropt
  822     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  823     case $ac_user_opts in
  824       *"
  825 "enable_$ac_useropt"
  826 "*) ;;
  827       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  828      ac_unrecognized_sep=', ';;
  829     esac
  830     eval enable_$ac_useropt=\$ac_optarg ;;
  831 
  832   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  833   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  834   | --exec | --exe | --ex)
  835     ac_prev=exec_prefix ;;
  836   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  837   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  838   | --exec=* | --exe=* | --ex=*)
  839     exec_prefix=$ac_optarg ;;
  840 
  841   -gas | --gas | --ga | --g)
  842     # Obsolete; use --with-gas.
  843     with_gas=yes ;;
  844 
  845   -help | --help | --hel | --he | -h)
  846     ac_init_help=long ;;
  847   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  848     ac_init_help=recursive ;;
  849   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  850     ac_init_help=short ;;
  851 
  852   -host | --host | --hos | --ho)
  853     ac_prev=host_alias ;;
  854   -host=* | --host=* | --hos=* | --ho=*)
  855     host_alias=$ac_optarg ;;
  856 
  857   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  858     ac_prev=htmldir ;;
  859   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  860   | --ht=*)
  861     htmldir=$ac_optarg ;;
  862 
  863   -includedir | --includedir | --includedi | --included | --include \
  864   | --includ | --inclu | --incl | --inc)
  865     ac_prev=includedir ;;
  866   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  867   | --includ=* | --inclu=* | --incl=* | --inc=*)
  868     includedir=$ac_optarg ;;
  869 
  870   -infodir | --infodir | --infodi | --infod | --info | --inf)
  871     ac_prev=infodir ;;
  872   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  873     infodir=$ac_optarg ;;
  874 
  875   -libdir | --libdir | --libdi | --libd)
  876     ac_prev=libdir ;;
  877   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  878     libdir=$ac_optarg ;;
  879 
  880   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  881   | --libexe | --libex | --libe)
  882     ac_prev=libexecdir ;;
  883   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  884   | --libexe=* | --libex=* | --libe=*)
  885     libexecdir=$ac_optarg ;;
  886 
  887   -localedir | --localedir | --localedi | --localed | --locale)
  888     ac_prev=localedir ;;
  889   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  890     localedir=$ac_optarg ;;
  891 
  892   -localstatedir | --localstatedir | --localstatedi | --localstated \
  893   | --localstate | --localstat | --localsta | --localst | --locals)
  894     ac_prev=localstatedir ;;
  895   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  896   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  897     localstatedir=$ac_optarg ;;
  898 
  899   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  900     ac_prev=mandir ;;
  901   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  902     mandir=$ac_optarg ;;
  903 
  904   -nfp | --nfp | --nf)
  905     # Obsolete; use --without-fp.
  906     with_fp=no ;;
  907 
  908   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  909   | --no-cr | --no-c | -n)
  910     no_create=yes ;;
  911 
  912   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  913   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  914     no_recursion=yes ;;
  915 
  916   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  917   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  918   | --oldin | --oldi | --old | --ol | --o)
  919     ac_prev=oldincludedir ;;
  920   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  921   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  922   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  923     oldincludedir=$ac_optarg ;;
  924 
  925   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  926     ac_prev=prefix ;;
  927   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  928     prefix=$ac_optarg ;;
  929 
  930   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  931   | --program-pre | --program-pr | --program-p)
  932     ac_prev=program_prefix ;;
  933   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  934   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  935     program_prefix=$ac_optarg ;;
  936 
  937   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  938   | --program-suf | --program-su | --program-s)
  939     ac_prev=program_suffix ;;
  940   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  941   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  942     program_suffix=$ac_optarg ;;
  943 
  944   -program-transform-name | --program-transform-name \
  945   | --program-transform-nam | --program-transform-na \
  946   | --program-transform-n | --program-transform- \
  947   | --program-transform | --program-transfor \
  948   | --program-transfo | --program-transf \
  949   | --program-trans | --program-tran \
  950   | --progr-tra | --program-tr | --program-t)
  951     ac_prev=program_transform_name ;;
  952   -program-transform-name=* | --program-transform-name=* \
  953   | --program-transform-nam=* | --program-transform-na=* \
  954   | --program-transform-n=* | --program-transform-=* \
  955   | --program-transform=* | --program-transfor=* \
  956   | --program-transfo=* | --program-transf=* \
  957   | --program-trans=* | --program-tran=* \
  958   | --progr-tra=* | --program-tr=* | --program-t=*)
  959     program_transform_name=$ac_optarg ;;
  960 
  961   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  962     ac_prev=pdfdir ;;
  963   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  964     pdfdir=$ac_optarg ;;
  965 
  966   -psdir | --psdir | --psdi | --psd | --ps)
  967     ac_prev=psdir ;;
  968   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  969     psdir=$ac_optarg ;;
  970 
  971   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  972   | -silent | --silent | --silen | --sile | --sil)
  973     silent=yes ;;
  974 
  975   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  976     ac_prev=sbindir ;;
  977   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  978   | --sbi=* | --sb=*)
  979     sbindir=$ac_optarg ;;
  980 
  981   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  982   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  983   | --sharedst | --shareds | --shared | --share | --shar \
  984   | --sha | --sh)
  985     ac_prev=sharedstatedir ;;
  986   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  987   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  988   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  989   | --sha=* | --sh=*)
  990     sharedstatedir=$ac_optarg ;;
  991 
  992   -site | --site | --sit)
  993     ac_prev=site ;;
  994   -site=* | --site=* | --sit=*)
  995     site=$ac_optarg ;;
  996 
  997   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  998     ac_prev=srcdir ;;
  999   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1000     srcdir=$ac_optarg ;;
 1001 
 1002   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1003   | --syscon | --sysco | --sysc | --sys | --sy)
 1004     ac_prev=sysconfdir ;;
 1005   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1006   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1007     sysconfdir=$ac_optarg ;;
 1008 
 1009   -target | --target | --targe | --targ | --tar | --ta | --t)
 1010     ac_prev=target_alias ;;
 1011   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1012     target_alias=$ac_optarg ;;
 1013 
 1014   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1015     verbose=yes ;;
 1016 
 1017   -version | --version | --versio | --versi | --vers | -V)
 1018     ac_init_version=: ;;
 1019 
 1020   -with-* | --with-*)
 1021     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1022     # Reject names that are not valid shell variable names.
 1023     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1024       as_fn_error $? "invalid package name: $ac_useropt"
 1025     ac_useropt_orig=$ac_useropt
 1026     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1027     case $ac_user_opts in
 1028       *"
 1029 "with_$ac_useropt"
 1030 "*) ;;
 1031       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1032      ac_unrecognized_sep=', ';;
 1033     esac
 1034     eval with_$ac_useropt=\$ac_optarg ;;
 1035 
 1036   -without-* | --without-*)
 1037     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1038     # Reject names that are not valid shell variable names.
 1039     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1040       as_fn_error $? "invalid package name: $ac_useropt"
 1041     ac_useropt_orig=$ac_useropt
 1042     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1043     case $ac_user_opts in
 1044       *"
 1045 "with_$ac_useropt"
 1046 "*) ;;
 1047       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1048      ac_unrecognized_sep=', ';;
 1049     esac
 1050     eval with_$ac_useropt=no ;;
 1051 
 1052   --x)
 1053     # Obsolete; use --with-x.
 1054     with_x=yes ;;
 1055 
 1056   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1057   | --x-incl | --x-inc | --x-in | --x-i)
 1058     ac_prev=x_includes ;;
 1059   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1060   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1061     x_includes=$ac_optarg ;;
 1062 
 1063   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1064   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1065     ac_prev=x_libraries ;;
 1066   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1067   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1068     x_libraries=$ac_optarg ;;
 1069 
 1070   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1071 Try \`$0 --help' for more information"
 1072     ;;
 1073 
 1074   *=*)
 1075     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1076     # Reject names that are not valid shell variable names.
 1077     case $ac_envvar in #(
 1078       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1079       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1080     esac
 1081     eval $ac_envvar=\$ac_optarg
 1082     export $ac_envvar ;;
 1083 
 1084   *)
 1085     # FIXME: should be removed in autoconf 3.0.
 1086     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1087     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1088       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1089     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1090     ;;
 1091 
 1092   esac
 1093 done
 1094 
 1095 if test -n "$ac_prev"; then
 1096   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1097   as_fn_error $? "missing argument to $ac_option"
 1098 fi
 1099 
 1100 if test -n "$ac_unrecognized_opts"; then
 1101   case $enable_option_checking in
 1102     no) ;;
 1103     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1104     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1105   esac
 1106 fi
 1107 
 1108 # Check all directory arguments for consistency.
 1109 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1110         datadir sysconfdir sharedstatedir localstatedir includedir \
 1111         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1112         libdir localedir mandir
 1113 do
 1114   eval ac_val=\$$ac_var
 1115   # Remove trailing slashes.
 1116   case $ac_val in
 1117     */ )
 1118       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1119       eval $ac_var=\$ac_val;;
 1120   esac
 1121   # Be sure to have absolute directory names.
 1122   case $ac_val in
 1123     [\\/$]* | ?:[\\/]* )  continue;;
 1124     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1125   esac
 1126   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1127 done
 1128 
 1129 # There might be people who depend on the old broken behavior: `$host'
 1130 # used to hold the argument of --host etc.
 1131 # FIXME: To remove some day.
 1132 build=$build_alias
 1133 host=$host_alias
 1134 target=$target_alias
 1135 
 1136 # FIXME: To remove some day.
 1137 if test "x$host_alias" != x; then
 1138   if test "x$build_alias" = x; then
 1139     cross_compiling=maybe
 1140     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1141     If a cross compiler is detected then cross compile mode will be used" >&2
 1142   elif test "x$build_alias" != "x$host_alias"; then
 1143     cross_compiling=yes
 1144   fi
 1145 fi
 1146 
 1147 ac_tool_prefix=
 1148 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1149 
 1150 test "$silent" = yes && exec 6>/dev/null
 1151 
 1152 
 1153 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1154 ac_ls_di=`ls -di .` &&
 1155 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1156   as_fn_error $? "working directory cannot be determined"
 1157 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1158   as_fn_error $? "pwd does not report name of working directory"
 1159 
 1160 
 1161 # Find the source files, if location was not specified.
 1162 if test -z "$srcdir"; then
 1163   ac_srcdir_defaulted=yes
 1164   # Try the directory containing this script, then the parent directory.
 1165   ac_confdir=`$as_dirname -- "$as_myself" ||
 1166 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1167      X"$as_myself" : 'X\(//\)[^/]' \| \
 1168      X"$as_myself" : 'X\(//\)$' \| \
 1169      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1170 $as_echo X"$as_myself" |
 1171     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1172         s//\1/
 1173         q
 1174       }
 1175       /^X\(\/\/\)[^/].*/{
 1176         s//\1/
 1177         q
 1178       }
 1179       /^X\(\/\/\)$/{
 1180         s//\1/
 1181         q
 1182       }
 1183       /^X\(\/\).*/{
 1184         s//\1/
 1185         q
 1186       }
 1187       s/.*/./; q'`
 1188   srcdir=$ac_confdir
 1189   if test ! -r "$srcdir/$ac_unique_file"; then
 1190     srcdir=..
 1191   fi
 1192 else
 1193   ac_srcdir_defaulted=no
 1194 fi
 1195 if test ! -r "$srcdir/$ac_unique_file"; then
 1196   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1197   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1198 fi
 1199 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1200 ac_abs_confdir=`(
 1201     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1202     pwd)`
 1203 # When building in place, set srcdir=.
 1204 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1205   srcdir=.
 1206 fi
 1207 # Remove unnecessary trailing slashes from srcdir.
 1208 # Double slashes in file names in object file debugging info
 1209 # mess up M-x gdb in Emacs.
 1210 case $srcdir in
 1211 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1212 esac
 1213 for ac_var in $ac_precious_vars; do
 1214   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1215   eval ac_env_${ac_var}_value=\$${ac_var}
 1216   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1217   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1218 done
 1219 
 1220 #
 1221 # Report the --help message.
 1222 #
 1223 if test "$ac_init_help" = "long"; then
 1224   # Omit some internal or obsolete options to make the list less imposing.
 1225   # This message is too long to be a string in the A/UX 3.1 sh.
 1226   cat <<_ACEOF
 1227 \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
 1228 
 1229 Usage: $0 [OPTION]... [VAR=VALUE]...
 1230 
 1231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1232 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1233 
 1234 Defaults for the options are specified in brackets.
 1235 
 1236 Configuration:
 1237   -h, --help              display this help and exit
 1238       --help=short        display options specific to this package
 1239       --help=recursive    display the short help of all the included packages
 1240   -V, --version           display version information and exit
 1241   -q, --quiet, --silent   do not print \`checking ...' messages
 1242       --cache-file=FILE   cache test results in FILE [disabled]
 1243   -C, --config-cache      alias for \`--cache-file=config.cache'
 1244   -n, --no-create         do not create output files
 1245       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1246 
 1247 Installation directories:
 1248   --prefix=PREFIX         install architecture-independent files in PREFIX
 1249                           [$ac_default_prefix]
 1250   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1251                           [PREFIX]
 1252 
 1253 By default, \`make install' will install all the files in
 1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1256 for instance \`--prefix=\$HOME'.
 1257 
 1258 For better control, use the options below.
 1259 
 1260 Fine tuning of the installation directories:
 1261   --bindir=DIR            user executables [EPREFIX/bin]
 1262   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1263   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1264   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1265   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1266   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1267   --libdir=DIR            object code libraries [EPREFIX/lib]
 1268   --includedir=DIR        C header files [PREFIX/include]
 1269   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1270   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1271   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1272   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1273   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1274   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1275   --docdir=DIR            documentation root
 1276                           [DATAROOTDIR/doc/full-package-name]
 1277   --htmldir=DIR           html documentation [DOCDIR]
 1278   --dvidir=DIR            dvi documentation [DOCDIR]
 1279   --pdfdir=DIR            pdf documentation [DOCDIR]
 1280   --psdir=DIR             ps documentation [DOCDIR]
 1281 _ACEOF
 1282 
 1283   cat <<\_ACEOF
 1284 _ACEOF
 1285 fi
 1286 
 1287 if test -n "$ac_init_help"; then
 1288   case $ac_init_help in
 1289      short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
 1290    esac
 1291   cat <<\_ACEOF
 1292 
 1293 Some influential environment variables:
 1294   CC          C compiler command
 1295   CFLAGS      C compiler flags
 1296   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1297               nonstandard directory <lib dir>
 1298   LIBS        libraries to pass to the linker, e.g. -l<library>
 1299   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1300               you have headers in a nonstandard directory <include dir>
 1301   CPP         C preprocessor
 1302   CXX         C++ compiler command
 1303   CXXFLAGS    C++ compiler flags
 1304 
 1305 Use these variables to override the choices made by `configure' or to help
 1306 it to find libraries and programs with nonstandard names/locations.
 1307 
 1308 Report bugs to <BUG-REPORT-ADDRESS>.
 1309 _ACEOF
 1310 ac_status=$?
 1311 fi
 1312 
 1313 if test "$ac_init_help" = "recursive"; then
 1314   # If there are subdirs, report their specific --help.
 1315   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1316     test -d "$ac_dir" ||
 1317       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1318       continue
 1319     ac_builddir=.
 1320 
 1321 case "$ac_dir" in
 1322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1323 *)
 1324   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1325   # A ".." for each directory in $ac_dir_suffix.
 1326   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1327   case $ac_top_builddir_sub in
 1328   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1329   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1330   esac ;;
 1331 esac
 1332 ac_abs_top_builddir=$ac_pwd
 1333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1334 # for backward compatibility:
 1335 ac_top_builddir=$ac_top_build_prefix
 1336 
 1337 case $srcdir in
 1338   .)  # We are building in place.
 1339     ac_srcdir=.
 1340     ac_top_srcdir=$ac_top_builddir_sub
 1341     ac_abs_top_srcdir=$ac_pwd ;;
 1342   [\\/]* | ?:[\\/]* )  # Absolute name.
 1343     ac_srcdir=$srcdir$ac_dir_suffix;
 1344     ac_top_srcdir=$srcdir
 1345     ac_abs_top_srcdir=$srcdir ;;
 1346   *) # Relative name.
 1347     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1348     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1349     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1350 esac
 1351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1352 
 1353     cd "$ac_dir" || { ac_status=$?; continue; }
 1354     # Check for guested configure.
 1355     if test -f "$ac_srcdir/configure.gnu"; then
 1356       echo &&
 1357       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1358     elif test -f "$ac_srcdir/configure"; then
 1359       echo &&
 1360       $SHELL "$ac_srcdir/configure" --help=recursive
 1361     else
 1362       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1363     fi || ac_status=$?
 1364     cd "$ac_pwd" || { ac_status=$?; break; }
 1365   done
 1366 fi
 1367 
 1368 test -n "$ac_init_help" && exit $ac_status
 1369 if $ac_init_version; then
 1370   cat <<\_ACEOF
 1371 FULL-PACKAGE-NAME configure VERSION
 1372 generated by GNU Autoconf 2.68
 1373 
 1374 Copyright (C) 2010 Free Software Foundation, Inc.
 1375 This configure script is free software; the Free Software Foundation
 1376 gives unlimited permission to copy, distribute and modify it.
 1377 _ACEOF
 1378   exit
 1379 fi
 1380 
 1381 ## ------------------------ ##
 1382 ## Autoconf initialization. ##
 1383 ## ------------------------ ##
 1384 
 1385 # ac_fn_c_try_compile LINENO
 1386 # --------------------------
 1387 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1388 ac_fn_c_try_compile ()
 1389 {
 1390   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1391   rm -f conftest.$ac_objext
 1392   if { { ac_try="$ac_compile"
 1393 case "(($ac_try" in
 1394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1395   *) ac_try_echo=$ac_try;;
 1396 esac
 1397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1398 $as_echo "$ac_try_echo"; } >&5
 1399   (eval "$ac_compile") 2>conftest.err
 1400   ac_status=$?
 1401   if test -s conftest.err; then
 1402     grep -v '^ *+' conftest.err >conftest.er1
 1403     cat conftest.er1 >&5
 1404     mv -f conftest.er1 conftest.err
 1405   fi
 1406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1407   test $ac_status = 0; } && {
 1408      test -z "$ac_c_werror_flag" ||
 1409      test ! -s conftest.err
 1410        } && test -s conftest.$ac_objext; then :
 1411   ac_retval=0
 1412 else
 1413   $as_echo "$as_me: failed program was:" >&5
 1414 sed 's/^/| /' conftest.$ac_ext >&5
 1415 
 1416     ac_retval=1
 1417 fi
 1418   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1419   as_fn_set_status $ac_retval
 1420 
 1421 } # ac_fn_c_try_compile
 1422 
 1423 # ac_fn_c_try_cpp LINENO
 1424 # ----------------------
 1425 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1426 ac_fn_c_try_cpp ()
 1427 {
 1428   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1429   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1430 case "(($ac_try" in
 1431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1432   *) ac_try_echo=$ac_try;;
 1433 esac
 1434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1435 $as_echo "$ac_try_echo"; } >&5
 1436   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1437   ac_status=$?
 1438   if test -s conftest.err; then
 1439     grep -v '^ *+' conftest.err >conftest.er1
 1440     cat conftest.er1 >&5
 1441     mv -f conftest.er1 conftest.err
 1442   fi
 1443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1444   test $ac_status = 0; } > conftest.i && {
 1445      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1446      test ! -s conftest.err
 1447        }; then :
 1448   ac_retval=0
 1449 else
 1450   $as_echo "$as_me: failed program was:" >&5
 1451 sed 's/^/| /' conftest.$ac_ext >&5
 1452 
 1453     ac_retval=1
 1454 fi
 1455   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1456   as_fn_set_status $ac_retval
 1457 
 1458 } # ac_fn_c_try_cpp
 1459 
 1460 # ac_fn_cxx_try_compile LINENO
 1461 # ----------------------------
 1462 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1463 ac_fn_cxx_try_compile ()
 1464 {
 1465   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1466   rm -f conftest.$ac_objext
 1467   if { { ac_try="$ac_compile"
 1468 case "(($ac_try" in
 1469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1470   *) ac_try_echo=$ac_try;;
 1471 esac
 1472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1473 $as_echo "$ac_try_echo"; } >&5
 1474   (eval "$ac_compile") 2>conftest.err
 1475   ac_status=$?
 1476   if test -s conftest.err; then
 1477     grep -v '^ *+' conftest.err >conftest.er1
 1478     cat conftest.er1 >&5
 1479     mv -f conftest.er1 conftest.err
 1480   fi
 1481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1482   test $ac_status = 0; } && {
 1483      test -z "$ac_cxx_werror_flag" ||
 1484      test ! -s conftest.err
 1485        } && test -s conftest.$ac_objext; then :
 1486   ac_retval=0
 1487 else
 1488   $as_echo "$as_me: failed program was:" >&5
 1489 sed 's/^/| /' conftest.$ac_ext >&5
 1490 
 1491     ac_retval=1
 1492 fi
 1493   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1494   as_fn_set_status $ac_retval
 1495 
 1496 } # ac_fn_cxx_try_compile
 1497 
 1498 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1499 # -------------------------------------------------------
 1500 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1501 # the include files in INCLUDES and setting the cache variable VAR
 1502 # accordingly.
 1503 ac_fn_c_check_header_mongrel ()
 1504 {
 1505   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1506   if eval \${$3+:} false; then :
 1507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1508 $as_echo_n "checking for $2... " >&6; }
 1509 if eval \${$3+:} false; then :
 1510   $as_echo_n "(cached) " >&6
 1511 fi
 1512 eval ac_res=\$$3
 1513            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1514 $as_echo "$ac_res" >&6; }
 1515 else
 1516   # Is the header compilable?
 1517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1518 $as_echo_n "checking $2 usability... " >&6; }
 1519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1520 /* end confdefs.h.  */
 1521 $4
 1522 #include <$2>
 1523 _ACEOF
 1524 if ac_fn_c_try_compile "$LINENO"; then :
 1525   ac_header_compiler=yes
 1526 else
 1527   ac_header_compiler=no
 1528 fi
 1529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1531 $as_echo "$ac_header_compiler" >&6; }
 1532 
 1533 # Is the header present?
 1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1535 $as_echo_n "checking $2 presence... " >&6; }
 1536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1537 /* end confdefs.h.  */
 1538 #include <$2>
 1539 _ACEOF
 1540 if ac_fn_c_try_cpp "$LINENO"; then :
 1541   ac_header_preproc=yes
 1542 else
 1543   ac_header_preproc=no
 1544 fi
 1545 rm -f conftest.err conftest.i conftest.$ac_ext
 1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1547 $as_echo "$ac_header_preproc" >&6; }
 1548 
 1549 # So?  What about this header?
 1550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1551   yes:no: )
 1552     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1553 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1554     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1555 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1556     ;;
 1557   no:yes:* )
 1558     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1559 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1560     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1561 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1562     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1563 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1564     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1565 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1566     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1567 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1568 ( $as_echo "## --------------------------------- ##
 1569 ## Report this to BUG-REPORT-ADDRESS ##
 1570 ## --------------------------------- ##"
 1571      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1572     ;;
 1573 esac
 1574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1575 $as_echo_n "checking for $2... " >&6; }
 1576 if eval \${$3+:} false; then :
 1577   $as_echo_n "(cached) " >&6
 1578 else
 1579   eval "$3=\$ac_header_compiler"
 1580 fi
 1581 eval ac_res=\$$3
 1582            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1583 $as_echo "$ac_res" >&6; }
 1584 fi
 1585   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1586 
 1587 } # ac_fn_c_check_header_mongrel
 1588 
 1589 # ac_fn_c_try_run LINENO
 1590 # ----------------------
 1591 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1592 # that executables *can* be run.
 1593 ac_fn_c_try_run ()
 1594 {
 1595   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1596   if { { ac_try="$ac_link"
 1597 case "(($ac_try" in
 1598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1599   *) ac_try_echo=$ac_try;;
 1600 esac
 1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1602 $as_echo "$ac_try_echo"; } >&5
 1603   (eval "$ac_link") 2>&5
 1604   ac_status=$?
 1605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1606   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1607   { { case "(($ac_try" in
 1608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1609   *) ac_try_echo=$ac_try;;
 1610 esac
 1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1612 $as_echo "$ac_try_echo"; } >&5
 1613   (eval "$ac_try") 2>&5
 1614   ac_status=$?
 1615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1616   test $ac_status = 0; }; }; then :
 1617   ac_retval=0
 1618 else
 1619   $as_echo "$as_me: program exited with status $ac_status" >&5
 1620        $as_echo "$as_me: failed program was:" >&5
 1621 sed 's/^/| /' conftest.$ac_ext >&5
 1622 
 1623        ac_retval=$ac_status
 1624 fi
 1625   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1626   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1627   as_fn_set_status $ac_retval
 1628 
 1629 } # ac_fn_c_try_run
 1630 
 1631 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1632 # -------------------------------------------------------
 1633 # Tests whether HEADER exists and can be compiled using the include files in
 1634 # INCLUDES, setting the cache variable VAR accordingly.
 1635 ac_fn_c_check_header_compile ()
 1636 {
 1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1639 $as_echo_n "checking for $2... " >&6; }
 1640 if eval \${$3+:} false; then :
 1641   $as_echo_n "(cached) " >&6
 1642 else
 1643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1644 /* end confdefs.h.  */
 1645 $4
 1646 #include <$2>
 1647 _ACEOF
 1648 if ac_fn_c_try_compile "$LINENO"; then :
 1649   eval "$3=yes"
 1650 else
 1651   eval "$3=no"
 1652 fi
 1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1654 fi
 1655 eval ac_res=\$$3
 1656            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1657 $as_echo "$ac_res" >&6; }
 1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1659 
 1660 } # ac_fn_c_check_header_compile
 1661 
 1662 # ac_fn_c_try_link LINENO
 1663 # -----------------------
 1664 # Try to link conftest.$ac_ext, and return whether this succeeded.
 1665 ac_fn_c_try_link ()
 1666 {
 1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1668   rm -f conftest.$ac_objext conftest$ac_exeext
 1669   if { { ac_try="$ac_link"
 1670 case "(($ac_try" in
 1671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1672   *) ac_try_echo=$ac_try;;
 1673 esac
 1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1675 $as_echo "$ac_try_echo"; } >&5
 1676   (eval "$ac_link") 2>conftest.err
 1677   ac_status=$?
 1678   if test -s conftest.err; then
 1679     grep -v '^ *+' conftest.err >conftest.er1
 1680     cat conftest.er1 >&5
 1681     mv -f conftest.er1 conftest.err
 1682   fi
 1683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1684   test $ac_status = 0; } && {
 1685      test -z "$ac_c_werror_flag" ||
 1686      test ! -s conftest.err
 1687        } && test -s conftest$ac_exeext && {
 1688      test "$cross_compiling" = yes ||
 1689      $as_test_x conftest$ac_exeext
 1690        }; then :
 1691   ac_retval=0
 1692 else
 1693   $as_echo "$as_me: failed program was:" >&5
 1694 sed 's/^/| /' conftest.$ac_ext >&5
 1695 
 1696     ac_retval=1
 1697 fi
 1698   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1699   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1700   # interfere with the next link command; also delete a directory that is
 1701   # left behind by Apple's compiler.  We do this before executing the actions.
 1702   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1704   as_fn_set_status $ac_retval
 1705 
 1706 } # ac_fn_c_try_link
 1707 cat >config.log <<_ACEOF
 1708 This file contains any messages produced by compilers while
 1709 running configure, to aid debugging if configure makes a mistake.
 1710 
 1711 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
 1712 generated by GNU Autoconf 2.68.  Invocation command line was
 1713 
 1714   $ $0 $@
 1715 
 1716 _ACEOF
 1717 exec 5>>config.log
 1718 {
 1719 cat <<_ASUNAME
 1720 ## --------- ##
 1721 ## Platform. ##
 1722 ## --------- ##
 1723 
 1724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1729 
 1730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1731 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1732 
 1733 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1734 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1735 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1736 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1737 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1738 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1739 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1740 
 1741 _ASUNAME
 1742 
 1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1744 for as_dir in $PATH
 1745 do
 1746   IFS=$as_save_IFS
 1747   test -z "$as_dir" && as_dir=.
 1748     $as_echo "PATH: $as_dir"
 1749   done
 1750 IFS=$as_save_IFS
 1751 
 1752 } >&5
 1753 
 1754 cat >&5 <<_ACEOF
 1755 
 1756 
 1757 ## ----------- ##
 1758 ## Core tests. ##
 1759 ## ----------- ##
 1760 
 1761 _ACEOF
 1762 
 1763 
 1764 # Keep a trace of the command line.
 1765 # Strip out --no-create and --no-recursion so they do not pile up.
 1766 # Strip out --silent because we don't want to record it for future runs.
 1767 # Also quote any args containing shell meta-characters.
 1768 # Make two passes to allow for proper duplicate-argument suppression.
 1769 ac_configure_args=
 1770 ac_configure_args0=
 1771 ac_configure_args1=
 1772 ac_must_keep_next=false
 1773 for ac_pass in 1 2
 1774 do
 1775   for ac_arg
 1776   do
 1777     case $ac_arg in
 1778     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1779     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1780     | -silent | --silent | --silen | --sile | --sil)
 1781       continue ;;
 1782     *\'*)
 1783       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1784     esac
 1785     case $ac_pass in
 1786     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 1787     2)
 1788       as_fn_append ac_configure_args1 " '$ac_arg'"
 1789       if test $ac_must_keep_next = true; then
 1790     ac_must_keep_next=false # Got value, back to normal.
 1791       else
 1792     case $ac_arg in
 1793       *=* | --config-cache | -C | -disable-* | --disable-* \
 1794       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1795       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1796       | -with-* | --with-* | -without-* | --without-* | --x)
 1797         case "$ac_configure_args0 " in
 1798           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1799         esac
 1800         ;;
 1801       -* ) ac_must_keep_next=true ;;
 1802     esac
 1803       fi
 1804       as_fn_append ac_configure_args " '$ac_arg'"
 1805       ;;
 1806     esac
 1807   done
 1808 done
 1809 { ac_configure_args0=; unset ac_configure_args0;}
 1810 { ac_configure_args1=; unset ac_configure_args1;}
 1811 
 1812 # When interrupted or exit'd, cleanup temporary files, and complete
 1813 # config.log.  We remove comments because anyway the quotes in there
 1814 # would cause problems or look ugly.
 1815 # WARNING: Use '\'' to represent an apostrophe within the trap.
 1816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1817 trap 'exit_status=$?
 1818   # Save into config.log some information that might help in debugging.
 1819   {
 1820     echo
 1821 
 1822     $as_echo "## ---------------- ##
 1823 ## Cache variables. ##
 1824 ## ---------------- ##"
 1825     echo
 1826     # The following way of writing the cache mishandles newlines in values,
 1827 (
 1828   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1829     eval ac_val=\$$ac_var
 1830     case $ac_val in #(
 1831     *${as_nl}*)
 1832       case $ac_var in #(
 1833       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 1834 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 1835       esac
 1836       case $ac_var in #(
 1837       _ | IFS | as_nl) ;; #(
 1838       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 1839       *) { eval $ac_var=; unset $ac_var;} ;;
 1840       esac ;;
 1841     esac
 1842   done
 1843   (set) 2>&1 |
 1844     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1845     *${as_nl}ac_space=\ *)
 1846       sed -n \
 1847     "s/'\''/'\''\\\\'\'''\''/g;
 1848       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1849       ;; #(
 1850     *)
 1851       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1852       ;;
 1853     esac |
 1854     sort
 1855 )
 1856     echo
 1857 
 1858     $as_echo "## ----------------- ##
 1859 ## Output variables. ##
 1860 ## ----------------- ##"
 1861     echo
 1862     for ac_var in $ac_subst_vars
 1863     do
 1864       eval ac_val=\$$ac_var
 1865       case $ac_val in
 1866       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1867       esac
 1868       $as_echo "$ac_var='\''$ac_val'\''"
 1869     done | sort
 1870     echo
 1871 
 1872     if test -n "$ac_subst_files"; then
 1873       $as_echo "## ------------------- ##
 1874 ## File substitutions. ##
 1875 ## ------------------- ##"
 1876       echo
 1877       for ac_var in $ac_subst_files
 1878       do
 1879     eval ac_val=\$$ac_var
 1880     case $ac_val in
 1881     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1882     esac
 1883     $as_echo "$ac_var='\''$ac_val'\''"
 1884       done | sort
 1885       echo
 1886     fi
 1887 
 1888     if test -s confdefs.h; then
 1889       $as_echo "## ----------- ##
 1890 ## confdefs.h. ##
 1891 ## ----------- ##"
 1892       echo
 1893       cat confdefs.h
 1894       echo
 1895     fi
 1896     test "$ac_signal" != 0 &&
 1897       $as_echo "$as_me: caught signal $ac_signal"
 1898     $as_echo "$as_me: exit $exit_status"
 1899   } >&5
 1900   rm -f core *.core core.conftest.* &&
 1901     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1902     exit $exit_status
 1903 ' 0
 1904 for ac_signal in 1 2 13 15; do
 1905   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 1906 done
 1907 ac_signal=0
 1908 
 1909 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1910 rm -f -r conftest* confdefs.h
 1911 
 1912 $as_echo "/* confdefs.h */" > confdefs.h
 1913 
 1914 # Predefined preprocessor variables.
 1915 
 1916 cat >>confdefs.h <<_ACEOF
 1917 #define PACKAGE_NAME "$PACKAGE_NAME"
 1918 _ACEOF
 1919 
 1920 cat >>confdefs.h <<_ACEOF
 1921 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1922 _ACEOF
 1923 
 1924 cat >>confdefs.h <<_ACEOF
 1925 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1926 _ACEOF
 1927 
 1928 cat >>confdefs.h <<_ACEOF
 1929 #define PACKAGE_STRING "$PACKAGE_STRING"
 1930 _ACEOF
 1931 
 1932 cat >>confdefs.h <<_ACEOF
 1933 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1934 _ACEOF
 1935 
 1936 cat >>confdefs.h <<_ACEOF
 1937 #define PACKAGE_URL "$PACKAGE_URL"
 1938 _ACEOF
 1939 
 1940 
 1941 # Let the site file select an alternate cache file if it wants to.
 1942 # Prefer an explicitly selected file to automatically selected ones.
 1943 ac_site_file1=NONE
 1944 ac_site_file2=NONE
 1945 if test -n "$CONFIG_SITE"; then
 1946   # We do not want a PATH search for config.site.
 1947   case $CONFIG_SITE in #((
 1948     -*)  ac_site_file1=./$CONFIG_SITE;;
 1949     */*) ac_site_file1=$CONFIG_SITE;;
 1950     *)   ac_site_file1=./$CONFIG_SITE;;
 1951   esac
 1952 elif test "x$prefix" != xNONE; then
 1953   ac_site_file1=$prefix/share/config.site
 1954   ac_site_file2=$prefix/etc/config.site
 1955 else
 1956   ac_site_file1=$ac_default_prefix/share/config.site
 1957   ac_site_file2=$ac_default_prefix/etc/config.site
 1958 fi
 1959 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 1960 do
 1961   test "x$ac_site_file" = xNONE && continue
 1962   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 1963     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 1964 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 1965     sed 's/^/| /' "$ac_site_file" >&5
 1966     . "$ac_site_file" \
 1967       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1969 as_fn_error $? "failed to load site script $ac_site_file
 1970 See \`config.log' for more details" "$LINENO" 5; }
 1971   fi
 1972 done
 1973 
 1974 if test -r "$cache_file"; then
 1975   # Some versions of bash will fail to source /dev/null (special files
 1976   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 1977   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 1978     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 1979 $as_echo "$as_me: loading cache $cache_file" >&6;}
 1980     case $cache_file in
 1981       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1982       *)                      . "./$cache_file";;
 1983     esac
 1984   fi
 1985 else
 1986   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 1987 $as_echo "$as_me: creating cache $cache_file" >&6;}
 1988   >$cache_file
 1989 fi
 1990 
 1991 # Check that the precious variables saved in the cache have kept the same
 1992 # value.
 1993 ac_cache_corrupted=false
 1994 for ac_var in $ac_precious_vars; do
 1995   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1996   eval ac_new_set=\$ac_env_${ac_var}_set
 1997   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1998   eval ac_new_val=\$ac_env_${ac_var}_value
 1999   case $ac_old_set,$ac_new_set in
 2000     set,)
 2001       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2002 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2003       ac_cache_corrupted=: ;;
 2004     ,set)
 2005       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2006 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2007       ac_cache_corrupted=: ;;
 2008     ,);;
 2009     *)
 2010       if test "x$ac_old_val" != "x$ac_new_val"; then
 2011     # differences in whitespace do not lead to failure.
 2012     ac_old_val_w=`echo x $ac_old_val`
 2013     ac_new_val_w=`echo x $ac_new_val`
 2014     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2015       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2016 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2017       ac_cache_corrupted=:
 2018     else
 2019       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2020 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2021       eval $ac_var=\$ac_old_val
 2022     fi
 2023     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2024 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2025     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2026 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2027       fi;;
 2028   esac
 2029   # Pass precious variables to config.status.
 2030   if test "$ac_new_set" = set; then
 2031     case $ac_new_val in
 2032     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2033     *) ac_arg=$ac_var=$ac_new_val ;;
 2034     esac
 2035     case " $ac_configure_args " in
 2036       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2037       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2038     esac
 2039   fi
 2040 done
 2041 if $ac_cache_corrupted; then
 2042   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2044   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2045 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2046   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2047 fi
 2048 ## -------------------- ##
 2049 ## Main body of script. ##
 2050 ## -------------------- ##
 2051 
 2052 ac_ext=c
 2053 ac_cpp='$CPP $CPPFLAGS'
 2054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2057 
 2058 
 2059 # AC_CONFIG_SRCDIR([config.h.in])
 2060 # AC_CONFIG_HEADERS([config.h])
 2061 
 2062 # Checks for programs.
 2063 ac_ext=c
 2064 ac_cpp='$CPP $CPPFLAGS'
 2065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2068 if test -n "$ac_tool_prefix"; then
 2069   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2070 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2072 $as_echo_n "checking for $ac_word... " >&6; }
 2073 if ${ac_cv_prog_CC+:} false; then :
 2074   $as_echo_n "(cached) " >&6
 2075 else
 2076   if test -n "$CC"; then
 2077   ac_cv_prog_CC="$CC" # Let the user override the test.
 2078 else
 2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2080 for as_dir in $PATH
 2081 do
 2082   IFS=$as_save_IFS
 2083   test -z "$as_dir" && as_dir=.
 2084     for ac_exec_ext in '' $ac_executable_extensions; do
 2085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2086     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2088     break 2
 2089   fi
 2090 done
 2091   done
 2092 IFS=$as_save_IFS
 2093 
 2094 fi
 2095 fi
 2096 CC=$ac_cv_prog_CC
 2097 if test -n "$CC"; then
 2098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2099 $as_echo "$CC" >&6; }
 2100 else
 2101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2102 $as_echo "no" >&6; }
 2103 fi
 2104 
 2105 
 2106 fi
 2107 if test -z "$ac_cv_prog_CC"; then
 2108   ac_ct_CC=$CC
 2109   # Extract the first word of "gcc", so it can be a program name with args.
 2110 set dummy gcc; ac_word=$2
 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2112 $as_echo_n "checking for $ac_word... " >&6; }
 2113 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2114   $as_echo_n "(cached) " >&6
 2115 else
 2116   if test -n "$ac_ct_CC"; then
 2117   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2118 else
 2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2120 for as_dir in $PATH
 2121 do
 2122   IFS=$as_save_IFS
 2123   test -z "$as_dir" && as_dir=.
 2124     for ac_exec_ext in '' $ac_executable_extensions; do
 2125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2126     ac_cv_prog_ac_ct_CC="gcc"
 2127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2128     break 2
 2129   fi
 2130 done
 2131   done
 2132 IFS=$as_save_IFS
 2133 
 2134 fi
 2135 fi
 2136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2137 if test -n "$ac_ct_CC"; then
 2138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2139 $as_echo "$ac_ct_CC" >&6; }
 2140 else
 2141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2142 $as_echo "no" >&6; }
 2143 fi
 2144 
 2145   if test "x$ac_ct_CC" = x; then
 2146     CC=""
 2147   else
 2148     case $cross_compiling:$ac_tool_warned in
 2149 yes:)
 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2152 ac_tool_warned=yes ;;
 2153 esac
 2154     CC=$ac_ct_CC
 2155   fi
 2156 else
 2157   CC="$ac_cv_prog_CC"
 2158 fi
 2159 
 2160 if test -z "$CC"; then
 2161           if test -n "$ac_tool_prefix"; then
 2162     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2163 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2165 $as_echo_n "checking for $ac_word... " >&6; }
 2166 if ${ac_cv_prog_CC+:} false; then :
 2167   $as_echo_n "(cached) " >&6
 2168 else
 2169   if test -n "$CC"; then
 2170   ac_cv_prog_CC="$CC" # Let the user override the test.
 2171 else
 2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2173 for as_dir in $PATH
 2174 do
 2175   IFS=$as_save_IFS
 2176   test -z "$as_dir" && as_dir=.
 2177     for ac_exec_ext in '' $ac_executable_extensions; do
 2178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2179     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2181     break 2
 2182   fi
 2183 done
 2184   done
 2185 IFS=$as_save_IFS
 2186 
 2187 fi
 2188 fi
 2189 CC=$ac_cv_prog_CC
 2190 if test -n "$CC"; then
 2191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2192 $as_echo "$CC" >&6; }
 2193 else
 2194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2195 $as_echo "no" >&6; }
 2196 fi
 2197 
 2198 
 2199   fi
 2200 fi
 2201 if test -z "$CC"; then
 2202   # Extract the first word of "cc", so it can be a program name with args.
 2203 set dummy cc; ac_word=$2
 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2205 $as_echo_n "checking for $ac_word... " >&6; }
 2206 if ${ac_cv_prog_CC+:} false; then :
 2207   $as_echo_n "(cached) " >&6
 2208 else
 2209   if test -n "$CC"; then
 2210   ac_cv_prog_CC="$CC" # Let the user override the test.
 2211 else
 2212   ac_prog_rejected=no
 2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2214 for as_dir in $PATH
 2215 do
 2216   IFS=$as_save_IFS
 2217   test -z "$as_dir" && as_dir=.
 2218     for ac_exec_ext in '' $ac_executable_extensions; do
 2219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2220     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2221        ac_prog_rejected=yes
 2222        continue
 2223      fi
 2224     ac_cv_prog_CC="cc"
 2225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2226     break 2
 2227   fi
 2228 done
 2229   done
 2230 IFS=$as_save_IFS
 2231 
 2232 if test $ac_prog_rejected = yes; then
 2233   # We found a bogon in the path, so make sure we never use it.
 2234   set dummy $ac_cv_prog_CC
 2235   shift
 2236   if test $# != 0; then
 2237     # We chose a different compiler from the bogus one.
 2238     # However, it has the same basename, so the bogon will be chosen
 2239     # first if we set CC to just the basename; use the full file name.
 2240     shift
 2241     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2242   fi
 2243 fi
 2244 fi
 2245 fi
 2246 CC=$ac_cv_prog_CC
 2247 if test -n "$CC"; then
 2248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2249 $as_echo "$CC" >&6; }
 2250 else
 2251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2252 $as_echo "no" >&6; }
 2253 fi
 2254 
 2255 
 2256 fi
 2257 if test -z "$CC"; then
 2258   if test -n "$ac_tool_prefix"; then
 2259   for ac_prog in cl.exe
 2260   do
 2261     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2264 $as_echo_n "checking for $ac_word... " >&6; }
 2265 if ${ac_cv_prog_CC+:} false; then :
 2266   $as_echo_n "(cached) " >&6
 2267 else
 2268   if test -n "$CC"; then
 2269   ac_cv_prog_CC="$CC" # Let the user override the test.
 2270 else
 2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2272 for as_dir in $PATH
 2273 do
 2274   IFS=$as_save_IFS
 2275   test -z "$as_dir" && as_dir=.
 2276     for ac_exec_ext in '' $ac_executable_extensions; do
 2277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2278     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2280     break 2
 2281   fi
 2282 done
 2283   done
 2284 IFS=$as_save_IFS
 2285 
 2286 fi
 2287 fi
 2288 CC=$ac_cv_prog_CC
 2289 if test -n "$CC"; then
 2290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2291 $as_echo "$CC" >&6; }
 2292 else
 2293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2294 $as_echo "no" >&6; }
 2295 fi
 2296 
 2297 
 2298     test -n "$CC" && break
 2299   done
 2300 fi
 2301 if test -z "$CC"; then
 2302   ac_ct_CC=$CC
 2303   for ac_prog in cl.exe
 2304 do
 2305   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2306 set dummy $ac_prog; ac_word=$2
 2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2308 $as_echo_n "checking for $ac_word... " >&6; }
 2309 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2310   $as_echo_n "(cached) " >&6
 2311 else
 2312   if test -n "$ac_ct_CC"; then
 2313   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2314 else
 2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2316 for as_dir in $PATH
 2317 do
 2318   IFS=$as_save_IFS
 2319   test -z "$as_dir" && as_dir=.
 2320     for ac_exec_ext in '' $ac_executable_extensions; do
 2321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2322     ac_cv_prog_ac_ct_CC="$ac_prog"
 2323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2324     break 2
 2325   fi
 2326 done
 2327   done
 2328 IFS=$as_save_IFS
 2329 
 2330 fi
 2331 fi
 2332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2333 if test -n "$ac_ct_CC"; then
 2334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2335 $as_echo "$ac_ct_CC" >&6; }
 2336 else
 2337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2338 $as_echo "no" >&6; }
 2339 fi
 2340 
 2341 
 2342   test -n "$ac_ct_CC" && break
 2343 done
 2344 
 2345   if test "x$ac_ct_CC" = x; then
 2346     CC=""
 2347   else
 2348     case $cross_compiling:$ac_tool_warned in
 2349 yes:)
 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2352 ac_tool_warned=yes ;;
 2353 esac
 2354     CC=$ac_ct_CC
 2355   fi
 2356 fi
 2357 
 2358 fi
 2359 
 2360 
 2361 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2363 as_fn_error $? "no acceptable C compiler found in \$PATH
 2364 See \`config.log' for more details" "$LINENO" 5; }
 2365 
 2366 # Provide some information about the compiler.
 2367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 2368 set X $ac_compile
 2369 ac_compiler=$2
 2370 for ac_option in --version -v -V -qversion; do
 2371   { { ac_try="$ac_compiler $ac_option >&5"
 2372 case "(($ac_try" in
 2373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2374   *) ac_try_echo=$ac_try;;
 2375 esac
 2376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2377 $as_echo "$ac_try_echo"; } >&5
 2378   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 2379   ac_status=$?
 2380   if test -s conftest.err; then
 2381     sed '10a\
 2382 ... rest of stderr output deleted ...
 2383          10q' conftest.err >conftest.er1
 2384     cat conftest.er1 >&5
 2385   fi
 2386   rm -f conftest.er1 conftest.err
 2387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2388   test $ac_status = 0; }
 2389 done
 2390 
 2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2392 /* end confdefs.h.  */
 2393 
 2394 int
 2395 main ()
 2396 {
 2397 
 2398   ;
 2399   return 0;
 2400 }
 2401 _ACEOF
 2402 ac_clean_files_save=$ac_clean_files
 2403 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 2404 # Try to create an executable without -o first, disregard a.out.
 2405 # It will help us diagnose broken compilers, and finding out an intuition
 2406 # of exeext.
 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 2408 $as_echo_n "checking whether the C compiler works... " >&6; }
 2409 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2410 
 2411 # The possible output files:
 2412 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 2413 
 2414 ac_rmfiles=
 2415 for ac_file in $ac_files
 2416 do
 2417   case $ac_file in
 2418     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2419     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2420   esac
 2421 done
 2422 rm -f $ac_rmfiles
 2423 
 2424 if { { ac_try="$ac_link_default"
 2425 case "(($ac_try" in
 2426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2427   *) ac_try_echo=$ac_try;;
 2428 esac
 2429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2430 $as_echo "$ac_try_echo"; } >&5
 2431   (eval "$ac_link_default") 2>&5
 2432   ac_status=$?
 2433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2434   test $ac_status = 0; }; then :
 2435   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2436 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2437 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2438 # so that the user can short-circuit this test for compilers unknown to
 2439 # Autoconf.
 2440 for ac_file in $ac_files ''
 2441 do
 2442   test -f "$ac_file" || continue
 2443   case $ac_file in
 2444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 2445     ;;
 2446     [ab].out )
 2447     # We found the default executable, but exeext='' is most
 2448     # certainly right.
 2449     break;;
 2450     *.* )
 2451     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2452     then :; else
 2453        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2454     fi
 2455     # We set ac_cv_exeext here because the later test for it is not
 2456     # safe: cross compilers may not add the suffix if given an `-o'
 2457     # argument, so we may need to know it at that point already.
 2458     # Even if this section looks crufty: it has the advantage of
 2459     # actually working.
 2460     break;;
 2461     * )
 2462     break;;
 2463   esac
 2464 done
 2465 test "$ac_cv_exeext" = no && ac_cv_exeext=
 2466 
 2467 else
 2468   ac_file=''
 2469 fi
 2470 if test -z "$ac_file"; then :
 2471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2472 $as_echo "no" >&6; }
 2473 $as_echo "$as_me: failed program was:" >&5
 2474 sed 's/^/| /' conftest.$ac_ext >&5
 2475 
 2476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2478 as_fn_error 77 "C compiler cannot create executables
 2479 See \`config.log' for more details" "$LINENO" 5; }
 2480 else
 2481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2482 $as_echo "yes" >&6; }
 2483 fi
 2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 2485 $as_echo_n "checking for C compiler default output file name... " >&6; }
 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 2487 $as_echo "$ac_file" >&6; }
 2488 ac_exeext=$ac_cv_exeext
 2489 
 2490 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 2491 ac_clean_files=$ac_clean_files_save
 2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 2493 $as_echo_n "checking for suffix of executables... " >&6; }
 2494 if { { ac_try="$ac_link"
 2495 case "(($ac_try" in
 2496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2497   *) ac_try_echo=$ac_try;;
 2498 esac
 2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2500 $as_echo "$ac_try_echo"; } >&5
 2501   (eval "$ac_link") 2>&5
 2502   ac_status=$?
 2503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2504   test $ac_status = 0; }; then :
 2505   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2506 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2507 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2508 # `rm'.
 2509 for ac_file in conftest.exe conftest conftest.*; do
 2510   test -f "$ac_file" || continue
 2511   case $ac_file in
 2512     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2513     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2514       break;;
 2515     * ) break;;
 2516   esac
 2517 done
 2518 else
 2519   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2521 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 2522 See \`config.log' for more details" "$LINENO" 5; }
 2523 fi
 2524 rm -f conftest conftest$ac_cv_exeext
 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 2526 $as_echo "$ac_cv_exeext" >&6; }
 2527 
 2528 rm -f conftest.$ac_ext
 2529 EXEEXT=$ac_cv_exeext
 2530 ac_exeext=$EXEEXT
 2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2532 /* end confdefs.h.  */
 2533 #include <stdio.h>
 2534 int
 2535 main ()
 2536 {
 2537 FILE *f = fopen ("conftest.out", "w");
 2538  return ferror (f) || fclose (f) != 0;
 2539 
 2540   ;
 2541   return 0;
 2542 }
 2543 _ACEOF
 2544 ac_clean_files="$ac_clean_files conftest.out"
 2545 # Check that the compiler produces executables we can run.  If not, either
 2546 # the compiler is broken, or we cross compile.
 2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 2548 $as_echo_n "checking whether we are cross compiling... " >&6; }
 2549 if test "$cross_compiling" != yes; then
 2550   { { ac_try="$ac_link"
 2551 case "(($ac_try" in
 2552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2553   *) ac_try_echo=$ac_try;;
 2554 esac
 2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2556 $as_echo "$ac_try_echo"; } >&5
 2557   (eval "$ac_link") 2>&5
 2558   ac_status=$?
 2559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2560   test $ac_status = 0; }
 2561   if { ac_try='./conftest$ac_cv_exeext'
 2562   { { case "(($ac_try" in
 2563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2564   *) ac_try_echo=$ac_try;;
 2565 esac
 2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2567 $as_echo "$ac_try_echo"; } >&5
 2568   (eval "$ac_try") 2>&5
 2569   ac_status=$?
 2570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2571   test $ac_status = 0; }; }; then
 2572     cross_compiling=no
 2573   else
 2574     if test "$cross_compiling" = maybe; then
 2575     cross_compiling=yes
 2576     else
 2577     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2579 as_fn_error $? "cannot run C compiled programs.
 2580 If you meant to cross compile, use \`--host'.
 2581 See \`config.log' for more details" "$LINENO" 5; }
 2582     fi
 2583   fi
 2584 fi
 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 2586 $as_echo "$cross_compiling" >&6; }
 2587 
 2588 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 2589 ac_clean_files=$ac_clean_files_save
 2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 2591 $as_echo_n "checking for suffix of object files... " >&6; }
 2592 if ${ac_cv_objext+:} false; then :
 2593   $as_echo_n "(cached) " >&6
 2594 else
 2595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2596 /* end confdefs.h.  */
 2597 
 2598 int
 2599 main ()
 2600 {
 2601 
 2602   ;
 2603   return 0;
 2604 }
 2605 _ACEOF
 2606 rm -f conftest.o conftest.obj
 2607 if { { ac_try="$ac_compile"
 2608 case "(($ac_try" in
 2609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2610   *) ac_try_echo=$ac_try;;
 2611 esac
 2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2613 $as_echo "$ac_try_echo"; } >&5
 2614   (eval "$ac_compile") 2>&5
 2615   ac_status=$?
 2616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2617   test $ac_status = 0; }; then :
 2618   for ac_file in conftest.o conftest.obj conftest.*; do
 2619   test -f "$ac_file" || continue;
 2620   case $ac_file in
 2621     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 2622     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2623        break;;
 2624   esac
 2625 done
 2626 else
 2627   $as_echo "$as_me: failed program was:" >&5
 2628 sed 's/^/| /' conftest.$ac_ext >&5
 2629 
 2630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2632 as_fn_error $? "cannot compute suffix of object files: cannot compile
 2633 See \`config.log' for more details" "$LINENO" 5; }
 2634 fi
 2635 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2636 fi
 2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 2638 $as_echo "$ac_cv_objext" >&6; }
 2639 OBJEXT=$ac_cv_objext
 2640 ac_objext=$OBJEXT
 2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 2642 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 2643 if ${ac_cv_c_compiler_gnu+:} false; then :
 2644   $as_echo_n "(cached) " >&6
 2645 else
 2646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2647 /* end confdefs.h.  */
 2648 
 2649 int
 2650 main ()
 2651 {
 2652 #ifndef __GNUC__
 2653        choke me
 2654 #endif
 2655 
 2656   ;
 2657   return 0;
 2658 }
 2659 _ACEOF
 2660 if ac_fn_c_try_compile "$LINENO"; then :
 2661   ac_compiler_gnu=yes
 2662 else
 2663   ac_compiler_gnu=no
 2664 fi
 2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2667 
 2668 fi
 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 2670 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 2671 if test $ac_compiler_gnu = yes; then
 2672   GCC=yes
 2673 else
 2674   GCC=
 2675 fi
 2676 ac_test_CFLAGS=${CFLAGS+set}
 2677 ac_save_CFLAGS=$CFLAGS
 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 2679 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 2680 if ${ac_cv_prog_cc_g+:} false; then :
 2681   $as_echo_n "(cached) " >&6
 2682 else
 2683   ac_save_c_werror_flag=$ac_c_werror_flag
 2684    ac_c_werror_flag=yes
 2685    ac_cv_prog_cc_g=no
 2686    CFLAGS="-g"
 2687    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2688 /* end confdefs.h.  */
 2689 
 2690 int
 2691 main ()
 2692 {
 2693 
 2694   ;
 2695   return 0;
 2696 }
 2697 _ACEOF
 2698 if ac_fn_c_try_compile "$LINENO"; then :
 2699   ac_cv_prog_cc_g=yes
 2700 else
 2701   CFLAGS=""
 2702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2703 /* end confdefs.h.  */
 2704 
 2705 int
 2706 main ()
 2707 {
 2708 
 2709   ;
 2710   return 0;
 2711 }
 2712 _ACEOF
 2713 if ac_fn_c_try_compile "$LINENO"; then :
 2714 
 2715 else
 2716   ac_c_werror_flag=$ac_save_c_werror_flag
 2717      CFLAGS="-g"
 2718      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2719 /* end confdefs.h.  */
 2720 
 2721 int
 2722 main ()
 2723 {
 2724 
 2725   ;
 2726   return 0;
 2727 }
 2728 _ACEOF
 2729 if ac_fn_c_try_compile "$LINENO"; then :
 2730   ac_cv_prog_cc_g=yes
 2731 fi
 2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2733 fi
 2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2735 fi
 2736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2737    ac_c_werror_flag=$ac_save_c_werror_flag
 2738 fi
 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 2740 $as_echo "$ac_cv_prog_cc_g" >&6; }
 2741 if test "$ac_test_CFLAGS" = set; then
 2742   CFLAGS=$ac_save_CFLAGS
 2743 elif test $ac_cv_prog_cc_g = yes; then
 2744   if test "$GCC" = yes; then
 2745     CFLAGS="-g -O2"
 2746   else
 2747     CFLAGS="-g"
 2748   fi
 2749 else
 2750   if test "$GCC" = yes; then
 2751     CFLAGS="-O2"
 2752   else
 2753     CFLAGS=
 2754   fi
 2755 fi
 2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 2757 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 2758 if ${ac_cv_prog_cc_c89+:} false; then :
 2759   $as_echo_n "(cached) " >&6
 2760 else
 2761   ac_cv_prog_cc_c89=no
 2762 ac_save_CC=$CC
 2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2764 /* end confdefs.h.  */
 2765 #include <stdarg.h>
 2766 #include <stdio.h>
 2767 #include <sys/types.h>
 2768 #include <sys/stat.h>
 2769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2770 struct buf { int x; };
 2771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2772 static char *e (p, i)
 2773      char **p;
 2774      int i;
 2775 {
 2776   return p[i];
 2777 }
 2778 static char *f (char * (*g) (char **, int), char **p, ...)
 2779 {
 2780   char *s;
 2781   va_list v;
 2782   va_start (v,p);
 2783   s = g (p, va_arg (v,int));
 2784   va_end (v);
 2785   return s;
 2786 }
 2787 
 2788 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2789    function prototypes and stuff, but not '\xHH' hex character constants.
 2790    These don't provoke an error unfortunately, instead are silently treated
 2791    as 'x'.  The following induces an error, until -std is added to get
 2792    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2793    array size at least.  It's necessary to write '\x00'==0 to get something
 2794    that's true only with -std.  */
 2795 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2796 
 2797 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 2798    inside strings and character constants.  */
 2799 #define FOO(x) 'x'
 2800 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 2801 
 2802 int test (int i, double x);
 2803 struct s1 {int (*f) (int a);};
 2804 struct s2 {int (*f) (double a);};
 2805 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2806 int argc;
 2807 char **argv;
 2808 int
 2809 main ()
 2810 {
 2811 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2812   ;
 2813   return 0;
 2814 }
 2815 _ACEOF
 2816 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 2817     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2818 do
 2819   CC="$ac_save_CC $ac_arg"
 2820   if ac_fn_c_try_compile "$LINENO"; then :
 2821   ac_cv_prog_cc_c89=$ac_arg
 2822 fi
 2823 rm -f core conftest.err conftest.$ac_objext
 2824   test "x$ac_cv_prog_cc_c89" != "xno" && break
 2825 done
 2826 rm -f conftest.$ac_ext
 2827 CC=$ac_save_CC
 2828 
 2829 fi
 2830 # AC_CACHE_VAL
 2831 case "x$ac_cv_prog_cc_c89" in
 2832   x)
 2833     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 2834 $as_echo "none needed" >&6; } ;;
 2835   xno)
 2836     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 2837 $as_echo "unsupported" >&6; } ;;
 2838   *)
 2839     CC="$CC $ac_cv_prog_cc_c89"
 2840     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 2841 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 2842 esac
 2843 if test "x$ac_cv_prog_cc_c89" != xno; then :
 2844 
 2845 fi
 2846 
 2847 ac_ext=c
 2848 ac_cpp='$CPP $CPPFLAGS'
 2849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2852 
 2853 ac_ext=c
 2854 ac_cpp='$CPP $CPPFLAGS'
 2855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 2859 $as_echo_n "checking how to run the C preprocessor... " >&6; }
 2860 # On Suns, sometimes $CPP names a directory.
 2861 if test -n "$CPP" && test -d "$CPP"; then
 2862   CPP=
 2863 fi
 2864 if test -z "$CPP"; then
 2865   if ${ac_cv_prog_CPP+:} false; then :
 2866   $as_echo_n "(cached) " >&6
 2867 else
 2868       # Double quotes because CPP needs to be expanded
 2869     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 2870     do
 2871       ac_preproc_ok=false
 2872 for ac_c_preproc_warn_flag in '' yes
 2873 do
 2874   # Use a header file that comes with gcc, so configuring glibc
 2875   # with a fresh cross-compiler works.
 2876   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2877   # <limits.h> exists even on freestanding compilers.
 2878   # On the NeXT, cc -E runs the code through the compiler's parser,
 2879   # not just through cpp. "Syntax error" is here to catch this case.
 2880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2881 /* end confdefs.h.  */
 2882 #ifdef __STDC__
 2883 # include <limits.h>
 2884 #else
 2885 # include <assert.h>
 2886 #endif
 2887              Syntax error
 2888 _ACEOF
 2889 if ac_fn_c_try_cpp "$LINENO"; then :
 2890 
 2891 else
 2892   # Broken: fails on valid input.
 2893 continue
 2894 fi
 2895 rm -f conftest.err conftest.i conftest.$ac_ext
 2896 
 2897   # OK, works on sane cases.  Now check whether nonexistent headers
 2898   # can be detected and how.
 2899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2900 /* end confdefs.h.  */
 2901 #include <ac_nonexistent.h>
 2902 _ACEOF
 2903 if ac_fn_c_try_cpp "$LINENO"; then :
 2904   # Broken: success on invalid input.
 2905 continue
 2906 else
 2907   # Passes both tests.
 2908 ac_preproc_ok=:
 2909 break
 2910 fi
 2911 rm -f conftest.err conftest.i conftest.$ac_ext
 2912 
 2913 done
 2914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 2915 rm -f conftest.i conftest.err conftest.$ac_ext
 2916 if $ac_preproc_ok; then :
 2917   break
 2918 fi
 2919 
 2920     done
 2921     ac_cv_prog_CPP=$CPP
 2922 
 2923 fi
 2924   CPP=$ac_cv_prog_CPP
 2925 else
 2926   ac_cv_prog_CPP=$CPP
 2927 fi
 2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 2929 $as_echo "$CPP" >&6; }
 2930 ac_preproc_ok=false
 2931 for ac_c_preproc_warn_flag in '' yes
 2932 do
 2933   # Use a header file that comes with gcc, so configuring glibc
 2934   # with a fresh cross-compiler works.
 2935   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2936   # <limits.h> exists even on freestanding compilers.
 2937   # On the NeXT, cc -E runs the code through the compiler's parser,
 2938   # not just through cpp. "Syntax error" is here to catch this case.
 2939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2940 /* end confdefs.h.  */
 2941 #ifdef __STDC__
 2942 # include <limits.h>
 2943 #else
 2944 # include <assert.h>
 2945 #endif
 2946              Syntax error
 2947 _ACEOF
 2948 if ac_fn_c_try_cpp "$LINENO"; then :
 2949 
 2950 else
 2951   # Broken: fails on valid input.
 2952 continue
 2953 fi
 2954 rm -f conftest.err conftest.i conftest.$ac_ext
 2955 
 2956   # OK, works on sane cases.  Now check whether nonexistent headers
 2957   # can be detected and how.
 2958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2959 /* end confdefs.h.  */
 2960 #include <ac_nonexistent.h>
 2961 _ACEOF
 2962 if ac_fn_c_try_cpp "$LINENO"; then :
 2963   # Broken: success on invalid input.
 2964 continue
 2965 else
 2966   # Passes both tests.
 2967 ac_preproc_ok=:
 2968 break
 2969 fi
 2970 rm -f conftest.err conftest.i conftest.$ac_ext
 2971 
 2972 done
 2973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 2974 rm -f conftest.i conftest.err conftest.$ac_ext
 2975 if $ac_preproc_ok; then :
 2976 
 2977 else
 2978   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2980 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 2981 See \`config.log' for more details" "$LINENO" 5; }
 2982 fi
 2983 
 2984 ac_ext=c
 2985 ac_cpp='$CPP $CPPFLAGS'
 2986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2989 
 2990 ac_ext=cpp
 2991 ac_cpp='$CXXCPP $CPPFLAGS'
 2992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 2995 if test -z "$CXX"; then
 2996   if test -n "$CCC"; then
 2997     CXX=$CCC
 2998   else
 2999     if test -n "$ac_tool_prefix"; then
 3000   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 3001   do
 3002     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3005 $as_echo_n "checking for $ac_word... " >&6; }
 3006 if ${ac_cv_prog_CXX+:} false; then :
 3007   $as_echo_n "(cached) " >&6
 3008 else
 3009   if test -n "$CXX"; then
 3010   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 3011 else
 3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3013 for as_dir in $PATH
 3014 do
 3015   IFS=$as_save_IFS
 3016   test -z "$as_dir" && as_dir=.
 3017     for ac_exec_ext in '' $ac_executable_extensions; do
 3018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3019     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 3020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3021     break 2
 3022   fi
 3023 done
 3024   done
 3025 IFS=$as_save_IFS
 3026 
 3027 fi
 3028 fi
 3029 CXX=$ac_cv_prog_CXX
 3030 if test -n "$CXX"; then
 3031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 3032 $as_echo "$CXX" >&6; }
 3033 else
 3034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3035 $as_echo "no" >&6; }
 3036 fi
 3037 
 3038 
 3039     test -n "$CXX" && break
 3040   done
 3041 fi
 3042 if test -z "$CXX"; then
 3043   ac_ct_CXX=$CXX
 3044   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 3045 do
 3046   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3047 set dummy $ac_prog; ac_word=$2
 3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3049 $as_echo_n "checking for $ac_word... " >&6; }
 3050 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 3051   $as_echo_n "(cached) " >&6
 3052 else
 3053   if test -n "$ac_ct_CXX"; then
 3054   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 3055 else
 3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3057 for as_dir in $PATH
 3058 do
 3059   IFS=$as_save_IFS
 3060   test -z "$as_dir" && as_dir=.
 3061     for ac_exec_ext in '' $ac_executable_extensions; do
 3062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3063     ac_cv_prog_ac_ct_CXX="$ac_prog"
 3064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3065     break 2
 3066   fi
 3067 done
 3068   done
 3069 IFS=$as_save_IFS
 3070 
 3071 fi
 3072 fi
 3073 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 3074 if test -n "$ac_ct_CXX"; then
 3075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 3076 $as_echo "$ac_ct_CXX" >&6; }
 3077 else
 3078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3079 $as_echo "no" >&6; }
 3080 fi
 3081 
 3082 
 3083   test -n "$ac_ct_CXX" && break
 3084 done
 3085 
 3086   if test "x$ac_ct_CXX" = x; then
 3087     CXX="g++"
 3088   else
 3089     case $cross_compiling:$ac_tool_warned in
 3090 yes:)
 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3093 ac_tool_warned=yes ;;
 3094 esac
 3095     CXX=$ac_ct_CXX
 3096   fi
 3097 fi
 3098 
 3099   fi
 3100 fi
 3101 # Provide some information about the compiler.
 3102 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 3103 set X $ac_compile
 3104 ac_compiler=$2
 3105 for ac_option in --version -v -V -qversion; do
 3106   { { ac_try="$ac_compiler $ac_option >&5"
 3107 case "(($ac_try" in
 3108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3109   *) ac_try_echo=$ac_try;;
 3110 esac
 3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3112 $as_echo "$ac_try_echo"; } >&5
 3113   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3114   ac_status=$?
 3115   if test -s conftest.err; then
 3116     sed '10a\
 3117 ... rest of stderr output deleted ...
 3118          10q' conftest.err >conftest.er1
 3119     cat conftest.er1 >&5
 3120   fi
 3121   rm -f conftest.er1 conftest.err
 3122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3123   test $ac_status = 0; }
 3124 done
 3125 
 3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 3127 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 3128 if ${ac_cv_cxx_compiler_gnu+:} false; then :
 3129   $as_echo_n "(cached) " >&6
 3130 else
 3131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3132 /* end confdefs.h.  */
 3133 
 3134 int
 3135 main ()
 3136 {
 3137 #ifndef __GNUC__
 3138        choke me
 3139 #endif
 3140 
 3141   ;
 3142   return 0;
 3143 }
 3144 _ACEOF
 3145 if ac_fn_cxx_try_compile "$LINENO"; then :
 3146   ac_compiler_gnu=yes
 3147 else
 3148   ac_compiler_gnu=no
 3149 fi
 3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3151 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 3152 
 3153 fi
 3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 3155 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 3156 if test $ac_compiler_gnu = yes; then
 3157   GXX=yes
 3158 else
 3159   GXX=
 3160 fi
 3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
 3162 ac_save_CXXFLAGS=$CXXFLAGS
 3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 3164 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 3165 if ${ac_cv_prog_cxx_g+:} false; then :
 3166   $as_echo_n "(cached) " >&6
 3167 else
 3168   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 3169    ac_cxx_werror_flag=yes
 3170    ac_cv_prog_cxx_g=no
 3171    CXXFLAGS="-g"
 3172    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3173 /* end confdefs.h.  */
 3174 
 3175 int
 3176 main ()
 3177 {
 3178 
 3179   ;
 3180   return 0;
 3181 }
 3182 _ACEOF
 3183 if ac_fn_cxx_try_compile "$LINENO"; then :
 3184   ac_cv_prog_cxx_g=yes
 3185 else
 3186   CXXFLAGS=""
 3187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3188 /* end confdefs.h.  */
 3189 
 3190 int
 3191 main ()
 3192 {
 3193 
 3194   ;
 3195   return 0;
 3196 }
 3197 _ACEOF
 3198 if ac_fn_cxx_try_compile "$LINENO"; then :
 3199 
 3200 else
 3201   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 3202      CXXFLAGS="-g"
 3203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3204 /* end confdefs.h.  */
 3205 
 3206 int
 3207 main ()
 3208 {
 3209 
 3210   ;
 3211   return 0;
 3212 }
 3213 _ACEOF
 3214 if ac_fn_cxx_try_compile "$LINENO"; then :
 3215   ac_cv_prog_cxx_g=yes
 3216 fi
 3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3218 fi
 3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3220 fi
 3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3222    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 3223 fi
 3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 3225 $as_echo "$ac_cv_prog_cxx_g" >&6; }
 3226 if test "$ac_test_CXXFLAGS" = set; then
 3227   CXXFLAGS=$ac_save_CXXFLAGS
 3228 elif test $ac_cv_prog_cxx_g = yes; then
 3229   if test "$GXX" = yes; then
 3230     CXXFLAGS="-g -O2"
 3231   else
 3232     CXXFLAGS="-g"
 3233   fi
 3234 else
 3235   if test "$GXX" = yes; then
 3236     CXXFLAGS="-O2"
 3237   else
 3238     CXXFLAGS=
 3239   fi
 3240 fi
 3241 ac_ext=c
 3242 ac_cpp='$CPP $CPPFLAGS'
 3243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3246 
 3247 
 3248 # Extract the first word of "bunzip2", so it can be a program name with args.
 3249 set dummy bunzip2; ac_word=$2
 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3251 $as_echo_n "checking for $ac_word... " >&6; }
 3252 if ${ac_cv_prog_have_bunzip2+:} false; then :
 3253   $as_echo_n "(cached) " >&6
 3254 else
 3255   if test -n "$have_bunzip2"; then
 3256   ac_cv_prog_have_bunzip2="$have_bunzip2" # Let the user override the test.
 3257 else
 3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3259 for as_dir in $PATH
 3260 do
 3261   IFS=$as_save_IFS
 3262   test -z "$as_dir" && as_dir=.
 3263     for ac_exec_ext in '' $ac_executable_extensions; do
 3264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3265     ac_cv_prog_have_bunzip2="yes"
 3266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3267     break 2
 3268   fi
 3269 done
 3270   done
 3271 IFS=$as_save_IFS
 3272 
 3273 fi
 3274 fi
 3275 have_bunzip2=$ac_cv_prog_have_bunzip2
 3276 if test -n "$have_bunzip2"; then
 3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_bunzip2" >&5
 3278 $as_echo "$have_bunzip2" >&6; }
 3279 else
 3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3281 $as_echo "no" >&6; }
 3282 fi
 3283 
 3284 
 3285 # Extract the first word of "tar", so it can be a program name with args.
 3286 set dummy tar; ac_word=$2
 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3288 $as_echo_n "checking for $ac_word... " >&6; }
 3289 if ${ac_cv_prog_have_tar+:} false; then :
 3290   $as_echo_n "(cached) " >&6
 3291 else
 3292   if test -n "$have_tar"; then
 3293   ac_cv_prog_have_tar="$have_tar" # Let the user override the test.
 3294 else
 3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3296 for as_dir in $PATH
 3297 do
 3298   IFS=$as_save_IFS
 3299   test -z "$as_dir" && as_dir=.
 3300     for ac_exec_ext in '' $ac_executable_extensions; do
 3301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3302     ac_cv_prog_have_tar="yes"
 3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3304     break 2
 3305   fi
 3306 done
 3307   done
 3308 IFS=$as_save_IFS
 3309 
 3310 fi
 3311 fi
 3312 have_tar=$ac_cv_prog_have_tar
 3313 if test -n "$have_tar"; then
 3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_tar" >&5
 3315 $as_echo "$have_tar" >&6; }
 3316 else
 3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3318 $as_echo "no" >&6; }
 3319 fi
 3320 
 3321 
 3322 # Extract the first word of "gunzip", so it can be a program name with args.
 3323 set dummy gunzip; ac_word=$2
 3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3325 $as_echo_n "checking for $ac_word... " >&6; }
 3326 if ${ac_cv_prog_have_gunzip+:} false; then :
 3327   $as_echo_n "(cached) " >&6
 3328 else
 3329   if test -n "$have_gunzip"; then
 3330   ac_cv_prog_have_gunzip="$have_gunzip" # Let the user override the test.
 3331 else
 3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3333 for as_dir in $PATH
 3334 do
 3335   IFS=$as_save_IFS
 3336   test -z "$as_dir" && as_dir=.
 3337     for ac_exec_ext in '' $ac_executable_extensions; do
 3338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3339     ac_cv_prog_have_gunzip="yes"
 3340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3341     break 2
 3342   fi
 3343 done
 3344   done
 3345 IFS=$as_save_IFS
 3346 
 3347 fi
 3348 fi
 3349 have_gunzip=$ac_cv_prog_have_gunzip
 3350 if test -n "$have_gunzip"; then
 3351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gunzip" >&5
 3352 $as_echo "$have_gunzip" >&6; }
 3353 else
 3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3355 $as_echo "no" >&6; }
 3356 fi
 3357 
 3358 
 3359 # Extract the first word of "make", so it can be a program name with args.
 3360 set dummy make; ac_word=$2
 3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3362 $as_echo_n "checking for $ac_word... " >&6; }
 3363 if ${ac_cv_prog_have_make+:} false; then :
 3364   $as_echo_n "(cached) " >&6
 3365 else
 3366   if test -n "$have_make"; then
 3367   ac_cv_prog_have_make="$have_make" # Let the user override the test.
 3368 else
 3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3370 for as_dir in $PATH
 3371 do
 3372   IFS=$as_save_IFS
 3373   test -z "$as_dir" && as_dir=.
 3374     for ac_exec_ext in '' $ac_executable_extensions; do
 3375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3376     ac_cv_prog_have_make="yes"
 3377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3378     break 2
 3379   fi
 3380 done
 3381   done
 3382 IFS=$as_save_IFS
 3383 
 3384 fi
 3385 fi
 3386 have_make=$ac_cv_prog_have_make
 3387 if test -n "$have_make"; then
 3388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_make" >&5
 3389 $as_echo "$have_make" >&6; }
 3390 else
 3391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3392 $as_echo "no" >&6; }
 3393 fi
 3394 
 3395 
 3396 # Extract the first word of "patch", so it can be a program name with args.
 3397 set dummy patch; ac_word=$2
 3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3399 $as_echo_n "checking for $ac_word... " >&6; }
 3400 if ${ac_cv_prog_have_patch+:} false; then :
 3401   $as_echo_n "(cached) " >&6
 3402 else
 3403   if test -n "$have_patch"; then
 3404   ac_cv_prog_have_patch="$have_patch" # Let the user override the test.
 3405 else
 3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3407 for as_dir in $PATH
 3408 do
 3409   IFS=$as_save_IFS
 3410   test -z "$as_dir" && as_dir=.
 3411     for ac_exec_ext in '' $ac_executable_extensions; do
 3412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3413     ac_cv_prog_have_patch="yes"
 3414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3415     break 2
 3416   fi
 3417 done
 3418   done
 3419 IFS=$as_save_IFS
 3420 
 3421 fi
 3422 fi
 3423 have_patch=$ac_cv_prog_have_patch
 3424 if test -n "$have_patch"; then
 3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_patch" >&5
 3426 $as_echo "$have_patch" >&6; }
 3427 else
 3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3429 $as_echo "no" >&6; }
 3430 fi
 3431 
 3432 
 3433 
 3434 # Extract the first word of "xml2-config", so it can be a program name with args.
 3435 set dummy xml2-config; ac_word=$2
 3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3437 $as_echo_n "checking for $ac_word... " >&6; }
 3438 if ${ac_cv_path_have_xml2_config+:} false; then :
 3439   $as_echo_n "(cached) " >&6
 3440 else
 3441   case $have_xml2_config in
 3442   [\\/]* | ?:[\\/]*)
 3443   ac_cv_path_have_xml2_config="$have_xml2_config" # Let the user override the test with a path.
 3444   ;;
 3445   *)
 3446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3447 for as_dir in $PATH
 3448 do
 3449   IFS=$as_save_IFS
 3450   test -z "$as_dir" && as_dir=.
 3451     for ac_exec_ext in '' $ac_executable_extensions; do
 3452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3453     ac_cv_path_have_xml2_config="$as_dir/$ac_word$ac_exec_ext"
 3454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3455     break 2
 3456   fi
 3457 done
 3458   done
 3459 IFS=$as_save_IFS
 3460 
 3461   ;;
 3462 esac
 3463 fi
 3464 have_xml2_config=$ac_cv_path_have_xml2_config
 3465 if test -n "$have_xml2_config"; then
 3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xml2_config" >&5
 3467 $as_echo "$have_xml2_config" >&6; }
 3468 else
 3469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3470 $as_echo "no" >&6; }
 3471 fi
 3472 
 3473 
 3474 # Extract the first word of "xslt-config", so it can be a program name with args.
 3475 set dummy xslt-config; ac_word=$2
 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3477 $as_echo_n "checking for $ac_word... " >&6; }
 3478 if ${ac_cv_path_have_xslt_config+:} false; then :
 3479   $as_echo_n "(cached) " >&6
 3480 else
 3481   case $have_xslt_config in
 3482   [\\/]* | ?:[\\/]*)
 3483   ac_cv_path_have_xslt_config="$have_xslt_config" # Let the user override the test with a path.
 3484   ;;
 3485   *)
 3486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3487 for as_dir in $PATH
 3488 do
 3489   IFS=$as_save_IFS
 3490   test -z "$as_dir" && as_dir=.
 3491     for ac_exec_ext in '' $ac_executable_extensions; do
 3492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3493     ac_cv_path_have_xslt_config="$as_dir/$ac_word$ac_exec_ext"
 3494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3495     break 2
 3496   fi
 3497 done
 3498   done
 3499 IFS=$as_save_IFS
 3500 
 3501   ;;
 3502 esac
 3503 fi
 3504 have_xslt_config=$ac_cv_path_have_xslt_config
 3505 if test -n "$have_xslt_config"; then
 3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xslt_config" >&5
 3507 $as_echo "$have_xslt_config" >&6; }
 3508 else
 3509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3510 $as_echo "no" >&6; }
 3511 fi
 3512 
 3513 
 3514 
 3515 # checks for libraries and headers
 3516 
 3517 
 3518 
 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 3520 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3521 if ${ac_cv_path_GREP+:} false; then :
 3522   $as_echo_n "(cached) " >&6
 3523 else
 3524   if test -z "$GREP"; then
 3525   ac_path_GREP_found=false
 3526   # Loop through the user's path and test for each of PROGNAME-LIST
 3527   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3528 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3529 do
 3530   IFS=$as_save_IFS
 3531   test -z "$as_dir" && as_dir=.
 3532     for ac_prog in grep ggrep; do
 3533     for ac_exec_ext in '' $ac_executable_extensions; do
 3534       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3535       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 3536 # Check for GNU ac_path_GREP and select it if it is found.
 3537   # Check for GNU $ac_path_GREP
 3538 case `"$ac_path_GREP" --version 2>&1` in
 3539 *GNU*)
 3540   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3541 *)
 3542   ac_count=0
 3543   $as_echo_n 0123456789 >"conftest.in"
 3544   while :
 3545   do
 3546     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3547     mv "conftest.tmp" "conftest.in"
 3548     cp "conftest.in" "conftest.nl"
 3549     $as_echo 'GREP' >> "conftest.nl"
 3550     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3551     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3552     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3553     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3554       # Best one so far, save it but keep looking for a better one
 3555       ac_cv_path_GREP="$ac_path_GREP"
 3556       ac_path_GREP_max=$ac_count
 3557     fi
 3558     # 10*(2^10) chars as input seems more than enough
 3559     test $ac_count -gt 10 && break
 3560   done
 3561   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3562 esac
 3563 
 3564       $ac_path_GREP_found && break 3
 3565     done
 3566   done
 3567   done
 3568 IFS=$as_save_IFS
 3569   if test -z "$ac_cv_path_GREP"; then
 3570     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3571   fi
 3572 else
 3573   ac_cv_path_GREP=$GREP
 3574 fi
 3575 
 3576 fi
 3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 3578 $as_echo "$ac_cv_path_GREP" >&6; }
 3579  GREP="$ac_cv_path_GREP"
 3580 
 3581 
 3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 3583 $as_echo_n "checking for egrep... " >&6; }
 3584 if ${ac_cv_path_EGREP+:} false; then :
 3585   $as_echo_n "(cached) " >&6
 3586 else
 3587   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3588    then ac_cv_path_EGREP="$GREP -E"
 3589    else
 3590      if test -z "$EGREP"; then
 3591   ac_path_EGREP_found=false
 3592   # Loop through the user's path and test for each of PROGNAME-LIST
 3593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3594 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3595 do
 3596   IFS=$as_save_IFS
 3597   test -z "$as_dir" && as_dir=.
 3598     for ac_prog in egrep; do
 3599     for ac_exec_ext in '' $ac_executable_extensions; do
 3600       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3601       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 3602 # Check for GNU ac_path_EGREP and select it if it is found.
 3603   # Check for GNU $ac_path_EGREP
 3604 case `"$ac_path_EGREP" --version 2>&1` in
 3605 *GNU*)
 3606   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3607 *)
 3608   ac_count=0
 3609   $as_echo_n 0123456789 >"conftest.in"
 3610   while :
 3611   do
 3612     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3613     mv "conftest.tmp" "conftest.in"
 3614     cp "conftest.in" "conftest.nl"
 3615     $as_echo 'EGREP' >> "conftest.nl"
 3616     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3617     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3618     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3619     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3620       # Best one so far, save it but keep looking for a better one
 3621       ac_cv_path_EGREP="$ac_path_EGREP"
 3622       ac_path_EGREP_max=$ac_count
 3623     fi
 3624     # 10*(2^10) chars as input seems more than enough
 3625     test $ac_count -gt 10 && break
 3626   done
 3627   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3628 esac
 3629 
 3630       $ac_path_EGREP_found && break 3
 3631     done
 3632   done
 3633   done
 3634 IFS=$as_save_IFS
 3635   if test -z "$ac_cv_path_EGREP"; then
 3636     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3637   fi
 3638 else
 3639   ac_cv_path_EGREP=$EGREP
 3640 fi
 3641 
 3642    fi
 3643 fi
 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 3645 $as_echo "$ac_cv_path_EGREP" >&6; }
 3646  EGREP="$ac_cv_path_EGREP"
 3647 
 3648 
 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 3650 $as_echo_n "checking for ANSI C header files... " >&6; }
 3651 if ${ac_cv_header_stdc+:} false; then :
 3652   $as_echo_n "(cached) " >&6
 3653 else
 3654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3655 /* end confdefs.h.  */
 3656 #include <stdlib.h>
 3657 #include <stdarg.h>
 3658 #include <string.h>
 3659 #include <float.h>
 3660 
 3661 int
 3662 main ()
 3663 {
 3664 
 3665   ;
 3666   return 0;
 3667 }
 3668 _ACEOF
 3669 if ac_fn_c_try_compile "$LINENO"; then :
 3670   ac_cv_header_stdc=yes
 3671 else
 3672   ac_cv_header_stdc=no
 3673 fi
 3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3675 
 3676 if test $ac_cv_header_stdc = yes; then
 3677   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3679 /* end confdefs.h.  */
 3680 #include <string.h>
 3681 
 3682 _ACEOF
 3683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3684   $EGREP "memchr" >/dev/null 2>&1; then :
 3685 
 3686 else
 3687   ac_cv_header_stdc=no
 3688 fi
 3689 rm -f conftest*
 3690 
 3691 fi
 3692 
 3693 if test $ac_cv_header_stdc = yes; then
 3694   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3696 /* end confdefs.h.  */
 3697 #include <stdlib.h>
 3698 
 3699 _ACEOF
 3700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3701   $EGREP "free" >/dev/null 2>&1; then :
 3702 
 3703 else
 3704   ac_cv_header_stdc=no
 3705 fi
 3706 rm -f conftest*
 3707 
 3708 fi
 3709 
 3710 if test $ac_cv_header_stdc = yes; then
 3711   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3712   if test "$cross_compiling" = yes; then :
 3713   :
 3714 else
 3715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3716 /* end confdefs.h.  */
 3717 #include <ctype.h>
 3718 #include <stdlib.h>
 3719 #if ((' ' & 0x0FF) == 0x020)
 3720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3722 #else
 3723 # define ISLOWER(c) \
 3724            (('a' <= (c) && (c) <= 'i') \
 3725              || ('j' <= (c) && (c) <= 'r') \
 3726              || ('s' <= (c) && (c) <= 'z'))
 3727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3728 #endif
 3729 
 3730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3731 int
 3732 main ()
 3733 {
 3734   int i;
 3735   for (i = 0; i < 256; i++)
 3736     if (XOR (islower (i), ISLOWER (i))
 3737     || toupper (i) != TOUPPER (i))
 3738       return 2;
 3739   return 0;
 3740 }
 3741 _ACEOF
 3742 if ac_fn_c_try_run "$LINENO"; then :
 3743 
 3744 else
 3745   ac_cv_header_stdc=no
 3746 fi
 3747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 3748   conftest.$ac_objext conftest.beam conftest.$ac_ext
 3749 fi
 3750 
 3751 fi
 3752 fi
 3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 3754 $as_echo "$ac_cv_header_stdc" >&6; }
 3755 if test $ac_cv_header_stdc = yes; then
 3756 
 3757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 3758 
 3759 fi
 3760 
 3761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3762 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3763           inttypes.h stdint.h unistd.h
 3764 do :
 3765   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 3767 "
 3768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 3769   cat >>confdefs.h <<_ACEOF
 3770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3771 _ACEOF
 3772 
 3773 fi
 3774 
 3775 done
 3776 
 3777 
 3778 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
 3779 if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
 3780   have_ssl_h=yes
 3781 
 3782 else
 3783   have_ssl_h=no
 3784 
 3785 fi
 3786 
 3787 
 3788 
 3789 have_readline=no
 3790 
 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
 3792 $as_echo_n "checking for main in -lreadline... " >&6; }
 3793 if ${ac_cv_lib_readline_main+:} false; then :
 3794   $as_echo_n "(cached) " >&6
 3795 else
 3796   ac_check_lib_save_LIBS=$LIBS
 3797 LIBS="-lreadline  $LIBS"
 3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3799 /* end confdefs.h.  */
 3800 
 3801 
 3802 int
 3803 main ()
 3804 {
 3805 return main ();
 3806   ;
 3807   return 0;
 3808 }
 3809 _ACEOF
 3810 if ac_fn_c_try_link "$LINENO"; then :
 3811   ac_cv_lib_readline_main=yes
 3812 else
 3813   ac_cv_lib_readline_main=no
 3814 fi
 3815 rm -f core conftest.err conftest.$ac_objext \
 3816     conftest$ac_exeext conftest.$ac_ext
 3817 LIBS=$ac_check_lib_save_LIBS
 3818 fi
 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
 3820 $as_echo "$ac_cv_lib_readline_main" >&6; }
 3821 if test "x$ac_cv_lib_readline_main" = xyes; then :
 3822   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
 3823 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
 3824   have_readline=yes
 3825 
 3826 fi
 3827 
 3828 
 3829 fi
 3830 
 3831 
 3832 have_libz=no
 3833 
 3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
 3835 $as_echo_n "checking for gzread in -lz... " >&6; }
 3836 if ${ac_cv_lib_z_gzread+:} false; then :
 3837   $as_echo_n "(cached) " >&6
 3838 else
 3839   ac_check_lib_save_LIBS=$LIBS
 3840 LIBS="-lz  $LIBS"
 3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3842 /* end confdefs.h.  */
 3843 
 3844 /* Override any GCC internal prototype to avoid an error.
 3845    Use char because int might match the return type of a GCC
 3846    builtin and then its argument prototype would still apply.  */
 3847 #ifdef __cplusplus
 3848 extern "C"
 3849 #endif
 3850 char gzread ();
 3851 int
 3852 main ()
 3853 {
 3854 return gzread ();
 3855   ;
 3856   return 0;
 3857 }
 3858 _ACEOF
 3859 if ac_fn_c_try_link "$LINENO"; then :
 3860   ac_cv_lib_z_gzread=yes
 3861 else
 3862   ac_cv_lib_z_gzread=no
 3863 fi
 3864 rm -f core conftest.err conftest.$ac_objext \
 3865     conftest$ac_exeext conftest.$ac_ext
 3866 LIBS=$ac_check_lib_save_LIBS
 3867 fi
 3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
 3869 $as_echo "$ac_cv_lib_z_gzread" >&6; }
 3870 if test "x$ac_cv_lib_z_gzread" = xyes; then :
 3871   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
 3872 if test "x$ac_cv_header_zlib_h" = xyes; then :
 3873   have_libz=yes
 3874 
 3875 fi
 3876 
 3877 
 3878 fi
 3879 
 3880 
 3881 have_libjpeg=no
 3882 
 3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
 3884 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
 3885 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
 3886   $as_echo_n "(cached) " >&6
 3887 else
 3888   ac_check_lib_save_LIBS=$LIBS
 3889 LIBS="-ljpeg  $LIBS"
 3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3891 /* end confdefs.h.  */
 3892 
 3893 /* Override any GCC internal prototype to avoid an error.
 3894    Use char because int might match the return type of a GCC
 3895    builtin and then its argument prototype would still apply.  */
 3896 #ifdef __cplusplus
 3897 extern "C"
 3898 #endif
 3899 char jpeg_read_header ();
 3900 int
 3901 main ()
 3902 {
 3903 return jpeg_read_header ();
 3904   ;
 3905   return 0;
 3906 }
 3907 _ACEOF
 3908 if ac_fn_c_try_link "$LINENO"; then :
 3909   ac_cv_lib_jpeg_jpeg_read_header=yes
 3910 else
 3911   ac_cv_lib_jpeg_jpeg_read_header=no
 3912 fi
 3913 rm -f core conftest.err conftest.$ac_objext \
 3914     conftest$ac_exeext conftest.$ac_ext
 3915 LIBS=$ac_check_lib_save_LIBS
 3916 fi
 3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
 3918 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
 3919 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
 3920   ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
 3921 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
 3922   have_libjpeg=yes
 3923 
 3924 fi
 3925 
 3926 
 3927 fi
 3928 
 3929 
 3930 have_ssl=no
 3931 
 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_accept in -lssl" >&5
 3933 $as_echo_n "checking for SSL_accept in -lssl... " >&6; }
 3934 if ${ac_cv_lib_ssl_SSL_accept+:} false; then :
 3935   $as_echo_n "(cached) " >&6
 3936 else
 3937   ac_check_lib_save_LIBS=$LIBS
 3938 LIBS="-lssl  $LIBS"
 3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3940 /* end confdefs.h.  */
 3941 
 3942 /* Override any GCC internal prototype to avoid an error.
 3943    Use char because int might match the return type of a GCC
 3944    builtin and then its argument prototype would still apply.  */
 3945 #ifdef __cplusplus
 3946 extern "C"
 3947 #endif
 3948 char SSL_accept ();
 3949 int
 3950 main ()
 3951 {
 3952 return SSL_accept ();
 3953   ;
 3954   return 0;
 3955 }
 3956 _ACEOF
 3957 if ac_fn_c_try_link "$LINENO"; then :
 3958   ac_cv_lib_ssl_SSL_accept=yes
 3959 else
 3960   ac_cv_lib_ssl_SSL_accept=no
 3961 fi
 3962 rm -f core conftest.err conftest.$ac_objext \
 3963     conftest$ac_exeext conftest.$ac_ext
 3964 LIBS=$ac_check_lib_save_LIBS
 3965 fi
 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_accept" >&5
 3967 $as_echo "$ac_cv_lib_ssl_SSL_accept" >&6; }
 3968 if test "x$ac_cv_lib_ssl_SSL_accept" = xyes; then :
 3969   ac_fn_c_check_header_mongrel "$LINENO" "ssl.h" "ac_cv_header_ssl_h" "$ac_includes_default"
 3970 if test "x$ac_cv_header_ssl_h" = xyes; then :
 3971   have_ssl=yes
 3972 
 3973 fi
 3974 
 3975 
 3976     ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
 3977 if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
 3978   have_ssl=yes
 3979 
 3980 fi
 3981 
 3982 
 3983 
 3984 fi
 3985 
 3986 
 3987 ac_config_files="$ac_config_files buildenv.sh"
 3988 
 3989 cat >confcache <<\_ACEOF
 3990 # This file is a shell script that caches the results of configure
 3991 # tests run on this system so they can be shared between configure
 3992 # scripts and configure runs, see configure's option --config-cache.
 3993 # It is not useful on other systems.  If it contains results you don't
 3994 # want to keep, you may remove or edit it.
 3995 #
 3996 # config.status only pays attention to the cache file if you give it
 3997 # the --recheck option to rerun configure.
 3998 #
 3999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 4000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 4001 # following values.
 4002 
 4003 _ACEOF
 4004 
 4005 # The following way of writing the cache mishandles newlines in values,
 4006 # but we know of no workaround that is simple, portable, and efficient.
 4007 # So, we kill variables containing newlines.
 4008 # Ultrix sh set writes to stderr and can't be redirected directly,
 4009 # and sets the high bit in the cache file unless we assign to the vars.
 4010 (
 4011   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 4012     eval ac_val=\$$ac_var
 4013     case $ac_val in #(
 4014     *${as_nl}*)
 4015       case $ac_var in #(
 4016       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 4017 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 4018       esac
 4019       case $ac_var in #(
 4020       _ | IFS | as_nl) ;; #(
 4021       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 4022       *) { eval $ac_var=; unset $ac_var;} ;;
 4023       esac ;;
 4024     esac
 4025   done
 4026 
 4027   (set) 2>&1 |
 4028     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 4029     *${as_nl}ac_space=\ *)
 4030       # `set' does not quote correctly, so add quotes: double-quote
 4031       # substitution turns \\\\ into \\, and sed turns \\ into \.
 4032       sed -n \
 4033     "s/'/'\\\\''/g;
 4034       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 4035       ;; #(
 4036     *)
 4037       # `set' quotes correctly as required by POSIX, so do not add quotes.
 4038       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 4039       ;;
 4040     esac |
 4041     sort
 4042 ) |
 4043   sed '
 4044      /^ac_cv_env_/b end
 4045      t clear
 4046      :clear
 4047      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 4048      t end
 4049      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 4050      :end' >>confcache
 4051 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 4052   if test -w "$cache_file"; then
 4053     if test "x$cache_file" != "x/dev/null"; then
 4054       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 4055 $as_echo "$as_me: updating cache $cache_file" >&6;}
 4056       if test ! -f "$cache_file" || test -h "$cache_file"; then
 4057     cat confcache >"$cache_file"
 4058       else
 4059         case $cache_file in #(
 4060         */* | ?:*)
 4061       mv -f confcache "$cache_file"$$ &&
 4062       mv -f "$cache_file"$$ "$cache_file" ;; #(
 4063         *)
 4064       mv -f confcache "$cache_file" ;;
 4065     esac
 4066       fi
 4067     fi
 4068   else
 4069     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 4070 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 4071   fi
 4072 fi
 4073 rm -f confcache
 4074 
 4075 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 4076 # Let make expand exec_prefix.
 4077 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 4078 
 4079 # Transform confdefs.h into DEFS.
 4080 # Protect against shell expansion while executing Makefile rules.
 4081 # Protect against Makefile macro expansion.
 4082 #
 4083 # If the first sed substitution is executed (which looks for macros that
 4084 # take arguments), then branch to the quote section.  Otherwise,
 4085 # look for a macro that doesn't take arguments.
 4086 ac_script='
 4087 :mline
 4088 /\\$/{
 4089  N
 4090  s,\\\n,,
 4091  b mline
 4092 }
 4093 t clear
 4094 :clear
 4095 s/^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 4096 t quote
 4097 s/^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 4098 t quote
 4099 b any
 4100 :quote
 4101 s/[  `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 4102 s/\[/\\&/g
 4103 s/\]/\\&/g
 4104 s/\$/$$/g
 4105 H
 4106 :any
 4107 ${
 4108     g
 4109     s/^\n//
 4110     s/\n/ /g
 4111     p
 4112 }
 4113 '
 4114 DEFS=`sed -n "$ac_script" confdefs.h`
 4115 
 4116 
 4117 ac_libobjs=
 4118 ac_ltlibobjs=
 4119 U=
 4120 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 4121   # 1. Remove the extension, and $U if already installed.
 4122   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 4123   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 4124   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 4125   #    will be set to the directory where LIBOBJS objects are built.
 4126   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 4127   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 4128 done
 4129 LIBOBJS=$ac_libobjs
 4130 
 4131 LTLIBOBJS=$ac_ltlibobjs
 4132 
 4133 
 4134 
 4135 : "${CONFIG_STATUS=./config.status}"
 4136 ac_write_fail=0
 4137 ac_clean_files_save=$ac_clean_files
 4138 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 4139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 4140 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 4141 as_write_fail=0
 4142 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 4143 #! $SHELL
 4144 # Generated by $as_me.
 4145 # Run this file to recreate the current configuration.
 4146 # Compiler output produced by configure, useful for debugging
 4147 # configure, is in config.log if it exists.
 4148 
 4149 debug=false
 4150 ac_cs_recheck=false
 4151 ac_cs_silent=false
 4152 
 4153 SHELL=\${CONFIG_SHELL-$SHELL}
 4154 export SHELL
 4155 _ASEOF
 4156 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 4157 ## -------------------- ##
 4158 ## M4sh Initialization. ##
 4159 ## -------------------- ##
 4160 
 4161 # Be more Bourne compatible
 4162 DUALCASE=1; export DUALCASE # for MKS sh
 4163 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 4164   emulate sh
 4165   NULLCMD=:
 4166   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 4167   # is contrary to our usage.  Disable this feature.
 4168   alias -g '${1+"$@"}'='"$@"'
 4169   setopt NO_GLOB_SUBST
 4170 else
 4171   case `(set -o) 2>/dev/null` in #(
 4172   *posix*) :
 4173     set -o posix ;; #(
 4174   *) :
 4175      ;;
 4176 esac
 4177 fi
 4178 
 4179 
 4180 as_nl='
 4181 '
 4182 export as_nl
 4183 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 4184 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 4185 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 4186 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 4187 # Prefer a ksh shell builtin over an external printf program on Solaris,
 4188 # but without wasting forks for bash or zsh.
 4189 if test -z "$BASH_VERSION$ZSH_VERSION" \
 4190     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 4191   as_echo='print -r --'
 4192   as_echo_n='print -rn --'
 4193 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 4194   as_echo='printf %s\n'
 4195   as_echo_n='printf %s'
 4196 else
 4197   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 4198     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 4199     as_echo_n='/usr/ucb/echo -n'
 4200   else
 4201     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 4202     as_echo_n_body='eval
 4203       arg=$1;
 4204       case $arg in #(
 4205       *"$as_nl"*)
 4206     expr "X$arg" : "X\\(.*\\)$as_nl";
 4207     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 4208       esac;
 4209       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 4210     '
 4211     export as_echo_n_body
 4212     as_echo_n='sh -c $as_echo_n_body as_echo'
 4213   fi
 4214   export as_echo_body
 4215   as_echo='sh -c $as_echo_body as_echo'
 4216 fi
 4217 
 4218 # The user is always right.
 4219 if test "${PATH_SEPARATOR+set}" != set; then
 4220   PATH_SEPARATOR=:
 4221   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 4222     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 4223       PATH_SEPARATOR=';'
 4224   }
 4225 fi
 4226 
 4227 
 4228 # IFS
 4229 # We need space, tab and new line, in precisely that order.  Quoting is
 4230 # there to prevent editors from complaining about space-tab.
 4231 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 4232 # splitting by setting IFS to empty value.)
 4233 IFS=" ""    $as_nl"
 4234 
 4235 # Find who we are.  Look in the path if we contain no directory separator.
 4236 as_myself=
 4237 case $0 in #((
 4238   *[\\/]* ) as_myself=$0 ;;
 4239   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4240 for as_dir in $PATH
 4241 do
 4242   IFS=$as_save_IFS
 4243   test -z "$as_dir" && as_dir=.
 4244     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 4245   done
 4246 IFS=$as_save_IFS
 4247 
 4248      ;;
 4249 esac
 4250 # We did not find ourselves, most probably we were run as `sh COMMAND'
 4251 # in which case we are not to be found in the path.
 4252 if test "x$as_myself" = x; then
 4253   as_myself=$0
 4254 fi
 4255 if test ! -f "$as_myself"; then
 4256   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 4257   exit 1
 4258 fi
 4259 
 4260 # Unset variables that we do not need and which cause bugs (e.g. in
 4261 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 4262 # suppresses any "Segmentation fault" message there.  '((' could
 4263 # trigger a bug in pdksh 5.2.14.
 4264 for as_var in BASH_ENV ENV MAIL MAILPATH
 4265 do eval test x\${$as_var+set} = xset \
 4266   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 4267 done
 4268 PS1='$ '
 4269 PS2='> '
 4270 PS4='+ '
 4271 
 4272 # NLS nuisances.
 4273 LC_ALL=C
 4274 export LC_ALL
 4275 LANGUAGE=C
 4276 export LANGUAGE
 4277 
 4278 # CDPATH.
 4279 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 4280 
 4281 
 4282 # as_fn_error STATUS ERROR [LINENO LOG_FD]
 4283 # ----------------------------------------
 4284 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 4285 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 4286 # script with STATUS, using 1 if that was 0.
 4287 as_fn_error ()
 4288 {
 4289   as_status=$1; test $as_status -eq 0 && as_status=1
 4290   if test "$4"; then
 4291     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 4292     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 4293   fi
 4294   $as_echo "$as_me: error: $2" >&2
 4295   as_fn_exit $as_status
 4296 } # as_fn_error
 4297 
 4298 
 4299 # as_fn_set_status STATUS
 4300 # -----------------------
 4301 # Set $? to STATUS, without forking.
 4302 as_fn_set_status ()
 4303 {
 4304   return $1
 4305 } # as_fn_set_status
 4306 
 4307 # as_fn_exit STATUS
 4308 # -----------------
 4309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 4310 as_fn_exit ()
 4311 {
 4312   set +e
 4313   as_fn_set_status $1
 4314   exit $1
 4315 } # as_fn_exit
 4316 
 4317 # as_fn_unset VAR
 4318 # ---------------
 4319 # Portably unset VAR.
 4320 as_fn_unset ()
 4321 {
 4322   { eval $1=; unset $1;}
 4323 }
 4324 as_unset=as_fn_unset
 4325 # as_fn_append VAR VALUE
 4326 # ----------------------
 4327 # Append the text in VALUE to the end of the definition contained in VAR. Take
 4328 # advantage of any shell optimizations that allow amortized linear growth over
 4329 # repeated appends, instead of the typical quadratic growth present in naive
 4330 # implementations.
 4331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 4332   eval 'as_fn_append ()
 4333   {
 4334     eval $1+=\$2
 4335   }'
 4336 else
 4337   as_fn_append ()
 4338   {
 4339     eval $1=\$$1\$2
 4340   }
 4341 fi # as_fn_append
 4342 
 4343 # as_fn_arith ARG...
 4344 # ------------------
 4345 # Perform arithmetic evaluation on the ARGs, and store the result in the
 4346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
 4347 # must be portable across $(()) and expr.
 4348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 4349   eval 'as_fn_arith ()
 4350   {
 4351     as_val=$(( $* ))
 4352   }'
 4353 else
 4354   as_fn_arith ()
 4355   {
 4356     as_val=`expr "$@" || test $? -eq 1`
 4357   }
 4358 fi # as_fn_arith
 4359 
 4360 
 4361 if expr a : '\(a\)' >/dev/null 2>&1 &&
 4362    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 4363   as_expr=expr
 4364 else
 4365   as_expr=false
 4366 fi
 4367 
 4368 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 4369   as_basename=basename
 4370 else
 4371   as_basename=false
 4372 fi
 4373 
 4374 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 4375   as_dirname=dirname
 4376 else
 4377   as_dirname=false
 4378 fi
 4379 
 4380 as_me=`$as_basename -- "$0" ||
 4381 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 4382      X"$0" : 'X\(//\)$' \| \
 4383      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 4384 $as_echo X/"$0" |
 4385     sed '/^.*\/\([^/][^/]*\)\/*$/{
 4386         s//\1/
 4387         q
 4388       }
 4389       /^X\/\(\/\/\)$/{
 4390         s//\1/
 4391         q
 4392       }
 4393       /^X\/\(\/\).*/{
 4394         s//\1/
 4395         q
 4396       }
 4397       s/.*/./; q'`
 4398 
 4399 # Avoid depending upon Character Ranges.
 4400 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 4401 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 4402 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 4403 as_cr_digits='0123456789'
 4404 as_cr_alnum=$as_cr_Letters$as_cr_digits
 4405 
 4406 ECHO_C= ECHO_N= ECHO_T=
 4407 case `echo -n x` in #(((((
 4408 -n*)
 4409   case `echo 'xy\c'` in
 4410   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 4411   xy)  ECHO_C='\c';;
 4412   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 4413        ECHO_T=' ';;
 4414   esac;;
 4415 *)
 4416   ECHO_N='-n';;
 4417 esac
 4418 
 4419 rm -f conf$$ conf$$.exe conf$$.file
 4420 if test -d conf$$.dir; then
 4421   rm -f conf$$.dir/conf$$.file
 4422 else
 4423   rm -f conf$$.dir
 4424   mkdir conf$$.dir 2>/dev/null
 4425 fi
 4426 if (echo >conf$$.file) 2>/dev/null; then
 4427   if ln -s conf$$.file conf$$ 2>/dev/null; then
 4428     as_ln_s='ln -s'
 4429     # ... but there are two gotchas:
 4430     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 4431     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 4432     # In both cases, we have to default to `cp -p'.
 4433     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 4434       as_ln_s='cp -p'
 4435   elif ln conf$$.file conf$$ 2>/dev/null; then
 4436     as_ln_s=ln
 4437   else
 4438     as_ln_s='cp -p'
 4439   fi
 4440 else
 4441   as_ln_s='cp -p'
 4442 fi
 4443 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 4444 rmdir conf$$.dir 2>/dev/null
 4445 
 4446 
 4447 # as_fn_mkdir_p
 4448 # -------------
 4449 # Create "$as_dir" as a directory, including parents if necessary.
 4450 as_fn_mkdir_p ()
 4451 {
 4452 
 4453   case $as_dir in #(
 4454   -*) as_dir=./$as_dir;;
 4455   esac
 4456   test -d "$as_dir" || eval $as_mkdir_p || {
 4457     as_dirs=
 4458     while :; do
 4459       case $as_dir in #(
 4460       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 4461       *) as_qdir=$as_dir;;
 4462       esac
 4463       as_dirs="'$as_qdir' $as_dirs"
 4464       as_dir=`$as_dirname -- "$as_dir" ||
 4465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 4466      X"$as_dir" : 'X\(//\)[^/]' \| \
 4467      X"$as_dir" : 'X\(//\)$' \| \
 4468      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 4469 $as_echo X"$as_dir" |
 4470     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 4471         s//\1/
 4472         q
 4473       }
 4474       /^X\(\/\/\)[^/].*/{
 4475         s//\1/
 4476         q
 4477       }
 4478       /^X\(\/\/\)$/{
 4479         s//\1/
 4480         q
 4481       }
 4482       /^X\(\/\).*/{
 4483         s//\1/
 4484         q
 4485       }
 4486       s/.*/./; q'`
 4487       test -d "$as_dir" && break
 4488     done
 4489     test -z "$as_dirs" || eval "mkdir $as_dirs"
 4490   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 4491 
 4492 
 4493 } # as_fn_mkdir_p
 4494 if mkdir -p . 2>/dev/null; then
 4495   as_mkdir_p='mkdir -p "$as_dir"'
 4496 else
 4497   test -d ./-p && rmdir ./-p
 4498   as_mkdir_p=false
 4499 fi
 4500 
 4501 if test -x / >/dev/null 2>&1; then
 4502   as_test_x='test -x'
 4503 else
 4504   if ls -dL / >/dev/null 2>&1; then
 4505     as_ls_L_option=L
 4506   else
 4507     as_ls_L_option=
 4508   fi
 4509   as_test_x='
 4510     eval sh -c '\''
 4511       if test -d "$1"; then
 4512     test -d "$1/.";
 4513       else
 4514     case $1 in #(
 4515     -*)set "./$1";;
 4516     esac;
 4517     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 4518     ???[sx]*):;;*)false;;esac;fi
 4519     '\'' sh
 4520   '
 4521 fi
 4522 as_executable_p=$as_test_x
 4523 
 4524 # Sed expression to map a string onto a valid CPP name.
 4525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 4526 
 4527 # Sed expression to map a string onto a valid variable name.
 4528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 4529 
 4530 
 4531 exec 6>&1
 4532 ## ----------------------------------- ##
 4533 ## Main body of $CONFIG_STATUS script. ##
 4534 ## ----------------------------------- ##
 4535 _ASEOF
 4536 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 4537 
 4538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4539 # Save the log message, to keep $0 and so on meaningful, and to
 4540 # report actual input values of CONFIG_FILES etc. instead of their
 4541 # values after options handling.
 4542 ac_log="
 4543 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
 4544 generated by GNU Autoconf 2.68.  Invocation command line was
 4545 
 4546   CONFIG_FILES    = $CONFIG_FILES
 4547   CONFIG_HEADERS  = $CONFIG_HEADERS
 4548   CONFIG_LINKS    = $CONFIG_LINKS
 4549   CONFIG_COMMANDS = $CONFIG_COMMANDS
 4550   $ $0 $@
 4551 
 4552 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 4553 "
 4554 
 4555 _ACEOF
 4556 
 4557 case $ac_config_files in *"
 4558 "*) set x $ac_config_files; shift; ac_config_files=$*;;
 4559 esac
 4560 
 4561 
 4562 
 4563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4564 # Files that config.status was made for.
 4565 config_files="$ac_config_files"
 4566 
 4567 _ACEOF
 4568 
 4569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4570 ac_cs_usage="\
 4571 \`$as_me' instantiates files and other configuration actions
 4572 from templates according to the current configuration.  Unless the files
 4573 and actions are specified as TAGs, all are instantiated by default.
 4574 
 4575 Usage: $0 [OPTION]... [TAG]...
 4576 
 4577   -h, --help       print this help, then exit
 4578   -V, --version    print version number and configuration settings, then exit
 4579       --config     print configuration, then exit
 4580   -q, --quiet, --silent
 4581                    do not print progress messages
 4582   -d, --debug      don't remove temporary files
 4583       --recheck    update $as_me by reconfiguring in the same conditions
 4584       --file=FILE[:TEMPLATE]
 4585                    instantiate the configuration file FILE
 4586 
 4587 Configuration files:
 4588 $config_files
 4589 
 4590 Report bugs to <BUG-REPORT-ADDRESS>."
 4591 
 4592 _ACEOF
 4593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4594 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 4595 ac_cs_version="\\
 4596 FULL-PACKAGE-NAME config.status VERSION
 4597 configured by $0, generated by GNU Autoconf 2.68,
 4598   with options \\"\$ac_cs_config\\"
 4599 
 4600 Copyright (C) 2010 Free Software Foundation, Inc.
 4601 This config.status script is free software; the Free Software Foundation
 4602 gives unlimited permission to copy, distribute and modify it."
 4603 
 4604 ac_pwd='$ac_pwd'
 4605 srcdir='$srcdir'
 4606 test -n "\$AWK" || AWK=awk
 4607 _ACEOF
 4608 
 4609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4610 # The default lists apply if the user does not specify any file.
 4611 ac_need_defaults=:
 4612 while test $# != 0
 4613 do
 4614   case $1 in
 4615   --*=?*)
 4616     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4617     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 4618     ac_shift=:
 4619     ;;
 4620   --*=)
 4621     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4622     ac_optarg=
 4623     ac_shift=:
 4624     ;;
 4625   *)
 4626     ac_option=$1
 4627     ac_optarg=$2
 4628     ac_shift=shift
 4629     ;;
 4630   esac
 4631 
 4632   case $ac_option in
 4633   # Handling of the options.
 4634   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 4635     ac_cs_recheck=: ;;
 4636   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 4637     $as_echo "$ac_cs_version"; exit ;;
 4638   --config | --confi | --conf | --con | --co | --c )
 4639     $as_echo "$ac_cs_config"; exit ;;
 4640   --debug | --debu | --deb | --de | --d | -d )
 4641     debug=: ;;
 4642   --file | --fil | --fi | --f )
 4643     $ac_shift
 4644     case $ac_optarg in
 4645     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 4646     '') as_fn_error $? "missing file argument" ;;
 4647     esac
 4648     as_fn_append CONFIG_FILES " '$ac_optarg'"
 4649     ac_need_defaults=false;;
 4650   --he | --h |  --help | --hel | -h )
 4651     $as_echo "$ac_cs_usage"; exit ;;
 4652   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 4653   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 4654     ac_cs_silent=: ;;
 4655 
 4656   # This is an error.
 4657   -*) as_fn_error $? "unrecognized option: \`$1'
 4658 Try \`$0 --help' for more information." ;;
 4659 
 4660   *) as_fn_append ac_config_targets " $1"
 4661      ac_need_defaults=false ;;
 4662 
 4663   esac
 4664   shift
 4665 done
 4666 
 4667 ac_configure_extra_args=
 4668 
 4669 if $ac_cs_silent; then
 4670   exec 6>/dev/null
 4671   ac_configure_extra_args="$ac_configure_extra_args --silent"
 4672 fi
 4673 
 4674 _ACEOF
 4675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4676 if \$ac_cs_recheck; then
 4677   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 4678   shift
 4679   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 4680   CONFIG_SHELL='$SHELL'
 4681   export CONFIG_SHELL
 4682   exec "\$@"
 4683 fi
 4684 
 4685 _ACEOF
 4686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4687 exec 5>>config.log
 4688 {
 4689   echo
 4690   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 4691 ## Running $as_me. ##
 4692 _ASBOX
 4693   $as_echo "$ac_log"
 4694 } >&5
 4695 
 4696 _ACEOF
 4697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4698 _ACEOF
 4699 
 4700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4701 
 4702 # Handling of arguments.
 4703 for ac_config_target in $ac_config_targets
 4704 do
 4705   case $ac_config_target in
 4706     "buildenv.sh") CONFIG_FILES="$CONFIG_FILES buildenv.sh" ;;
 4707 
 4708   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 4709   esac
 4710 done
 4711 
 4712 
 4713 # If the user did not use the arguments to specify the items to instantiate,
 4714 # then the envvar interface is used.  Set only those that are not.
 4715 # We use the long form for the default assignment because of an extremely
 4716 # bizarre bug on SunOS 4.1.3.
 4717 if $ac_need_defaults; then
 4718   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 4719 fi
 4720 
 4721 # Have a temporary directory for convenience.  Make it in the build tree
 4722 # simply because there is no reason against having it here, and in addition,
 4723 # creating and moving files from /tmp can sometimes cause problems.
 4724 # Hook for its removal unless debugging.
 4725 # Note that there is a small window in which the directory will not be cleaned:
 4726 # after its creation but before its name has been assigned to `$tmp'.
 4727 $debug ||
 4728 {
 4729   tmp= ac_tmp=
 4730   trap 'exit_status=$?
 4731   : "${ac_tmp:=$tmp}"
 4732   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 4733 ' 0
 4734   trap 'as_fn_exit 1' 1 2 13 15
 4735 }
 4736 # Create a (secure) tmp directory for tmp files.
 4737 
 4738 {
 4739   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 4740   test -d "$tmp"
 4741 }  ||
 4742 {
 4743   tmp=./conf$$-$RANDOM
 4744   (umask 077 && mkdir "$tmp")
 4745 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 4746 ac_tmp=$tmp
 4747 
 4748 # Set up the scripts for CONFIG_FILES section.
 4749 # No need to generate them if there are no CONFIG_FILES.
 4750 # This happens for instance with `./config.status config.h'.
 4751 if test -n "$CONFIG_FILES"; then
 4752 
 4753 
 4754 ac_cr=`echo X | tr X '\015'`
 4755 # On cygwin, bash can eat \r inside `` if the user requested igncr.
 4756 # But we know of no other shell where ac_cr would be empty at this
 4757 # point, so we can use a bashism as a fallback.
 4758 if test "x$ac_cr" = x; then
 4759   eval ac_cr=\$\'\\r\'
 4760 fi
 4761 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 4762 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 4763   ac_cs_awk_cr='\\r'
 4764 else
 4765   ac_cs_awk_cr=$ac_cr
 4766 fi
 4767 
 4768 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 4769 _ACEOF
 4770 
 4771 
 4772 {
 4773   echo "cat >conf$$subs.awk <<_ACEOF" &&
 4774   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 4775   echo "_ACEOF"
 4776 } >conf$$subs.sh ||
 4777   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 4778 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 4779 ac_delim='%!_!# '
 4780 for ac_last_try in false false false false false :; do
 4781   . ./conf$$subs.sh ||
 4782     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 4783 
 4784   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 4785   if test $ac_delim_n = $ac_delim_num; then
 4786     break
 4787   elif $ac_last_try; then
 4788     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 4789   else
 4790     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 4791   fi
 4792 done
 4793 rm -f conf$$subs.sh
 4794 
 4795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4796 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 4797 _ACEOF
 4798 sed -n '
 4799 h
 4800 s/^/S["/; s/!.*/"]=/
 4801 p
 4802 g
 4803 s/^[^!]*!//
 4804 :repl
 4805 t repl
 4806 s/'"$ac_delim"'$//
 4807 t delim
 4808 :nl
 4809 h
 4810 s/\(.\{148\}\)..*/\1/
 4811 t more1
 4812 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 4813 p
 4814 n
 4815 b repl
 4816 :more1
 4817 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 4818 p
 4819 g
 4820 s/.\{148\}//
 4821 t nl
 4822 :delim
 4823 h
 4824 s/\(.\{148\}\)..*/\1/
 4825 t more2
 4826 s/["\\]/\\&/g; s/^/"/; s/$/"/
 4827 p
 4828 b
 4829 :more2
 4830 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 4831 p
 4832 g
 4833 s/.\{148\}//
 4834 t delim
 4835 ' <conf$$subs.awk | sed '
 4836 /^[^""]/{
 4837   N
 4838   s/\n//
 4839 }
 4840 ' >>$CONFIG_STATUS || ac_write_fail=1
 4841 rm -f conf$$subs.awk
 4842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4843 _ACAWK
 4844 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 4845   for (key in S) S_is_set[key] = 1
 4846   FS = ""
 4847 
 4848 }
 4849 {
 4850   line = $ 0
 4851   nfields = split(line, field, "@")
 4852   substed = 0
 4853   len = length(field[1])
 4854   for (i = 2; i < nfields; i++) {
 4855     key = field[i]
 4856     keylen = length(key)
 4857     if (S_is_set[key]) {
 4858       value = S[key]
 4859       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 4860       len += length(value) + length(field[++i])
 4861       substed = 1
 4862     } else
 4863       len += 1 + keylen
 4864   }
 4865 
 4866   print line
 4867 }
 4868 
 4869 _ACAWK
 4870 _ACEOF
 4871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4872 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 4873   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 4874 else
 4875   cat
 4876 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 4877   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 4878 _ACEOF
 4879 
 4880 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 4881 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 4882 # trailing colons and then remove the whole line if VPATH becomes empty
 4883 # (actually we leave an empty line to preserve line numbers).
 4884 if test "x$srcdir" = x.; then
 4885   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
 4886 h
 4887 s///
 4888 s/^/:/
 4889 s/[  ]*$/:/
 4890 s/:\$(srcdir):/:/g
 4891 s/:\${srcdir}:/:/g
 4892 s/:@srcdir@:/:/g
 4893 s/^:*//
 4894 s/:*$//
 4895 x
 4896 s/\(=[   ]*\).*/\1/
 4897 G
 4898 s/\n//
 4899 s/^[^=]*=[   ]*$//
 4900 }'
 4901 fi
 4902 
 4903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4904 fi # test -n "$CONFIG_FILES"
 4905 
 4906 
 4907 eval set X "  :F $CONFIG_FILES      "
 4908 shift
 4909 for ac_tag
 4910 do
 4911   case $ac_tag in
 4912   :[FHLC]) ac_mode=$ac_tag; continue;;
 4913   esac
 4914   case $ac_mode$ac_tag in
 4915   :[FHL]*:*);;
 4916   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 4917   :[FH]-) ac_tag=-:-;;
 4918   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 4919   esac
 4920   ac_save_IFS=$IFS
 4921   IFS=:
 4922   set x $ac_tag
 4923   IFS=$ac_save_IFS
 4924   shift
 4925   ac_file=$1
 4926   shift
 4927 
 4928   case $ac_mode in
 4929   :L) ac_source=$1;;
 4930   :[FH])
 4931     ac_file_inputs=
 4932     for ac_f
 4933     do
 4934       case $ac_f in
 4935       -) ac_f="$ac_tmp/stdin";;
 4936       *) # Look for the file first in the build tree, then in the source tree
 4937      # (if the path is not absolute).  The absolute path cannot be DOS-style,
 4938      # because $ac_f cannot contain `:'.
 4939      test -f "$ac_f" ||
 4940        case $ac_f in
 4941        [\\/$]*) false;;
 4942        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 4943        esac ||
 4944        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 4945       esac
 4946       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 4947       as_fn_append ac_file_inputs " '$ac_f'"
 4948     done
 4949 
 4950     # Let's still pretend it is `configure' which instantiates (i.e., don't
 4951     # use $as_me), people would be surprised to read:
 4952     #    /* config.h.  Generated by config.status.  */
 4953     configure_input='Generated from '`
 4954       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 4955     `' by configure.'
 4956     if test x"$ac_file" != x-; then
 4957       configure_input="$ac_file.  $configure_input"
 4958       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 4959 $as_echo "$as_me: creating $ac_file" >&6;}
 4960     fi
 4961     # Neutralize special characters interpreted by sed in replacement strings.
 4962     case $configure_input in #(
 4963     *\&* | *\|* | *\\* )
 4964        ac_sed_conf_input=`$as_echo "$configure_input" |
 4965        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 4966     *) ac_sed_conf_input=$configure_input;;
 4967     esac
 4968 
 4969     case $ac_tag in
 4970     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 4971       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 4972     esac
 4973     ;;
 4974   esac
 4975 
 4976   ac_dir=`$as_dirname -- "$ac_file" ||
 4977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 4978      X"$ac_file" : 'X\(//\)[^/]' \| \
 4979      X"$ac_file" : 'X\(//\)$' \| \
 4980      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 4981 $as_echo X"$ac_file" |
 4982     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 4983         s//\1/
 4984         q
 4985       }
 4986       /^X\(\/\/\)[^/].*/{
 4987         s//\1/
 4988         q
 4989       }
 4990       /^X\(\/\/\)$/{
 4991         s//\1/
 4992         q
 4993       }
 4994       /^X\(\/\).*/{
 4995         s//\1/
 4996         q
 4997       }
 4998       s/.*/./; q'`
 4999   as_dir="$ac_dir"; as_fn_mkdir_p
 5000   ac_builddir=.
 5001 
 5002 case "$ac_dir" in
 5003 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5004 *)
 5005   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 5006   # A ".." for each directory in $ac_dir_suffix.
 5007   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 5008   case $ac_top_builddir_sub in
 5009   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5010   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 5011   esac ;;
 5012 esac
 5013 ac_abs_top_builddir=$ac_pwd
 5014 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 5015 # for backward compatibility:
 5016 ac_top_builddir=$ac_top_build_prefix
 5017 
 5018 case $srcdir in
 5019   .)  # We are building in place.
 5020     ac_srcdir=.
 5021     ac_top_srcdir=$ac_top_builddir_sub
 5022     ac_abs_top_srcdir=$ac_pwd ;;
 5023   [\\/]* | ?:[\\/]* )  # Absolute name.
 5024     ac_srcdir=$srcdir$ac_dir_suffix;
 5025     ac_top_srcdir=$srcdir
 5026     ac_abs_top_srcdir=$srcdir ;;
 5027   *) # Relative name.
 5028     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 5029     ac_top_srcdir=$ac_top_build_prefix$srcdir
 5030     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 5031 esac
 5032 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 5033 
 5034 
 5035   case $ac_mode in
 5036   :F)
 5037   #
 5038   # CONFIG_FILE
 5039   #
 5040 
 5041 _ACEOF
 5042 
 5043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5044 # If the template does not know about datarootdir, expand it.
 5045 # FIXME: This hack should be removed a few years after 2.60.
 5046 ac_datarootdir_hack=; ac_datarootdir_seen=
 5047 ac_sed_dataroot='
 5048 /datarootdir/ {
 5049   p
 5050   q
 5051 }
 5052 /@datadir@/p
 5053 /@docdir@/p
 5054 /@infodir@/p
 5055 /@localedir@/p
 5056 /@mandir@/p'
 5057 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 5058 *datarootdir*) ac_datarootdir_seen=yes;;
 5059 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 5060   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 5061 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 5062 _ACEOF
 5063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5064   ac_datarootdir_hack='
 5065   s&@datadir@&$datadir&g
 5066   s&@docdir@&$docdir&g
 5067   s&@infodir@&$infodir&g
 5068   s&@localedir@&$localedir&g
 5069   s&@mandir@&$mandir&g
 5070   s&\\\${datarootdir}&$datarootdir&g' ;;
 5071 esac
 5072 _ACEOF
 5073 
 5074 # Neutralize VPATH when `$srcdir' = `.'.
 5075 # Shell code in configure.ac might set extrasub.
 5076 # FIXME: do we really want to maintain this feature?
 5077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5078 ac_sed_extra="$ac_vpsub
 5079 $extrasub
 5080 _ACEOF
 5081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5082 :t
 5083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 5084 s|@configure_input@|$ac_sed_conf_input|;t t
 5085 s&@top_builddir@&$ac_top_builddir_sub&;t t
 5086 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 5087 s&@srcdir@&$ac_srcdir&;t t
 5088 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 5089 s&@top_srcdir@&$ac_top_srcdir&;t t
 5090 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 5091 s&@builddir@&$ac_builddir&;t t
 5092 s&@abs_builddir@&$ac_abs_builddir&;t t
 5093 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 5094 $ac_datarootdir_hack
 5095 "
 5096 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 5097   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5098 
 5099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 5100   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 5101   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 5102       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 5103   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5104 which seems to be undefined.  Please make sure it is defined" >&5
 5105 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5106 which seems to be undefined.  Please make sure it is defined" >&2;}
 5107 
 5108   rm -f "$ac_tmp/stdin"
 5109   case $ac_file in
 5110   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 5111   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 5112   esac \
 5113   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5114  ;;
 5115 
 5116 
 5117 
 5118   esac
 5119 
 5120 done # for ac_tag
 5121 
 5122 
 5123 as_fn_exit 0
 5124 _ACEOF
 5125 ac_clean_files=$ac_clean_files_save
 5126 
 5127 test $ac_write_fail = 0 ||
 5128   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 5129 
 5130 
 5131 # configure is writing to config.log, and then calls config.status.
 5132 # config.status does its own redirection, appending to config.log.
 5133 # Unfortunately, on DOS this fails, as config.log is still kept open
 5134 # by configure, so config.status won't be able to write to it; its
 5135 # output is simply discarded.  So we exec the FD to /dev/null,
 5136 # effectively closing config.log, so it can be properly (re)opened and
 5137 # appended to by config.status.  When coming back to configure, we
 5138 # need to make the FD available again.
 5139 if test "$no_create" != yes; then
 5140   ac_cs_success=:
 5141   ac_config_status_args=
 5142   test "$silent" = yes &&
 5143     ac_config_status_args="$ac_config_status_args --quiet"
 5144   exec 5>/dev/null
 5145   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 5146   exec 5>>config.log
 5147   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 5148   # would make configure fail if this is the last instruction.
 5149   $ac_cs_success || as_fn_exit 1
 5150 fi
 5151 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 5152   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 5153 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 5154 fi
 5155