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