"Fossies" - the Fresh Open Source Software Archive

Member "nmh-1.7.1/configure" (6 Mar 2018, 258337 Bytes) of package /linux/misc/nmh-1.7.1.tar.gz:


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 reports for "configure": 1.7.1-RC3_vs_1.7.1 or 1.7_vs_1.7.1.

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