"Fossies" - the Fresh Open Source Software Archive

Member "dosemu-1.4.0/configure" (3 May 2007, 298566 Bytes) of package /linux/misc/old/dosemu-1.4.0.tgz:


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

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