Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7.12.2
      1 #! /bin/sh
      2 # From configure.in Revision: 1.21 .
      3 # Guess values for system-dependent variables and create Makefiles.
      4 # Generated by Autoconf 2.52.20181006.
      5 #
      6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
      7 # Free Software Foundation, Inc.
      8 # This configure script is free software; the Free Software Foundation
      9 # gives unlimited permission to copy, distribute and modify it.
     10 
     11 # Avoid depending upon Character Ranges.
     12 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     13 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     14 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     15 as_cr_digits='0123456789'
     16 as_cr_alnum=$as_cr_Letters$as_cr_digits
     17 
     18 # Sed expression to map a string onto a valid variable name.
     19 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     20 
     21 # Sed expression to map a string onto a valid CPP name.
     22 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     23 
     24 # Be Bourne compatible
     25 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     26   emulate sh
     27   NULLCMD=:
     28 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     29   set -o posix
     30 fi
     31 
     32 # Name of the executable.
     33 as_me=`echo "$0" |sed 's,.*[\\/],,'`
     34 
     35 if expr a : '\(a\)' >/dev/null 2>&1; then
     36   as_expr=expr
     37 else
     38   as_expr=false
     39 fi
     40 
     41 rm -f conf$$ conf$$.exe conf$$.file
     42 echo >conf$$.file
     43 if ln -s conf$$.file conf$$ 2>/dev/null; then
     44   # We could just check for DJGPP; but this test a) works b) is more generic
     45   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     46   if test -f conf$$.exe; then
     47     # Don't use ln at all; we don't have any links
     48     as_ln_s='cp -p'
     49   else
     50     as_ln_s='ln -s'
     51   fi
     52 elif ln conf$$.file conf$$ 2>/dev/null; then
     53   as_ln_s=ln
     54 else
     55   as_ln_s='cp -p'
     56 fi
     57 rm -f conf$$ conf$$.exe conf$$.file
     58 
     59 as_executable_p="test -f"
     60 
     61 # Support unset when possible.
     62 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     63   as_unset=unset
     64 else
     65   as_unset=false
     66 fi
     67 
     68 # NLS nuisances.
     69 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
     70 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
     71 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
     72 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
     73 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
     74 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
     75 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
     76 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
     77 
     78 # IFS
     79 # We need space, tab and new line, in precisely that order.
     80 as_nl='
     81 '
     82 IFS=" 	$as_nl"
     83 
     84 # CDPATH.
     85 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
     86 
     87 # Name of the host.
     88 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     89 # so uname gets run too.
     90 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     91 
     92 exec 6>&1
     93 
     94 #
     95 # Initializations.
     96 #
     97 ac_default_prefix=/usr/local
     98 cross_compiling=no
     99 subdirs=
    100 MFLAGS= MAKEFLAGS=
    101 SHELL=${CONFIG_SHELL-/bin/sh}
    102 
    103 # Maximum number of lines to put in a shell here document.
    104 # This variable seems obsolete.  It should probably be removed, and
    105 # only ac_max_sed_lines should be used.
    106 : ${ac_max_here_lines=38}
    107 
    108 ac_unique_file="main.c"
    109 # Factoring default headers for most tests.
    110 ac_includes_default="\
    111 #include <stdio.h>
    112 #if HAVE_SYS_TYPES_H
    113 # include <sys/types.h>
    114 #endif
    115 #if HAVE_SYS_STAT_H
    116 # include <sys/stat.h>
    117 #endif
    118 #if STDC_HEADERS
    119 # include <stdlib.h>
    120 # include <stddef.h>
    121 #else
    122 # if HAVE_STDLIB_H
    123 #  include <stdlib.h>
    124 # endif
    125 #endif
    126 #if HAVE_STRING_H
    127 # if !STDC_HEADERS && HAVE_MEMORY_H
    128 #  include <memory.h>
    129 # endif
    130 # include <string.h>
    131 #endif
    132 #if HAVE_STRINGS_H
    133 # include <strings.h>
    134 #endif
    135 #if HAVE_INTTYPES_H
    136 # include <inttypes.h>
    137 #else
    138 # if HAVE_STDINT_H
    139 #  include <stdint.h>
    140 # endif
    141 #endif
    142 #if HAVE_UNISTD_H
    143 # include <unistd.h>
    144 #endif"
    145 
    146 # Initialize some variables set by options.
    147 ac_init_help=
    148 ac_init_version=false
    149 # The variables have the same names as the options, with
    150 # dashes changed to underlines.
    151 cache_file=/dev/null
    152 exec_prefix=NONE
    153 no_create=
    154 no_recursion=
    155 prefix=NONE
    156 program_prefix=NONE
    157 program_suffix=NONE
    158 program_transform_name=s,x,x,
    159 silent=
    160 site=
    161 srcdir=
    162 verbose=
    163 x_includes=NONE
    164 x_libraries=NONE
    165 
    166 # Installation directory options.
    167 # These are left unexpanded so users can "make install exec_prefix=/foo"
    168 # and all the variables that are supposed to be based on exec_prefix
    169 # by default will actually change.
    170 # Use braces instead of parens because sh, perl, etc. also accept them.
    171 bindir='${exec_prefix}/bin'
    172 sbindir='${exec_prefix}/sbin'
    173 libexecdir='${exec_prefix}/libexec'
    174 datarootdir='${prefix}/share'
    175 datadir='${datarootdir}'
    176 sysconfdir='${prefix}/etc'
    177 sharedstatedir='${prefix}/com'
    178 localstatedir='${prefix}/var'
    179 runstatedir='${localstatedir}/run'
    180 libdir='${exec_prefix}/lib'
    181 includedir='${prefix}/include'
    182 oldincludedir='/usr/include'
    183 infodir='${datarootdir}/info'
    184 mandir='${datarootdir}/man'
    185 
    186 # Identity of this package.
    187 PACKAGE_NAME=
    188 PACKAGE_TARNAME=
    189 PACKAGE_VERSION=
    190 PACKAGE_STRING=
    191 PACKAGE_BUGREPORT=
    192 
    193 ac_prev=
    194 for ac_option
    195 do
    196   # If the previous option needs an argument, assign it.
    197   if test -n "$ac_prev"; then
    198     eval "$ac_prev=\$ac_option"
    199     ac_prev=
    200     continue
    201   fi
    202 
    203   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    204 
    205   # Accept the important Cygnus configure options, so we can diagnose typos.
    206 
    207   case $ac_option in
    208 
    209   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    210     ac_prev=bindir ;;
    211   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    212     bindir=$ac_optarg ;;
    213 
    214   -build | --build | --buil | --bui | --bu)
    215     ac_prev=build_alias ;;
    216   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    217     build_alias=$ac_optarg ;;
    218 
    219   -cache-file | --cache-file | --cache-fil | --cache-fi \
    220   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    221     ac_prev=cache_file ;;
    222   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    223   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    224     cache_file=$ac_optarg ;;
    225 
    226   --config-cache | -C)
    227     cache_file=config.cache ;;
    228 
    229   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    230     ac_prev=datadir ;;
    231   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    232   | --da=*)
    233     datadir=$ac_optarg ;;
    234 
    235   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    236   | --dataroo | --dataro | --datar)
    237     ac_prev=datarootdir ;;
    238   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    239   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    240     datarootdir=$ac_optarg ;;
    241 
    242   -disable-* | --disable-*)
    243     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    244     # Reject names that are not valid shell variable names.
    245     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    246       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    247    { (exit 1); exit 1; }; }
    248     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    249     eval "enable_$ac_feature=no" ;;
    250 
    251   -enable-* | --enable-*)
    252     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    253     # Reject names that are not valid shell variable names.
    254     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    255       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    256    { (exit 1); exit 1; }; }
    257     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    258     case $ac_option in
    259       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    260       *) ac_optarg=yes ;;
    261     esac
    262     eval "enable_$ac_feature='$ac_optarg'" ;;
    263 
    264   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    265   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    266   | --exec | --exe | --ex)
    267     ac_prev=exec_prefix ;;
    268   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    269   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    270   | --exec=* | --exe=* | --ex=*)
    271     exec_prefix=$ac_optarg ;;
    272 
    273   -gas | --gas | --ga | --g)
    274     # Obsolete; use --with-gas.
    275     with_gas=yes ;;
    276 
    277   -help | --help | --hel | --he | -h)
    278     ac_init_help=long ;;
    279   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    280     ac_init_help=recursive ;;
    281   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    282     ac_init_help=short ;;
    283 
    284   -host | --host | --hos | --ho)
    285     ac_prev=host_alias ;;
    286   -host=* | --host=* | --hos=* | --ho=*)
    287     host_alias=$ac_optarg ;;
    288 
    289   -includedir | --includedir | --includedi | --included | --include \
    290   | --includ | --inclu | --incl | --inc)
    291     ac_prev=includedir ;;
    292   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    293   | --includ=* | --inclu=* | --incl=* | --inc=*)
    294     includedir=$ac_optarg ;;
    295 
    296   -infodir | --infodir | --infodi | --infod | --info | --inf)
    297     ac_prev=infodir ;;
    298   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    299     infodir=$ac_optarg ;;
    300 
    301   -libdir | --libdir | --libdi | --libd)
    302     ac_prev=libdir ;;
    303   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    304     libdir=$ac_optarg ;;
    305 
    306   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    307   | --libexe | --libex | --libe)
    308     ac_prev=libexecdir ;;
    309   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    310   | --libexe=* | --libex=* | --libe=*)
    311     libexecdir=$ac_optarg ;;
    312 
    313   -localstatedir | --localstatedir | --localstatedi | --localstated \
    314   | --localstate | --localstat | --localsta | --localst \
    315   | --locals | --local | --loca | --loc | --lo)
    316     ac_prev=localstatedir ;;
    317   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    318   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    319   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    320     localstatedir=$ac_optarg ;;
    321 
    322   -runstatedir | --runstatedir | --runstatedi | --runstated \
    323   | --runstate | --runstat | --runsta | --runst \
    324   | --runs | --run | --ru)
    325     ac_prev=runstatedir ;;
    326   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
    327   | --runstate=* | --runstat=* | --runsta=* | --runst=* \
    328   | --runs=* | --run=* | --ru=*)
    329     runstatedir=$ac_optarg ;;
    330 
    331   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    332     ac_prev=mandir ;;
    333   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    334     mandir=$ac_optarg ;;
    335 
    336   -nfp | --nfp | --nf)
    337     # Obsolete; use --without-fp.
    338     with_fp=no ;;
    339 
    340   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    341   | --no-cr | --no-c)
    342     no_create=yes ;;
    343 
    344   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    345   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    346     no_recursion=yes ;;
    347 
    348   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    349   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    350   | --oldin | --oldi | --old | --ol | --o)
    351     ac_prev=oldincludedir ;;
    352   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    353   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    354   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    355     oldincludedir=$ac_optarg ;;
    356 
    357   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    358     ac_prev=prefix ;;
    359   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    360     prefix=$ac_optarg ;;
    361 
    362   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    363   | --program-pre | --program-pr | --program-p)
    364     ac_prev=program_prefix ;;
    365   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    366   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    367     program_prefix=$ac_optarg ;;
    368 
    369   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    370   | --program-suf | --program-su | --program-s)
    371     ac_prev=program_suffix ;;
    372   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    373   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    374     program_suffix=$ac_optarg ;;
    375 
    376   -program-transform-name | --program-transform-name \
    377   | --program-transform-nam | --program-transform-na \
    378   | --program-transform-n | --program-transform- \
    379   | --program-transform | --program-transfor \
    380   | --program-transfo | --program-transf \
    381   | --program-trans | --program-tran \
    382   | --progr-tra | --program-tr | --program-t)
    383     ac_prev=program_transform_name ;;
    384   -program-transform-name=* | --program-transform-name=* \
    385   | --program-transform-nam=* | --program-transform-na=* \
    386   | --program-transform-n=* | --program-transform-=* \
    387   | --program-transform=* | --program-transfor=* \
    388   | --program-transfo=* | --program-transf=* \
    389   | --program-trans=* | --program-tran=* \
    390   | --progr-tra=* | --program-tr=* | --program-t=*)
    391     program_transform_name=$ac_optarg ;;
    392 
    393   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    394   | -silent | --silent | --silen | --sile | --sil)
    395     silent=yes ;;
    396 
    397   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    398     ac_prev=sbindir ;;
    399   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    400   | --sbi=* | --sb=*)
    401     sbindir=$ac_optarg ;;
    402 
    403   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    404   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    405   | --sharedst | --shareds | --shared | --share | --shar \
    406   | --sha | --sh)
    407     ac_prev=sharedstatedir ;;
    408   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    409   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    410   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    411   | --sha=* | --sh=*)
    412     sharedstatedir=$ac_optarg ;;
    413 
    414   -site | --site | --sit)
    415     ac_prev=site ;;
    416   -site=* | --site=* | --sit=*)
    417     site=$ac_optarg ;;
    418 
    419   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    420     ac_prev=srcdir ;;
    421   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    422     srcdir=$ac_optarg ;;
    423 
    424   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    425   | --syscon | --sysco | --sysc | --sys | --sy)
    426     ac_prev=sysconfdir ;;
    427   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    428   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    429     sysconfdir=$ac_optarg ;;
    430 
    431   -target | --target | --targe | --targ | --tar | --ta | --t)
    432     ac_prev=target_alias ;;
    433   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    434     target_alias=$ac_optarg ;;
    435 
    436   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    437     verbose=yes ;;
    438 
    439   -version | --version | --versio | --versi | --vers | -V)
    440     ac_init_version=: ;;
    441 
    442   -with-* | --with-*)
    443     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    444     # Reject names that are not valid shell variable names.
    445     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    446       { echo "$as_me: error: invalid package name: $ac_package" >&2
    447    { (exit 1); exit 1; }; }
    448     ac_package=`echo $ac_package| sed 's/-/_/g'`
    449     case $ac_option in
    450       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    451       *) ac_optarg=yes ;;
    452     esac
    453     eval "with_$ac_package='$ac_optarg'" ;;
    454 
    455   -without-* | --without-*)
    456     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    457     # Reject names that are not valid shell variable names.
    458     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    459       { echo "$as_me: error: invalid package name: $ac_package" >&2
    460    { (exit 1); exit 1; }; }
    461     ac_package=`echo $ac_package | sed 's/-/_/g'`
    462     eval "with_$ac_package=no" ;;
    463 
    464   --x)
    465     # Obsolete; use --with-x.
    466     with_x=yes ;;
    467 
    468   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    469   | --x-incl | --x-inc | --x-in | --x-i)
    470     ac_prev=x_includes ;;
    471   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    472   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    473     x_includes=$ac_optarg ;;
    474 
    475   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    476   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    477     ac_prev=x_libraries ;;
    478   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    479   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    480     x_libraries=$ac_optarg ;;
    481 
    482   -*) { echo "$as_me: error: unrecognized option: $ac_option
    483 Try \`$0 --help' for more information." >&2
    484    { (exit 1); exit 1; }; }
    485     ;;
    486 
    487   *=*)
    488     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    489     # Reject names that are not valid shell variable names.
    490     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    491       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    492    { (exit 1); exit 1; }; }
    493     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    494     eval "$ac_envvar='$ac_optarg'"
    495     export $ac_envvar ;;
    496 
    497   *)
    498     # FIXME: should be removed in autoconf 3.0.
    499     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    500     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    501       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    502     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    503     ;;
    504 
    505   esac
    506 done
    507 
    508 if test -n "$ac_prev"; then
    509   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    510   { echo "$as_me: error: missing argument to $ac_option" >&2
    511    { (exit 1); exit 1; }; }
    512 fi
    513 
    514 # Be sure to have absolute paths.
    515 for ac_var in exec_prefix prefix
    516 do
    517   eval ac_val=$`echo $ac_var`
    518   case $ac_val in
    519     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    520     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    521    { (exit 1); exit 1; }; };;
    522   esac
    523 done
    524 
    525 # Be sure to have absolute paths.
    526 for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
    527               localstatedir libdir includedir oldincludedir infodir mandir
    528 do
    529   eval ac_val=$`echo $ac_var`
    530   case $ac_val in
    531     [\\/$]* | ?:[\\/]* ) ;;
    532     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    533    { (exit 1); exit 1; }; };;
    534   esac
    535 done
    536 
    537 # There might be people who depend on the old broken behavior: `$host'
    538 # used to hold the argument of --host etc.
    539 build=$build_alias
    540 host=$host_alias
    541 target=$target_alias
    542 
    543 # FIXME: should be removed in autoconf 3.0.
    544 if test "x$host_alias" != x; then
    545   if test "x$build_alias" = x; then
    546     cross_compiling=maybe
    547     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    548     If a cross compiler is detected then cross compile mode will be used." >&2
    549   elif test "x$build_alias" != "x$host_alias"; then
    550     cross_compiling=yes
    551   fi
    552 fi
    553 
    554 ac_tool_prefix=
    555 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    556 
    557 test "$silent" = yes && exec 6>/dev/null
    558 
    559 # Find the source files, if location was not specified.
    560 if test -z "$srcdir"; then
    561   ac_srcdir_defaulted=yes
    562   # Try the directory containing this script, then its parent.
    563   ac_prog=$0
    564   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
    565   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    566   srcdir=$ac_confdir
    567   if test ! -r $srcdir/$ac_unique_file; then
    568     srcdir=..
    569   fi
    570 else
    571   ac_srcdir_defaulted=no
    572 fi
    573 if test ! -r $srcdir/$ac_unique_file; then
    574   if test "$ac_srcdir_defaulted" = yes; then
    575     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
    576    { (exit 1); exit 1; }; }
    577   else
    578     { echo "$as_me: error: cannot find sources in $srcdir" >&2
    579    { (exit 1); exit 1; }; }
    580   fi
    581 fi
    582 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    583 ac_env_build_alias_set=${build_alias+set}
    584 ac_env_build_alias_value=$build_alias
    585 ac_cv_env_build_alias_set=${build_alias+set}
    586 ac_cv_env_build_alias_value=$build_alias
    587 ac_env_host_alias_set=${host_alias+set}
    588 ac_env_host_alias_value=$host_alias
    589 ac_cv_env_host_alias_set=${host_alias+set}
    590 ac_cv_env_host_alias_value=$host_alias
    591 ac_env_target_alias_set=${target_alias+set}
    592 ac_env_target_alias_value=$target_alias
    593 ac_cv_env_target_alias_set=${target_alias+set}
    594 ac_cv_env_target_alias_value=$target_alias
    595 ac_env_CC_set=${CC+set}
    596 ac_env_CC_value=$CC
    597 ac_cv_env_CC_set=${CC+set}
    598 ac_cv_env_CC_value=$CC
    599 ac_env_CFLAGS_set=${CFLAGS+set}
    600 ac_env_CFLAGS_value=$CFLAGS
    601 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    602 ac_cv_env_CFLAGS_value=$CFLAGS
    603 ac_env_LDFLAGS_set=${LDFLAGS+set}
    604 ac_env_LDFLAGS_value=$LDFLAGS
    605 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    606 ac_cv_env_LDFLAGS_value=$LDFLAGS
    607 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    608 ac_env_CPPFLAGS_value=$CPPFLAGS
    609 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    610 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    611 ac_env_CPP_set=${CPP+set}
    612 ac_env_CPP_value=$CPP
    613 ac_cv_env_CPP_set=${CPP+set}
    614 ac_cv_env_CPP_value=$CPP
    615 
    616 #
    617 # Report the --help message.
    618 #
    619 if test "$ac_init_help" = "long"; then
    620   # Omit some internal or obsolete options to make the list less imposing.
    621   # This message is too long to be a string in the A/UX 3.1 sh.
    622   cat <<EOF
    623 \`configure' configures this package to adapt to many kinds of systems.
    624 
    625 Usage: $0 [OPTION]... [VAR=VALUE]...
    626 
    627 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    628 VAR=VALUE.  See below for descriptions of some of the useful variables.
    629 
    630 Defaults for the options are specified in brackets.
    631 
    632 Configuration:
    633   -h, --help              display this help and exit
    634       --help=short        display options specific to this package
    635       --help=recursive    display the short help of all the included packages
    636   -V, --version           display version information and exit
    637   -q, --quiet, --silent   do not print \`checking...' messages
    638       --cache-file=FILE   cache test results in FILE [disabled]
    639   -C, --config-cache      alias for \`--cache-file=config.cache'
    640   -n, --no-create         do not create output files
    641       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    642 
    643 EOF
    644 
    645   cat <<EOF
    646 Installation directories:
    647   --prefix=PREFIX         install architecture-independent files in PREFIX
    648                           [$ac_default_prefix]
    649   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    650                           [PREFIX]
    651 
    652 By default, \`make install' will install all the files in
    653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    655 for instance \`--prefix=\$HOME'.
    656 
    657 For better control, use the options below.
    658 
    659 Fine tuning of the installation directories:
    660   --bindir=DIR            user executables [EPREFIX/bin]
    661   --sbindir=DIR           system admin executables [EPREFIX/sbin]
    662   --libexecdir=DIR        program executables [EPREFIX/libexec]
    663   --datarootdir=DIR       read-only architecture-independent data [PREFIX/share]
    664   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
    665   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
    666   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    667   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
    668   --runstatedir=DIR       extra definition of runtime data [LOCALSTATEDIR/run]
    669   --libdir=DIR            object code libraries [EPREFIX/lib]
    670   --includedir=DIR        C header files [PREFIX/include]
    671   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
    672   --infodir=DIR           info documentation [DATAROOTDIR/info]
    673   --mandir=DIR            man documentation [DATAROOTDIR/man]
    674 EOF
    675 
    676   cat <<\EOF
    677 
    678 Program names:
    679   --program-prefix=PREFIX            prepend PREFIX to installed program names
    680   --program-suffix=SUFFIX            append SUFFIX to installed program names
    681   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    682 
    683 System types:
    684   --build=BUILD           configure for building on BUILD [guessed]
    685   --host=HOST       build programs to run on HOST [BUILD]
    686   --target=TARGET   configure for building compilers for TARGET [HOST]
    687 EOF
    688 fi
    689 
    690 if test -n "$ac_init_help"; then
    691 
    692   cat <<\EOF
    693 
    694 Optional Packages:
    695   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    696   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    697 
    698 Optional Features:
    699   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    700   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    701 
    702   --with-max-table-size=N set the maximum table size = N (no default)
    703   --enable-btyacc         turn on support for the btyacc backtracking
    704                           extension (default: no)
    705   --with-warnings         test: turn on gcc warnings
    706   --disable-echo          do not display "compiling" commands
    707   --with-dmalloc          test: use Gray Watson's dmalloc library
    708   --with-dbmalloc         test: use Conor Cahill's dbmalloc library
    709   --with-valgrind         test: use valgrind
    710   --disable-leaks         test: free permanent memory, analyze leaks
    711   --with-man2html=XXX     use XXX rather than groff
    712 
    713 Some influential environment variables:
    714   CC          C compiler command
    715   CFLAGS      C compiler flags
    716   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    717               nonstandard directory <lib dir>
    718   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    719               headers in a nonstandard directory <include dir>
    720   CPP         C preprocessor
    721 
    722 Use these variables to override the choices made by `configure' or to help
    723 it to find libraries and programs with nonstandard names/locations.
    724 
    725 EOF
    726 fi
    727 
    728 if test "$ac_init_help" = "recursive"; then
    729   # If there are subdirs, report their specific --help.
    730   ac_popdir=`pwd`
    731   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    732     cd $ac_subdir
    733     # A "../" for each directory in /$ac_subdir.
    734     ac_dots=`echo $ac_subdir |
    735              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
    736 
    737     case $srcdir in
    738     .) # No --srcdir option.  We are building in place.
    739       ac_sub_srcdir=$srcdir ;;
    740     [\\/]* | ?:[\\/]* ) # Absolute path.
    741       ac_sub_srcdir=$srcdir/$ac_subdir ;;
    742     *) # Relative path.
    743       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    744     esac
    745 
    746     # Check for guested configure; otherwise get Cygnus style configure.
    747     if test -f $ac_sub_srcdir/configure.gnu; then
    748       echo
    749       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    750     elif test -f $ac_sub_srcdir/configure; then
    751       echo
    752       $SHELL $ac_sub_srcdir/configure  --help=recursive
    753     elif test -f $ac_sub_srcdir/configure.ac ||
    754            test -f $ac_sub_srcdir/configure.in; then
    755       echo
    756       $ac_configure --help
    757     else
    758       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
    759     fi
    760     cd $ac_popdir
    761   done
    762 fi
    763 
    764 test -n "$ac_init_help" && exit 0
    765 if $ac_init_version; then
    766   cat <<\EOF
    767 
    768 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    769 Free Software Foundation, Inc.
    770 This configure script is free software; the Free Software Foundation
    771 gives unlimited permission to copy, distribute and modify it.
    772 EOF
    773   exit 0
    774 fi
    775 exec 5>config.log
    776 cat >&5 <<EOF
    777 This file contains any messages produced by compilers while
    778 running configure, to aid debugging if configure makes a mistake.
    779 
    780 It was created by $as_me, which was
    781 generated by GNU Autoconf 2.52.20181006.  Invocation command line was
    782 
    783   $ $0 $@
    784 
    785 EOF
    786 {
    787 cat <<_ASUNAME
    788 ## ---------- ##
    789 ## Platform.  ##
    790 ## ---------- ##
    791 
    792 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    793 uname -m = `(uname -m) 2>/dev/null || echo unknown`
    794 uname -r = `(uname -r) 2>/dev/null || echo unknown`
    795 uname -s = `(uname -s) 2>/dev/null || echo unknown`
    796 uname -v = `(uname -v) 2>/dev/null || echo unknown`
    797 
    798 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    799 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    800 
    801 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    802 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    803 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    804 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    805 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    806 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    807 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    808 
    809 PATH = $PATH
    810 
    811 _ASUNAME
    812 } >&5
    813 
    814 cat >&5 <<EOF
    815 ## ------------ ##
    816 ## Core tests.  ##
    817 ## ------------ ##
    818 
    819 EOF
    820 
    821 # Keep a trace of the command line.
    822 # Strip out --no-create and --no-recursion so they do not pile up.
    823 # Also quote any args containing shell meta-characters.
    824 ac_configure_args=
    825 ac_sep=
    826 for ac_arg
    827 do
    828   case $ac_arg in
    829   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    830   | --no-cr | --no-c) ;;
    831   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    832   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    833   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    834     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    835     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    836     ac_sep=" " ;;
    837   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
    838      ac_sep=" " ;;
    839   esac
    840   # Get rid of the leading space.
    841 done
    842 
    843 # When interrupted or exit'd, cleanup temporary files, and complete
    844 # config.log.  We remove comments because anyway the quotes in there
    845 # would cause problems or look ugly.
    846 trap 'exit_status=$?
    847   # Save into config.log some information that might help in debugging.
    848   echo >&5
    849   echo "## ----------------- ##" >&5
    850   echo "## Cache variables.  ##" >&5
    851   echo "## ----------------- ##" >&5
    852   echo >&5
    853   # The following way of writing the cache mishandles newlines in values,
    854 {
    855   (set) 2>&1 |
    856     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    857     *ac_space=\ *)
    858       sed -n \
    859         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    860     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    861       ;;
    862     *)
    863       sed -n \
    864         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    865       ;;
    866     esac;
    867 } >&5
    868   sed "/^$/d" confdefs.h >conftest.log
    869   if test -s conftest.log; then
    870     echo >&5
    871     echo "## ------------ ##" >&5
    872     echo "## confdefs.h.  ##" >&5
    873     echo "## ------------ ##" >&5
    874     echo >&5
    875     cat conftest.log >&5
    876   fi
    877   (echo; echo) >&5
    878   test "$ac_signal" != 0 &&
    879     echo "$as_me: caught signal $ac_signal" >&5
    880   echo "$as_me: exit $exit_status" >&5
    881   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
    882     exit $exit_status
    883      ' 0
    884 for ac_signal in 1 2 13 15; do
    885   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    886 done
    887 ac_signal=0
    888 
    889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    890 rm -rf conftest* confdefs.h
    891 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    892 echo >confdefs.h
    893 
    894 # Let the site file select an alternate cache file if it wants to.
    895 # Prefer explicitly selected file to automatically selected ones.
    896 if test -z "$CONFIG_SITE"; then
    897   if test "x$prefix" != xNONE; then
    898     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    899   else
    900     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    901   fi
    902 fi
    903 for ac_site_file in $CONFIG_SITE; do
    904   if test -r "$ac_site_file"; then
    905     { echo "$as_me:905: loading site script $ac_site_file" >&5
    906 echo "$as_me: loading site script $ac_site_file" >&6;}
    907     cat "$ac_site_file" >&5
    908     . "$ac_site_file"
    909   fi
    910 done
    911 
    912 if test -r "$cache_file"; then
    913   # Some versions of bash will fail to source /dev/null (special
    914   # files actually), so we avoid doing that.
    915   if test -f "$cache_file"; then
    916     { echo "$as_me:916: loading cache $cache_file" >&5
    917 echo "$as_me: loading cache $cache_file" >&6;}
    918     case $cache_file in
    919       [\\/]* | ?:[\\/]* ) . $cache_file;;
    920       *)                      . ./$cache_file;;
    921     esac
    922   fi
    923 else
    924   { echo "$as_me:924: creating cache $cache_file" >&5
    925 echo "$as_me: creating cache $cache_file" >&6;}
    926   >$cache_file
    927 fi
    928 
    929 # Check that the precious variables saved in the cache have kept the same
    930 # value.
    931 ac_cache_corrupted=false
    932 for ac_var in `(set) 2>&1 |
    933                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    934   eval ac_old_set=\$ac_cv_env_${ac_var}_set
    935   eval ac_new_set=\$ac_env_${ac_var}_set
    936   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    937   eval ac_new_val="\$ac_env_${ac_var}_value"
    938   case $ac_old_set,$ac_new_set in
    939     set,)
    940       { echo "$as_me:940: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    941 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    942       ac_cache_corrupted=: ;;
    943     ,set)
    944       { echo "$as_me:944: error: \`$ac_var' was not set in the previous run" >&5
    945 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    946       ac_cache_corrupted=: ;;
    947     ,);;
    948     *)
    949       if test "x$ac_old_val" != "x$ac_new_val"; then
    950         { echo "$as_me:950: error: \`$ac_var' has changed since the previous run:" >&5
    951 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    952         { echo "$as_me:952:   former value:  $ac_old_val" >&5
    953 echo "$as_me:   former value:  $ac_old_val" >&2;}
    954         { echo "$as_me:954:   current value: $ac_new_val" >&5
    955 echo "$as_me:   current value: $ac_new_val" >&2;}
    956         ac_cache_corrupted=:
    957       fi;;
    958   esac
    959   # Pass precious variables to config.status.  It doesn't matter if
    960   # we pass some twice (in addition to the command line arguments).
    961   if test "$ac_new_set" = set; then
    962     case $ac_new_val in
    963     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    964       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
    965       ac_configure_args="$ac_configure_args '$ac_arg'"
    966       ;;
    967     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
    968        ;;
    969     esac
    970   fi
    971 done
    972 if $ac_cache_corrupted; then
    973   { echo "$as_me:973: error: changes in the environment can compromise the build" >&5
    974 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    975   { { echo "$as_me:975: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    976 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    977    { (exit 1); exit 1; }; }
    978 fi
    979 
    980 ac_ext=c
    981 ac_cpp='$CPP $CPPFLAGS'
    982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    985 ac_main_return=return
    986 
    987 case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; echo 1,2,3` in
    988   *c*,-n*) ECHO_N= ECHO_C=	# newlines do not sed ;-) only broken shells would use this case anyway
    989 		   ECHO_T='	' ;;
    990   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    991   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
    992 esac
    993 echo "#! $SHELL" >conftest.sh
    994 echo  "exit 0"   >>conftest.sh
    995 chmod +x conftest.sh
    996 if { (echo "$as_me:996: PATH=\".;.\"; conftest.sh") >&5
    997   (PATH=".;."; conftest.sh) 2>&5
    998   ac_status=$?
    999   echo "$as_me:999: \$? = $ac_status" >&5
   1000   (exit $ac_status); }; then
   1001   ac_path_separator=';'
   1002 else
   1003   ac_path_separator=:
   1004 fi
   1005 PATH_SEPARATOR="$ac_path_separator"
   1006 rm -f conftest.sh
   1007 
   1008 ac_config_headers="$ac_config_headers config.h:config_h.in"
   1009 
   1010 ac_aux_dir=
   1011 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   1012   if test -f $ac_dir/install-sh; then
   1013     ac_aux_dir=$ac_dir
   1014     ac_install_sh="$ac_aux_dir/install-sh -c"
   1015     break
   1016   elif test -f $ac_dir/install.sh; then
   1017     ac_aux_dir=$ac_dir
   1018     ac_install_sh="$ac_aux_dir/install.sh -c"
   1019     break
   1020   elif test -f $ac_dir/shtool; then
   1021     ac_aux_dir=$ac_dir
   1022     ac_install_sh="$ac_aux_dir/shtool install -c"
   1023     break
   1024   fi
   1025 done
   1026 if test -z "$ac_aux_dir"; then
   1027   { { echo "$as_me:1027: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   1028 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   1029    { (exit 1); exit 1; }; }
   1030 fi
   1031 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1032 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1033 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1034 
   1035 # Make sure we can run config.sub.
   1036 $ac_config_sub sun4 >/dev/null 2>&1 ||
   1037   { { echo "$as_me:1037: error: cannot run $ac_config_sub" >&5
   1038 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   1039    { (exit 1); exit 1; }; }
   1040 
   1041 echo "$as_me:1041: checking build system type" >&5
   1042 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   1043 if test "${ac_cv_build+set}" = set; then
   1044   echo $ECHO_N "(cached) $ECHO_C" >&6
   1045 else
   1046   ac_cv_build_alias=$build_alias
   1047 test -z "$ac_cv_build_alias" &&
   1048   ac_cv_build_alias=`$ac_config_guess`
   1049 test -z "$ac_cv_build_alias" &&
   1050   { { echo "$as_me:1050: error: cannot guess build type; you must specify one" >&5
   1051 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   1052    { (exit 1); exit 1; }; }
   1053 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   1054   { { echo "$as_me:1054: error: $ac_config_sub $ac_cv_build_alias failed." >&5
   1055 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
   1056    { (exit 1); exit 1; }; }
   1057 
   1058 fi
   1059 echo "$as_me:1059: result: $ac_cv_build" >&5
   1060 echo "${ECHO_T}$ac_cv_build" >&6
   1061 build=$ac_cv_build
   1062 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1063 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1064 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1065 
   1066 echo "$as_me:1066: checking host system type" >&5
   1067 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   1068 if test "${ac_cv_host+set}" = set; then
   1069   echo $ECHO_N "(cached) $ECHO_C" >&6
   1070 else
   1071   ac_cv_host_alias=$host_alias
   1072 test -z "$ac_cv_host_alias" &&
   1073   ac_cv_host_alias=$ac_cv_build_alias
   1074 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   1075   { { echo "$as_me:1075: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   1076 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   1077    { (exit 1); exit 1; }; }
   1078 
   1079 fi
   1080 echo "$as_me:1080: result: $ac_cv_host" >&5
   1081 echo "${ECHO_T}$ac_cv_host" >&6
   1082 host=$ac_cv_host
   1083 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1084 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1085 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1086 
   1087 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then
   1088 	echo "$as_me:1088: checking target system type" >&5
   1089 echo $ECHO_N "checking target system type... $ECHO_C" >&6
   1090 if test "${ac_cv_target+set}" = set; then
   1091   echo $ECHO_N "(cached) $ECHO_C" >&6
   1092 else
   1093   ac_cv_target_alias=$target_alias
   1094 test "x$ac_cv_target_alias" = "x" &&
   1095   ac_cv_target_alias=$ac_cv_host_alias
   1096 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
   1097   { { echo "$as_me:1097: error: $ac_config_sub $ac_cv_target_alias failed" >&5
   1098 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
   1099    { (exit 1); exit 1; }; }
   1100 
   1101 fi
   1102 echo "$as_me:1102: result: $ac_cv_target" >&5
   1103 echo "${ECHO_T}$ac_cv_target" >&6
   1104 target=$ac_cv_target
   1105 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1106 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1107 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1108 
   1109 # The aliases save the names the user supplied, while $host etc.
   1110 # will get canonicalized.
   1111 test -n "$target_alias" &&
   1112   test "$program_prefix$program_suffix$program_transform_name" = \
   1113     NONENONEs,x,x, &&
   1114   program_prefix=${target_alias}-
   1115 	system_name="$host_os"
   1116 else
   1117 	system_name="`(uname -s -r) 2>/dev/null`"
   1118 	if test -z "$system_name" ; then
   1119 		system_name="`(hostname) 2>/dev/null`"
   1120 	fi
   1121 fi
   1122 test -n "$system_name" &&
   1123 cat >>confdefs.h <<EOF
   1124 #define SYSTEM_NAME "$system_name"
   1125 EOF
   1126 
   1127 if test "${cf_cv_system_name+set}" = set; then
   1128   echo $ECHO_N "(cached) $ECHO_C" >&6
   1129 else
   1130   cf_cv_system_name="$system_name"
   1131 fi
   1132 
   1133 test -z "$system_name" && system_name="$cf_cv_system_name"
   1134 test -n "$cf_cv_system_name" && echo "$as_me:1134: result: Configuring for $cf_cv_system_name" >&5
   1135 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
   1136 
   1137 if test ".$system_name" != ".$cf_cv_system_name" ; then
   1138 	echo "$as_me:1138: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
   1139 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
   1140 	{ { echo "$as_me:1140: error: \"Please remove config.cache and try again.\"" >&5
   1141 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
   1142    { (exit 1); exit 1; }; }
   1143 fi
   1144 
   1145 test "$program_prefix" != NONE &&
   1146   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   1147 # Use a double $ so make ignores it.
   1148 test "$program_suffix" != NONE &&
   1149   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   1150 # Double any \ or $.  echo might interpret backslashes.
   1151 # By default was `s,x,x', remove it if useless.
   1152 cat <<\_ACEOF >conftest.sed
   1153 s/[\\$]/&&/g;s/;s,x,x,$//
   1154 _ACEOF
   1155 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1156 rm conftest.sed
   1157 
   1158 ac_ext=c
   1159 ac_cpp='$CPP $CPPFLAGS'
   1160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1163 ac_main_return=return
   1164 if test -n "$ac_tool_prefix"; then
   1165   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1166 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1167 echo "$as_me:1167: checking for $ac_word" >&5
   1168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1169 if test "${ac_cv_prog_CC+set}" = set; then
   1170   echo $ECHO_N "(cached) $ECHO_C" >&6
   1171 else
   1172   if test -n "$CC"; then
   1173   ac_cv_prog_CC="$CC" # Let the user override the test.
   1174 else
   1175   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1176 ac_dummy="$PATH"
   1177 for ac_dir in $ac_dummy; do
   1178   IFS=$ac_save_IFS
   1179   test -z "$ac_dir" && ac_dir=.
   1180   $as_executable_p "$ac_dir/$ac_word" || continue
   1181 ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1182 echo "$as_me:1182: found $ac_dir/$ac_word" >&5
   1183 break
   1184 done
   1185 
   1186 fi
   1187 fi
   1188 CC=$ac_cv_prog_CC
   1189 if test -n "$CC"; then
   1190   echo "$as_me:1190: result: $CC" >&5
   1191 echo "${ECHO_T}$CC" >&6
   1192 else
   1193   echo "$as_me:1193: result: no" >&5
   1194 echo "${ECHO_T}no" >&6
   1195 fi
   1196 
   1197 fi
   1198 if test -z "$ac_cv_prog_CC"; then
   1199   ac_ct_CC=$CC
   1200   # Extract the first word of "gcc", so it can be a program name with args.
   1201 set dummy gcc; ac_word=$2
   1202 echo "$as_me:1202: checking for $ac_word" >&5
   1203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1205   echo $ECHO_N "(cached) $ECHO_C" >&6
   1206 else
   1207   if test -n "$ac_ct_CC"; then
   1208   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1209 else
   1210   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1211 ac_dummy="$PATH"
   1212 for ac_dir in $ac_dummy; do
   1213   IFS=$ac_save_IFS
   1214   test -z "$ac_dir" && ac_dir=.
   1215   $as_executable_p "$ac_dir/$ac_word" || continue
   1216 ac_cv_prog_ac_ct_CC="gcc"
   1217 echo "$as_me:1217: found $ac_dir/$ac_word" >&5
   1218 break
   1219 done
   1220 
   1221 fi
   1222 fi
   1223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1224 if test -n "$ac_ct_CC"; then
   1225   echo "$as_me:1225: result: $ac_ct_CC" >&5
   1226 echo "${ECHO_T}$ac_ct_CC" >&6
   1227 else
   1228   echo "$as_me:1228: result: no" >&5
   1229 echo "${ECHO_T}no" >&6
   1230 fi
   1231 
   1232   CC=$ac_ct_CC
   1233 else
   1234   CC="$ac_cv_prog_CC"
   1235 fi
   1236 
   1237 if test -z "$CC"; then
   1238   if test -n "$ac_tool_prefix"; then
   1239   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1240 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1241 echo "$as_me:1241: checking for $ac_word" >&5
   1242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1243 if test "${ac_cv_prog_CC+set}" = set; then
   1244   echo $ECHO_N "(cached) $ECHO_C" >&6
   1245 else
   1246   if test -n "$CC"; then
   1247   ac_cv_prog_CC="$CC" # Let the user override the test.
   1248 else
   1249   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1250 ac_dummy="$PATH"
   1251 for ac_dir in $ac_dummy; do
   1252   IFS=$ac_save_IFS
   1253   test -z "$ac_dir" && ac_dir=.
   1254   $as_executable_p "$ac_dir/$ac_word" || continue
   1255 ac_cv_prog_CC="${ac_tool_prefix}cc"
   1256 echo "$as_me:1256: found $ac_dir/$ac_word" >&5
   1257 break
   1258 done
   1259 
   1260 fi
   1261 fi
   1262 CC=$ac_cv_prog_CC
   1263 if test -n "$CC"; then
   1264   echo "$as_me:1264: result: $CC" >&5
   1265 echo "${ECHO_T}$CC" >&6
   1266 else
   1267   echo "$as_me:1267: result: no" >&5
   1268 echo "${ECHO_T}no" >&6
   1269 fi
   1270 
   1271 fi
   1272 if test -z "$ac_cv_prog_CC"; then
   1273   ac_ct_CC=$CC
   1274   # Extract the first word of "cc", so it can be a program name with args.
   1275 set dummy cc; ac_word=$2
   1276 echo "$as_me:1276: checking for $ac_word" >&5
   1277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1279   echo $ECHO_N "(cached) $ECHO_C" >&6
   1280 else
   1281   if test -n "$ac_ct_CC"; then
   1282   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1283 else
   1284   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1285 ac_dummy="$PATH"
   1286 for ac_dir in $ac_dummy; do
   1287   IFS=$ac_save_IFS
   1288   test -z "$ac_dir" && ac_dir=.
   1289   $as_executable_p "$ac_dir/$ac_word" || continue
   1290 ac_cv_prog_ac_ct_CC="cc"
   1291 echo "$as_me:1291: found $ac_dir/$ac_word" >&5
   1292 break
   1293 done
   1294 
   1295 fi
   1296 fi
   1297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1298 if test -n "$ac_ct_CC"; then
   1299   echo "$as_me:1299: result: $ac_ct_CC" >&5
   1300 echo "${ECHO_T}$ac_ct_CC" >&6
   1301 else
   1302   echo "$as_me:1302: result: no" >&5
   1303 echo "${ECHO_T}no" >&6
   1304 fi
   1305 
   1306   CC=$ac_ct_CC
   1307 else
   1308   CC="$ac_cv_prog_CC"
   1309 fi
   1310 
   1311 fi
   1312 if test -z "$CC"; then
   1313   # Extract the first word of "cc", so it can be a program name with args.
   1314 set dummy cc; ac_word=$2
   1315 echo "$as_me:1315: checking for $ac_word" >&5
   1316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1317 if test "${ac_cv_prog_CC+set}" = set; then
   1318   echo $ECHO_N "(cached) $ECHO_C" >&6
   1319 else
   1320   if test -n "$CC"; then
   1321   ac_cv_prog_CC="$CC" # Let the user override the test.
   1322 else
   1323   ac_prog_rejected=no
   1324   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1325 ac_dummy="$PATH"
   1326 for ac_dir in $ac_dummy; do
   1327   IFS=$ac_save_IFS
   1328   test -z "$ac_dir" && ac_dir=.
   1329   $as_executable_p "$ac_dir/$ac_word" || continue
   1330 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
   1331   ac_prog_rejected=yes
   1332   continue
   1333 fi
   1334 ac_cv_prog_CC="cc"
   1335 echo "$as_me:1335: found $ac_dir/$ac_word" >&5
   1336 break
   1337 done
   1338 
   1339 if test $ac_prog_rejected = yes; then
   1340   # We found a bogon in the path, so make sure we never use it.
   1341   set dummy $ac_cv_prog_CC
   1342   shift
   1343   if test $# != 0; then
   1344     # We chose a different compiler from the bogus one.
   1345     # However, it has the same basename, so the bogon will be chosen
   1346     # first if we set CC to just the basename; use the full file name.
   1347     shift
   1348     set dummy "$ac_dir/$ac_word" ${1+"$@"}
   1349     shift
   1350     ac_cv_prog_CC="$@"
   1351   fi
   1352 fi
   1353 fi
   1354 fi
   1355 CC=$ac_cv_prog_CC
   1356 if test -n "$CC"; then
   1357   echo "$as_me:1357: result: $CC" >&5
   1358 echo "${ECHO_T}$CC" >&6
   1359 else
   1360   echo "$as_me:1360: result: no" >&5
   1361 echo "${ECHO_T}no" >&6
   1362 fi
   1363 
   1364 fi
   1365 if test -z "$CC"; then
   1366   if test -n "$ac_tool_prefix"; then
   1367   for ac_prog in cl
   1368   do
   1369     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1371 echo "$as_me:1371: checking for $ac_word" >&5
   1372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1373 if test "${ac_cv_prog_CC+set}" = set; then
   1374   echo $ECHO_N "(cached) $ECHO_C" >&6
   1375 else
   1376   if test -n "$CC"; then
   1377   ac_cv_prog_CC="$CC" # Let the user override the test.
   1378 else
   1379   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1380 ac_dummy="$PATH"
   1381 for ac_dir in $ac_dummy; do
   1382   IFS=$ac_save_IFS
   1383   test -z "$ac_dir" && ac_dir=.
   1384   $as_executable_p "$ac_dir/$ac_word" || continue
   1385 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1386 echo "$as_me:1386: found $ac_dir/$ac_word" >&5
   1387 break
   1388 done
   1389 
   1390 fi
   1391 fi
   1392 CC=$ac_cv_prog_CC
   1393 if test -n "$CC"; then
   1394   echo "$as_me:1394: result: $CC" >&5
   1395 echo "${ECHO_T}$CC" >&6
   1396 else
   1397   echo "$as_me:1397: result: no" >&5
   1398 echo "${ECHO_T}no" >&6
   1399 fi
   1400 
   1401     test -n "$CC" && break
   1402   done
   1403 fi
   1404 if test -z "$CC"; then
   1405   ac_ct_CC=$CC
   1406   for ac_prog in cl
   1407 do
   1408   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1409 set dummy $ac_prog; ac_word=$2
   1410 echo "$as_me:1410: checking for $ac_word" >&5
   1411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1413   echo $ECHO_N "(cached) $ECHO_C" >&6
   1414 else
   1415   if test -n "$ac_ct_CC"; then
   1416   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1417 else
   1418   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1419 ac_dummy="$PATH"
   1420 for ac_dir in $ac_dummy; do
   1421   IFS=$ac_save_IFS
   1422   test -z "$ac_dir" && ac_dir=.
   1423   $as_executable_p "$ac_dir/$ac_word" || continue
   1424 ac_cv_prog_ac_ct_CC="$ac_prog"
   1425 echo "$as_me:1425: found $ac_dir/$ac_word" >&5
   1426 break
   1427 done
   1428 
   1429 fi
   1430 fi
   1431 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1432 if test -n "$ac_ct_CC"; then
   1433   echo "$as_me:1433: result: $ac_ct_CC" >&5
   1434 echo "${ECHO_T}$ac_ct_CC" >&6
   1435 else
   1436   echo "$as_me:1436: result: no" >&5
   1437 echo "${ECHO_T}no" >&6
   1438 fi
   1439 
   1440   test -n "$ac_ct_CC" && break
   1441 done
   1442 
   1443   CC=$ac_ct_CC
   1444 fi
   1445 
   1446 fi
   1447 
   1448 test -z "$CC" && { { echo "$as_me:1448: error: no acceptable cc found in \$PATH" >&5
   1449 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
   1450    { (exit 1); exit 1; }; }
   1451 
   1452 # Provide some information about the compiler.
   1453 echo "$as_me:1453:" \
   1454      "checking for C compiler version" >&5
   1455 ac_compiler=`set X $ac_compile; echo $2`
   1456 { (eval echo "$as_me:1456: \"$ac_compiler --version </dev/null >&5\"") >&5
   1457   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1458   ac_status=$?
   1459   echo "$as_me:1459: \$? = $ac_status" >&5
   1460   (exit $ac_status); }
   1461 { (eval echo "$as_me:1461: \"$ac_compiler -v </dev/null >&5\"") >&5
   1462   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1463   ac_status=$?
   1464   echo "$as_me:1464: \$? = $ac_status" >&5
   1465   (exit $ac_status); }
   1466 { (eval echo "$as_me:1466: \"$ac_compiler -V </dev/null >&5\"") >&5
   1467   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1468   ac_status=$?
   1469   echo "$as_me:1469: \$? = $ac_status" >&5
   1470   (exit $ac_status); }
   1471 
   1472 cat >conftest.$ac_ext <<_ACEOF
   1473 #line 1473 "configure"
   1474 #include "confdefs.h"
   1475 
   1476 int
   1477 main (void)
   1478 {
   1479 
   1480   ;
   1481   return 0;
   1482 }
   1483 _ACEOF
   1484 ac_clean_files_save=$ac_clean_files
   1485 ac_clean_files="$ac_clean_files a.out a.exe"
   1486 # Try to create an executable without -o first, disregard a.out.
   1487 # It will help us diagnose broken compilers, and finding out an intuition
   1488 # of exeext.
   1489 echo "$as_me:1489: checking for C compiler default output" >&5
   1490 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
   1491 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1492 if { (eval echo "$as_me:1492: \"$ac_link_default\"") >&5
   1493   (eval $ac_link_default) 2>&5
   1494   ac_status=$?
   1495   echo "$as_me:1495: \$? = $ac_status" >&5
   1496   (exit $ac_status); }; then
   1497   # Find the output, starting from the most likely.  This scheme is
   1498 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1499 # resort.
   1500 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
   1501                 ls a.out conftest 2>/dev/null;
   1502                 ls a.* conftest.* 2>/dev/null`; do
   1503   case $ac_file in
   1504     *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   1505     a.out ) # We found the default executable, but exeext='' is most
   1506             # certainly right.
   1507             break;;
   1508     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1509           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
   1510           export ac_cv_exeext
   1511           break;;
   1512     * ) break;;
   1513   esac
   1514 done
   1515 else
   1516   echo "$as_me: failed program was:" >&5
   1517 cat conftest.$ac_ext >&5
   1518 { { echo "$as_me:1518: error: C compiler cannot create executables" >&5
   1519 echo "$as_me: error: C compiler cannot create executables" >&2;}
   1520    { (exit 77); exit 77; }; }
   1521 fi
   1522 
   1523 ac_exeext=$ac_cv_exeext
   1524 echo "$as_me:1524: result: $ac_file" >&5
   1525 echo "${ECHO_T}$ac_file" >&6
   1526 
   1527 # Check the compiler produces executables we can run.  If not, either
   1528 # the compiler is broken, or we cross compile.
   1529 echo "$as_me:1529: checking whether the C compiler works" >&5
   1530 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   1531 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   1532 # If not cross compiling, check that we can run a simple program.
   1533 if test "$cross_compiling" != yes; then
   1534   if { ac_try='./$ac_file'
   1535   { (eval echo "$as_me:1535: \"$ac_try\"") >&5
   1536   (eval $ac_try) 2>&5
   1537   ac_status=$?
   1538   echo "$as_me:1538: \$? = $ac_status" >&5
   1539   (exit $ac_status); }; }; then
   1540     cross_compiling=no
   1541   else
   1542     if test "$cross_compiling" = maybe; then
   1543 	cross_compiling=yes
   1544     else
   1545 	{ { echo "$as_me:1545: error: cannot run C compiled programs.
   1546 If you meant to cross compile, use \`--host'." >&5
   1547 echo "$as_me: error: cannot run C compiled programs.
   1548 If you meant to cross compile, use \`--host'." >&2;}
   1549    { (exit 1); exit 1; }; }
   1550     fi
   1551   fi
   1552 fi
   1553 echo "$as_me:1553: result: yes" >&5
   1554 echo "${ECHO_T}yes" >&6
   1555 
   1556 rm -f a.out a.exe conftest$ac_cv_exeext
   1557 ac_clean_files=$ac_clean_files_save
   1558 # Check the compiler produces executables we can run.  If not, either
   1559 # the compiler is broken, or we cross compile.
   1560 echo "$as_me:1560: checking whether we are cross compiling" >&5
   1561 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   1562 echo "$as_me:1562: result: $cross_compiling" >&5
   1563 echo "${ECHO_T}$cross_compiling" >&6
   1564 
   1565 echo "$as_me:1565: checking for executable suffix" >&5
   1566 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
   1567 if { (eval echo "$as_me:1567: \"$ac_link\"") >&5
   1568   (eval $ac_link) 2>&5
   1569   ac_status=$?
   1570   echo "$as_me:1570: \$? = $ac_status" >&5
   1571   (exit $ac_status); }; then
   1572   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   1573 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   1574 # work properly (i.e., refer to `conftest.exe'), while it won't with
   1575 # `rm'.
   1576 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   1577   case $ac_file in
   1578     *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   1579     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1580           export ac_cv_exeext
   1581           break;;
   1582     * ) break;;
   1583   esac
   1584 done
   1585 else
   1586   { { echo "$as_me:1586: error: cannot compute EXEEXT: cannot compile and link" >&5
   1587 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
   1588    { (exit 1); exit 1; }; }
   1589 fi
   1590 
   1591 rm -f conftest$ac_cv_exeext
   1592 echo "$as_me:1592: result: $ac_cv_exeext" >&5
   1593 echo "${ECHO_T}$ac_cv_exeext" >&6
   1594 
   1595 rm -f conftest.$ac_ext
   1596 EXEEXT=$ac_cv_exeext
   1597 ac_exeext=$EXEEXT
   1598 echo "$as_me:1598: checking for object suffix" >&5
   1599 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
   1600 if test "${ac_cv_objext+set}" = set; then
   1601   echo $ECHO_N "(cached) $ECHO_C" >&6
   1602 else
   1603   cat >conftest.$ac_ext <<_ACEOF
   1604 #line 1604 "configure"
   1605 #include "confdefs.h"
   1606 
   1607 int
   1608 main (void)
   1609 {
   1610 
   1611   ;
   1612   return 0;
   1613 }
   1614 _ACEOF
   1615 rm -f conftest.o conftest.obj
   1616 if { (eval echo "$as_me:1616: \"$ac_compile\"") >&5
   1617   (eval $ac_compile) 2>&5
   1618   ac_status=$?
   1619   echo "$as_me:1619: \$? = $ac_status" >&5
   1620   (exit $ac_status); }; then
   1621   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   1622   case $ac_file in
   1623     *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;;
   1624     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   1625        break;;
   1626   esac
   1627 done
   1628 else
   1629   echo "$as_me: failed program was:" >&5
   1630 cat conftest.$ac_ext >&5
   1631 { { echo "$as_me:1631: error: cannot compute OBJEXT: cannot compile" >&5
   1632 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
   1633    { (exit 1); exit 1; }; }
   1634 fi
   1635 
   1636 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1637 fi
   1638 echo "$as_me:1638: result: $ac_cv_objext" >&5
   1639 echo "${ECHO_T}$ac_cv_objext" >&6
   1640 OBJEXT=$ac_cv_objext
   1641 ac_objext=$OBJEXT
   1642 echo "$as_me:1642: checking whether we are using the GNU C compiler" >&5
   1643 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   1644 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   1645   echo $ECHO_N "(cached) $ECHO_C" >&6
   1646 else
   1647   cat >conftest.$ac_ext <<_ACEOF
   1648 #line 1648 "configure"
   1649 #include "confdefs.h"
   1650 
   1651 int
   1652 main (void)
   1653 {
   1654 #ifndef __GNUC__
   1655        choke me
   1656 #endif
   1657 
   1658   ;
   1659   return 0;
   1660 }
   1661 _ACEOF
   1662 rm -f conftest.$ac_objext
   1663 if { (eval echo "$as_me:1663: \"$ac_compile\"") >&5
   1664   (eval $ac_compile) 2>&5
   1665   ac_status=$?
   1666   echo "$as_me:1666: \$? = $ac_status" >&5
   1667   (exit $ac_status); } &&
   1668          { ac_try='test -s conftest.$ac_objext'
   1669   { (eval echo "$as_me:1669: \"$ac_try\"") >&5
   1670   (eval $ac_try) 2>&5
   1671   ac_status=$?
   1672   echo "$as_me:1672: \$? = $ac_status" >&5
   1673   (exit $ac_status); }; }; then
   1674   ac_compiler_gnu=yes
   1675 else
   1676   echo "$as_me: failed program was:" >&5
   1677 cat conftest.$ac_ext >&5
   1678 ac_compiler_gnu=no
   1679 fi
   1680 rm -f conftest.$ac_objext conftest.$ac_ext
   1681 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   1682 
   1683 fi
   1684 echo "$as_me:1684: result: $ac_cv_c_compiler_gnu" >&5
   1685 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   1686 GCC=`test $ac_compiler_gnu = yes && echo yes`
   1687 ac_test_CFLAGS=${CFLAGS+set}
   1688 ac_save_CFLAGS=$CFLAGS
   1689 CFLAGS="-g"
   1690 echo "$as_me:1690: checking whether $CC accepts -g" >&5
   1691 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   1692 if test "${ac_cv_prog_cc_g+set}" = set; then
   1693   echo $ECHO_N "(cached) $ECHO_C" >&6
   1694 else
   1695   cat >conftest.$ac_ext <<_ACEOF
   1696 #line 1696 "configure"
   1697 #include "confdefs.h"
   1698 
   1699 int
   1700 main (void)
   1701 {
   1702 
   1703   ;
   1704   return 0;
   1705 }
   1706 _ACEOF
   1707 rm -f conftest.$ac_objext
   1708 if { (eval echo "$as_me:1708: \"$ac_compile\"") >&5
   1709   (eval $ac_compile) 2>&5
   1710   ac_status=$?
   1711   echo "$as_me:1711: \$? = $ac_status" >&5
   1712   (exit $ac_status); } &&
   1713          { ac_try='test -s conftest.$ac_objext'
   1714   { (eval echo "$as_me:1714: \"$ac_try\"") >&5
   1715   (eval $ac_try) 2>&5
   1716   ac_status=$?
   1717   echo "$as_me:1717: \$? = $ac_status" >&5
   1718   (exit $ac_status); }; }; then
   1719   ac_cv_prog_cc_g=yes
   1720 else
   1721   echo "$as_me: failed program was:" >&5
   1722 cat conftest.$ac_ext >&5
   1723 ac_cv_prog_cc_g=no
   1724 fi
   1725 rm -f conftest.$ac_objext conftest.$ac_ext
   1726 fi
   1727 echo "$as_me:1727: result: $ac_cv_prog_cc_g" >&5
   1728 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   1729 if test "$ac_test_CFLAGS" = set; then
   1730   CFLAGS=$ac_save_CFLAGS
   1731 elif test $ac_cv_prog_cc_g = yes; then
   1732   if test "$GCC" = yes; then
   1733     CFLAGS="-g -O2"
   1734   else
   1735     CFLAGS="-g"
   1736   fi
   1737 else
   1738   if test "$GCC" = yes; then
   1739     CFLAGS="-O2"
   1740   else
   1741     CFLAGS=
   1742   fi
   1743 fi
   1744 # Some people use a C++ compiler to compile C.  Since we use `exit',
   1745 # in C++ we need to declare it.  In case someone uses the same compiler
   1746 # for both compiling C and C++ we need to have the C++ compiler decide
   1747 # the declaration of exit, since it's the most demanding environment.
   1748 cat >conftest.$ac_ext <<_ACEOF
   1749 #ifndef __cplusplus
   1750   choke me
   1751 #endif
   1752 _ACEOF
   1753 rm -f conftest.$ac_objext
   1754 if { (eval echo "$as_me:1754: \"$ac_compile\"") >&5
   1755   (eval $ac_compile) 2>&5
   1756   ac_status=$?
   1757   echo "$as_me:1757: \$? = $ac_status" >&5
   1758   (exit $ac_status); } &&
   1759          { ac_try='test -s conftest.$ac_objext'
   1760   { (eval echo "$as_me:1760: \"$ac_try\"") >&5
   1761   (eval $ac_try) 2>&5
   1762   ac_status=$?
   1763   echo "$as_me:1763: \$? = $ac_status" >&5
   1764   (exit $ac_status); }; }; then
   1765   for ac_declaration in \
   1766    ''\
   1767    '#include <stdlib.h>' \
   1768    'extern "C" void std::exit (int) throw (); using std::exit;' \
   1769    'extern "C" void std::exit (int); using std::exit;' \
   1770    'extern "C" void exit (int) throw ();' \
   1771    'extern "C" void exit (int);' \
   1772    'void exit (int);'
   1773 do
   1774   cat >conftest.$ac_ext <<_ACEOF
   1775 #line 1775 "configure"
   1776 #include "confdefs.h"
   1777 #include <stdlib.h>
   1778 $ac_declaration
   1779 int
   1780 main (void)
   1781 {
   1782 exit (42);
   1783   ;
   1784   return 0;
   1785 }
   1786 _ACEOF
   1787 rm -f conftest.$ac_objext
   1788 if { (eval echo "$as_me:1788: \"$ac_compile\"") >&5
   1789   (eval $ac_compile) 2>&5
   1790   ac_status=$?
   1791   echo "$as_me:1791: \$? = $ac_status" >&5
   1792   (exit $ac_status); } &&
   1793          { ac_try='test -s conftest.$ac_objext'
   1794   { (eval echo "$as_me:1794: \"$ac_try\"") >&5
   1795   (eval $ac_try) 2>&5
   1796   ac_status=$?
   1797   echo "$as_me:1797: \$? = $ac_status" >&5
   1798   (exit $ac_status); }; }; then
   1799   :
   1800 else
   1801   echo "$as_me: failed program was:" >&5
   1802 cat conftest.$ac_ext >&5
   1803 continue
   1804 fi
   1805 rm -f conftest.$ac_objext conftest.$ac_ext
   1806   cat >conftest.$ac_ext <<_ACEOF
   1807 #line 1807 "configure"
   1808 #include "confdefs.h"
   1809 $ac_declaration
   1810 int
   1811 main (void)
   1812 {
   1813 exit (42);
   1814   ;
   1815   return 0;
   1816 }
   1817 _ACEOF
   1818 rm -f conftest.$ac_objext
   1819 if { (eval echo "$as_me:1819: \"$ac_compile\"") >&5
   1820   (eval $ac_compile) 2>&5
   1821   ac_status=$?
   1822   echo "$as_me:1822: \$? = $ac_status" >&5
   1823   (exit $ac_status); } &&
   1824          { ac_try='test -s conftest.$ac_objext'
   1825   { (eval echo "$as_me:1825: \"$ac_try\"") >&5
   1826   (eval $ac_try) 2>&5
   1827   ac_status=$?
   1828   echo "$as_me:1828: \$? = $ac_status" >&5
   1829   (exit $ac_status); }; }; then
   1830   break
   1831 else
   1832   echo "$as_me: failed program was:" >&5
   1833 cat conftest.$ac_ext >&5
   1834 fi
   1835 rm -f conftest.$ac_objext conftest.$ac_ext
   1836 done
   1837 rm -rf conftest*
   1838 if test -n "$ac_declaration"; then
   1839   echo '#ifdef __cplusplus' >>confdefs.h
   1840   echo $ac_declaration      >>confdefs.h
   1841   echo '#endif'             >>confdefs.h
   1842 fi
   1843 
   1844 else
   1845   echo "$as_me: failed program was:" >&5
   1846 cat conftest.$ac_ext >&5
   1847 fi
   1848 rm -f conftest.$ac_objext conftest.$ac_ext
   1849 ac_ext=c
   1850 ac_cpp='$CPP $CPPFLAGS'
   1851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1854 ac_main_return=return
   1855 
   1856 GCC_VERSION=none
   1857 if test "$GCC" = yes ; then
   1858 	echo "$as_me:1858: checking version of $CC" >&5
   1859 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
   1860 	GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
   1861 	test -z "$GCC_VERSION" && GCC_VERSION=unknown
   1862 	echo "$as_me:1862: result: $GCC_VERSION" >&5
   1863 echo "${ECHO_T}$GCC_VERSION" >&6
   1864 fi
   1865 
   1866 echo "$as_me:1866: checking for $CC option to accept ANSI C" >&5
   1867 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   1868 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   1869   echo $ECHO_N "(cached) $ECHO_C" >&6
   1870 else
   1871   ac_cv_prog_cc_stdc=no
   1872 ac_save_CC=$CC
   1873 cat >conftest.$ac_ext <<_ACEOF
   1874 #line 1874 "configure"
   1875 #include "confdefs.h"
   1876 #include <stdarg.h>
   1877 #include <stdio.h>
   1878 #include <sys/types.h>
   1879 #include <sys/stat.h>
   1880 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   1881 struct buf { int x; };
   1882 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   1883 static char *e (p, i)
   1884      char **p;
   1885      int i;
   1886 {
   1887   return p[i];
   1888 }
   1889 static char *f (char * (*g) (char **, int), char **p, ...)
   1890 {
   1891   char *s;
   1892   va_list v;
   1893   va_start (v,p);
   1894   s = g (p, va_arg (v,int));
   1895   va_end (v);
   1896   return s;
   1897 }
   1898 int test (int i, double x);
   1899 struct s1 {int (*f) (int a);};
   1900 struct s2 {int (*f) (double a);};
   1901 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   1902 int argc;
   1903 char **argv;
   1904 int
   1905 main (void)
   1906 {
   1907 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   1908   ;
   1909   return 0;
   1910 }
   1911 _ACEOF
   1912 # Don't try gcc -ansi; that turns off useful extensions and
   1913 # breaks some systems' header files.
   1914 # AIX			-qlanglvl=ansi
   1915 # Ultrix and OSF/1	-std1
   1916 # HP-UX 10.20 and later	-Ae
   1917 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   1918 # SVR4			-Xc -D__EXTENSIONS__
   1919 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   1920 do
   1921   CC="$ac_save_CC $ac_arg"
   1922   rm -f conftest.$ac_objext
   1923 if { (eval echo "$as_me:1923: \"$ac_compile\"") >&5
   1924   (eval $ac_compile) 2>&5
   1925   ac_status=$?
   1926   echo "$as_me:1926: \$? = $ac_status" >&5
   1927   (exit $ac_status); } &&
   1928          { ac_try='test -s conftest.$ac_objext'
   1929   { (eval echo "$as_me:1929: \"$ac_try\"") >&5
   1930   (eval $ac_try) 2>&5
   1931   ac_status=$?
   1932   echo "$as_me:1932: \$? = $ac_status" >&5
   1933   (exit $ac_status); }; }; then
   1934   ac_cv_prog_cc_stdc=$ac_arg
   1935 break
   1936 else
   1937   echo "$as_me: failed program was:" >&5
   1938 cat conftest.$ac_ext >&5
   1939 fi
   1940 rm -f conftest.$ac_objext
   1941 done
   1942 rm -f conftest.$ac_ext conftest.$ac_objext
   1943 CC=$ac_save_CC
   1944 
   1945 fi
   1946 
   1947 case "x$ac_cv_prog_cc_stdc" in
   1948   x|xno)
   1949     echo "$as_me:1949: result: none needed" >&5
   1950 echo "${ECHO_T}none needed" >&6 ;;
   1951   *)
   1952     echo "$as_me:1952: result: $ac_cv_prog_cc_stdc" >&5
   1953 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   1954     CC="$CC $ac_cv_prog_cc_stdc" ;;
   1955 esac
   1956 
   1957 # This should have been defined by AC_PROG_CC
   1958 : ${CC:=cc}
   1959 
   1960 echo "$as_me:1960: checking \$CFLAGS variable" >&5
   1961 echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6
   1962 case "x$CFLAGS" in
   1963 (*-[IUD]*)
   1964 	echo "$as_me:1964: result: broken" >&5
   1965 echo "${ECHO_T}broken" >&6
   1966 	{ echo "$as_me:1966: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5
   1967 echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;}
   1968 	cf_flags="$CFLAGS"
   1969 	CFLAGS=
   1970 	for cf_arg in $cf_flags
   1971 	do
   1972 
   1973 cf_fix_cppflags=no
   1974 cf_new_cflags=
   1975 cf_new_cppflags=
   1976 cf_new_extra_cppflags=
   1977 
   1978 for cf_add_cflags in $cf_arg
   1979 do
   1980 case $cf_fix_cppflags in
   1981 (no)
   1982 	case $cf_add_cflags in
   1983 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   1984 		case $cf_add_cflags in
   1985 		(-D*)
   1986 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   1987 
   1988 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   1989 				&& test -z "${cf_tst_cflags}" \
   1990 				&& cf_fix_cppflags=yes
   1991 
   1992 			if test $cf_fix_cppflags = yes ; then
   1993 
   1994 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   1995 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   1996 
   1997 				continue
   1998 			elif test "${cf_tst_cflags}" = "\"'" ; then
   1999 
   2000 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2001 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2002 
   2003 				continue
   2004 			fi
   2005 			;;
   2006 		esac
   2007 		case "$CPPFLAGS" in
   2008 		(*$cf_add_cflags)
   2009 			;;
   2010 		(*)
   2011 			case $cf_add_cflags in
   2012 			(-D*)
   2013 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   2014 
   2015 CPPFLAGS=`echo "$CPPFLAGS" | \
   2016 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   2017 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   2018 
   2019 				;;
   2020 			esac
   2021 
   2022 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   2023 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   2024 
   2025 			;;
   2026 		esac
   2027 		;;
   2028 	(*)
   2029 
   2030 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   2031 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   2032 
   2033 		;;
   2034 	esac
   2035 	;;
   2036 (yes)
   2037 
   2038 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2039 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2040 
   2041 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   2042 
   2043 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   2044 		&& test -z "${cf_tst_cflags}" \
   2045 		&& cf_fix_cppflags=no
   2046 	;;
   2047 esac
   2048 done
   2049 
   2050 if test -n "$cf_new_cflags" ; then
   2051 
   2052 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   2053 	CFLAGS="${CFLAGS}$cf_new_cflags"
   2054 
   2055 fi
   2056 
   2057 if test -n "$cf_new_cppflags" ; then
   2058 
   2059 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   2060 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   2061 
   2062 fi
   2063 
   2064 if test -n "$cf_new_extra_cppflags" ; then
   2065 
   2066 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   2067 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   2068 
   2069 fi
   2070 
   2071 	done
   2072 	;;
   2073 (*)
   2074 	echo "$as_me:2074: result: ok" >&5
   2075 echo "${ECHO_T}ok" >&6
   2076 	;;
   2077 esac
   2078 
   2079 echo "$as_me:2079: checking \$CC variable" >&5
   2080 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
   2081 case "$CC" in
   2082 (*[\ \	]-*)
   2083 	echo "$as_me:2083: result: broken" >&5
   2084 echo "${ECHO_T}broken" >&6
   2085 	{ echo "$as_me:2085: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
   2086 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
   2087 	# humor him...
   2088 	cf_prog=`echo "$CC" | sed -e 's/	/ /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'`
   2089 	cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'`
   2090 	CC="$cf_prog"
   2091 	for cf_arg in $cf_flags
   2092 	do
   2093 		case "x$cf_arg" in
   2094 		(x-[IUDfgOW]*)
   2095 
   2096 cf_fix_cppflags=no
   2097 cf_new_cflags=
   2098 cf_new_cppflags=
   2099 cf_new_extra_cppflags=
   2100 
   2101 for cf_add_cflags in $cf_arg
   2102 do
   2103 case $cf_fix_cppflags in
   2104 (no)
   2105 	case $cf_add_cflags in
   2106 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   2107 		case $cf_add_cflags in
   2108 		(-D*)
   2109 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   2110 
   2111 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   2112 				&& test -z "${cf_tst_cflags}" \
   2113 				&& cf_fix_cppflags=yes
   2114 
   2115 			if test $cf_fix_cppflags = yes ; then
   2116 
   2117 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2118 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2119 
   2120 				continue
   2121 			elif test "${cf_tst_cflags}" = "\"'" ; then
   2122 
   2123 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2124 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2125 
   2126 				continue
   2127 			fi
   2128 			;;
   2129 		esac
   2130 		case "$CPPFLAGS" in
   2131 		(*$cf_add_cflags)
   2132 			;;
   2133 		(*)
   2134 			case $cf_add_cflags in
   2135 			(-D*)
   2136 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   2137 
   2138 CPPFLAGS=`echo "$CPPFLAGS" | \
   2139 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   2140 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   2141 
   2142 				;;
   2143 			esac
   2144 
   2145 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   2146 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   2147 
   2148 			;;
   2149 		esac
   2150 		;;
   2151 	(*)
   2152 
   2153 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   2154 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   2155 
   2156 		;;
   2157 	esac
   2158 	;;
   2159 (yes)
   2160 
   2161 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2162 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2163 
   2164 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   2165 
   2166 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   2167 		&& test -z "${cf_tst_cflags}" \
   2168 		&& cf_fix_cppflags=no
   2169 	;;
   2170 esac
   2171 done
   2172 
   2173 if test -n "$cf_new_cflags" ; then
   2174 
   2175 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   2176 	CFLAGS="${CFLAGS}$cf_new_cflags"
   2177 
   2178 fi
   2179 
   2180 if test -n "$cf_new_cppflags" ; then
   2181 
   2182 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   2183 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   2184 
   2185 fi
   2186 
   2187 if test -n "$cf_new_extra_cppflags" ; then
   2188 
   2189 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   2190 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   2191 
   2192 fi
   2193 
   2194 			;;
   2195 		(*)
   2196 			CC="$CC $cf_arg"
   2197 			;;
   2198 		esac
   2199 	done
   2200 	test -n "$verbose" && echo "	resulting CC: '$CC'" 1>&6
   2201 
   2202 echo "${as_me:-configure}:2202: testing resulting CC: '$CC' ..." 1>&5
   2203 
   2204 	test -n "$verbose" && echo "	resulting CFLAGS: '$CFLAGS'" 1>&6
   2205 
   2206 echo "${as_me:-configure}:2206: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
   2207 
   2208 	test -n "$verbose" && echo "	resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
   2209 
   2210 echo "${as_me:-configure}:2210: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5
   2211 
   2212 	;;
   2213 (*)
   2214 	echo "$as_me:2214: result: ok" >&5
   2215 echo "${ECHO_T}ok" >&6
   2216 	;;
   2217 esac
   2218 
   2219 echo "$as_me:2219: checking whether ${MAKE-make} sets \${MAKE}" >&5
   2220 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
   2221 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
   2222 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   2223   echo $ECHO_N "(cached) $ECHO_C" >&6
   2224 else
   2225   cat >conftest.make <<\EOF
   2226 all:
   2227 	@echo 'ac_maketemp="${MAKE}"'
   2228 EOF
   2229 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2230 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   2231 if test -n "$ac_maketemp"; then
   2232   eval ac_cv_prog_make_${ac_make}_set=yes
   2233 else
   2234   eval ac_cv_prog_make_${ac_make}_set=no
   2235 fi
   2236 rm -f conftest.make
   2237 fi
   2238 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   2239   echo "$as_me:2239: result: yes" >&5
   2240 echo "${ECHO_T}yes" >&6
   2241   SET_MAKE=
   2242 else
   2243   echo "$as_me:2243: result: no" >&5
   2244 echo "${ECHO_T}no" >&6
   2245   SET_MAKE="MAKE=${MAKE-make}"
   2246 fi
   2247 
   2248 # Find a good install program.  We prefer a C program (faster),
   2249 # so one script is as good as another.  But avoid the broken or
   2250 # incompatible versions:
   2251 # SysV /etc/install, /usr/sbin/install
   2252 # SunOS /usr/etc/install
   2253 # IRIX /sbin/install
   2254 # AIX /bin/install
   2255 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2256 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2257 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2258 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2259 # ./install, which can be erroneously created by make from ./install.sh.
   2260 echo "$as_me:2260: checking for a BSD compatible install" >&5
   2261 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
   2262 if test -z "$INSTALL"; then
   2263 if test "${ac_cv_path_install+set}" = set; then
   2264   echo $ECHO_N "(cached) $ECHO_C" >&6
   2265 else
   2266     ac_save_IFS=$IFS; IFS=$ac_path_separator
   2267   for ac_dir in $PATH; do
   2268     IFS=$ac_save_IFS
   2269     # Account for people who put trailing slashes in PATH elements.
   2270     case $ac_dir/ in
   2271     / | ./ | .// | /cC/* \
   2272     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
   2273     | /usr/ucb/* ) ;;
   2274     *)
   2275       # OSF1 and SCO ODT 3.0 have their own names for install.
   2276       # Don't use installbsd from OSF since it installs stuff as root
   2277       # by default.
   2278       for ac_prog in ginstall scoinst install; do
   2279         if $as_executable_p "$ac_dir/$ac_prog"; then
   2280 	  if test $ac_prog = install &&
   2281             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
   2282 	    # AIX install.  It has an incompatible calling convention.
   2283 	    :
   2284 	  elif test $ac_prog = install &&
   2285 	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
   2286 	    # program-specific install script used by HP pwplus--don't use.
   2287 	    :
   2288 	  else
   2289 	    ac_cv_path_install="$ac_dir/$ac_prog -c"
   2290 	    break 2
   2291 	  fi
   2292 	fi
   2293       done
   2294       ;;
   2295     esac
   2296   done
   2297 
   2298 fi
   2299   if test "${ac_cv_path_install+set}" = set; then
   2300     INSTALL=$ac_cv_path_install
   2301   else
   2302     # As a last resort, use the slow shell script.  We don't cache a
   2303     # path for INSTALL within a source directory, because that will
   2304     # break other packages using the cache if that directory is
   2305     # removed, or if the path is relative.
   2306     INSTALL=$ac_install_sh
   2307   fi
   2308 fi
   2309 echo "$as_me:2309: result: $INSTALL" >&5
   2310 echo "${ECHO_T}$INSTALL" >&6
   2311 
   2312 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2313 # It thinks the first close brace ends the variable substitution.
   2314 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2315 
   2316 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2317 
   2318 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2319 
   2320 echo "$as_me:2320: checking if filesystem supports mixed-case filenames" >&5
   2321 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
   2322 if test "${cf_cv_mixedcase+set}" = set; then
   2323   echo $ECHO_N "(cached) $ECHO_C" >&6
   2324 else
   2325 
   2326 if test "$cross_compiling" = yes ; then
   2327 	case $target_alias in
   2328 	(*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*)
   2329 		cf_cv_mixedcase=no
   2330 		;;
   2331 	(*)
   2332 		cf_cv_mixedcase=yes
   2333 		;;
   2334 	esac
   2335 else
   2336 	rm -f conftest CONFTEST
   2337 	echo test >conftest
   2338 	if test -f CONFTEST ; then
   2339 		cf_cv_mixedcase=no
   2340 	else
   2341 		cf_cv_mixedcase=yes
   2342 	fi
   2343 	rm -f conftest CONFTEST
   2344 fi
   2345 
   2346 fi
   2347 echo "$as_me:2347: result: $cf_cv_mixedcase" >&5
   2348 echo "${ECHO_T}$cf_cv_mixedcase" >&6
   2349 test "$cf_cv_mixedcase" = yes &&
   2350 cat >>confdefs.h <<\EOF
   2351 #define MIXEDCASE_FILENAMES 1
   2352 EOF
   2353 
   2354 for ac_prog in exctags ctags
   2355 do
   2356   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2357 set dummy $ac_prog; ac_word=$2
   2358 echo "$as_me:2358: checking for $ac_word" >&5
   2359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2360 if test "${ac_cv_prog_CTAGS+set}" = set; then
   2361   echo $ECHO_N "(cached) $ECHO_C" >&6
   2362 else
   2363   if test -n "$CTAGS"; then
   2364   ac_cv_prog_CTAGS="$CTAGS" # Let the user override the test.
   2365 else
   2366   ac_save_IFS=$IFS; IFS=$ac_path_separator
   2367 ac_dummy="$PATH"
   2368 for ac_dir in $ac_dummy; do
   2369   IFS=$ac_save_IFS
   2370   test -z "$ac_dir" && ac_dir=.
   2371   $as_executable_p "$ac_dir/$ac_word" || continue
   2372 ac_cv_prog_CTAGS="$ac_prog"
   2373 echo "$as_me:2373: found $ac_dir/$ac_word" >&5
   2374 break
   2375 done
   2376 
   2377 fi
   2378 fi
   2379 CTAGS=$ac_cv_prog_CTAGS
   2380 if test -n "$CTAGS"; then
   2381   echo "$as_me:2381: result: $CTAGS" >&5
   2382 echo "${ECHO_T}$CTAGS" >&6
   2383 else
   2384   echo "$as_me:2384: result: no" >&5
   2385 echo "${ECHO_T}no" >&6
   2386 fi
   2387 
   2388   test -n "$CTAGS" && break
   2389 done
   2390 
   2391 for ac_prog in exetags etags
   2392 do
   2393   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2394 set dummy $ac_prog; ac_word=$2
   2395 echo "$as_me:2395: checking for $ac_word" >&5
   2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2397 if test "${ac_cv_prog_ETAGS+set}" = set; then
   2398   echo $ECHO_N "(cached) $ECHO_C" >&6
   2399 else
   2400   if test -n "$ETAGS"; then
   2401   ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test.
   2402 else
   2403   ac_save_IFS=$IFS; IFS=$ac_path_separator
   2404 ac_dummy="$PATH"
   2405 for ac_dir in $ac_dummy; do
   2406   IFS=$ac_save_IFS
   2407   test -z "$ac_dir" && ac_dir=.
   2408   $as_executable_p "$ac_dir/$ac_word" || continue
   2409 ac_cv_prog_ETAGS="$ac_prog"
   2410 echo "$as_me:2410: found $ac_dir/$ac_word" >&5
   2411 break
   2412 done
   2413 
   2414 fi
   2415 fi
   2416 ETAGS=$ac_cv_prog_ETAGS
   2417 if test -n "$ETAGS"; then
   2418   echo "$as_me:2418: result: $ETAGS" >&5
   2419 echo "${ECHO_T}$ETAGS" >&6
   2420 else
   2421   echo "$as_me:2421: result: no" >&5
   2422 echo "${ECHO_T}no" >&6
   2423 fi
   2424 
   2425   test -n "$ETAGS" && break
   2426 done
   2427 
   2428 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
   2429 set dummy ${CTAGS:-ctags}; ac_word=$2
   2430 echo "$as_me:2430: checking for $ac_word" >&5
   2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2432 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
   2433   echo $ECHO_N "(cached) $ECHO_C" >&6
   2434 else
   2435   if test -n "$MAKE_LOWER_TAGS"; then
   2436   ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # Let the user override the test.
   2437 else
   2438   ac_save_IFS=$IFS; IFS=$ac_path_separator
   2439 ac_dummy="$PATH"
   2440 for ac_dir in $ac_dummy; do
   2441   IFS=$ac_save_IFS
   2442   test -z "$ac_dir" && ac_dir=.
   2443   $as_executable_p "$ac_dir/$ac_word" || continue
   2444 ac_cv_prog_MAKE_LOWER_TAGS="yes"
   2445 echo "$as_me:2445: found $ac_dir/$ac_word" >&5
   2446 break
   2447 done
   2448 
   2449   test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"
   2450 fi
   2451 fi
   2452 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
   2453 if test -n "$MAKE_LOWER_TAGS"; then
   2454   echo "$as_me:2454: result: $MAKE_LOWER_TAGS" >&5
   2455 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
   2456 else
   2457   echo "$as_me:2457: result: no" >&5
   2458 echo "${ECHO_T}no" >&6
   2459 fi
   2460 
   2461 if test "$cf_cv_mixedcase" = yes ; then
   2462 	# Extract the first word of "${ETAGS:-etags}", so it can be a program name with args.
   2463 set dummy ${ETAGS:-etags}; ac_word=$2
   2464 echo "$as_me:2464: checking for $ac_word" >&5
   2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2466 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
   2467   echo $ECHO_N "(cached) $ECHO_C" >&6
   2468 else
   2469   if test -n "$MAKE_UPPER_TAGS"; then
   2470   ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # Let the user override the test.
   2471 else
   2472   ac_save_IFS=$IFS; IFS=$ac_path_separator
   2473 ac_dummy="$PATH"
   2474 for ac_dir in $ac_dummy; do
   2475   IFS=$ac_save_IFS
   2476   test -z "$ac_dir" && ac_dir=.
   2477   $as_executable_p "$ac_dir/$ac_word" || continue
   2478 ac_cv_prog_MAKE_UPPER_TAGS="yes"
   2479 echo "$as_me:2479: found $ac_dir/$ac_word" >&5
   2480 break
   2481 done
   2482 
   2483   test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"
   2484 fi
   2485 fi
   2486 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
   2487 if test -n "$MAKE_UPPER_TAGS"; then
   2488   echo "$as_me:2488: result: $MAKE_UPPER_TAGS" >&5
   2489 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
   2490 else
   2491   echo "$as_me:2491: result: no" >&5
   2492 echo "${ECHO_T}no" >&6
   2493 fi
   2494 
   2495 else
   2496 	MAKE_UPPER_TAGS=no
   2497 fi
   2498 
   2499 if test "$MAKE_UPPER_TAGS" = yes ; then
   2500 	MAKE_UPPER_TAGS=
   2501 else
   2502 	MAKE_UPPER_TAGS="#"
   2503 fi
   2504 
   2505 if test "$MAKE_LOWER_TAGS" = yes ; then
   2506 	MAKE_LOWER_TAGS=
   2507 else
   2508 	MAKE_LOWER_TAGS="#"
   2509 fi
   2510 
   2511 for ac_prog in mawk gawk nawk awk
   2512 do
   2513   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2514 set dummy $ac_prog; ac_word=$2
   2515 echo "$as_me:2515: checking for $ac_word" >&5
   2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2517 if test "${ac_cv_prog_AWK+set}" = set; then
   2518   echo $ECHO_N "(cached) $ECHO_C" >&6
   2519 else
   2520   if test -n "$AWK"; then
   2521   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2522 else
   2523   ac_save_IFS=$IFS; IFS=$ac_path_separator
   2524 ac_dummy="$PATH"
   2525 for ac_dir in $ac_dummy; do
   2526   IFS=$ac_save_IFS
   2527   test -z "$ac_dir" && ac_dir=.
   2528   $as_executable_p "$ac_dir/$ac_word" || continue
   2529 ac_cv_prog_AWK="$ac_prog"
   2530 echo "$as_me:2530: found $ac_dir/$ac_word" >&5
   2531 break
   2532 done
   2533 
   2534 fi
   2535 fi
   2536 AWK=$ac_cv_prog_AWK
   2537 if test -n "$AWK"; then
   2538   echo "$as_me:2538: result: $AWK" >&5
   2539 echo "${ECHO_T}$AWK" >&6
   2540 else
   2541   echo "$as_me:2541: result: no" >&5
   2542 echo "${ECHO_T}no" >&6
   2543 fi
   2544 
   2545   test -n "$AWK" && break
   2546 done
   2547 
   2548 test -z "$AWK" && { { echo "$as_me:2548: error: No awk program found" >&5
   2549 echo "$as_me: error: No awk program found" >&2;}
   2550    { (exit 1); exit 1; }; }
   2551 
   2552 for ac_prog in lint cppcheck splint
   2553 do
   2554   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2555 set dummy $ac_prog; ac_word=$2
   2556 echo "$as_me:2556: checking for $ac_word" >&5
   2557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2558 if test "${ac_cv_prog_LINT+set}" = set; then
   2559   echo $ECHO_N "(cached) $ECHO_C" >&6
   2560 else
   2561   if test -n "$LINT"; then
   2562   ac_cv_prog_LINT="$LINT" # Let the user override the test.
   2563 else
   2564   ac_save_IFS=$IFS; IFS=$ac_path_separator
   2565 ac_dummy="$PATH"
   2566 for ac_dir in $ac_dummy; do
   2567   IFS=$ac_save_IFS
   2568   test -z "$ac_dir" && ac_dir=.
   2569   $as_executable_p "$ac_dir/$ac_word" || continue
   2570 ac_cv_prog_LINT="$ac_prog"
   2571 echo "$as_me:2571: found $ac_dir/$ac_word" >&5
   2572 break
   2573 done
   2574 
   2575 fi
   2576 fi
   2577 LINT=$ac_cv_prog_LINT
   2578 if test -n "$LINT"; then
   2579   echo "$as_me:2579: result: $LINT" >&5
   2580 echo "${ECHO_T}$LINT" >&6
   2581 else
   2582   echo "$as_me:2582: result: no" >&5
   2583 echo "${ECHO_T}no" >&6
   2584 fi
   2585 
   2586   test -n "$LINT" && break
   2587 done
   2588 
   2589 echo "$as_me:2589: checking if the POSIX test-macros are already defined" >&5
   2590 echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6
   2591 if test "${cf_cv_posix_visible+set}" = set; then
   2592   echo $ECHO_N "(cached) $ECHO_C" >&6
   2593 else
   2594 
   2595 cat >conftest.$ac_ext <<_ACEOF
   2596 #line 2596 "configure"
   2597 #include "confdefs.h"
   2598 #include <stdio.h>
   2599 int
   2600 main (void)
   2601 {
   2602 
   2603 #if defined(__POSIX_VISIBLE) && ((__POSIX_VISIBLE - 0L) > 0) \
   2604 	&& defined(__XSI_VISIBLE) && ((__XSI_VISIBLE - 0L) > 0) \
   2605 	&& defined(__BSD_VISIBLE) && ((__BSD_VISIBLE - 0L) > 0) \
   2606 	&& defined(__ISO_C_VISIBLE) && ((__ISO_C_VISIBLE - 0L) > 0)
   2607 #error conflicting symbols found
   2608 #endif
   2609 
   2610   ;
   2611   return 0;
   2612 }
   2613 _ACEOF
   2614 rm -f conftest.$ac_objext
   2615 if { (eval echo "$as_me:2615: \"$ac_compile\"") >&5
   2616   (eval $ac_compile) 2>&5
   2617   ac_status=$?
   2618   echo "$as_me:2618: \$? = $ac_status" >&5
   2619   (exit $ac_status); } &&
   2620          { ac_try='test -s conftest.$ac_objext'
   2621   { (eval echo "$as_me:2621: \"$ac_try\"") >&5
   2622   (eval $ac_try) 2>&5
   2623   ac_status=$?
   2624   echo "$as_me:2624: \$? = $ac_status" >&5
   2625   (exit $ac_status); }; }; then
   2626   cf_cv_posix_visible=no
   2627 else
   2628   echo "$as_me: failed program was:" >&5
   2629 cat conftest.$ac_ext >&5
   2630 cf_cv_posix_visible=yes
   2631 fi
   2632 rm -f conftest.$ac_objext conftest.$ac_ext
   2633 
   2634 fi
   2635 echo "$as_me:2635: result: $cf_cv_posix_visible" >&5
   2636 echo "${ECHO_T}$cf_cv_posix_visible" >&6
   2637 
   2638 if test "$cf_cv_posix_visible" = no; then
   2639 
   2640 cf_XOPEN_SOURCE=500
   2641 cf_POSIX_C_SOURCE=199506L
   2642 cf_xopen_source=
   2643 
   2644 case $host_os in
   2645 (aix[4-7]*)
   2646 	cf_xopen_source="-D_ALL_SOURCE"
   2647 	;;
   2648 (msys)
   2649 	cf_XOPEN_SOURCE=600
   2650 	;;
   2651 (darwin[0-8].*)
   2652 	cf_xopen_source="-D_APPLE_C_SOURCE"
   2653 	;;
   2654 (darwin*)
   2655 	cf_xopen_source="-D_DARWIN_C_SOURCE"
   2656 	cf_XOPEN_SOURCE=
   2657 	;;
   2658 (freebsd*|dragonfly*|midnightbsd*)
   2659 	# 5.x headers associate
   2660 	#	_XOPEN_SOURCE=600 with _POSIX_C_SOURCE=200112L
   2661 	#	_XOPEN_SOURCE=500 with _POSIX_C_SOURCE=199506L
   2662 	cf_POSIX_C_SOURCE=200112L
   2663 	cf_XOPEN_SOURCE=600
   2664 	cf_xopen_source="-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
   2665 	;;
   2666 (hpux11*)
   2667 	cf_xopen_source="-D_HPUX_SOURCE -D_XOPEN_SOURCE=500"
   2668 	;;
   2669 (hpux*)
   2670 	cf_xopen_source="-D_HPUX_SOURCE"
   2671 	;;
   2672 (irix[56].*)
   2673 	cf_xopen_source="-D_SGI_SOURCE"
   2674 	cf_XOPEN_SOURCE=
   2675 	;;
   2676 (linux*|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin)
   2677 
   2678 cf_gnu_xopen_source=$cf_XOPEN_SOURCE
   2679 
   2680 echo "$as_me:2680: checking if this is the GNU C library" >&5
   2681 echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6
   2682 if test "${cf_cv_gnu_library+set}" = set; then
   2683   echo $ECHO_N "(cached) $ECHO_C" >&6
   2684 else
   2685 
   2686 cat >conftest.$ac_ext <<_ACEOF
   2687 #line 2687 "configure"
   2688 #include "confdefs.h"
   2689 #include <sys/types.h>
   2690 int
   2691 main (void)
   2692 {
   2693 
   2694 	#if __GLIBC__ > 0 && __GLIBC_MINOR__ >= 0
   2695 		return 0;
   2696 	#elif __NEWLIB__ > 0 && __NEWLIB_MINOR__ >= 0
   2697 		return 0;
   2698 	#else
   2699 	#	error not GNU C library
   2700 	#endif
   2701   ;
   2702   return 0;
   2703 }
   2704 _ACEOF
   2705 rm -f conftest.$ac_objext
   2706 if { (eval echo "$as_me:2706: \"$ac_compile\"") >&5
   2707   (eval $ac_compile) 2>&5
   2708   ac_status=$?
   2709   echo "$as_me:2709: \$? = $ac_status" >&5
   2710   (exit $ac_status); } &&
   2711          { ac_try='test -s conftest.$ac_objext'
   2712   { (eval echo "$as_me:2712: \"$ac_try\"") >&5
   2713   (eval $ac_try) 2>&5
   2714   ac_status=$?
   2715   echo "$as_me:2715: \$? = $ac_status" >&5
   2716   (exit $ac_status); }; }; then
   2717   cf_cv_gnu_library=yes
   2718 else
   2719   echo "$as_me: failed program was:" >&5
   2720 cat conftest.$ac_ext >&5
   2721 cf_cv_gnu_library=no
   2722 fi
   2723 rm -f conftest.$ac_objext conftest.$ac_ext
   2724 
   2725 fi
   2726 echo "$as_me:2726: result: $cf_cv_gnu_library" >&5
   2727 echo "${ECHO_T}$cf_cv_gnu_library" >&6
   2728 
   2729 if test x$cf_cv_gnu_library = xyes; then
   2730 
   2731 	# With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE
   2732 	# was changed to help a little.  newlib incorporated the change about 4
   2733 	# years later.
   2734 	echo "$as_me:2734: checking if _DEFAULT_SOURCE can be used as a basis" >&5
   2735 echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6
   2736 if test "${cf_cv_gnu_library_219+set}" = set; then
   2737   echo $ECHO_N "(cached) $ECHO_C" >&6
   2738 else
   2739 
   2740 		cf_save="$CPPFLAGS"
   2741 
   2742 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   2743 	CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE"
   2744 
   2745 		cat >conftest.$ac_ext <<_ACEOF
   2746 #line 2746 "configure"
   2747 #include "confdefs.h"
   2748 #include <sys/types.h>
   2749 int
   2750 main (void)
   2751 {
   2752 
   2753 			#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 19) || (__GLIBC__ > 2)
   2754 				return 0;
   2755 			#elif (__NEWLIB__ == 2 && __NEWLIB_MINOR__ >= 4) || (__GLIBC__ > 3)
   2756 				return 0;
   2757 			#else
   2758 			#	error GNU C library __GLIBC__.__GLIBC_MINOR__ is too old
   2759 			#endif
   2760   ;
   2761   return 0;
   2762 }
   2763 _ACEOF
   2764 rm -f conftest.$ac_objext
   2765 if { (eval echo "$as_me:2765: \"$ac_compile\"") >&5
   2766   (eval $ac_compile) 2>&5
   2767   ac_status=$?
   2768   echo "$as_me:2768: \$? = $ac_status" >&5
   2769   (exit $ac_status); } &&
   2770          { ac_try='test -s conftest.$ac_objext'
   2771   { (eval echo "$as_me:2771: \"$ac_try\"") >&5
   2772   (eval $ac_try) 2>&5
   2773   ac_status=$?
   2774   echo "$as_me:2774: \$? = $ac_status" >&5
   2775   (exit $ac_status); }; }; then
   2776   cf_cv_gnu_library_219=yes
   2777 else
   2778   echo "$as_me: failed program was:" >&5
   2779 cat conftest.$ac_ext >&5
   2780 cf_cv_gnu_library_219=no
   2781 fi
   2782 rm -f conftest.$ac_objext conftest.$ac_ext
   2783 		CPPFLAGS="$cf_save"
   2784 
   2785 fi
   2786 echo "$as_me:2786: result: $cf_cv_gnu_library_219" >&5
   2787 echo "${ECHO_T}$cf_cv_gnu_library_219" >&6
   2788 
   2789 	if test "x$cf_cv_gnu_library_219" = xyes; then
   2790 		cf_save="$CPPFLAGS"
   2791 		echo "$as_me:2791: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5
   2792 echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6
   2793 if test "${cf_cv_gnu_dftsrc_219+set}" = set; then
   2794   echo $ECHO_N "(cached) $ECHO_C" >&6
   2795 else
   2796 
   2797 cf_fix_cppflags=no
   2798 cf_new_cflags=
   2799 cf_new_cppflags=
   2800 cf_new_extra_cppflags=
   2801 
   2802 for cf_add_cflags in -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=$cf_gnu_xopen_source
   2803 do
   2804 case $cf_fix_cppflags in
   2805 (no)
   2806 	case $cf_add_cflags in
   2807 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   2808 		case $cf_add_cflags in
   2809 		(-D*)
   2810 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   2811 
   2812 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   2813 				&& test -z "${cf_tst_cflags}" \
   2814 				&& cf_fix_cppflags=yes
   2815 
   2816 			if test $cf_fix_cppflags = yes ; then
   2817 
   2818 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2819 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2820 
   2821 				continue
   2822 			elif test "${cf_tst_cflags}" = "\"'" ; then
   2823 
   2824 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2825 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2826 
   2827 				continue
   2828 			fi
   2829 			;;
   2830 		esac
   2831 		case "$CPPFLAGS" in
   2832 		(*$cf_add_cflags)
   2833 			;;
   2834 		(*)
   2835 			case $cf_add_cflags in
   2836 			(-D*)
   2837 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   2838 
   2839 CPPFLAGS=`echo "$CPPFLAGS" | \
   2840 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   2841 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   2842 
   2843 				;;
   2844 			esac
   2845 
   2846 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   2847 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   2848 
   2849 			;;
   2850 		esac
   2851 		;;
   2852 	(*)
   2853 
   2854 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   2855 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   2856 
   2857 		;;
   2858 	esac
   2859 	;;
   2860 (yes)
   2861 
   2862 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   2863 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   2864 
   2865 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   2866 
   2867 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   2868 		&& test -z "${cf_tst_cflags}" \
   2869 		&& cf_fix_cppflags=no
   2870 	;;
   2871 esac
   2872 done
   2873 
   2874 if test -n "$cf_new_cflags" ; then
   2875 
   2876 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   2877 	CFLAGS="${CFLAGS}$cf_new_cflags"
   2878 
   2879 fi
   2880 
   2881 if test -n "$cf_new_cppflags" ; then
   2882 
   2883 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   2884 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   2885 
   2886 fi
   2887 
   2888 if test -n "$cf_new_extra_cppflags" ; then
   2889 
   2890 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   2891 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   2892 
   2893 fi
   2894 
   2895 			cat >conftest.$ac_ext <<_ACEOF
   2896 #line 2896 "configure"
   2897 #include "confdefs.h"
   2898 
   2899 				#include <limits.h>
   2900 				#include <sys/types.h>
   2901 
   2902 int
   2903 main (void)
   2904 {
   2905 
   2906 				#if (_XOPEN_SOURCE >= $cf_gnu_xopen_source) && (MB_LEN_MAX > 1)
   2907 					return 0;
   2908 				#else
   2909 				#	error GNU C library is too old
   2910 				#endif
   2911   ;
   2912   return 0;
   2913 }
   2914 _ACEOF
   2915 rm -f conftest.$ac_objext
   2916 if { (eval echo "$as_me:2916: \"$ac_compile\"") >&5
   2917   (eval $ac_compile) 2>&5
   2918   ac_status=$?
   2919   echo "$as_me:2919: \$? = $ac_status" >&5
   2920   (exit $ac_status); } &&
   2921          { ac_try='test -s conftest.$ac_objext'
   2922   { (eval echo "$as_me:2922: \"$ac_try\"") >&5
   2923   (eval $ac_try) 2>&5
   2924   ac_status=$?
   2925   echo "$as_me:2925: \$? = $ac_status" >&5
   2926   (exit $ac_status); }; }; then
   2927   cf_cv_gnu_dftsrc_219=yes
   2928 else
   2929   echo "$as_me: failed program was:" >&5
   2930 cat conftest.$ac_ext >&5
   2931 cf_cv_gnu_dftsrc_219=no
   2932 fi
   2933 rm -f conftest.$ac_objext conftest.$ac_ext
   2934 
   2935 fi
   2936 echo "$as_me:2936: result: $cf_cv_gnu_dftsrc_219" >&5
   2937 echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6
   2938 		test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save"
   2939 	else
   2940 		cf_cv_gnu_dftsrc_219=maybe
   2941 	fi
   2942 
   2943 	if test "x$cf_cv_gnu_dftsrc_219" != xyes; then
   2944 
   2945 		echo "$as_me:2945: checking if we must define _GNU_SOURCE" >&5
   2946 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
   2947 if test "${cf_cv_gnu_source+set}" = set; then
   2948   echo $ECHO_N "(cached) $ECHO_C" >&6
   2949 else
   2950 
   2951 		cat >conftest.$ac_ext <<_ACEOF
   2952 #line 2952 "configure"
   2953 #include "confdefs.h"
   2954 #include <sys/types.h>
   2955 int
   2956 main (void)
   2957 {
   2958 
   2959 			#ifndef _XOPEN_SOURCE
   2960 			#error	expected _XOPEN_SOURCE to be defined
   2961 			#endif
   2962   ;
   2963   return 0;
   2964 }
   2965 _ACEOF
   2966 rm -f conftest.$ac_objext
   2967 if { (eval echo "$as_me:2967: \"$ac_compile\"") >&5
   2968   (eval $ac_compile) 2>&5
   2969   ac_status=$?
   2970   echo "$as_me:2970: \$? = $ac_status" >&5
   2971   (exit $ac_status); } &&
   2972          { ac_try='test -s conftest.$ac_objext'
   2973   { (eval echo "$as_me:2973: \"$ac_try\"") >&5
   2974   (eval $ac_try) 2>&5
   2975   ac_status=$?
   2976   echo "$as_me:2976: \$? = $ac_status" >&5
   2977   (exit $ac_status); }; }; then
   2978   cf_cv_gnu_source=no
   2979 else
   2980   echo "$as_me: failed program was:" >&5
   2981 cat conftest.$ac_ext >&5
   2982 cf_save="$CPPFLAGS"
   2983 
   2984 cf_fix_cppflags=no
   2985 cf_new_cflags=
   2986 cf_new_cppflags=
   2987 cf_new_extra_cppflags=
   2988 
   2989 for cf_add_cflags in -D_GNU_SOURCE
   2990 do
   2991 case $cf_fix_cppflags in
   2992 (no)
   2993 	case $cf_add_cflags in
   2994 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   2995 		case $cf_add_cflags in
   2996 		(-D*)
   2997 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   2998 
   2999 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3000 				&& test -z "${cf_tst_cflags}" \
   3001 				&& cf_fix_cppflags=yes
   3002 
   3003 			if test $cf_fix_cppflags = yes ; then
   3004 
   3005 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3006 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3007 
   3008 				continue
   3009 			elif test "${cf_tst_cflags}" = "\"'" ; then
   3010 
   3011 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3012 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3013 
   3014 				continue
   3015 			fi
   3016 			;;
   3017 		esac
   3018 		case "$CPPFLAGS" in
   3019 		(*$cf_add_cflags)
   3020 			;;
   3021 		(*)
   3022 			case $cf_add_cflags in
   3023 			(-D*)
   3024 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   3025 
   3026 CPPFLAGS=`echo "$CPPFLAGS" | \
   3027 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3028 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   3029 
   3030 				;;
   3031 			esac
   3032 
   3033 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   3034 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   3035 
   3036 			;;
   3037 		esac
   3038 		;;
   3039 	(*)
   3040 
   3041 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   3042 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   3043 
   3044 		;;
   3045 	esac
   3046 	;;
   3047 (yes)
   3048 
   3049 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3050 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3051 
   3052 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   3053 
   3054 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3055 		&& test -z "${cf_tst_cflags}" \
   3056 		&& cf_fix_cppflags=no
   3057 	;;
   3058 esac
   3059 done
   3060 
   3061 if test -n "$cf_new_cflags" ; then
   3062 
   3063 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   3064 	CFLAGS="${CFLAGS}$cf_new_cflags"
   3065 
   3066 fi
   3067 
   3068 if test -n "$cf_new_cppflags" ; then
   3069 
   3070 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3071 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   3072 
   3073 fi
   3074 
   3075 if test -n "$cf_new_extra_cppflags" ; then
   3076 
   3077 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   3078 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   3079 
   3080 fi
   3081 
   3082 			 cat >conftest.$ac_ext <<_ACEOF
   3083 #line 3083 "configure"
   3084 #include "confdefs.h"
   3085 #include <sys/types.h>
   3086 int
   3087 main (void)
   3088 {
   3089 
   3090 				#ifdef _XOPEN_SOURCE
   3091 				#error	expected _XOPEN_SOURCE to be undefined
   3092 				#endif
   3093   ;
   3094   return 0;
   3095 }
   3096 _ACEOF
   3097 rm -f conftest.$ac_objext
   3098 if { (eval echo "$as_me:3098: \"$ac_compile\"") >&5
   3099   (eval $ac_compile) 2>&5
   3100   ac_status=$?
   3101   echo "$as_me:3101: \$? = $ac_status" >&5
   3102   (exit $ac_status); } &&
   3103          { ac_try='test -s conftest.$ac_objext'
   3104   { (eval echo "$as_me:3104: \"$ac_try\"") >&5
   3105   (eval $ac_try) 2>&5
   3106   ac_status=$?
   3107   echo "$as_me:3107: \$? = $ac_status" >&5
   3108   (exit $ac_status); }; }; then
   3109   cf_cv_gnu_source=no
   3110 else
   3111   echo "$as_me: failed program was:" >&5
   3112 cat conftest.$ac_ext >&5
   3113 cf_cv_gnu_source=yes
   3114 fi
   3115 rm -f conftest.$ac_objext conftest.$ac_ext
   3116 			CPPFLAGS="$cf_save"
   3117 
   3118 fi
   3119 rm -f conftest.$ac_objext conftest.$ac_ext
   3120 
   3121 fi
   3122 echo "$as_me:3122: result: $cf_cv_gnu_source" >&5
   3123 echo "${ECHO_T}$cf_cv_gnu_source" >&6
   3124 
   3125 		if test "$cf_cv_gnu_source" = yes
   3126 		then
   3127 		echo "$as_me:3127: checking if we should also define _DEFAULT_SOURCE" >&5
   3128 echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6
   3129 if test "${cf_cv_default_source+set}" = set; then
   3130   echo $ECHO_N "(cached) $ECHO_C" >&6
   3131 else
   3132 
   3133 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3134 	CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE"
   3135 
   3136 			cat >conftest.$ac_ext <<_ACEOF
   3137 #line 3137 "configure"
   3138 #include "confdefs.h"
   3139 #include <sys/types.h>
   3140 int
   3141 main (void)
   3142 {
   3143 
   3144 				#ifdef _DEFAULT_SOURCE
   3145 				#error	expected _DEFAULT_SOURCE to be undefined
   3146 				#endif
   3147   ;
   3148   return 0;
   3149 }
   3150 _ACEOF
   3151 rm -f conftest.$ac_objext
   3152 if { (eval echo "$as_me:3152: \"$ac_compile\"") >&5
   3153   (eval $ac_compile) 2>&5
   3154   ac_status=$?
   3155   echo "$as_me:3155: \$? = $ac_status" >&5
   3156   (exit $ac_status); } &&
   3157          { ac_try='test -s conftest.$ac_objext'
   3158   { (eval echo "$as_me:3158: \"$ac_try\"") >&5
   3159   (eval $ac_try) 2>&5
   3160   ac_status=$?
   3161   echo "$as_me:3161: \$? = $ac_status" >&5
   3162   (exit $ac_status); }; }; then
   3163   cf_cv_default_source=no
   3164 else
   3165   echo "$as_me: failed program was:" >&5
   3166 cat conftest.$ac_ext >&5
   3167 cf_cv_default_source=yes
   3168 fi
   3169 rm -f conftest.$ac_objext conftest.$ac_ext
   3170 
   3171 fi
   3172 echo "$as_me:3172: result: $cf_cv_default_source" >&5
   3173 echo "${ECHO_T}$cf_cv_default_source" >&6
   3174 			if test "$cf_cv_default_source" = yes
   3175 			then
   3176 
   3177 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3178 	CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE"
   3179 
   3180 			fi
   3181 		fi
   3182 	fi
   3183 
   3184 fi
   3185 
   3186 	;;
   3187 (minix*)
   3188 	cf_xopen_source="-D_NETBSD_SOURCE" # POSIX.1-2001 features are ifdef'd with this...
   3189 	;;
   3190 (mirbsd*)
   3191 	# setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <sys/select.h> and other headers which use u_int / u_short types
   3192 	cf_XOPEN_SOURCE=
   3193 
   3194 if test "$cf_cv_posix_visible" = no; then
   3195 
   3196 cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
   3197 
   3198 cf_save_CFLAGS="$CFLAGS"
   3199 cf_save_CPPFLAGS="$CPPFLAGS"
   3200 
   3201 cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
   3202 	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3203 		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`
   3204 
   3205 cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
   3206 	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3207 		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`
   3208 
   3209 echo "$as_me:3209: checking if we should define _POSIX_C_SOURCE" >&5
   3210 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
   3211 if test "${cf_cv_posix_c_source+set}" = set; then
   3212   echo $ECHO_N "(cached) $ECHO_C" >&6
   3213 else
   3214 
   3215 echo "${as_me:-configure}:3215: testing if the symbol is already defined go no further ..." 1>&5
   3216 
   3217 	cat >conftest.$ac_ext <<_ACEOF
   3218 #line 3218 "configure"
   3219 #include "confdefs.h"
   3220 #include <sys/types.h>
   3221 int
   3222 main (void)
   3223 {
   3224 
   3225 #ifndef _POSIX_C_SOURCE
   3226 make an error
   3227 #endif
   3228   ;
   3229   return 0;
   3230 }
   3231 _ACEOF
   3232 rm -f conftest.$ac_objext
   3233 if { (eval echo "$as_me:3233: \"$ac_compile\"") >&5
   3234   (eval $ac_compile) 2>&5
   3235   ac_status=$?
   3236   echo "$as_me:3236: \$? = $ac_status" >&5
   3237   (exit $ac_status); } &&
   3238          { ac_try='test -s conftest.$ac_objext'
   3239   { (eval echo "$as_me:3239: \"$ac_try\"") >&5
   3240   (eval $ac_try) 2>&5
   3241   ac_status=$?
   3242   echo "$as_me:3242: \$? = $ac_status" >&5
   3243   (exit $ac_status); }; }; then
   3244   cf_cv_posix_c_source=no
   3245 else
   3246   echo "$as_me: failed program was:" >&5
   3247 cat conftest.$ac_ext >&5
   3248 cf_want_posix_source=no
   3249 	 case .$cf_POSIX_C_SOURCE in
   3250 	 (.[12]??*)
   3251 		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
   3252 		;;
   3253 	 (.2)
   3254 		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
   3255 		cf_want_posix_source=yes
   3256 		;;
   3257 	 (.*)
   3258 		cf_want_posix_source=yes
   3259 		;;
   3260 	 esac
   3261 	 if test "$cf_want_posix_source" = yes ; then
   3262 		cat >conftest.$ac_ext <<_ACEOF
   3263 #line 3263 "configure"
   3264 #include "confdefs.h"
   3265 #include <sys/types.h>
   3266 int
   3267 main (void)
   3268 {
   3269 
   3270 #ifdef _POSIX_SOURCE
   3271 make an error
   3272 #endif
   3273   ;
   3274   return 0;
   3275 }
   3276 _ACEOF
   3277 rm -f conftest.$ac_objext
   3278 if { (eval echo "$as_me:3278: \"$ac_compile\"") >&5
   3279   (eval $ac_compile) 2>&5
   3280   ac_status=$?
   3281   echo "$as_me:3281: \$? = $ac_status" >&5
   3282   (exit $ac_status); } &&
   3283          { ac_try='test -s conftest.$ac_objext'
   3284   { (eval echo "$as_me:3284: \"$ac_try\"") >&5
   3285   (eval $ac_try) 2>&5
   3286   ac_status=$?
   3287   echo "$as_me:3287: \$? = $ac_status" >&5
   3288   (exit $ac_status); }; }; then
   3289   :
   3290 else
   3291   echo "$as_me: failed program was:" >&5
   3292 cat conftest.$ac_ext >&5
   3293 cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
   3294 fi
   3295 rm -f conftest.$ac_objext conftest.$ac_ext
   3296 	 fi
   3297 
   3298 echo "${as_me:-configure}:3298: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
   3299 
   3300 	 CFLAGS="$cf_trim_CFLAGS"
   3301 	 CPPFLAGS="$cf_trim_CPPFLAGS"
   3302 
   3303 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3304 	CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source"
   3305 
   3306 echo "${as_me:-configure}:3306: testing if the second compile does not leave our definition intact error ..." 1>&5
   3307 
   3308 	 cat >conftest.$ac_ext <<_ACEOF
   3309 #line 3309 "configure"
   3310 #include "confdefs.h"
   3311 #include <sys/types.h>
   3312 int
   3313 main (void)
   3314 {
   3315 
   3316 #ifndef _POSIX_C_SOURCE
   3317 make an error
   3318 #endif
   3319   ;
   3320   return 0;
   3321 }
   3322 _ACEOF
   3323 rm -f conftest.$ac_objext
   3324 if { (eval echo "$as_me:3324: \"$ac_compile\"") >&5
   3325   (eval $ac_compile) 2>&5
   3326   ac_status=$?
   3327   echo "$as_me:3327: \$? = $ac_status" >&5
   3328   (exit $ac_status); } &&
   3329          { ac_try='test -s conftest.$ac_objext'
   3330   { (eval echo "$as_me:3330: \"$ac_try\"") >&5
   3331   (eval $ac_try) 2>&5
   3332   ac_status=$?
   3333   echo "$as_me:3333: \$? = $ac_status" >&5
   3334   (exit $ac_status); }; }; then
   3335   :
   3336 else
   3337   echo "$as_me: failed program was:" >&5
   3338 cat conftest.$ac_ext >&5
   3339 cf_cv_posix_c_source=no
   3340 fi
   3341 rm -f conftest.$ac_objext conftest.$ac_ext
   3342 	 CFLAGS="$cf_save_CFLAGS"
   3343 	 CPPFLAGS="$cf_save_CPPFLAGS"
   3344 
   3345 fi
   3346 rm -f conftest.$ac_objext conftest.$ac_ext
   3347 
   3348 fi
   3349 echo "$as_me:3349: result: $cf_cv_posix_c_source" >&5
   3350 echo "${ECHO_T}$cf_cv_posix_c_source" >&6
   3351 
   3352 if test "$cf_cv_posix_c_source" != no ; then
   3353 	CFLAGS="$cf_trim_CFLAGS"
   3354 	CPPFLAGS="$cf_trim_CPPFLAGS"
   3355 
   3356 cf_fix_cppflags=no
   3357 cf_new_cflags=
   3358 cf_new_cppflags=
   3359 cf_new_extra_cppflags=
   3360 
   3361 for cf_add_cflags in $cf_cv_posix_c_source
   3362 do
   3363 case $cf_fix_cppflags in
   3364 (no)
   3365 	case $cf_add_cflags in
   3366 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   3367 		case $cf_add_cflags in
   3368 		(-D*)
   3369 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   3370 
   3371 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3372 				&& test -z "${cf_tst_cflags}" \
   3373 				&& cf_fix_cppflags=yes
   3374 
   3375 			if test $cf_fix_cppflags = yes ; then
   3376 
   3377 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3378 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3379 
   3380 				continue
   3381 			elif test "${cf_tst_cflags}" = "\"'" ; then
   3382 
   3383 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3384 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3385 
   3386 				continue
   3387 			fi
   3388 			;;
   3389 		esac
   3390 		case "$CPPFLAGS" in
   3391 		(*$cf_add_cflags)
   3392 			;;
   3393 		(*)
   3394 			case $cf_add_cflags in
   3395 			(-D*)
   3396 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   3397 
   3398 CPPFLAGS=`echo "$CPPFLAGS" | \
   3399 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3400 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   3401 
   3402 				;;
   3403 			esac
   3404 
   3405 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   3406 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   3407 
   3408 			;;
   3409 		esac
   3410 		;;
   3411 	(*)
   3412 
   3413 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   3414 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   3415 
   3416 		;;
   3417 	esac
   3418 	;;
   3419 (yes)
   3420 
   3421 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3422 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3423 
   3424 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   3425 
   3426 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3427 		&& test -z "${cf_tst_cflags}" \
   3428 		&& cf_fix_cppflags=no
   3429 	;;
   3430 esac
   3431 done
   3432 
   3433 if test -n "$cf_new_cflags" ; then
   3434 
   3435 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   3436 	CFLAGS="${CFLAGS}$cf_new_cflags"
   3437 
   3438 fi
   3439 
   3440 if test -n "$cf_new_cppflags" ; then
   3441 
   3442 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3443 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   3444 
   3445 fi
   3446 
   3447 if test -n "$cf_new_extra_cppflags" ; then
   3448 
   3449 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   3450 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   3451 
   3452 fi
   3453 
   3454 fi
   3455 
   3456 fi # cf_cv_posix_visible
   3457 
   3458 	;;
   3459 (netbsd*)
   3460 	cf_xopen_source="-D_NETBSD_SOURCE" # setting _XOPEN_SOURCE breaks IPv6 for lynx on NetBSD 1.6, breaks xterm, is not needed for ncursesw
   3461 	;;
   3462 (openbsd[4-9]*)
   3463 	# setting _XOPEN_SOURCE lower than 500 breaks g++ compile with wchar.h, needed for ncursesw
   3464 	cf_xopen_source="-D_BSD_SOURCE"
   3465 	cf_XOPEN_SOURCE=600
   3466 	;;
   3467 (openbsd*)
   3468 	# setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
   3469 	;;
   3470 (osf[45]*)
   3471 	cf_xopen_source="-D_OSF_SOURCE"
   3472 	;;
   3473 (nto-qnx*)
   3474 	cf_xopen_source="-D_QNX_SOURCE"
   3475 	;;
   3476 (sco*)
   3477 	# setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
   3478 	;;
   3479 (solaris2.*)
   3480 	cf_xopen_source="-D__EXTENSIONS__"
   3481 	cf_cv_xopen_source=broken
   3482 	;;
   3483 (sysv4.2uw2.*) # Novell/SCO UnixWare 2.x (tested on 2.1.2)
   3484 	cf_XOPEN_SOURCE=
   3485 	cf_POSIX_C_SOURCE=
   3486 	;;
   3487 (*)
   3488 
   3489 echo "$as_me:3489: checking if we should define _XOPEN_SOURCE" >&5
   3490 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
   3491 if test "${cf_cv_xopen_source+set}" = set; then
   3492   echo $ECHO_N "(cached) $ECHO_C" >&6
   3493 else
   3494 
   3495 	cat >conftest.$ac_ext <<_ACEOF
   3496 #line 3496 "configure"
   3497 #include "confdefs.h"
   3498 
   3499 #include <stdlib.h>
   3500 #include <string.h>
   3501 #include <sys/types.h>
   3502 
   3503 int
   3504 main (void)
   3505 {
   3506 
   3507 #ifndef _XOPEN_SOURCE
   3508 make an error
   3509 #endif
   3510   ;
   3511   return 0;
   3512 }
   3513 _ACEOF
   3514 rm -f conftest.$ac_objext
   3515 if { (eval echo "$as_me:3515: \"$ac_compile\"") >&5
   3516   (eval $ac_compile) 2>&5
   3517   ac_status=$?
   3518   echo "$as_me:3518: \$? = $ac_status" >&5
   3519   (exit $ac_status); } &&
   3520          { ac_try='test -s conftest.$ac_objext'
   3521   { (eval echo "$as_me:3521: \"$ac_try\"") >&5
   3522   (eval $ac_try) 2>&5
   3523   ac_status=$?
   3524   echo "$as_me:3524: \$? = $ac_status" >&5
   3525   (exit $ac_status); }; }; then
   3526   cf_cv_xopen_source=no
   3527 else
   3528   echo "$as_me: failed program was:" >&5
   3529 cat conftest.$ac_ext >&5
   3530 cf_save="$CPPFLAGS"
   3531 
   3532 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3533 	CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
   3534 
   3535 	 cat >conftest.$ac_ext <<_ACEOF
   3536 #line 3536 "configure"
   3537 #include "confdefs.h"
   3538 
   3539 #include <stdlib.h>
   3540 #include <string.h>
   3541 #include <sys/types.h>
   3542 
   3543 int
   3544 main (void)
   3545 {
   3546 
   3547 #ifdef _XOPEN_SOURCE
   3548 make an error
   3549 #endif
   3550   ;
   3551   return 0;
   3552 }
   3553 _ACEOF
   3554 rm -f conftest.$ac_objext
   3555 if { (eval echo "$as_me:3555: \"$ac_compile\"") >&5
   3556   (eval $ac_compile) 2>&5
   3557   ac_status=$?
   3558   echo "$as_me:3558: \$? = $ac_status" >&5
   3559   (exit $ac_status); } &&
   3560          { ac_try='test -s conftest.$ac_objext'
   3561   { (eval echo "$as_me:3561: \"$ac_try\"") >&5
   3562   (eval $ac_try) 2>&5
   3563   ac_status=$?
   3564   echo "$as_me:3564: \$? = $ac_status" >&5
   3565   (exit $ac_status); }; }; then
   3566   cf_cv_xopen_source=no
   3567 else
   3568   echo "$as_me: failed program was:" >&5
   3569 cat conftest.$ac_ext >&5
   3570 cf_cv_xopen_source=$cf_XOPEN_SOURCE
   3571 fi
   3572 rm -f conftest.$ac_objext conftest.$ac_ext
   3573 	CPPFLAGS="$cf_save"
   3574 
   3575 fi
   3576 rm -f conftest.$ac_objext conftest.$ac_ext
   3577 
   3578 fi
   3579 echo "$as_me:3579: result: $cf_cv_xopen_source" >&5
   3580 echo "${ECHO_T}$cf_cv_xopen_source" >&6
   3581 
   3582 if test "$cf_cv_xopen_source" != no ; then
   3583 
   3584 CFLAGS=`echo "$CFLAGS" | \
   3585 	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3586 		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`
   3587 
   3588 CPPFLAGS=`echo "$CPPFLAGS" | \
   3589 	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3590 		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`
   3591 
   3592 	cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
   3593 
   3594 cf_fix_cppflags=no
   3595 cf_new_cflags=
   3596 cf_new_cppflags=
   3597 cf_new_extra_cppflags=
   3598 
   3599 for cf_add_cflags in $cf_temp_xopen_source
   3600 do
   3601 case $cf_fix_cppflags in
   3602 (no)
   3603 	case $cf_add_cflags in
   3604 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   3605 		case $cf_add_cflags in
   3606 		(-D*)
   3607 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   3608 
   3609 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3610 				&& test -z "${cf_tst_cflags}" \
   3611 				&& cf_fix_cppflags=yes
   3612 
   3613 			if test $cf_fix_cppflags = yes ; then
   3614 
   3615 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3616 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3617 
   3618 				continue
   3619 			elif test "${cf_tst_cflags}" = "\"'" ; then
   3620 
   3621 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3622 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3623 
   3624 				continue
   3625 			fi
   3626 			;;
   3627 		esac
   3628 		case "$CPPFLAGS" in
   3629 		(*$cf_add_cflags)
   3630 			;;
   3631 		(*)
   3632 			case $cf_add_cflags in
   3633 			(-D*)
   3634 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   3635 
   3636 CPPFLAGS=`echo "$CPPFLAGS" | \
   3637 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3638 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   3639 
   3640 				;;
   3641 			esac
   3642 
   3643 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   3644 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   3645 
   3646 			;;
   3647 		esac
   3648 		;;
   3649 	(*)
   3650 
   3651 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   3652 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   3653 
   3654 		;;
   3655 	esac
   3656 	;;
   3657 (yes)
   3658 
   3659 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3660 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3661 
   3662 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   3663 
   3664 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3665 		&& test -z "${cf_tst_cflags}" \
   3666 		&& cf_fix_cppflags=no
   3667 	;;
   3668 esac
   3669 done
   3670 
   3671 if test -n "$cf_new_cflags" ; then
   3672 
   3673 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   3674 	CFLAGS="${CFLAGS}$cf_new_cflags"
   3675 
   3676 fi
   3677 
   3678 if test -n "$cf_new_cppflags" ; then
   3679 
   3680 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3681 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   3682 
   3683 fi
   3684 
   3685 if test -n "$cf_new_extra_cppflags" ; then
   3686 
   3687 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   3688 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   3689 
   3690 fi
   3691 
   3692 fi
   3693 
   3694 if test "$cf_cv_posix_visible" = no; then
   3695 
   3696 cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
   3697 
   3698 cf_save_CFLAGS="$CFLAGS"
   3699 cf_save_CPPFLAGS="$CPPFLAGS"
   3700 
   3701 cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
   3702 	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3703 		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`
   3704 
   3705 cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
   3706 	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3707 		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`
   3708 
   3709 echo "$as_me:3709: checking if we should define _POSIX_C_SOURCE" >&5
   3710 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
   3711 if test "${cf_cv_posix_c_source+set}" = set; then
   3712   echo $ECHO_N "(cached) $ECHO_C" >&6
   3713 else
   3714 
   3715 echo "${as_me:-configure}:3715: testing if the symbol is already defined go no further ..." 1>&5
   3716 
   3717 	cat >conftest.$ac_ext <<_ACEOF
   3718 #line 3718 "configure"
   3719 #include "confdefs.h"
   3720 #include <sys/types.h>
   3721 int
   3722 main (void)
   3723 {
   3724 
   3725 #ifndef _POSIX_C_SOURCE
   3726 make an error
   3727 #endif
   3728   ;
   3729   return 0;
   3730 }
   3731 _ACEOF
   3732 rm -f conftest.$ac_objext
   3733 if { (eval echo "$as_me:3733: \"$ac_compile\"") >&5
   3734   (eval $ac_compile) 2>&5
   3735   ac_status=$?
   3736   echo "$as_me:3736: \$? = $ac_status" >&5
   3737   (exit $ac_status); } &&
   3738          { ac_try='test -s conftest.$ac_objext'
   3739   { (eval echo "$as_me:3739: \"$ac_try\"") >&5
   3740   (eval $ac_try) 2>&5
   3741   ac_status=$?
   3742   echo "$as_me:3742: \$? = $ac_status" >&5
   3743   (exit $ac_status); }; }; then
   3744   cf_cv_posix_c_source=no
   3745 else
   3746   echo "$as_me: failed program was:" >&5
   3747 cat conftest.$ac_ext >&5
   3748 cf_want_posix_source=no
   3749 	 case .$cf_POSIX_C_SOURCE in
   3750 	 (.[12]??*)
   3751 		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
   3752 		;;
   3753 	 (.2)
   3754 		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
   3755 		cf_want_posix_source=yes
   3756 		;;
   3757 	 (.*)
   3758 		cf_want_posix_source=yes
   3759 		;;
   3760 	 esac
   3761 	 if test "$cf_want_posix_source" = yes ; then
   3762 		cat >conftest.$ac_ext <<_ACEOF
   3763 #line 3763 "configure"
   3764 #include "confdefs.h"
   3765 #include <sys/types.h>
   3766 int
   3767 main (void)
   3768 {
   3769 
   3770 #ifdef _POSIX_SOURCE
   3771 make an error
   3772 #endif
   3773   ;
   3774   return 0;
   3775 }
   3776 _ACEOF
   3777 rm -f conftest.$ac_objext
   3778 if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5
   3779   (eval $ac_compile) 2>&5
   3780   ac_status=$?
   3781   echo "$as_me:3781: \$? = $ac_status" >&5
   3782   (exit $ac_status); } &&
   3783          { ac_try='test -s conftest.$ac_objext'
   3784   { (eval echo "$as_me:3784: \"$ac_try\"") >&5
   3785   (eval $ac_try) 2>&5
   3786   ac_status=$?
   3787   echo "$as_me:3787: \$? = $ac_status" >&5
   3788   (exit $ac_status); }; }; then
   3789   :
   3790 else
   3791   echo "$as_me: failed program was:" >&5
   3792 cat conftest.$ac_ext >&5
   3793 cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
   3794 fi
   3795 rm -f conftest.$ac_objext conftest.$ac_ext
   3796 	 fi
   3797 
   3798 echo "${as_me:-configure}:3798: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
   3799 
   3800 	 CFLAGS="$cf_trim_CFLAGS"
   3801 	 CPPFLAGS="$cf_trim_CPPFLAGS"
   3802 
   3803 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3804 	CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source"
   3805 
   3806 echo "${as_me:-configure}:3806: testing if the second compile does not leave our definition intact error ..." 1>&5
   3807 
   3808 	 cat >conftest.$ac_ext <<_ACEOF
   3809 #line 3809 "configure"
   3810 #include "confdefs.h"
   3811 #include <sys/types.h>
   3812 int
   3813 main (void)
   3814 {
   3815 
   3816 #ifndef _POSIX_C_SOURCE
   3817 make an error
   3818 #endif
   3819   ;
   3820   return 0;
   3821 }
   3822 _ACEOF
   3823 rm -f conftest.$ac_objext
   3824 if { (eval echo "$as_me:3824: \"$ac_compile\"") >&5
   3825   (eval $ac_compile) 2>&5
   3826   ac_status=$?
   3827   echo "$as_me:3827: \$? = $ac_status" >&5
   3828   (exit $ac_status); } &&
   3829          { ac_try='test -s conftest.$ac_objext'
   3830   { (eval echo "$as_me:3830: \"$ac_try\"") >&5
   3831   (eval $ac_try) 2>&5
   3832   ac_status=$?
   3833   echo "$as_me:3833: \$? = $ac_status" >&5
   3834   (exit $ac_status); }; }; then
   3835   :
   3836 else
   3837   echo "$as_me: failed program was:" >&5
   3838 cat conftest.$ac_ext >&5
   3839 cf_cv_posix_c_source=no
   3840 fi
   3841 rm -f conftest.$ac_objext conftest.$ac_ext
   3842 	 CFLAGS="$cf_save_CFLAGS"
   3843 	 CPPFLAGS="$cf_save_CPPFLAGS"
   3844 
   3845 fi
   3846 rm -f conftest.$ac_objext conftest.$ac_ext
   3847 
   3848 fi
   3849 echo "$as_me:3849: result: $cf_cv_posix_c_source" >&5
   3850 echo "${ECHO_T}$cf_cv_posix_c_source" >&6
   3851 
   3852 if test "$cf_cv_posix_c_source" != no ; then
   3853 	CFLAGS="$cf_trim_CFLAGS"
   3854 	CPPFLAGS="$cf_trim_CPPFLAGS"
   3855 
   3856 cf_fix_cppflags=no
   3857 cf_new_cflags=
   3858 cf_new_cppflags=
   3859 cf_new_extra_cppflags=
   3860 
   3861 for cf_add_cflags in $cf_cv_posix_c_source
   3862 do
   3863 case $cf_fix_cppflags in
   3864 (no)
   3865 	case $cf_add_cflags in
   3866 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   3867 		case $cf_add_cflags in
   3868 		(-D*)
   3869 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   3870 
   3871 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3872 				&& test -z "${cf_tst_cflags}" \
   3873 				&& cf_fix_cppflags=yes
   3874 
   3875 			if test $cf_fix_cppflags = yes ; then
   3876 
   3877 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3878 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3879 
   3880 				continue
   3881 			elif test "${cf_tst_cflags}" = "\"'" ; then
   3882 
   3883 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3884 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3885 
   3886 				continue
   3887 			fi
   3888 			;;
   3889 		esac
   3890 		case "$CPPFLAGS" in
   3891 		(*$cf_add_cflags)
   3892 			;;
   3893 		(*)
   3894 			case $cf_add_cflags in
   3895 			(-D*)
   3896 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   3897 
   3898 CPPFLAGS=`echo "$CPPFLAGS" | \
   3899 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   3900 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   3901 
   3902 				;;
   3903 			esac
   3904 
   3905 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   3906 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   3907 
   3908 			;;
   3909 		esac
   3910 		;;
   3911 	(*)
   3912 
   3913 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   3914 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   3915 
   3916 		;;
   3917 	esac
   3918 	;;
   3919 (yes)
   3920 
   3921 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3922 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3923 
   3924 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   3925 
   3926 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3927 		&& test -z "${cf_tst_cflags}" \
   3928 		&& cf_fix_cppflags=no
   3929 	;;
   3930 esac
   3931 done
   3932 
   3933 if test -n "$cf_new_cflags" ; then
   3934 
   3935 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   3936 	CFLAGS="${CFLAGS}$cf_new_cflags"
   3937 
   3938 fi
   3939 
   3940 if test -n "$cf_new_cppflags" ; then
   3941 
   3942 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   3943 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   3944 
   3945 fi
   3946 
   3947 if test -n "$cf_new_extra_cppflags" ; then
   3948 
   3949 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   3950 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   3951 
   3952 fi
   3953 
   3954 fi
   3955 
   3956 fi # cf_cv_posix_visible
   3957 
   3958 	;;
   3959 esac
   3960 
   3961 if test -n "$cf_xopen_source" ; then
   3962 
   3963 cf_fix_cppflags=no
   3964 cf_new_cflags=
   3965 cf_new_cppflags=
   3966 cf_new_extra_cppflags=
   3967 
   3968 for cf_add_cflags in $cf_xopen_source
   3969 do
   3970 case $cf_fix_cppflags in
   3971 (no)
   3972 	case $cf_add_cflags in
   3973 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   3974 		case $cf_add_cflags in
   3975 		(-D*)
   3976 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   3977 
   3978 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   3979 				&& test -z "${cf_tst_cflags}" \
   3980 				&& cf_fix_cppflags=yes
   3981 
   3982 			if test $cf_fix_cppflags = yes ; then
   3983 
   3984 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3985 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3986 
   3987 				continue
   3988 			elif test "${cf_tst_cflags}" = "\"'" ; then
   3989 
   3990 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   3991 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   3992 
   3993 				continue
   3994 			fi
   3995 			;;
   3996 		esac
   3997 		case "$CPPFLAGS" in
   3998 		(*$cf_add_cflags)
   3999 			;;
   4000 		(*)
   4001 			case $cf_add_cflags in
   4002 			(-D*)
   4003 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   4004 
   4005 CPPFLAGS=`echo "$CPPFLAGS" | \
   4006 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   4007 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   4008 
   4009 				;;
   4010 			esac
   4011 
   4012 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   4013 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   4014 
   4015 			;;
   4016 		esac
   4017 		;;
   4018 	(*)
   4019 
   4020 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   4021 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   4022 
   4023 		;;
   4024 	esac
   4025 	;;
   4026 (yes)
   4027 
   4028 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   4029 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   4030 
   4031 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   4032 
   4033 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   4034 		&& test -z "${cf_tst_cflags}" \
   4035 		&& cf_fix_cppflags=no
   4036 	;;
   4037 esac
   4038 done
   4039 
   4040 if test -n "$cf_new_cflags" ; then
   4041 	test -n "$verbose" && echo "	add to \$CFLAGS $cf_new_cflags" 1>&6
   4042 
   4043 echo "${as_me:-configure}:4043: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
   4044 
   4045 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   4046 	CFLAGS="${CFLAGS}$cf_new_cflags"
   4047 
   4048 fi
   4049 
   4050 if test -n "$cf_new_cppflags" ; then
   4051 	test -n "$verbose" && echo "	add to \$CPPFLAGS $cf_new_cppflags" 1>&6
   4052 
   4053 echo "${as_me:-configure}:4053: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
   4054 
   4055 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   4056 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   4057 
   4058 fi
   4059 
   4060 if test -n "$cf_new_extra_cppflags" ; then
   4061 	test -n "$verbose" && echo "	add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
   4062 
   4063 echo "${as_me:-configure}:4063: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
   4064 
   4065 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   4066 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   4067 
   4068 fi
   4069 
   4070 fi
   4071 
   4072 if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
   4073 	echo "$as_me:4073: checking if _XOPEN_SOURCE really is set" >&5
   4074 echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
   4075 	cat >conftest.$ac_ext <<_ACEOF
   4076 #line 4076 "configure"
   4077 #include "confdefs.h"
   4078 #include <stdlib.h>
   4079 int
   4080 main (void)
   4081 {
   4082 
   4083 #ifndef _XOPEN_SOURCE
   4084 make an error
   4085 #endif
   4086   ;
   4087   return 0;
   4088 }
   4089 _ACEOF
   4090 rm -f conftest.$ac_objext
   4091 if { (eval echo "$as_me:4091: \"$ac_compile\"") >&5
   4092   (eval $ac_compile) 2>&5
   4093   ac_status=$?
   4094   echo "$as_me:4094: \$? = $ac_status" >&5
   4095   (exit $ac_status); } &&
   4096          { ac_try='test -s conftest.$ac_objext'
   4097   { (eval echo "$as_me:4097: \"$ac_try\"") >&5
   4098   (eval $ac_try) 2>&5
   4099   ac_status=$?
   4100   echo "$as_me:4100: \$? = $ac_status" >&5
   4101   (exit $ac_status); }; }; then
   4102   cf_XOPEN_SOURCE_set=yes
   4103 else
   4104   echo "$as_me: failed program was:" >&5
   4105 cat conftest.$ac_ext >&5
   4106 cf_XOPEN_SOURCE_set=no
   4107 fi
   4108 rm -f conftest.$ac_objext conftest.$ac_ext
   4109 	echo "$as_me:4109: result: $cf_XOPEN_SOURCE_set" >&5
   4110 echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
   4111 	if test $cf_XOPEN_SOURCE_set = yes
   4112 	then
   4113 		cat >conftest.$ac_ext <<_ACEOF
   4114 #line 4114 "configure"
   4115 #include "confdefs.h"
   4116 #include <stdlib.h>
   4117 int
   4118 main (void)
   4119 {
   4120 
   4121 #if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
   4122 make an error
   4123 #endif
   4124   ;
   4125   return 0;
   4126 }
   4127 _ACEOF
   4128 rm -f conftest.$ac_objext
   4129 if { (eval echo "$as_me:4129: \"$ac_compile\"") >&5
   4130   (eval $ac_compile) 2>&5
   4131   ac_status=$?
   4132   echo "$as_me:4132: \$? = $ac_status" >&5
   4133   (exit $ac_status); } &&
   4134          { ac_try='test -s conftest.$ac_objext'
   4135   { (eval echo "$as_me:4135: \"$ac_try\"") >&5
   4136   (eval $ac_try) 2>&5
   4137   ac_status=$?
   4138   echo "$as_me:4138: \$? = $ac_status" >&5
   4139   (exit $ac_status); }; }; then
   4140   cf_XOPEN_SOURCE_set_ok=yes
   4141 else
   4142   echo "$as_me: failed program was:" >&5
   4143 cat conftest.$ac_ext >&5
   4144 cf_XOPEN_SOURCE_set_ok=no
   4145 fi
   4146 rm -f conftest.$ac_objext conftest.$ac_ext
   4147 		if test $cf_XOPEN_SOURCE_set_ok = no
   4148 		then
   4149 			{ echo "$as_me:4149: WARNING: _XOPEN_SOURCE is lower than requested" >&5
   4150 echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
   4151 		fi
   4152 	else
   4153 
   4154 echo "$as_me:4154: checking if we should define _XOPEN_SOURCE" >&5
   4155 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
   4156 if test "${cf_cv_xopen_source+set}" = set; then
   4157   echo $ECHO_N "(cached) $ECHO_C" >&6
   4158 else
   4159 
   4160 	cat >conftest.$ac_ext <<_ACEOF
   4161 #line 4161 "configure"
   4162 #include "confdefs.h"
   4163 
   4164 #include <stdlib.h>
   4165 #include <string.h>
   4166 #include <sys/types.h>
   4167 
   4168 int
   4169 main (void)
   4170 {
   4171 
   4172 #ifndef _XOPEN_SOURCE
   4173 make an error
   4174 #endif
   4175   ;
   4176   return 0;
   4177 }
   4178 _ACEOF
   4179 rm -f conftest.$ac_objext
   4180 if { (eval echo "$as_me:4180: \"$ac_compile\"") >&5
   4181   (eval $ac_compile) 2>&5
   4182   ac_status=$?
   4183   echo "$as_me:4183: \$? = $ac_status" >&5
   4184   (exit $ac_status); } &&
   4185          { ac_try='test -s conftest.$ac_objext'
   4186   { (eval echo "$as_me:4186: \"$ac_try\"") >&5
   4187   (eval $ac_try) 2>&5
   4188   ac_status=$?
   4189   echo "$as_me:4189: \$? = $ac_status" >&5
   4190   (exit $ac_status); }; }; then
   4191   cf_cv_xopen_source=no
   4192 else
   4193   echo "$as_me: failed program was:" >&5
   4194 cat conftest.$ac_ext >&5
   4195 cf_save="$CPPFLAGS"
   4196 
   4197 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   4198 	CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
   4199 
   4200 	 cat >conftest.$ac_ext <<_ACEOF
   4201 #line 4201 "configure"
   4202 #include "confdefs.h"
   4203 
   4204 #include <stdlib.h>
   4205 #include <string.h>
   4206 #include <sys/types.h>
   4207 
   4208 int
   4209 main (void)
   4210 {
   4211 
   4212 #ifdef _XOPEN_SOURCE
   4213 make an error
   4214 #endif
   4215   ;
   4216   return 0;
   4217 }
   4218 _ACEOF
   4219 rm -f conftest.$ac_objext
   4220 if { (eval echo "$as_me:4220: \"$ac_compile\"") >&5
   4221   (eval $ac_compile) 2>&5
   4222   ac_status=$?
   4223   echo "$as_me:4223: \$? = $ac_status" >&5
   4224   (exit $ac_status); } &&
   4225          { ac_try='test -s conftest.$ac_objext'
   4226   { (eval echo "$as_me:4226: \"$ac_try\"") >&5
   4227   (eval $ac_try) 2>&5
   4228   ac_status=$?
   4229   echo "$as_me:4229: \$? = $ac_status" >&5
   4230   (exit $ac_status); }; }; then
   4231   cf_cv_xopen_source=no
   4232 else
   4233   echo "$as_me: failed program was:" >&5
   4234 cat conftest.$ac_ext >&5
   4235 cf_cv_xopen_source=$cf_XOPEN_SOURCE
   4236 fi
   4237 rm -f conftest.$ac_objext conftest.$ac_ext
   4238 	CPPFLAGS="$cf_save"
   4239 
   4240 fi
   4241 rm -f conftest.$ac_objext conftest.$ac_ext
   4242 
   4243 fi
   4244 echo "$as_me:4244: result: $cf_cv_xopen_source" >&5
   4245 echo "${ECHO_T}$cf_cv_xopen_source" >&6
   4246 
   4247 if test "$cf_cv_xopen_source" != no ; then
   4248 
   4249 CFLAGS=`echo "$CFLAGS" | \
   4250 	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   4251 		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`
   4252 
   4253 CPPFLAGS=`echo "$CPPFLAGS" | \
   4254 	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
   4255 		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`
   4256 
   4257 	cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
   4258 
   4259 cf_fix_cppflags=no
   4260 cf_new_cflags=
   4261 cf_new_cppflags=
   4262 cf_new_extra_cppflags=
   4263 
   4264 for cf_add_cflags in $cf_temp_xopen_source
   4265 do
   4266 case $cf_fix_cppflags in
   4267 (no)
   4268 	case $cf_add_cflags in
   4269 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   4270 		case $cf_add_cflags in
   4271 		(-D*)
   4272 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   4273 
   4274 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   4275 				&& test -z "${cf_tst_cflags}" \
   4276 				&& cf_fix_cppflags=yes
   4277 
   4278 			if test $cf_fix_cppflags = yes ; then
   4279 
   4280 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   4281 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   4282 
   4283 				continue
   4284 			elif test "${cf_tst_cflags}" = "\"'" ; then
   4285 
   4286 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   4287 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   4288 
   4289 				continue
   4290 			fi
   4291 			;;
   4292 		esac
   4293 		case "$CPPFLAGS" in
   4294 		(*$cf_add_cflags)
   4295 			;;
   4296 		(*)
   4297 			case $cf_add_cflags in
   4298 			(-D*)
   4299 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   4300 
   4301 CPPFLAGS=`echo "$CPPFLAGS" | \
   4302 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   4303 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   4304 
   4305 				;;
   4306 			esac
   4307 
   4308 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   4309 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   4310 
   4311 			;;
   4312 		esac
   4313 		;;
   4314 	(*)
   4315 
   4316 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   4317 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   4318 
   4319 		;;
   4320 	esac
   4321 	;;
   4322 (yes)
   4323 
   4324 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   4325 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   4326 
   4327 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   4328 
   4329 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   4330 		&& test -z "${cf_tst_cflags}" \
   4331 		&& cf_fix_cppflags=no
   4332 	;;
   4333 esac
   4334 done
   4335 
   4336 if test -n "$cf_new_cflags" ; then
   4337 
   4338 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   4339 	CFLAGS="${CFLAGS}$cf_new_cflags"
   4340 
   4341 fi
   4342 
   4343 if test -n "$cf_new_cppflags" ; then
   4344 
   4345 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   4346 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   4347 
   4348 fi
   4349 
   4350 if test -n "$cf_new_extra_cppflags" ; then
   4351 
   4352 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   4353 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   4354 
   4355 fi
   4356 
   4357 fi
   4358 
   4359 	fi
   4360 fi
   4361 fi # cf_cv_posix_visible
   4362 
   4363 ac_ext=c
   4364 ac_cpp='$CPP $CPPFLAGS'
   4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4368 ac_main_return=return
   4369 echo "$as_me:4369: checking how to run the C preprocessor" >&5
   4370 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   4371 # On Suns, sometimes $CPP names a directory.
   4372 if test -n "$CPP" && test -d "$CPP"; then
   4373   CPP=
   4374 fi
   4375 if test -z "$CPP"; then
   4376   if test "${ac_cv_prog_CPP+set}" = set; then
   4377   echo $ECHO_N "(cached) $ECHO_C" >&6
   4378 else
   4379       # Double quotes because CPP needs to be expanded
   4380     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4381     do
   4382       ac_preproc_ok=false
   4383 for ac_c_preproc_warn_flag in '' yes
   4384 do
   4385   # Use a header file that comes with gcc, so configuring glibc
   4386   # with a fresh cross-compiler works.
   4387   # On the NeXT, cc -E runs the code through the compiler's parser,
   4388   # not just through cpp. "Syntax error" is here to catch this case.
   4389   cat >conftest.$ac_ext <<_ACEOF
   4390 #line 4390 "configure"
   4391 #include "confdefs.h"
   4392 #include <assert.h>
   4393                      Syntax error
   4394 _ACEOF
   4395 if { (eval echo "$as_me:4395: \"$ac_cpp conftest.$ac_ext\"") >&5
   4396   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4397   ac_status=$?
   4398   egrep -v '^ *\+' conftest.er1 >conftest.err
   4399   rm -f conftest.er1
   4400   cat conftest.err >&5
   4401   echo "$as_me:4401: \$? = $ac_status" >&5
   4402   (exit $ac_status); } >/dev/null; then
   4403   if test -s conftest.err; then
   4404     ac_cpp_err=$ac_c_preproc_warn_flag
   4405   else
   4406     ac_cpp_err=
   4407   fi
   4408 else
   4409   ac_cpp_err=yes
   4410 fi
   4411 if test -z "$ac_cpp_err"; then
   4412   :
   4413 else
   4414   echo "$as_me: failed program was:" >&5
   4415   cat conftest.$ac_ext >&5
   4416   # Broken: fails on valid input.
   4417 continue
   4418 fi
   4419 rm -f conftest.err conftest.$ac_ext
   4420 
   4421   # OK, works on sane cases.  Now check whether non-existent headers
   4422   # can be detected and how.
   4423   cat >conftest.$ac_ext <<_ACEOF
   4424 #line 4424 "configure"
   4425 #include "confdefs.h"
   4426 #include <ac_nonexistent.h>
   4427 _ACEOF
   4428 if { (eval echo "$as_me:4428: \"$ac_cpp conftest.$ac_ext\"") >&5
   4429   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4430   ac_status=$?
   4431   egrep -v '^ *\+' conftest.er1 >conftest.err
   4432   rm -f conftest.er1
   4433   cat conftest.err >&5
   4434   echo "$as_me:4434: \$? = $ac_status" >&5
   4435   (exit $ac_status); } >/dev/null; then
   4436   if test -s conftest.err; then
   4437     ac_cpp_err=$ac_c_preproc_warn_flag
   4438   else
   4439     ac_cpp_err=
   4440   fi
   4441 else
   4442   ac_cpp_err=yes
   4443 fi
   4444 if test -z "$ac_cpp_err"; then
   4445   # Broken: success on invalid input.
   4446 continue
   4447 else
   4448   echo "$as_me: failed program was:" >&5
   4449   cat conftest.$ac_ext >&5
   4450   # Passes both tests.
   4451 ac_preproc_ok=:
   4452 break
   4453 fi
   4454 rm -f conftest.err conftest.$ac_ext
   4455 
   4456 done
   4457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4458 rm -f conftest.err conftest.$ac_ext
   4459 if $ac_preproc_ok; then
   4460   break
   4461 fi
   4462 
   4463     done
   4464     ac_cv_prog_CPP=$CPP
   4465 
   4466 fi
   4467   CPP=$ac_cv_prog_CPP
   4468 else
   4469   ac_cv_prog_CPP=$CPP
   4470 fi
   4471 echo "$as_me:4471: result: $CPP" >&5
   4472 echo "${ECHO_T}$CPP" >&6
   4473 ac_preproc_ok=false
   4474 for ac_c_preproc_warn_flag in '' yes
   4475 do
   4476   # Use a header file that comes with gcc, so configuring glibc
   4477   # with a fresh cross-compiler works.
   4478   # On the NeXT, cc -E runs the code through the compiler's parser,
   4479   # not just through cpp. "Syntax error" is here to catch this case.
   4480   cat >conftest.$ac_ext <<_ACEOF
   4481 #line 4481 "configure"
   4482 #include "confdefs.h"
   4483 #include <assert.h>
   4484                      Syntax error
   4485 _ACEOF
   4486 if { (eval echo "$as_me:4486: \"$ac_cpp conftest.$ac_ext\"") >&5
   4487   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4488   ac_status=$?
   4489   egrep -v '^ *\+' conftest.er1 >conftest.err
   4490   rm -f conftest.er1
   4491   cat conftest.err >&5
   4492   echo "$as_me:4492: \$? = $ac_status" >&5
   4493   (exit $ac_status); } >/dev/null; then
   4494   if test -s conftest.err; then
   4495     ac_cpp_err=$ac_c_preproc_warn_flag
   4496   else
   4497     ac_cpp_err=
   4498   fi
   4499 else
   4500   ac_cpp_err=yes
   4501 fi
   4502 if test -z "$ac_cpp_err"; then
   4503   :
   4504 else
   4505   echo "$as_me: failed program was:" >&5
   4506   cat conftest.$ac_ext >&5
   4507   # Broken: fails on valid input.
   4508 continue
   4509 fi
   4510 rm -f conftest.err conftest.$ac_ext
   4511 
   4512   # OK, works on sane cases.  Now check whether non-existent headers
   4513   # can be detected and how.
   4514   cat >conftest.$ac_ext <<_ACEOF
   4515 #line 4515 "configure"
   4516 #include "confdefs.h"
   4517 #include <ac_nonexistent.h>
   4518 _ACEOF
   4519 if { (eval echo "$as_me:4519: \"$ac_cpp conftest.$ac_ext\"") >&5
   4520   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4521   ac_status=$?
   4522   egrep -v '^ *\+' conftest.er1 >conftest.err
   4523   rm -f conftest.er1
   4524   cat conftest.err >&5
   4525   echo "$as_me:4525: \$? = $ac_status" >&5
   4526   (exit $ac_status); } >/dev/null; then
   4527   if test -s conftest.err; then
   4528     ac_cpp_err=$ac_c_preproc_warn_flag
   4529   else
   4530     ac_cpp_err=
   4531   fi
   4532 else
   4533   ac_cpp_err=yes
   4534 fi
   4535 if test -z "$ac_cpp_err"; then
   4536   # Broken: success on invalid input.
   4537 continue
   4538 else
   4539   echo "$as_me: failed program was:" >&5
   4540   cat conftest.$ac_ext >&5
   4541   # Passes both tests.
   4542 ac_preproc_ok=:
   4543 break
   4544 fi
   4545 rm -f conftest.err conftest.$ac_ext
   4546 
   4547 done
   4548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4549 rm -f conftest.err conftest.$ac_ext
   4550 if $ac_preproc_ok; then
   4551   :
   4552 else
   4553   { { echo "$as_me:4553: error: C preprocessor \"$CPP\" fails sanity check" >&5
   4554 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
   4555    { (exit 1); exit 1; }; }
   4556 fi
   4557 
   4558 ac_ext=c
   4559 ac_cpp='$CPP $CPPFLAGS'
   4560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4563 ac_main_return=return
   4564 
   4565 for ac_header in fcntl.h
   4566 do
   4567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4568 echo "$as_me:4568: checking for $ac_header" >&5
   4569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4571   echo $ECHO_N "(cached) $ECHO_C" >&6
   4572 else
   4573   cat >conftest.$ac_ext <<_ACEOF
   4574 #line 4574 "configure"
   4575 #include "confdefs.h"
   4576 #include <$ac_header>
   4577 _ACEOF
   4578 if { (eval echo "$as_me:4578: \"$ac_cpp conftest.$ac_ext\"") >&5
   4579   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4580   ac_status=$?
   4581   egrep -v '^ *\+' conftest.er1 >conftest.err
   4582   rm -f conftest.er1
   4583   cat conftest.err >&5
   4584   echo "$as_me:4584: \$? = $ac_status" >&5
   4585   (exit $ac_status); } >/dev/null; then
   4586   if test -s conftest.err; then
   4587     ac_cpp_err=$ac_c_preproc_warn_flag
   4588   else
   4589     ac_cpp_err=
   4590   fi
   4591 else
   4592   ac_cpp_err=yes
   4593 fi
   4594 if test -z "$ac_cpp_err"; then
   4595   eval "$as_ac_Header=yes"
   4596 else
   4597   echo "$as_me: failed program was:" >&5
   4598   cat conftest.$ac_ext >&5
   4599   eval "$as_ac_Header=no"
   4600 fi
   4601 rm -f conftest.err conftest.$ac_ext
   4602 fi
   4603 echo "$as_me:4603: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4606   cat >>confdefs.h <<EOF
   4607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4608 EOF
   4609 
   4610 fi
   4611 done
   4612 
   4613 for ac_header in \
   4614 unistd.h \
   4615 
   4616 do
   4617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4618 echo "$as_me:4618: checking for $ac_header" >&5
   4619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4621   echo $ECHO_N "(cached) $ECHO_C" >&6
   4622 else
   4623   cat >conftest.$ac_ext <<_ACEOF
   4624 #line 4624 "configure"
   4625 #include "confdefs.h"
   4626 #include <$ac_header>
   4627 _ACEOF
   4628 if { (eval echo "$as_me:4628: \"$ac_cpp conftest.$ac_ext\"") >&5
   4629   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4630   ac_status=$?
   4631   egrep -v '^ *\+' conftest.er1 >conftest.err
   4632   rm -f conftest.er1
   4633   cat conftest.err >&5
   4634   echo "$as_me:4634: \$? = $ac_status" >&5
   4635   (exit $ac_status); } >/dev/null; then
   4636   if test -s conftest.err; then
   4637     ac_cpp_err=$ac_c_preproc_warn_flag
   4638   else
   4639     ac_cpp_err=
   4640   fi
   4641 else
   4642   ac_cpp_err=yes
   4643 fi
   4644 if test -z "$ac_cpp_err"; then
   4645   eval "$as_ac_Header=yes"
   4646 else
   4647   echo "$as_me: failed program was:" >&5
   4648   cat conftest.$ac_ext >&5
   4649   eval "$as_ac_Header=no"
   4650 fi
   4651 rm -f conftest.err conftest.$ac_ext
   4652 fi
   4653 echo "$as_me:4653: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4656   cat >>confdefs.h <<EOF
   4657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4658 EOF
   4659 
   4660 fi
   4661 done
   4662 
   4663 echo "$as_me:4663: checking for working mkstemp" >&5
   4664 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6
   4665 if test "${cf_cv_func_mkstemp+set}" = set; then
   4666   echo $ECHO_N "(cached) $ECHO_C" >&6
   4667 else
   4668 
   4669 rm -rf conftest*
   4670 if test "$cross_compiling" = yes; then
   4671   cf_cv_func_mkstemp=maybe
   4672 else
   4673   cat >conftest.$ac_ext <<_ACEOF
   4674 #line 4674 "configure"
   4675 #include "confdefs.h"
   4676 
   4677 #include <sys/types.h>
   4678 #ifdef HAVE_UNISTD_H
   4679 #include <unistd.h>
   4680 #endif
   4681 #include <stdlib.h>
   4682 #include <stdio.h>
   4683 #include <string.h>
   4684 #include <sys/stat.h>
   4685 int main(void)
   4686 {
   4687 	char *tmpl = "conftestXXXXXX";
   4688 	char name[2][80];
   4689 	int n;
   4690 	int result = 0;
   4691 	int fd;
   4692 	struct stat sb;
   4693 
   4694 	umask(077);
   4695 	for (n = 0; n < 2; ++n) {
   4696 		strcpy(name[n], tmpl);
   4697 		if ((fd = mkstemp(name[n])) >= 0) {
   4698 			if (!strcmp(name[n], tmpl)
   4699 			 || stat(name[n], &sb) != 0
   4700 			 || (sb.st_mode & S_IFMT) != S_IFREG
   4701 			 || (sb.st_mode & 077) != 0) {
   4702 				result = 1;
   4703 			}
   4704 			close(fd);
   4705 		}
   4706 	}
   4707 	if (result == 0
   4708 	 && !strcmp(name[0], name[1]))
   4709 		result = 1;
   4710 	${cf_cv_main_return:-return}(result);
   4711 }
   4712 
   4713 _ACEOF
   4714 rm -f conftest$ac_exeext
   4715 if { (eval echo "$as_me:4715: \"$ac_link\"") >&5
   4716   (eval $ac_link) 2>&5
   4717   ac_status=$?
   4718   echo "$as_me:4718: \$? = $ac_status" >&5
   4719   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4720   { (eval echo "$as_me:4720: \"$ac_try\"") >&5
   4721   (eval $ac_try) 2>&5
   4722   ac_status=$?
   4723   echo "$as_me:4723: \$? = $ac_status" >&5
   4724   (exit $ac_status); }; }; then
   4725   cf_cv_func_mkstemp=yes
   4726 
   4727 else
   4728   echo "$as_me: program exited with status $ac_status" >&5
   4729 echo "$as_me: failed program was:" >&5
   4730 cat conftest.$ac_ext >&5
   4731 cf_cv_func_mkstemp=no
   4732 
   4733 fi
   4734 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4735 fi
   4736 
   4737 fi
   4738 echo "$as_me:4738: result: $cf_cv_func_mkstemp" >&5
   4739 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6
   4740 if test "x$cf_cv_func_mkstemp" = xmaybe ; then
   4741 	echo "$as_me:4741: checking for mkstemp" >&5
   4742 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
   4743 if test "${ac_cv_func_mkstemp+set}" = set; then
   4744   echo $ECHO_N "(cached) $ECHO_C" >&6
   4745 else
   4746   cat >conftest.$ac_ext <<_ACEOF
   4747 #line 4747 "configure"
   4748 #include "confdefs.h"
   4749 #define mkstemp autoconf_temporary
   4750 #include <limits.h>	/* least-intrusive standard header which defines gcc2 __stub macros */
   4751 #undef mkstemp
   4752 
   4753 #ifdef __cplusplus
   4754 extern "C"
   4755 #endif
   4756 
   4757 /* We use char because int might match the return type of a gcc2
   4758    builtin and then its argument prototype would still apply.  */
   4759 char mkstemp (void);
   4760 
   4761 int
   4762 main (void)
   4763 {
   4764 
   4765 /* The GNU C library defines stubs for functions which it implements
   4766     to always fail with ENOSYS.  Some functions are actually named
   4767     something starting with __ and the normal name is an alias.  */
   4768 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
   4769 #error found stub for mkstemp
   4770 #endif
   4771 
   4772 	return mkstemp ();
   4773   ;
   4774   return 0;
   4775 }
   4776 _ACEOF
   4777 rm -f conftest.$ac_objext conftest$ac_exeext
   4778 if { (eval echo "$as_me:4778: \"$ac_link\"") >&5
   4779   (eval $ac_link) 2>&5
   4780   ac_status=$?
   4781   echo "$as_me:4781: \$? = $ac_status" >&5
   4782   (exit $ac_status); } &&
   4783          { ac_try='test -s conftest$ac_exeext'
   4784   { (eval echo "$as_me:4784: \"$ac_try\"") >&5
   4785   (eval $ac_try) 2>&5
   4786   ac_status=$?
   4787   echo "$as_me:4787: \$? = $ac_status" >&5
   4788   (exit $ac_status); }; }; then
   4789   ac_cv_func_mkstemp=yes
   4790 else
   4791   echo "$as_me: failed program was:" >&5
   4792 cat conftest.$ac_ext >&5
   4793 ac_cv_func_mkstemp=no
   4794 fi
   4795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4796 fi
   4797 echo "$as_me:4797: result: $ac_cv_func_mkstemp" >&5
   4798 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
   4799 
   4800 fi
   4801 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then
   4802 
   4803 cat >>confdefs.h <<\EOF
   4804 #define HAVE_MKSTEMP 1
   4805 EOF
   4806 
   4807 fi
   4808 
   4809 for ac_func in vsnprintf
   4810 do
   4811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4812 echo "$as_me:4812: checking for $ac_func" >&5
   4813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4814 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4815   echo $ECHO_N "(cached) $ECHO_C" >&6
   4816 else
   4817   cat >conftest.$ac_ext <<_ACEOF
   4818 #line 4818 "configure"
   4819 #include "confdefs.h"
   4820 #define $ac_func autoconf_temporary
   4821 #include <limits.h>	/* least-intrusive standard header which defines gcc2 __stub macros */
   4822 #undef $ac_func
   4823 
   4824 #ifdef __cplusplus
   4825 extern "C"
   4826 #endif
   4827 
   4828 /* We use char because int might match the return type of a gcc2
   4829    builtin and then its argument prototype would still apply.  */
   4830 char $ac_func (void);
   4831 
   4832 int
   4833 main (void)
   4834 {
   4835 
   4836 /* The GNU C library defines stubs for functions which it implements
   4837     to always fail with ENOSYS.  Some functions are actually named
   4838     something starting with __ and the normal name is an alias.  */
   4839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4840 #error found stub for $ac_func
   4841 #endif
   4842 
   4843 	return $ac_func ();
   4844   ;
   4845   return 0;
   4846 }
   4847 _ACEOF
   4848 rm -f conftest.$ac_objext conftest$ac_exeext
   4849 if { (eval echo "$as_me:4849: \"$ac_link\"") >&5
   4850   (eval $ac_link) 2>&5
   4851   ac_status=$?
   4852   echo "$as_me:4852: \$? = $ac_status" >&5
   4853   (exit $ac_status); } &&
   4854          { ac_try='test -s conftest$ac_exeext'
   4855   { (eval echo "$as_me:4855: \"$ac_try\"") >&5
   4856   (eval $ac_try) 2>&5
   4857   ac_status=$?
   4858   echo "$as_me:4858: \$? = $ac_status" >&5
   4859   (exit $ac_status); }; }; then
   4860   eval "$as_ac_var=yes"
   4861 else
   4862   echo "$as_me: failed program was:" >&5
   4863 cat conftest.$ac_ext >&5
   4864 eval "$as_ac_var=no"
   4865 fi
   4866 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4867 fi
   4868 echo "$as_me:4868: result: `eval echo '${'$as_ac_var'}'`" >&5
   4869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4870 if test `eval echo '${'$as_ac_var'}'` = yes; then
   4871   cat >>confdefs.h <<EOF
   4872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   4873 EOF
   4874 
   4875 fi
   4876 done
   4877 
   4878 echo "$as_me:4878: checking for maximum table size" >&5
   4879 echo $ECHO_N "checking for maximum table size... $ECHO_C" >&6
   4880 
   4881 # Check whether --with-max-table-size or --without-max-table-size was given.
   4882 if test "${with_max_table_size+set}" = set; then
   4883   withval="$with_max_table_size"
   4884 
   4885 fi;
   4886 if test -n "$with_max_table_size"
   4887 then
   4888 	echo "$as_me:4888: result: $with_max_table_size" >&5
   4889 echo "${ECHO_T}$with_max_table_size" >&6
   4890 	check=`expr "$with_max_table_size" + 0`
   4891 	if test "x$check" != "x$with_max_table_size"
   4892 	then
   4893 		{ { echo "$as_me:4893: error: invalid value for --with-max-table-size: $with_max_table_size" >&5
   4894 echo "$as_me: error: invalid value for --with-max-table-size: $with_max_table_size" >&2;}
   4895    { (exit 1); exit 1; }; }
   4896 	fi
   4897 
   4898 cat >>confdefs.h <<EOF
   4899 #define MAXTABLE $with_max_table_size
   4900 EOF
   4901 
   4902 else
   4903 	echo "$as_me:4903: result: default" >&5
   4904 echo "${ECHO_T}default" >&6
   4905 fi
   4906 
   4907 echo "$as_me:4907: checking if backtracking extension is wanted" >&5
   4908 echo $ECHO_N "checking if backtracking extension is wanted... $ECHO_C" >&6
   4909 
   4910 # Check whether --enable-btyacc or --disable-btyacc was given.
   4911 if test "${enable_btyacc+set}" = set; then
   4912   enableval="$enable_btyacc"
   4913 
   4914 fi;
   4915 echo "$as_me:4915: result: $enable_btyacc" >&5
   4916 echo "${ECHO_T}$enable_btyacc" >&6
   4917 if test "$enable_btyacc" = "yes"; then
   4918 
   4919 cat >>confdefs.h <<\EOF
   4920 #define YYBTYACC 1
   4921 EOF
   4922 
   4923 	SKELETON=btyaccpar
   4924 else
   4925 	SKELETON=yaccpar
   4926 fi
   4927 
   4928 if ( test "$GCC" = yes || test "$GXX" = yes )
   4929 then
   4930 echo "$as_me:4930: checking if you want to check for gcc warnings" >&5
   4931 echo $ECHO_N "checking if you want to check for gcc warnings... $ECHO_C" >&6
   4932 
   4933 # Check whether --with-warnings or --without-warnings was given.
   4934 if test "${with_warnings+set}" = set; then
   4935   withval="$with_warnings"
   4936   cf_opt_with_warnings=$withval
   4937 else
   4938   cf_opt_with_warnings=no
   4939 fi;
   4940 echo "$as_me:4940: result: $cf_opt_with_warnings" >&5
   4941 echo "${ECHO_T}$cf_opt_with_warnings" >&6
   4942 if test "$cf_opt_with_warnings" != no ; then
   4943 
   4944 if test "$GCC" = yes
   4945 then
   4946 cat > conftest.i <<EOF
   4947 #ifndef GCC_PRINTF
   4948 #define GCC_PRINTF 0
   4949 #endif
   4950 #ifndef GCC_SCANF
   4951 #define GCC_SCANF 0
   4952 #endif
   4953 #ifndef GCC_NORETURN
   4954 #define GCC_NORETURN /* nothing */
   4955 #endif
   4956 #ifndef GCC_UNUSED
   4957 #define GCC_UNUSED /* nothing */
   4958 #endif
   4959 EOF
   4960 if test "$GCC" = yes
   4961 then
   4962 	{ echo "$as_me:4962: checking for $CC __attribute__ directives..." >&5
   4963 echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
   4964 cat > conftest.$ac_ext <<EOF
   4965 #line 4965 "${as_me:-configure}"
   4966 #include "confdefs.h"
   4967 #include "conftest.h"
   4968 #include "conftest.i"
   4969 #if	GCC_PRINTF
   4970 #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
   4971 #else
   4972 #define GCC_PRINTFLIKE(fmt,var) /*nothing*/
   4973 #endif
   4974 #if	GCC_SCANF
   4975 #define GCC_SCANFLIKE(fmt,var)  __attribute__((format(scanf,fmt,var)))
   4976 #else
   4977 #define GCC_SCANFLIKE(fmt,var)  /*nothing*/
   4978 #endif
   4979 extern void wow(char *,...) GCC_SCANFLIKE(1,2);
   4980 extern void oops(char *,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN;
   4981 extern void foo(void) GCC_NORETURN;
   4982 int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED) { return 0; }
   4983 EOF
   4984 	cf_printf_attribute=no
   4985 	cf_scanf_attribute=no
   4986 	for cf_attribute in scanf printf unused noreturn
   4987 	do
   4988 
   4989 cf_ATTRIBUTE=`echo "$cf_attribute" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
   4990 
   4991 		cf_directive="__attribute__(($cf_attribute))"
   4992 		echo "checking for $CC $cf_directive" 1>&5
   4993 
   4994 		case $cf_attribute in
   4995 		(printf)
   4996 			cf_printf_attribute=yes
   4997 			cat >conftest.h <<EOF
   4998 #define GCC_$cf_ATTRIBUTE 1
   4999 EOF
   5000 			;;
   5001 		(scanf)
   5002 			cf_scanf_attribute=yes
   5003 			cat >conftest.h <<EOF
   5004 #define GCC_$cf_ATTRIBUTE 1
   5005 EOF
   5006 			;;
   5007 		(*)
   5008 			cat >conftest.h <<EOF
   5009 #define GCC_$cf_ATTRIBUTE $cf_directive
   5010 EOF
   5011 			;;
   5012 		esac
   5013 
   5014 		if { (eval echo "$as_me:5014: \"$ac_compile\"") >&5
   5015   (eval $ac_compile) 2>&5
   5016   ac_status=$?
   5017   echo "$as_me:5017: \$? = $ac_status" >&5
   5018   (exit $ac_status); }; then
   5019 			test -n "$verbose" && echo "$as_me:5019: result: ... $cf_attribute" >&5
   5020 echo "${ECHO_T}... $cf_attribute" >&6
   5021 			cat conftest.h >>confdefs.h
   5022 			case $cf_attribute in
   5023 			(noreturn)
   5024 
   5025 cat >>confdefs.h <<EOF
   5026 #define GCC_NORETURN $cf_directive
   5027 EOF
   5028 
   5029 				;;
   5030 			(printf)
   5031 				cf_value='/* nothing */'
   5032 				if test "$cf_printf_attribute" != no ; then
   5033 					cf_value='__attribute__((format(printf,fmt,var)))'
   5034 
   5035 cat >>confdefs.h <<\EOF
   5036 #define GCC_PRINTF 1
   5037 EOF
   5038 
   5039 				fi
   5040 
   5041 cat >>confdefs.h <<EOF
   5042 #define GCC_PRINTFLIKE(fmt,var) $cf_value
   5043 EOF
   5044 
   5045 				;;
   5046 			(scanf)
   5047 				cf_value='/* nothing */'
   5048 				if test "$cf_scanf_attribute" != no ; then
   5049 					cf_value='__attribute__((format(scanf,fmt,var)))'
   5050 
   5051 cat >>confdefs.h <<\EOF
   5052 #define GCC_SCANF 1
   5053 EOF
   5054 
   5055 				fi
   5056 
   5057 cat >>confdefs.h <<EOF
   5058 #define GCC_SCANFLIKE(fmt,var) $cf_value
   5059 EOF
   5060 
   5061 				;;
   5062 			(unused)
   5063 
   5064 cat >>confdefs.h <<EOF
   5065 #define GCC_UNUSED $cf_directive
   5066 EOF
   5067 
   5068 				;;
   5069 			esac
   5070 		fi
   5071 	done
   5072 else
   5073 	fgrep define conftest.i >>confdefs.h
   5074 fi
   5075 rm -rf conftest*
   5076 fi
   5077 
   5078 INTEL_COMPILER=no
   5079 
   5080 if test "$GCC" = yes ; then
   5081 	case $host_os in
   5082 	(linux*|gnu*)
   5083 		echo "$as_me:5083: checking if this is really Intel C compiler" >&5
   5084 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
   5085 		cf_save_CFLAGS="$CFLAGS"
   5086 		CFLAGS="$CFLAGS -no-gcc"
   5087 		cat >conftest.$ac_ext <<_ACEOF
   5088 #line 5088 "configure"
   5089 #include "confdefs.h"
   5090 
   5091 int
   5092 main (void)
   5093 {
   5094 
   5095 #ifdef __INTEL_COMPILER
   5096 #else
   5097 make an error
   5098 #endif
   5099 
   5100   ;
   5101   return 0;
   5102 }
   5103 _ACEOF
   5104 rm -f conftest.$ac_objext
   5105 if { (eval echo "$as_me:5105: \"$ac_compile\"") >&5
   5106   (eval $ac_compile) 2>&5
   5107   ac_status=$?
   5108   echo "$as_me:5108: \$? = $ac_status" >&5
   5109   (exit $ac_status); } &&
   5110          { ac_try='test -s conftest.$ac_objext'
   5111   { (eval echo "$as_me:5111: \"$ac_try\"") >&5
   5112   (eval $ac_try) 2>&5
   5113   ac_status=$?
   5114   echo "$as_me:5114: \$? = $ac_status" >&5
   5115   (exit $ac_status); }; }; then
   5116   INTEL_COMPILER=yes
   5117 cf_save_CFLAGS="$cf_save_CFLAGS -we147"
   5118 
   5119 else
   5120   echo "$as_me: failed program was:" >&5
   5121 cat conftest.$ac_ext >&5
   5122 fi
   5123 rm -f conftest.$ac_objext conftest.$ac_ext
   5124 		CFLAGS="$cf_save_CFLAGS"
   5125 		echo "$as_me:5125: result: $INTEL_COMPILER" >&5
   5126 echo "${ECHO_T}$INTEL_COMPILER" >&6
   5127 		;;
   5128 	esac
   5129 fi
   5130 
   5131 CLANG_COMPILER=no
   5132 
   5133 if test "$GCC" = yes ; then
   5134 	echo "$as_me:5134: checking if this is really Clang C compiler" >&5
   5135 echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
   5136 	cf_save_CFLAGS="$CFLAGS"
   5137 	CFLAGS="$CFLAGS -Qunused-arguments"
   5138 	cat >conftest.$ac_ext <<_ACEOF
   5139 #line 5139 "configure"
   5140 #include "confdefs.h"
   5141 
   5142 int
   5143 main (void)
   5144 {
   5145 
   5146 #ifdef __clang__
   5147 #else
   5148 make an error
   5149 #endif
   5150 
   5151   ;
   5152   return 0;
   5153 }
   5154 _ACEOF
   5155 rm -f conftest.$ac_objext
   5156 if { (eval echo "$as_me:5156: \"$ac_compile\"") >&5
   5157   (eval $ac_compile) 2>&5
   5158   ac_status=$?
   5159   echo "$as_me:5159: \$? = $ac_status" >&5
   5160   (exit $ac_status); } &&
   5161          { ac_try='test -s conftest.$ac_objext'
   5162   { (eval echo "$as_me:5162: \"$ac_try\"") >&5
   5163   (eval $ac_try) 2>&5
   5164   ac_status=$?
   5165   echo "$as_me:5165: \$? = $ac_status" >&5
   5166   (exit $ac_status); }; }; then
   5167   CLANG_COMPILER=yes
   5168 cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
   5169 
   5170 else
   5171   echo "$as_me: failed program was:" >&5
   5172 cat conftest.$ac_ext >&5
   5173 fi
   5174 rm -f conftest.$ac_objext conftest.$ac_ext
   5175 	CFLAGS="$cf_save_CFLAGS"
   5176 	echo "$as_me:5176: result: $CLANG_COMPILER" >&5
   5177 echo "${ECHO_T}$CLANG_COMPILER" >&6
   5178 fi
   5179 
   5180 if test "x$have_x" = xyes; then
   5181 cat >conftest.$ac_ext <<_ACEOF
   5182 #line 5182 "configure"
   5183 #include "confdefs.h"
   5184 
   5185 #include <stdlib.h>
   5186 #include <X11/Intrinsic.h>
   5187 
   5188 int
   5189 main (void)
   5190 {
   5191 String foo = malloc(1)
   5192   ;
   5193   return 0;
   5194 }
   5195 _ACEOF
   5196 rm -f conftest.$ac_objext
   5197 if { (eval echo "$as_me:5197: \"$ac_compile\"") >&5
   5198   (eval $ac_compile) 2>&5
   5199   ac_status=$?
   5200   echo "$as_me:5200: \$? = $ac_status" >&5
   5201   (exit $ac_status); } &&
   5202          { ac_try='test -s conftest.$ac_objext'
   5203   { (eval echo "$as_me:5203: \"$ac_try\"") >&5
   5204   (eval $ac_try) 2>&5
   5205   ac_status=$?
   5206   echo "$as_me:5206: \$? = $ac_status" >&5
   5207   (exit $ac_status); }; }; then
   5208 
   5209 echo "$as_me:5209: checking for X11/Xt const-feature" >&5
   5210 echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6
   5211 if test "${cf_cv_const_x_string+set}" = set; then
   5212   echo $ECHO_N "(cached) $ECHO_C" >&6
   5213 else
   5214 
   5215 	cat >conftest.$ac_ext <<_ACEOF
   5216 #line 5216 "configure"
   5217 #include "confdefs.h"
   5218 
   5219 #define _CONST_X_STRING	/* X11R7.8 (perhaps) */
   5220 #undef  XTSTRINGDEFINES	/* X11R5 and later */
   5221 #include <stdlib.h>
   5222 #include <X11/Intrinsic.h>
   5223 
   5224 int
   5225 main (void)
   5226 {
   5227 String foo = malloc(1); *foo = 0
   5228   ;
   5229   return 0;
   5230 }
   5231 _ACEOF
   5232 rm -f conftest.$ac_objext
   5233 if { (eval echo "$as_me:5233: \"$ac_compile\"") >&5
   5234   (eval $ac_compile) 2>&5
   5235   ac_status=$?
   5236   echo "$as_me:5236: \$? = $ac_status" >&5
   5237   (exit $ac_status); } &&
   5238          { ac_try='test -s conftest.$ac_objext'
   5239   { (eval echo "$as_me:5239: \"$ac_try\"") >&5
   5240   (eval $ac_try) 2>&5
   5241   ac_status=$?
   5242   echo "$as_me:5242: \$? = $ac_status" >&5
   5243   (exit $ac_status); }; }; then
   5244 
   5245 			cf_cv_const_x_string=no
   5246 
   5247 else
   5248   echo "$as_me: failed program was:" >&5
   5249 cat conftest.$ac_ext >&5
   5250 
   5251 			cf_cv_const_x_string=yes
   5252 
   5253 fi
   5254 rm -f conftest.$ac_objext conftest.$ac_ext
   5255 
   5256 fi
   5257 echo "$as_me:5257: result: $cf_cv_const_x_string" >&5
   5258 echo "${ECHO_T}$cf_cv_const_x_string" >&6
   5259 
   5260 case $cf_cv_const_x_string in
   5261 (no)
   5262 
   5263 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   5264 	CPPFLAGS="${CPPFLAGS}-DXTSTRINGDEFINES"
   5265 
   5266 	;;
   5267 (*)
   5268 
   5269 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   5270 	CPPFLAGS="${CPPFLAGS}-D_CONST_X_STRING"
   5271 
   5272 	;;
   5273 esac
   5274 
   5275 else
   5276   echo "$as_me: failed program was:" >&5
   5277 cat conftest.$ac_ext >&5
   5278 fi
   5279 rm -f conftest.$ac_objext conftest.$ac_ext
   5280  fi
   5281 cat > conftest.$ac_ext <<EOF
   5282 #line 5282 "${as_me:-configure}"
   5283 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
   5284 EOF
   5285 if test "$INTEL_COMPILER" = yes
   5286 then
   5287 # The "-wdXXX" options suppress warnings:
   5288 # remark #1419: external declaration in primary source file
   5289 # remark #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem)
   5290 # remark #1684: conversion from pointer to same-sized integral type (potential portability problem)
   5291 # remark #193: zero used for undefined preprocessing identifier
   5292 # remark #593: variable "curs_sb_left_arrow" was set but never used
   5293 # remark #810: conversion from "int" to "Dimension={unsigned short}" may lose significant bits
   5294 # remark #869: parameter "tw" was never referenced
   5295 # remark #981: operands are evaluated in unspecified order
   5296 # warning #279: controlling expression is constant
   5297 
   5298 	{ echo "$as_me:5298: checking for $CC warning options..." >&5
   5299 echo "$as_me: checking for $CC warning options..." >&6;}
   5300 	cf_save_CFLAGS="$CFLAGS"
   5301 	EXTRA_CFLAGS="-Wall"
   5302 	for cf_opt in \
   5303 		wd1419 \
   5304 		wd1683 \
   5305 		wd1684 \
   5306 		wd193 \
   5307 		wd593 \
   5308 		wd279 \
   5309 		wd810 \
   5310 		wd869 \
   5311 		wd981
   5312 	do
   5313 		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
   5314 		if { (eval echo "$as_me:5314: \"$ac_compile\"") >&5
   5315   (eval $ac_compile) 2>&5
   5316   ac_status=$?
   5317   echo "$as_me:5317: \$? = $ac_status" >&5
   5318   (exit $ac_status); }; then
   5319 			test -n "$verbose" && echo "$as_me:5319: result: ... -$cf_opt" >&5
   5320 echo "${ECHO_T}... -$cf_opt" >&6
   5321 			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
   5322 		fi
   5323 	done
   5324 	CFLAGS="$cf_save_CFLAGS"
   5325 elif test "$GCC" = yes
   5326 then
   5327 	{ echo "$as_me:5327: checking for $CC warning options..." >&5
   5328 echo "$as_me: checking for $CC warning options..." >&6;}
   5329 	cf_save_CFLAGS="$CFLAGS"
   5330 	EXTRA_CFLAGS=
   5331 	cf_warn_CONST=""
   5332 	test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings"
   5333 	cf_gcc_warnings="Wignored-qualifiers Wlogical-op Wvarargs"
   5334 	test "x$CLANG_COMPILER" = xyes && cf_gcc_warnings=
   5335 	for cf_opt in W Wall \
   5336 		Wbad-function-cast \
   5337 		Wcast-align \
   5338 		Wcast-qual \
   5339 		Wdeclaration-after-statement \
   5340 		Wextra \
   5341 		Winline \
   5342 		Wmissing-declarations \
   5343 		Wmissing-prototypes \
   5344 		Wnested-externs \
   5345 		Wpointer-arith \
   5346 		Wshadow \
   5347 		Wstrict-prototypes \
   5348 		Wundef $cf_gcc_warnings $cf_warn_CONST Wwrite-strings
   5349 	do
   5350 		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
   5351 		if { (eval echo "$as_me:5351: \"$ac_compile\"") >&5
   5352   (eval $ac_compile) 2>&5
   5353   ac_status=$?
   5354   echo "$as_me:5354: \$? = $ac_status" >&5
   5355   (exit $ac_status); }; then
   5356 			test -n "$verbose" && echo "$as_me:5356: result: ... -$cf_opt" >&5
   5357 echo "${ECHO_T}... -$cf_opt" >&6
   5358 			case $cf_opt in
   5359 			(Winline)
   5360 				case $GCC_VERSION in
   5361 				([34].*)
   5362 					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6
   5363 
   5364 echo "${as_me:-configure}:5364: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
   5365 
   5366 					continue;;
   5367 				esac
   5368 				;;
   5369 			(Wpointer-arith)
   5370 				case $GCC_VERSION in
   5371 				([12].*)
   5372 					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6
   5373 
   5374 echo "${as_me:-configure}:5374: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
   5375 
   5376 					continue;;
   5377 				esac
   5378 				;;
   5379 			esac
   5380 			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
   5381 		fi
   5382 	done
   5383 	CFLAGS="$cf_save_CFLAGS"
   5384 fi
   5385 rm -rf conftest*
   5386 
   5387 fi
   5388 fi
   5389 
   5390 echo "$as_me:5390: checking if you want to see long compiling messages" >&5
   5391 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6
   5392 
   5393 # Check whether --enable-echo or --disable-echo was given.
   5394 if test "${enable_echo+set}" = set; then
   5395   enableval="$enable_echo"
   5396   test "$enableval" != no && enableval=yes
   5397 	if test "$enableval" != "yes" ; then
   5398 
   5399 	ECHO_LT='--silent'
   5400 	ECHO_LD='@echo linking $@;'
   5401 	RULE_CC='@echo compiling $<'
   5402 	SHOW_CC='@echo compiling $@'
   5403 	ECHO_CC='@'
   5404 
   5405 	else
   5406 
   5407 	ECHO_LT=''
   5408 	ECHO_LD=''
   5409 	RULE_CC=''
   5410 	SHOW_CC=''
   5411 	ECHO_CC=''
   5412 
   5413 	fi
   5414 else
   5415   enableval=yes
   5416 
   5417 	ECHO_LT=''
   5418 	ECHO_LD=''
   5419 	RULE_CC=''
   5420 	SHOW_CC=''
   5421 	ECHO_CC=''
   5422 
   5423 fi;
   5424 echo "$as_me:5424: result: $enableval" >&5
   5425 echo "${ECHO_T}$enableval" >&6
   5426 
   5427 echo "$as_me:5427: checking if you want to use dmalloc for testing" >&5
   5428 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6
   5429 
   5430 # Check whether --with-dmalloc or --without-dmalloc was given.
   5431 if test "${with_dmalloc+set}" = set; then
   5432   withval="$with_dmalloc"
   5433 
   5434 cat >>confdefs.h <<EOF
   5435 #define USE_DMALLOC 1
   5436 EOF
   5437 
   5438 	: ${with_cflags:=-g}
   5439 	: ${with_no_leaks:=yes}
   5440 	 with_dmalloc=yes
   5441 else
   5442   with_dmalloc=
   5443 fi;
   5444 echo "$as_me:5444: result: ${with_dmalloc:-no}" >&5
   5445 echo "${ECHO_T}${with_dmalloc:-no}" >&6
   5446 
   5447 case .$with_cflags in
   5448 (.*-g*)
   5449 	case .$CFLAGS in
   5450 	(.*-g*)
   5451 		;;
   5452 	(*)
   5453 
   5454 cf_fix_cppflags=no
   5455 cf_new_cflags=
   5456 cf_new_cppflags=
   5457 cf_new_extra_cppflags=
   5458 
   5459 for cf_add_cflags in -g
   5460 do
   5461 case $cf_fix_cppflags in
   5462 (no)
   5463 	case $cf_add_cflags in
   5464 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   5465 		case $cf_add_cflags in
   5466 		(-D*)
   5467 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   5468 
   5469 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   5470 				&& test -z "${cf_tst_cflags}" \
   5471 				&& cf_fix_cppflags=yes
   5472 
   5473 			if test $cf_fix_cppflags = yes ; then
   5474 
   5475 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5476 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5477 
   5478 				continue
   5479 			elif test "${cf_tst_cflags}" = "\"'" ; then
   5480 
   5481 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5482 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5483 
   5484 				continue
   5485 			fi
   5486 			;;
   5487 		esac
   5488 		case "$CPPFLAGS" in
   5489 		(*$cf_add_cflags)
   5490 			;;
   5491 		(*)
   5492 			case $cf_add_cflags in
   5493 			(-D*)
   5494 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   5495 
   5496 CPPFLAGS=`echo "$CPPFLAGS" | \
   5497 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   5498 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   5499 
   5500 				;;
   5501 			esac
   5502 
   5503 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   5504 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   5505 
   5506 			;;
   5507 		esac
   5508 		;;
   5509 	(*)
   5510 
   5511 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   5512 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   5513 
   5514 		;;
   5515 	esac
   5516 	;;
   5517 (yes)
   5518 
   5519 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5520 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5521 
   5522 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   5523 
   5524 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   5525 		&& test -z "${cf_tst_cflags}" \
   5526 		&& cf_fix_cppflags=no
   5527 	;;
   5528 esac
   5529 done
   5530 
   5531 if test -n "$cf_new_cflags" ; then
   5532 
   5533 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   5534 	CFLAGS="${CFLAGS}$cf_new_cflags"
   5535 
   5536 fi
   5537 
   5538 if test -n "$cf_new_cppflags" ; then
   5539 
   5540 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   5541 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   5542 
   5543 fi
   5544 
   5545 if test -n "$cf_new_extra_cppflags" ; then
   5546 
   5547 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   5548 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   5549 
   5550 fi
   5551 
   5552 		;;
   5553 	esac
   5554 	;;
   5555 esac
   5556 
   5557 if test "$with_dmalloc" = yes ; then
   5558 	echo "$as_me:5558: checking for dmalloc.h" >&5
   5559 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
   5560 if test "${ac_cv_header_dmalloc_h+set}" = set; then
   5561   echo $ECHO_N "(cached) $ECHO_C" >&6
   5562 else
   5563   cat >conftest.$ac_ext <<_ACEOF
   5564 #line 5564 "configure"
   5565 #include "confdefs.h"
   5566 #include <dmalloc.h>
   5567 _ACEOF
   5568 if { (eval echo "$as_me:5568: \"$ac_cpp conftest.$ac_ext\"") >&5
   5569   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5570   ac_status=$?
   5571   egrep -v '^ *\+' conftest.er1 >conftest.err
   5572   rm -f conftest.er1
   5573   cat conftest.err >&5
   5574   echo "$as_me:5574: \$? = $ac_status" >&5
   5575   (exit $ac_status); } >/dev/null; then
   5576   if test -s conftest.err; then
   5577     ac_cpp_err=$ac_c_preproc_warn_flag
   5578   else
   5579     ac_cpp_err=
   5580   fi
   5581 else
   5582   ac_cpp_err=yes
   5583 fi
   5584 if test -z "$ac_cpp_err"; then
   5585   ac_cv_header_dmalloc_h=yes
   5586 else
   5587   echo "$as_me: failed program was:" >&5
   5588   cat conftest.$ac_ext >&5
   5589   ac_cv_header_dmalloc_h=no
   5590 fi
   5591 rm -f conftest.err conftest.$ac_ext
   5592 fi
   5593 echo "$as_me:5593: result: $ac_cv_header_dmalloc_h" >&5
   5594 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
   5595 if test $ac_cv_header_dmalloc_h = yes; then
   5596 
   5597 echo "$as_me:5597: checking for dmalloc_debug in -ldmalloc" >&5
   5598 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
   5599 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
   5600   echo $ECHO_N "(cached) $ECHO_C" >&6
   5601 else
   5602   ac_check_lib_save_LIBS=$LIBS
   5603 LIBS="-ldmalloc  $LIBS"
   5604 cat >conftest.$ac_ext <<_ACEOF
   5605 #line 5605 "configure"
   5606 #include "confdefs.h"
   5607 
   5608 /* Override any gcc2 internal prototype to avoid an error.  */
   5609 #ifdef __cplusplus
   5610 extern "C"
   5611 #endif
   5612 /* We use char because int might match the return type of a gcc2
   5613    builtin and then its argument prototype would still apply.  */
   5614 char dmalloc_debug ();
   5615 int
   5616 main (void)
   5617 {
   5618 dmalloc_debug ();
   5619   ;
   5620   return 0;
   5621 }
   5622 _ACEOF
   5623 rm -f conftest.$ac_objext conftest$ac_exeext
   5624 if { (eval echo "$as_me:5624: \"$ac_link\"") >&5
   5625   (eval $ac_link) 2>&5
   5626   ac_status=$?
   5627   echo "$as_me:5627: \$? = $ac_status" >&5
   5628   (exit $ac_status); } &&
   5629          { ac_try='test -s conftest$ac_exeext'
   5630   { (eval echo "$as_me:5630: \"$ac_try\"") >&5
   5631   (eval $ac_try) 2>&5
   5632   ac_status=$?
   5633   echo "$as_me:5633: \$? = $ac_status" >&5
   5634   (exit $ac_status); }; }; then
   5635   ac_cv_lib_dmalloc_dmalloc_debug=yes
   5636 else
   5637   echo "$as_me: failed program was:" >&5
   5638 cat conftest.$ac_ext >&5
   5639 ac_cv_lib_dmalloc_dmalloc_debug=no
   5640 fi
   5641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5642 LIBS=$ac_check_lib_save_LIBS
   5643 fi
   5644 echo "$as_me:5644: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
   5645 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
   5646 if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then
   5647   cat >>confdefs.h <<EOF
   5648 #define HAVE_LIBDMALLOC 1
   5649 EOF
   5650 
   5651   LIBS="-ldmalloc $LIBS"
   5652 
   5653 fi
   5654 
   5655 fi
   5656 
   5657 fi
   5658 
   5659 echo "$as_me:5659: checking if you want to use dbmalloc for testing" >&5
   5660 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
   5661 
   5662 # Check whether --with-dbmalloc or --without-dbmalloc was given.
   5663 if test "${with_dbmalloc+set}" = set; then
   5664   withval="$with_dbmalloc"
   5665 
   5666 cat >>confdefs.h <<EOF
   5667 #define USE_DBMALLOC 1
   5668 EOF
   5669 
   5670 	: ${with_cflags:=-g}
   5671 	: ${with_no_leaks:=yes}
   5672 	 with_dbmalloc=yes
   5673 else
   5674   with_dbmalloc=
   5675 fi;
   5676 echo "$as_me:5676: result: ${with_dbmalloc:-no}" >&5
   5677 echo "${ECHO_T}${with_dbmalloc:-no}" >&6
   5678 
   5679 case .$with_cflags in
   5680 (.*-g*)
   5681 	case .$CFLAGS in
   5682 	(.*-g*)
   5683 		;;
   5684 	(*)
   5685 
   5686 cf_fix_cppflags=no
   5687 cf_new_cflags=
   5688 cf_new_cppflags=
   5689 cf_new_extra_cppflags=
   5690 
   5691 for cf_add_cflags in -g
   5692 do
   5693 case $cf_fix_cppflags in
   5694 (no)
   5695 	case $cf_add_cflags in
   5696 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   5697 		case $cf_add_cflags in
   5698 		(-D*)
   5699 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   5700 
   5701 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   5702 				&& test -z "${cf_tst_cflags}" \
   5703 				&& cf_fix_cppflags=yes
   5704 
   5705 			if test $cf_fix_cppflags = yes ; then
   5706 
   5707 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5708 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5709 
   5710 				continue
   5711 			elif test "${cf_tst_cflags}" = "\"'" ; then
   5712 
   5713 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5714 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5715 
   5716 				continue
   5717 			fi
   5718 			;;
   5719 		esac
   5720 		case "$CPPFLAGS" in
   5721 		(*$cf_add_cflags)
   5722 			;;
   5723 		(*)
   5724 			case $cf_add_cflags in
   5725 			(-D*)
   5726 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   5727 
   5728 CPPFLAGS=`echo "$CPPFLAGS" | \
   5729 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   5730 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   5731 
   5732 				;;
   5733 			esac
   5734 
   5735 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   5736 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   5737 
   5738 			;;
   5739 		esac
   5740 		;;
   5741 	(*)
   5742 
   5743 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   5744 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   5745 
   5746 		;;
   5747 	esac
   5748 	;;
   5749 (yes)
   5750 
   5751 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5752 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5753 
   5754 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   5755 
   5756 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   5757 		&& test -z "${cf_tst_cflags}" \
   5758 		&& cf_fix_cppflags=no
   5759 	;;
   5760 esac
   5761 done
   5762 
   5763 if test -n "$cf_new_cflags" ; then
   5764 
   5765 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   5766 	CFLAGS="${CFLAGS}$cf_new_cflags"
   5767 
   5768 fi
   5769 
   5770 if test -n "$cf_new_cppflags" ; then
   5771 
   5772 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   5773 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   5774 
   5775 fi
   5776 
   5777 if test -n "$cf_new_extra_cppflags" ; then
   5778 
   5779 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   5780 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   5781 
   5782 fi
   5783 
   5784 		;;
   5785 	esac
   5786 	;;
   5787 esac
   5788 
   5789 if test "$with_dbmalloc" = yes ; then
   5790 	echo "$as_me:5790: checking for dbmalloc.h" >&5
   5791 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
   5792 if test "${ac_cv_header_dbmalloc_h+set}" = set; then
   5793   echo $ECHO_N "(cached) $ECHO_C" >&6
   5794 else
   5795   cat >conftest.$ac_ext <<_ACEOF
   5796 #line 5796 "configure"
   5797 #include "confdefs.h"
   5798 #include <dbmalloc.h>
   5799 _ACEOF
   5800 if { (eval echo "$as_me:5800: \"$ac_cpp conftest.$ac_ext\"") >&5
   5801   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5802   ac_status=$?
   5803   egrep -v '^ *\+' conftest.er1 >conftest.err
   5804   rm -f conftest.er1
   5805   cat conftest.err >&5
   5806   echo "$as_me:5806: \$? = $ac_status" >&5
   5807   (exit $ac_status); } >/dev/null; then
   5808   if test -s conftest.err; then
   5809     ac_cpp_err=$ac_c_preproc_warn_flag
   5810   else
   5811     ac_cpp_err=
   5812   fi
   5813 else
   5814   ac_cpp_err=yes
   5815 fi
   5816 if test -z "$ac_cpp_err"; then
   5817   ac_cv_header_dbmalloc_h=yes
   5818 else
   5819   echo "$as_me: failed program was:" >&5
   5820   cat conftest.$ac_ext >&5
   5821   ac_cv_header_dbmalloc_h=no
   5822 fi
   5823 rm -f conftest.err conftest.$ac_ext
   5824 fi
   5825 echo "$as_me:5825: result: $ac_cv_header_dbmalloc_h" >&5
   5826 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
   5827 if test $ac_cv_header_dbmalloc_h = yes; then
   5828 
   5829 echo "$as_me:5829: checking for debug_malloc in -ldbmalloc" >&5
   5830 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
   5831 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
   5832   echo $ECHO_N "(cached) $ECHO_C" >&6
   5833 else
   5834   ac_check_lib_save_LIBS=$LIBS
   5835 LIBS="-ldbmalloc  $LIBS"
   5836 cat >conftest.$ac_ext <<_ACEOF
   5837 #line 5837 "configure"
   5838 #include "confdefs.h"
   5839 
   5840 /* Override any gcc2 internal prototype to avoid an error.  */
   5841 #ifdef __cplusplus
   5842 extern "C"
   5843 #endif
   5844 /* We use char because int might match the return type of a gcc2
   5845    builtin and then its argument prototype would still apply.  */
   5846 char debug_malloc ();
   5847 int
   5848 main (void)
   5849 {
   5850 debug_malloc ();
   5851   ;
   5852   return 0;
   5853 }
   5854 _ACEOF
   5855 rm -f conftest.$ac_objext conftest$ac_exeext
   5856 if { (eval echo "$as_me:5856: \"$ac_link\"") >&5
   5857   (eval $ac_link) 2>&5
   5858   ac_status=$?
   5859   echo "$as_me:5859: \$? = $ac_status" >&5
   5860   (exit $ac_status); } &&
   5861          { ac_try='test -s conftest$ac_exeext'
   5862   { (eval echo "$as_me:5862: \"$ac_try\"") >&5
   5863   (eval $ac_try) 2>&5
   5864   ac_status=$?
   5865   echo "$as_me:5865: \$? = $ac_status" >&5
   5866   (exit $ac_status); }; }; then
   5867   ac_cv_lib_dbmalloc_debug_malloc=yes
   5868 else
   5869   echo "$as_me: failed program was:" >&5
   5870 cat conftest.$ac_ext >&5
   5871 ac_cv_lib_dbmalloc_debug_malloc=no
   5872 fi
   5873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5874 LIBS=$ac_check_lib_save_LIBS
   5875 fi
   5876 echo "$as_me:5876: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
   5877 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
   5878 if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then
   5879   cat >>confdefs.h <<EOF
   5880 #define HAVE_LIBDBMALLOC 1
   5881 EOF
   5882 
   5883   LIBS="-ldbmalloc $LIBS"
   5884 
   5885 fi
   5886 
   5887 fi
   5888 
   5889 fi
   5890 
   5891 echo "$as_me:5891: checking if you want to use valgrind for testing" >&5
   5892 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
   5893 
   5894 # Check whether --with-valgrind or --without-valgrind was given.
   5895 if test "${with_valgrind+set}" = set; then
   5896   withval="$with_valgrind"
   5897 
   5898 cat >>confdefs.h <<EOF
   5899 #define USE_VALGRIND 1
   5900 EOF
   5901 
   5902 	: ${with_cflags:=-g}
   5903 	: ${with_no_leaks:=yes}
   5904 	 with_valgrind=yes
   5905 else
   5906   with_valgrind=
   5907 fi;
   5908 echo "$as_me:5908: result: ${with_valgrind:-no}" >&5
   5909 echo "${ECHO_T}${with_valgrind:-no}" >&6
   5910 
   5911 case .$with_cflags in
   5912 (.*-g*)
   5913 	case .$CFLAGS in
   5914 	(.*-g*)
   5915 		;;
   5916 	(*)
   5917 
   5918 cf_fix_cppflags=no
   5919 cf_new_cflags=
   5920 cf_new_cppflags=
   5921 cf_new_extra_cppflags=
   5922 
   5923 for cf_add_cflags in -g
   5924 do
   5925 case $cf_fix_cppflags in
   5926 (no)
   5927 	case $cf_add_cflags in
   5928 	(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
   5929 		case $cf_add_cflags in
   5930 		(-D*)
   5931 			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
   5932 
   5933 			test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   5934 				&& test -z "${cf_tst_cflags}" \
   5935 				&& cf_fix_cppflags=yes
   5936 
   5937 			if test $cf_fix_cppflags = yes ; then
   5938 
   5939 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5940 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5941 
   5942 				continue
   5943 			elif test "${cf_tst_cflags}" = "\"'" ; then
   5944 
   5945 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5946 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5947 
   5948 				continue
   5949 			fi
   5950 			;;
   5951 		esac
   5952 		case "$CPPFLAGS" in
   5953 		(*$cf_add_cflags)
   5954 			;;
   5955 		(*)
   5956 			case $cf_add_cflags in
   5957 			(-D*)
   5958 				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
   5959 
   5960 CPPFLAGS=`echo "$CPPFLAGS" | \
   5961 	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
   5962 		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
   5963 
   5964 				;;
   5965 			esac
   5966 
   5967 	test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
   5968 	cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
   5969 
   5970 			;;
   5971 		esac
   5972 		;;
   5973 	(*)
   5974 
   5975 	test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
   5976 	cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
   5977 
   5978 		;;
   5979 	esac
   5980 	;;
   5981 (yes)
   5982 
   5983 	test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
   5984 	cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
   5985 
   5986 	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
   5987 
   5988 	test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
   5989 		&& test -z "${cf_tst_cflags}" \
   5990 		&& cf_fix_cppflags=no
   5991 	;;
   5992 esac
   5993 done
   5994 
   5995 if test -n "$cf_new_cflags" ; then
   5996 
   5997 	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
   5998 	CFLAGS="${CFLAGS}$cf_new_cflags"
   5999 
   6000 fi
   6001 
   6002 if test -n "$cf_new_cppflags" ; then
   6003 
   6004 	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
   6005 	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
   6006 
   6007 fi
   6008 
   6009 if test -n "$cf_new_extra_cppflags" ; then
   6010 
   6011 	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
   6012 	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
   6013 
   6014 fi
   6015 
   6016 		;;
   6017 	esac
   6018 	;;
   6019 esac
   6020 
   6021 echo "$as_me:6021: checking if you want to perform memory-leak testing" >&5
   6022 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
   6023 
   6024 # Check whether --enable-leaks or --disable-leaks was given.
   6025 if test "${enable_leaks+set}" = set; then
   6026   enableval="$enable_leaks"
   6027   if test "x$enableval" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi
   6028 else
   6029   : ${with_no_leaks:=no}
   6030 fi;
   6031 echo "$as_me:6031: result: $with_no_leaks" >&5
   6032 echo "${ECHO_T}$with_no_leaks" >&6
   6033 
   6034 if test "$with_no_leaks" = yes ; then
   6035 
   6036 cat >>confdefs.h <<\EOF
   6037 #define NO_LEAKS 1
   6038 EOF
   6039 
   6040 cat >>confdefs.h <<\EOF
   6041 #define YY_NO_LEAKS 1
   6042 EOF
   6043 
   6044 fi
   6045 
   6046 # Extract the first word of "groff", so it can be a program name with args.
   6047 set dummy groff; ac_word=$2
   6048 echo "$as_me:6048: checking for $ac_word" >&5
   6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6050 if test "${ac_cv_path_GROFF_PATH+set}" = set; then
   6051   echo $ECHO_N "(cached) $ECHO_C" >&6
   6052 else
   6053   case $GROFF_PATH in
   6054   [\\/]* | ?:[\\/]*)
   6055   ac_cv_path_GROFF_PATH="$GROFF_PATH" # Let the user override the test with a path.
   6056   ;;
   6057   *)
   6058   ac_save_IFS=$IFS; IFS=$ac_path_separator
   6059 ac_dummy="$PATH"
   6060 for ac_dir in $ac_dummy; do
   6061   IFS=$ac_save_IFS
   6062   test -z "$ac_dir" && ac_dir=.
   6063   if $as_executable_p "$ac_dir/$ac_word"; then
   6064    ac_cv_path_GROFF_PATH="$ac_dir/$ac_word"
   6065    echo "$as_me:6065: found $ac_dir/$ac_word" >&5
   6066    break
   6067 fi
   6068 done
   6069 
   6070   test -z "$ac_cv_path_GROFF_PATH" && ac_cv_path_GROFF_PATH="no"
   6071   ;;
   6072 esac
   6073 fi
   6074 GROFF_PATH=$ac_cv_path_GROFF_PATH
   6075 
   6076 if test -n "$GROFF_PATH"; then
   6077   echo "$as_me:6077: result: $GROFF_PATH" >&5
   6078 echo "${ECHO_T}$GROFF_PATH" >&6
   6079 else
   6080   echo "$as_me:6080: result: no" >&5
   6081 echo "${ECHO_T}no" >&6
   6082 fi
   6083 
   6084 for ac_prog in nroff mandoc
   6085 do
   6086   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6087 set dummy $ac_prog; ac_word=$2
   6088 echo "$as_me:6088: checking for $ac_word" >&5
   6089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6090 if test "${ac_cv_path_NROFF_PATH+set}" = set; then
   6091   echo $ECHO_N "(cached) $ECHO_C" >&6
   6092 else
   6093   case $NROFF_PATH in
   6094   [\\/]* | ?:[\\/]*)
   6095   ac_cv_path_NROFF_PATH="$NROFF_PATH" # Let the user override the test with a path.
   6096   ;;
   6097   *)
   6098   ac_save_IFS=$IFS; IFS=$ac_path_separator
   6099 ac_dummy="$PATH"
   6100 for ac_dir in $ac_dummy; do
   6101   IFS=$ac_save_IFS
   6102   test -z "$ac_dir" && ac_dir=.
   6103   if $as_executable_p "$ac_dir/$ac_word"; then
   6104    ac_cv_path_NROFF_PATH="$ac_dir/$ac_word"
   6105    echo "$as_me:6105: found $ac_dir/$ac_word" >&5
   6106    break
   6107 fi
   6108 done
   6109 
   6110   ;;
   6111 esac
   6112 fi
   6113 NROFF_PATH=$ac_cv_path_NROFF_PATH
   6114 
   6115 if test -n "$NROFF_PATH"; then
   6116   echo "$as_me:6116: result: $NROFF_PATH" >&5
   6117 echo "${ECHO_T}$NROFF_PATH" >&6
   6118 else
   6119   echo "$as_me:6119: result: no" >&5
   6120 echo "${ECHO_T}no" >&6
   6121 fi
   6122 
   6123   test -n "$NROFF_PATH" && break
   6124 done
   6125 test -n "$NROFF_PATH" || NROFF_PATH="no"
   6126 
   6127 # Extract the first word of "tbl", so it can be a program name with args.
   6128 set dummy tbl; ac_word=$2
   6129 echo "$as_me:6129: checking for $ac_word" >&5
   6130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6131 if test "${ac_cv_path_TBL_PATH+set}" = set; then
   6132   echo $ECHO_N "(cached) $ECHO_C" >&6
   6133 else
   6134   case $TBL_PATH in
   6135   [\\/]* | ?:[\\/]*)
   6136   ac_cv_path_TBL_PATH="$TBL_PATH" # Let the user override the test with a path.
   6137   ;;
   6138   *)
   6139   ac_save_IFS=$IFS; IFS=$ac_path_separator
   6140 ac_dummy="$PATH"
   6141 for ac_dir in $ac_dummy; do
   6142   IFS=$ac_save_IFS
   6143   test -z "$ac_dir" && ac_dir=.
   6144   if $as_executable_p "$ac_dir/$ac_word"; then
   6145    ac_cv_path_TBL_PATH="$ac_dir/$ac_word"
   6146    echo "$as_me:6146: found $ac_dir/$ac_word" >&5
   6147    break
   6148 fi
   6149 done
   6150 
   6151   test -z "$ac_cv_path_TBL_PATH" && ac_cv_path_TBL_PATH="cat"
   6152   ;;
   6153 esac
   6154 fi
   6155 TBL_PATH=$ac_cv_path_TBL_PATH
   6156 
   6157 if test -n "$TBL_PATH"; then
   6158   echo "$as_me:6158: result: $TBL_PATH" >&5
   6159 echo "${ECHO_T}$TBL_PATH" >&6
   6160 else
   6161   echo "$as_me:6161: result: no" >&5
   6162 echo "${ECHO_T}no" >&6
   6163 fi
   6164 
   6165 if test "x$GROFF_PATH" = xno
   6166 then
   6167 	NROFF_NOTE=
   6168 	GROFF_NOTE="#"
   6169 else
   6170 	NROFF_NOTE="#"
   6171 	GROFF_NOTE=
   6172 fi
   6173 
   6174 case "x${with_man2html}" in
   6175 (xno)
   6176 	cf_man2html=no
   6177 	;;
   6178 (x|xyes)
   6179 	# Extract the first word of "man2html", so it can be a program name with args.
   6180 set dummy man2html; ac_word=$2
   6181 echo "$as_me:6181: checking for $ac_word" >&5
   6182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6183 if test "${ac_cv_path_cf_man2html+set}" = set; then
   6184   echo $ECHO_N "(cached) $ECHO_C" >&6
   6185 else
   6186   case $cf_man2html in
   6187   [\\/]* | ?:[\\/]*)
   6188   ac_cv_path_cf_man2html="$cf_man2html" # Let the user override the test with a path.
   6189   ;;
   6190   *)
   6191   ac_save_IFS=$IFS; IFS=$ac_path_separator
   6192 ac_dummy="$PATH"
   6193 for ac_dir in $ac_dummy; do
   6194   IFS=$ac_save_IFS
   6195   test -z "$ac_dir" && ac_dir=.
   6196   if $as_executable_p "$ac_dir/$ac_word"; then
   6197    ac_cv_path_cf_man2html="$ac_dir/$ac_word"
   6198    echo "$as_me:6198: found $ac_dir/$ac_word" >&5
   6199    break
   6200 fi
   6201 done
   6202 
   6203   test -z "$ac_cv_path_cf_man2html" && ac_cv_path_cf_man2html="no"
   6204   ;;
   6205 esac
   6206 fi
   6207 cf_man2html=$ac_cv_path_cf_man2html
   6208 
   6209 if test -n "$cf_man2html"; then
   6210   echo "$as_me:6210: result: $cf_man2html" >&5
   6211 echo "${ECHO_T}$cf_man2html" >&6
   6212 else
   6213   echo "$as_me:6213: result: no" >&5
   6214 echo "${ECHO_T}no" >&6
   6215 fi
   6216 
   6217 	case "x$cf_man2html" in
   6218 	(x/*)
   6219 		echo "$as_me:6219: checking for the modified Earl Hood script" >&5
   6220 echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6
   6221 		if ( $cf_man2html -help 2>&1 | grep 'Make an index of headers at the end' >/dev/null )
   6222 		then
   6223 			cf_man2html_ok=yes
   6224 		else
   6225 			cf_man2html=no
   6226 			cf_man2html_ok=no
   6227 		fi
   6228 		echo "$as_me:6228: result: $cf_man2html_ok" >&5
   6229 echo "${ECHO_T}$cf_man2html_ok" >&6
   6230 		;;
   6231 	(*)
   6232 		cf_man2html=no
   6233 		;;
   6234 	esac
   6235 esac
   6236 
   6237 echo "$as_me:6237: checking for program to convert manpage to html" >&5
   6238 echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6
   6239 
   6240 # Check whether --with-man2html or --without-man2html was given.
   6241 if test "${with_man2html+set}" = set; then
   6242   withval="$with_man2html"
   6243   cf_man2html=$withval
   6244 else
   6245   cf_man2html=$cf_man2html
   6246 fi;
   6247 
   6248 cf_with_groff=no
   6249 
   6250 case $cf_man2html in
   6251 (yes)
   6252 	echo "$as_me:6252: result: man2html" >&5
   6253 echo "${ECHO_T}man2html" >&6
   6254 	# Extract the first word of "man2html", so it can be a program name with args.
   6255 set dummy man2html; ac_word=$2
   6256 echo "$as_me:6256: checking for $ac_word" >&5
   6257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6258 if test "${ac_cv_path_cf_man2html+set}" = set; then
   6259   echo $ECHO_N "(cached) $ECHO_C" >&6
   6260 else
   6261   case $cf_man2html in
   6262   [\\/]* | ?:[\\/]*)
   6263   ac_cv_path_cf_man2html="$cf_man2html" # Let the user override the test with a path.
   6264   ;;
   6265   *)
   6266   ac_save_IFS=$IFS; IFS=$ac_path_separator
   6267 ac_dummy="$PATH"
   6268 for ac_dir in $ac_dummy; do
   6269   IFS=$ac_save_IFS
   6270   test -z "$ac_dir" && ac_dir=.
   6271   if $as_executable_p "$ac_dir/$ac_word"; then
   6272    ac_cv_path_cf_man2html="$ac_dir/$ac_word"
   6273    echo "$as_me:6273: found $ac_dir/$ac_word" >&5
   6274    break
   6275 fi
   6276 done
   6277 
   6278   test -z "$ac_cv_path_cf_man2html" && ac_cv_path_cf_man2html="no"
   6279   ;;
   6280 esac
   6281 fi
   6282 cf_man2html=$ac_cv_path_cf_man2html
   6283 
   6284 if test -n "$cf_man2html"; then
   6285   echo "$as_me:6285: result: $cf_man2html" >&5
   6286 echo "${ECHO_T}$cf_man2html" >&6
   6287 else
   6288   echo "$as_me:6288: result: no" >&5
   6289 echo "${ECHO_T}no" >&6
   6290 fi
   6291 
   6292 	;;
   6293 (no|groff|*/groff*)
   6294 	cf_with_groff=yes
   6295 	cf_man2html=$GROFF_PATH
   6296 	echo "$as_me:6296: result: $cf_man2html" >&5
   6297 echo "${ECHO_T}$cf_man2html" >&6
   6298 	;;
   6299 (*)
   6300 	echo "$as_me:6300: result: $cf_man2html" >&5
   6301 echo "${ECHO_T}$cf_man2html" >&6
   6302 	;;
   6303 esac
   6304 
   6305 MAN2HTML_TEMP="man2html.tmp"
   6306 	cat >$MAN2HTML_TEMP <<CF_EOF
   6307 #!$SHELL
   6308 # Temporary script generated by CF_WITH_MAN2HTML
   6309 # Convert inputs to html, sending result to standard output.
   6310 #
   6311 # Parameters:
   6312 # \${1} = rootname of file to convert
   6313 # \${2} = suffix of file to convert, e.g., "1"
   6314 # \${3} = macros to use, e.g., "man"
   6315 #
   6316 ROOT=\$1
   6317 TYPE=\$2
   6318 MACS=\$3
   6319 
   6320 unset LANG
   6321 unset LC_ALL
   6322 unset LC_CTYPE
   6323 unset LANGUAGE
   6324 GROFF_NO_SGR=stupid
   6325 export GROFF_NO_SGR
   6326 
   6327 CF_EOF
   6328 
   6329 if test "x$cf_with_groff" = xyes
   6330 then
   6331 	MAN2HTML_NOTE="$GROFF_NOTE"
   6332 	MAN2HTML_PATH="$GROFF_PATH"
   6333 	cat >>$MAN2HTML_TEMP <<CF_EOF
   6334 $SHELL -c "$TBL_PATH \${ROOT}.\${TYPE} | $GROFF_PATH -P -o0 -I\${ROOT}_ -Thtml -\${MACS}"
   6335 CF_EOF
   6336 else
   6337 	MAN2HTML_NOTE=""
   6338 
   6339 if test "x$prefix" != xNONE; then
   6340 	cf_path_syntax="$prefix"
   6341 else
   6342 	cf_path_syntax="$ac_default_prefix"
   6343 fi
   6344 
   6345 case ".$cf_man2html" in
   6346 (.\$\(*\)*|.\'*\'*)
   6347 	;;
   6348 (..|./*|.\\*)
   6349 	;;
   6350 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
   6351 	;;
   6352 (.\${*prefix}*|.\${*dir}*)
   6353 	eval cf_man2html="$cf_man2html"
   6354 	case ".$cf_man2html" in
   6355 	(.NONE/*)
   6356 		cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%`
   6357 		;;
   6358 	esac
   6359 	;;
   6360 (.no|.NONE/*)
   6361 	cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%`
   6362 	;;
   6363 (*)
   6364 	{ { echo "$as_me:6364: error: expected a pathname, not \"$cf_man2html\"" >&5
   6365 echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;}
   6366    { (exit 1); exit 1; }; }
   6367 	;;
   6368 esac
   6369 
   6370 	MAN2HTML_PATH="$cf_man2html"
   6371 	echo "$as_me:6371: checking for $cf_man2html top/bottom margins" >&5
   6372 echo $ECHO_N "checking for $cf_man2html top/bottom margins... $ECHO_C" >&6
   6373 
   6374 	# for this example, expect 3 lines of content, the remainder is head/foot
   6375 	cat >conftest.in <<CF_EOF
   6376 .TH HEAD1 HEAD2 HEAD3 HEAD4 HEAD5
   6377 .SH SECTION
   6378 MARKER
   6379 CF_EOF
   6380 
   6381 	LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C $NROFF_PATH -man conftest.in >conftest.out
   6382 
   6383 	cf_man2html_1st=`fgrep -n MARKER conftest.out |sed -e 's/^[^0-9]*://' -e 's/:.*//'`
   6384 	cf_man2html_top=`expr $cf_man2html_1st - 2`
   6385 	cf_man2html_bot=`wc -l conftest.out |sed -e 's/[^0-9]//g'`
   6386 	cf_man2html_bot=`expr $cf_man2html_bot - 2 - $cf_man2html_top`
   6387 	cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot"
   6388 
   6389 	echo "$as_me:6389: result: $cf_man2html_top_bot" >&5
   6390 echo "${ECHO_T}$cf_man2html_top_bot" >&6
   6391 
   6392 	echo "$as_me:6392: checking for pagesize to use" >&5
   6393 echo $ECHO_N "checking for pagesize to use... $ECHO_C" >&6
   6394 	for cf_block in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
   6395 	do
   6396 	cat >>conftest.in <<CF_EOF
   6397 .nf
   6398 0
   6399 1
   6400 2
   6401 3
   6402 4
   6403 5
   6404 6
   6405 7
   6406 8
   6407 9
   6408 CF_EOF
   6409 	done
   6410 
   6411 	LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C $NROFF_PATH -man conftest.in >conftest.out
   6412 	cf_man2html_page=`fgrep -n HEAD1 conftest.out |sed -n '$p' |sed -e 's/^[^0-9]*://' -e 's/:.*//'`
   6413 	test -z "$cf_man2html_page" && cf_man2html_page=99999
   6414 	test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999
   6415 
   6416 	rm -rf conftest*
   6417 	echo "$as_me:6417: result: $cf_man2html_page" >&5
   6418 echo "${ECHO_T}$cf_man2html_page" >&6
   6419 
   6420 	cat >>$MAN2HTML_TEMP <<CF_EOF
   6421 : \${MAN2HTML_PATH=$MAN2HTML_PATH}
   6422 MAN2HTML_OPTS="\$MAN2HTML_OPTS -index -title="\$ROOT\(\$TYPE\)" -compress -pgsize $cf_man2html_page"
   6423 case \${TYPE} in
   6424 (ms)
   6425 	$TBL_PATH \${ROOT}.\${TYPE} | $NROFF_PATH -\${MACS} | \$MAN2HTML_PATH -topm=0 -botm=0 \$MAN2HTML_OPTS
   6426 	;;
   6427 (*)
   6428 	$TBL_PATH \${ROOT}.\${TYPE} | $NROFF_PATH -\${MACS} | \$MAN2HTML_PATH $cf_man2html_top_bot \$MAN2HTML_OPTS
   6429 	;;
   6430 esac
   6431 CF_EOF
   6432 fi
   6433 
   6434 chmod 700 $MAN2HTML_TEMP
   6435 
   6436 echo "$as_me:6436: checking for ANSI C header files" >&5
   6437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   6438 if test "${ac_cv_header_stdc+set}" = set; then
   6439   echo $ECHO_N "(cached) $ECHO_C" >&6
   6440 else
   6441   cat >conftest.$ac_ext <<_ACEOF
   6442 #line 6442 "configure"
   6443 #include "confdefs.h"
   6444 #include <stdlib.h>
   6445 #include <stdarg.h>
   6446 #include <string.h>
   6447 #include <float.h>
   6448 
   6449 _ACEOF
   6450 if { (eval echo "$as_me:6450: \"$ac_cpp conftest.$ac_ext\"") >&5
   6451   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6452   ac_status=$?
   6453   egrep -v '^ *\+' conftest.er1 >conftest.err
   6454   rm -f conftest.er1
   6455   cat conftest.err >&5
   6456   echo "$as_me:6456: \$? = $ac_status" >&5
   6457   (exit $ac_status); } >/dev/null; then
   6458   if test -s conftest.err; then
   6459     ac_cpp_err=$ac_c_preproc_warn_flag
   6460   else
   6461     ac_cpp_err=
   6462   fi
   6463 else
   6464   ac_cpp_err=yes
   6465 fi
   6466 if test -z "$ac_cpp_err"; then
   6467   ac_cv_header_stdc=yes
   6468 else
   6469   echo "$as_me: failed program was:" >&5
   6470   cat conftest.$ac_ext >&5
   6471   ac_cv_header_stdc=no
   6472 fi
   6473 rm -f conftest.err conftest.$ac_ext
   6474 
   6475 if test $ac_cv_header_stdc = yes; then
   6476   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6477   cat >conftest.$ac_ext <<_ACEOF
   6478 #line 6478 "configure"
   6479 #include "confdefs.h"
   6480 #include <string.h>
   6481 
   6482 _ACEOF
   6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6484   egrep "memchr" >/dev/null 2>&1; then
   6485   :
   6486 else
   6487   ac_cv_header_stdc=no
   6488 fi
   6489 rm -rf conftest*
   6490 
   6491 fi
   6492 
   6493 if test $ac_cv_header_stdc = yes; then
   6494   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6495   cat >conftest.$ac_ext <<_ACEOF
   6496 #line 6496 "configure"
   6497 #include "confdefs.h"
   6498 #include <stdlib.h>
   6499 
   6500 _ACEOF
   6501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6502   egrep "free" >/dev/null 2>&1; then
   6503   :
   6504 else
   6505   ac_cv_header_stdc=no
   6506 fi
   6507 rm -rf conftest*
   6508 
   6509 fi
   6510 
   6511 if test $ac_cv_header_stdc = yes; then
   6512   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6513   if test "$cross_compiling" = yes; then
   6514   :
   6515 else
   6516   cat >conftest.$ac_ext <<_ACEOF
   6517 #line 6517 "configure"
   6518 #include "confdefs.h"
   6519 #include <ctype.h>
   6520 #if ((' ' & 0x0FF) == 0x020)
   6521 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6522 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6523 #else
   6524 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
   6525                      || ('j' <= (c) && (c) <= 'r') \
   6526                      || ('s' <= (c) && (c) <= 'z'))
   6527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6528 #endif
   6529 
   6530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6531 int
   6532 main (void)
   6533 {
   6534   int i;
   6535   for (i = 0; i < 256; i++)
   6536     if (XOR (islower (i), ISLOWER (i))
   6537         || toupper (i) != TOUPPER (i))
   6538       $ac_main_return(2);
   6539   $ac_main_return (0);
   6540 }
   6541 _ACEOF
   6542 rm -f conftest$ac_exeext
   6543 if { (eval echo "$as_me:6543: \"$ac_link\"") >&5
   6544   (eval $ac_link) 2>&5
   6545   ac_status=$?
   6546   echo "$as_me:6546: \$? = $ac_status" >&5
   6547   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6548   { (eval echo "$as_me:6548: \"$ac_try\"") >&5
   6549   (eval $ac_try) 2>&5
   6550   ac_status=$?
   6551   echo "$as_me:6551: \$? = $ac_status" >&5
   6552   (exit $ac_status); }; }; then
   6553   :
   6554 else
   6555   echo "$as_me: program exited with status $ac_status" >&5
   6556 echo "$as_me: failed program was:" >&5
   6557 cat conftest.$ac_ext >&5
   6558 ac_cv_header_stdc=no
   6559 fi
   6560 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6561 fi
   6562 fi
   6563 fi
   6564 echo "$as_me:6564: result: $ac_cv_header_stdc" >&5
   6565 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   6566 if test $ac_cv_header_stdc = yes; then
   6567 
   6568 cat >>confdefs.h <<\EOF
   6569 #define STDC_HEADERS 1
   6570 EOF
   6571 
   6572 fi
   6573 
   6574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6575 
   6576 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6577                   inttypes.h stdint.h unistd.h
   6578 do
   6579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6580 echo "$as_me:6580: checking for $ac_header" >&5
   6581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6583   echo $ECHO_N "(cached) $ECHO_C" >&6
   6584 else
   6585   cat >conftest.$ac_ext <<_ACEOF
   6586 #line 6586 "configure"
   6587 #include "confdefs.h"
   6588 $ac_includes_default
   6589 #include <$ac_header>
   6590 _ACEOF
   6591 rm -f conftest.$ac_objext
   6592 if { (eval echo "$as_me:6592: \"$ac_compile\"") >&5
   6593   (eval $ac_compile) 2>&5
   6594   ac_status=$?
   6595   echo "$as_me:6595: \$? = $ac_status" >&5
   6596   (exit $ac_status); } &&
   6597          { ac_try='test -s conftest.$ac_objext'
   6598   { (eval echo "$as_me:6598: \"$ac_try\"") >&5
   6599   (eval $ac_try) 2>&5
   6600   ac_status=$?
   6601   echo "$as_me:6601: \$? = $ac_status" >&5
   6602   (exit $ac_status); }; }; then
   6603   eval "$as_ac_Header=yes"
   6604 else
   6605   echo "$as_me: failed program was:" >&5
   6606 cat conftest.$ac_ext >&5
   6607 eval "$as_ac_Header=no"
   6608 fi
   6609 rm -f conftest.$ac_objext conftest.$ac_ext
   6610 fi
   6611 echo "$as_me:6611: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   6614   cat >>confdefs.h <<EOF
   6615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6616 EOF
   6617 
   6618 fi
   6619 done
   6620 
   6621 echo "$as_me:6621: checking for mode_t" >&5
   6622 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
   6623 if test "${ac_cv_type_mode_t+set}" = set; then
   6624   echo $ECHO_N "(cached) $ECHO_C" >&6
   6625 else
   6626   cat >conftest.$ac_ext <<_ACEOF
   6627 #line 6627 "configure"
   6628 #include "confdefs.h"
   6629 $ac_includes_default
   6630 int
   6631 main (void)
   6632 {
   6633 if ((mode_t *) 0)
   6634   return 0;
   6635 if (sizeof (mode_t))
   6636   return 0;
   6637   ;
   6638   return 0;
   6639 }
   6640 _ACEOF
   6641 rm -f conftest.$ac_objext
   6642 if { (eval echo "$as_me:6642: \"$ac_compile\"") >&5
   6643   (eval $ac_compile) 2>&5
   6644   ac_status=$?
   6645   echo "$as_me:6645: \$? = $ac_status" >&5
   6646   (exit $ac_status); } &&
   6647          { ac_try='test -s conftest.$ac_objext'
   6648   { (eval echo "$as_me:6648: \"$ac_try\"") >&5
   6649   (eval $ac_try) 2>&5
   6650   ac_status=$?
   6651   echo "$as_me:6651: \$? = $ac_status" >&5
   6652   (exit $ac_status); }; }; then
   6653   ac_cv_type_mode_t=yes
   6654 else
   6655   echo "$as_me: failed program was:" >&5
   6656 cat conftest.$ac_ext >&5
   6657 ac_cv_type_mode_t=no
   6658 fi
   6659 rm -f conftest.$ac_objext conftest.$ac_ext
   6660 fi
   6661 echo "$as_me:6661: result: $ac_cv_type_mode_t" >&5
   6662 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
   6663 if test $ac_cv_type_mode_t = yes; then
   6664   :
   6665 else
   6666 
   6667 cat >>confdefs.h <<EOF
   6668 #define mode_t int
   6669 EOF
   6670 
   6671 fi
   6672 
   6673 ###	output makefile
   6674 ac_config_files="$ac_config_files makefile"
   6675 cat >confcache <<\_ACEOF
   6676 # This file is a shell script that caches the results of configure
   6677 # tests run on this system so they can be shared between configure
   6678 # scripts and configure runs, see configure's option --config-cache.
   6679 # It is not useful on other systems.  If it contains results you don't
   6680 # want to keep, you may remove or edit it.
   6681 #
   6682 # config.status only pays attention to the cache file if you give it
   6683 # the --recheck option to rerun configure.
   6684 #
   6685 # `ac_cv_env_foo' variables (set or unset) will be overriden when
   6686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   6687 # following values.
   6688 
   6689 _ACEOF
   6690 
   6691 # The following way of writing the cache mishandles newlines in values,
   6692 # but we know of no workaround that is simple, portable, and efficient.
   6693 # So, don't put newlines in cache variables' values.
   6694 # Ultrix sh set writes to stderr and can't be redirected directly,
   6695 # and sets the high bit in the cache file unless we assign to the vars.
   6696 {
   6697   (set) 2>&1 |
   6698     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   6699     *ac_space=\ *)
   6700       # `set' does not quote correctly, so add quotes (double-quote
   6701       # substitution turns \\\\ into \\, and sed turns \\ into \).
   6702       sed -n \
   6703         "s/'/'\\\\''/g;
   6704     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   6705       ;;
   6706     *)
   6707       # `set' quotes correctly as required by POSIX, so do not add quotes.
   6708       sed -n \
   6709         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   6710       ;;
   6711     esac;
   6712 } |
   6713   sed '
   6714      t clear
   6715      : clear
   6716      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   6717      t end
   6718      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   6719      : end' >>confcache
   6720 if cmp -s $cache_file confcache; then :; else
   6721   if test -w $cache_file; then
   6722     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   6723     cat confcache >$cache_file
   6724   else
   6725     echo "not updating unwritable cache $cache_file"
   6726   fi
   6727 fi
   6728 rm -f confcache
   6729 
   6730 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   6731 # Let make expand exec_prefix.
   6732 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   6733 
   6734 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   6735 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   6736 # trailing colons and then remove the whole line if VPATH becomes empty
   6737 # (actually we leave an empty line to preserve line numbers).
   6738 if test "x$srcdir" = x.; then
   6739   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
   6740 s/:*\$(srcdir):*/:/;
   6741 s/:*\${srcdir}:*/:/;
   6742 s/:*@srcdir@:*/:/;
   6743 s/^\([^=]*=[ 	]*\):*/\1/;
   6744 s/:*$//;
   6745 s/^[^=]*=[ 	]*$//;
   6746 }'
   6747 fi
   6748 
   6749 DEFS=-DHAVE_CONFIG_H
   6750 
   6751 : ${CONFIG_STATUS=./config.status}
   6752 ac_clean_files_save=$ac_clean_files
   6753 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   6754 { echo "$as_me:6754: creating $CONFIG_STATUS" >&5
   6755 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   6756 cat >$CONFIG_STATUS <<_ACEOF
   6757 #! $SHELL
   6758 # Generated automatically by configure.
   6759 # Run this file to recreate the current configuration.
   6760 # Compiler output produced by configure, useful for debugging
   6761 # configure, is in config.log if it exists.
   6762 
   6763 debug=false
   6764 SHELL=\${CONFIG_SHELL-$SHELL}
   6765 ac_cs_invocation="\$0 \$@"
   6766 
   6767 _ACEOF
   6768 
   6769 cat >>$CONFIG_STATUS <<\_ACEOF
   6770 # Be Bourne compatible
   6771 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   6772   emulate sh
   6773   NULLCMD=:
   6774 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   6775   set -o posix
   6776 fi
   6777 
   6778 # Name of the executable.
   6779 as_me=`echo "$0" |sed 's,.*[\\/],,'`
   6780 
   6781 if expr a : '\(a\)' >/dev/null 2>&1; then
   6782   as_expr=expr
   6783 else
   6784   as_expr=false
   6785 fi
   6786 
   6787 rm -f conf$$ conf$$.exe conf$$.file
   6788 echo >conf$$.file
   6789 if ln -s conf$$.file conf$$ 2>/dev/null; then
   6790   # We could just check for DJGPP; but this test a) works b) is more generic
   6791   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   6792   if test -f conf$$.exe; then
   6793     # Don't use ln at all; we don't have any links
   6794     as_ln_s='cp -p'
   6795   else
   6796     as_ln_s='ln -s'
   6797   fi
   6798 elif ln conf$$.file conf$$ 2>/dev/null; then
   6799   as_ln_s=ln
   6800 else
   6801   as_ln_s='cp -p'
   6802 fi
   6803 rm -f conf$$ conf$$.exe conf$$.file
   6804 
   6805 as_executable_p="test -f"
   6806 
   6807 # Support unset when possible.
   6808 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   6809   as_unset=unset
   6810 else
   6811   as_unset=false
   6812 fi
   6813 
   6814 # NLS nuisances.
   6815 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   6816 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   6817 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   6818 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   6819 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   6820 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   6821 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   6822 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   6823 
   6824 # IFS
   6825 # We need space, tab and new line, in precisely that order.
   6826 as_nl='
   6827 '
   6828 IFS=" 	$as_nl"
   6829 
   6830 # CDPATH.
   6831 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   6832 
   6833 exec 6>&1
   6834 
   6835 _ACEOF
   6836 
   6837 # Files that config.status was made for.
   6838 if test -n "$ac_config_files"; then
   6839   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   6840 fi
   6841 
   6842 if test -n "$ac_config_headers"; then
   6843   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   6844 fi
   6845 
   6846 if test -n "$ac_config_links"; then
   6847   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   6848 fi
   6849 
   6850 if test -n "$ac_config_commands"; then
   6851   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   6852 fi
   6853 
   6854 cat >>$CONFIG_STATUS <<\EOF
   6855 
   6856 ac_cs_usage="\
   6857 \`$as_me' instantiates files from templates according to the
   6858 current configuration.
   6859 
   6860 Usage: $0 [OPTIONS] [FILE]...
   6861 
   6862   -h, --help       print this help, then exit
   6863   -V, --version    print version number, then exit
   6864   -d, --debug      don't remove temporary files
   6865       --recheck    update $as_me by reconfiguring in the same conditions
   6866   --file=FILE[:TEMPLATE]
   6867                    instantiate the configuration file FILE
   6868   --header=FILE[:TEMPLATE]
   6869                    instantiate the configuration header FILE
   6870 
   6871 Configuration files:
   6872 $config_files
   6873 
   6874 Configuration headers:
   6875 $config_headers
   6876 
   6877 Report bugs to <dickey@invisible-island.net>."
   6878 EOF
   6879 
   6880 cat >>$CONFIG_STATUS <<EOF
   6881 ac_cs_version="\\
   6882 config.status
   6883 configured by $0, generated by GNU Autoconf 2.52.20181006,
   6884   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   6885 
   6886 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   6887 Free Software Foundation, Inc.
   6888 This config.status script is free software; the Free Software Foundation
   6889 gives unlimited permission to copy, distribute and modify it."
   6890 srcdir=$srcdir
   6891 INSTALL="$INSTALL"
   6892 EOF
   6893 
   6894 cat >>$CONFIG_STATUS <<\EOF
   6895 # If no file are specified by the user, then we need to provide default
   6896 # value.  By we need to know if files were specified by the user.
   6897 ac_need_defaults=:
   6898 while test $# != 0
   6899 do
   6900   case $1 in
   6901   --*=*)
   6902     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   6903     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   6904     shift
   6905     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
   6906     shift
   6907     ;;
   6908   -*);;
   6909   *) # This is not an option, so the user has probably given explicit
   6910      # arguments.
   6911      ac_need_defaults=false;;
   6912   esac
   6913 
   6914   case $1 in
   6915   # Handling of the options.
   6916 EOF
   6917 cat >>$CONFIG_STATUS <<EOF
   6918   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   6919     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
   6920     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
   6921 EOF
   6922 cat >>$CONFIG_STATUS <<\EOF
   6923   --version | --vers* | -V )
   6924     echo "$ac_cs_version"; exit 0 ;;
   6925   --he | --h)
   6926     # Conflict between --help and --header
   6927     { { echo "$as_me:6927: error: ambiguous option: $1
   6928 Try \`$0 --help' for more information." >&5
   6929 echo "$as_me: error: ambiguous option: $1
   6930 Try \`$0 --help' for more information." >&2;}
   6931    { (exit 1); exit 1; }; };;
   6932   --help | --hel | -h )
   6933     echo "$ac_cs_usage"; exit 0 ;;
   6934   --debug | --d* | -d )
   6935     debug=: ;;
   6936   --file | --fil | --fi | --f )
   6937     shift
   6938     CONFIG_FILES="$CONFIG_FILES $1"
   6939     ac_need_defaults=false;;
   6940   --header | --heade | --head | --hea )
   6941     shift
   6942     CONFIG_HEADERS="$CONFIG_HEADERS $1"
   6943     ac_need_defaults=false;;
   6944 
   6945   # This is an error.
   6946   -*) { { echo "$as_me:6946: error: unrecognized option: $1
   6947 Try \`$0 --help' for more information." >&5
   6948 echo "$as_me: error: unrecognized option: $1
   6949 Try \`$0 --help' for more information." >&2;}
   6950    { (exit 1); exit 1; }; } ;;
   6951 
   6952   *) ac_config_targets="$ac_config_targets $1" ;;
   6953 
   6954   esac
   6955   shift
   6956 done
   6957 
   6958 exec 5>>config.log
   6959 cat >&5 << _ACEOF
   6960 
   6961 ## ----------------------- ##
   6962 ## Running config.status.  ##
   6963 ## ----------------------- ##
   6964 
   6965 This file was extended by $as_me 2.52.20181006, executed with
   6966   CONFIG_FILES    = $CONFIG_FILES
   6967   CONFIG_HEADERS  = $CONFIG_HEADERS
   6968   CONFIG_LINKS    = $CONFIG_LINKS
   6969   CONFIG_COMMANDS = $CONFIG_COMMANDS
   6970   > $ac_cs_invocation
   6971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   6972 
   6973 _ACEOF
   6974 EOF
   6975 
   6976 cat >>$CONFIG_STATUS <<\EOF
   6977 for ac_config_target in $ac_config_targets
   6978 do
   6979   case "$ac_config_target" in
   6980   # Handling of arguments.
   6981   "makefile" ) CONFIG_FILES="$CONFIG_FILES makefile" ;;
   6982   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config_h.in" ;;
   6983   *) { { echo "$as_me:6983: error: invalid argument: $ac_config_target" >&5
   6984 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   6985    { (exit 1); exit 1; }; };;
   6986   esac
   6987 done
   6988 
   6989 # If the user did not use the arguments to specify the items to instantiate,
   6990 # then the envvar interface is used.  Set only those that are not.
   6991 # We use the long form for the default assignment because of an extremely
   6992 # bizarre bug on SunOS 4.1.3.
   6993 if $ac_need_defaults; then
   6994   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   6995   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   6996 fi
   6997 
   6998 # Create a temporary directory, and hook for its removal unless debugging.
   6999 $debug ||
   7000 {
   7001   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   7002   trap '{ (exit 1); exit 1; }' 1 2 13 15
   7003 }
   7004 
   7005 # Create a (secure) tmp directory for tmp files.
   7006 : ${TMPDIR=/tmp}
   7007 {
   7008   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
   7009   test -n "$tmp" && test -d "$tmp"
   7010 }  ||
   7011 {
   7012   tmp=$TMPDIR/cs$$-$RANDOM
   7013   (umask 077 && mkdir $tmp)
   7014 } ||
   7015 {
   7016    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   7017    { (exit 1); exit 1; }
   7018 }
   7019 
   7020 EOF
   7021 
   7022 cat >>$CONFIG_STATUS <<EOF
   7023 
   7024 #
   7025 # CONFIG_FILES section.
   7026 #
   7027 
   7028 # No need to generate the scripts if there are no CONFIG_FILES.
   7029 # This happens for instance when ./config.status config.h
   7030 if test -n "\$CONFIG_FILES"; then
   7031   # Protect against being on the right side of a sed subst in config.status.
   7032   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   7033    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   7034 s,@SHELL@,$SHELL,;t t
   7035 s,@exec_prefix@,$exec_prefix,;t t
   7036 s,@prefix@,$prefix,;t t
   7037 s,@program_transform_name@,$program_transform_name,;t t
   7038 s,@bindir@,$bindir,;t t
   7039 s,@sbindir@,$sbindir,;t t
   7040 s,@libexecdir@,$libexecdir,;t t
   7041 s,@datarootdir@,$datarootdir,;t t
   7042 s,@datadir@,$datadir,;t t
   7043 s,@sysconfdir@,$sysconfdir,;t t
   7044 s,@sharedstatedir@,$sharedstatedir,;t t
   7045 s,@localstatedir@,$localstatedir,;t t
   7046 s,@runstatedir@,$runstatedir,;t t
   7047 s,@libdir@,$libdir,;t t
   7048 s,@includedir@,$includedir,;t t
   7049 s,@oldincludedir@,$oldincludedir,;t t
   7050 s,@infodir@,$infodir,;t t
   7051 s,@mandir@,$mandir,;t t
   7052 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   7053 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   7054 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   7055 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   7056 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   7057 s,@build_alias@,$build_alias,;t t
   7058 s,@host_alias@,$host_alias,;t t
   7059 s,@target_alias@,$target_alias,;t t
   7060 s,@ECHO_C@,$ECHO_C,;t t
   7061 s,@ECHO_N@,$ECHO_N,;t t
   7062 s,@ECHO_T@,$ECHO_T,;t t
   7063 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   7064 s,@DEFS@,$DEFS,;t t
   7065 s,@LIBS@,$LIBS,;t t
   7066 s,@build@,$build,;t t
   7067 s,@build_cpu@,$build_cpu,;t t
   7068 s,@build_vendor@,$build_vendor,;t t
   7069 s,@build_os@,$build_os,;t t
   7070 s,@host@,$host,;t t
   7071 s,@host_cpu@,$host_cpu,;t t
   7072 s,@host_vendor@,$host_vendor,;t t
   7073 s,@host_os@,$host_os,;t t
   7074 s,@target@,$target,;t t
   7075 s,@target_cpu@,$target_cpu,;t t
   7076 s,@target_vendor@,$target_vendor,;t t
   7077 s,@target_os@,$target_os,;t t
   7078 s,@CC@,$CC,;t t
   7079 s,@CFLAGS@,$CFLAGS,;t t
   7080 s,@LDFLAGS@,$LDFLAGS,;t t
   7081 s,@CPPFLAGS@,$CPPFLAGS,;t t
   7082 s,@ac_ct_CC@,$ac_ct_CC,;t t
   7083 s,@EXEEXT@,$EXEEXT,;t t
   7084 s,@OBJEXT@,$OBJEXT,;t t
   7085 s,@EXTRA_CPPFLAGS@,$EXTRA_CPPFLAGS,;t t
   7086 s,@SET_MAKE@,$SET_MAKE,;t t
   7087 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   7088 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   7089 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   7090 s,@CTAGS@,$CTAGS,;t t
   7091 s,@ETAGS@,$ETAGS,;t t
   7092 s,@MAKE_LOWER_TAGS@,$MAKE_LOWER_TAGS,;t t
   7093 s,@MAKE_UPPER_TAGS@,$MAKE_UPPER_TAGS,;t t
   7094 s,@AWK@,$AWK,;t t
   7095 s,@LINT@,$LINT,;t t
   7096 s,@LINT_OPTS@,$LINT_OPTS,;t t
   7097 s,@CPP@,$CPP,;t t
   7098 s,@SKELETON@,$SKELETON,;t t
   7099 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
   7100 s,@ECHO_LT@,$ECHO_LT,;t t
   7101 s,@ECHO_LD@,$ECHO_LD,;t t
   7102 s,@RULE_CC@,$RULE_CC,;t t
   7103 s,@SHOW_CC@,$SHOW_CC,;t t
   7104 s,@ECHO_CC@,$ECHO_CC,;t t
   7105 s,@GROFF_PATH@,$GROFF_PATH,;t t
   7106 s,@NROFF_PATH@,$NROFF_PATH,;t t
   7107 s,@TBL_PATH@,$TBL_PATH,;t t
   7108 s,@GROFF_NOTE@,$GROFF_NOTE,;t t
   7109 s,@NROFF_NOTE@,$NROFF_NOTE,;t t
   7110 s,@cf_man2html@,$cf_man2html,;t t
   7111 s,@MAN2HTML_NOTE@,$MAN2HTML_NOTE,;t t
   7112 s,@MAN2HTML_PATH@,$MAN2HTML_PATH,;t t
   7113 s,@MAN2HTML_TEMP@,$MAN2HTML_TEMP,;t t
   7114 CEOF
   7115 
   7116 EOF
   7117 
   7118   cat >>$CONFIG_STATUS <<\EOF
   7119   # Split the substitutions into bite-sized pieces for seds with
   7120   # small command number limits, like on Digital OSF/1 and HP-UX.
   7121   ac_max_sed_lines=48
   7122   ac_sed_frag=1 # Number of current file.
   7123   ac_beg=1 # First line for current file.
   7124   ac_end=$ac_max_sed_lines # Line after last line for current file.
   7125   ac_more_lines=:
   7126   ac_sed_cmds=
   7127   while $ac_more_lines; do
   7128     if test $ac_beg -gt 1; then
   7129       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7130     else
   7131       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7132     fi
   7133     if test ! -s $tmp/subs.frag; then
   7134       ac_more_lines=false
   7135     else
   7136       # The purpose of the label and of the branching condition is to
   7137       # speed up the sed processing (if there are no `@' at all, there
   7138       # is no need to browse any of the substitutions).
   7139       # These are the two extra sed commands mentioned above.
   7140       (echo ':t
   7141   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   7142       # It is possible to make a multiline substitution using escaped newlines.
   7143       # Ensure that we do not split the substitution between script fragments.
   7144       ac_BEG=$ac_end
   7145       ac_END=`expr $ac_end + $ac_max_sed_lines`
   7146       sed "1,${ac_BEG}d; ${ac_END}p; q" $tmp/subs.sed >$tmp/subs.next
   7147       if test -s $tmp/subs.next; then
   7148         grep '^s,@[^@,][^@,]*@,.*\\$' $tmp/subs.next >$tmp/subs.edit
   7149         if test ! -s $tmp/subs.edit; then
   7150           grep "^s,@[^@,][^@,]*@,.*,;t t$" $tmp/subs.next >$tmp/subs.edit
   7151           if test ! -s $tmp/subs.edit; then
   7152             if test $ac_beg -gt 1; then
   7153               ac_end=`expr $ac_end - 1`
   7154               continue
   7155             fi
   7156           fi
   7157         fi
   7158       fi
   7159 
   7160       if test -z "$ac_sed_cmds"; then
   7161         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   7162       else
   7163         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   7164       fi
   7165       ac_sed_frag=`expr $ac_sed_frag + 1`
   7166       ac_beg=$ac_end
   7167       ac_end=`expr $ac_end + $ac_max_sed_lines`
   7168     fi
   7169   done
   7170   if test -z "$ac_sed_cmds"; then
   7171     ac_sed_cmds=cat
   7172   fi
   7173 fi # test -n "$CONFIG_FILES"
   7174 
   7175 EOF
   7176 cat >>$CONFIG_STATUS <<\EOF
   7177 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   7178   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7179   case $ac_file in
   7180   - | *:- | *:-:* ) # input from stdin
   7181         cat >$tmp/stdin
   7182         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7183         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7184   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7185         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7186   * )   ac_file_in=$ac_file.in ;;
   7187   esac
   7188 
   7189   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   7190   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7191          X"$ac_file" : 'X\(//\)[^/]' \| \
   7192          X"$ac_file" : 'X\(//\)$' \| \
   7193          X"$ac_file" : 'X\(/\)' \| \
   7194          .     : '\(.\)' 2>/dev/null ||
   7195 echo X"$ac_file" |
   7196     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7197   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7198   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7199   	  /^X\(\/\).*/{ s//\1/; q; }
   7200   	  s/.*/./; q'`
   7201   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   7202     { case "$ac_dir" in
   7203   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
   7204   *)                      as_incr_dir=.;;
   7205 esac
   7206 as_dummy="$ac_dir"
   7207 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
   7208   case $as_mkdir_dir in
   7209     # Skip DOS drivespec
   7210     ?:) as_incr_dir=$as_mkdir_dir ;;
   7211     *)
   7212       as_incr_dir=$as_incr_dir/$as_mkdir_dir
   7213       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
   7214     ;;
   7215   esac
   7216 done; }
   7217 
   7218     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
   7219     # A "../" for each directory in $ac_dir_suffix.
   7220     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
   7221   else
   7222     ac_dir_suffix= ac_dots=
   7223   fi
   7224 
   7225   case $srcdir in
   7226   .)  ac_srcdir=.
   7227       if test -z "$ac_dots"; then
   7228          ac_top_srcdir=.
   7229       else
   7230          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
   7231       fi ;;
   7232   [\\/]* | ?:[\\/]* )
   7233       ac_srcdir=$srcdir$ac_dir_suffix;
   7234       ac_top_srcdir=$srcdir ;;
   7235   *) # Relative path.
   7236     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
   7237     ac_top_srcdir=$ac_dots$srcdir ;;
   7238   esac
   7239 
   7240   case $INSTALL in
   7241   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   7242   *) ac_INSTALL=$ac_dots$INSTALL ;;
   7243   esac
   7244 
   7245   if test x"$ac_file" != x-; then
   7246     { echo "$as_me:7246: creating $ac_file" >&5
   7247 echo "$as_me: creating $ac_file" >&6;}
   7248     rm -f "$ac_file"
   7249   fi
   7250   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7251   # use $as_me), people would be surprised to read:
   7252   #    /* config.h.  Generated automatically by config.status.  */
   7253   configure_input="Generated automatically from `echo $ac_file_in |
   7254                                                  sed 's,.*/,,'` by configure."
   7255 
   7256   # First look for the input files in the build tree, otherwise in the
   7257   # src tree.
   7258   ac_file_inputs=`IFS=:
   7259     for f in $ac_file_in; do
   7260       case $f in
   7261       -) echo $tmp/stdin ;;
   7262       [\\/$]*)
   7263          # Absolute (can't be DOS-style, as IFS=:)
   7264          test -f "$f" || { { echo "$as_me:7264: error: cannot find input file: $f" >&5
   7265 echo "$as_me: error: cannot find input file: $f" >&2;}
   7266    { (exit 1); exit 1; }; }
   7267          echo $f;;
   7268       *) # Relative
   7269          if test -f "$f"; then
   7270            # Build tree
   7271            echo $f
   7272          elif test -f "$srcdir/$f"; then
   7273            # Source tree
   7274            echo $srcdir/$f
   7275          else
   7276            # /dev/null tree
   7277            { { echo "$as_me:7277: error: cannot find input file: $f" >&5
   7278 echo "$as_me: error: cannot find input file: $f" >&2;}
   7279    { (exit 1); exit 1; }; }
   7280          fi;;
   7281       esac
   7282     done` || { (exit 1); exit 1; }
   7283 EOF
   7284 cat >>$CONFIG_STATUS <<\EOF
   7285   ac_warn_datarootdir=no
   7286   if test x"$ac_file" != x-; then
   7287     for ac_item in $ac_file_inputs
   7288     do
   7289       ac_seen=`grep '@\(datadir\|mandir\|infodir\)@' $ac_item`
   7290       if test -n "$ac_seen"; then
   7291         ac_used=`grep '@datarootdir@' $ac_item`
   7292         if test -z "$ac_used"; then
   7293           { echo "$as_me:7293: WARNING: datarootdir was used implicitly but not set:
   7294 $ac_seen" >&5
   7295 echo "$as_me: WARNING: datarootdir was used implicitly but not set:
   7296 $ac_seen" >&2;}
   7297           ac_warn_datarootdir=yes
   7298         fi
   7299       fi
   7300       ac_seen=`grep '${datarootdir}' $ac_item`
   7301       if test -n "$ac_seen"; then
   7302         { echo "$as_me:7302: WARNING: datarootdir was used explicitly but not set:
   7303 $ac_seen" >&5
   7304 echo "$as_me: WARNING: datarootdir was used explicitly but not set:
   7305 $ac_seen" >&2;}
   7306         ac_warn_datarootdir=yes
   7307       fi
   7308     done
   7309   fi
   7310 
   7311 if test "x$ac_warn_datarootdir" = xyes; then
   7312   ac_sed_cmds="$ac_sed_cmds | sed -e 's,@datarootdir@,\${prefix}/share,g' -e 's,\${datarootdir},\${prefix}/share,g'"
   7313 fi
   7314 
   7315 EOF
   7316 cat >>$CONFIG_STATUS <<EOF
   7317   sed "$ac_vpsub
   7318 $extrasub
   7319 EOF
   7320 cat >>$CONFIG_STATUS <<\EOF
   7321 :t
   7322 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   7323 s,@configure_input@,$configure_input,;t t
   7324 s,@srcdir@,$ac_srcdir,;t t
   7325 s,@top_srcdir@,$ac_top_srcdir,;t t
   7326 s,@INSTALL@,$ac_INSTALL,;t t
   7327 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   7328   rm -f $tmp/stdin
   7329   if test x"$ac_file" != x-; then
   7330     cp $tmp/out $ac_file
   7331 
   7332     for ac_name in prefix exec_prefix datarootdir
   7333     do
   7334         ac_seen=`fgrep -n '${'$ac_name'[:=].*}' $ac_file`
   7335         if test -n "$ac_seen"; then
   7336             ac_init=`egrep '[ 	]*'$ac_name'[ 	]*=' $ac_file`
   7337             if test -z "$ac_init"; then
   7338               ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'`
   7339               { echo "$as_me:7339: WARNING: Variable $ac_name is used but was not set:
   7340 $ac_seen" >&5
   7341 echo "$as_me: WARNING: Variable $ac_name is used but was not set:
   7342 $ac_seen" >&2;}
   7343             fi
   7344         fi
   7345     done
   7346     egrep -n '@[a-z_][a-z_0-9]+@' $ac_file >$tmp/out
   7347     egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out
   7348     if test -s $tmp/out; then
   7349       ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out`
   7350       { echo "$as_me:7350: WARNING: Some variables may not be substituted:
   7351 $ac_seen" >&5
   7352 echo "$as_me: WARNING: Some variables may not be substituted:
   7353 $ac_seen" >&2;}
   7354     fi
   7355   else
   7356     cat $tmp/out
   7357   fi
   7358   rm -f $tmp/out
   7359 
   7360 done
   7361 EOF
   7362 cat >>$CONFIG_STATUS <<\EOF
   7363 
   7364 #
   7365 # CONFIG_HEADER section.
   7366 #
   7367 
   7368 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   7369 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   7370 #
   7371 # ac_d sets the value in "#define NAME VALUE" lines.
   7372 ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
   7373 ac_dB='[ 	].*$,\1#\2'
   7374 ac_dC=' '
   7375 ac_dD=',;t'
   7376 # ac_i turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
   7377 ac_iA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
   7378 ac_iB='\([ 	]\),\1#\2define\3'
   7379 ac_iC=' '
   7380 ac_iD='\4,;t'
   7381 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   7382 ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
   7383 ac_uB='$,\1#\2define\3'
   7384 ac_uC=' '
   7385 ac_uD=',;t'
   7386 
   7387 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   7388   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7389   case $ac_file in
   7390   - | *:- | *:-:* ) # input from stdin
   7391         cat >$tmp/stdin
   7392         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7393         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7394   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7395         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7396   * )   ac_file_in=$ac_file.in ;;
   7397   esac
   7398 
   7399   test x"$ac_file" != x- && { echo "$as_me:7399: creating $ac_file" >&5
   7400 echo "$as_me: creating $ac_file" >&6;}
   7401 
   7402   # First look for the input files in the build tree, otherwise in the
   7403   # src tree.
   7404   ac_file_inputs=`IFS=:
   7405     for f in $ac_file_in; do
   7406       case $f in
   7407       -) echo $tmp/stdin ;;
   7408       [\\/$]*)
   7409          # Absolute (can't be DOS-style, as IFS=:)
   7410          test -f "$f" || { { echo "$as_me:7410: error: cannot find input file: $f" >&5
   7411 echo "$as_me: error: cannot find input file: $f" >&2;}
   7412    { (exit 1); exit 1; }; }
   7413          echo $f;;
   7414       *) # Relative
   7415          if test -f "$f"; then
   7416            # Build tree
   7417            echo $f
   7418          elif test -f "$srcdir/$f"; then
   7419            # Source tree
   7420            echo $srcdir/$f
   7421          else
   7422            # /dev/null tree
   7423            { { echo "$as_me:7423: error: cannot find input file: $f" >&5
   7424 echo "$as_me: error: cannot find input file: $f" >&2;}
   7425    { (exit 1); exit 1; }; }
   7426          fi;;
   7427       esac
   7428     done` || { (exit 1); exit 1; }
   7429   # Remove the trailing spaces.
   7430   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
   7431 
   7432 EOF
   7433 
   7434 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   7435 # `conftest.undefs', that substitutes the proper values into
   7436 # config.h.in to produce config.h.  The first handles `#define'
   7437 # templates, and the second `#undef' templates.
   7438 # And first: Protect against being on the right side of a sed subst in
   7439 # config.status.  Protect against being in an unquoted here document
   7440 # in config.status.
   7441 rm -f conftest.defines conftest.undefs
   7442 # Using a here document instead of a string reduces the quoting nightmare.
   7443 # Putting comments in sed scripts is not portable.
   7444 #
   7445 # `end' is used to avoid that the second main sed command (meant for
   7446 # 0-ary CPP macros) applies to n-ary macro definitions.
   7447 # See the Autoconf documentation for `clear'.
   7448 cat >confdef2sed.sed <<\EOF
   7449 s/[\\&,]/\\&/g
   7450 s,[\\$`],\\&,g
   7451 t clear
   7452 : clear
   7453 s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
   7454 t end
   7455 s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   7456 : end
   7457 EOF
   7458 # If some macros were called several times there might be several times
   7459 # the same #defines, which is useless.  Nevertheless, we may not want to
   7460 # sort them, since we want the *last* AC-DEFINE to be honored.
   7461 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   7462 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   7463 sed 's/ac_d/ac_i/g' conftest.defines >>conftest.undefs
   7464 rm -f confdef2sed.sed
   7465 
   7466 # This sed command replaces #undef with comments.  This is necessary, for
   7467 # example, in the case of _POSIX_SOURCE, which is predefined and required
   7468 # on some systems where configure will not decide to define it.
   7469 cat >>conftest.undefs <<\EOF
   7470 s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   7471 EOF
   7472 
   7473 # Break up conftest.defines because some shells have a limit on the size
   7474 # of here documents, and old seds have small limits too (100 cmds).
   7475 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   7476 echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   7477 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   7478 echo '  :' >>$CONFIG_STATUS
   7479 rm -f conftest.tail
   7480 while grep . conftest.defines >/dev/null
   7481 do
   7482   # Write a limited-size here document to $tmp/defines.sed.
   7483   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   7484   # Speed up: don't consider the non `#define' lines.
   7485   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
   7486   # Work around the forget-to-reset-the-flag bug.
   7487   echo 't clr' >>$CONFIG_STATUS
   7488   echo ': clr' >>$CONFIG_STATUS
   7489   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   7490   echo 'CEOF
   7491   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   7492   rm -f $tmp/in
   7493   mv $tmp/out $tmp/in
   7494 ' >>$CONFIG_STATUS
   7495   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   7496   rm -f conftest.defines
   7497   mv conftest.tail conftest.defines
   7498 done
   7499 rm -f conftest.defines
   7500 echo '  fi # egrep' >>$CONFIG_STATUS
   7501 echo >>$CONFIG_STATUS
   7502 
   7503 # Break up conftest.undefs because some shells have a limit on the size
   7504 # of here documents, and old seds have small limits too (100 cmds).
   7505 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   7506 rm -f conftest.tail
   7507 while grep . conftest.undefs >/dev/null
   7508 do
   7509   # Write a limited-size here document to $tmp/undefs.sed.
   7510   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   7511   # Speed up: don't consider the non `#undef'
   7512   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
   7513   # Work around the forget-to-reset-the-flag bug.
   7514   echo 't clr' >>$CONFIG_STATUS
   7515   echo ': clr' >>$CONFIG_STATUS
   7516   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   7517   echo 'CEOF
   7518   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   7519   rm -f $tmp/in
   7520   mv $tmp/out $tmp/in
   7521 ' >>$CONFIG_STATUS
   7522   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   7523   rm -f conftest.undefs
   7524   mv conftest.tail conftest.undefs
   7525 done
   7526 rm -f conftest.undefs
   7527 
   7528 cat >>$CONFIG_STATUS <<\EOF
   7529   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7530   # use $as_me), people would be surprised to read:
   7531   #    /* config.h.  Generated automatically by config.status.  */
   7532   if test x"$ac_file" = x-; then
   7533     echo "/* Generated automatically by configure.  */" >$tmp/config.h
   7534   else
   7535     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
   7536   fi
   7537   cat $tmp/in >>$tmp/config.h
   7538   rm -f $tmp/in
   7539   if test x"$ac_file" != x-; then
   7540     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
   7541       { echo "$as_me:7541: $ac_file is unchanged" >&5
   7542 echo "$as_me: $ac_file is unchanged" >&6;}
   7543     else
   7544       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7545          X"$ac_file" : 'X\(//\)[^/]' \| \
   7546          X"$ac_file" : 'X\(//\)$' \| \
   7547          X"$ac_file" : 'X\(/\)' \| \
   7548          .     : '\(.\)' 2>/dev/null ||
   7549 echo X"$ac_file" |
   7550     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7551   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7552   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7553   	  /^X\(\/\).*/{ s//\1/; q; }
   7554   	  s/.*/./; q'`
   7555       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   7556         { case "$ac_dir" in
   7557   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
   7558   *)                      as_incr_dir=.;;
   7559 esac
   7560 as_dummy="$ac_dir"
   7561 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
   7562   case $as_mkdir_dir in
   7563     # Skip DOS drivespec
   7564     ?:) as_incr_dir=$as_mkdir_dir ;;
   7565     *)
   7566       as_incr_dir=$as_incr_dir/$as_mkdir_dir
   7567       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
   7568     ;;
   7569   esac
   7570 done; }
   7571 
   7572       fi
   7573       rm -f $ac_file
   7574       mv $tmp/config.h $ac_file
   7575     fi
   7576   else
   7577     cat $tmp/config.h
   7578     rm -f $tmp/config.h
   7579   fi
   7580 done
   7581 EOF
   7582 
   7583 cat >>$CONFIG_STATUS <<\EOF
   7584 
   7585 { (exit 0); exit 0; }
   7586 EOF
   7587 chmod +x $CONFIG_STATUS
   7588 ac_clean_files=$ac_clean_files_save
   7589 
   7590 # configure is writing to config.log, and then calls config.status.
   7591 # config.status does its own redirection, appending to config.log.
   7592 # Unfortunately, on DOS this fails, as config.log is still kept open
   7593 # by configure, so config.status won't be able to write to it; its
   7594 # output is simply discarded.  So we exec the FD to /dev/null,
   7595 # effectively closing config.log, so it can be properly (re)opened and
   7596 # appended to by config.status.  When coming back to configure, we
   7597 # need to make the FD available again.
   7598 if test "$no_create" != yes; then
   7599   ac_cs_success=:
   7600   exec 5>/dev/null
   7601   $SHELL $CONFIG_STATUS || ac_cs_success=false
   7602   exec 5>>config.log
   7603   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   7604   # would make configure fail if this is the last instruction.
   7605   $ac_cs_success || { (exit 1); exit 1; }
   7606 fi
   7607 
   7608 test -z "$cf_make_docs" && cf_make_docs=0
   7609 
   7610 cf_output=makefile
   7611 test -f "$cf_output" || cf_output=Makefile
   7612 
   7613 if test "$cf_make_docs" = 0
   7614 then
   7615 cat >>$cf_output <<CF_EOF
   7616 ################################################################################
   7617 ## generated by CF_MAKE_DOCS
   7618 .SUFFIXES : .html .1 .man .ps .pdf .txt
   7619 
   7620 ${NROFF_NOTE}.1.txt :
   7621 ${NROFF_NOTE}	\$(SHELL) -c "tbl \$*.1 | nroff -man | col -bx" >\$@
   7622 
   7623 ${GROFF_NOTE}.ps.pdf :
   7624 ${GROFF_NOTE}	ps2pdf \$*.ps
   7625 ${GROFF_NOTE}
   7626 ${GROFF_NOTE}.1.ps :
   7627 ${GROFF_NOTE}	\$(SHELL) -c "tbl \$*.1 | groff -man" >\$@
   7628 ${GROFF_NOTE}
   7629 ${GROFF_NOTE}.1.txt :
   7630 ${GROFF_NOTE}	GROFF_NO_SGR=stupid \$(SHELL) -c "tbl \$*.1 | nroff -Tascii -man | col -bx" >\$@
   7631 
   7632 ${MAN2HTML_NOTE}.1.html :
   7633 ${MAN2HTML_NOTE}	./${MAN2HTML_TEMP} \$* 1 man >\$@
   7634 
   7635 CF_EOF
   7636 	cf_make_docs=1
   7637 fi
   7638 
   7639 for cf_name in yacc
   7640 do
   7641 cat >>$cf_output <<CF_EOF
   7642 ################################################################################
   7643 ${NROFF_NOTE}docs docs-$cf_name :: $cf_name.txt
   7644 ${MAN2HTML_NOTE}docs docs-$cf_name :: $cf_name.html
   7645 ${GROFF_NOTE}docs docs-$cf_name :: $cf_name.pdf
   7646 ${GROFF_NOTE}docs docs-$cf_name :: $cf_name.ps
   7647 ${GROFF_NOTE}docs docs-$cf_name :: $cf_name.txt
   7648 
   7649 clean \\
   7650 docs-clean ::
   7651 ${NROFF_NOTE}	rm -f $cf_name.txt
   7652 ${MAN2HTML_NOTE}	rm -f $cf_name.html
   7653 ${GROFF_NOTE}	rm -f $cf_name.pdf
   7654 ${GROFF_NOTE}	rm -f $cf_name.ps
   7655 ${GROFF_NOTE}	rm -f $cf_name.txt
   7656 
   7657 ${NROFF_NOTE}$cf_name.txt  : $cf_name.1
   7658 ${MAN2HTML_NOTE}$cf_name.html : $cf_name.1
   7659 ${GROFF_NOTE}$cf_name.pdf  : $cf_name.ps
   7660 ${GROFF_NOTE}$cf_name.ps   : $cf_name.1
   7661 ${GROFF_NOTE}$cf_name.txt  : $cf_name.1
   7662 CF_EOF
   7663 done
   7664 
   7665