"Fossies" - the Fresh Open Source Software Archive

Member "links-1.04/configure" (24 Nov 2019, 261924 Bytes) of package /linux/www/links-1.04.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 1.03_vs_1.04.

    1 #! /bin/sh
    2 
    3 # Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.13 
    5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    6 #
    7 # This configure script is free software; the Free Software Foundation
    8 # gives unlimited permission to copy, distribute and modify it.
    9 
   10 # Defaults:
   11 ac_help=
   12 ac_default_prefix=/usr/local
   13 # Any additions from configure.in:
   14 ac_help="$ac_help
   15   --with-ssl(=directory)  enable SSL support"
   16 
   17 # Initialize some variables set by options.
   18 # The variables have the same names as the options, with
   19 # dashes changed to underlines.
   20 build=NONE
   21 cache_file=./config.cache
   22 exec_prefix=NONE
   23 host=NONE
   24 no_create=
   25 nonopt=NONE
   26 no_recursion=
   27 prefix=NONE
   28 program_prefix=NONE
   29 program_suffix=NONE
   30 program_transform_name=s,x,x,
   31 silent=
   32 site=
   33 srcdir=
   34 target=NONE
   35 verbose=
   36 x_includes=NONE
   37 x_libraries=NONE
   38 bindir='${exec_prefix}/bin'
   39 sbindir='${exec_prefix}/sbin'
   40 libexecdir='${exec_prefix}/libexec'
   41 datadir='${prefix}/share'
   42 sysconfdir='${prefix}/etc'
   43 sharedstatedir='${prefix}/com'
   44 localstatedir='${prefix}/var'
   45 libdir='${exec_prefix}/lib'
   46 includedir='${prefix}/include'
   47 oldincludedir='/usr/include'
   48 infodir='${prefix}/info'
   49 mandir='${prefix}/man'
   50 
   51 # Initialize some other variables.
   52 subdirs=
   53 MFLAGS= MAKEFLAGS=
   54 SHELL=${CONFIG_SHELL-/bin/sh}
   55 # Maximum number of lines to put in a shell here document.
   56 ac_max_here_lines=12
   57 
   58 ac_prev=
   59 for ac_option
   60 do
   61 
   62   # If the previous option needs an argument, assign it.
   63   if test -n "$ac_prev"; then
   64     eval "$ac_prev=\$ac_option"
   65     ac_prev=
   66     continue
   67   fi
   68 
   69   case "$ac_option" in
   70   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
   71   *) ac_optarg= ;;
   72   esac
   73 
   74   # Accept the important Cygnus configure options, so we can diagnose typos.
   75 
   76   case "$ac_option" in
   77 
   78   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   79     ac_prev=bindir ;;
   80   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   81     bindir="$ac_optarg" ;;
   82 
   83   -build | --build | --buil | --bui | --bu)
   84     ac_prev=build ;;
   85   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   86     build="$ac_optarg" ;;
   87 
   88   -cache-file | --cache-file | --cache-fil | --cache-fi \
   89   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   90     ac_prev=cache_file ;;
   91   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   92   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   93     cache_file="$ac_optarg" ;;
   94 
   95   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
   96     ac_prev=datadir ;;
   97   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
   98   | --da=*)
   99     datadir="$ac_optarg" ;;
  100 
  101   -disable-* | --disable-*)
  102     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  103     # Reject names that are not valid shell variable names.
  104     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  105       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  106     fi
  107     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  108     eval "enable_${ac_feature}=no" ;;
  109 
  110   -enable-* | --enable-*)
  111     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  112     # Reject names that are not valid shell variable names.
  113     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  114       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  115     fi
  116     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  117     case "$ac_option" in
  118       *=*) ;;
  119       *) ac_optarg=yes ;;
  120     esac
  121     eval "enable_${ac_feature}='$ac_optarg'" ;;
  122 
  123   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  124   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  125   | --exec | --exe | --ex)
  126     ac_prev=exec_prefix ;;
  127   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  128   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  129   | --exec=* | --exe=* | --ex=*)
  130     exec_prefix="$ac_optarg" ;;
  131 
  132   -gas | --gas | --ga | --g)
  133     # Obsolete; use --with-gas.
  134     with_gas=yes ;;
  135 
  136   -help | --help | --hel | --he)
  137     # Omit some internal or obsolete options to make the list less imposing.
  138     # This message is too long to be a string in the A/UX 3.1 sh.
  139     cat << EOF
  140 Usage: configure [options] [host]
  141 Options: [defaults in brackets after descriptions]
  142 Configuration:
  143   --cache-file=FILE       cache test results in FILE
  144   --help                  print this message
  145   --no-create             do not create output files
  146   --quiet, --silent       do not print \`checking...' messages
  147   --version               print the version of autoconf that created configure
  148 Directory and file names:
  149   --prefix=PREFIX         install architecture-independent files in PREFIX
  150                           [$ac_default_prefix]
  151   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  152                           [same as prefix]
  153   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  154   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  155   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  156   --datadir=DIR           read-only architecture-independent data in DIR
  157                           [PREFIX/share]
  158   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  159   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  160                           [PREFIX/com]
  161   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  162   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  163   --includedir=DIR        C header files in DIR [PREFIX/include]
  164   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  165   --infodir=DIR           info documentation in DIR [PREFIX/info]
  166   --mandir=DIR            man documentation in DIR [PREFIX/man]
  167   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  168   --program-prefix=PREFIX prepend PREFIX to installed program names
  169   --program-suffix=SUFFIX append SUFFIX to installed program names
  170   --program-transform-name=PROGRAM
  171                           run sed PROGRAM on installed program names
  172 EOF
  173     cat << EOF
  174 Host type:
  175   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  176   --host=HOST             configure for HOST [guessed]
  177   --target=TARGET         configure for TARGET [TARGET=HOST]
  178 Features and packages:
  179   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  180   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  181   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  182   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  183   --x-includes=DIR        X include files are in DIR
  184   --x-libraries=DIR       X library files are in DIR
  185 EOF
  186     if test -n "$ac_help"; then
  187       echo "--enable and --with options recognized:$ac_help"
  188     fi
  189     exit 0 ;;
  190 
  191   -host | --host | --hos | --ho)
  192     ac_prev=host ;;
  193   -host=* | --host=* | --hos=* | --ho=*)
  194     host="$ac_optarg" ;;
  195 
  196   -includedir | --includedir | --includedi | --included | --include \
  197   | --includ | --inclu | --incl | --inc)
  198     ac_prev=includedir ;;
  199   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  200   | --includ=* | --inclu=* | --incl=* | --inc=*)
  201     includedir="$ac_optarg" ;;
  202 
  203   -infodir | --infodir | --infodi | --infod | --info | --inf)
  204     ac_prev=infodir ;;
  205   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  206     infodir="$ac_optarg" ;;
  207 
  208   -libdir | --libdir | --libdi | --libd)
  209     ac_prev=libdir ;;
  210   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  211     libdir="$ac_optarg" ;;
  212 
  213   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  214   | --libexe | --libex | --libe)
  215     ac_prev=libexecdir ;;
  216   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  217   | --libexe=* | --libex=* | --libe=*)
  218     libexecdir="$ac_optarg" ;;
  219 
  220   -localstatedir | --localstatedir | --localstatedi | --localstated \
  221   | --localstate | --localstat | --localsta | --localst \
  222   | --locals | --local | --loca | --loc | --lo)
  223     ac_prev=localstatedir ;;
  224   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  225   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  226   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  227     localstatedir="$ac_optarg" ;;
  228 
  229   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  230     ac_prev=mandir ;;
  231   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  232     mandir="$ac_optarg" ;;
  233 
  234   -nfp | --nfp | --nf)
  235     # Obsolete; use --without-fp.
  236     with_fp=no ;;
  237 
  238   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  239   | --no-cr | --no-c)
  240     no_create=yes ;;
  241 
  242   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  243   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  244     no_recursion=yes ;;
  245 
  246   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  247   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  248   | --oldin | --oldi | --old | --ol | --o)
  249     ac_prev=oldincludedir ;;
  250   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  251   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  252   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  253     oldincludedir="$ac_optarg" ;;
  254 
  255   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  256     ac_prev=prefix ;;
  257   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  258     prefix="$ac_optarg" ;;
  259 
  260   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  261   | --program-pre | --program-pr | --program-p)
  262     ac_prev=program_prefix ;;
  263   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  264   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  265     program_prefix="$ac_optarg" ;;
  266 
  267   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  268   | --program-suf | --program-su | --program-s)
  269     ac_prev=program_suffix ;;
  270   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  271   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  272     program_suffix="$ac_optarg" ;;
  273 
  274   -program-transform-name | --program-transform-name \
  275   | --program-transform-nam | --program-transform-na \
  276   | --program-transform-n | --program-transform- \
  277   | --program-transform | --program-transfor \
  278   | --program-transfo | --program-transf \
  279   | --program-trans | --program-tran \
  280   | --progr-tra | --program-tr | --program-t)
  281     ac_prev=program_transform_name ;;
  282   -program-transform-name=* | --program-transform-name=* \
  283   | --program-transform-nam=* | --program-transform-na=* \
  284   | --program-transform-n=* | --program-transform-=* \
  285   | --program-transform=* | --program-transfor=* \
  286   | --program-transfo=* | --program-transf=* \
  287   | --program-trans=* | --program-tran=* \
  288   | --progr-tra=* | --program-tr=* | --program-t=*)
  289     program_transform_name="$ac_optarg" ;;
  290 
  291   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  292   | -silent | --silent | --silen | --sile | --sil)
  293     silent=yes ;;
  294 
  295   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  296     ac_prev=sbindir ;;
  297   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  298   | --sbi=* | --sb=*)
  299     sbindir="$ac_optarg" ;;
  300 
  301   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  302   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  303   | --sharedst | --shareds | --shared | --share | --shar \
  304   | --sha | --sh)
  305     ac_prev=sharedstatedir ;;
  306   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  307   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  308   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  309   | --sha=* | --sh=*)
  310     sharedstatedir="$ac_optarg" ;;
  311 
  312   -site | --site | --sit)
  313     ac_prev=site ;;
  314   -site=* | --site=* | --sit=*)
  315     site="$ac_optarg" ;;
  316 
  317   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  318     ac_prev=srcdir ;;
  319   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  320     srcdir="$ac_optarg" ;;
  321 
  322   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  323   | --syscon | --sysco | --sysc | --sys | --sy)
  324     ac_prev=sysconfdir ;;
  325   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  326   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  327     sysconfdir="$ac_optarg" ;;
  328 
  329   -target | --target | --targe | --targ | --tar | --ta | --t)
  330     ac_prev=target ;;
  331   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  332     target="$ac_optarg" ;;
  333 
  334   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  335     verbose=yes ;;
  336 
  337   -version | --version | --versio | --versi | --vers)
  338     echo "configure generated by autoconf version 2.13"
  339     exit 0 ;;
  340 
  341   -with-* | --with-*)
  342     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  343     # Reject names that are not valid shell variable names.
  344     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  345       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  346     fi
  347     ac_package=`echo $ac_package| sed 's/-/_/g'`
  348     case "$ac_option" in
  349       *=*) ;;
  350       *) ac_optarg=yes ;;
  351     esac
  352     eval "with_${ac_package}='$ac_optarg'" ;;
  353 
  354   -without-* | --without-*)
  355     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  356     # Reject names that are not valid shell variable names.
  357     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  358       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  359     fi
  360     ac_package=`echo $ac_package| sed 's/-/_/g'`
  361     eval "with_${ac_package}=no" ;;
  362 
  363   --x)
  364     # Obsolete; use --with-x.
  365     with_x=yes ;;
  366 
  367   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  368   | --x-incl | --x-inc | --x-in | --x-i)
  369     ac_prev=x_includes ;;
  370   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  371   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  372     x_includes="$ac_optarg" ;;
  373 
  374   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  375   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  376     ac_prev=x_libraries ;;
  377   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  378   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  379     x_libraries="$ac_optarg" ;;
  380 
  381   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  382     ;;
  383 
  384   *)
  385     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  386       echo "configure: warning: $ac_option: invalid host type" 1>&2
  387     fi
  388     if test "x$nonopt" != xNONE; then
  389       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  390     fi
  391     nonopt="$ac_option"
  392     ;;
  393 
  394   esac
  395 done
  396 
  397 if test -n "$ac_prev"; then
  398   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  399 fi
  400 
  401 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  402 
  403 # File descriptor usage:
  404 # 0 standard input
  405 # 1 file creation
  406 # 2 errors and warnings
  407 # 3 some systems may open it to /dev/tty
  408 # 4 used on the Kubota Titan
  409 # 6 checking for... messages and results
  410 # 5 compiler messages saved in config.log
  411 if test "$silent" = yes; then
  412   exec 6>/dev/null
  413 else
  414   exec 6>&1
  415 fi
  416 exec 5>./config.log
  417 
  418 echo "\
  419 This file contains any messages produced by compilers while
  420 running configure, to aid debugging if configure makes a mistake.
  421 " 1>&5
  422 
  423 # Strip out --no-create and --no-recursion so they do not pile up.
  424 # Also quote any args containing shell metacharacters.
  425 ac_configure_args=
  426 for ac_arg
  427 do
  428   case "$ac_arg" in
  429   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  430   | --no-cr | --no-c) ;;
  431   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  432   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  433   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  434   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  435   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  436   esac
  437 done
  438 
  439 # NLS nuisances.
  440 # Only set these to C if already set.  These must not be set unconditionally
  441 # because not all systems understand e.g. LANG=C (notably SCO).
  442 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  443 # Non-C LC_CTYPE values break the ctype check.
  444 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  445 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  446 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  447 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  448 
  449 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  450 rm -rf conftest* confdefs.h
  451 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  452 echo > confdefs.h
  453 
  454 # A filename unique to this package, relative to the directory that
  455 # configure is in, which we can look for to find out if srcdir is correct.
  456 ac_unique_file=main.c
  457 
  458 # Find the source files, if location was not specified.
  459 if test -z "$srcdir"; then
  460   ac_srcdir_defaulted=yes
  461   # Try the directory containing this script, then its parent.
  462   ac_prog=$0
  463   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  464   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  465   srcdir=$ac_confdir
  466   if test ! -r $srcdir/$ac_unique_file; then
  467     srcdir=..
  468   fi
  469 else
  470   ac_srcdir_defaulted=no
  471 fi
  472 if test ! -r $srcdir/$ac_unique_file; then
  473   if test "$ac_srcdir_defaulted" = yes; then
  474     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  475   else
  476     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  477   fi
  478 fi
  479 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  480 
  481 # Prefer explicitly selected file to automatically selected ones.
  482 if test -z "$CONFIG_SITE"; then
  483   if test "x$prefix" != xNONE; then
  484     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  485   else
  486     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  487   fi
  488 fi
  489 for ac_site_file in $CONFIG_SITE; do
  490   if test -r "$ac_site_file"; then
  491     echo "loading site script $ac_site_file"
  492     . "$ac_site_file"
  493   fi
  494 done
  495 
  496 if test -r "$cache_file"; then
  497   echo "loading cache $cache_file"
  498   . $cache_file
  499 else
  500   echo "creating cache $cache_file"
  501   > $cache_file
  502 fi
  503 
  504 ac_ext=c
  505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  506 ac_cpp='$CPP $CPPFLAGS'
  507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  509 cross_compiling=$ac_cv_prog_cc_cross
  510 
  511 ac_exeext=
  512 ac_objext=o
  513 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  514   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  515   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  516     ac_n= ac_c='
  517 ' ac_t='    '
  518   else
  519     ac_n=-n ac_c= ac_t=
  520   fi
  521 else
  522   ac_n= ac_c='\c' ac_t=
  523 fi
  524 
  525 
  526 
  527 ac_aux_dir=
  528 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  529   if test -f $ac_dir/install-sh; then
  530     ac_aux_dir=$ac_dir
  531     ac_install_sh="$ac_aux_dir/install-sh -c"
  532     break
  533   elif test -f $ac_dir/install.sh; then
  534     ac_aux_dir=$ac_dir
  535     ac_install_sh="$ac_aux_dir/install.sh -c"
  536     break
  537   fi
  538 done
  539 if test -z "$ac_aux_dir"; then
  540   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  541 fi
  542 ac_config_guess=$ac_aux_dir/config.guess
  543 ac_config_sub=$ac_aux_dir/config.sub
  544 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  545 
  546 am__api_version="1.4"
  547 # Find a good install program.  We prefer a C program (faster),
  548 # so one script is as good as another.  But avoid the broken or
  549 # incompatible versions:
  550 # SysV /etc/install, /usr/sbin/install
  551 # SunOS /usr/etc/install
  552 # IRIX /sbin/install
  553 # AIX /bin/install
  554 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  557 # ./install, which can be erroneously created by make from ./install.sh.
  558 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  559 echo "configure:560: checking for a BSD compatible install" >&5
  560 if test -z "$INSTALL"; then
  561 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  562   echo $ac_n "(cached) $ac_c" 1>&6
  563 else
  564     IFS="${IFS=     }"; ac_save_IFS="$IFS"; IFS=":"
  565   for ac_dir in $PATH; do
  566     # Account for people who put trailing slashes in PATH elements.
  567     case "$ac_dir/" in
  568     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  569     *)
  570       # OSF1 and SCO ODT 3.0 have their own names for install.
  571       # Don't use installbsd from OSF since it installs stuff as root
  572       # by default.
  573       for ac_prog in ginstall scoinst install; do
  574         if test -f $ac_dir/$ac_prog; then
  575       if test $ac_prog = install &&
  576             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  577         # AIX install.  It has an incompatible calling convention.
  578         :
  579       else
  580         ac_cv_path_install="$ac_dir/$ac_prog -c"
  581         break 2
  582       fi
  583     fi
  584       done
  585       ;;
  586     esac
  587   done
  588   IFS="$ac_save_IFS"
  589 
  590 fi
  591   if test "${ac_cv_path_install+set}" = set; then
  592     INSTALL="$ac_cv_path_install"
  593   else
  594     # As a last resort, use the slow shell script.  We don't cache a
  595     # path for INSTALL within a source directory, because that will
  596     # break other packages using the cache if that directory is
  597     # removed, or if the path is relative.
  598     INSTALL="$ac_install_sh"
  599   fi
  600 fi
  601 echo "$ac_t""$INSTALL" 1>&6
  602 
  603 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  604 # It thinks the first close brace ends the variable substitution.
  605 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  606 
  607 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  608 
  609 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  610 
  611 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
  612 echo "configure:613: checking whether build environment is sane" >&5
  613 # Just in case
  614 sleep 1
  615 echo timestamp > conftestfile
  616 # Do `set' in a subshell so we don't clobber the current shell's
  617 # arguments.  Must try -L first in case configure is actually a
  618 # symlink; some systems play weird games with the mod time of symlinks
  619 # (eg FreeBSD returns the mod time of the symlink's containing
  620 # directory).
  621 if (
  622    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
  623    if test "$*" = "X"; then
  624       # -L didn't work.
  625       set X `ls -t $srcdir/configure conftestfile`
  626    fi
  627    if test "$*" != "X $srcdir/configure conftestfile" \
  628       && test "$*" != "X conftestfile $srcdir/configure"; then
  629 
  630       # If neither matched, then we have a broken ls.  This can happen
  631       # if, for instance, CONFIG_SHELL is bash and it inherits a
  632       # broken ls alias from the environment.  This has actually
  633       # happened.  Such a system could not be considered "sane".
  634       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
  635 alias in your environment" 1>&2; exit 1; }
  636    fi
  637 
  638    test "$2" = conftestfile
  639    )
  640 then
  641    # Ok.
  642    :
  643 else
  644    { echo "configure: error: newly created file is older than distributed files!
  645 Check your system clock" 1>&2; exit 1; }
  646 fi
  647 rm -f conftest*
  648 echo "$ac_t""yes" 1>&6
  649 if test "$program_transform_name" = s,x,x,; then
  650   program_transform_name=
  651 else
  652   # Double any \ or $.  echo might interpret backslashes.
  653   cat <<\EOF_SED > conftestsed
  654 s,\\,\\\\,g; s,\$,$$,g
  655 EOF_SED
  656   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  657   rm -f conftestsed
  658 fi
  659 test "$program_prefix" != NONE &&
  660   program_transform_name="s,^,${program_prefix},; $program_transform_name"
  661 # Use a double $ so make ignores it.
  662 test "$program_suffix" != NONE &&
  663   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
  664 
  665 # sed with no file args requires a program.
  666 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
  667 
  668 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  669 echo "configure:670: checking whether ${MAKE-make} sets \${MAKE}" >&5
  670 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  671 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  672   echo $ac_n "(cached) $ac_c" 1>&6
  673 else
  674   cat > conftestmake <<\EOF
  675 all:
  676     @echo 'ac_maketemp="${MAKE}"'
  677 EOF
  678 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  679 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  680 if test -n "$ac_maketemp"; then
  681   eval ac_cv_prog_make_${ac_make}_set=yes
  682 else
  683   eval ac_cv_prog_make_${ac_make}_set=no
  684 fi
  685 rm -f conftestmake
  686 fi
  687 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  688   echo "$ac_t""yes" 1>&6
  689   SET_MAKE=
  690 else
  691   echo "$ac_t""no" 1>&6
  692   SET_MAKE="MAKE=${MAKE-make}"
  693 fi
  694 
  695 
  696 PACKAGE=links
  697 
  698 VERSION=1.04
  699 
  700 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
  701   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
  702 fi
  703 cat >> confdefs.h <<EOF
  704 #define PACKAGE "$PACKAGE"
  705 EOF
  706 
  707 cat >> confdefs.h <<EOF
  708 #define VERSION "$VERSION"
  709 EOF
  710 
  711 
  712 
  713 missing_dir=`cd $ac_aux_dir && pwd`
  714 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
  715 echo "configure:716: checking for working aclocal-${am__api_version}" >&5
  716 # Run test in a subshell; some versions of sh will print an error if
  717 # an executable is not found, even if stderr is redirected.
  718 # Redirect stdin to placate older versions of autoconf.  Sigh.
  719 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
  720    ACLOCAL=aclocal-${am__api_version}
  721    echo "$ac_t""found" 1>&6
  722 else
  723    ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
  724    echo "$ac_t""missing" 1>&6
  725 fi
  726 
  727 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
  728 echo "configure:729: checking for working autoconf" >&5
  729 # Run test in a subshell; some versions of sh will print an error if
  730 # an executable is not found, even if stderr is redirected.
  731 # Redirect stdin to placate older versions of autoconf.  Sigh.
  732 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
  733    AUTOCONF=autoconf
  734    echo "$ac_t""found" 1>&6
  735 else
  736    AUTOCONF="$missing_dir/missing autoconf"
  737    echo "$ac_t""missing" 1>&6
  738 fi
  739 
  740 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
  741 echo "configure:742: checking for working automake-${am__api_version}" >&5
  742 # Run test in a subshell; some versions of sh will print an error if
  743 # an executable is not found, even if stderr is redirected.
  744 # Redirect stdin to placate older versions of autoconf.  Sigh.
  745 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
  746    AUTOMAKE=automake-${am__api_version}
  747    echo "$ac_t""found" 1>&6
  748 else
  749    AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
  750    echo "$ac_t""missing" 1>&6
  751 fi
  752 
  753 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
  754 echo "configure:755: checking for working autoheader" >&5
  755 # Run test in a subshell; some versions of sh will print an error if
  756 # an executable is not found, even if stderr is redirected.
  757 # Redirect stdin to placate older versions of autoconf.  Sigh.
  758 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
  759    AUTOHEADER=autoheader
  760    echo "$ac_t""found" 1>&6
  761 else
  762    AUTOHEADER="$missing_dir/missing autoheader"
  763    echo "$ac_t""missing" 1>&6
  764 fi
  765 
  766 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
  767 echo "configure:768: checking for working makeinfo" >&5
  768 # Run test in a subshell; some versions of sh will print an error if
  769 # an executable is not found, even if stderr is redirected.
  770 # Redirect stdin to placate older versions of autoconf.  Sigh.
  771 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
  772    MAKEINFO=makeinfo
  773    echo "$ac_t""found" 1>&6
  774 else
  775    MAKEINFO="$missing_dir/missing makeinfo"
  776    echo "$ac_t""missing" 1>&6
  777 fi
  778 
  779 
  780 
  781 ACLOCAL="./missing aclocal"
  782 AUTOCONF="./missing autoconf"
  783 AUTOMAKE="./missing automake"
  784 AUTOHEADER="./missing autoheader"
  785 
  786 
  787 
  788 
  789 
  790 # Extract the first word of "gcc", so it can be a program name with args.
  791 set dummy gcc; ac_word=$2
  792 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  793 echo "configure:794: checking for $ac_word" >&5
  794 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  795   echo $ac_n "(cached) $ac_c" 1>&6
  796 else
  797   if test -n "$CC"; then
  798   ac_cv_prog_CC="$CC" # Let the user override the test.
  799 else
  800   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
  801   ac_dummy="$PATH"
  802   for ac_dir in $ac_dummy; do
  803     test -z "$ac_dir" && ac_dir=.
  804     if test -f $ac_dir/$ac_word; then
  805       ac_cv_prog_CC="gcc"
  806       break
  807     fi
  808   done
  809   IFS="$ac_save_ifs"
  810 fi
  811 fi
  812 CC="$ac_cv_prog_CC"
  813 if test -n "$CC"; then
  814   echo "$ac_t""$CC" 1>&6
  815 else
  816   echo "$ac_t""no" 1>&6
  817 fi
  818 
  819 if test -z "$CC"; then
  820   # Extract the first word of "cc", so it can be a program name with args.
  821 set dummy cc; ac_word=$2
  822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  823 echo "configure:824: checking for $ac_word" >&5
  824 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  825   echo $ac_n "(cached) $ac_c" 1>&6
  826 else
  827   if test -n "$CC"; then
  828   ac_cv_prog_CC="$CC" # Let the user override the test.
  829 else
  830   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
  831   ac_prog_rejected=no
  832   ac_dummy="$PATH"
  833   for ac_dir in $ac_dummy; do
  834     test -z "$ac_dir" && ac_dir=.
  835     if test -f $ac_dir/$ac_word; then
  836       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  837         ac_prog_rejected=yes
  838     continue
  839       fi
  840       ac_cv_prog_CC="cc"
  841       break
  842     fi
  843   done
  844   IFS="$ac_save_ifs"
  845 if test $ac_prog_rejected = yes; then
  846   # We found a bogon in the path, so make sure we never use it.
  847   set dummy $ac_cv_prog_CC
  848   shift
  849   if test $# -gt 0; then
  850     # We chose a different compiler from the bogus one.
  851     # However, it has the same basename, so the bogon will be chosen
  852     # first if we set CC to just the basename; use the full file name.
  853     shift
  854     set dummy "$ac_dir/$ac_word" "$@"
  855     shift
  856     ac_cv_prog_CC="$@"
  857   fi
  858 fi
  859 fi
  860 fi
  861 CC="$ac_cv_prog_CC"
  862 if test -n "$CC"; then
  863   echo "$ac_t""$CC" 1>&6
  864 else
  865   echo "$ac_t""no" 1>&6
  866 fi
  867 
  868   if test -z "$CC"; then
  869     case "`uname -s`" in
  870     *win32* | *WIN32*)
  871       # Extract the first word of "cl", so it can be a program name with args.
  872 set dummy cl; ac_word=$2
  873 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  874 echo "configure:875: checking for $ac_word" >&5
  875 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  876   echo $ac_n "(cached) $ac_c" 1>&6
  877 else
  878   if test -n "$CC"; then
  879   ac_cv_prog_CC="$CC" # Let the user override the test.
  880 else
  881   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
  882   ac_dummy="$PATH"
  883   for ac_dir in $ac_dummy; do
  884     test -z "$ac_dir" && ac_dir=.
  885     if test -f $ac_dir/$ac_word; then
  886       ac_cv_prog_CC="cl"
  887       break
  888     fi
  889   done
  890   IFS="$ac_save_ifs"
  891 fi
  892 fi
  893 CC="$ac_cv_prog_CC"
  894 if test -n "$CC"; then
  895   echo "$ac_t""$CC" 1>&6
  896 else
  897   echo "$ac_t""no" 1>&6
  898 fi
  899  ;;
  900     esac
  901   fi
  902   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  903 fi
  904 
  905 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  906 echo "configure:907: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  907 
  908 ac_ext=c
  909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  910 ac_cpp='$CPP $CPPFLAGS'
  911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  913 cross_compiling=$ac_cv_prog_cc_cross
  914 
  915 cat > conftest.$ac_ext << EOF
  916 
  917 #line 918 "configure"
  918 #include "confdefs.h"
  919 
  920 main(){return(0);}
  921 EOF
  922 if { (eval echo configure:923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  923   ac_cv_prog_cc_works=yes
  924   # If we can't run a trivial program, we are probably using a cross compiler.
  925   if (./conftest; exit) 2>/dev/null; then
  926     ac_cv_prog_cc_cross=no
  927   else
  928     ac_cv_prog_cc_cross=yes
  929   fi
  930 else
  931   echo "configure: failed program was:" >&5
  932   cat conftest.$ac_ext >&5
  933   ac_cv_prog_cc_works=no
  934 fi
  935 rm -fr conftest*
  936 ac_ext=c
  937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  938 ac_cpp='$CPP $CPPFLAGS'
  939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  941 cross_compiling=$ac_cv_prog_cc_cross
  942 
  943 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  944 if test $ac_cv_prog_cc_works = no; then
  945   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  946 fi
  947 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  948 echo "configure:949: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  949 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  950 cross_compiling=$ac_cv_prog_cc_cross
  951 
  952 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  953 echo "configure:954: checking whether we are using GNU C" >&5
  954 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  955   echo $ac_n "(cached) $ac_c" 1>&6
  956 else
  957   cat > conftest.c <<EOF
  958 #ifdef __GNUC__
  959   yes;
  960 #endif
  961 EOF
  962 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  963   ac_cv_prog_gcc=yes
  964 else
  965   ac_cv_prog_gcc=no
  966 fi
  967 fi
  968 
  969 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  970 
  971 if test $ac_cv_prog_gcc = yes; then
  972   GCC=yes
  973 else
  974   GCC=
  975 fi
  976 
  977 ac_test_CFLAGS="${CFLAGS+set}"
  978 ac_save_CFLAGS="$CFLAGS"
  979 CFLAGS=
  980 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  981 echo "configure:982: checking whether ${CC-cc} accepts -g" >&5
  982 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  983   echo $ac_n "(cached) $ac_c" 1>&6
  984 else
  985   echo 'void f(){}' > conftest.c
  986 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  987   ac_cv_prog_cc_g=yes
  988 else
  989   ac_cv_prog_cc_g=no
  990 fi
  991 rm -f conftest*
  992 
  993 fi
  994 
  995 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  996 if test "$ac_test_CFLAGS" = set; then
  997   CFLAGS="$ac_save_CFLAGS"
  998 elif test $ac_cv_prog_cc_g = yes; then
  999   if test "$GCC" = yes; then
 1000     CFLAGS="-g -O2"
 1001   else
 1002     CFLAGS="-g"
 1003   fi
 1004 else
 1005   if test "$GCC" = yes; then
 1006     CFLAGS="-O2"
 1007   else
 1008     CFLAGS=
 1009   fi
 1010 fi
 1011 
 1012 
 1013 static_link=0
 1014 if test -n "`echo "$CC" "$LDFLAGS" "$CFLAGS" "$LIBS" | grep 'static\>'`"; then
 1015     static_link=1
 1016 fi
 1017 
 1018 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 1019 echo "configure:1020: checking how to run the C preprocessor" >&5
 1020 # On Suns, sometimes $CPP names a directory.
 1021 if test -n "$CPP" && test -d "$CPP"; then
 1022   CPP=
 1023 fi
 1024 if test -z "$CPP"; then
 1025 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 1026   echo $ac_n "(cached) $ac_c" 1>&6
 1027 else
 1028     # This must be in double quotes, not single quotes, because CPP may get
 1029   # substituted into the Makefile and "${CC-cc}" will confuse make.
 1030   CPP="${CC-cc} -E"
 1031   # On the NeXT, cc -E runs the code through the compiler's parser,
 1032   # not just through cpp.
 1033   cat > conftest.$ac_ext <<EOF
 1034 #line 1035 "configure"
 1035 #include "confdefs.h"
 1036 #include <assert.h>
 1037 Syntax Error
 1038 EOF
 1039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1040 { (eval echo configure:1041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1042 if test -z "$ac_err"; then
 1043   :
 1044 else
 1045   echo "$ac_err" >&5
 1046   echo "configure: failed program was:" >&5
 1047   cat conftest.$ac_ext >&5
 1048   rm -rf conftest*
 1049   CPP="${CC-cc} -E -traditional-cpp"
 1050   cat > conftest.$ac_ext <<EOF
 1051 #line 1052 "configure"
 1052 #include "confdefs.h"
 1053 #include <assert.h>
 1054 Syntax Error
 1055 EOF
 1056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1057 { (eval echo configure:1058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1059 if test -z "$ac_err"; then
 1060   :
 1061 else
 1062   echo "$ac_err" >&5
 1063   echo "configure: failed program was:" >&5
 1064   cat conftest.$ac_ext >&5
 1065   rm -rf conftest*
 1066   CPP="${CC-cc} -nologo -E"
 1067   cat > conftest.$ac_ext <<EOF
 1068 #line 1069 "configure"
 1069 #include "confdefs.h"
 1070 #include <assert.h>
 1071 Syntax Error
 1072 EOF
 1073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1074 { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1076 if test -z "$ac_err"; then
 1077   :
 1078 else
 1079   echo "$ac_err" >&5
 1080   echo "configure: failed program was:" >&5
 1081   cat conftest.$ac_ext >&5
 1082   rm -rf conftest*
 1083   CPP=/lib/cpp
 1084 fi
 1085 rm -f conftest*
 1086 fi
 1087 rm -f conftest*
 1088 fi
 1089 rm -f conftest*
 1090   ac_cv_prog_CPP="$CPP"
 1091 fi
 1092   CPP="$ac_cv_prog_CPP"
 1093 else
 1094   ac_cv_prog_CPP="$CPP"
 1095 fi
 1096 echo "$ac_t""$CPP" 1>&6
 1097 
 1098 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
 1099 echo "configure:1100: checking for ANSI C header files" >&5
 1100 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
 1101   echo $ac_n "(cached) $ac_c" 1>&6
 1102 else
 1103   cat > conftest.$ac_ext <<EOF
 1104 #line 1105 "configure"
 1105 #include "confdefs.h"
 1106 #include <stdlib.h>
 1107 #include <stdarg.h>
 1108 #include <string.h>
 1109 #include <float.h>
 1110 EOF
 1111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1112 { (eval echo configure:1113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1114 if test -z "$ac_err"; then
 1115   rm -rf conftest*
 1116   ac_cv_header_stdc=yes
 1117 else
 1118   echo "$ac_err" >&5
 1119   echo "configure: failed program was:" >&5
 1120   cat conftest.$ac_ext >&5
 1121   rm -rf conftest*
 1122   ac_cv_header_stdc=no
 1123 fi
 1124 rm -f conftest*
 1125 
 1126 if test $ac_cv_header_stdc = yes; then
 1127   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 1128 cat > conftest.$ac_ext <<EOF
 1129 #line 1130 "configure"
 1130 #include "confdefs.h"
 1131 #include <string.h>
 1132 EOF
 1133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1134   egrep "memchr" >/dev/null 2>&1; then
 1135   :
 1136 else
 1137   rm -rf conftest*
 1138   ac_cv_header_stdc=no
 1139 fi
 1140 rm -f conftest*
 1141 
 1142 fi
 1143 
 1144 if test $ac_cv_header_stdc = yes; then
 1145   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 1146 cat > conftest.$ac_ext <<EOF
 1147 #line 1148 "configure"
 1148 #include "confdefs.h"
 1149 #include <stdlib.h>
 1150 EOF
 1151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1152   egrep "free" >/dev/null 2>&1; then
 1153   :
 1154 else
 1155   rm -rf conftest*
 1156   ac_cv_header_stdc=no
 1157 fi
 1158 rm -f conftest*
 1159 
 1160 fi
 1161 
 1162 if test $ac_cv_header_stdc = yes; then
 1163   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 1164 if test "$cross_compiling" = yes; then
 1165   :
 1166 else
 1167   cat > conftest.$ac_ext <<EOF
 1168 #line 1169 "configure"
 1169 #include "confdefs.h"
 1170 #include <ctype.h>
 1171 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 1172 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 1173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 1174 int main () { int i; for (i = 0; i < 256; i++)
 1175 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
 1176 exit (0); }
 1177 
 1178 EOF
 1179 if { (eval echo configure:1180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 1180 then
 1181   :
 1182 else
 1183   echo "configure: failed program was:" >&5
 1184   cat conftest.$ac_ext >&5
 1185   rm -fr conftest*
 1186   ac_cv_header_stdc=no
 1187 fi
 1188 rm -fr conftest*
 1189 fi
 1190 
 1191 fi
 1192 fi
 1193 
 1194 echo "$ac_t""$ac_cv_header_stdc" 1>&6
 1195 if test $ac_cv_header_stdc = yes; then
 1196   cat >> confdefs.h <<\EOF
 1197 #define STDC_HEADERS 1
 1198 EOF
 1199 
 1200 fi
 1201 
 1202 if test $ac_cv_prog_gcc = yes; then
 1203     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
 1204 echo "configure:1205: checking whether ${CC-cc} needs -traditional" >&5
 1205 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
 1206   echo $ac_n "(cached) $ac_c" 1>&6
 1207 else
 1208     ac_pattern="Autoconf.*'x'"
 1209   cat > conftest.$ac_ext <<EOF
 1210 #line 1211 "configure"
 1211 #include "confdefs.h"
 1212 #include <sgtty.h>
 1213 Autoconf TIOCGETP
 1214 EOF
 1215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1216   egrep "$ac_pattern" >/dev/null 2>&1; then
 1217   rm -rf conftest*
 1218   ac_cv_prog_gcc_traditional=yes
 1219 else
 1220   rm -rf conftest*
 1221   ac_cv_prog_gcc_traditional=no
 1222 fi
 1223 rm -f conftest*
 1224 
 1225 
 1226   if test $ac_cv_prog_gcc_traditional = no; then
 1227     cat > conftest.$ac_ext <<EOF
 1228 #line 1229 "configure"
 1229 #include "confdefs.h"
 1230 #include <termio.h>
 1231 Autoconf TCGETA
 1232 EOF
 1233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1234   egrep "$ac_pattern" >/dev/null 2>&1; then
 1235   rm -rf conftest*
 1236   ac_cv_prog_gcc_traditional=yes
 1237 fi
 1238 rm -f conftest*
 1239 
 1240   fi
 1241 fi
 1242 
 1243 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
 1244   if test $ac_cv_prog_gcc_traditional = yes; then
 1245     CC="$CC -traditional"
 1246   fi
 1247 fi
 1248 
 1249 
 1250 echo $ac_n "checking for EMX""... $ac_c" 1>&6
 1251 echo "configure:1252: checking for EMX" >&5
 1252 cat > conftest.$ac_ext <<EOF
 1253 #line 1254 "configure"
 1254 #include "confdefs.h"
 1255 
 1256 int main() {
 1257 #ifndef __EMX__
 1258 kill me!
 1259 #endif 
 1260 ; return 0; }
 1261 EOF
 1262 if { (eval echo configure:1263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 1263   rm -rf conftest*
 1264   have_emx=yes
 1265 else
 1266   echo "configure: failed program was:" >&5
 1267   cat conftest.$ac_ext >&5
 1268   rm -rf conftest*
 1269   have_emx=no
 1270 fi
 1271 rm -f conftest*
 1272 echo "$ac_t""$have_emx" 1>&6
 1273 test "$ac_cv_have_emx" = yes && LDFLAGS="`echo "$LDFLAGS" | sed "s/-Zexe//g" | sed "s/-Zbin-files//g"`"
 1274 test "$ac_cv_have_emx" = yes && test "$static_link" = 0 && LDFLAGS="$LDFLAGS -Zcrtdll"
 1275 
 1276 echo $ac_n "checking for OpenWatcom""... $ac_c" 1>&6
 1277 echo "configure:1278: checking for OpenWatcom" >&5
 1278 if eval "test \"`echo '$''{'ac_cv_have_watcom'+set}'`\" = set"; then
 1279   echo $ac_n "(cached) $ac_c" 1>&6
 1280 else
 1281   cat > conftest.$ac_ext <<EOF
 1282 #line 1283 "configure"
 1283 #include "confdefs.h"
 1284 
 1285 int main() {
 1286 #ifndef __WATCOMC__
 1287     kill me!
 1288     #endif 
 1289 ; return 0; }
 1290 EOF
 1291 if { (eval echo configure:1292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 1292   rm -rf conftest*
 1293   ac_cv_have_watcom=yes
 1294 else
 1295   echo "configure: failed program was:" >&5
 1296   cat conftest.$ac_ext >&5
 1297   rm -rf conftest*
 1298   ac_cv_have_watcom=no
 1299 fi
 1300 rm -f conftest*
 1301 
 1302 fi
 1303 
 1304 echo "$ac_t""$ac_cv_have_watcom" 1>&6
 1305 test "$ac_cv_have_watcom" = yes && ac_cv_lib_dir_opendir=no
 1306 
 1307 echo $ac_n "checking for typeof""... $ac_c" 1>&6
 1308 echo "configure:1309: checking for typeof" >&5
 1309 cat > conftest.$ac_ext <<EOF
 1310 #line 1311 "configure"
 1311 #include "confdefs.h"
 1312 
 1313 int main() {
 1314 int a;
 1315 typeof(a) b;
 1316 ; return 0; }
 1317 EOF
 1318 if { (eval echo configure:1319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 1319   rm -rf conftest*
 1320   have_typeof=yes
 1321 else
 1322   echo "configure: failed program was:" >&5
 1323   cat conftest.$ac_ext >&5
 1324   rm -rf conftest*
 1325   have_typeof=no
 1326 fi
 1327 rm -f conftest*
 1328 echo "$ac_t""$have_typeof" 1>&6
 1329 test "$have_typeof" = yes && cat >> confdefs.h <<\EOF
 1330 #define HAVE_TYPEOF 1
 1331 EOF
 1332 
 1333 
 1334 echo $ac_n "checking for volatile""... $ac_c" 1>&6
 1335 echo "configure:1336: checking for volatile" >&5
 1336 if eval "test \"`echo '$''{'ac_cv_have_volatile'+set}'`\" = set"; then
 1337   echo $ac_n "(cached) $ac_c" 1>&6
 1338 else
 1339   cat > conftest.$ac_ext <<EOF
 1340 #line 1341 "configure"
 1341 #include "confdefs.h"
 1342 
 1343 int main() {
 1344 
 1345         volatile int a = 0;
 1346         return a;
 1347     
 1348 ; return 0; }
 1349 EOF
 1350 if { (eval echo configure:1351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 1351   rm -rf conftest*
 1352   ac_cv_have_volatile=yes
 1353 else
 1354   echo "configure: failed program was:" >&5
 1355   cat conftest.$ac_ext >&5
 1356   rm -rf conftest*
 1357   ac_cv_have_volatile=no
 1358 fi
 1359 rm -f conftest*
 1360 
 1361 fi
 1362 
 1363 echo "$ac_t""$ac_cv_have_volatile" 1>&6
 1364 if test "$ac_cv_have_volatile" = yes; then
 1365     cat >> confdefs.h <<\EOF
 1366 #define HAVE_VOLATILE 1
 1367 EOF
 1368 
 1369 fi
 1370 
 1371 
 1372 echo $ac_n "checking for long long""... $ac_c" 1>&6
 1373 echo "configure:1374: checking for long long" >&5
 1374 cat > conftest.$ac_ext <<EOF
 1375 #line 1376 "configure"
 1376 #include "confdefs.h"
 1377 
 1378 int main() {
 1379 unsigned long long a; 
 1380 ; return 0; }
 1381 EOF
 1382 if { (eval echo configure:1383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 1383   rm -rf conftest*
 1384   ac_cv_have_long_long=yes
 1385 else
 1386   echo "configure: failed program was:" >&5
 1387   cat conftest.$ac_ext >&5
 1388   rm -rf conftest*
 1389   ac_cv_have_long_long=no
 1390 fi
 1391 rm -f conftest*
 1392 echo "$ac_t""$ac_cv_have_long_long" 1>&6
 1393 test "$ac_cv_have_long_long" = yes && cat >> confdefs.h <<\EOF
 1394 #define HAVE_LONG_LONG 1
 1395 EOF
 1396 
 1397 
 1398 echo $ac_n "checking for pointer comparison bug""... $ac_c" 1>&6
 1399 echo "configure:1400: checking for pointer comparison bug" >&5
 1400 if eval "test \"`echo '$''{'ac_cv_pointer_comparison_bug'+set}'`\" = set"; then
 1401   echo $ac_n "(cached) $ac_c" 1>&6
 1402 else
 1403   if test "$cross_compiling" = yes; then
 1404   if test -n "`echo "$CC"|grep ^tcc`"; then
 1405             ac_cv_pointer_comparison_bug=yes
 1406         else
 1407             ac_cv_pointer_comparison_bug=no
 1408         fi
 1409     
 1410 else
 1411   cat > conftest.$ac_ext <<EOF
 1412 #line 1413 "configure"
 1413 #include "confdefs.h"
 1414 
 1415     int main()
 1416     {
 1417         void *p = (void *)-1L;
 1418         return p != (void *)-1L;
 1419     }
 1420     
 1421 EOF
 1422 if { (eval echo configure:1423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 1423 then
 1424   ac_cv_pointer_comparison_bug=no
 1425 else
 1426   echo "configure: failed program was:" >&5
 1427   cat conftest.$ac_ext >&5
 1428   rm -fr conftest*
 1429   ac_cv_pointer_comparison_bug=yes
 1430 fi
 1431 rm -fr conftest*
 1432 fi
 1433 
 1434 
 1435 fi
 1436 
 1437 echo "$ac_t""$ac_cv_pointer_comparison_bug" 1>&6
 1438 test "$ac_cv_pointer_comparison_bug" = yes && cat >> confdefs.h <<\EOF
 1439 #define HAVE_POINTER_COMPARISON_BUG 1
 1440 EOF
 1441 
 1442 
 1443 if test "$ac_cv_have_long_long" = yes -a "$ac_cv_have_volatile" = yes; then
 1444     echo $ac_n "checking for maxint conversion bug""... $ac_c" 1>&6
 1445 echo "configure:1446: checking for maxint conversion bug" >&5
 1446 if eval "test \"`echo '$''{'ac_cv_maxint_conversion_bug'+set}'`\" = set"; then
 1447   echo $ac_n "(cached) $ac_c" 1>&6
 1448 else
 1449   if test "$cross_compiling" = yes; then
 1450   if test -n "`echo "$CC"|grep ^cc`" -a "`uname -s`" = HP-UX; then
 1451                 ac_cv_maxint_conversion_bug=yes
 1452             else
 1453                 ac_cv_maxint_conversion_bug=no
 1454             fi
 1455         
 1456 else
 1457   cat > conftest.$ac_ext <<EOF
 1458 #line 1459 "configure"
 1459 #include "confdefs.h"
 1460 
 1461         int main()
 1462         {
 1463             volatile long long q = 0x7FFFFFEF;
 1464             return q < 0;
 1465         }
 1466         
 1467 EOF
 1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 1469 then
 1470   ac_cv_maxint_conversion_bug=no
 1471 else
 1472   echo "configure: failed program was:" >&5
 1473   cat conftest.$ac_ext >&5
 1474   rm -fr conftest*
 1475   ac_cv_maxint_conversion_bug=yes
 1476 fi
 1477 rm -fr conftest*
 1478 fi
 1479 
 1480     
 1481 fi
 1482 
 1483 echo "$ac_t""$ac_cv_maxint_conversion_bug" 1>&6
 1484     test "$ac_cv_maxint_conversion_bug" = yes && cat >> confdefs.h <<\EOF
 1485 #define HAVE_MAXINT_CONVERSION_BUG 1
 1486 EOF
 1487 
 1488 fi
 1489 
 1490 
 1491 ac_header_dirent=no
 1492 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
 1493 do
 1494 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1495 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
 1496 echo "configure:1497: checking for $ac_hdr that defines DIR" >&5
 1497 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
 1498   echo $ac_n "(cached) $ac_c" 1>&6
 1499 else
 1500   cat > conftest.$ac_ext <<EOF
 1501 #line 1502 "configure"
 1502 #include "confdefs.h"
 1503 #include <sys/types.h>
 1504 #include <$ac_hdr>
 1505 int main() {
 1506 DIR *dirp = 0;
 1507 ; return 0; }
 1508 EOF
 1509 if { (eval echo configure:1510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 1510   rm -rf conftest*
 1511   eval "ac_cv_header_dirent_$ac_safe=yes"
 1512 else
 1513   echo "configure: failed program was:" >&5
 1514   cat conftest.$ac_ext >&5
 1515   rm -rf conftest*
 1516   eval "ac_cv_header_dirent_$ac_safe=no"
 1517 fi
 1518 rm -f conftest*
 1519 fi
 1520 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
 1521   echo "$ac_t""yes" 1>&6
 1522     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1523   cat >> confdefs.h <<EOF
 1524 #define $ac_tr_hdr 1
 1525 EOF
 1526  ac_header_dirent=$ac_hdr; break
 1527 else
 1528   echo "$ac_t""no" 1>&6
 1529 fi
 1530 done
 1531 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 1532 if test $ac_header_dirent = dirent.h; then
 1533 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
 1534 echo "configure:1535: checking for opendir in -ldir" >&5
 1535 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
 1536 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 1537   echo $ac_n "(cached) $ac_c" 1>&6
 1538 else
 1539   ac_save_LIBS="$LIBS"
 1540 LIBS="-ldir  $LIBS"
 1541 cat > conftest.$ac_ext <<EOF
 1542 #line 1543 "configure"
 1543 #include "confdefs.h"
 1544 /* Override any gcc2 internal prototype to avoid an error.  */
 1545 /* We use char because int might match the return type of a gcc2
 1546     builtin and then its argument prototype would still apply.  */
 1547 char opendir();
 1548 
 1549 int main() {
 1550 opendir()
 1551 ; return 0; }
 1552 EOF
 1553 if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 1554   rm -rf conftest*
 1555   eval "ac_cv_lib_$ac_lib_var=yes"
 1556 else
 1557   echo "configure: failed program was:" >&5
 1558   cat conftest.$ac_ext >&5
 1559   rm -rf conftest*
 1560   eval "ac_cv_lib_$ac_lib_var=no"
 1561 fi
 1562 rm -f conftest*
 1563 LIBS="$ac_save_LIBS"
 1564 
 1565 fi
 1566 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 1567   echo "$ac_t""yes" 1>&6
 1568   LIBS="$LIBS -ldir"
 1569 else
 1570   echo "$ac_t""no" 1>&6
 1571 fi
 1572 
 1573 else
 1574 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
 1575 echo "configure:1576: checking for opendir in -lx" >&5
 1576 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
 1577 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 1578   echo $ac_n "(cached) $ac_c" 1>&6
 1579 else
 1580   ac_save_LIBS="$LIBS"
 1581 LIBS="-lx  $LIBS"
 1582 cat > conftest.$ac_ext <<EOF
 1583 #line 1584 "configure"
 1584 #include "confdefs.h"
 1585 /* Override any gcc2 internal prototype to avoid an error.  */
 1586 /* We use char because int might match the return type of a gcc2
 1587     builtin and then its argument prototype would still apply.  */
 1588 char opendir();
 1589 
 1590 int main() {
 1591 opendir()
 1592 ; return 0; }
 1593 EOF
 1594 if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 1595   rm -rf conftest*
 1596   eval "ac_cv_lib_$ac_lib_var=yes"
 1597 else
 1598   echo "configure: failed program was:" >&5
 1599   cat conftest.$ac_ext >&5
 1600   rm -rf conftest*
 1601   eval "ac_cv_lib_$ac_lib_var=no"
 1602 fi
 1603 rm -f conftest*
 1604 LIBS="$ac_save_LIBS"
 1605 
 1606 fi
 1607 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 1608   echo "$ac_t""yes" 1>&6
 1609   LIBS="$LIBS -lx"
 1610 else
 1611   echo "$ac_t""no" 1>&6
 1612 fi
 1613 
 1614 fi
 1615 
 1616 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
 1617 echo "configure:1618: checking for sys/wait.h that is POSIX.1 compatible" >&5
 1618 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
 1619   echo $ac_n "(cached) $ac_c" 1>&6
 1620 else
 1621   cat > conftest.$ac_ext <<EOF
 1622 #line 1623 "configure"
 1623 #include "confdefs.h"
 1624 #include <sys/types.h>
 1625 #include <sys/wait.h>
 1626 #ifndef WEXITSTATUS
 1627 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 1628 #endif
 1629 #ifndef WIFEXITED
 1630 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 1631 #endif
 1632 int main() {
 1633 int s;
 1634 wait (&s);
 1635 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 1636 ; return 0; }
 1637 EOF
 1638 if { (eval echo configure:1639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 1639   rm -rf conftest*
 1640   ac_cv_header_sys_wait_h=yes
 1641 else
 1642   echo "configure: failed program was:" >&5
 1643   cat conftest.$ac_ext >&5
 1644   rm -rf conftest*
 1645   ac_cv_header_sys_wait_h=no
 1646 fi
 1647 rm -f conftest*
 1648 fi
 1649 
 1650 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
 1651 if test $ac_cv_header_sys_wait_h = yes; then
 1652   cat >> confdefs.h <<\EOF
 1653 #define HAVE_SYS_WAIT_H 1
 1654 EOF
 1655 
 1656 fi
 1657 
 1658 for ac_hdr in alloca.h
 1659 do
 1660 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1661 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1662 echo "configure:1663: checking for $ac_hdr" >&5
 1663 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1664   echo $ac_n "(cached) $ac_c" 1>&6
 1665 else
 1666   cat > conftest.$ac_ext <<EOF
 1667 #line 1668 "configure"
 1668 #include "confdefs.h"
 1669 #include <$ac_hdr>
 1670 EOF
 1671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1672 { (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1674 if test -z "$ac_err"; then
 1675   rm -rf conftest*
 1676   eval "ac_cv_header_$ac_safe=yes"
 1677 else
 1678   echo "$ac_err" >&5
 1679   echo "configure: failed program was:" >&5
 1680   cat conftest.$ac_ext >&5
 1681   rm -rf conftest*
 1682   eval "ac_cv_header_$ac_safe=no"
 1683 fi
 1684 rm -f conftest*
 1685 fi
 1686 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1687   echo "$ac_t""yes" 1>&6
 1688     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1689   cat >> confdefs.h <<EOF
 1690 #define $ac_tr_hdr 1
 1691 EOF
 1692  
 1693 else
 1694   echo "$ac_t""no" 1>&6
 1695 fi
 1696 done
 1697 
 1698 for ac_hdr in arpa/inet.h
 1699 do
 1700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1702 echo "configure:1703: checking for $ac_hdr" >&5
 1703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1704   echo $ac_n "(cached) $ac_c" 1>&6
 1705 else
 1706   cat > conftest.$ac_ext <<EOF
 1707 #line 1708 "configure"
 1708 #include "confdefs.h"
 1709 #include <$ac_hdr>
 1710 EOF
 1711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1712 { (eval echo configure:1713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1714 if test -z "$ac_err"; then
 1715   rm -rf conftest*
 1716   eval "ac_cv_header_$ac_safe=yes"
 1717 else
 1718   echo "$ac_err" >&5
 1719   echo "configure: failed program was:" >&5
 1720   cat conftest.$ac_ext >&5
 1721   rm -rf conftest*
 1722   eval "ac_cv_header_$ac_safe=no"
 1723 fi
 1724 rm -f conftest*
 1725 fi
 1726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1727   echo "$ac_t""yes" 1>&6
 1728     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1729   cat >> confdefs.h <<EOF
 1730 #define $ac_tr_hdr 1
 1731 EOF
 1732  
 1733 else
 1734   echo "$ac_t""no" 1>&6
 1735 fi
 1736 done
 1737 
 1738 for ac_hdr in cygwin/process.h
 1739 do
 1740 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1741 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1742 echo "configure:1743: checking for $ac_hdr" >&5
 1743 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1744   echo $ac_n "(cached) $ac_c" 1>&6
 1745 else
 1746   cat > conftest.$ac_ext <<EOF
 1747 #line 1748 "configure"
 1748 #include "confdefs.h"
 1749 #include <$ac_hdr>
 1750 EOF
 1751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1752 { (eval echo configure:1753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1754 if test -z "$ac_err"; then
 1755   rm -rf conftest*
 1756   eval "ac_cv_header_$ac_safe=yes"
 1757 else
 1758   echo "$ac_err" >&5
 1759   echo "configure: failed program was:" >&5
 1760   cat conftest.$ac_ext >&5
 1761   rm -rf conftest*
 1762   eval "ac_cv_header_$ac_safe=no"
 1763 fi
 1764 rm -f conftest*
 1765 fi
 1766 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1767   echo "$ac_t""yes" 1>&6
 1768     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1769   cat >> confdefs.h <<EOF
 1770 #define $ac_tr_hdr 1
 1771 EOF
 1772  
 1773 else
 1774   echo "$ac_t""no" 1>&6
 1775 fi
 1776 done
 1777 
 1778 for ac_hdr in fcntl.h
 1779 do
 1780 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1781 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1782 echo "configure:1783: checking for $ac_hdr" >&5
 1783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1784   echo $ac_n "(cached) $ac_c" 1>&6
 1785 else
 1786   cat > conftest.$ac_ext <<EOF
 1787 #line 1788 "configure"
 1788 #include "confdefs.h"
 1789 #include <$ac_hdr>
 1790 EOF
 1791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1792 { (eval echo configure:1793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1794 if test -z "$ac_err"; then
 1795   rm -rf conftest*
 1796   eval "ac_cv_header_$ac_safe=yes"
 1797 else
 1798   echo "$ac_err" >&5
 1799   echo "configure: failed program was:" >&5
 1800   cat conftest.$ac_ext >&5
 1801   rm -rf conftest*
 1802   eval "ac_cv_header_$ac_safe=no"
 1803 fi
 1804 rm -f conftest*
 1805 fi
 1806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1807   echo "$ac_t""yes" 1>&6
 1808     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1809   cat >> confdefs.h <<EOF
 1810 #define $ac_tr_hdr 1
 1811 EOF
 1812  
 1813 else
 1814   echo "$ac_t""no" 1>&6
 1815 fi
 1816 done
 1817 
 1818 for ac_hdr in grp.h
 1819 do
 1820 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1821 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1822 echo "configure:1823: checking for $ac_hdr" >&5
 1823 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1824   echo $ac_n "(cached) $ac_c" 1>&6
 1825 else
 1826   cat > conftest.$ac_ext <<EOF
 1827 #line 1828 "configure"
 1828 #include "confdefs.h"
 1829 #include <$ac_hdr>
 1830 EOF
 1831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1832 { (eval echo configure:1833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1834 if test -z "$ac_err"; then
 1835   rm -rf conftest*
 1836   eval "ac_cv_header_$ac_safe=yes"
 1837 else
 1838   echo "$ac_err" >&5
 1839   echo "configure: failed program was:" >&5
 1840   cat conftest.$ac_ext >&5
 1841   rm -rf conftest*
 1842   eval "ac_cv_header_$ac_safe=no"
 1843 fi
 1844 rm -f conftest*
 1845 fi
 1846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1847   echo "$ac_t""yes" 1>&6
 1848     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1849   cat >> confdefs.h <<EOF
 1850 #define $ac_tr_hdr 1
 1851 EOF
 1852  
 1853 else
 1854   echo "$ac_t""no" 1>&6
 1855 fi
 1856 done
 1857 
 1858 for ac_hdr in interix/interix.h
 1859 do
 1860 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1861 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1862 echo "configure:1863: checking for $ac_hdr" >&5
 1863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1864   echo $ac_n "(cached) $ac_c" 1>&6
 1865 else
 1866   cat > conftest.$ac_ext <<EOF
 1867 #line 1868 "configure"
 1868 #include "confdefs.h"
 1869 #include <$ac_hdr>
 1870 EOF
 1871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1872 { (eval echo configure:1873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1874 if test -z "$ac_err"; then
 1875   rm -rf conftest*
 1876   eval "ac_cv_header_$ac_safe=yes"
 1877 else
 1878   echo "$ac_err" >&5
 1879   echo "configure: failed program was:" >&5
 1880   cat conftest.$ac_ext >&5
 1881   rm -rf conftest*
 1882   eval "ac_cv_header_$ac_safe=no"
 1883 fi
 1884 rm -f conftest*
 1885 fi
 1886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1887   echo "$ac_t""yes" 1>&6
 1888     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1889   cat >> confdefs.h <<EOF
 1890 #define $ac_tr_hdr 1
 1891 EOF
 1892  
 1893 else
 1894   echo "$ac_t""no" 1>&6
 1895 fi
 1896 done
 1897 
 1898 for ac_hdr in inttypes.h
 1899 do
 1900 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1901 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1902 echo "configure:1903: checking for $ac_hdr" >&5
 1903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1904   echo $ac_n "(cached) $ac_c" 1>&6
 1905 else
 1906   cat > conftest.$ac_ext <<EOF
 1907 #line 1908 "configure"
 1908 #include "confdefs.h"
 1909 #include <$ac_hdr>
 1910 EOF
 1911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1912 { (eval echo configure:1913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1914 if test -z "$ac_err"; then
 1915   rm -rf conftest*
 1916   eval "ac_cv_header_$ac_safe=yes"
 1917 else
 1918   echo "$ac_err" >&5
 1919   echo "configure: failed program was:" >&5
 1920   cat conftest.$ac_ext >&5
 1921   rm -rf conftest*
 1922   eval "ac_cv_header_$ac_safe=no"
 1923 fi
 1924 rm -f conftest*
 1925 fi
 1926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1927   echo "$ac_t""yes" 1>&6
 1928     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1929   cat >> confdefs.h <<EOF
 1930 #define $ac_tr_hdr 1
 1931 EOF
 1932  
 1933 else
 1934   echo "$ac_t""no" 1>&6
 1935 fi
 1936 done
 1937 
 1938 for ac_hdr in io.h
 1939 do
 1940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1942 echo "configure:1943: checking for $ac_hdr" >&5
 1943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1944   echo $ac_n "(cached) $ac_c" 1>&6
 1945 else
 1946   cat > conftest.$ac_ext <<EOF
 1947 #line 1948 "configure"
 1948 #include "confdefs.h"
 1949 #include <$ac_hdr>
 1950 EOF
 1951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1952 { (eval echo configure:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1954 if test -z "$ac_err"; then
 1955   rm -rf conftest*
 1956   eval "ac_cv_header_$ac_safe=yes"
 1957 else
 1958   echo "$ac_err" >&5
 1959   echo "configure: failed program was:" >&5
 1960   cat conftest.$ac_ext >&5
 1961   rm -rf conftest*
 1962   eval "ac_cv_header_$ac_safe=no"
 1963 fi
 1964 rm -f conftest*
 1965 fi
 1966 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 1967   echo "$ac_t""yes" 1>&6
 1968     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 1969   cat >> confdefs.h <<EOF
 1970 #define $ac_tr_hdr 1
 1971 EOF
 1972  
 1973 else
 1974   echo "$ac_t""no" 1>&6
 1975 fi
 1976 done
 1977 
 1978 for ac_hdr in limits.h
 1979 do
 1980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 1981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 1982 echo "configure:1983: checking for $ac_hdr" >&5
 1983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 1984   echo $ac_n "(cached) $ac_c" 1>&6
 1985 else
 1986   cat > conftest.$ac_ext <<EOF
 1987 #line 1988 "configure"
 1988 #include "confdefs.h"
 1989 #include <$ac_hdr>
 1990 EOF
 1991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 1992 { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 1993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 1994 if test -z "$ac_err"; then
 1995   rm -rf conftest*
 1996   eval "ac_cv_header_$ac_safe=yes"
 1997 else
 1998   echo "$ac_err" >&5
 1999   echo "configure: failed program was:" >&5
 2000   cat conftest.$ac_ext >&5
 2001   rm -rf conftest*
 2002   eval "ac_cv_header_$ac_safe=no"
 2003 fi
 2004 rm -f conftest*
 2005 fi
 2006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2007   echo "$ac_t""yes" 1>&6
 2008     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2009   cat >> confdefs.h <<EOF
 2010 #define $ac_tr_hdr 1
 2011 EOF
 2012  
 2013 else
 2014   echo "$ac_t""no" 1>&6
 2015 fi
 2016 done
 2017 
 2018 for ac_hdr in malloc.h
 2019 do
 2020 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2021 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2022 echo "configure:2023: checking for $ac_hdr" >&5
 2023 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2024   echo $ac_n "(cached) $ac_c" 1>&6
 2025 else
 2026   cat > conftest.$ac_ext <<EOF
 2027 #line 2028 "configure"
 2028 #include "confdefs.h"
 2029 #include <$ac_hdr>
 2030 EOF
 2031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2032 { (eval echo configure:2033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2034 if test -z "$ac_err"; then
 2035   rm -rf conftest*
 2036   eval "ac_cv_header_$ac_safe=yes"
 2037 else
 2038   echo "$ac_err" >&5
 2039   echo "configure: failed program was:" >&5
 2040   cat conftest.$ac_ext >&5
 2041   rm -rf conftest*
 2042   eval "ac_cv_header_$ac_safe=no"
 2043 fi
 2044 rm -f conftest*
 2045 fi
 2046 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2047   echo "$ac_t""yes" 1>&6
 2048     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2049   cat >> confdefs.h <<EOF
 2050 #define $ac_tr_hdr 1
 2051 EOF
 2052  
 2053 else
 2054   echo "$ac_t""no" 1>&6
 2055 fi
 2056 done
 2057 
 2058 for ac_hdr in net/socket.h
 2059 do
 2060 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2061 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2062 echo "configure:2063: checking for $ac_hdr" >&5
 2063 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2064   echo $ac_n "(cached) $ac_c" 1>&6
 2065 else
 2066   cat > conftest.$ac_ext <<EOF
 2067 #line 2068 "configure"
 2068 #include "confdefs.h"
 2069 #include <$ac_hdr>
 2070 EOF
 2071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2072 { (eval echo configure:2073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2074 if test -z "$ac_err"; then
 2075   rm -rf conftest*
 2076   eval "ac_cv_header_$ac_safe=yes"
 2077 else
 2078   echo "$ac_err" >&5
 2079   echo "configure: failed program was:" >&5
 2080   cat conftest.$ac_ext >&5
 2081   rm -rf conftest*
 2082   eval "ac_cv_header_$ac_safe=no"
 2083 fi
 2084 rm -f conftest*
 2085 fi
 2086 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2087   echo "$ac_t""yes" 1>&6
 2088     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2089   cat >> confdefs.h <<EOF
 2090 #define $ac_tr_hdr 1
 2091 EOF
 2092  
 2093 else
 2094   echo "$ac_t""no" 1>&6
 2095 fi
 2096 done
 2097 
 2098 for ac_hdr in netinet/in_system.h
 2099 do
 2100 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2101 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2102 echo "configure:2103: checking for $ac_hdr" >&5
 2103 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2104   echo $ac_n "(cached) $ac_c" 1>&6
 2105 else
 2106   cat > conftest.$ac_ext <<EOF
 2107 #line 2108 "configure"
 2108 #include "confdefs.h"
 2109 #include <$ac_hdr>
 2110 EOF
 2111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2112 { (eval echo configure:2113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2114 if test -z "$ac_err"; then
 2115   rm -rf conftest*
 2116   eval "ac_cv_header_$ac_safe=yes"
 2117 else
 2118   echo "$ac_err" >&5
 2119   echo "configure: failed program was:" >&5
 2120   cat conftest.$ac_ext >&5
 2121   rm -rf conftest*
 2122   eval "ac_cv_header_$ac_safe=no"
 2123 fi
 2124 rm -f conftest*
 2125 fi
 2126 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2127   echo "$ac_t""yes" 1>&6
 2128     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2129   cat >> confdefs.h <<EOF
 2130 #define $ac_tr_hdr 1
 2131 EOF
 2132  
 2133 else
 2134   echo "$ac_t""no" 1>&6
 2135 fi
 2136 done
 2137 
 2138 for ac_hdr in netinet/in_systm.h
 2139 do
 2140 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2141 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2142 echo "configure:2143: checking for $ac_hdr" >&5
 2143 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2144   echo $ac_n "(cached) $ac_c" 1>&6
 2145 else
 2146   cat > conftest.$ac_ext <<EOF
 2147 #line 2148 "configure"
 2148 #include "confdefs.h"
 2149 #include <$ac_hdr>
 2150 EOF
 2151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2152 { (eval echo configure:2153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2154 if test -z "$ac_err"; then
 2155   rm -rf conftest*
 2156   eval "ac_cv_header_$ac_safe=yes"
 2157 else
 2158   echo "$ac_err" >&5
 2159   echo "configure: failed program was:" >&5
 2160   cat conftest.$ac_ext >&5
 2161   rm -rf conftest*
 2162   eval "ac_cv_header_$ac_safe=no"
 2163 fi
 2164 rm -f conftest*
 2165 fi
 2166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2167   echo "$ac_t""yes" 1>&6
 2168     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2169   cat >> confdefs.h <<EOF
 2170 #define $ac_tr_hdr 1
 2171 EOF
 2172  
 2173 else
 2174   echo "$ac_t""no" 1>&6
 2175 fi
 2176 done
 2177 
 2178 for ac_hdr in netinet/ip.h
 2179 do
 2180 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2182 echo "configure:2183: checking for $ac_hdr" >&5
 2183 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2184   echo $ac_n "(cached) $ac_c" 1>&6
 2185 else
 2186   cat > conftest.$ac_ext <<EOF
 2187 #line 2188 "configure"
 2188 #include "confdefs.h"
 2189 #include <$ac_hdr>
 2190 EOF
 2191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2192 { (eval echo configure:2193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2194 if test -z "$ac_err"; then
 2195   rm -rf conftest*
 2196   eval "ac_cv_header_$ac_safe=yes"
 2197 else
 2198   echo "$ac_err" >&5
 2199   echo "configure: failed program was:" >&5
 2200   cat conftest.$ac_ext >&5
 2201   rm -rf conftest*
 2202   eval "ac_cv_header_$ac_safe=no"
 2203 fi
 2204 rm -f conftest*
 2205 fi
 2206 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2207   echo "$ac_t""yes" 1>&6
 2208     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2209   cat >> confdefs.h <<EOF
 2210 #define $ac_tr_hdr 1
 2211 EOF
 2212  
 2213 else
 2214   echo "$ac_t""no" 1>&6
 2215 fi
 2216 done
 2217 
 2218 for ac_hdr in process.h
 2219 do
 2220 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2221 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2222 echo "configure:2223: checking for $ac_hdr" >&5
 2223 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2224   echo $ac_n "(cached) $ac_c" 1>&6
 2225 else
 2226   cat > conftest.$ac_ext <<EOF
 2227 #line 2228 "configure"
 2228 #include "confdefs.h"
 2229 #include <$ac_hdr>
 2230 EOF
 2231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2232 { (eval echo configure:2233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2234 if test -z "$ac_err"; then
 2235   rm -rf conftest*
 2236   eval "ac_cv_header_$ac_safe=yes"
 2237 else
 2238   echo "$ac_err" >&5
 2239   echo "configure: failed program was:" >&5
 2240   cat conftest.$ac_ext >&5
 2241   rm -rf conftest*
 2242   eval "ac_cv_header_$ac_safe=no"
 2243 fi
 2244 rm -f conftest*
 2245 fi
 2246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2247   echo "$ac_t""yes" 1>&6
 2248     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2249   cat >> confdefs.h <<EOF
 2250 #define $ac_tr_hdr 1
 2251 EOF
 2252  
 2253 else
 2254   echo "$ac_t""no" 1>&6
 2255 fi
 2256 done
 2257 
 2258 for ac_hdr in pwd.h
 2259 do
 2260 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2262 echo "configure:2263: checking for $ac_hdr" >&5
 2263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2264   echo $ac_n "(cached) $ac_c" 1>&6
 2265 else
 2266   cat > conftest.$ac_ext <<EOF
 2267 #line 2268 "configure"
 2268 #include "confdefs.h"
 2269 #include <$ac_hdr>
 2270 EOF
 2271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2272 { (eval echo configure:2273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2274 if test -z "$ac_err"; then
 2275   rm -rf conftest*
 2276   eval "ac_cv_header_$ac_safe=yes"
 2277 else
 2278   echo "$ac_err" >&5
 2279   echo "configure: failed program was:" >&5
 2280   cat conftest.$ac_ext >&5
 2281   rm -rf conftest*
 2282   eval "ac_cv_header_$ac_safe=no"
 2283 fi
 2284 rm -f conftest*
 2285 fi
 2286 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2287   echo "$ac_t""yes" 1>&6
 2288     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2289   cat >> confdefs.h <<EOF
 2290 #define $ac_tr_hdr 1
 2291 EOF
 2292  
 2293 else
 2294   echo "$ac_t""no" 1>&6
 2295 fi
 2296 done
 2297 
 2298 for ac_hdr in sgtty.h
 2299 do
 2300 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2301 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2302 echo "configure:2303: checking for $ac_hdr" >&5
 2303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2304   echo $ac_n "(cached) $ac_c" 1>&6
 2305 else
 2306   cat > conftest.$ac_ext <<EOF
 2307 #line 2308 "configure"
 2308 #include "confdefs.h"
 2309 #include <$ac_hdr>
 2310 EOF
 2311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2312 { (eval echo configure:2313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2314 if test -z "$ac_err"; then
 2315   rm -rf conftest*
 2316   eval "ac_cv_header_$ac_safe=yes"
 2317 else
 2318   echo "$ac_err" >&5
 2319   echo "configure: failed program was:" >&5
 2320   cat conftest.$ac_ext >&5
 2321   rm -rf conftest*
 2322   eval "ac_cv_header_$ac_safe=no"
 2323 fi
 2324 rm -f conftest*
 2325 fi
 2326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2327   echo "$ac_t""yes" 1>&6
 2328     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2329   cat >> confdefs.h <<EOF
 2330 #define $ac_tr_hdr 1
 2331 EOF
 2332  
 2333 else
 2334   echo "$ac_t""no" 1>&6
 2335 fi
 2336 done
 2337 
 2338 for ac_hdr in stdarg.h
 2339 do
 2340 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2341 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2342 echo "configure:2343: checking for $ac_hdr" >&5
 2343 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2344   echo $ac_n "(cached) $ac_c" 1>&6
 2345 else
 2346   cat > conftest.$ac_ext <<EOF
 2347 #line 2348 "configure"
 2348 #include "confdefs.h"
 2349 #include <$ac_hdr>
 2350 EOF
 2351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2352 { (eval echo configure:2353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2354 if test -z "$ac_err"; then
 2355   rm -rf conftest*
 2356   eval "ac_cv_header_$ac_safe=yes"
 2357 else
 2358   echo "$ac_err" >&5
 2359   echo "configure: failed program was:" >&5
 2360   cat conftest.$ac_ext >&5
 2361   rm -rf conftest*
 2362   eval "ac_cv_header_$ac_safe=no"
 2363 fi
 2364 rm -f conftest*
 2365 fi
 2366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2367   echo "$ac_t""yes" 1>&6
 2368     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2369   cat >> confdefs.h <<EOF
 2370 #define $ac_tr_hdr 1
 2371 EOF
 2372  
 2373 else
 2374   echo "$ac_t""no" 1>&6
 2375 fi
 2376 done
 2377 
 2378 for ac_hdr in stdlib.h
 2379 do
 2380 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2381 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2382 echo "configure:2383: checking for $ac_hdr" >&5
 2383 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2384   echo $ac_n "(cached) $ac_c" 1>&6
 2385 else
 2386   cat > conftest.$ac_ext <<EOF
 2387 #line 2388 "configure"
 2388 #include "confdefs.h"
 2389 #include <$ac_hdr>
 2390 EOF
 2391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2392 { (eval echo configure:2393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2394 if test -z "$ac_err"; then
 2395   rm -rf conftest*
 2396   eval "ac_cv_header_$ac_safe=yes"
 2397 else
 2398   echo "$ac_err" >&5
 2399   echo "configure: failed program was:" >&5
 2400   cat conftest.$ac_ext >&5
 2401   rm -rf conftest*
 2402   eval "ac_cv_header_$ac_safe=no"
 2403 fi
 2404 rm -f conftest*
 2405 fi
 2406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2407   echo "$ac_t""yes" 1>&6
 2408     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2409   cat >> confdefs.h <<EOF
 2410 #define $ac_tr_hdr 1
 2411 EOF
 2412  
 2413 else
 2414   echo "$ac_t""no" 1>&6
 2415 fi
 2416 done
 2417 
 2418 for ac_hdr in string.h
 2419 do
 2420 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2422 echo "configure:2423: checking for $ac_hdr" >&5
 2423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2424   echo $ac_n "(cached) $ac_c" 1>&6
 2425 else
 2426   cat > conftest.$ac_ext <<EOF
 2427 #line 2428 "configure"
 2428 #include "confdefs.h"
 2429 #include <$ac_hdr>
 2430 EOF
 2431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2432 { (eval echo configure:2433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2434 if test -z "$ac_err"; then
 2435   rm -rf conftest*
 2436   eval "ac_cv_header_$ac_safe=yes"
 2437 else
 2438   echo "$ac_err" >&5
 2439   echo "configure: failed program was:" >&5
 2440   cat conftest.$ac_ext >&5
 2441   rm -rf conftest*
 2442   eval "ac_cv_header_$ac_safe=no"
 2443 fi
 2444 rm -f conftest*
 2445 fi
 2446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2447   echo "$ac_t""yes" 1>&6
 2448     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2449   cat >> confdefs.h <<EOF
 2450 #define $ac_tr_hdr 1
 2451 EOF
 2452  
 2453 else
 2454   echo "$ac_t""no" 1>&6
 2455 fi
 2456 done
 2457 
 2458 for ac_hdr in strings.h
 2459 do
 2460 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2461 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2462 echo "configure:2463: checking for $ac_hdr" >&5
 2463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2464   echo $ac_n "(cached) $ac_c" 1>&6
 2465 else
 2466   cat > conftest.$ac_ext <<EOF
 2467 #line 2468 "configure"
 2468 #include "confdefs.h"
 2469 #include <$ac_hdr>
 2470 EOF
 2471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2472 { (eval echo configure:2473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2474 if test -z "$ac_err"; then
 2475   rm -rf conftest*
 2476   eval "ac_cv_header_$ac_safe=yes"
 2477 else
 2478   echo "$ac_err" >&5
 2479   echo "configure: failed program was:" >&5
 2480   cat conftest.$ac_ext >&5
 2481   rm -rf conftest*
 2482   eval "ac_cv_header_$ac_safe=no"
 2483 fi
 2484 rm -f conftest*
 2485 fi
 2486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2487   echo "$ac_t""yes" 1>&6
 2488     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2489   cat >> confdefs.h <<EOF
 2490 #define $ac_tr_hdr 1
 2491 EOF
 2492  
 2493 else
 2494   echo "$ac_t""no" 1>&6
 2495 fi
 2496 done
 2497 
 2498 for ac_hdr in sys/cygwin.h
 2499 do
 2500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2502 echo "configure:2503: checking for $ac_hdr" >&5
 2503 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2504   echo $ac_n "(cached) $ac_c" 1>&6
 2505 else
 2506   cat > conftest.$ac_ext <<EOF
 2507 #line 2508 "configure"
 2508 #include "confdefs.h"
 2509 #include <$ac_hdr>
 2510 EOF
 2511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2512 { (eval echo configure:2513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2514 if test -z "$ac_err"; then
 2515   rm -rf conftest*
 2516   eval "ac_cv_header_$ac_safe=yes"
 2517 else
 2518   echo "$ac_err" >&5
 2519   echo "configure: failed program was:" >&5
 2520   cat conftest.$ac_ext >&5
 2521   rm -rf conftest*
 2522   eval "ac_cv_header_$ac_safe=no"
 2523 fi
 2524 rm -f conftest*
 2525 fi
 2526 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2527   echo "$ac_t""yes" 1>&6
 2528     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2529   cat >> confdefs.h <<EOF
 2530 #define $ac_tr_hdr 1
 2531 EOF
 2532  
 2533 else
 2534   echo "$ac_t""no" 1>&6
 2535 fi
 2536 done
 2537 
 2538 for ac_hdr in sys/file.h
 2539 do
 2540 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2541 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2542 echo "configure:2543: checking for $ac_hdr" >&5
 2543 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2544   echo $ac_n "(cached) $ac_c" 1>&6
 2545 else
 2546   cat > conftest.$ac_ext <<EOF
 2547 #line 2548 "configure"
 2548 #include "confdefs.h"
 2549 #include <$ac_hdr>
 2550 EOF
 2551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2552 { (eval echo configure:2553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2554 if test -z "$ac_err"; then
 2555   rm -rf conftest*
 2556   eval "ac_cv_header_$ac_safe=yes"
 2557 else
 2558   echo "$ac_err" >&5
 2559   echo "configure: failed program was:" >&5
 2560   cat conftest.$ac_ext >&5
 2561   rm -rf conftest*
 2562   eval "ac_cv_header_$ac_safe=no"
 2563 fi
 2564 rm -f conftest*
 2565 fi
 2566 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2567   echo "$ac_t""yes" 1>&6
 2568     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2569   cat >> confdefs.h <<EOF
 2570 #define $ac_tr_hdr 1
 2571 EOF
 2572  
 2573 else
 2574   echo "$ac_t""no" 1>&6
 2575 fi
 2576 done
 2577 
 2578 for ac_hdr in sys/fmutex.h
 2579 do
 2580 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2581 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2582 echo "configure:2583: checking for $ac_hdr" >&5
 2583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2584   echo $ac_n "(cached) $ac_c" 1>&6
 2585 else
 2586   cat > conftest.$ac_ext <<EOF
 2587 #line 2588 "configure"
 2588 #include "confdefs.h"
 2589 #include <$ac_hdr>
 2590 EOF
 2591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2592 { (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2594 if test -z "$ac_err"; then
 2595   rm -rf conftest*
 2596   eval "ac_cv_header_$ac_safe=yes"
 2597 else
 2598   echo "$ac_err" >&5
 2599   echo "configure: failed program was:" >&5
 2600   cat conftest.$ac_ext >&5
 2601   rm -rf conftest*
 2602   eval "ac_cv_header_$ac_safe=no"
 2603 fi
 2604 rm -f conftest*
 2605 fi
 2606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2607   echo "$ac_t""yes" 1>&6
 2608     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2609   cat >> confdefs.h <<EOF
 2610 #define $ac_tr_hdr 1
 2611 EOF
 2612  
 2613 else
 2614   echo "$ac_t""no" 1>&6
 2615 fi
 2616 done
 2617 
 2618 for ac_hdr in sys/ioctl.h
 2619 do
 2620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2622 echo "configure:2623: checking for $ac_hdr" >&5
 2623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2624   echo $ac_n "(cached) $ac_c" 1>&6
 2625 else
 2626   cat > conftest.$ac_ext <<EOF
 2627 #line 2628 "configure"
 2628 #include "confdefs.h"
 2629 #include <$ac_hdr>
 2630 EOF
 2631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2632 { (eval echo configure:2633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2634 if test -z "$ac_err"; then
 2635   rm -rf conftest*
 2636   eval "ac_cv_header_$ac_safe=yes"
 2637 else
 2638   echo "$ac_err" >&5
 2639   echo "configure: failed program was:" >&5
 2640   cat conftest.$ac_ext >&5
 2641   rm -rf conftest*
 2642   eval "ac_cv_header_$ac_safe=no"
 2643 fi
 2644 rm -f conftest*
 2645 fi
 2646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2647   echo "$ac_t""yes" 1>&6
 2648     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2649   cat >> confdefs.h <<EOF
 2650 #define $ac_tr_hdr 1
 2651 EOF
 2652  
 2653 else
 2654   echo "$ac_t""no" 1>&6
 2655 fi
 2656 done
 2657 
 2658 for ac_hdr in sys/resource.h
 2659 do
 2660 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2661 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2662 echo "configure:2663: checking for $ac_hdr" >&5
 2663 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2664   echo $ac_n "(cached) $ac_c" 1>&6
 2665 else
 2666   cat > conftest.$ac_ext <<EOF
 2667 #line 2668 "configure"
 2668 #include "confdefs.h"
 2669 #include <$ac_hdr>
 2670 EOF
 2671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2672 { (eval echo configure:2673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2674 if test -z "$ac_err"; then
 2675   rm -rf conftest*
 2676   eval "ac_cv_header_$ac_safe=yes"
 2677 else
 2678   echo "$ac_err" >&5
 2679   echo "configure: failed program was:" >&5
 2680   cat conftest.$ac_ext >&5
 2681   rm -rf conftest*
 2682   eval "ac_cv_header_$ac_safe=no"
 2683 fi
 2684 rm -f conftest*
 2685 fi
 2686 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2687   echo "$ac_t""yes" 1>&6
 2688     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2689   cat >> confdefs.h <<EOF
 2690 #define $ac_tr_hdr 1
 2691 EOF
 2692  
 2693 else
 2694   echo "$ac_t""no" 1>&6
 2695 fi
 2696 done
 2697 
 2698 for ac_hdr in sys/select.h
 2699 do
 2700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2702 echo "configure:2703: checking for $ac_hdr" >&5
 2703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2704   echo $ac_n "(cached) $ac_c" 1>&6
 2705 else
 2706   cat > conftest.$ac_ext <<EOF
 2707 #line 2708 "configure"
 2708 #include "confdefs.h"
 2709 #include <$ac_hdr>
 2710 EOF
 2711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2712 { (eval echo configure:2713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2714 if test -z "$ac_err"; then
 2715   rm -rf conftest*
 2716   eval "ac_cv_header_$ac_safe=yes"
 2717 else
 2718   echo "$ac_err" >&5
 2719   echo "configure: failed program was:" >&5
 2720   cat conftest.$ac_ext >&5
 2721   rm -rf conftest*
 2722   eval "ac_cv_header_$ac_safe=no"
 2723 fi
 2724 rm -f conftest*
 2725 fi
 2726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2727   echo "$ac_t""yes" 1>&6
 2728     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2729   cat >> confdefs.h <<EOF
 2730 #define $ac_tr_hdr 1
 2731 EOF
 2732  
 2733 else
 2734   echo "$ac_t""no" 1>&6
 2735 fi
 2736 done
 2737 
 2738 for ac_hdr in sys/time.h
 2739 do
 2740 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2741 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2742 echo "configure:2743: checking for $ac_hdr" >&5
 2743 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2744   echo $ac_n "(cached) $ac_c" 1>&6
 2745 else
 2746   cat > conftest.$ac_ext <<EOF
 2747 #line 2748 "configure"
 2748 #include "confdefs.h"
 2749 #include <$ac_hdr>
 2750 EOF
 2751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2752 { (eval echo configure:2753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2754 if test -z "$ac_err"; then
 2755   rm -rf conftest*
 2756   eval "ac_cv_header_$ac_safe=yes"
 2757 else
 2758   echo "$ac_err" >&5
 2759   echo "configure: failed program was:" >&5
 2760   cat conftest.$ac_ext >&5
 2761   rm -rf conftest*
 2762   eval "ac_cv_header_$ac_safe=no"
 2763 fi
 2764 rm -f conftest*
 2765 fi
 2766 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2767   echo "$ac_t""yes" 1>&6
 2768     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2769   cat >> confdefs.h <<EOF
 2770 #define $ac_tr_hdr 1
 2771 EOF
 2772  
 2773 else
 2774   echo "$ac_t""no" 1>&6
 2775 fi
 2776 done
 2777 
 2778 for ac_hdr in sys/un.h
 2779 do
 2780 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2781 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2782 echo "configure:2783: checking for $ac_hdr" >&5
 2783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2784   echo $ac_n "(cached) $ac_c" 1>&6
 2785 else
 2786   cat > conftest.$ac_ext <<EOF
 2787 #line 2788 "configure"
 2788 #include "confdefs.h"
 2789 #include <$ac_hdr>
 2790 EOF
 2791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2792 { (eval echo configure:2793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2794 if test -z "$ac_err"; then
 2795   rm -rf conftest*
 2796   eval "ac_cv_header_$ac_safe=yes"
 2797 else
 2798   echo "$ac_err" >&5
 2799   echo "configure: failed program was:" >&5
 2800   cat conftest.$ac_ext >&5
 2801   rm -rf conftest*
 2802   eval "ac_cv_header_$ac_safe=no"
 2803 fi
 2804 rm -f conftest*
 2805 fi
 2806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2807   echo "$ac_t""yes" 1>&6
 2808     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2809   cat >> confdefs.h <<EOF
 2810 #define $ac_tr_hdr 1
 2811 EOF
 2812  
 2813 else
 2814   echo "$ac_t""no" 1>&6
 2815 fi
 2816 done
 2817 
 2818 for ac_hdr in sys/utsname.h
 2819 do
 2820 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2821 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2822 echo "configure:2823: checking for $ac_hdr" >&5
 2823 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2824   echo $ac_n "(cached) $ac_c" 1>&6
 2825 else
 2826   cat > conftest.$ac_ext <<EOF
 2827 #line 2828 "configure"
 2828 #include "confdefs.h"
 2829 #include <$ac_hdr>
 2830 EOF
 2831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2832 { (eval echo configure:2833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2834 if test -z "$ac_err"; then
 2835   rm -rf conftest*
 2836   eval "ac_cv_header_$ac_safe=yes"
 2837 else
 2838   echo "$ac_err" >&5
 2839   echo "configure: failed program was:" >&5
 2840   cat conftest.$ac_ext >&5
 2841   rm -rf conftest*
 2842   eval "ac_cv_header_$ac_safe=no"
 2843 fi
 2844 rm -f conftest*
 2845 fi
 2846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2847   echo "$ac_t""yes" 1>&6
 2848     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2849   cat >> confdefs.h <<EOF
 2850 #define $ac_tr_hdr 1
 2851 EOF
 2852  
 2853 else
 2854   echo "$ac_t""no" 1>&6
 2855 fi
 2856 done
 2857 
 2858 for ac_hdr in termios.h
 2859 do
 2860 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2861 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2862 echo "configure:2863: checking for $ac_hdr" >&5
 2863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2864   echo $ac_n "(cached) $ac_c" 1>&6
 2865 else
 2866   cat > conftest.$ac_ext <<EOF
 2867 #line 2868 "configure"
 2868 #include "confdefs.h"
 2869 #include <$ac_hdr>
 2870 EOF
 2871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2872 { (eval echo configure:2873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2874 if test -z "$ac_err"; then
 2875   rm -rf conftest*
 2876   eval "ac_cv_header_$ac_safe=yes"
 2877 else
 2878   echo "$ac_err" >&5
 2879   echo "configure: failed program was:" >&5
 2880   cat conftest.$ac_ext >&5
 2881   rm -rf conftest*
 2882   eval "ac_cv_header_$ac_safe=no"
 2883 fi
 2884 rm -f conftest*
 2885 fi
 2886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2887   echo "$ac_t""yes" 1>&6
 2888     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2889   cat >> confdefs.h <<EOF
 2890 #define $ac_tr_hdr 1
 2891 EOF
 2892  
 2893 else
 2894   echo "$ac_t""no" 1>&6
 2895 fi
 2896 done
 2897 
 2898 for ac_hdr in time.h
 2899 do
 2900 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2901 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2902 echo "configure:2903: checking for $ac_hdr" >&5
 2903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2904   echo $ac_n "(cached) $ac_c" 1>&6
 2905 else
 2906   cat > conftest.$ac_ext <<EOF
 2907 #line 2908 "configure"
 2908 #include "confdefs.h"
 2909 #include <$ac_hdr>
 2910 EOF
 2911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2912 { (eval echo configure:2913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2914 if test -z "$ac_err"; then
 2915   rm -rf conftest*
 2916   eval "ac_cv_header_$ac_safe=yes"
 2917 else
 2918   echo "$ac_err" >&5
 2919   echo "configure: failed program was:" >&5
 2920   cat conftest.$ac_ext >&5
 2921   rm -rf conftest*
 2922   eval "ac_cv_header_$ac_safe=no"
 2923 fi
 2924 rm -f conftest*
 2925 fi
 2926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2927   echo "$ac_t""yes" 1>&6
 2928     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2929   cat >> confdefs.h <<EOF
 2930 #define $ac_tr_hdr 1
 2931 EOF
 2932  
 2933 else
 2934   echo "$ac_t""no" 1>&6
 2935 fi
 2936 done
 2937 
 2938 for ac_hdr in unistd.h
 2939 do
 2940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2942 echo "configure:2943: checking for $ac_hdr" >&5
 2943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2944   echo $ac_n "(cached) $ac_c" 1>&6
 2945 else
 2946   cat > conftest.$ac_ext <<EOF
 2947 #line 2948 "configure"
 2948 #include "confdefs.h"
 2949 #include <$ac_hdr>
 2950 EOF
 2951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2952 { (eval echo configure:2953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2954 if test -z "$ac_err"; then
 2955   rm -rf conftest*
 2956   eval "ac_cv_header_$ac_safe=yes"
 2957 else
 2958   echo "$ac_err" >&5
 2959   echo "configure: failed program was:" >&5
 2960   cat conftest.$ac_ext >&5
 2961   rm -rf conftest*
 2962   eval "ac_cv_header_$ac_safe=no"
 2963 fi
 2964 rm -f conftest*
 2965 fi
 2966 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 2967   echo "$ac_t""yes" 1>&6
 2968     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 2969   cat >> confdefs.h <<EOF
 2970 #define $ac_tr_hdr 1
 2971 EOF
 2972  
 2973 else
 2974   echo "$ac_t""no" 1>&6
 2975 fi
 2976 done
 2977 
 2978 for ac_hdr in unixlib.h
 2979 do
 2980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 2981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 2982 echo "configure:2983: checking for $ac_hdr" >&5
 2983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 2984   echo $ac_n "(cached) $ac_c" 1>&6
 2985 else
 2986   cat > conftest.$ac_ext <<EOF
 2987 #line 2988 "configure"
 2988 #include "confdefs.h"
 2989 #include <$ac_hdr>
 2990 EOF
 2991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 2992 { (eval echo configure:2993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 2993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 2994 if test -z "$ac_err"; then
 2995   rm -rf conftest*
 2996   eval "ac_cv_header_$ac_safe=yes"
 2997 else
 2998   echo "$ac_err" >&5
 2999   echo "configure: failed program was:" >&5
 3000   cat conftest.$ac_ext >&5
 3001   rm -rf conftest*
 3002   eval "ac_cv_header_$ac_safe=no"
 3003 fi
 3004 rm -f conftest*
 3005 fi
 3006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 3007   echo "$ac_t""yes" 1>&6
 3008     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 3009   cat >> confdefs.h <<EOF
 3010 #define $ac_tr_hdr 1
 3011 EOF
 3012  
 3013 else
 3014   echo "$ac_t""no" 1>&6
 3015 fi
 3016 done
 3017 
 3018 for ac_hdr in utime.h
 3019 do
 3020 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 3021 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 3022 echo "configure:3023: checking for $ac_hdr" >&5
 3023 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 3024   echo $ac_n "(cached) $ac_c" 1>&6
 3025 else
 3026   cat > conftest.$ac_ext <<EOF
 3027 #line 3028 "configure"
 3028 #include "confdefs.h"
 3029 #include <$ac_hdr>
 3030 EOF
 3031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 3032 { (eval echo configure:3033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 3033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 3034 if test -z "$ac_err"; then
 3035   rm -rf conftest*
 3036   eval "ac_cv_header_$ac_safe=yes"
 3037 else
 3038   echo "$ac_err" >&5
 3039   echo "configure: failed program was:" >&5
 3040   cat conftest.$ac_ext >&5
 3041   rm -rf conftest*
 3042   eval "ac_cv_header_$ac_safe=no"
 3043 fi
 3044 rm -f conftest*
 3045 fi
 3046 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 3047   echo "$ac_t""yes" 1>&6
 3048     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 3049   cat >> confdefs.h <<EOF
 3050 #define $ac_tr_hdr 1
 3051 EOF
 3052  
 3053 else
 3054   echo "$ac_t""no" 1>&6
 3055 fi
 3056 done
 3057 
 3058 for ac_hdr in uwin.h
 3059 do
 3060 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 3061 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 3062 echo "configure:3063: checking for $ac_hdr" >&5
 3063 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 3064   echo $ac_n "(cached) $ac_c" 1>&6
 3065 else
 3066   cat > conftest.$ac_ext <<EOF
 3067 #line 3068 "configure"
 3068 #include "confdefs.h"
 3069 #include <$ac_hdr>
 3070 EOF
 3071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 3072 { (eval echo configure:3073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 3073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 3074 if test -z "$ac_err"; then
 3075   rm -rf conftest*
 3076   eval "ac_cv_header_$ac_safe=yes"
 3077 else
 3078   echo "$ac_err" >&5
 3079   echo "configure: failed program was:" >&5
 3080   cat conftest.$ac_ext >&5
 3081   rm -rf conftest*
 3082   eval "ac_cv_header_$ac_safe=no"
 3083 fi
 3084 rm -f conftest*
 3085 fi
 3086 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 3087   echo "$ac_t""yes" 1>&6
 3088     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 3089   cat >> confdefs.h <<EOF
 3090 #define $ac_tr_hdr 1
 3091 EOF
 3092  
 3093 else
 3094   echo "$ac_t""no" 1>&6
 3095 fi
 3096 done
 3097 
 3098 for ac_hdr in wait.h
 3099 do
 3100 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 3101 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 3102 echo "configure:3103: checking for $ac_hdr" >&5
 3103 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 3104   echo $ac_n "(cached) $ac_c" 1>&6
 3105 else
 3106   cat > conftest.$ac_ext <<EOF
 3107 #line 3108 "configure"
 3108 #include "confdefs.h"
 3109 #include <$ac_hdr>
 3110 EOF
 3111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 3112 { (eval echo configure:3113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 3113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 3114 if test -z "$ac_err"; then
 3115   rm -rf conftest*
 3116   eval "ac_cv_header_$ac_safe=yes"
 3117 else
 3118   echo "$ac_err" >&5
 3119   echo "configure: failed program was:" >&5
 3120   cat conftest.$ac_ext >&5
 3121   rm -rf conftest*
 3122   eval "ac_cv_header_$ac_safe=no"
 3123 fi
 3124 rm -f conftest*
 3125 fi
 3126 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 3127   echo "$ac_t""yes" 1>&6
 3128     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 3129   cat >> confdefs.h <<EOF
 3130 #define $ac_tr_hdr 1
 3131 EOF
 3132  
 3133 else
 3134   echo "$ac_t""no" 1>&6
 3135 fi
 3136 done
 3137 
 3138 
 3139 if test "$ac_cv_header_stdarg_h" != yes; then
 3140     { echo "configure: error: stdarg.h not present" 1>&2; exit 1; }
 3141 fi
 3142 
 3143 echo $ac_n "checking for working const""... $ac_c" 1>&6
 3144 echo "configure:3145: checking for working const" >&5
 3145 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
 3146   echo $ac_n "(cached) $ac_c" 1>&6
 3147 else
 3148   cat > conftest.$ac_ext <<EOF
 3149 #line 3150 "configure"
 3150 #include "confdefs.h"
 3151 
 3152 int main() {
 3153 
 3154 /* Ultrix mips cc rejects this.  */
 3155 typedef int charset[2]; const charset x;
 3156 /* SunOS 4.1.1 cc rejects this.  */
 3157 char const *const *ccp;
 3158 char **p;
 3159 /* NEC SVR4.0.2 mips cc rejects this.  */
 3160 struct point {int x, y;};
 3161 static struct point const zero = {0,0};
 3162 /* AIX XL C 1.02.0.0 rejects this.
 3163    It does not let you subtract one const X* pointer from another in an arm
 3164    of an if-expression whose if-part is not a constant expression */
 3165 const char *g = "string";
 3166 ccp = &g + (g ? g-g : 0);
 3167 /* HPUX 7.0 cc rejects these. */
 3168 ++ccp;
 3169 p = (char**) ccp;
 3170 ccp = (char const *const *) p;
 3171 { /* SCO 3.2v4 cc rejects this.  */
 3172   char *t;
 3173   char const *s = 0 ? (char *) 0 : (char const *) 0;
 3174 
 3175   *t++ = 0;
 3176 }
 3177 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 3178   int x[] = {25, 17};
 3179   const int *foo = &x[0];
 3180   ++foo;
 3181 }
 3182 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 3183   typedef const int *iptr;
 3184   iptr p = 0;
 3185   ++p;
 3186 }
 3187 { /* AIX XL C 1.02.0.0 rejects this saying
 3188      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 3189   struct s { int j; const int *ap[3]; };
 3190   struct s *b; b->j = 5;
 3191 }
 3192 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 3193   const int foo = 10;
 3194 }
 3195 
 3196 ; return 0; }
 3197 EOF
 3198 if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 3199   rm -rf conftest*
 3200   ac_cv_c_const=yes
 3201 else
 3202   echo "configure: failed program was:" >&5
 3203   cat conftest.$ac_ext >&5
 3204   rm -rf conftest*
 3205   ac_cv_c_const=no
 3206 fi
 3207 rm -f conftest*
 3208 fi
 3209 
 3210 echo "$ac_t""$ac_cv_c_const" 1>&6
 3211 if test $ac_cv_c_const = no; then
 3212   cat >> confdefs.h <<\EOF
 3213 #define const 
 3214 EOF
 3215 
 3216 fi
 3217 
 3218 echo $ac_n "checking for inline""... $ac_c" 1>&6
 3219 echo "configure:3220: checking for inline" >&5
 3220 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
 3221   echo $ac_n "(cached) $ac_c" 1>&6
 3222 else
 3223   ac_cv_c_inline=no
 3224 for ac_kw in inline __inline__ __inline; do
 3225   cat > conftest.$ac_ext <<EOF
 3226 #line 3227 "configure"
 3227 #include "confdefs.h"
 3228 
 3229 int main() {
 3230 } $ac_kw foo() {
 3231 ; return 0; }
 3232 EOF
 3233 if { (eval echo configure:3234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 3234   rm -rf conftest*
 3235   ac_cv_c_inline=$ac_kw; break
 3236 else
 3237   echo "configure: failed program was:" >&5
 3238   cat conftest.$ac_ext >&5
 3239 fi
 3240 rm -f conftest*
 3241 done
 3242 
 3243 fi
 3244 
 3245 echo "$ac_t""$ac_cv_c_inline" 1>&6
 3246 case "$ac_cv_c_inline" in
 3247   inline | yes) ;;
 3248   no) cat >> confdefs.h <<\EOF
 3249 #define inline 
 3250 EOF
 3251  ;;
 3252   *)  cat >> confdefs.h <<EOF
 3253 #define inline $ac_cv_c_inline
 3254 EOF
 3255  ;;
 3256 esac
 3257 
 3258 echo $ac_n "checking for size_t""... $ac_c" 1>&6
 3259 echo "configure:3260: checking for size_t" >&5
 3260 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
 3261   echo $ac_n "(cached) $ac_c" 1>&6
 3262 else
 3263   cat > conftest.$ac_ext <<EOF
 3264 #line 3265 "configure"
 3265 #include "confdefs.h"
 3266 #include <sys/types.h>
 3267 #if STDC_HEADERS
 3268 #include <stdlib.h>
 3269 #include <stddef.h>
 3270 #endif
 3271 EOF
 3272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3273   egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 3274   rm -rf conftest*
 3275   ac_cv_type_size_t=yes
 3276 else
 3277   rm -rf conftest*
 3278   ac_cv_type_size_t=no
 3279 fi
 3280 rm -f conftest*
 3281 
 3282 fi
 3283 echo "$ac_t""$ac_cv_type_size_t" 1>&6
 3284 if test $ac_cv_type_size_t = no; then
 3285   cat >> confdefs.h <<\EOF
 3286 #define size_t unsigned
 3287 EOF
 3288 
 3289 fi
 3290 
 3291 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
 3292 echo "configure:3293: checking for pid_t" >&5
 3293 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
 3294   echo $ac_n "(cached) $ac_c" 1>&6
 3295 else
 3296   cat > conftest.$ac_ext <<EOF
 3297 #line 3298 "configure"
 3298 #include "confdefs.h"
 3299 #include <sys/types.h>
 3300 #if STDC_HEADERS
 3301 #include <stdlib.h>
 3302 #include <stddef.h>
 3303 #endif
 3304 EOF
 3305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3306   egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 3307   rm -rf conftest*
 3308   ac_cv_type_pid_t=yes
 3309 else
 3310   rm -rf conftest*
 3311   ac_cv_type_pid_t=no
 3312 fi
 3313 rm -f conftest*
 3314 
 3315 fi
 3316 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
 3317 if test $ac_cv_type_pid_t = no; then
 3318   cat >> confdefs.h <<\EOF
 3319 #define pid_t int
 3320 EOF
 3321 
 3322 fi
 3323 
 3324 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
 3325 echo "configure:3326: checking for socklen_t" >&5
 3326 if eval "test \"`echo '$''{'ac_cv_have_socklen_t'+set}'`\" = set"; then
 3327   echo $ac_n "(cached) $ac_c" 1>&6
 3328 else
 3329   cat > conftest.$ac_ext <<EOF
 3330 #line 3331 "configure"
 3331 #include "confdefs.h"
 3332 
 3333     #include <sys/types.h>
 3334     #include <sys/socket.h>
 3335     
 3336 int main() {
 3337 
 3338         socklen_t a = 0;
 3339         return a;
 3340     
 3341 ; return 0; }
 3342 EOF
 3343 if { (eval echo configure:3344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 3344   rm -rf conftest*
 3345   ac_cv_have_socklen_t=yes
 3346 else
 3347   echo "configure: failed program was:" >&5
 3348   cat conftest.$ac_ext >&5
 3349   rm -rf conftest*
 3350   ac_cv_have_socklen_t=no
 3351 fi
 3352 rm -f conftest*
 3353 
 3354 fi
 3355 
 3356 echo "$ac_t""$ac_cv_have_socklen_t" 1>&6
 3357 if test "$ac_cv_have_socklen_t" = yes; then
 3358     cat >> confdefs.h <<\EOF
 3359 #define HAVE_SOCKLEN_T 1
 3360 EOF
 3361 
 3362 fi
 3363 echo $ac_n "checking for errno""... $ac_c" 1>&6
 3364 echo "configure:3365: checking for errno" >&5
 3365 if eval "test \"`echo '$''{'ac_cv_have_errno'+set}'`\" = set"; then
 3366   echo $ac_n "(cached) $ac_c" 1>&6
 3367 else
 3368   cat > conftest.$ac_ext <<EOF
 3369 #line 3370 "configure"
 3370 #include "confdefs.h"
 3371 
 3372     #include <errno.h>
 3373     
 3374 int main() {
 3375 
 3376         errno = 0;
 3377         return errno;
 3378     
 3379 ; return 0; }
 3380 EOF
 3381 if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 3382   rm -rf conftest*
 3383   ac_cv_have_errno=yes
 3384 else
 3385   echo "configure: failed program was:" >&5
 3386   cat conftest.$ac_ext >&5
 3387   rm -rf conftest*
 3388   ac_cv_have_errno=no
 3389 fi
 3390 rm -f conftest*
 3391 
 3392 fi
 3393 
 3394 echo "$ac_t""$ac_cv_have_errno" 1>&6
 3395 if test "$ac_cv_have_errno" = yes; then
 3396     cat >> confdefs.h <<\EOF
 3397 #define HAVE_ERRNO 1
 3398 EOF
 3399 
 3400 fi
 3401 
 3402 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
 3403 echo "configure:3404: checking whether time.h and sys/time.h may both be included" >&5
 3404 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
 3405   echo $ac_n "(cached) $ac_c" 1>&6
 3406 else
 3407   cat > conftest.$ac_ext <<EOF
 3408 #line 3409 "configure"
 3409 #include "confdefs.h"
 3410 #include <sys/types.h>
 3411 #include <sys/time.h>
 3412 #include <time.h>
 3413 int main() {
 3414 struct tm *tp;
 3415 ; return 0; }
 3416 EOF
 3417 if { (eval echo configure:3418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 3418   rm -rf conftest*
 3419   ac_cv_header_time=yes
 3420 else
 3421   echo "configure: failed program was:" >&5
 3422   cat conftest.$ac_ext >&5
 3423   rm -rf conftest*
 3424   ac_cv_header_time=no
 3425 fi
 3426 rm -f conftest*
 3427 fi
 3428 
 3429 echo "$ac_t""$ac_cv_header_time" 1>&6
 3430 if test $ac_cv_header_time = yes; then
 3431   cat >> confdefs.h <<\EOF
 3432 #define TIME_WITH_SYS_TIME 1
 3433 EOF
 3434 
 3435 fi
 3436 
 3437 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
 3438 echo "configure:3439: checking whether struct tm is in sys/time.h or time.h" >&5
 3439 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
 3440   echo $ac_n "(cached) $ac_c" 1>&6
 3441 else
 3442   cat > conftest.$ac_ext <<EOF
 3443 #line 3444 "configure"
 3444 #include "confdefs.h"
 3445 #include <sys/types.h>
 3446 #include <time.h>
 3447 int main() {
 3448 struct tm *tp; tp->tm_sec;
 3449 ; return 0; }
 3450 EOF
 3451 if { (eval echo configure:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 3452   rm -rf conftest*
 3453   ac_cv_struct_tm=time.h
 3454 else
 3455   echo "configure: failed program was:" >&5
 3456   cat conftest.$ac_ext >&5
 3457   rm -rf conftest*
 3458   ac_cv_struct_tm=sys/time.h
 3459 fi
 3460 rm -f conftest*
 3461 fi
 3462 
 3463 echo "$ac_t""$ac_cv_struct_tm" 1>&6
 3464 if test $ac_cv_struct_tm = sys/time.h; then
 3465   cat >> confdefs.h <<\EOF
 3466 #define TM_IN_SYS_TIME 1
 3467 EOF
 3468 
 3469 fi
 3470 
 3471 
 3472 echo $ac_n "checking if rename can replace existing files""... $ac_c" 1>&6
 3473 echo "configure:3474: checking if rename can replace existing files" >&5
 3474 if eval "test \"`echo '$''{'ac_cv_rename_over_existing_files'+set}'`\" = set"; then
 3475   echo $ac_n "(cached) $ac_c" 1>&6
 3476 else
 3477   if test "$cross_compiling" = yes; then
 3478   ac_cv_rename_over_existing_files=no
 3479 else
 3480   cat > conftest.$ac_ext <<EOF
 3481 #line 3482 "configure"
 3482 #include "confdefs.h"
 3483 
 3484     #include <fcntl.h>
 3485     #include <stdio.h>
 3486     #include <unistd.h>
 3487 
 3488     int main()
 3489     {
 3490         int ret;
 3491         close(creat("conftest.rename1", 0600));
 3492         close(creat("conftest.rename2", 0600));
 3493         ret = rename("conftest.rename1", "conftest.rename2");
 3494         unlink("conftest.rename1");
 3495         unlink("conftest.rename2");
 3496         return !!ret;
 3497     }
 3498     
 3499 EOF
 3500 if { (eval echo configure:3501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 3501 then
 3502   ac_cv_rename_over_existing_files=yes
 3503 else
 3504   echo "configure: failed program was:" >&5
 3505   cat conftest.$ac_ext >&5
 3506   rm -fr conftest*
 3507   ac_cv_rename_over_existing_files=no
 3508 fi
 3509 rm -fr conftest*
 3510 fi
 3511 
 3512 
 3513 fi
 3514 
 3515 echo "$ac_t""$ac_cv_rename_over_existing_files" 1>&6
 3516 
 3517 if test "$ac_cv_rename_over_existing_files" = yes; then
 3518     cat >> confdefs.h <<\EOF
 3519 #define RENAME_OVER_EXISTING_FILES 1
 3520 EOF
 3521 
 3522 fi
 3523 
 3524 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
 3525 echo "configure:3526: checking return type of signal handlers" >&5
 3526 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
 3527   echo $ac_n "(cached) $ac_c" 1>&6
 3528 else
 3529   cat > conftest.$ac_ext <<EOF
 3530 #line 3531 "configure"
 3531 #include "confdefs.h"
 3532 #include <sys/types.h>
 3533 #include <signal.h>
 3534 #ifdef signal
 3535 #undef signal
 3536 #endif
 3537 #ifdef __cplusplus
 3538 extern "C" void (*signal (int, void (*)(int)))(int);
 3539 #else
 3540 void (*signal ()) ();
 3541 #endif
 3542 
 3543 int main() {
 3544 int i;
 3545 ; return 0; }
 3546 EOF
 3547 if { (eval echo configure:3548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 3548   rm -rf conftest*
 3549   ac_cv_type_signal=void
 3550 else
 3551   echo "configure: failed program was:" >&5
 3552   cat conftest.$ac_ext >&5
 3553   rm -rf conftest*
 3554   ac_cv_type_signal=int
 3555 fi
 3556 rm -f conftest*
 3557 fi
 3558 
 3559 echo "$ac_t""$ac_cv_type_signal" 1>&6
 3560 cat >> confdefs.h <<EOF
 3561 #define RETSIGTYPE $ac_cv_type_signal
 3562 EOF
 3563 
 3564 
 3565 echo $ac_n "checking for strftime""... $ac_c" 1>&6
 3566 echo "configure:3567: checking for strftime" >&5
 3567 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
 3568   echo $ac_n "(cached) $ac_c" 1>&6
 3569 else
 3570   cat > conftest.$ac_ext <<EOF
 3571 #line 3572 "configure"
 3572 #include "confdefs.h"
 3573 /* System header to define __stub macros and hopefully few prototypes,
 3574     which can conflict with char strftime(); below.  */
 3575 #include <assert.h>
 3576 /* Override any gcc2 internal prototype to avoid an error.  */
 3577 /* We use char because int might match the return type of a gcc2
 3578     builtin and then its argument prototype would still apply.  */
 3579 char strftime();
 3580 
 3581 int main() {
 3582 
 3583 /* The GNU C library defines this for functions which it implements
 3584     to always fail with ENOSYS.  Some functions are actually named
 3585     something starting with __ and the normal name is an alias.  */
 3586 #if defined (__stub_strftime) || defined (__stub___strftime)
 3587 choke me
 3588 #else
 3589 strftime();
 3590 #endif
 3591 
 3592 ; return 0; }
 3593 EOF
 3594 if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3595   rm -rf conftest*
 3596   eval "ac_cv_func_strftime=yes"
 3597 else
 3598   echo "configure: failed program was:" >&5
 3599   cat conftest.$ac_ext >&5
 3600   rm -rf conftest*
 3601   eval "ac_cv_func_strftime=no"
 3602 fi
 3603 rm -f conftest*
 3604 fi
 3605 
 3606 if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then
 3607   echo "$ac_t""yes" 1>&6
 3608   cat >> confdefs.h <<\EOF
 3609 #define HAVE_STRFTIME 1
 3610 EOF
 3611 
 3612 else
 3613   echo "$ac_t""no" 1>&6
 3614 # strftime is in -lintl on SCO UNIX.
 3615 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
 3616 echo "configure:3617: checking for strftime in -lintl" >&5
 3617 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
 3618 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 3619   echo $ac_n "(cached) $ac_c" 1>&6
 3620 else
 3621   ac_save_LIBS="$LIBS"
 3622 LIBS="-lintl  $LIBS"
 3623 cat > conftest.$ac_ext <<EOF
 3624 #line 3625 "configure"
 3625 #include "confdefs.h"
 3626 /* Override any gcc2 internal prototype to avoid an error.  */
 3627 /* We use char because int might match the return type of a gcc2
 3628     builtin and then its argument prototype would still apply.  */
 3629 char strftime();
 3630 
 3631 int main() {
 3632 strftime()
 3633 ; return 0; }
 3634 EOF
 3635 if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3636   rm -rf conftest*
 3637   eval "ac_cv_lib_$ac_lib_var=yes"
 3638 else
 3639   echo "configure: failed program was:" >&5
 3640   cat conftest.$ac_ext >&5
 3641   rm -rf conftest*
 3642   eval "ac_cv_lib_$ac_lib_var=no"
 3643 fi
 3644 rm -f conftest*
 3645 LIBS="$ac_save_LIBS"
 3646 
 3647 fi
 3648 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 3649   echo "$ac_t""yes" 1>&6
 3650   cat >> confdefs.h <<\EOF
 3651 #define HAVE_STRFTIME 1
 3652 EOF
 3653 
 3654 LIBS="-lintl $LIBS"
 3655 else
 3656   echo "$ac_t""no" 1>&6
 3657 fi
 3658 
 3659 fi
 3660 
 3661 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
 3662 echo "configure:3663: checking for vprintf" >&5
 3663 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
 3664   echo $ac_n "(cached) $ac_c" 1>&6
 3665 else
 3666   cat > conftest.$ac_ext <<EOF
 3667 #line 3668 "configure"
 3668 #include "confdefs.h"
 3669 /* System header to define __stub macros and hopefully few prototypes,
 3670     which can conflict with char vprintf(); below.  */
 3671 #include <assert.h>
 3672 /* Override any gcc2 internal prototype to avoid an error.  */
 3673 /* We use char because int might match the return type of a gcc2
 3674     builtin and then its argument prototype would still apply.  */
 3675 char vprintf();
 3676 
 3677 int main() {
 3678 
 3679 /* The GNU C library defines this for functions which it implements
 3680     to always fail with ENOSYS.  Some functions are actually named
 3681     something starting with __ and the normal name is an alias.  */
 3682 #if defined (__stub_vprintf) || defined (__stub___vprintf)
 3683 choke me
 3684 #else
 3685 vprintf();
 3686 #endif
 3687 
 3688 ; return 0; }
 3689 EOF
 3690 if { (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3691   rm -rf conftest*
 3692   eval "ac_cv_func_vprintf=yes"
 3693 else
 3694   echo "configure: failed program was:" >&5
 3695   cat conftest.$ac_ext >&5
 3696   rm -rf conftest*
 3697   eval "ac_cv_func_vprintf=no"
 3698 fi
 3699 rm -f conftest*
 3700 fi
 3701 
 3702 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
 3703   echo "$ac_t""yes" 1>&6
 3704   cat >> confdefs.h <<\EOF
 3705 #define HAVE_VPRINTF 1
 3706 EOF
 3707 
 3708 else
 3709   echo "$ac_t""no" 1>&6
 3710 fi
 3711 
 3712 if test "$ac_cv_func_vprintf" != yes; then
 3713 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
 3714 echo "configure:3715: checking for _doprnt" >&5
 3715 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
 3716   echo $ac_n "(cached) $ac_c" 1>&6
 3717 else
 3718   cat > conftest.$ac_ext <<EOF
 3719 #line 3720 "configure"
 3720 #include "confdefs.h"
 3721 /* System header to define __stub macros and hopefully few prototypes,
 3722     which can conflict with char _doprnt(); below.  */
 3723 #include <assert.h>
 3724 /* Override any gcc2 internal prototype to avoid an error.  */
 3725 /* We use char because int might match the return type of a gcc2
 3726     builtin and then its argument prototype would still apply.  */
 3727 char _doprnt();
 3728 
 3729 int main() {
 3730 
 3731 /* The GNU C library defines this for functions which it implements
 3732     to always fail with ENOSYS.  Some functions are actually named
 3733     something starting with __ and the normal name is an alias.  */
 3734 #if defined (__stub__doprnt) || defined (__stub____doprnt)
 3735 choke me
 3736 #else
 3737 _doprnt();
 3738 #endif
 3739 
 3740 ; return 0; }
 3741 EOF
 3742 if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3743   rm -rf conftest*
 3744   eval "ac_cv_func__doprnt=yes"
 3745 else
 3746   echo "configure: failed program was:" >&5
 3747   cat conftest.$ac_ext >&5
 3748   rm -rf conftest*
 3749   eval "ac_cv_func__doprnt=no"
 3750 fi
 3751 rm -f conftest*
 3752 fi
 3753 
 3754 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
 3755   echo "$ac_t""yes" 1>&6
 3756   cat >> confdefs.h <<\EOF
 3757 #define HAVE_DOPRNT 1
 3758 EOF
 3759 
 3760 else
 3761   echo "$ac_t""no" 1>&6
 3762 fi
 3763 
 3764 fi
 3765 
 3766 for ac_func in bcmp
 3767 do
 3768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 3769 echo "configure:3770: checking for $ac_func" >&5
 3770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 3771   echo $ac_n "(cached) $ac_c" 1>&6
 3772 else
 3773   cat > conftest.$ac_ext <<EOF
 3774 #line 3775 "configure"
 3775 #include "confdefs.h"
 3776 /* System header to define __stub macros and hopefully few prototypes,
 3777     which can conflict with char $ac_func(); below.  */
 3778 #include <assert.h>
 3779 /* Override any gcc2 internal prototype to avoid an error.  */
 3780 /* We use char because int might match the return type of a gcc2
 3781     builtin and then its argument prototype would still apply.  */
 3782 char $ac_func();
 3783 
 3784 int main() {
 3785 
 3786 /* The GNU C library defines this for functions which it implements
 3787     to always fail with ENOSYS.  Some functions are actually named
 3788     something starting with __ and the normal name is an alias.  */
 3789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 3790 choke me
 3791 #else
 3792 $ac_func();
 3793 #endif
 3794 
 3795 ; return 0; }
 3796 EOF
 3797 if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3798   rm -rf conftest*
 3799   eval "ac_cv_func_$ac_func=yes"
 3800 else
 3801   echo "configure: failed program was:" >&5
 3802   cat conftest.$ac_ext >&5
 3803   rm -rf conftest*
 3804   eval "ac_cv_func_$ac_func=no"
 3805 fi
 3806 rm -f conftest*
 3807 fi
 3808 
 3809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 3810   echo "$ac_t""yes" 1>&6
 3811     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 3812   cat >> confdefs.h <<EOF
 3813 #define $ac_tr_func 1
 3814 EOF
 3815  
 3816 else
 3817   echo "$ac_t""no" 1>&6
 3818 fi
 3819 done
 3820 
 3821 for ac_func in bcopy
 3822 do
 3823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 3824 echo "configure:3825: checking for $ac_func" >&5
 3825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 3826   echo $ac_n "(cached) $ac_c" 1>&6
 3827 else
 3828   cat > conftest.$ac_ext <<EOF
 3829 #line 3830 "configure"
 3830 #include "confdefs.h"
 3831 /* System header to define __stub macros and hopefully few prototypes,
 3832     which can conflict with char $ac_func(); below.  */
 3833 #include <assert.h>
 3834 /* Override any gcc2 internal prototype to avoid an error.  */
 3835 /* We use char because int might match the return type of a gcc2
 3836     builtin and then its argument prototype would still apply.  */
 3837 char $ac_func();
 3838 
 3839 int main() {
 3840 
 3841 /* The GNU C library defines this for functions which it implements
 3842     to always fail with ENOSYS.  Some functions are actually named
 3843     something starting with __ and the normal name is an alias.  */
 3844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 3845 choke me
 3846 #else
 3847 $ac_func();
 3848 #endif
 3849 
 3850 ; return 0; }
 3851 EOF
 3852 if { (eval echo configure:3853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3853   rm -rf conftest*
 3854   eval "ac_cv_func_$ac_func=yes"
 3855 else
 3856   echo "configure: failed program was:" >&5
 3857   cat conftest.$ac_ext >&5
 3858   rm -rf conftest*
 3859   eval "ac_cv_func_$ac_func=no"
 3860 fi
 3861 rm -f conftest*
 3862 fi
 3863 
 3864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 3865   echo "$ac_t""yes" 1>&6
 3866     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 3867   cat >> confdefs.h <<EOF
 3868 #define $ac_tr_func 1
 3869 EOF
 3870  
 3871 else
 3872   echo "$ac_t""no" 1>&6
 3873 fi
 3874 done
 3875 
 3876 for ac_func in bzero
 3877 do
 3878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 3879 echo "configure:3880: checking for $ac_func" >&5
 3880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 3881   echo $ac_n "(cached) $ac_c" 1>&6
 3882 else
 3883   cat > conftest.$ac_ext <<EOF
 3884 #line 3885 "configure"
 3885 #include "confdefs.h"
 3886 /* System header to define __stub macros and hopefully few prototypes,
 3887     which can conflict with char $ac_func(); below.  */
 3888 #include <assert.h>
 3889 /* Override any gcc2 internal prototype to avoid an error.  */
 3890 /* We use char because int might match the return type of a gcc2
 3891     builtin and then its argument prototype would still apply.  */
 3892 char $ac_func();
 3893 
 3894 int main() {
 3895 
 3896 /* The GNU C library defines this for functions which it implements
 3897     to always fail with ENOSYS.  Some functions are actually named
 3898     something starting with __ and the normal name is an alias.  */
 3899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 3900 choke me
 3901 #else
 3902 $ac_func();
 3903 #endif
 3904 
 3905 ; return 0; }
 3906 EOF
 3907 if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3908   rm -rf conftest*
 3909   eval "ac_cv_func_$ac_func=yes"
 3910 else
 3911   echo "configure: failed program was:" >&5
 3912   cat conftest.$ac_ext >&5
 3913   rm -rf conftest*
 3914   eval "ac_cv_func_$ac_func=no"
 3915 fi
 3916 rm -f conftest*
 3917 fi
 3918 
 3919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 3920   echo "$ac_t""yes" 1>&6
 3921     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 3922   cat >> confdefs.h <<EOF
 3923 #define $ac_tr_func 1
 3924 EOF
 3925  
 3926 else
 3927   echo "$ac_t""no" 1>&6
 3928 fi
 3929 done
 3930 
 3931 for ac_func in chmod
 3932 do
 3933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 3934 echo "configure:3935: checking for $ac_func" >&5
 3935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 3936   echo $ac_n "(cached) $ac_c" 1>&6
 3937 else
 3938   cat > conftest.$ac_ext <<EOF
 3939 #line 3940 "configure"
 3940 #include "confdefs.h"
 3941 /* System header to define __stub macros and hopefully few prototypes,
 3942     which can conflict with char $ac_func(); below.  */
 3943 #include <assert.h>
 3944 /* Override any gcc2 internal prototype to avoid an error.  */
 3945 /* We use char because int might match the return type of a gcc2
 3946     builtin and then its argument prototype would still apply.  */
 3947 char $ac_func();
 3948 
 3949 int main() {
 3950 
 3951 /* The GNU C library defines this for functions which it implements
 3952     to always fail with ENOSYS.  Some functions are actually named
 3953     something starting with __ and the normal name is an alias.  */
 3954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 3955 choke me
 3956 #else
 3957 $ac_func();
 3958 #endif
 3959 
 3960 ; return 0; }
 3961 EOF
 3962 if { (eval echo configure:3963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 3963   rm -rf conftest*
 3964   eval "ac_cv_func_$ac_func=yes"
 3965 else
 3966   echo "configure: failed program was:" >&5
 3967   cat conftest.$ac_ext >&5
 3968   rm -rf conftest*
 3969   eval "ac_cv_func_$ac_func=no"
 3970 fi
 3971 rm -f conftest*
 3972 fi
 3973 
 3974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 3975   echo "$ac_t""yes" 1>&6
 3976     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 3977   cat >> confdefs.h <<EOF
 3978 #define $ac_tr_func 1
 3979 EOF
 3980  
 3981 else
 3982   echo "$ac_t""no" 1>&6
 3983 fi
 3984 done
 3985 
 3986 for ac_func in getcwd
 3987 do
 3988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 3989 echo "configure:3990: checking for $ac_func" >&5
 3990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 3991   echo $ac_n "(cached) $ac_c" 1>&6
 3992 else
 3993   cat > conftest.$ac_ext <<EOF
 3994 #line 3995 "configure"
 3995 #include "confdefs.h"
 3996 /* System header to define __stub macros and hopefully few prototypes,
 3997     which can conflict with char $ac_func(); below.  */
 3998 #include <assert.h>
 3999 /* Override any gcc2 internal prototype to avoid an error.  */
 4000 /* We use char because int might match the return type of a gcc2
 4001     builtin and then its argument prototype would still apply.  */
 4002 char $ac_func();
 4003 
 4004 int main() {
 4005 
 4006 /* The GNU C library defines this for functions which it implements
 4007     to always fail with ENOSYS.  Some functions are actually named
 4008     something starting with __ and the normal name is an alias.  */
 4009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4010 choke me
 4011 #else
 4012 $ac_func();
 4013 #endif
 4014 
 4015 ; return 0; }
 4016 EOF
 4017 if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4018   rm -rf conftest*
 4019   eval "ac_cv_func_$ac_func=yes"
 4020 else
 4021   echo "configure: failed program was:" >&5
 4022   cat conftest.$ac_ext >&5
 4023   rm -rf conftest*
 4024   eval "ac_cv_func_$ac_func=no"
 4025 fi
 4026 rm -f conftest*
 4027 fi
 4028 
 4029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4030   echo "$ac_t""yes" 1>&6
 4031     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4032   cat >> confdefs.h <<EOF
 4033 #define $ac_tr_func 1
 4034 EOF
 4035  
 4036 else
 4037   echo "$ac_t""no" 1>&6
 4038 fi
 4039 done
 4040 
 4041 for ac_func in getgrgid
 4042 do
 4043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4044 echo "configure:4045: checking for $ac_func" >&5
 4045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4046   echo $ac_n "(cached) $ac_c" 1>&6
 4047 else
 4048   cat > conftest.$ac_ext <<EOF
 4049 #line 4050 "configure"
 4050 #include "confdefs.h"
 4051 /* System header to define __stub macros and hopefully few prototypes,
 4052     which can conflict with char $ac_func(); below.  */
 4053 #include <assert.h>
 4054 /* Override any gcc2 internal prototype to avoid an error.  */
 4055 /* We use char because int might match the return type of a gcc2
 4056     builtin and then its argument prototype would still apply.  */
 4057 char $ac_func();
 4058 
 4059 int main() {
 4060 
 4061 /* The GNU C library defines this for functions which it implements
 4062     to always fail with ENOSYS.  Some functions are actually named
 4063     something starting with __ and the normal name is an alias.  */
 4064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4065 choke me
 4066 #else
 4067 $ac_func();
 4068 #endif
 4069 
 4070 ; return 0; }
 4071 EOF
 4072 if { (eval echo configure:4073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4073   rm -rf conftest*
 4074   eval "ac_cv_func_$ac_func=yes"
 4075 else
 4076   echo "configure: failed program was:" >&5
 4077   cat conftest.$ac_ext >&5
 4078   rm -rf conftest*
 4079   eval "ac_cv_func_$ac_func=no"
 4080 fi
 4081 rm -f conftest*
 4082 fi
 4083 
 4084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4085   echo "$ac_t""yes" 1>&6
 4086     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4087   cat >> confdefs.h <<EOF
 4088 #define $ac_tr_func 1
 4089 EOF
 4090  
 4091 else
 4092   echo "$ac_t""no" 1>&6
 4093 fi
 4094 done
 4095 
 4096 for ac_func in getpagesize
 4097 do
 4098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4099 echo "configure:4100: checking for $ac_func" >&5
 4100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4101   echo $ac_n "(cached) $ac_c" 1>&6
 4102 else
 4103   cat > conftest.$ac_ext <<EOF
 4104 #line 4105 "configure"
 4105 #include "confdefs.h"
 4106 /* System header to define __stub macros and hopefully few prototypes,
 4107     which can conflict with char $ac_func(); below.  */
 4108 #include <assert.h>
 4109 /* Override any gcc2 internal prototype to avoid an error.  */
 4110 /* We use char because int might match the return type of a gcc2
 4111     builtin and then its argument prototype would still apply.  */
 4112 char $ac_func();
 4113 
 4114 int main() {
 4115 
 4116 /* The GNU C library defines this for functions which it implements
 4117     to always fail with ENOSYS.  Some functions are actually named
 4118     something starting with __ and the normal name is an alias.  */
 4119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4120 choke me
 4121 #else
 4122 $ac_func();
 4123 #endif
 4124 
 4125 ; return 0; }
 4126 EOF
 4127 if { (eval echo configure:4128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4128   rm -rf conftest*
 4129   eval "ac_cv_func_$ac_func=yes"
 4130 else
 4131   echo "configure: failed program was:" >&5
 4132   cat conftest.$ac_ext >&5
 4133   rm -rf conftest*
 4134   eval "ac_cv_func_$ac_func=no"
 4135 fi
 4136 rm -f conftest*
 4137 fi
 4138 
 4139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4140   echo "$ac_t""yes" 1>&6
 4141     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4142   cat >> confdefs.h <<EOF
 4143 #define $ac_tr_func 1
 4144 EOF
 4145  
 4146 else
 4147   echo "$ac_t""no" 1>&6
 4148 fi
 4149 done
 4150 
 4151 for ac_func in getpid
 4152 do
 4153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4154 echo "configure:4155: checking for $ac_func" >&5
 4155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4156   echo $ac_n "(cached) $ac_c" 1>&6
 4157 else
 4158   cat > conftest.$ac_ext <<EOF
 4159 #line 4160 "configure"
 4160 #include "confdefs.h"
 4161 /* System header to define __stub macros and hopefully few prototypes,
 4162     which can conflict with char $ac_func(); below.  */
 4163 #include <assert.h>
 4164 /* Override any gcc2 internal prototype to avoid an error.  */
 4165 /* We use char because int might match the return type of a gcc2
 4166     builtin and then its argument prototype would still apply.  */
 4167 char $ac_func();
 4168 
 4169 int main() {
 4170 
 4171 /* The GNU C library defines this for functions which it implements
 4172     to always fail with ENOSYS.  Some functions are actually named
 4173     something starting with __ and the normal name is an alias.  */
 4174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4175 choke me
 4176 #else
 4177 $ac_func();
 4178 #endif
 4179 
 4180 ; return 0; }
 4181 EOF
 4182 if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4183   rm -rf conftest*
 4184   eval "ac_cv_func_$ac_func=yes"
 4185 else
 4186   echo "configure: failed program was:" >&5
 4187   cat conftest.$ac_ext >&5
 4188   rm -rf conftest*
 4189   eval "ac_cv_func_$ac_func=no"
 4190 fi
 4191 rm -f conftest*
 4192 fi
 4193 
 4194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4195   echo "$ac_t""yes" 1>&6
 4196     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4197   cat >> confdefs.h <<EOF
 4198 #define $ac_tr_func 1
 4199 EOF
 4200  
 4201 else
 4202   echo "$ac_t""no" 1>&6
 4203 fi
 4204 done
 4205 
 4206 for ac_func in getpwuid
 4207 do
 4208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4209 echo "configure:4210: checking for $ac_func" >&5
 4210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4211   echo $ac_n "(cached) $ac_c" 1>&6
 4212 else
 4213   cat > conftest.$ac_ext <<EOF
 4214 #line 4215 "configure"
 4215 #include "confdefs.h"
 4216 /* System header to define __stub macros and hopefully few prototypes,
 4217     which can conflict with char $ac_func(); below.  */
 4218 #include <assert.h>
 4219 /* Override any gcc2 internal prototype to avoid an error.  */
 4220 /* We use char because int might match the return type of a gcc2
 4221     builtin and then its argument prototype would still apply.  */
 4222 char $ac_func();
 4223 
 4224 int main() {
 4225 
 4226 /* The GNU C library defines this for functions which it implements
 4227     to always fail with ENOSYS.  Some functions are actually named
 4228     something starting with __ and the normal name is an alias.  */
 4229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4230 choke me
 4231 #else
 4232 $ac_func();
 4233 #endif
 4234 
 4235 ; return 0; }
 4236 EOF
 4237 if { (eval echo configure:4238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4238   rm -rf conftest*
 4239   eval "ac_cv_func_$ac_func=yes"
 4240 else
 4241   echo "configure: failed program was:" >&5
 4242   cat conftest.$ac_ext >&5
 4243   rm -rf conftest*
 4244   eval "ac_cv_func_$ac_func=no"
 4245 fi
 4246 rm -f conftest*
 4247 fi
 4248 
 4249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4250   echo "$ac_t""yes" 1>&6
 4251     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4252   cat >> confdefs.h <<EOF
 4253 #define $ac_tr_func 1
 4254 EOF
 4255  
 4256 else
 4257   echo "$ac_t""no" 1>&6
 4258 fi
 4259 done
 4260 
 4261 for ac_func in getrlimit
 4262 do
 4263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4264 echo "configure:4265: checking for $ac_func" >&5
 4265 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4266   echo $ac_n "(cached) $ac_c" 1>&6
 4267 else
 4268   cat > conftest.$ac_ext <<EOF
 4269 #line 4270 "configure"
 4270 #include "confdefs.h"
 4271 /* System header to define __stub macros and hopefully few prototypes,
 4272     which can conflict with char $ac_func(); below.  */
 4273 #include <assert.h>
 4274 /* Override any gcc2 internal prototype to avoid an error.  */
 4275 /* We use char because int might match the return type of a gcc2
 4276     builtin and then its argument prototype would still apply.  */
 4277 char $ac_func();
 4278 
 4279 int main() {
 4280 
 4281 /* The GNU C library defines this for functions which it implements
 4282     to always fail with ENOSYS.  Some functions are actually named
 4283     something starting with __ and the normal name is an alias.  */
 4284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4285 choke me
 4286 #else
 4287 $ac_func();
 4288 #endif
 4289 
 4290 ; return 0; }
 4291 EOF
 4292 if { (eval echo configure:4293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4293   rm -rf conftest*
 4294   eval "ac_cv_func_$ac_func=yes"
 4295 else
 4296   echo "configure: failed program was:" >&5
 4297   cat conftest.$ac_ext >&5
 4298   rm -rf conftest*
 4299   eval "ac_cv_func_$ac_func=no"
 4300 fi
 4301 rm -f conftest*
 4302 fi
 4303 
 4304 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4305   echo "$ac_t""yes" 1>&6
 4306     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4307   cat >> confdefs.h <<EOF
 4308 #define $ac_tr_func 1
 4309 EOF
 4310  
 4311 else
 4312   echo "$ac_t""no" 1>&6
 4313 fi
 4314 done
 4315 
 4316 for ac_func in gettimeofday
 4317 do
 4318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4319 echo "configure:4320: checking for $ac_func" >&5
 4320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4321   echo $ac_n "(cached) $ac_c" 1>&6
 4322 else
 4323   cat > conftest.$ac_ext <<EOF
 4324 #line 4325 "configure"
 4325 #include "confdefs.h"
 4326 /* System header to define __stub macros and hopefully few prototypes,
 4327     which can conflict with char $ac_func(); below.  */
 4328 #include <assert.h>
 4329 /* Override any gcc2 internal prototype to avoid an error.  */
 4330 /* We use char because int might match the return type of a gcc2
 4331     builtin and then its argument prototype would still apply.  */
 4332 char $ac_func();
 4333 
 4334 int main() {
 4335 
 4336 /* The GNU C library defines this for functions which it implements
 4337     to always fail with ENOSYS.  Some functions are actually named
 4338     something starting with __ and the normal name is an alias.  */
 4339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4340 choke me
 4341 #else
 4342 $ac_func();
 4343 #endif
 4344 
 4345 ; return 0; }
 4346 EOF
 4347 if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4348   rm -rf conftest*
 4349   eval "ac_cv_func_$ac_func=yes"
 4350 else
 4351   echo "configure: failed program was:" >&5
 4352   cat conftest.$ac_ext >&5
 4353   rm -rf conftest*
 4354   eval "ac_cv_func_$ac_func=no"
 4355 fi
 4356 rm -f conftest*
 4357 fi
 4358 
 4359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4360   echo "$ac_t""yes" 1>&6
 4361     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4362   cat >> confdefs.h <<EOF
 4363 #define $ac_tr_func 1
 4364 EOF
 4365  
 4366 else
 4367   echo "$ac_t""no" 1>&6
 4368 fi
 4369 done
 4370 
 4371 for ac_func in mkdir
 4372 do
 4373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4374 echo "configure:4375: checking for $ac_func" >&5
 4375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4376   echo $ac_n "(cached) $ac_c" 1>&6
 4377 else
 4378   cat > conftest.$ac_ext <<EOF
 4379 #line 4380 "configure"
 4380 #include "confdefs.h"
 4381 /* System header to define __stub macros and hopefully few prototypes,
 4382     which can conflict with char $ac_func(); below.  */
 4383 #include <assert.h>
 4384 /* Override any gcc2 internal prototype to avoid an error.  */
 4385 /* We use char because int might match the return type of a gcc2
 4386     builtin and then its argument prototype would still apply.  */
 4387 char $ac_func();
 4388 
 4389 int main() {
 4390 
 4391 /* The GNU C library defines this for functions which it implements
 4392     to always fail with ENOSYS.  Some functions are actually named
 4393     something starting with __ and the normal name is an alias.  */
 4394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4395 choke me
 4396 #else
 4397 $ac_func();
 4398 #endif
 4399 
 4400 ; return 0; }
 4401 EOF
 4402 if { (eval echo configure:4403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4403   rm -rf conftest*
 4404   eval "ac_cv_func_$ac_func=yes"
 4405 else
 4406   echo "configure: failed program was:" >&5
 4407   cat conftest.$ac_ext >&5
 4408   rm -rf conftest*
 4409   eval "ac_cv_func_$ac_func=no"
 4410 fi
 4411 rm -f conftest*
 4412 fi
 4413 
 4414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4415   echo "$ac_t""yes" 1>&6
 4416     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4417   cat >> confdefs.h <<EOF
 4418 #define $ac_tr_func 1
 4419 EOF
 4420  
 4421 else
 4422   echo "$ac_t""no" 1>&6
 4423 fi
 4424 done
 4425 
 4426 for ac_func in mktime
 4427 do
 4428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4429 echo "configure:4430: checking for $ac_func" >&5
 4430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4431   echo $ac_n "(cached) $ac_c" 1>&6
 4432 else
 4433   cat > conftest.$ac_ext <<EOF
 4434 #line 4435 "configure"
 4435 #include "confdefs.h"
 4436 /* System header to define __stub macros and hopefully few prototypes,
 4437     which can conflict with char $ac_func(); below.  */
 4438 #include <assert.h>
 4439 /* Override any gcc2 internal prototype to avoid an error.  */
 4440 /* We use char because int might match the return type of a gcc2
 4441     builtin and then its argument prototype would still apply.  */
 4442 char $ac_func();
 4443 
 4444 int main() {
 4445 
 4446 /* The GNU C library defines this for functions which it implements
 4447     to always fail with ENOSYS.  Some functions are actually named
 4448     something starting with __ and the normal name is an alias.  */
 4449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4450 choke me
 4451 #else
 4452 $ac_func();
 4453 #endif
 4454 
 4455 ; return 0; }
 4456 EOF
 4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4458   rm -rf conftest*
 4459   eval "ac_cv_func_$ac_func=yes"
 4460 else
 4461   echo "configure: failed program was:" >&5
 4462   cat conftest.$ac_ext >&5
 4463   rm -rf conftest*
 4464   eval "ac_cv_func_$ac_func=no"
 4465 fi
 4466 rm -f conftest*
 4467 fi
 4468 
 4469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4470   echo "$ac_t""yes" 1>&6
 4471     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4472   cat >> confdefs.h <<EOF
 4473 #define $ac_tr_func 1
 4474 EOF
 4475  
 4476 else
 4477   echo "$ac_t""no" 1>&6
 4478 fi
 4479 done
 4480 
 4481 for ac_func in popen
 4482 do
 4483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4484 echo "configure:4485: checking for $ac_func" >&5
 4485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4486   echo $ac_n "(cached) $ac_c" 1>&6
 4487 else
 4488   cat > conftest.$ac_ext <<EOF
 4489 #line 4490 "configure"
 4490 #include "confdefs.h"
 4491 /* System header to define __stub macros and hopefully few prototypes,
 4492     which can conflict with char $ac_func(); below.  */
 4493 #include <assert.h>
 4494 /* Override any gcc2 internal prototype to avoid an error.  */
 4495 /* We use char because int might match the return type of a gcc2
 4496     builtin and then its argument prototype would still apply.  */
 4497 char $ac_func();
 4498 
 4499 int main() {
 4500 
 4501 /* The GNU C library defines this for functions which it implements
 4502     to always fail with ENOSYS.  Some functions are actually named
 4503     something starting with __ and the normal name is an alias.  */
 4504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4505 choke me
 4506 #else
 4507 $ac_func();
 4508 #endif
 4509 
 4510 ; return 0; }
 4511 EOF
 4512 if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4513   rm -rf conftest*
 4514   eval "ac_cv_func_$ac_func=yes"
 4515 else
 4516   echo "configure: failed program was:" >&5
 4517   cat conftest.$ac_ext >&5
 4518   rm -rf conftest*
 4519   eval "ac_cv_func_$ac_func=no"
 4520 fi
 4521 rm -f conftest*
 4522 fi
 4523 
 4524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4525   echo "$ac_t""yes" 1>&6
 4526     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4527   cat >> confdefs.h <<EOF
 4528 #define $ac_tr_func 1
 4529 EOF
 4530  
 4531 else
 4532   echo "$ac_t""no" 1>&6
 4533 fi
 4534 done
 4535 
 4536 for ac_func in pthread_sigmask
 4537 do
 4538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4539 echo "configure:4540: checking for $ac_func" >&5
 4540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4541   echo $ac_n "(cached) $ac_c" 1>&6
 4542 else
 4543   cat > conftest.$ac_ext <<EOF
 4544 #line 4545 "configure"
 4545 #include "confdefs.h"
 4546 /* System header to define __stub macros and hopefully few prototypes,
 4547     which can conflict with char $ac_func(); below.  */
 4548 #include <assert.h>
 4549 /* Override any gcc2 internal prototype to avoid an error.  */
 4550 /* We use char because int might match the return type of a gcc2
 4551     builtin and then its argument prototype would still apply.  */
 4552 char $ac_func();
 4553 
 4554 int main() {
 4555 
 4556 /* The GNU C library defines this for functions which it implements
 4557     to always fail with ENOSYS.  Some functions are actually named
 4558     something starting with __ and the normal name is an alias.  */
 4559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4560 choke me
 4561 #else
 4562 $ac_func();
 4563 #endif
 4564 
 4565 ; return 0; }
 4566 EOF
 4567 if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4568   rm -rf conftest*
 4569   eval "ac_cv_func_$ac_func=yes"
 4570 else
 4571   echo "configure: failed program was:" >&5
 4572   cat conftest.$ac_ext >&5
 4573   rm -rf conftest*
 4574   eval "ac_cv_func_$ac_func=no"
 4575 fi
 4576 rm -f conftest*
 4577 fi
 4578 
 4579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4580   echo "$ac_t""yes" 1>&6
 4581     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4582   cat >> confdefs.h <<EOF
 4583 #define $ac_tr_func 1
 4584 EOF
 4585  
 4586 else
 4587   echo "$ac_t""no" 1>&6
 4588 fi
 4589 done
 4590 
 4591 for ac_func in raise
 4592 do
 4593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4594 echo "configure:4595: checking for $ac_func" >&5
 4595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4596   echo $ac_n "(cached) $ac_c" 1>&6
 4597 else
 4598   cat > conftest.$ac_ext <<EOF
 4599 #line 4600 "configure"
 4600 #include "confdefs.h"
 4601 /* System header to define __stub macros and hopefully few prototypes,
 4602     which can conflict with char $ac_func(); below.  */
 4603 #include <assert.h>
 4604 /* Override any gcc2 internal prototype to avoid an error.  */
 4605 /* We use char because int might match the return type of a gcc2
 4606     builtin and then its argument prototype would still apply.  */
 4607 char $ac_func();
 4608 
 4609 int main() {
 4610 
 4611 /* The GNU C library defines this for functions which it implements
 4612     to always fail with ENOSYS.  Some functions are actually named
 4613     something starting with __ and the normal name is an alias.  */
 4614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4615 choke me
 4616 #else
 4617 $ac_func();
 4618 #endif
 4619 
 4620 ; return 0; }
 4621 EOF
 4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4623   rm -rf conftest*
 4624   eval "ac_cv_func_$ac_func=yes"
 4625 else
 4626   echo "configure: failed program was:" >&5
 4627   cat conftest.$ac_ext >&5
 4628   rm -rf conftest*
 4629   eval "ac_cv_func_$ac_func=no"
 4630 fi
 4631 rm -f conftest*
 4632 fi
 4633 
 4634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4635   echo "$ac_t""yes" 1>&6
 4636     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4637   cat >> confdefs.h <<EOF
 4638 #define $ac_tr_func 1
 4639 EOF
 4640  
 4641 else
 4642   echo "$ac_t""no" 1>&6
 4643 fi
 4644 done
 4645 
 4646 for ac_func in select
 4647 do
 4648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4649 echo "configure:4650: checking for $ac_func" >&5
 4650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4651   echo $ac_n "(cached) $ac_c" 1>&6
 4652 else
 4653   cat > conftest.$ac_ext <<EOF
 4654 #line 4655 "configure"
 4655 #include "confdefs.h"
 4656 /* System header to define __stub macros and hopefully few prototypes,
 4657     which can conflict with char $ac_func(); below.  */
 4658 #include <assert.h>
 4659 /* Override any gcc2 internal prototype to avoid an error.  */
 4660 /* We use char because int might match the return type of a gcc2
 4661     builtin and then its argument prototype would still apply.  */
 4662 char $ac_func();
 4663 
 4664 int main() {
 4665 
 4666 /* The GNU C library defines this for functions which it implements
 4667     to always fail with ENOSYS.  Some functions are actually named
 4668     something starting with __ and the normal name is an alias.  */
 4669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4670 choke me
 4671 #else
 4672 $ac_func();
 4673 #endif
 4674 
 4675 ; return 0; }
 4676 EOF
 4677 if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4678   rm -rf conftest*
 4679   eval "ac_cv_func_$ac_func=yes"
 4680 else
 4681   echo "configure: failed program was:" >&5
 4682   cat conftest.$ac_ext >&5
 4683   rm -rf conftest*
 4684   eval "ac_cv_func_$ac_func=no"
 4685 fi
 4686 rm -f conftest*
 4687 fi
 4688 
 4689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4690   echo "$ac_t""yes" 1>&6
 4691     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4692   cat >> confdefs.h <<EOF
 4693 #define $ac_tr_func 1
 4694 EOF
 4695  
 4696 else
 4697   echo "$ac_t""no" 1>&6
 4698 fi
 4699 done
 4700 
 4701 for ac_func in setpgid
 4702 do
 4703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4704 echo "configure:4705: checking for $ac_func" >&5
 4705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4706   echo $ac_n "(cached) $ac_c" 1>&6
 4707 else
 4708   cat > conftest.$ac_ext <<EOF
 4709 #line 4710 "configure"
 4710 #include "confdefs.h"
 4711 /* System header to define __stub macros and hopefully few prototypes,
 4712     which can conflict with char $ac_func(); below.  */
 4713 #include <assert.h>
 4714 /* Override any gcc2 internal prototype to avoid an error.  */
 4715 /* We use char because int might match the return type of a gcc2
 4716     builtin and then its argument prototype would still apply.  */
 4717 char $ac_func();
 4718 
 4719 int main() {
 4720 
 4721 /* The GNU C library defines this for functions which it implements
 4722     to always fail with ENOSYS.  Some functions are actually named
 4723     something starting with __ and the normal name is an alias.  */
 4724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4725 choke me
 4726 #else
 4727 $ac_func();
 4728 #endif
 4729 
 4730 ; return 0; }
 4731 EOF
 4732 if { (eval echo configure:4733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4733   rm -rf conftest*
 4734   eval "ac_cv_func_$ac_func=yes"
 4735 else
 4736   echo "configure: failed program was:" >&5
 4737   cat conftest.$ac_ext >&5
 4738   rm -rf conftest*
 4739   eval "ac_cv_func_$ac_func=no"
 4740 fi
 4741 rm -f conftest*
 4742 fi
 4743 
 4744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4745   echo "$ac_t""yes" 1>&6
 4746     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4747   cat >> confdefs.h <<EOF
 4748 #define $ac_tr_func 1
 4749 EOF
 4750  
 4751 else
 4752   echo "$ac_t""no" 1>&6
 4753 fi
 4754 done
 4755 
 4756 for ac_func in setrlimit
 4757 do
 4758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4759 echo "configure:4760: checking for $ac_func" >&5
 4760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4761   echo $ac_n "(cached) $ac_c" 1>&6
 4762 else
 4763   cat > conftest.$ac_ext <<EOF
 4764 #line 4765 "configure"
 4765 #include "confdefs.h"
 4766 /* System header to define __stub macros and hopefully few prototypes,
 4767     which can conflict with char $ac_func(); below.  */
 4768 #include <assert.h>
 4769 /* Override any gcc2 internal prototype to avoid an error.  */
 4770 /* We use char because int might match the return type of a gcc2
 4771     builtin and then its argument prototype would still apply.  */
 4772 char $ac_func();
 4773 
 4774 int main() {
 4775 
 4776 /* The GNU C library defines this for functions which it implements
 4777     to always fail with ENOSYS.  Some functions are actually named
 4778     something starting with __ and the normal name is an alias.  */
 4779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4780 choke me
 4781 #else
 4782 $ac_func();
 4783 #endif
 4784 
 4785 ; return 0; }
 4786 EOF
 4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4788   rm -rf conftest*
 4789   eval "ac_cv_func_$ac_func=yes"
 4790 else
 4791   echo "configure: failed program was:" >&5
 4792   cat conftest.$ac_ext >&5
 4793   rm -rf conftest*
 4794   eval "ac_cv_func_$ac_func=no"
 4795 fi
 4796 rm -f conftest*
 4797 fi
 4798 
 4799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4800   echo "$ac_t""yes" 1>&6
 4801     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4802   cat >> confdefs.h <<EOF
 4803 #define $ac_tr_func 1
 4804 EOF
 4805  
 4806 else
 4807   echo "$ac_t""no" 1>&6
 4808 fi
 4809 done
 4810 
 4811 for ac_func in sigaction
 4812 do
 4813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4814 echo "configure:4815: checking for $ac_func" >&5
 4815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4816   echo $ac_n "(cached) $ac_c" 1>&6
 4817 else
 4818   cat > conftest.$ac_ext <<EOF
 4819 #line 4820 "configure"
 4820 #include "confdefs.h"
 4821 /* System header to define __stub macros and hopefully few prototypes,
 4822     which can conflict with char $ac_func(); below.  */
 4823 #include <assert.h>
 4824 /* Override any gcc2 internal prototype to avoid an error.  */
 4825 /* We use char because int might match the return type of a gcc2
 4826     builtin and then its argument prototype would still apply.  */
 4827 char $ac_func();
 4828 
 4829 int main() {
 4830 
 4831 /* The GNU C library defines this for functions which it implements
 4832     to always fail with ENOSYS.  Some functions are actually named
 4833     something starting with __ and the normal name is an alias.  */
 4834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4835 choke me
 4836 #else
 4837 $ac_func();
 4838 #endif
 4839 
 4840 ; return 0; }
 4841 EOF
 4842 if { (eval echo configure:4843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4843   rm -rf conftest*
 4844   eval "ac_cv_func_$ac_func=yes"
 4845 else
 4846   echo "configure: failed program was:" >&5
 4847   cat conftest.$ac_ext >&5
 4848   rm -rf conftest*
 4849   eval "ac_cv_func_$ac_func=no"
 4850 fi
 4851 rm -f conftest*
 4852 fi
 4853 
 4854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4855   echo "$ac_t""yes" 1>&6
 4856     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4857   cat >> confdefs.h <<EOF
 4858 #define $ac_tr_func 1
 4859 EOF
 4860  
 4861 else
 4862   echo "$ac_t""no" 1>&6
 4863 fi
 4864 done
 4865 
 4866 for ac_func in sigblock
 4867 do
 4868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4869 echo "configure:4870: checking for $ac_func" >&5
 4870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4871   echo $ac_n "(cached) $ac_c" 1>&6
 4872 else
 4873   cat > conftest.$ac_ext <<EOF
 4874 #line 4875 "configure"
 4875 #include "confdefs.h"
 4876 /* System header to define __stub macros and hopefully few prototypes,
 4877     which can conflict with char $ac_func(); below.  */
 4878 #include <assert.h>
 4879 /* Override any gcc2 internal prototype to avoid an error.  */
 4880 /* We use char because int might match the return type of a gcc2
 4881     builtin and then its argument prototype would still apply.  */
 4882 char $ac_func();
 4883 
 4884 int main() {
 4885 
 4886 /* The GNU C library defines this for functions which it implements
 4887     to always fail with ENOSYS.  Some functions are actually named
 4888     something starting with __ and the normal name is an alias.  */
 4889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4890 choke me
 4891 #else
 4892 $ac_func();
 4893 #endif
 4894 
 4895 ; return 0; }
 4896 EOF
 4897 if { (eval echo configure:4898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 4898   rm -rf conftest*
 4899   eval "ac_cv_func_$ac_func=yes"
 4900 else
 4901   echo "configure: failed program was:" >&5
 4902   cat conftest.$ac_ext >&5
 4903   rm -rf conftest*
 4904   eval "ac_cv_func_$ac_func=no"
 4905 fi
 4906 rm -f conftest*
 4907 fi
 4908 
 4909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 4910   echo "$ac_t""yes" 1>&6
 4911     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 4912   cat >> confdefs.h <<EOF
 4913 #define $ac_tr_func 1
 4914 EOF
 4915  
 4916 else
 4917   echo "$ac_t""no" 1>&6
 4918 fi
 4919 done
 4920 
 4921 for ac_func in sigdelset
 4922 do
 4923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 4924 echo "configure:4925: checking for $ac_func" >&5
 4925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 4926   echo $ac_n "(cached) $ac_c" 1>&6