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