"Fossies" - the Fresh Open Source Software Archive

Member "logrotate-3.18.1/configure" (21 May 2021, 215910 Bytes) of package /linux/privat/logrotate-3.18.1.tar.xz:


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. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 3.18.0_vs_3.18.1.

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