"Fossies" - the Fresh Open Source Software Archive

Member "schily-2021-09-18/autoconf/configure" (16 Aug 2021, 697525 Bytes) of package /linux/privat/schily-2021-09-18.tar.bz2:


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

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