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