"Fossies" - the Fresh Open Source Software Archive

Member "c_count-7.20/configure" (8 Jan 2021, 177786 Bytes) of package /linux/privat/c_count-7.20.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 7.19_vs_7.20.

    1 #! /bin/sh
    2 # From configure.in Revision: 7.18 .
    3 # Guess values for system-dependent variables and create Makefiles.
    4 # Generated by Autoconf 2.52.20210105.
    5 #
    6 # Copyright 2003-2020,2021  Thomas E. Dickey
    7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    8 # Free Software Foundation, Inc.
    9 # This configure script is free software; the Free Software Foundation
   10 # gives unlimited permission to copy, distribute and modify it.
   11 
   12 # Avoid depending upon Character Ranges.
   13 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16 as_cr_digits='0123456789'
   17 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18 
   19 # Sed expression to map a string onto a valid variable name.
   20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21 
   22 # Sed expression to map a string onto a valid CPP name.
   23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   24 
   25 # Be Bourne compatible
   26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   27   emulate sh
   28   NULLCMD=:
   29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   30   set -o posix
   31 fi
   32 
   33 # Name of the executable.
   34 as_me=`echo "$0" |sed 's,.*[\\/],,'`
   35 
   36 if expr a : '\(a\)' >/dev/null 2>&1; then
   37   as_expr=expr
   38 else
   39   as_expr=false
   40 fi
   41 
   42 rm -f conf$$ conf$$.exe conf$$.file
   43 echo >conf$$.file
   44 if ln -s conf$$.file conf$$ 2>/dev/null; then
   45   # We could just check for DJGPP; but this test a) works b) is more generic
   46   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   47   if test -f conf$$.exe; then
   48     # Don't use ln at all; we don't have any links
   49     as_ln_s='cp -p'
   50   else
   51     as_ln_s='ln -s'
   52   fi
   53 elif ln conf$$.file conf$$ 2>/dev/null; then
   54   as_ln_s=ln
   55 else
   56   as_ln_s='cp -p'
   57 fi
   58 rm -f conf$$ conf$$.exe conf$$.file
   59 
   60 as_executable_p="test -f"
   61 
   62 # Support unset when possible.
   63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   64   as_unset="unset"
   65 else
   66   as_unset="false"
   67 fi
   68 
   69 # NLS nuisances.
   70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   78 
   79 # IFS
   80 # We need space, tab and new line, in precisely that order.
   81 as_nl='
   82 '
   83 IFS="   $as_nl"
   84 
   85 # CDPATH.
   86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   87 
   88 # Name of the host.
   89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   90 # so uname gets run too.
   91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   92 
   93 exec 6>&1
   94 
   95 #
   96 # Initializations.
   97 #
   98 ac_default_prefix=/usr/local
   99 cross_compiling=no
  100 subdirs=
  101 MFLAGS=
  102 MAKEFLAGS=
  103 SHELL=${CONFIG_SHELL-/bin/sh}
  104 
  105 # Maximum number of lines to put in a shell here document.
  106 # This variable seems obsolete.  It should probably be removed, and
  107 # only ac_max_sed_lines should be used.
  108 : "${ac_max_here_lines=38}"
  109 
  110 ac_unique_file="c_count.c"
  111 
  112 # Initialize some variables set by options.
  113 ac_init_help=
  114 ac_init_version=false
  115 # The variables have the same names as the options, with
  116 # dashes changed to underlines.
  117 cache_file=/dev/null
  118 exec_prefix=NONE
  119 no_create=
  120 no_recursion=
  121 prefix=NONE
  122 program_prefix=NONE
  123 program_suffix=NONE
  124 program_transform_name=s,x,x,
  125 silent=
  126 site=
  127 srcdir=
  128 verbose=
  129 x_includes=NONE
  130 x_libraries=NONE
  131 
  132 # Installation directory options.
  133 # These are left unexpanded so users can "make install exec_prefix=/foo"
  134 # and all the variables that are supposed to be based on exec_prefix
  135 # by default will actually change.
  136 # Use braces instead of parens because sh, perl, etc. also accept them.
  137 bindir='${exec_prefix}/bin'
  138 sbindir='${exec_prefix}/sbin'
  139 libexecdir='${exec_prefix}/libexec'
  140 datarootdir='${prefix}/share'
  141 datadir='${datarootdir}'
  142 sysconfdir='${prefix}/etc'
  143 sharedstatedir='${prefix}/com'
  144 localstatedir='${prefix}/var'
  145 runstatedir='${localstatedir}/run'
  146 libdir='${exec_prefix}/lib'
  147 includedir='${prefix}/include'
  148 oldincludedir='/usr/include'
  149 infodir='${datarootdir}/info'
  150 mandir='${datarootdir}/man'
  151 
  152 # Identity of this package.
  153 PACKAGE_NAME=
  154 PACKAGE_TARNAME=
  155 PACKAGE_VERSION=
  156 PACKAGE_STRING=
  157 PACKAGE_BUGREPORT=
  158 
  159 ac_prev=
  160 for ac_option
  161 do
  162   # If the previous option needs an argument, assign it.
  163   if test -n "$ac_prev"; then
  164     eval "$ac_prev=\$ac_option"
  165     ac_prev=
  166     continue
  167   fi
  168 
  169   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  170 
  171   # Accept the important Cygnus configure options, so we can diagnose typos.
  172 
  173   case "$ac_option" in
  174 
  175   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  176     ac_prev=bindir ;;
  177   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  178     bindir=$ac_optarg ;;
  179 
  180   -build | --build | --buil | --bui | --bu)
  181     ac_prev=build_alias ;;
  182   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  183     build_alias=$ac_optarg ;;
  184 
  185   -cache-file | --cache-file | --cache-fil | --cache-fi \
  186   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  187     ac_prev=cache_file ;;
  188   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  189   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  190     cache_file=$ac_optarg ;;
  191 
  192   --config-cache | -C)
  193     cache_file=config.cache ;;
  194 
  195   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  196     ac_prev=datadir ;;
  197   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  198   | --da=*)
  199     datadir=$ac_optarg ;;
  200 
  201   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  202   | --dataroo | --dataro | --datar)
  203     ac_prev=datarootdir ;;
  204   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  205   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  206     datarootdir=$ac_optarg ;;
  207 
  208   -disable-* | --disable-*)
  209     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  210     # Reject names that are not valid shell variable names.
  211     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  212       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  213    { (exit 1); exit 1; }; }
  214     ac_feature=`echo "$ac_feature" | sed 's/-/_/g'`
  215     eval "enable_$ac_feature=no" ;;
  216 
  217   -enable-* | --enable-*)
  218     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  219     # Reject names that are not valid shell variable names.
  220     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  221       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  222    { (exit 1); exit 1; }; }
  223     ac_feature=`echo "$ac_feature" | sed 's/-/_/g'`
  224     case "$ac_option" in
  225       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  226       *) ac_optarg=yes ;;
  227     esac
  228     eval "enable_$ac_feature='$ac_optarg'" ;;
  229 
  230   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  231   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  232   | --exec | --exe | --ex)
  233     ac_prev=exec_prefix ;;
  234   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  235   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  236   | --exec=* | --exe=* | --ex=*)
  237     exec_prefix=$ac_optarg ;;
  238 
  239   -gas | --gas | --ga | --g)
  240     # Obsolete; use --with-gas.
  241     with_gas=yes ;;
  242 
  243   -help | --help | --hel | --he | -h)
  244     ac_init_help=long ;;
  245   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  246     ac_init_help=recursive ;;
  247   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  248     ac_init_help=short ;;
  249 
  250   -host | --host | --hos | --ho)
  251     ac_prev=host_alias ;;
  252   -host=* | --host=* | --hos=* | --ho=*)
  253     host_alias=$ac_optarg ;;
  254 
  255   -includedir | --includedir | --includedi | --included | --include \
  256   | --includ | --inclu | --incl | --inc)
  257     ac_prev=includedir ;;
  258   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  259   | --includ=* | --inclu=* | --incl=* | --inc=*)
  260     includedir=$ac_optarg ;;
  261 
  262   -infodir | --infodir | --infodi | --infod | --info | --inf)
  263     ac_prev=infodir ;;
  264   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  265     infodir=$ac_optarg ;;
  266 
  267   -libdir | --libdir | --libdi | --libd)
  268     ac_prev=libdir ;;
  269   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  270     libdir=$ac_optarg ;;
  271 
  272   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  273   | --libexe | --libex | --libe)
  274     ac_prev=libexecdir ;;
  275   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  276   | --libexe=* | --libex=* | --libe=*)
  277     libexecdir=$ac_optarg ;;
  278 
  279   -localstatedir | --localstatedir | --localstatedi | --localstated \
  280   | --localstate | --localstat | --localsta | --localst \
  281   | --locals | --local | --loca | --loc | --lo)
  282     ac_prev=localstatedir ;;
  283   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  284   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  285   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  286     localstatedir=$ac_optarg ;;
  287 
  288   -runstatedir | --runstatedir | --runstatedi | --runstated \
  289   | --runstate | --runstat | --runsta | --runst \
  290   | --runs | --run | --ru)
  291     ac_prev=runstatedir ;;
  292   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  293   | --runstate=* | --runstat=* | --runsta=* | --runst=* \
  294   | --runs=* | --run=* | --ru=*)
  295     runstatedir=$ac_optarg ;;
  296 
  297   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  298     ac_prev=mandir ;;
  299   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  300     mandir=$ac_optarg ;;
  301 
  302   -nfp | --nfp | --nf)
  303     # Obsolete; use --without-fp.
  304     with_fp=no ;;
  305 
  306   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  307   | --no-cr | --no-c)
  308     no_create=yes ;;
  309 
  310   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  311   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  312     no_recursion=yes ;;
  313 
  314   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  315   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  316   | --oldin | --oldi | --old | --ol | --o)
  317     ac_prev=oldincludedir ;;
  318   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  319   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  320   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  321     oldincludedir=$ac_optarg ;;
  322 
  323   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  324     ac_prev=prefix ;;
  325   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  326     prefix=$ac_optarg ;;
  327 
  328   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  329   | --program-pre | --program-pr | --program-p)
  330     ac_prev=program_prefix ;;
  331   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  332   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  333     program_prefix=$ac_optarg ;;
  334 
  335   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  336   | --program-suf | --program-su | --program-s)
  337     ac_prev=program_suffix ;;
  338   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  339   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  340     program_suffix=$ac_optarg ;;
  341 
  342   -program-transform-name | --program-transform-name \
  343   | --program-transform-nam | --program-transform-na \
  344   | --program-transform-n | --program-transform- \
  345   | --program-transform | --program-transfor \
  346   | --program-transfo | --program-transf \
  347   | --program-trans | --program-tran \
  348   | --progr-tra | --program-tr | --program-t)
  349     ac_prev=program_transform_name ;;
  350   -program-transform-name=* | --program-transform-name=* \
  351   | --program-transform-nam=* | --program-transform-na=* \
  352   | --program-transform-n=* | --program-transform-=* \
  353   | --program-transform=* | --program-transfor=* \
  354   | --program-transfo=* | --program-transf=* \
  355   | --program-trans=* | --program-tran=* \
  356   | --progr-tra=* | --program-tr=* | --program-t=*)
  357     program_transform_name=$ac_optarg ;;
  358 
  359   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  360   | -silent | --silent | --silen | --sile | --sil)
  361     silent=yes ;;
  362 
  363   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  364     ac_prev=sbindir ;;
  365   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  366   | --sbi=* | --sb=*)
  367     sbindir=$ac_optarg ;;
  368 
  369   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  370   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  371   | --sharedst | --shareds | --shared | --share | --shar \
  372   | --sha | --sh)
  373     ac_prev=sharedstatedir ;;
  374   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  375   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  376   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  377   | --sha=* | --sh=*)
  378     sharedstatedir=$ac_optarg ;;
  379 
  380   -site | --site | --sit)
  381     ac_prev=site ;;
  382   -site=* | --site=* | --sit=*)
  383     site=$ac_optarg ;;
  384 
  385   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  386     ac_prev=srcdir ;;
  387   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  388     srcdir=$ac_optarg ;;
  389 
  390   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  391   | --syscon | --sysco | --sysc | --sys | --sy)
  392     ac_prev=sysconfdir ;;
  393   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  394   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  395     sysconfdir=$ac_optarg ;;
  396 
  397   -target | --target | --targe | --targ | --tar | --ta | --t)
  398     ac_prev=target_alias ;;
  399   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  400     target_alias=$ac_optarg ;;
  401 
  402   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  403     verbose=yes ;;
  404 
  405   -version | --version | --versio | --versi | --vers | -V)
  406     ac_init_version=: ;;
  407 
  408   -with-* | --with-*)
  409     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  410     # Reject names that are not valid shell variable names.
  411     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  412       { echo "$as_me: error: invalid package name: $ac_package" >&2
  413    { (exit 1); exit 1; }; }
  414     ac_package=`echo "$ac_package" | sed 's/-/_/g'`
  415     case "$ac_option" in
  416       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  417       *) ac_optarg=yes ;;
  418     esac
  419     eval "with_$ac_package='$ac_optarg'" ;;
  420 
  421   -without-* | --without-*)
  422     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  423     # Reject names that are not valid shell variable names.
  424     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  425       { echo "$as_me: error: invalid package name: $ac_package" >&2
  426    { (exit 1); exit 1; }; }
  427     ac_package=`echo "$ac_package" | sed 's/-/_/g'`
  428     eval "with_$ac_package=no" ;;
  429 
  430   --x)
  431     # Obsolete; use --with-x.
  432     with_x=yes ;;
  433 
  434   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  435   | --x-incl | --x-inc | --x-in | --x-i)
  436     ac_prev=x_includes ;;
  437   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  438   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  439     x_includes=$ac_optarg ;;
  440 
  441   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  442   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  443     ac_prev=x_libraries ;;
  444   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  445   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  446     x_libraries=$ac_optarg ;;
  447 
  448   -*) { echo "$as_me: error: unrecognized option: $ac_option
  449 Try \`$0 --help' for more information." >&2
  450    { (exit 1); exit 1; }; }
  451     ;;
  452 
  453   *=*)
  454     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  455     # Reject names that are not valid shell variable names.
  456     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  457       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  458    { (exit 1); exit 1; }; }
  459     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  460     eval "$ac_envvar='$ac_optarg'"
  461     export "$ac_envvar" ;;
  462 
  463   *)
  464     # FIXME: should be removed in autoconf 3.0.
  465     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  466     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  467       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  468     : "${build_alias=$ac_option}" "${host_alias=$ac_option}" "${target_alias=$ac_option}"
  469     ;;
  470 
  471   esac
  472 done
  473 
  474 if test -n "$ac_prev"; then
  475   ac_option=--`echo "$ac_prev" | sed 's/_/-/g'`
  476   { echo "$as_me: error: missing argument to $ac_option" >&2
  477    { (exit 1); exit 1; }; }
  478 fi
  479 
  480 # Be sure to have absolute paths.
  481 for ac_var in exec_prefix prefix
  482 do
  483   eval ac_val=$`echo "$ac_var"`
  484   case "$ac_val" in
  485     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  486     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
  487    { (exit 1); exit 1; }; };;
  488   esac
  489 done
  490 
  491 # Be sure to have absolute paths.
  492 for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
  493               localstatedir libdir includedir oldincludedir infodir mandir
  494 do
  495   eval ac_val=$`echo "$ac_var"`
  496   case "$ac_val" in
  497     [\\/$]* | ?:[\\/]* ) ;;
  498     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
  499    { (exit 1); exit 1; }; };;
  500   esac
  501 done
  502 
  503 # There might be people who depend on the old broken behavior: `$host'
  504 # used to hold the argument of --host etc.
  505 build=$build_alias
  506 host=$host_alias
  507 target=$target_alias
  508 
  509 # FIXME: should be removed in autoconf 3.0.
  510 if test "x$host_alias" != x; then
  511   if test "x$build_alias" = x; then
  512     cross_compiling=maybe
  513     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  514     If a cross compiler is detected then cross compile mode will be used." >&2
  515   elif test "x$build_alias" != "x$host_alias"; then
  516     cross_compiling=yes
  517   fi
  518 fi
  519 
  520 ac_tool_prefix=
  521 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  522 
  523 test "$silent" = yes && exec 6>/dev/null
  524 
  525 # Find the source files, if location was not specified.
  526 if test -z "$srcdir"; then
  527   ac_srcdir_defaulted=yes
  528   # Try the directory containing this script, then its parent.
  529   ac_prog=$0
  530   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
  531   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  532   srcdir=$ac_confdir
  533   if test ! -r "$srcdir/$ac_unique_file"; then
  534     srcdir=..
  535   fi
  536 else
  537   ac_srcdir_defaulted=no
  538 fi
  539 if test ! -r "$srcdir/$ac_unique_file"; then
  540   if test "$ac_srcdir_defaulted" = yes; then
  541     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
  542    { (exit 1); exit 1; }; }
  543   else
  544     { echo "$as_me: error: cannot find sources in $srcdir" >&2
  545    { (exit 1); exit 1; }; }
  546   fi
  547 fi
  548 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  549 ac_env_build_alias_set=${build_alias+set}
  550 ac_env_build_alias_value=$build_alias
  551 ac_cv_env_build_alias_set=${build_alias+set}
  552 ac_cv_env_build_alias_value=$build_alias
  553 ac_env_host_alias_set=${host_alias+set}
  554 ac_env_host_alias_value=$host_alias
  555 ac_cv_env_host_alias_set=${host_alias+set}
  556 ac_cv_env_host_alias_value=$host_alias
  557 ac_env_target_alias_set=${target_alias+set}
  558 ac_env_target_alias_value=$target_alias
  559 ac_cv_env_target_alias_set=${target_alias+set}
  560 ac_cv_env_target_alias_value=$target_alias
  561 ac_env_CC_set=${CC+set}
  562 ac_env_CC_value=$CC
  563 ac_cv_env_CC_set=${CC+set}
  564 ac_cv_env_CC_value=$CC
  565 ac_env_CFLAGS_set=${CFLAGS+set}
  566 ac_env_CFLAGS_value=$CFLAGS
  567 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  568 ac_cv_env_CFLAGS_value=$CFLAGS
  569 ac_env_LDFLAGS_set=${LDFLAGS+set}
  570 ac_env_LDFLAGS_value=$LDFLAGS
  571 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  572 ac_cv_env_LDFLAGS_value=$LDFLAGS
  573 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  574 ac_env_CPPFLAGS_value=$CPPFLAGS
  575 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  576 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  577 ac_env_CPP_set=${CPP+set}
  578 ac_env_CPP_value=$CPP
  579 ac_cv_env_CPP_set=${CPP+set}
  580 ac_cv_env_CPP_value=$CPP
  581 
  582 #
  583 # Report the --help message.
  584 #
  585 if test "$ac_init_help" = "long"; then
  586   # Omit some internal or obsolete options to make the list less imposing.
  587   # This message is too long to be a string in the A/UX 3.1 sh.
  588   cat <<EOF
  589 \`configure' configures this package to adapt to many kinds of systems.
  590 
  591 Usage: $0 [OPTION]... [VAR=VALUE]...
  592 
  593 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  594 VAR=VALUE.  See below for descriptions of some of the useful variables.
  595 
  596 Defaults for the options are specified in brackets.
  597 
  598 Configuration:
  599   -h, --help              display this help and exit
  600       --help=short        display options specific to this package
  601       --help=recursive    display the short help of all the included packages
  602   -V, --version           display version information and exit
  603   -q, --quiet, --silent   do not print \`checking...' messages
  604       --cache-file=FILE   cache test results in FILE [disabled]
  605   -C, --config-cache      alias for \`--cache-file=config.cache'
  606   -n, --no-create         do not create output files
  607       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  608 
  609 EOF
  610 
  611   cat <<EOF
  612 Installation directories:
  613   --prefix=PREFIX         install architecture-independent files in PREFIX
  614                           [$ac_default_prefix]
  615   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  616                           [PREFIX]
  617 
  618 By default, \`make install' will install all the files in
  619 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  620 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  621 for instance \`--prefix=\$HOME'.
  622 
  623 For better control, use the options below.
  624 
  625 Fine tuning of the installation directories:
  626   --bindir=DIR            user executables [EPREFIX/bin]
  627   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  628   --libexecdir=DIR        program executables [EPREFIX/libexec]
  629   --datarootdir=DIR       read-only architecture-independent data [PREFIX/share]
  630   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  631   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  632   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  633   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  634   --runstatedir=DIR       extra definition of runtime data [LOCALSTATEDIR/run]
  635   --libdir=DIR            object code libraries [EPREFIX/lib]
  636   --includedir=DIR        C header files [PREFIX/include]
  637   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  638   --infodir=DIR           info documentation [DATAROOTDIR/info]
  639   --mandir=DIR            man documentation [DATAROOTDIR/man]
  640 EOF
  641 
  642   cat <<\EOF
  643 
  644 Program names:
  645   --program-prefix=PREFIX            prepend PREFIX to installed program names
  646   --program-suffix=SUFFIX            append SUFFIX to installed program names
  647   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  648 
  649 System types:
  650   --build=BUILD           configure for building on BUILD [guessed]
  651   --host=HOST       build programs to run on HOST [BUILD]
  652   --target=TARGET   configure for building compilers for TARGET [HOST]
  653 EOF
  654 fi
  655 
  656 if test -n "$ac_init_help"; then
  657 
  658   cat <<\EOF
  659 
  660 Optional Features:
  661   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  662   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  663 
  664 Optional Packages:
  665   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  666   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  667 
  668   --enable-warnings       test: turn on gcc compiler warnings
  669   --disable-echo          do not display "compiling" commands
  670   --with-dmalloc          test: use Gray Watson's dmalloc library
  671   --with-dbmalloc         test: use Conor Cahill's dbmalloc library
  672   --with-valgrind         test: use valgrind
  673   --disable-leaks         test: free permanent memory, analyze leaks
  674   --with-man2html=XXX     use XXX rather than groff
  675 
  676 Some influential environment variables:
  677   CC          C compiler command
  678   CFLAGS      C compiler flags
  679   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  680               nonstandard directory <lib dir>
  681   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  682               headers in a nonstandard directory <include dir>
  683   CPP         C preprocessor
  684 
  685 Use these variables to override the choices made by `configure' or to help
  686 it to find libraries and programs with nonstandard names/locations.
  687 
  688 EOF
  689 fi
  690 
  691 if test "$ac_init_help" = "recursive"; then
  692   # If there are subdirs, report their specific --help.
  693   ac_popdir=`pwd`
  694   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
  695     cd "$ac_subdir"
  696     # A "../" for each directory in /$ac_subdir.
  697     ac_dots=`echo "$ac_subdir" |
  698              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
  699 
  700     case "$srcdir" in
  701     .) # No --srcdir option.  We are building in place.
  702       ac_sub_srcdir="$srcdir" ;;
  703     [\\/]* | ?:[\\/]* ) # Absolute path.
  704       ac_sub_srcdir="$srcdir/$ac_subdir" ;;
  705     *) # Relative path.
  706       ac_sub_srcdir="$ac_dots$srcdir/$ac_subdir" ;;
  707     esac
  708 
  709     # Check for guested configure; otherwise get Cygnus style configure.
  710     if test -f "$ac_sub_srcdir/configure.gnu"; then
  711       echo
  712       $SHELL "$ac_sub_srcdir/configure.gnu" --help=recursive
  713     elif test -f "$ac_sub_srcdir/configure"; then
  714       echo
  715       $SHELL "$ac_sub_srcdir/configure" --help=recursive
  716     elif test -f "$ac_sub_srcdir/configure.ac" ||
  717            test -f "$ac_sub_srcdir/configure.in"; then
  718       echo
  719       "$ac_configure" --help
  720     else
  721       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
  722     fi
  723     cd "$ac_popdir"
  724   done
  725 fi
  726 
  727 test -n "$ac_init_help" && exit 0
  728 if "$ac_init_version"; then
  729   cat <<\EOF
  730 
  731 Copyright 2003-2020,2021    Thomas E. Dickey
  732 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  733 Free Software Foundation, Inc.
  734 This configure script is free software; the Free Software Foundation
  735 gives unlimited permission to copy, distribute and modify it.
  736 EOF
  737   exit 0
  738 fi
  739 exec 5>config.log
  740 cat >&5 <<EOF
  741 This file contains any messages produced by compilers while
  742 running configure, to aid debugging if configure makes a mistake.
  743 
  744 It was created by $as_me, which was
  745 generated by GNU Autoconf 2.52.20210105.  Invocation command line was
  746 
  747   $ $0 $@
  748 
  749 EOF
  750 {
  751 cat <<_ASUNAME
  752 ## ---------- ##
  753 ## Platform.  ##
  754 ## ---------- ##
  755 
  756 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  757 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  758 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  759 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  760 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  761 
  762 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  763 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  764 
  765 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  766 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  767 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  768 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  769 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  770 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  771 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  772 
  773 PATH = $PATH
  774 
  775 _ASUNAME
  776 } >&5
  777 
  778 cat >&5 <<EOF
  779 ## ------------ ##
  780 ## Core tests.  ##
  781 ## ------------ ##
  782 
  783 EOF
  784 
  785 # Keep a trace of the command line.
  786 # Strip out --no-create and --no-recursion so they do not pile up.
  787 # Also quote any args containing shell meta-characters.
  788 ac_configure_args=
  789 ac_sep=
  790 for ac_arg
  791 do
  792   case "$ac_arg" in
  793   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  794   | --no-cr | --no-c) ;;
  795   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  796   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  797   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  798     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
  799     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  800     ac_sep=" " ;;
  801   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
  802      ac_sep=" " ;;
  803   esac
  804   # Get rid of the leading space.
  805 done
  806 
  807 # When interrupted or exit'd, cleanup temporary files, and complete
  808 # config.log.  We remove comments because anyway the quotes in there
  809 # would cause problems or look ugly.
  810 trap 'exit_status=$?
  811   # Save into config.log some information that might help in debugging.
  812   echo >&5
  813   echo "## ----------------- ##" >&5
  814   echo "## Cache variables.  ##" >&5
  815   echo "## ----------------- ##" >&5
  816   echo >&5
  817   # The following way of writing the cache mishandles newlines in values,
  818 {
  819   (set) 2>&1 |
  820     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  821     *ac_space=\ *)
  822       sed -n \
  823         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  824           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  825       ;;
  826     *)
  827       sed -n \
  828         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  829       ;;
  830     esac;
  831 } >&5
  832   sed "/^$/d" confdefs.h >conftest.log
  833   if test -s conftest.log; then
  834     echo >&5
  835     echo "## ------------ ##" >&5
  836     echo "## confdefs.h.  ##" >&5
  837     echo "## ------------ ##" >&5
  838     echo >&5
  839     cat conftest.log >&5
  840   fi
  841   (echo; echo) >&5
  842   test "$ac_signal" != 0 &&
  843     echo "$as_me: caught signal $ac_signal" >&5
  844   echo "$as_me: exit $exit_status" >&5
  845   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
  846     exit $exit_status
  847      ' 0
  848 for ac_signal in 1 2 13 15; do
  849   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' "$ac_signal"
  850 done
  851 ac_signal=0
  852 
  853 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  854 rm -rf conftest* confdefs.h
  855 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  856 echo >confdefs.h
  857 
  858 # Let the site file select an alternate cache file if it wants to.
  859 # Prefer explicitly selected file to automatically selected ones.
  860 if test -z "$CONFIG_SITE"; then
  861   if test "x$prefix" != xNONE; then
  862     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  863   else
  864     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  865   fi
  866 fi
  867 for ac_site_file in $CONFIG_SITE; do
  868   if test -r "$ac_site_file"; then
  869     { echo "$as_me:869: loading site script $ac_site_file" >&5
  870 echo "$as_me: loading site script $ac_site_file" >&6;}
  871     cat "$ac_site_file" >&5
  872     . "$ac_site_file"
  873   fi
  874 done
  875 
  876 if test -r "$cache_file"; then
  877   # Some versions of bash will fail to source /dev/null (special
  878   # files actually), so we avoid doing that.
  879   if test -f "$cache_file"; then
  880     { echo "$as_me:880: loading cache $cache_file" >&5
  881 echo "$as_me: loading cache $cache_file" >&6;}
  882     case $cache_file in
  883       [\\/]* | ?:[\\/]* ) . $cache_file;;
  884       *)                      . ./$cache_file;;
  885     esac
  886   fi
  887 else
  888   { echo "$as_me:888: creating cache $cache_file" >&5
  889 echo "$as_me: creating cache $cache_file" >&6;}
  890   >$cache_file
  891 fi
  892 
  893 # Check that the precious variables saved in the cache have kept the same
  894 # value.
  895 ac_cache_corrupted=false
  896 for ac_var in `(set) 2>&1 |
  897                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  898   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  899   eval ac_new_set=\$ac_env_${ac_var}_set
  900   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  901   eval ac_new_val="\$ac_env_${ac_var}_value"
  902   case "$ac_old_set,$ac_new_set" in
  903     set,)
  904       { echo "$as_me:904: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  905 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  906       ac_cache_corrupted=: ;;
  907     ,set)
  908       { echo "$as_me:908: error: \`$ac_var' was not set in the previous run" >&5
  909 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  910       ac_cache_corrupted=: ;;
  911     ,);;
  912     *)
  913       if test "x$ac_old_val" != "x$ac_new_val"; then
  914         { echo "$as_me:914: error: \`$ac_var' has changed since the previous run:" >&5
  915 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  916         { echo "$as_me:916:   former value:  $ac_old_val" >&5
  917 echo "$as_me:   former value:  $ac_old_val" >&2;}
  918         { echo "$as_me:918:   current value: $ac_new_val" >&5
  919 echo "$as_me:   current value: $ac_new_val" >&2;}
  920         ac_cache_corrupted=:
  921       fi;;
  922   esac
  923   # Pass precious variables to config.status.  It doesn't matter if
  924   # we pass some twice (in addition to the command line arguments).
  925   if test "$ac_new_set" = set; then
  926     case "$ac_new_val" in
  927     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  928       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
  929       ac_configure_args="$ac_configure_args '$ac_arg'"
  930       ;;
  931     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
  932        ;;
  933     esac
  934   fi
  935 done
  936 if "$ac_cache_corrupted"; then
  937   { echo "$as_me:937: error: changes in the environment can compromise the build" >&5
  938 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  939   { { echo "$as_me:939: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  940 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  941    { (exit 1); exit 1; }; }
  942 fi
  943 
  944 ac_ext=c
  945 ac_cpp='$CPP $CPPFLAGS'
  946 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
  947 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
  948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  949 ac_main_return="return"
  950 
  951 case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; echo 1,2,3` in
  952   *c*,-n*) ECHO_N=
  953            ECHO_C=      # newlines do not sed ;-) only broken shells would use this case anyway
  954            ECHO_T=' '
  955            ;;
  956   *c*,*  ) ECHO_N=-n
  957            ECHO_C=
  958            ECHO_T=
  959            ;;
  960   *)       ECHO_N=
  961            ECHO_C='\c'
  962            ECHO_T=
  963            ;;
  964 esac
  965 echo "#! $SHELL" >conftest.sh
  966 echo  "exit 0"   >>conftest.sh
  967 chmod +x conftest.sh
  968 if { (echo "$as_me:968: PATH=\".;.\"; conftest.sh") >&5
  969   (PATH=".;."; conftest.sh) 2>&5
  970   ac_status=$?
  971   echo "$as_me:971: \$? = $ac_status" >&5
  972   (exit "$ac_status"); }; then
  973   ac_path_separator=';'
  974 else
  975   ac_path_separator=:
  976 fi
  977 PATH_SEPARATOR="$ac_path_separator"
  978 rm -f conftest.sh
  979 
  980 ac_config_headers="$ac_config_headers config.h:config.hin"
  981 
  982 ac_aux_dir=
  983 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  984   if test -f "$ac_dir/install-sh"; then
  985     ac_aux_dir=$ac_dir
  986     ac_install_sh="$ac_aux_dir/install-sh -c"
  987     break
  988   elif test -f "$ac_dir/install.sh"; then
  989     ac_aux_dir=$ac_dir
  990     ac_install_sh="$ac_aux_dir/install.sh -c"
  991     break
  992   elif test -f "$ac_dir/shtool"; then
  993     ac_aux_dir=$ac_dir
  994     ac_install_sh="$ac_aux_dir/shtool install -c"
  995     break
  996   fi
  997 done
  998 if test -z "$ac_aux_dir"; then
  999   { { echo "$as_me:999: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 1000 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 1001    { (exit 1); exit 1; }; }
 1002 fi
 1003 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1004 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1005 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1006 
 1007 # Make sure we can run config.sub.
 1008 $ac_config_sub sun4 >/dev/null 2>&1 ||
 1009   { { echo "$as_me:1009: error: cannot run $ac_config_sub" >&5
 1010 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 1011    { (exit 1); exit 1; }; }
 1012 
 1013 echo "$as_me:1013: checking build system type" >&5
 1014 echo $ECHO_N "checking build system type... $ECHO_C" >&6
 1015 if test "${ac_cv_build+set}" = set; then
 1016   echo $ECHO_N "(cached) $ECHO_C" >&6
 1017 else
 1018   ac_cv_build_alias=$build_alias
 1019 test -z "$ac_cv_build_alias" &&
 1020   ac_cv_build_alias=`$ac_config_guess`
 1021 test -z "$ac_cv_build_alias" &&
 1022   { { echo "$as_me:1022: error: cannot guess build type; you must specify one" >&5
 1023 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 1024    { (exit 1); exit 1; }; }
 1025 ac_cv_build=`$ac_config_sub "$ac_cv_build_alias"` ||
 1026   { { echo "$as_me:1026: error: $ac_config_sub $ac_cv_build_alias failed." >&5
 1027 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
 1028    { (exit 1); exit 1; }; }
 1029 
 1030 fi
 1031 echo "$as_me:1031: result: $ac_cv_build" >&5
 1032 echo "${ECHO_T}$ac_cv_build" >&6
 1033 build=$ac_cv_build
 1034 build_cpu=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1035 build_vendor=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1036 build_os=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1037 
 1038 echo "$as_me:1038: checking host system type" >&5
 1039 echo $ECHO_N "checking host system type... $ECHO_C" >&6
 1040 if test "${ac_cv_host+set}" = set; then
 1041   echo $ECHO_N "(cached) $ECHO_C" >&6
 1042 else
 1043   ac_cv_host_alias=$host_alias
 1044 test -z "$ac_cv_host_alias" &&
 1045   ac_cv_host_alias=$ac_cv_build_alias
 1046 ac_cv_host=`$ac_config_sub "$ac_cv_host_alias"` ||
 1047   { { echo "$as_me:1047: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 1048 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 1049    { (exit 1); exit 1; }; }
 1050 
 1051 fi
 1052 echo "$as_me:1052: result: $ac_cv_host" >&5
 1053 echo "${ECHO_T}$ac_cv_host" >&6
 1054 host=$ac_cv_host
 1055 host_cpu=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1056 host_vendor=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1057 host_os=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1058 
 1059 if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then
 1060     echo "$as_me:1060: checking target system type" >&5
 1061 echo $ECHO_N "checking target system type... $ECHO_C" >&6
 1062 if test "${ac_cv_target+set}" = set; then
 1063   echo $ECHO_N "(cached) $ECHO_C" >&6
 1064 else
 1065   ac_cv_target_alias=$target_alias
 1066 test "x$ac_cv_target_alias" = "x" &&
 1067   ac_cv_target_alias=$ac_cv_host_alias
 1068 ac_cv_target=`$ac_config_sub "$ac_cv_target_alias"` ||
 1069   { { echo "$as_me:1069: error: $ac_config_sub $ac_cv_target_alias failed" >&5
 1070 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 1071    { (exit 1); exit 1; }; }
 1072 
 1073 fi
 1074 echo "$as_me:1074: result: $ac_cv_target" >&5
 1075 echo "${ECHO_T}$ac_cv_target" >&6
 1076 target=$ac_cv_target
 1077 target_cpu=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1078 target_vendor=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1079 target_os=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1080 
 1081 # The aliases save the names the user supplied, while $host etc.
 1082 # will get canonicalized.
 1083 test -n "$target_alias" &&
 1084   test "$program_prefix$program_suffix$program_transform_name" = \
 1085     NONENONEs,x,x, &&
 1086   program_prefix=${target_alias}-
 1087     system_name="$host_os"
 1088 else
 1089     system_name="`(uname -s -r) 2>/dev/null`"
 1090     if test -z "$system_name" ; then
 1091         system_name="`(hostname) 2>/dev/null`"
 1092     fi
 1093 fi
 1094 test -n "$system_name" &&
 1095 cat >>confdefs.h <<EOF
 1096 #define SYSTEM_NAME "$system_name"
 1097 EOF
 1098 
 1099 if test "${cf_cv_system_name+set}" = set; then
 1100   echo $ECHO_N "(cached) $ECHO_C" >&6
 1101 else
 1102   cf_cv_system_name="$system_name"
 1103 fi
 1104 
 1105 test -z "$system_name" && system_name="$cf_cv_system_name"
 1106 test -n "$cf_cv_system_name" && echo "$as_me:1106: result: Configuring for $cf_cv_system_name" >&5
 1107 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
 1108 
 1109 if test ".$system_name" != ".$cf_cv_system_name" ; then
 1110     echo "$as_me:1110: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
 1111 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
 1112     { { echo "$as_me:1112: error: \"Please remove config.cache and try again.\"" >&5
 1113 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
 1114    { (exit 1); exit 1; }; }
 1115 fi
 1116 
 1117 test "$program_prefix" != NONE &&
 1118   program_transform_name="s,^,$program_prefix,;$program_transform_name"
 1119 # Use a double $ so make ignores it.
 1120 test "$program_suffix" != NONE &&
 1121   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 1122 # Double any \ or $.  echo might interpret backslashes.
 1123 # By default was `s,x,x', remove it if useless.
 1124 cat <<\_ACEOF >conftest.sed
 1125 s/[\\$]/&&/g;s/;s,x,x,$//
 1126 _ACEOF
 1127 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1128 rm conftest.sed
 1129 
 1130 ac_ext=c
 1131 ac_cpp='$CPP $CPPFLAGS'
 1132 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
 1133 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
 1134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1135 ac_main_return="return"
 1136 if test -n "$ac_tool_prefix"; then
 1137   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1138 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1139 echo "$as_me:1139: checking for $ac_word" >&5
 1140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1141 if test "${ac_cv_prog_CC+set}" = set; then
 1142   echo $ECHO_N "(cached) $ECHO_C" >&6
 1143 else
 1144   if test -n "$CC"; then
 1145   ac_cv_prog_CC="$CC" # Let the user override the test.
 1146 else
 1147   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1148 ac_dummy="$PATH"
 1149 for ac_dir in $ac_dummy; do
 1150   IFS=$ac_save_IFS
 1151   test -z "$ac_dir" && ac_dir=.
 1152   $as_executable_p "$ac_dir/$ac_word" || continue
 1153 ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1154 echo "$as_me:1154: found $ac_dir/$ac_word" >&5
 1155 break
 1156 done
 1157 
 1158 fi
 1159 fi
 1160 CC=$ac_cv_prog_CC
 1161 if test -n "$CC"; then
 1162   echo "$as_me:1162: result: $CC" >&5
 1163 echo "${ECHO_T}$CC" >&6
 1164 else
 1165   echo "$as_me:1165: result: no" >&5
 1166 echo "${ECHO_T}no" >&6
 1167 fi
 1168 
 1169 fi
 1170 if test -z "$ac_cv_prog_CC"; then
 1171   ac_ct_CC=$CC
 1172   # Extract the first word of "gcc", so it can be a program name with args.
 1173 set dummy gcc; ac_word=$2
 1174 echo "$as_me:1174: checking for $ac_word" >&5
 1175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1177   echo $ECHO_N "(cached) $ECHO_C" >&6
 1178 else
 1179   if test -n "$ac_ct_CC"; then
 1180   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1181 else
 1182   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1183 ac_dummy="$PATH"
 1184 for ac_dir in $ac_dummy; do
 1185   IFS=$ac_save_IFS
 1186   test -z "$ac_dir" && ac_dir=.
 1187   $as_executable_p "$ac_dir/$ac_word" || continue
 1188 ac_cv_prog_ac_ct_CC="gcc"
 1189 echo "$as_me:1189: found $ac_dir/$ac_word" >&5
 1190 break
 1191 done
 1192 
 1193 fi
 1194 fi
 1195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1196 if test -n "$ac_ct_CC"; then
 1197   echo "$as_me:1197: result: $ac_ct_CC" >&5
 1198 echo "${ECHO_T}$ac_ct_CC" >&6
 1199 else
 1200   echo "$as_me:1200: result: no" >&5
 1201 echo "${ECHO_T}no" >&6
 1202 fi
 1203 
 1204   CC=$ac_ct_CC
 1205 else
 1206   CC="$ac_cv_prog_CC"
 1207 fi
 1208 
 1209 if test -z "$CC"; then
 1210   if test -n "$ac_tool_prefix"; then
 1211   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 1212 set dummy ${ac_tool_prefix}cc; ac_word=$2
 1213 echo "$as_me:1213: checking for $ac_word" >&5
 1214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1215 if test "${ac_cv_prog_CC+set}" = set; then
 1216   echo $ECHO_N "(cached) $ECHO_C" >&6
 1217 else
 1218   if test -n "$CC"; then
 1219   ac_cv_prog_CC="$CC" # Let the user override the test.
 1220 else
 1221   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1222 ac_dummy="$PATH"
 1223 for ac_dir in $ac_dummy; do
 1224   IFS=$ac_save_IFS
 1225   test -z "$ac_dir" && ac_dir=.
 1226   $as_executable_p "$ac_dir/$ac_word" || continue
 1227 ac_cv_prog_CC="${ac_tool_prefix}cc"
 1228 echo "$as_me:1228: found $ac_dir/$ac_word" >&5
 1229 break
 1230 done
 1231 
 1232 fi
 1233 fi
 1234 CC=$ac_cv_prog_CC
 1235 if test -n "$CC"; then
 1236   echo "$as_me:1236: result: $CC" >&5
 1237 echo "${ECHO_T}$CC" >&6
 1238 else
 1239   echo "$as_me:1239: result: no" >&5
 1240 echo "${ECHO_T}no" >&6
 1241 fi
 1242 
 1243 fi
 1244 if test -z "$ac_cv_prog_CC"; then
 1245   ac_ct_CC=$CC
 1246   # Extract the first word of "cc", so it can be a program name with args.
 1247 set dummy cc; ac_word=$2
 1248 echo "$as_me:1248: checking for $ac_word" >&5
 1249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1250 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1251   echo $ECHO_N "(cached) $ECHO_C" >&6
 1252 else
 1253   if test -n "$ac_ct_CC"; then
 1254   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1255 else
 1256   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1257 ac_dummy="$PATH"
 1258 for ac_dir in $ac_dummy; do
 1259   IFS=$ac_save_IFS
 1260   test -z "$ac_dir" && ac_dir=.
 1261   $as_executable_p "$ac_dir/$ac_word" || continue
 1262 ac_cv_prog_ac_ct_CC="cc"
 1263 echo "$as_me:1263: found $ac_dir/$ac_word" >&5
 1264 break
 1265 done
 1266 
 1267 fi
 1268 fi
 1269 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1270 if test -n "$ac_ct_CC"; then
 1271   echo "$as_me:1271: result: $ac_ct_CC" >&5
 1272 echo "${ECHO_T}$ac_ct_CC" >&6
 1273 else
 1274   echo "$as_me:1274: result: no" >&5
 1275 echo "${ECHO_T}no" >&6
 1276 fi
 1277 
 1278   CC=$ac_ct_CC
 1279 else
 1280   CC="$ac_cv_prog_CC"
 1281 fi
 1282 
 1283 fi
 1284 if test -z "$CC"; then
 1285   # Extract the first word of "cc", so it can be a program name with args.
 1286 set dummy cc; ac_word=$2
 1287 echo "$as_me:1287: checking for $ac_word" >&5
 1288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1289 if test "${ac_cv_prog_CC+set}" = set; then
 1290   echo $ECHO_N "(cached) $ECHO_C" >&6
 1291 else
 1292   if test -n "$CC"; then
 1293   ac_cv_prog_CC="$CC" # Let the user override the test.
 1294 else
 1295   ac_prog_rejected=no
 1296   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1297 ac_dummy="$PATH"
 1298 for ac_dir in $ac_dummy; do
 1299   IFS=$ac_save_IFS
 1300   test -z "$ac_dir" && ac_dir=.
 1301   $as_executable_p "$ac_dir/$ac_word" || continue
 1302 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
 1303   ac_prog_rejected=yes
 1304   continue
 1305 fi
 1306 ac_cv_prog_CC="cc"
 1307 echo "$as_me:1307: found $ac_dir/$ac_word" >&5
 1308 break
 1309 done
 1310 
 1311 if test "$ac_prog_rejected" = yes; then
 1312   # We found a bogon in the path, so make sure we never use it.
 1313   set dummy $ac_cv_prog_CC
 1314   shift
 1315   if test $# != 0; then
 1316     # We chose a different compiler from the bogus one.
 1317     # However, it has the same basename, so the bogon will be chosen
 1318     # first if we set CC to just the basename; use the full file name.
 1319     shift
 1320     set dummy "$ac_dir/$ac_word" ${1+"$@"}
 1321     shift
 1322     ac_cv_prog_CC="$@"
 1323   fi
 1324 fi
 1325 fi
 1326 fi
 1327 CC=$ac_cv_prog_CC
 1328 if test -n "$CC"; then
 1329   echo "$as_me:1329: result: $CC" >&5
 1330 echo "${ECHO_T}$CC" >&6
 1331 else
 1332   echo "$as_me:1332: result: no" >&5
 1333 echo "${ECHO_T}no" >&6
 1334 fi
 1335 
 1336 fi
 1337 if test -z "$CC"; then
 1338   if test -n "$ac_tool_prefix"; then
 1339   for ac_prog in cl
 1340   do
 1341     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 1342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 1343 echo "$as_me:1343: checking for $ac_word" >&5
 1344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1345 if test "${ac_cv_prog_CC+set}" = set; then
 1346   echo $ECHO_N "(cached) $ECHO_C" >&6
 1347 else
 1348   if test -n "$CC"; then
 1349   ac_cv_prog_CC="$CC" # Let the user override the test.
 1350 else
 1351   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1352 ac_dummy="$PATH"
 1353 for ac_dir in $ac_dummy; do
 1354   IFS=$ac_save_IFS
 1355   test -z "$ac_dir" && ac_dir=.
 1356   $as_executable_p "$ac_dir/$ac_word" || continue
 1357 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 1358 echo "$as_me:1358: found $ac_dir/$ac_word" >&5
 1359 break
 1360 done
 1361 
 1362 fi
 1363 fi
 1364 CC=$ac_cv_prog_CC
 1365 if test -n "$CC"; then
 1366   echo "$as_me:1366: result: $CC" >&5
 1367 echo "${ECHO_T}$CC" >&6
 1368 else
 1369   echo "$as_me:1369: result: no" >&5
 1370 echo "${ECHO_T}no" >&6
 1371 fi
 1372 
 1373     test -n "$CC" && break
 1374   done
 1375 fi
 1376 if test -z "$CC"; then
 1377   ac_ct_CC=$CC
 1378   for ac_prog in cl
 1379 do
 1380   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1381 set dummy $ac_prog; ac_word=$2
 1382 echo "$as_me:1382: checking for $ac_word" >&5
 1383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1385   echo $ECHO_N "(cached) $ECHO_C" >&6
 1386 else
 1387   if test -n "$ac_ct_CC"; then
 1388   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1389 else
 1390   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1391 ac_dummy="$PATH"
 1392 for ac_dir in $ac_dummy; do
 1393   IFS=$ac_save_IFS
 1394   test -z "$ac_dir" && ac_dir=.
 1395   $as_executable_p "$ac_dir/$ac_word" || continue
 1396 ac_cv_prog_ac_ct_CC="$ac_prog"
 1397 echo "$as_me:1397: found $ac_dir/$ac_word" >&5
 1398 break
 1399 done
 1400 
 1401 fi
 1402 fi
 1403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1404 if test -n "$ac_ct_CC"; then
 1405   echo "$as_me:1405: result: $ac_ct_CC" >&5
 1406 echo "${ECHO_T}$ac_ct_CC" >&6
 1407 else
 1408   echo "$as_me:1408: result: no" >&5
 1409 echo "${ECHO_T}no" >&6
 1410 fi
 1411 
 1412   test -n "$ac_ct_CC" && break
 1413 done
 1414 
 1415   CC=$ac_ct_CC
 1416 fi
 1417 
 1418 fi
 1419 
 1420 test -z "$CC" && { { echo "$as_me:1420: error: no acceptable cc found in \$PATH" >&5
 1421 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
 1422    { (exit 1); exit 1; }; }
 1423 
 1424 # Provide some information about the compiler.
 1425 echo "$as_me:1425:" \
 1426      "checking for C compiler version" >&5
 1427 ac_compiler=`set X $ac_compile; echo "$2"`
 1428 { (eval echo "$as_me:1428: \"$ac_compiler --version </dev/null >&5\"") >&5
 1429   (eval $ac_compiler --version </dev/null >&5) 2>&5
 1430   ac_status=$?
 1431   echo "$as_me:1431: \$? = $ac_status" >&5
 1432   (exit "$ac_status"); }
 1433 { (eval echo "$as_me:1433: \"$ac_compiler -v </dev/null >&5\"") >&5
 1434   (eval $ac_compiler -v </dev/null >&5) 2>&5
 1435   ac_status=$?
 1436   echo "$as_me:1436: \$? = $ac_status" >&5
 1437   (exit "$ac_status"); }
 1438 { (eval echo "$as_me:1438: \"$ac_compiler -V </dev/null >&5\"") >&5
 1439   (eval $ac_compiler -V </dev/null >&5) 2>&5
 1440   ac_status=$?
 1441   echo "$as_me:1441: \$? = $ac_status" >&5
 1442   (exit "$ac_status"); }
 1443 
 1444 cat >"conftest.$ac_ext" <<_ACEOF
 1445 #line 1445 "configure"
 1446 #include "confdefs.h"
 1447 
 1448 int
 1449 main (void)
 1450 {
 1451 
 1452   ;
 1453   return 0;
 1454 }
 1455 _ACEOF
 1456 ac_clean_files_save=$ac_clean_files
 1457 ac_clean_files="$ac_clean_files a.out a.exe"
 1458 # Try to create an executable without -o first, disregard a.out.
 1459 # It will help us diagnose broken compilers, and finding out an intuition
 1460 # of exeext.
 1461 echo "$as_me:1461: checking for C compiler default output" >&5
 1462 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 1463 ac_link_default=`echo "$ac_link" | sed 's/ -o *"conftest[^"]*"//'`
 1464 if { (eval echo "$as_me:1464: \"$ac_link_default\"") >&5
 1465   (eval $ac_link_default) 2>&5
 1466   ac_status=$?
 1467   echo "$as_me:1467: \$? = $ac_status" >&5
 1468   (exit "$ac_status"); }; then
 1469   # Find the output, starting from the most likely.  This scheme is
 1470 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 1471 # resort.
 1472 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
 1473                 ls a.out conftest 2>/dev/null;
 1474                 ls a.* conftest.* 2>/dev/null`; do
 1475   case $ac_file in
 1476     *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 1477     a.out ) # We found the default executable, but exeext='' is most
 1478             # certainly right.
 1479             break;;
 1480     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1481           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
 1482           export ac_cv_exeext
 1483           break;;
 1484     * ) break;;
 1485   esac
 1486 done
 1487 else
 1488   echo "$as_me: failed program was:" >&5
 1489 cat "conftest.$ac_ext" >&5
 1490 { { echo "$as_me:1490: error: C compiler cannot create executables" >&5
 1491 echo "$as_me: error: C compiler cannot create executables" >&2;}
 1492    { (exit 77); exit 77; }; }
 1493 fi
 1494 
 1495 ac_exeext=$ac_cv_exeext
 1496 echo "$as_me:1496: result: $ac_file" >&5
 1497 echo "${ECHO_T}$ac_file" >&6
 1498 
 1499 # Check the compiler produces executables we can run.  If not, either
 1500 # the compiler is broken, or we cross compile.
 1501 echo "$as_me:1501: checking whether the C compiler works" >&5
 1502 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 1503 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 1504 # If not cross compiling, check that we can run a simple program.
 1505 if test "$cross_compiling" != yes; then
 1506   if { ac_try='./$ac_file'
 1507   { (eval echo "$as_me:1507: \"$ac_try\"") >&5
 1508   (eval $ac_try) 2>&5
 1509   ac_status=$?
 1510   echo "$as_me:1510: \$? = $ac_status" >&5
 1511   (exit "$ac_status"); }; }; then
 1512     cross_compiling=no
 1513   else
 1514     if test "$cross_compiling" = maybe; then
 1515     cross_compiling=yes
 1516     else
 1517     { { echo "$as_me:1517: error: cannot run C compiled programs.
 1518 If you meant to cross compile, use \`--host'." >&5
 1519 echo "$as_me: error: cannot run C compiled programs.
 1520 If you meant to cross compile, use \`--host'." >&2;}
 1521    { (exit 1); exit 1; }; }
 1522     fi
 1523   fi
 1524 fi
 1525 echo "$as_me:1525: result: yes" >&5
 1526 echo "${ECHO_T}yes" >&6
 1527 
 1528 rm -f a.out a.exe "conftest$ac_cv_exeext"
 1529 ac_clean_files=$ac_clean_files_save
 1530 # Check the compiler produces executables we can run.  If not, either
 1531 # the compiler is broken, or we cross compile.
 1532 echo "$as_me:1532: checking whether we are cross compiling" >&5
 1533 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 1534 echo "$as_me:1534: result: $cross_compiling" >&5
 1535 echo "${ECHO_T}$cross_compiling" >&6
 1536 
 1537 echo "$as_me:1537: checking for executable suffix" >&5
 1538 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
 1539 if { (eval echo "$as_me:1539: \"$ac_link\"") >&5
 1540   (eval $ac_link) 2>&5
 1541   ac_status=$?
 1542   echo "$as_me:1542: \$? = $ac_status" >&5
 1543   (exit "$ac_status"); }; then
 1544   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 1545 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 1546 # work properly (i.e., refer to `conftest.exe'), while it won't with
 1547 # `rm'.
 1548 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 1549   case $ac_file in
 1550     *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 1551     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1552           export ac_cv_exeext
 1553           break;;
 1554     * ) break;;
 1555   esac
 1556 done
 1557 else
 1558   { { echo "$as_me:1558: error: cannot compute EXEEXT: cannot compile and link" >&5
 1559 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
 1560    { (exit 1); exit 1; }; }
 1561 fi
 1562 
 1563 rm -f "conftest$ac_cv_exeext"
 1564 echo "$as_me:1564: result: $ac_cv_exeext" >&5
 1565 echo "${ECHO_T}$ac_cv_exeext" >&6
 1566 
 1567 rm -f "conftest.$ac_ext"
 1568 EXEEXT=$ac_cv_exeext
 1569 ac_exeext=$EXEEXT
 1570 echo "$as_me:1570: checking for object suffix" >&5
 1571 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
 1572 if test "${ac_cv_objext+set}" = set; then
 1573   echo $ECHO_N "(cached) $ECHO_C" >&6
 1574 else
 1575   cat >"conftest.$ac_ext" <<_ACEOF
 1576 #line 1576 "configure"
 1577 #include "confdefs.h"
 1578 
 1579 int
 1580 main (void)
 1581 {
 1582 
 1583   ;
 1584   return 0;
 1585 }
 1586 _ACEOF
 1587 rm -f conftest.o conftest.obj
 1588 if { (eval echo "$as_me:1588: \"$ac_compile\"") >&5
 1589   (eval $ac_compile) 2>&5
 1590   ac_status=$?
 1591   echo "$as_me:1591: \$? = $ac_status" >&5
 1592   (exit "$ac_status"); }; then
 1593   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 1594   case $ac_file in
 1595     *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;;
 1596     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 1597        break;;
 1598   esac
 1599 done
 1600 else
 1601   echo "$as_me: failed program was:" >&5
 1602 cat "conftest.$ac_ext" >&5
 1603 { { echo "$as_me:1603: error: cannot compute OBJEXT: cannot compile" >&5
 1604 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
 1605    { (exit 1); exit 1; }; }
 1606 fi
 1607 
 1608 rm -f "conftest.$ac_cv_objext" "conftest.$ac_ext"
 1609 fi
 1610 echo "$as_me:1610: result: $ac_cv_objext" >&5
 1611 echo "${ECHO_T}$ac_cv_objext" >&6
 1612 OBJEXT=$ac_cv_objext
 1613 ac_objext=$OBJEXT
 1614 echo "$as_me:1614: checking whether we are using the GNU C compiler" >&5
 1615 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 1616 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 1617   echo $ECHO_N "(cached) $ECHO_C" >&6
 1618 else
 1619   cat >"conftest.$ac_ext" <<_ACEOF
 1620 #line 1620 "configure"
 1621 #include "confdefs.h"
 1622 
 1623 int
 1624 main (void)
 1625 {
 1626 #ifndef __GNUC__
 1627        choke me
 1628 #endif
 1629 
 1630   ;
 1631   return 0;
 1632 }
 1633 _ACEOF
 1634 rm -f "conftest.$ac_objext"
 1635 if { (eval echo "$as_me:1635: \"$ac_compile\"") >&5
 1636   (eval $ac_compile) 2>&5
 1637   ac_status=$?
 1638   echo "$as_me:1638: \$? = $ac_status" >&5
 1639   (exit "$ac_status"); } &&
 1640          { ac_try='test -s "conftest.$ac_objext"'
 1641   { (eval echo "$as_me:1641: \"$ac_try\"") >&5
 1642   (eval $ac_try) 2>&5
 1643   ac_status=$?
 1644   echo "$as_me:1644: \$? = $ac_status" >&5
 1645   (exit "$ac_status"); }; }; then
 1646   ac_compiler_gnu=yes
 1647 else
 1648   echo "$as_me: failed program was:" >&5
 1649 cat "conftest.$ac_ext" >&5
 1650 ac_compiler_gnu=no
 1651 fi
 1652 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 1653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 1654 
 1655 fi
 1656 echo "$as_me:1656: result: $ac_cv_c_compiler_gnu" >&5
 1657 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 1658 GCC=`test $ac_compiler_gnu = yes && echo yes`
 1659 ac_test_CFLAGS=${CFLAGS+set}
 1660 ac_save_CFLAGS=$CFLAGS
 1661 CFLAGS="-g"
 1662 echo "$as_me:1662: checking whether $CC accepts -g" >&5
 1663 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 1664 if test "${ac_cv_prog_cc_g+set}" = set; then
 1665   echo $ECHO_N "(cached) $ECHO_C" >&6
 1666 else
 1667   cat >"conftest.$ac_ext" <<_ACEOF
 1668 #line 1668 "configure"
 1669 #include "confdefs.h"
 1670 
 1671 int
 1672 main (void)
 1673 {
 1674 
 1675   ;
 1676   return 0;
 1677 }
 1678 _ACEOF
 1679 rm -f "conftest.$ac_objext"
 1680 if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5
 1681   (eval $ac_compile) 2>&5
 1682   ac_status=$?
 1683   echo "$as_me:1683: \$? = $ac_status" >&5
 1684   (exit "$ac_status"); } &&
 1685          { ac_try='test -s "conftest.$ac_objext"'
 1686   { (eval echo "$as_me:1686: \"$ac_try\"") >&5
 1687   (eval $ac_try) 2>&5
 1688   ac_status=$?
 1689   echo "$as_me:1689: \$? = $ac_status" >&5
 1690   (exit "$ac_status"); }; }; then
 1691   ac_cv_prog_cc_g=yes
 1692 else
 1693   echo "$as_me: failed program was:" >&5
 1694 cat "conftest.$ac_ext" >&5
 1695 ac_cv_prog_cc_g=no
 1696 fi
 1697 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 1698 fi
 1699 echo "$as_me:1699: result: $ac_cv_prog_cc_g" >&5
 1700 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 1701 if test "$ac_test_CFLAGS" = set; then
 1702   CFLAGS=$ac_save_CFLAGS
 1703 elif test $ac_cv_prog_cc_g = yes; then
 1704   if test "$GCC" = yes; then
 1705     CFLAGS="-g -O2"
 1706   else
 1707     CFLAGS="-g"
 1708   fi
 1709 else
 1710   if test "$GCC" = yes; then
 1711     CFLAGS="-O2"
 1712   else
 1713     CFLAGS=
 1714   fi
 1715 fi
 1716 # Some people use a C++ compiler to compile C.  Since we use `exit',
 1717 # in C++ we need to declare it.  In case someone uses the same compiler
 1718 # for both compiling C and C++ we need to have the C++ compiler decide
 1719 # the declaration of exit, since it's the most demanding environment.
 1720 cat >"conftest.$ac_ext" <<_ACEOF
 1721 #ifndef __cplusplus
 1722   choke me
 1723 #endif
 1724 _ACEOF
 1725 rm -f "conftest.$ac_objext"
 1726 if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
 1727   (eval $ac_compile) 2>&5
 1728   ac_status=$?
 1729   echo "$as_me:1729: \$? = $ac_status" >&5
 1730   (exit "$ac_status"); } &&
 1731          { ac_try='test -s "conftest.$ac_objext"'
 1732   { (eval echo "$as_me:1732: \"$ac_try\"") >&5
 1733   (eval $ac_try) 2>&5
 1734   ac_status=$?
 1735   echo "$as_me:1735: \$? = $ac_status" >&5
 1736   (exit "$ac_status"); }; }; then
 1737   for ac_declaration in \
 1738    ''\
 1739    '#include <stdlib.h>' \
 1740    'extern "C" void std::exit (int) throw (); using std::exit;' \
 1741    'extern "C" void std::exit (int); using std::exit;' \
 1742    'extern "C" void exit (int) throw ();' \
 1743    'extern "C" void exit (int);' \
 1744    'void exit (int);'
 1745 do
 1746   cat >"conftest.$ac_ext" <<_ACEOF
 1747 #line 1747 "configure"
 1748 #include "confdefs.h"
 1749 #include <stdlib.h>
 1750 $ac_declaration
 1751 int
 1752 main (void)
 1753 {
 1754 exit (42);
 1755   ;
 1756   return 0;
 1757 }
 1758 _ACEOF
 1759 rm -f "conftest.$ac_objext"
 1760 if { (eval echo "$as_me:1760: \"$ac_compile\"") >&5
 1761   (eval $ac_compile) 2>&5
 1762   ac_status=$?
 1763   echo "$as_me:1763: \$? = $ac_status" >&5
 1764   (exit "$ac_status"); } &&
 1765          { ac_try='test -s "conftest.$ac_objext"'
 1766   { (eval echo "$as_me:1766: \"$ac_try\"") >&5
 1767   (eval $ac_try) 2>&5
 1768   ac_status=$?
 1769   echo "$as_me:1769: \$? = $ac_status" >&5
 1770   (exit "$ac_status"); }; }; then
 1771   :
 1772 else
 1773   echo "$as_me: failed program was:" >&5
 1774 cat "conftest.$ac_ext" >&5
 1775 continue
 1776 fi
 1777 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 1778   cat >"conftest.$ac_ext" <<_ACEOF
 1779 #line 1779 "configure"
 1780 #include "confdefs.h"
 1781 $ac_declaration
 1782 int
 1783 main (void)
 1784 {
 1785 exit (42);
 1786   ;
 1787   return 0;
 1788 }
 1789 _ACEOF
 1790 rm -f "conftest.$ac_objext"
 1791 if { (eval echo "$as_me:1791: \"$ac_compile\"") >&5
 1792   (eval $ac_compile) 2>&5
 1793   ac_status=$?
 1794   echo "$as_me:1794: \$? = $ac_status" >&5
 1795   (exit "$ac_status"); } &&
 1796          { ac_try='test -s "conftest.$ac_objext"'
 1797   { (eval echo "$as_me:1797: \"$ac_try\"") >&5
 1798   (eval $ac_try) 2>&5
 1799   ac_status=$?
 1800   echo "$as_me:1800: \$? = $ac_status" >&5
 1801   (exit "$ac_status"); }; }; then
 1802   break
 1803 else
 1804   echo "$as_me: failed program was:" >&5
 1805 cat "conftest.$ac_ext" >&5
 1806 fi
 1807 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 1808 done
 1809 rm -rf conftest*
 1810 if test -n "$ac_declaration"; then
 1811   echo '#ifdef __cplusplus' >>confdefs.h
 1812   echo "$ac_declaration"    >>confdefs.h
 1813   echo '#endif'             >>confdefs.h
 1814 fi
 1815 
 1816 else
 1817   echo "$as_me: failed program was:" >&5
 1818 cat "conftest.$ac_ext" >&5
 1819 fi
 1820 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 1821 ac_ext=c
 1822 ac_cpp='$CPP $CPPFLAGS'
 1823 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
 1824 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
 1825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1826 ac_main_return="return"
 1827 
 1828 # Find a good install program.  We prefer a C program (faster),
 1829 # so one script is as good as another.  But avoid the broken or
 1830 # incompatible versions:
 1831 # SysV /etc/install, /usr/sbin/install
 1832 # SunOS /usr/etc/install
 1833 # IRIX /sbin/install
 1834 # AIX /bin/install
 1835 # AmigaOS /C/install, which installs bootblocks on floppy discs
 1836 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 1837 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 1838 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 1839 # ./install, which can be erroneously created by make from ./install.sh.
 1840 echo "$as_me:1840: checking for a BSD compatible install" >&5
 1841 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 1842 if test -z "$INSTALL"; then
 1843 if test "${ac_cv_path_install+set}" = set; then
 1844   echo $ECHO_N "(cached) $ECHO_C" >&6
 1845 else
 1846     ac_save_IFS=$IFS; IFS=$ac_path_separator
 1847   for ac_dir in $PATH; do
 1848     IFS=$ac_save_IFS
 1849     # Account for people who put trailing slashes in PATH elements.
 1850     case $ac_dir/ in
 1851     / | ./ | .// | /cC/* \
 1852     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
 1853     | /usr/ucb/* ) ;;
 1854     *)
 1855       # OSF1 and SCO ODT 3.0 have their own names for install.
 1856       # Don't use installbsd from OSF since it installs stuff as root
 1857       # by default.
 1858       for ac_prog in ginstall scoinst install; do
 1859         if $as_executable_p "$ac_dir/$ac_prog"; then
 1860       if test $ac_prog = install &&
 1861             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
 1862         # AIX install.  It has an incompatible calling convention.
 1863         :
 1864       elif test $ac_prog = install &&
 1865         grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
 1866         # program-specific install script used by HP pwplus--don't use.
 1867         :
 1868       else
 1869         ac_cv_path_install="$ac_dir/$ac_prog -c"
 1870         break 2
 1871       fi
 1872     fi
 1873       done
 1874       ;;
 1875     esac
 1876   done
 1877 
 1878 fi
 1879   if test "${ac_cv_path_install+set}" = set; then
 1880     INSTALL=$ac_cv_path_install
 1881   else
 1882     # As a last resort, use the slow shell script.  We don't cache a
 1883     # path for INSTALL within a source directory, because that will
 1884     # break other packages using the cache if that directory is
 1885     # removed, or if the path is relative.
 1886     INSTALL=$ac_install_sh
 1887   fi
 1888 fi
 1889 echo "$as_me:1889: result: $INSTALL" >&5
 1890 echo "${ECHO_T}$INSTALL" >&6
 1891 
 1892 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 1893 # It thinks the first close brace ends the variable substitution.
 1894 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 1895 
 1896 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 1897 
 1898 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 1899 
 1900 for ac_prog in lint cppcheck splint
 1901 do
 1902   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1903 set dummy $ac_prog; ac_word=$2
 1904 echo "$as_me:1904: checking for $ac_word" >&5
 1905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1906 if test "${ac_cv_prog_LINT+set}" = set; then
 1907   echo $ECHO_N "(cached) $ECHO_C" >&6
 1908 else
 1909   if test -n "$LINT"; then
 1910   ac_cv_prog_LINT="$LINT" # Let the user override the test.
 1911 else
 1912   ac_save_IFS=$IFS; IFS=$ac_path_separator
 1913 ac_dummy="$PATH"
 1914 for ac_dir in $ac_dummy; do
 1915   IFS=$ac_save_IFS
 1916   test -z "$ac_dir" && ac_dir=.
 1917   $as_executable_p "$ac_dir/$ac_word" || continue
 1918 ac_cv_prog_LINT="$ac_prog"
 1919 echo "$as_me:1919: found $ac_dir/$ac_word" >&5
 1920 break
 1921 done
 1922 
 1923 fi
 1924 fi
 1925 LINT=$ac_cv_prog_LINT
 1926 if test -n "$LINT"; then
 1927   echo "$as_me:1927: result: $LINT" >&5
 1928 echo "${ECHO_T}$LINT" >&6
 1929 else
 1930   echo "$as_me:1930: result: no" >&5
 1931 echo "${ECHO_T}no" >&6
 1932 fi
 1933 
 1934   test -n "$LINT" && break
 1935 done
 1936 
 1937 case "x$LINT" in
 1938 (xcppcheck|x*/cppcheck)
 1939     test -z "$LINT_OPTS" && LINT_OPTS="--enable=all"
 1940     ;;
 1941 esac
 1942 
 1943 echo "$as_me:1943: checking for \".PHONY\" make-support" >&5
 1944 echo $ECHO_N "checking for \".PHONY\" make-support... $ECHO_C" >&6
 1945 if test "${cf_cv_make_PHONY+set}" = set; then
 1946   echo $ECHO_N "(cached) $ECHO_C" >&6
 1947 else
 1948 
 1949     rm -rf conftest*
 1950     (
 1951         mkdir conftest || exit 1
 1952         cd conftest
 1953         cat >makefile <<'CF_EOF'
 1954 .PHONY: always
 1955 DATA=0
 1956 always: always.out
 1957     @echo "** making $@ $(DATA)"
 1958 once: once.out
 1959     @echo "** making $@ $(DATA)"
 1960 always.out:
 1961     @echo "** making $@ $(DATA)"
 1962     echo $(DATA) > $@
 1963 once.out:
 1964     @echo "** making $@ $(DATA)"
 1965     echo $(DATA) > $@
 1966 CF_EOF
 1967         for cf_data in 1 2 3
 1968         do
 1969             ${MAKE:-make} always DATA=$cf_data
 1970             ${MAKE:-make} once   DATA=$cf_data
 1971             ${MAKE:-make} -t always once
 1972             if test -f always ; then
 1973                 echo "no (case 1)" > ../conftest.tmp
 1974             elif test ! -f always.out ; then
 1975                 echo "no (case 2)" > ../conftest.tmp
 1976             elif test ! -f once.out ; then
 1977                 echo "no (case 3)" > ../conftest.tmp
 1978             elif ! cmp -s always.out once.out ; then
 1979                 echo "no (case 4)" > ../conftest.tmp
 1980                 diff always.out once.out
 1981             else
 1982                 cf_check="`cat always.out`"
 1983                 if test "x$cf_check" != "x$cf_data" ; then
 1984                     echo "no (case 5)" > ../conftest.tmp
 1985                 else
 1986                     echo yes > ../conftest.tmp
 1987                     rm -f ./*.out
 1988                     continue
 1989                 fi
 1990             fi
 1991             break
 1992         done
 1993     ) >&5 2>&1
 1994     cf_cv_make_PHONY="`cat conftest.tmp`"
 1995     rm -rf conftest*
 1996 
 1997 fi
 1998 echo "$as_me:1998: result: $cf_cv_make_PHONY" >&5
 1999 echo "${ECHO_T}$cf_cv_make_PHONY" >&6
 2000 MAKE_NO_PHONY="#"
 2001 MAKE_PHONY="#"
 2002 test "x$cf_cv_make_PHONY" = xyes && MAKE_PHONY=
 2003 test "x$cf_cv_make_PHONY" != xyes && MAKE_NO_PHONY=
 2004 
 2005 echo "$as_me:2005: checking if filesystem supports mixed-case filenames" >&5
 2006 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
 2007 if test "${cf_cv_mixedcase+set}" = set; then
 2008   echo $ECHO_N "(cached) $ECHO_C" >&6
 2009 else
 2010 
 2011 if test "$cross_compiling" = yes ; then
 2012     case "$target_alias" in
 2013     (*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*|darwin*)
 2014         cf_cv_mixedcase=no
 2015         ;;
 2016     (*)
 2017         cf_cv_mixedcase=yes
 2018         ;;
 2019     esac
 2020 else
 2021     rm -f conftest CONFTEST
 2022     echo test >conftest
 2023     if test -f CONFTEST ; then
 2024         cf_cv_mixedcase=no
 2025     else
 2026         cf_cv_mixedcase=yes
 2027     fi
 2028     rm -f conftest CONFTEST
 2029 fi
 2030 
 2031 fi
 2032 echo "$as_me:2032: result: $cf_cv_mixedcase" >&5
 2033 echo "${ECHO_T}$cf_cv_mixedcase" >&6
 2034 test "$cf_cv_mixedcase" = yes &&
 2035 cat >>confdefs.h <<\EOF
 2036 #define MIXEDCASE_FILENAMES 1
 2037 EOF
 2038 
 2039 for ac_prog in exctags ctags
 2040 do
 2041   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2042 set dummy $ac_prog; ac_word=$2
 2043 echo "$as_me:2043: checking for $ac_word" >&5
 2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2045 if test "${ac_cv_prog_CTAGS+set}" = set; then
 2046   echo $ECHO_N "(cached) $ECHO_C" >&6
 2047 else
 2048   if test -n "$CTAGS"; then
 2049   ac_cv_prog_CTAGS="$CTAGS" # Let the user override the test.
 2050 else
 2051   ac_save_IFS=$IFS; IFS=$ac_path_separator
 2052 ac_dummy="$PATH"
 2053 for ac_dir in $ac_dummy; do
 2054   IFS=$ac_save_IFS
 2055   test -z "$ac_dir" && ac_dir=.
 2056   $as_executable_p "$ac_dir/$ac_word" || continue
 2057 ac_cv_prog_CTAGS="$ac_prog"
 2058 echo "$as_me:2058: found $ac_dir/$ac_word" >&5
 2059 break
 2060 done
 2061 
 2062 fi
 2063 fi
 2064 CTAGS=$ac_cv_prog_CTAGS
 2065 if test -n "$CTAGS"; then
 2066   echo "$as_me:2066: result: $CTAGS" >&5
 2067 echo "${ECHO_T}$CTAGS" >&6
 2068 else
 2069   echo "$as_me:2069: result: no" >&5
 2070 echo "${ECHO_T}no" >&6
 2071 fi
 2072 
 2073   test -n "$CTAGS" && break
 2074 done
 2075 
 2076 for ac_prog in exetags etags
 2077 do
 2078   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2079 set dummy $ac_prog; ac_word=$2
 2080 echo "$as_me:2080: checking for $ac_word" >&5
 2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2082 if test "${ac_cv_prog_ETAGS+set}" = set; then
 2083   echo $ECHO_N "(cached) $ECHO_C" >&6
 2084 else
 2085   if test -n "$ETAGS"; then
 2086   ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test.
 2087 else
 2088   ac_save_IFS=$IFS; IFS=$ac_path_separator
 2089 ac_dummy="$PATH"
 2090 for ac_dir in $ac_dummy; do
 2091   IFS=$ac_save_IFS
 2092   test -z "$ac_dir" && ac_dir=.
 2093   $as_executable_p "$ac_dir/$ac_word" || continue
 2094 ac_cv_prog_ETAGS="$ac_prog"
 2095 echo "$as_me:2095: found $ac_dir/$ac_word" >&5
 2096 break
 2097 done
 2098 
 2099 fi
 2100 fi
 2101 ETAGS=$ac_cv_prog_ETAGS
 2102 if test -n "$ETAGS"; then
 2103   echo "$as_me:2103: result: $ETAGS" >&5
 2104 echo "${ECHO_T}$ETAGS" >&6
 2105 else
 2106   echo "$as_me:2106: result: no" >&5
 2107 echo "${ECHO_T}no" >&6
 2108 fi
 2109 
 2110   test -n "$ETAGS" && break
 2111 done
 2112 
 2113 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
 2114 set dummy ${CTAGS:-ctags}; ac_word=$2
 2115 echo "$as_me:2115: checking for $ac_word" >&5
 2116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2117 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
 2118   echo $ECHO_N "(cached) $ECHO_C" >&6
 2119 else
 2120   if test -n "$MAKE_LOWER_TAGS"; then
 2121   ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # Let the user override the test.
 2122 else
 2123   ac_save_IFS=$IFS; IFS=$ac_path_separator
 2124 ac_dummy="$PATH"
 2125 for ac_dir in $ac_dummy; do
 2126   IFS=$ac_save_IFS
 2127   test -z "$ac_dir" && ac_dir=.
 2128   $as_executable_p "$ac_dir/$ac_word" || continue
 2129 ac_cv_prog_MAKE_LOWER_TAGS="yes"
 2130 echo "$as_me:2130: found $ac_dir/$ac_word" >&5
 2131 break
 2132 done
 2133 
 2134   test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"
 2135 fi
 2136 fi
 2137 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
 2138 if test -n "$MAKE_LOWER_TAGS"; then
 2139   echo "$as_me:2139: result: $MAKE_LOWER_TAGS" >&5
 2140 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
 2141 else
 2142   echo "$as_me:2142: result: no" >&5
 2143 echo "${ECHO_T}no" >&6
 2144 fi
 2145 
 2146 if test "$cf_cv_mixedcase" = yes ; then
 2147     # Extract the first word of "${ETAGS:-etags}", so it can be a program name with args.
 2148 set dummy ${ETAGS:-etags}; ac_word=$2
 2149 echo "$as_me:2149: checking for $ac_word" >&5
 2150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2151 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
 2152   echo $ECHO_N "(cached) $ECHO_C" >&6
 2153 else
 2154   if test -n "$MAKE_UPPER_TAGS"; then
 2155   ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # Let the user override the test.
 2156 else
 2157   ac_save_IFS=$IFS; IFS=$ac_path_separator
 2158 ac_dummy="$PATH"
 2159 for ac_dir in $ac_dummy; do
 2160   IFS=$ac_save_IFS
 2161   test -z "$ac_dir" && ac_dir=.
 2162   $as_executable_p "$ac_dir/$ac_word" || continue
 2163 ac_cv_prog_MAKE_UPPER_TAGS="yes"
 2164 echo "$as_me:2164: found $ac_dir/$ac_word" >&5
 2165 break
 2166 done
 2167 
 2168   test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"
 2169 fi
 2170 fi
 2171 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
 2172 if test -n "$MAKE_UPPER_TAGS"; then
 2173   echo "$as_me:2173: result: $MAKE_UPPER_TAGS" >&5
 2174 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
 2175 else
 2176   echo "$as_me:2176: result: no" >&5
 2177 echo "${ECHO_T}no" >&6
 2178 fi
 2179 
 2180 else
 2181     MAKE_UPPER_TAGS=no
 2182 fi
 2183 
 2184 if test "$MAKE_UPPER_TAGS" = yes ; then
 2185     MAKE_UPPER_TAGS=
 2186 else
 2187     MAKE_UPPER_TAGS="#"
 2188 fi
 2189 
 2190 if test "$MAKE_LOWER_TAGS" = yes ; then
 2191     MAKE_LOWER_TAGS=
 2192 else
 2193     MAKE_LOWER_TAGS="#"
 2194 fi
 2195 
 2196 echo "$as_me:2196: checking whether ${MAKE-make} sets \${MAKE}" >&5
 2197 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 2198 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 2199 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 2200   echo $ECHO_N "(cached) $ECHO_C" >&6
 2201 else
 2202   cat >conftest.make <<\EOF
 2203 all:
 2204     @echo 'ac_maketemp="${MAKE}"'
 2205 EOF
 2206 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2207 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 2208 if test -n "$ac_maketemp"; then
 2209   eval ac_cv_prog_make_${ac_make}_set=yes
 2210 else
 2211   eval ac_cv_prog_make_${ac_make}_set=no
 2212 fi
 2213 rm -f conftest.make
 2214 fi
 2215 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 2216   echo "$as_me:2216: result: yes" >&5
 2217 echo "${ECHO_T}yes" >&6
 2218   SET_MAKE=
 2219 else
 2220   echo "$as_me:2220: result: no" >&5
 2221 echo "${ECHO_T}no" >&6
 2222   SET_MAKE="MAKE=${MAKE-make}"
 2223 fi
 2224 
 2225 # This should have been defined by AC_PROG_CC
 2226 : "${CC:=cc}"
 2227 
 2228 echo "$as_me:2228: checking \$CFLAGS variable" >&5
 2229 echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6
 2230 case "x$CFLAGS" in
 2231 (*-[IUD]*)
 2232     echo "$as_me:2232: result: broken" >&5
 2233 echo "${ECHO_T}broken" >&6
 2234     { echo "$as_me:2234: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5
 2235 echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;}
 2236     cf_flags="$CFLAGS"
 2237     CFLAGS=
 2238     for cf_arg in $cf_flags
 2239     do
 2240 
 2241 cf_fix_cppflags=no
 2242 cf_new_cflags=
 2243 cf_new_cppflags=
 2244 cf_new_extra_cppflags=
 2245 
 2246 for cf_add_cflags in $cf_arg
 2247 do
 2248 case "$cf_fix_cppflags" in
 2249 (no)
 2250     case "$cf_add_cflags" in
 2251     (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
 2252         case "$cf_add_cflags" in
 2253         (-D*)
 2254             cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 2255 
 2256             test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2257                 && test -z "${cf_tst_cflags}" \
 2258                 && cf_fix_cppflags=yes
 2259 
 2260             if test "$cf_fix_cppflags" = yes ; then
 2261 
 2262     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2263     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2264 
 2265                 continue
 2266             elif test "${cf_tst_cflags}" = "\"'" ; then
 2267 
 2268     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2269     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2270 
 2271                 continue
 2272             fi
 2273             ;;
 2274         esac
 2275         case "$CPPFLAGS" in
 2276         (*$cf_add_cflags)
 2277             ;;
 2278         (*)
 2279             case "$cf_add_cflags" in
 2280             (-D*)
 2281                 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 2282 
 2283 CPPFLAGS=`echo "$CPPFLAGS" | \
 2284     sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[     ]/ /g' \
 2285         -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 2286 
 2287                 ;;
 2288             esac
 2289 
 2290     test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
 2291     cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
 2292 
 2293             ;;
 2294         esac
 2295         ;;
 2296     (*)
 2297 
 2298     test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
 2299     cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
 2300 
 2301         ;;
 2302     esac
 2303     ;;
 2304 (yes)
 2305 
 2306     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2307     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2308 
 2309     cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
 2310 
 2311     test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2312         && test -z "${cf_tst_cflags}" \
 2313         && cf_fix_cppflags=no
 2314     ;;
 2315 esac
 2316 done
 2317 
 2318 if test -n "$cf_new_cflags" ; then
 2319 
 2320     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 2321     CFLAGS="${CFLAGS}$cf_new_cflags"
 2322 
 2323 fi
 2324 
 2325 if test -n "$cf_new_cppflags" ; then
 2326 
 2327     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 2328     CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
 2329 
 2330 fi
 2331 
 2332 if test -n "$cf_new_extra_cppflags" ; then
 2333 
 2334     test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
 2335     EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
 2336 
 2337 fi
 2338 
 2339     done
 2340     ;;
 2341 (*)
 2342     echo "$as_me:2342: result: ok" >&5
 2343 echo "${ECHO_T}ok" >&6
 2344     ;;
 2345 esac
 2346 
 2347 echo "$as_me:2347: checking \$CC variable" >&5
 2348 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
 2349 case "$CC" in
 2350 (*[\ \  ]-*)
 2351     echo "$as_me:2351: result: broken" >&5
 2352 echo "${ECHO_T}broken" >&6
 2353     { echo "$as_me:2353: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
 2354 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
 2355     # humor him...
 2356     cf_prog=`echo "$CC" | sed -e 's/    / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'`
 2357     cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'`
 2358     CC="$cf_prog"
 2359     for cf_arg in $cf_flags
 2360     do
 2361         case "x$cf_arg" in
 2362         (x-[IUDfgOW]*)
 2363 
 2364 cf_fix_cppflags=no
 2365 cf_new_cflags=
 2366 cf_new_cppflags=
 2367 cf_new_extra_cppflags=
 2368 
 2369 for cf_add_cflags in $cf_arg
 2370 do
 2371 case "$cf_fix_cppflags" in
 2372 (no)
 2373     case "$cf_add_cflags" in
 2374     (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
 2375         case "$cf_add_cflags" in
 2376         (-D*)
 2377             cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 2378 
 2379             test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2380                 && test -z "${cf_tst_cflags}" \
 2381                 && cf_fix_cppflags=yes
 2382 
 2383             if test "$cf_fix_cppflags" = yes ; then
 2384 
 2385     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2386     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2387 
 2388                 continue
 2389             elif test "${cf_tst_cflags}" = "\"'" ; then
 2390 
 2391     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2392     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2393 
 2394                 continue
 2395             fi
 2396             ;;
 2397         esac
 2398         case "$CPPFLAGS" in
 2399         (*$cf_add_cflags)
 2400             ;;
 2401         (*)
 2402             case "$cf_add_cflags" in
 2403             (-D*)
 2404                 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 2405 
 2406 CPPFLAGS=`echo "$CPPFLAGS" | \
 2407     sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[     ]/ /g' \
 2408         -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 2409 
 2410                 ;;
 2411             esac
 2412 
 2413     test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
 2414     cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
 2415 
 2416             ;;
 2417         esac
 2418         ;;
 2419     (*)
 2420 
 2421     test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
 2422     cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
 2423 
 2424         ;;
 2425     esac
 2426     ;;
 2427 (yes)
 2428 
 2429     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2430     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2431 
 2432     cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
 2433 
 2434     test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2435         && test -z "${cf_tst_cflags}" \
 2436         && cf_fix_cppflags=no
 2437     ;;
 2438 esac
 2439 done
 2440 
 2441 if test -n "$cf_new_cflags" ; then
 2442 
 2443     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 2444     CFLAGS="${CFLAGS}$cf_new_cflags"
 2445 
 2446 fi
 2447 
 2448 if test -n "$cf_new_cppflags" ; then
 2449 
 2450     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 2451     CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
 2452 
 2453 fi
 2454 
 2455 if test -n "$cf_new_extra_cppflags" ; then
 2456 
 2457     test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
 2458     EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
 2459 
 2460 fi
 2461 
 2462             ;;
 2463         (*)
 2464             CC="$CC $cf_arg"
 2465             ;;
 2466         esac
 2467     done
 2468     test -n "$verbose" && echo "    resulting CC: '$CC'" 1>&6
 2469 
 2470 echo "${as_me:-configure}:2470: testing resulting CC: '$CC' ..." 1>&5
 2471 
 2472     test -n "$verbose" && echo "    resulting CFLAGS: '$CFLAGS'" 1>&6
 2473 
 2474 echo "${as_me:-configure}:2474: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
 2475 
 2476     test -n "$verbose" && echo "    resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
 2477 
 2478 echo "${as_me:-configure}:2478: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5
 2479 
 2480     ;;
 2481 (*)
 2482     echo "$as_me:2482: result: ok" >&5
 2483 echo "${ECHO_T}ok" >&6
 2484     ;;
 2485 esac
 2486 
 2487 echo "$as_me:2487: checking for ${CC:-cc} option to accept ANSI C" >&5
 2488 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6
 2489 if test "${cf_cv_ansi_cc+set}" = set; then
 2490   echo $ECHO_N "(cached) $ECHO_C" >&6
 2491 else
 2492 
 2493 cf_cv_ansi_cc=no
 2494 cf_save_CFLAGS="$CFLAGS"
 2495 cf_save_CPPFLAGS="$CPPFLAGS"
 2496 # Don't try gcc -ansi; that turns off useful extensions and
 2497 # breaks some systems' header files.
 2498 # AIX           -qlanglvl=ansi
 2499 # Ultrix and OSF/1  -std1
 2500 # HP-UX         -Aa -D_HPUX_SOURCE
 2501 # SVR4          -Xc
 2502 # UnixWare 1.2      (cannot use -Xc, since ANSI/POSIX clashes)
 2503 for cf_arg in "-DCC_HAS_PROTOS" \
 2504     "" \
 2505     -qlanglvl=ansi \
 2506     -std1 \
 2507     -Ae \
 2508     "-Aa -D_HPUX_SOURCE" \
 2509     -Xc
 2510 do
 2511 
 2512 cf_fix_cppflags=no
 2513 cf_new_cflags=
 2514 cf_new_cppflags=
 2515 cf_new_extra_cppflags=
 2516 
 2517 for cf_add_cflags in $cf_arg
 2518 do
 2519 case "$cf_fix_cppflags" in
 2520 (no)
 2521     case "$cf_add_cflags" in
 2522     (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
 2523         case "$cf_add_cflags" in
 2524         (-D*)
 2525             cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 2526 
 2527             test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2528                 && test -z "${cf_tst_cflags}" \
 2529                 && cf_fix_cppflags=yes
 2530 
 2531             if test "$cf_fix_cppflags" = yes ; then
 2532 
 2533     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2534     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2535 
 2536                 continue
 2537             elif test "${cf_tst_cflags}" = "\"'" ; then
 2538 
 2539     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2540     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2541 
 2542                 continue
 2543             fi
 2544             ;;
 2545         esac
 2546         case "$CPPFLAGS" in
 2547         (*$cf_add_cflags)
 2548             ;;
 2549         (*)
 2550             case "$cf_add_cflags" in
 2551             (-D*)
 2552                 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 2553 
 2554 CPPFLAGS=`echo "$CPPFLAGS" | \
 2555     sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[     ]/ /g' \
 2556         -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 2557 
 2558                 ;;
 2559             esac
 2560 
 2561     test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
 2562     cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
 2563 
 2564             ;;
 2565         esac
 2566         ;;
 2567     (*)
 2568 
 2569     test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
 2570     cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
 2571 
 2572         ;;
 2573     esac
 2574     ;;
 2575 (yes)
 2576 
 2577     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2578     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2579 
 2580     cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
 2581 
 2582     test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2583         && test -z "${cf_tst_cflags}" \
 2584         && cf_fix_cppflags=no
 2585     ;;
 2586 esac
 2587 done
 2588 
 2589 if test -n "$cf_new_cflags" ; then
 2590 
 2591     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 2592     CFLAGS="${CFLAGS}$cf_new_cflags"
 2593 
 2594 fi
 2595 
 2596 if test -n "$cf_new_cppflags" ; then
 2597 
 2598     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 2599     CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
 2600 
 2601 fi
 2602 
 2603 if test -n "$cf_new_extra_cppflags" ; then
 2604 
 2605     test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
 2606     EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
 2607 
 2608 fi
 2609 
 2610     cat >"conftest.$ac_ext" <<_ACEOF
 2611 #line 2611 "configure"
 2612 #include "confdefs.h"
 2613 
 2614 #ifndef CC_HAS_PROTOS
 2615 #if !defined(__STDC__) || (__STDC__ != 1)
 2616 choke me
 2617 #endif
 2618 #endif
 2619 
 2620 int
 2621 main (void)
 2622 {
 2623 
 2624     int test (int i, double x);
 2625     struct s1 {int (*f) (int a);};
 2626     struct s2 {int (*f) (double a);};
 2627   ;
 2628   return 0;
 2629 }
 2630 _ACEOF
 2631 rm -f "conftest.$ac_objext"
 2632 if { (eval echo "$as_me:2632: \"$ac_compile\"") >&5
 2633   (eval $ac_compile) 2>&5
 2634   ac_status=$?
 2635   echo "$as_me:2635: \$? = $ac_status" >&5
 2636   (exit "$ac_status"); } &&
 2637          { ac_try='test -s "conftest.$ac_objext"'
 2638   { (eval echo "$as_me:2638: \"$ac_try\"") >&5
 2639   (eval $ac_try) 2>&5
 2640   ac_status=$?
 2641   echo "$as_me:2641: \$? = $ac_status" >&5
 2642   (exit "$ac_status"); }; }; then
 2643   cf_cv_ansi_cc="$cf_arg"; break
 2644 else
 2645   echo "$as_me: failed program was:" >&5
 2646 cat "conftest.$ac_ext" >&5
 2647 fi
 2648 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 2649 done
 2650 CFLAGS="$cf_save_CFLAGS"
 2651 CPPFLAGS="$cf_save_CPPFLAGS"
 2652 
 2653 fi
 2654 echo "$as_me:2654: result: $cf_cv_ansi_cc" >&5
 2655 echo "${ECHO_T}$cf_cv_ansi_cc" >&6
 2656 
 2657 if test "$cf_cv_ansi_cc" != "no"; then
 2658 if test ".$cf_cv_ansi_cc" != ".-DCC_HAS_PROTOS"; then
 2659 
 2660 cf_fix_cppflags=no
 2661 cf_new_cflags=
 2662 cf_new_cppflags=
 2663 cf_new_extra_cppflags=
 2664 
 2665 for cf_add_cflags in $cf_cv_ansi_cc
 2666 do
 2667 case "$cf_fix_cppflags" in
 2668 (no)
 2669     case "$cf_add_cflags" in
 2670     (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
 2671         case "$cf_add_cflags" in
 2672         (-D*)
 2673             cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 2674 
 2675             test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2676                 && test -z "${cf_tst_cflags}" \
 2677                 && cf_fix_cppflags=yes
 2678 
 2679             if test "$cf_fix_cppflags" = yes ; then
 2680 
 2681     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2682     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2683 
 2684                 continue
 2685             elif test "${cf_tst_cflags}" = "\"'" ; then
 2686 
 2687     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2688     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2689 
 2690                 continue
 2691             fi
 2692             ;;
 2693         esac
 2694         case "$CPPFLAGS" in
 2695         (*$cf_add_cflags)
 2696             ;;
 2697         (*)
 2698             case "$cf_add_cflags" in
 2699             (-D*)
 2700                 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 2701 
 2702 CPPFLAGS=`echo "$CPPFLAGS" | \
 2703     sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[     ]/ /g' \
 2704         -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 2705 
 2706                 ;;
 2707             esac
 2708 
 2709     test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
 2710     cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
 2711 
 2712             ;;
 2713         esac
 2714         ;;
 2715     (*)
 2716 
 2717     test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
 2718     cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
 2719 
 2720         ;;
 2721     esac
 2722     ;;
 2723 (yes)
 2724 
 2725     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 2726     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 2727 
 2728     cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
 2729 
 2730     test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 2731         && test -z "${cf_tst_cflags}" \
 2732         && cf_fix_cppflags=no
 2733     ;;
 2734 esac
 2735 done
 2736 
 2737 if test -n "$cf_new_cflags" ; then
 2738 
 2739     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 2740     CFLAGS="${CFLAGS}$cf_new_cflags"
 2741 
 2742 fi
 2743 
 2744 if test -n "$cf_new_cppflags" ; then
 2745 
 2746     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 2747     CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
 2748 
 2749 fi
 2750 
 2751 if test -n "$cf_new_extra_cppflags" ; then
 2752 
 2753     test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
 2754     EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
 2755 
 2756 fi
 2757 
 2758 else
 2759 
 2760 cat >>confdefs.h <<\EOF
 2761 #define CC_HAS_PROTOS 1
 2762 EOF
 2763 
 2764 fi
 2765 fi
 2766 
 2767 if test "$cf_cv_ansi_cc" = "no"; then
 2768     { { echo "$as_me:2768: error: Your compiler does not appear to recognize prototypes.
 2769 You have the following choices:
 2770     a. adjust your compiler options
 2771     b. get an up-to-date compiler
 2772     c. use a wrapper such as unproto" >&5
 2773 echo "$as_me: error: Your compiler does not appear to recognize prototypes.
 2774 You have the following choices:
 2775     a. adjust your compiler options
 2776     b. get an up-to-date compiler
 2777     c. use a wrapper such as unproto" >&2;}
 2778    { (exit 1); exit 1; }; }
 2779 fi
 2780 
 2781 echo "$as_me:2781: checking for $CC option to accept ANSI C" >&5
 2782 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 2783 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 2784   echo $ECHO_N "(cached) $ECHO_C" >&6
 2785 else
 2786   ac_cv_prog_cc_stdc=no
 2787 ac_save_CC=$CC
 2788 cat >"conftest.$ac_ext" <<_ACEOF
 2789 #line 2789 "configure"
 2790 #include "confdefs.h"
 2791 #include <stdarg.h>
 2792 #include <stdio.h>
 2793 #include <sys/types.h>
 2794 #include <sys/stat.h>
 2795 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2796 struct buf { int x; };
 2797 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2798 static char *e (p, i)
 2799      char **p;
 2800      int i;
 2801 {
 2802   return p[i];
 2803 }
 2804 static char *f (char * (*g) (char **, int), char **p, ...)
 2805 {
 2806   char *s;
 2807   va_list v;
 2808   va_start (v,p);
 2809   s = g (p, va_arg (v,int));
 2810   va_end (v);
 2811   return s;
 2812 }
 2813 int test (int i, double x);
 2814 struct s1 {int (*f) (int a);};
 2815 struct s2 {int (*f) (double a);};
 2816 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2817 int argc;
 2818 char **argv;
 2819 int
 2820 main (void)
 2821 {
 2822 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2823   ;
 2824   return 0;
 2825 }
 2826 _ACEOF
 2827 # Don't try gcc -ansi; that turns off useful extensions and
 2828 # breaks some systems' header files.
 2829 # AIX           -qlanglvl=ansi
 2830 # Ultrix and OSF/1  -std1
 2831 # HP-UX 10.20 and later -Ae
 2832 # HP-UX older versions  -Aa -D_HPUX_SOURCE
 2833 # SVR4          -Xc -D__EXTENSIONS__
 2834 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2835 do
 2836   CC="$ac_save_CC $ac_arg"
 2837   rm -f "conftest.$ac_objext"
 2838 if { (eval echo "$as_me:2838: \"$ac_compile\"") >&5
 2839   (eval $ac_compile) 2>&5
 2840   ac_status=$?
 2841   echo "$as_me:2841: \$? = $ac_status" >&5
 2842   (exit "$ac_status"); } &&
 2843          { ac_try='test -s "conftest.$ac_objext"'
 2844   { (eval echo "$as_me:2844: \"$ac_try\"") >&5
 2845   (eval $ac_try) 2>&5
 2846   ac_status=$?
 2847   echo "$as_me:2847: \$? = $ac_status" >&5
 2848   (exit "$ac_status"); }; }; then
 2849   ac_cv_prog_cc_stdc=$ac_arg
 2850 break
 2851 else
 2852   echo "$as_me: failed program was:" >&5
 2853 cat "conftest.$ac_ext" >&5
 2854 fi
 2855 rm -f "conftest.$ac_objext"
 2856 done
 2857 rm -f "conftest.$ac_ext" "conftest.$ac_objext"
 2858 CC=$ac_save_CC
 2859 
 2860 fi
 2861 
 2862 case "x$ac_cv_prog_cc_stdc" in
 2863   x|xno)
 2864     echo "$as_me:2864: result: none needed" >&5
 2865 echo "${ECHO_T}none needed" >&6 ;;
 2866   *)
 2867     echo "$as_me:2867: result: $ac_cv_prog_cc_stdc" >&5
 2868 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2869     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2870 esac
 2871 
 2872 echo "$as_me:2872: checking for an ANSI C-conforming const" >&5
 2873 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 2874 if test "${ac_cv_c_const+set}" = set; then
 2875   echo $ECHO_N "(cached) $ECHO_C" >&6
 2876 else
 2877   cat >"conftest.$ac_ext" <<_ACEOF
 2878 #line 2878 "configure"
 2879 #include "confdefs.h"
 2880 
 2881 int
 2882 main (void)
 2883 {
 2884 /* FIXME: Include the comments suggested by Paul. */
 2885 #ifndef __cplusplus
 2886   /* Ultrix mips cc rejects this.  */
 2887   typedef int charset[2];
 2888   const charset x;
 2889   /* SunOS 4.1.1 cc rejects this.  */
 2890   char const *const *ccp;
 2891   char **p;
 2892   /* NEC SVR4.0.2 mips cc rejects this.  */
 2893   struct point {int x, y;};
 2894   static struct point const zero = {0,0};
 2895   /* AIX XL C 1.02.0.0 rejects this.
 2896      It does not let you subtract one const X* pointer from another in
 2897      an arm of an if-expression whose if-part is not a constant
 2898      expression */
 2899   const char *g = "string";
 2900   ccp = &g + (g ? g-g : 0);
 2901   /* HPUX 7.0 cc rejects these. */
 2902   ++ccp;
 2903   p = (char**) ccp;
 2904   ccp = (char const *const *) p;
 2905   { /* SCO 3.2v4 cc rejects this.  */
 2906     char *t;
 2907     char const *s = 0 ? (char *) 0 : (char const *) 0;
 2908 
 2909     *t++ = 0;
 2910   }
 2911   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 2912     int x[] = {25, 17};
 2913     const int *foo = &x[0];
 2914     ++foo;
 2915   }
 2916   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 2917     typedef const int *iptr;
 2918     iptr p = 0;
 2919     ++p;
 2920   }
 2921   { /* AIX XL C 1.02.0.0 rejects this saying
 2922        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 2923     struct s { int j; const int *ap[3]; };
 2924     struct s *b; b->j = 5;
 2925   }
 2926   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 2927     const int foo = 10;
 2928   }
 2929 #endif
 2930 
 2931   ;
 2932   return 0;
 2933 }
 2934 _ACEOF
 2935 rm -f "conftest.$ac_objext"
 2936 if { (eval echo "$as_me:2936: \"$ac_compile\"") >&5
 2937   (eval $ac_compile) 2>&5
 2938   ac_status=$?
 2939   echo "$as_me:2939: \$? = $ac_status" >&5
 2940   (exit "$ac_status"); } &&
 2941          { ac_try='test -s "conftest.$ac_objext"'
 2942   { (eval echo "$as_me:2942: \"$ac_try\"") >&5
 2943   (eval $ac_try) 2>&5
 2944   ac_status=$?
 2945   echo "$as_me:2945: \$? = $ac_status" >&5
 2946   (exit "$ac_status"); }; }; then
 2947   ac_cv_c_const=yes
 2948 else
 2949   echo "$as_me: failed program was:" >&5
 2950 cat "conftest.$ac_ext" >&5
 2951 ac_cv_c_const=no
 2952 fi
 2953 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 2954 fi
 2955 echo "$as_me:2955: result: $ac_cv_c_const" >&5
 2956 echo "${ECHO_T}$ac_cv_c_const" >&6
 2957 if test $ac_cv_c_const = no; then
 2958 
 2959 cat >>confdefs.h <<\EOF
 2960 #define const
 2961 EOF
 2962 
 2963 fi
 2964 
 2965 for ac_prog in ggrep grep
 2966 do
 2967   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2968 set dummy $ac_prog; ac_word=$2
 2969 echo "$as_me:2969: checking for $ac_word" >&5
 2970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2971 if test "${ac_cv_prog_GREP+set}" = set; then
 2972   echo $ECHO_N "(cached) $ECHO_C" >&6
 2973 else
 2974   if test -n "$GREP"; then
 2975   ac_cv_prog_GREP="$GREP" # Let the user override the test.
 2976 else
 2977   ac_save_IFS=$IFS; IFS=$ac_path_separator
 2978 ac_dummy="$PATH"
 2979 for ac_dir in $ac_dummy; do
 2980   IFS=$ac_save_IFS
 2981   test -z "$ac_dir" && ac_dir=.
 2982   $as_executable_p "$ac_dir/$ac_word" || continue
 2983 ac_cv_prog_GREP="$ac_prog"
 2984 echo "$as_me:2984: found $ac_dir/$ac_word" >&5
 2985 break
 2986 done
 2987 
 2988 fi
 2989 fi
 2990 GREP=$ac_cv_prog_GREP
 2991 if test -n "$GREP"; then
 2992   echo "$as_me:2992: result: $GREP" >&5
 2993 echo "${ECHO_T}$GREP" >&6
 2994 else
 2995   echo "$as_me:2995: result: no" >&5
 2996 echo "${ECHO_T}no" >&6
 2997 fi
 2998 
 2999   test -n "$GREP" && break
 3000 done
 3001 test -n "$GREP" || GREP=": "
 3002 
 3003 echo "$as_me:3003: checking for fgrep" >&5
 3004 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
 3005 if test "${ac_cv_path_FGREP+set}" = set; then
 3006   echo $ECHO_N "(cached) $ECHO_C" >&6
 3007 else
 3008   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 3009    then ac_cv_path_FGREP="$GREP -F"
 3010    else
 3011      for ac_prog in gfgrep fgrep
 3012 do
 3013   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3014 set dummy $ac_prog; ac_word=$2
 3015 echo "$as_me:3015: checking for $ac_word" >&5
 3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3017 if test "${ac_cv_path_FGREP+set}" = set; then
 3018   echo $ECHO_N "(cached) $ECHO_C" >&6
 3019 else
 3020   case $FGREP in
 3021   [\\/]* | ?:[\\/]*)
 3022   ac_cv_path_FGREP="$FGREP" # Let the user override the test with a path.
 3023   ;;
 3024   *)
 3025   ac_save_IFS=$IFS; IFS=$ac_path_separator
 3026 ac_dummy="$PATH"
 3027 for ac_dir in $ac_dummy; do
 3028   IFS=$ac_save_IFS
 3029   test -z "$ac_dir" && ac_dir=.
 3030   if $as_executable_p "$ac_dir/$ac_word"; then
 3031    ac_cv_path_FGREP="$ac_dir/$ac_word"
 3032    echo "$as_me:3032: found $ac_dir/$ac_word" >&5
 3033    break
 3034 fi
 3035 done
 3036 
 3037   ;;
 3038 esac
 3039 fi
 3040 FGREP=$ac_cv_path_FGREP
 3041 
 3042 if test -n "$FGREP"; then
 3043   echo "$as_me:3043: result: $FGREP" >&5
 3044 echo "${ECHO_T}$FGREP" >&6
 3045 else
 3046   echo "$as_me:3046: result: no" >&5
 3047 echo "${ECHO_T}no" >&6
 3048 fi
 3049 
 3050   test -n "$FGREP" && break
 3051 done
 3052 test -n "$FGREP" || FGREP=": "
 3053 
 3054      test "x$ac_cv_path_FGREP" = "x:" && { { echo "$as_me:3054: error: cannot find workable fgrep" >&5
 3055 echo "$as_me: error: cannot find workable fgrep" >&2;}
 3056    { (exit 1); exit 1; }; }
 3057    fi
 3058 fi
 3059 echo "$as_me:3059: result: $ac_cv_path_FGREP" >&5
 3060 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
 3061  FGREP="$ac_cv_path_FGREP"
 3062 
 3063 GCC_VERSION=none
 3064 if test "$GCC" = yes ; then
 3065     echo "$as_me:3065: checking version of $CC" >&5
 3066 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
 3067     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.].*//'`"
 3068     test -z "$GCC_VERSION" && GCC_VERSION=unknown
 3069     echo "$as_me:3069: result: $GCC_VERSION" >&5
 3070 echo "${ECHO_T}$GCC_VERSION" >&6
 3071 fi
 3072 
 3073 INTEL_COMPILER=no
 3074 
 3075 if test "$GCC" = yes ; then
 3076     case "$host_os" in
 3077     (linux*|gnu*)
 3078         echo "$as_me:3078: checking if this is really Intel C compiler" >&5
 3079 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
 3080         cf_save_CFLAGS="$CFLAGS"
 3081         CFLAGS="$CFLAGS -no-gcc"
 3082         cat >"conftest.$ac_ext" <<_ACEOF
 3083 #line 3083 "configure"
 3084 #include "confdefs.h"
 3085 
 3086 int
 3087 main (void)
 3088 {
 3089 
 3090 #ifdef __INTEL_COMPILER
 3091 #else
 3092 make an error
 3093 #endif
 3094 
 3095   ;
 3096   return 0;
 3097 }
 3098 _ACEOF
 3099 rm -f "conftest.$ac_objext"
 3100 if { (eval echo "$as_me:3100: \"$ac_compile\"") >&5
 3101   (eval $ac_compile) 2>&5
 3102   ac_status=$?
 3103   echo "$as_me:3103: \$? = $ac_status" >&5
 3104   (exit "$ac_status"); } &&
 3105          { ac_try='test -s "conftest.$ac_objext"'
 3106   { (eval echo "$as_me:3106: \"$ac_try\"") >&5
 3107   (eval $ac_try) 2>&5
 3108   ac_status=$?
 3109   echo "$as_me:3109: \$? = $ac_status" >&5
 3110   (exit "$ac_status"); }; }; then
 3111   INTEL_COMPILER=yes
 3112 cf_save_CFLAGS="$cf_save_CFLAGS -we147"
 3113 
 3114 else
 3115   echo "$as_me: failed program was:" >&5
 3116 cat "conftest.$ac_ext" >&5
 3117 fi
 3118 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 3119         CFLAGS="$cf_save_CFLAGS"
 3120         echo "$as_me:3120: result: $INTEL_COMPILER" >&5
 3121 echo "${ECHO_T}$INTEL_COMPILER" >&6
 3122         ;;
 3123     esac
 3124 fi
 3125 
 3126 CLANG_COMPILER=no
 3127 
 3128 if test "$GCC" = yes ; then
 3129     echo "$as_me:3129: checking if this is really Clang C compiler" >&5
 3130 echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
 3131     cf_save_CFLAGS="$CFLAGS"
 3132     cat >"conftest.$ac_ext" <<_ACEOF
 3133 #line 3133 "configure"
 3134 #include "confdefs.h"
 3135 
 3136 int
 3137 main (void)
 3138 {
 3139 
 3140 #ifdef __clang__
 3141 #else
 3142 make an error
 3143 #endif
 3144 
 3145   ;
 3146   return 0;
 3147 }
 3148 _ACEOF
 3149 rm -f "conftest.$ac_objext"
 3150 if { (eval echo "$as_me:3150: \"$ac_compile\"") >&5
 3151   (eval $ac_compile) 2>&5
 3152   ac_status=$?
 3153   echo "$as_me:3153: \$? = $ac_status" >&5
 3154   (exit "$ac_status"); } &&
 3155          { ac_try='test -s "conftest.$ac_objext"'
 3156   { (eval echo "$as_me:3156: \"$ac_try\"") >&5
 3157   (eval $ac_try) 2>&5
 3158   ac_status=$?
 3159   echo "$as_me:3159: \$? = $ac_status" >&5
 3160   (exit "$ac_status"); }; }; then
 3161   CLANG_COMPILER=yes
 3162 
 3163 else
 3164   echo "$as_me: failed program was:" >&5
 3165 cat "conftest.$ac_ext" >&5
 3166 fi
 3167 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
 3168     CFLAGS="$cf_save_CFLAGS"
 3169     echo "$as_me:3169: result: $CLANG_COMPILER" >&5
 3170 echo "${ECHO_T}$CLANG_COMPILER" >&6
 3171 fi
 3172 
 3173 CLANG_VERSION=none
 3174 
 3175 if test "x$CLANG_COMPILER" = "xyes" ; then
 3176     case "$CC" in
 3177     (c[1-9][0-9]|*/c[1-9][0-9])
 3178         { echo "$as_me:3178: WARNING: replacing broken compiler alias $CC" >&5
 3179 echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;}
 3180         CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`"
 3181         CC=clang
 3182         ;;
 3183     esac
 3184 
 3185     echo "$as_me:3185: checking version of $CC" >&5
 3186 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
 3187     CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
 3188     test -z "$CLANG_VERSION" && CLANG_VERSION=unknown
 3189     echo "$as_me:3189: result: $CLANG_VERSION" >&5
 3190 echo "${ECHO_T}$CLANG_VERSION" >&6
 3191 
 3192     for cf_clang_opt in \
 3193         -Qunused-arguments \
 3194         -Wno-error=implicit-function-declaration
 3195     do
 3196         echo "$as_me:3196: checking if option $cf_clang_opt works" >&5
 3197 echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6
 3198         cf_save_CFLAGS="$CFLAGS"
 3199         CFLAGS="$CFLAGS $cf_clang_opt"
 3200         cat >"conftest.$ac_ext" <<_ACEOF
 3201 #line 3201 "configure"
 3202 #include "confdefs.h"
 3203 
 3204             #include <stdio.h>
 3205 int
 3206 main (void)
 3207 {
 3208 
 3209             printf("hello!\\n");
 3210   ;
 3211   return 0;
 3212 }
 3213 _ACEOF
 3214 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
 3215 if { (eval echo "$as_me:3215: \"$ac_link\"") >&5
 3216   (eval $ac_link) 2>&5
 3217   ac_status=$?
 3218   echo "$as_me:3218: \$? = $ac_status" >&5
 3219   (exit "$ac_status"); } &&
 3220          { ac_try='test -s "conftest$ac_exeext"'
 3221   { (eval echo "$as_me:3221: \"$ac_try\"") >&5
 3222   (eval $ac_try) 2>&5
 3223   ac_status=$?
 3224   echo "$as_me:3224: \$? = $ac_status" >&5
 3225   (exit "$ac_status"); }; }; then
 3226 
 3227             cf_clang_optok=yes
 3228 else
 3229   echo "$as_me: failed program was:" >&5
 3230 cat "conftest.$ac_ext" >&5
 3231 
 3232             cf_clang_optok=no
 3233 fi
 3234 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
 3235         echo "$as_me:3235: result: $cf_clang_optok" >&5
 3236 echo "${ECHO_T}$cf_clang_optok" >&6
 3237         CFLAGS="$cf_save_CFLAGS"
 3238         if test "$cf_clang_optok" = yes; then
 3239             test -n "$verbose" && echo "    adding option $cf_clang_opt" 1>&6
 3240 
 3241 echo "${as_me:-configure}:3241: testing adding option $cf_clang_opt ..." 1>&5
 3242 
 3243     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 3244     CFLAGS="${CFLAGS}$cf_clang_opt"
 3245 
 3246         fi
 3247     done
 3248 fi
 3249 
 3250 if test "$GCC" = yes || test "$GXX" = yes
 3251 then
 3252 
 3253 if test "$GCC" = yes || test "$GXX" = yes
 3254 then
 3255     case $CFLAGS in
 3256     (*-Werror=*)
 3257         test -n "$verbose" && echo "    repairing CFLAGS: $CFLAGS" 1>&6
 3258 
 3259 echo "${as_me:-configure}:3259: testing repairing CFLAGS: $CFLAGS ..." 1>&5
 3260 
 3261         cf_temp_flags=
 3262         for cf_temp_scan in $CFLAGS
 3263         do
 3264             case "x$cf_temp_scan" in
 3265             (x-Werror=*)
 3266 
 3267     test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS "
 3268     EXTRA_CFLAGS="${EXTRA_CFLAGS}$cf_temp_scan"
 3269 
 3270                 ;;
 3271             (*)
 3272 
 3273     test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
 3274     cf_temp_flags="${cf_temp_flags}$cf_temp_scan"
 3275 
 3276                 ;;
 3277             esac
 3278         done
 3279         CFLAGS="$cf_temp_flags"
 3280         test -n "$verbose" && echo "    ... fixed $CFLAGS" 1>&6
 3281 
 3282 echo "${as_me:-configure}:3282: testing ... fixed $CFLAGS ..." 1>&5
 3283 
 3284         test -n "$verbose" && echo "    ... extra $EXTRA_CFLAGS" 1>&6
 3285 
 3286 echo "${as_me:-configure}:3286: testing ... extra $EXTRA_CFLAGS ..." 1>&5
 3287 
 3288         ;;
 3289     esac
 3290 fi
 3291 
 3292 if test "$GCC" = yes || test "$GXX" = yes
 3293 then
 3294     case $CPPFLAGS in
 3295     (*-Werror=*)
 3296         test -n "$verbose" && echo "    repairing CPPFLAGS: $CPPFLAGS" 1>&6
 3297 
 3298 echo "${as_me:-configure}:3298: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5
 3299 
 3300         cf_temp_flags=
 3301         for cf_temp_scan in $CPPFLAGS
 3302         do
 3303             case "x$cf_temp_scan" in
 3304             (x-Werror=*)
 3305 
 3306     test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS "
 3307     EXTRA_CFLAGS="${EXTRA_CFLAGS}$cf_temp_scan"
 3308 
 3309                 ;;
 3310             (*)
 3311 
 3312     test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
 3313     cf_temp_flags="${cf_temp_flags}$cf_temp_scan"
 3314 
 3315                 ;;
 3316             esac
 3317         done
 3318         CPPFLAGS="$cf_temp_flags"
 3319         test -n "$verbose" && echo "    ... fixed $CPPFLAGS" 1>&6
 3320 
 3321 echo "${as_me:-configure}:3321: testing ... fixed $CPPFLAGS ..." 1>&5
 3322 
 3323         test -n "$verbose" && echo "    ... extra $EXTRA_CFLAGS" 1>&6
 3324 
 3325 echo "${as_me:-configure}:3325: testing ... extra $EXTRA_CFLAGS ..." 1>&5
 3326 
 3327         ;;
 3328     esac
 3329 fi
 3330 
 3331 if test "$GCC" = yes || test "$GXX" = yes
 3332 then
 3333     case $LDFLAGS in
 3334     (*-Werror=*)
 3335         test -n "$verbose" && echo "    repairing LDFLAGS: $LDFLAGS" 1>&6
 3336 
 3337 echo "${as_me:-configure}:3337: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5
 3338 
 3339         cf_temp_flags=
 3340         for cf_temp_scan in $LDFLAGS
 3341         do
 3342             case "x$cf_temp_scan" in
 3343             (x-Werror=*)
 3344 
 3345     test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS "
 3346     EXTRA_CFLAGS="${EXTRA_CFLAGS}$cf_temp_scan"
 3347 
 3348                 ;;
 3349             (*)
 3350 
 3351     test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags "
 3352     cf_temp_flags="${cf_temp_flags}$cf_temp_scan"
 3353 
 3354                 ;;
 3355             esac
 3356         done
 3357         LDFLAGS="$cf_temp_flags"
 3358         test -n "$verbose" && echo "    ... fixed $LDFLAGS" 1>&6
 3359 
 3360 echo "${as_me:-configure}:3360: testing ... fixed $LDFLAGS ..." 1>&5
 3361 
 3362         test -n "$verbose" && echo "    ... extra $EXTRA_CFLAGS" 1>&6
 3363 
 3364 echo "${as_me:-configure}:3364: testing ... extra $EXTRA_CFLAGS ..." 1>&5
 3365 
 3366         ;;
 3367     esac
 3368 fi
 3369 
 3370 echo "$as_me:3370: checking if you want to turn on gcc warnings" >&5
 3371 echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6
 3372 
 3373 # Check whether --enable-warnings or --disable-warnings was given.
 3374 if test "${enable_warnings+set}" = set; then
 3375   enableval="$enable_warnings"
 3376   test "$enableval" != yes && enableval=no
 3377     if test "$enableval" != "no" ; then
 3378     enable_warnings=yes
 3379     else
 3380         enable_warnings=no
 3381     fi
 3382 else
 3383   enableval=no
 3384     enable_warnings=no
 3385 
 3386 fi;
 3387 echo "$as_me:3387: result: $enable_warnings" >&5
 3388 echo "${ECHO_T}$enable_warnings" >&6
 3389 if test "$enable_warnings" = "yes"
 3390 then
 3391 
 3392 if test "$GCC" = yes || test "$GXX" = yes
 3393 then
 3394 cat > conftest.i <<EOF
 3395 #ifndef GCC_PRINTF
 3396 #define GCC_PRINTF 0
 3397 #endif
 3398 #ifndef GCC_SCANF
 3399 #define GCC_SCANF 0
 3400 #endif
 3401 #ifndef GCC_NORETURN
 3402 #define GCC_NORETURN /* nothing */
 3403 #endif
 3404 #ifndef GCC_UNUSED
 3405 #define GCC_UNUSED /* nothing */
 3406 #endif
 3407 EOF
 3408 if test "$GCC" = yes
 3409 then
 3410     { echo "$as_me:3410: checking for $CC __attribute__ directives..." >&5
 3411 echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
 3412 cat > "conftest.$ac_ext" <<EOF
 3413 #line 3413 "${as_me:-configure}"
 3414 #include "confdefs.h"
 3415 #include "conftest.h"
 3416 #include "conftest.i"
 3417 #if GCC_PRINTF
 3418 #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
 3419 #else
 3420 #define GCC_PRINTFLIKE(fmt,var) /*nothing*/
 3421 #endif
 3422 #if GCC_SCANF
 3423 #define GCC_SCANFLIKE(fmt,var)  __attribute__((format(scanf,fmt,var)))
 3424 #else
 3425 #define GCC_SCANFLIKE(fmt,var)  /*nothing*/
 3426 #endif
 3427 extern void wow(char *,...) GCC_SCANFLIKE(1,2);
 3428 extern void oops(char *,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN;
 3429 extern void foo(void) GCC_NORETURN;
 3430 int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED) { (void)argc; (void)argv; return 0; }
 3431 EOF
 3432     cf_printf_attribute=no
 3433     cf_scanf_attribute=no
 3434     for cf_attribute in scanf printf unused noreturn
 3435     do
 3436 
 3437 cf_ATTRIBUTE=`echo "$cf_attribute" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
 3438 
 3439         cf_directive="__attribute__(($cf_attribute))"
 3440         echo "checking for $CC $cf_directive" 1>&5
 3441 
 3442         case "$cf_attribute" in
 3443         (printf)
 3444             cf_printf_attribute=yes
 3445             cat >conftest.h <<EOF
 3446 #define GCC_$cf_ATTRIBUTE 1
 3447 EOF
 3448             ;;
 3449         (scanf)
 3450             cf_scanf_attribute=yes
 3451             cat >conftest.h <<EOF
 3452 #define GCC_$cf_ATTRIBUTE 1
 3453 EOF
 3454             ;;
 3455         (*)
 3456             cat >conftest.h <<EOF
 3457 #define GCC_$cf_ATTRIBUTE $cf_directive
 3458 EOF
 3459             ;;
 3460         esac
 3461 
 3462         if { (eval echo "$as_me:3462: \"$ac_compile\"") >&5
 3463   (eval $ac_compile) 2>&5
 3464   ac_status=$?
 3465   echo "$as_me:3465: \$? = $ac_status" >&5
 3466   (exit "$ac_status"); }; then
 3467             test -n "$verbose" && echo "$as_me:3467: result: ... $cf_attribute" >&5
 3468 echo "${ECHO_T}... $cf_attribute" >&6
 3469             cat conftest.h >>confdefs.h
 3470             case "$cf_attribute" in
 3471             (noreturn)
 3472 
 3473 cat >>confdefs.h <<EOF
 3474 #define GCC_NORETURN $cf_directive
 3475 EOF
 3476 
 3477                 ;;
 3478             (printf)
 3479                 cf_value='/* nothing */'
 3480                 if test "$cf_printf_attribute" != no ; then
 3481                     cf_value='__attribute__((format(printf,fmt,var)))'
 3482 
 3483 cat >>confdefs.h <<\EOF
 3484 #define GCC_PRINTF 1
 3485 EOF
 3486 
 3487                 fi
 3488 
 3489 cat >>confdefs.h <<EOF
 3490 #define GCC_PRINTFLIKE(fmt,var) $cf_value
 3491 EOF
 3492 
 3493                 ;;
 3494             (scanf)
 3495                 cf_value='/* nothing */'
 3496                 if test "$cf_scanf_attribute" != no ; then
 3497                     cf_value='__attribute__((format(scanf,fmt,var)))'
 3498 
 3499 cat >>confdefs.h <<\EOF
 3500 #define GCC_SCANF 1
 3501 EOF
 3502 
 3503                 fi
 3504 
 3505 cat >>confdefs.h <<EOF
 3506 #define GCC_SCANFLIKE(fmt,var) $cf_value
 3507 EOF
 3508 
 3509                 ;;
 3510             (unused)
 3511 
 3512 cat >>confdefs.h <<EOF
 3513 #define GCC_UNUSED $cf_directive
 3514 EOF
 3515 
 3516                 ;;
 3517             esac
 3518         fi
 3519     done
 3520 else
 3521     ${FGREP-fgrep} define conftest.i >>confdefs.h
 3522 fi
 3523 rm -rf ./conftest*
 3524 fi
 3525 
 3526 if test "x$have_x" = xyes; then echo "skipping X-const check"; fi
 3527 cat > "conftest.$ac_ext" <<EOF
 3528 #line 3528 "${as_me:-configure}"
 3529 int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
 3530 EOF
 3531 if test "$INTEL_COMPILER" = yes
 3532 then
 3533 # The "-wdXXX" options suppress warnings:
 3534 # remark #1419: external declaration in primary source file
 3535 # remark #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem)
 3536 # remark #1684: conversion from pointer to same-sized integral type (potential portability problem)
 3537 # remark #193: zero used for undefined preprocessing identifier
 3538 # remark #593: variable "curs_sb_left_arrow" was set but never used
 3539 # remark #810: conversion from "int" to "Dimension={unsigned short}" may lose significant bits
 3540 # remark #869: parameter "tw" was never referenced
 3541 # remark #981: operands are evaluated in unspecified order
 3542 # warning #279: controlling expression is constant
 3543 
 3544     { echo "$as_me:3544: checking for $CC warning options..." >&5
 3545 echo "$as_me: checking for $CC warning options..." >&6;}
 3546     cf_save_CFLAGS="$CFLAGS"
 3547     EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
 3548     for cf_opt in \
 3549         wd1419 \
 3550         wd1683 \
 3551         wd1684 \
 3552         wd193 \
 3553         wd593 \
 3554         wd279 \
 3555         wd810 \
 3556         wd869 \
 3557         wd981
 3558     do
 3559         CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
 3560         if { (eval echo "$as_me:3560: \"$ac_compile\"") >&5
 3561   (eval $ac_compile) 2>&5
 3562   ac_status=$?
 3563   echo "$as_me:3563: \$? = $ac_status" >&5
 3564   (exit "$ac_status"); }; then
 3565             test -n "$verbose" && echo "$as_me:3565: result: ... -$cf_opt" >&5
 3566 echo "${ECHO_T}... -$cf_opt" >&6
 3567             EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
 3568         fi
 3569     done
 3570     CFLAGS="$cf_save_CFLAGS"
 3571 elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown"
 3572 then
 3573     { echo "$as_me:3573: checking for $CC warning options..." >&5
 3574 echo "$as_me: checking for $CC warning options..." >&6;}
 3575     cf_save_CFLAGS="$CFLAGS"
 3576     cf_warn_CONST=""
 3577     test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings"
 3578     cf_gcc_warnings="Wignored-qualifiers Wlogical-op Wvarargs"
 3579     test "x$CLANG_COMPILER" = xyes && cf_gcc_warnings=
 3580     for cf_opt in W Wall \
 3581         Wbad-function-cast \
 3582         Wcast-align \
 3583         Wcast-qual \
 3584         Wdeclaration-after-statement \
 3585         Wextra \
 3586         Winline \
 3587         Wmissing-declarations \
 3588         Wmissing-prototypes \
 3589         Wnested-externs \
 3590         Wpointer-arith \
 3591         Wshadow \
 3592         Wstrict-prototypes \
 3593         Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST
 3594     do
 3595         CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
 3596         if { (eval echo "$as_me:3596: \"$ac_compile\"") >&5
 3597   (eval $ac_compile) 2>&5
 3598   ac_status=$?
 3599   echo "$as_me:3599: \$? = $ac_status" >&5
 3600   (exit "$ac_status"); }; then
 3601             test -n "$verbose" && echo "$as_me:3601: result: ... -$cf_opt" >&5
 3602 echo "${ECHO_T}... -$cf_opt" >&6
 3603             case "$cf_opt" in
 3604             (Winline)
 3605                 case "$GCC_VERSION" in
 3606                 ([34].*)
 3607                     test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
 3608 
 3609 echo "${as_me:-configure}:3609: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
 3610 
 3611                     continue;;
 3612                 esac
 3613                 ;;
 3614             (Wpointer-arith)
 3615                 case "$GCC_VERSION" in
 3616                 ([12].*)
 3617                     test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
 3618 
 3619 echo "${as_me:-configure}:3619: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
 3620 
 3621                     continue;;
 3622                 esac
 3623                 ;;
 3624             esac
 3625             EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
 3626         fi
 3627     done
 3628     CFLAGS="$cf_save_CFLAGS"
 3629 fi
 3630 rm -rf ./conftest*
 3631 
 3632 fi
 3633 
 3634 fi
 3635 
 3636 echo "$as_me:3636: checking if you want to see long compiling messages" >&5
 3637 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6
 3638 
 3639 # Check whether --enable-echo or --disable-echo was given.
 3640 if test "${enable_echo+set}" = set; then
 3641   enableval="$enable_echo"
 3642   test "$enableval" != no && enableval=yes
 3643     if test "$enableval" != "yes" ; then
 3644 
 3645     ECHO_LT='--silent'
 3646     ECHO_LD='@echo linking $@;'
 3647     RULE_CC='@echo compiling $<'
 3648     SHOW_CC='@echo compiling $@'
 3649     ECHO_CC='@'
 3650 
 3651     else
 3652 
 3653     ECHO_LT=''
 3654     ECHO_LD=''
 3655     RULE_CC=''
 3656     SHOW_CC=''
 3657     ECHO_CC=''
 3658 
 3659     fi
 3660 else
 3661   enableval=yes
 3662 
 3663     ECHO_LT=''
 3664     ECHO_LD=''
 3665     RULE_CC=''
 3666     SHOW_CC=''
 3667     ECHO_CC=''
 3668 
 3669 fi;
 3670 echo "$as_me:3670: result: $enableval" >&5
 3671 echo "${ECHO_T}$enableval" >&6
 3672 
 3673 case "$cf_cv_system_name" in
 3674 (os2*)
 3675     CFLAGS="$CFLAGS -Zmt"
 3676 
 3677     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 3678     CPPFLAGS="${CPPFLAGS}-D__ST_MT_ERRNO__"
 3679 
 3680     CXXFLAGS="$CXXFLAGS -Zmt"
 3681     # autoconf's macro sets -Zexe and suffix both, which conflict:w
 3682     LDFLAGS="$LDFLAGS -Zmt -Zcrtdll"
 3683     ac_cv_exeext=.exe
 3684     ;;
 3685 esac
 3686 
 3687 PROG_EXT="$EXEEXT"
 3688 
 3689 test -n "$PROG_EXT" &&
 3690 cat >>confdefs.h <<EOF
 3691 #define PROG_EXT "$PROG_EXT"
 3692 EOF
 3693 
 3694 echo "$as_me:3694: checking for egrep" >&5
 3695 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 3696 if test "${ac_cv_path_EGREP+set}" = set; then
 3697   echo $ECHO_N "(cached) $ECHO_C" >&6
 3698 else
 3699   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3700    then ac_cv_path_EGREP="$GREP -E"
 3701    else
 3702      for ac_prog in gegrep egrep
 3703 do
 3704   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3705 set dummy $ac_prog; ac_word=$2
 3706 echo "$as_me:3706: checking for $ac_word" >&5
 3707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3708 if test "${ac_cv_path_EGREP+set}" = set; then
 3709   echo $ECHO_N "(cached) $ECHO_C" >&6
 3710 else
 3711   case $EGREP in
 3712   [\\/]* | ?:[\\/]*)
 3713   ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
 3714   ;;
 3715   *)
 3716   ac_save_IFS=$IFS; IFS=$ac_path_separator
 3717 ac_dummy="$PATH"
 3718 for ac_dir in $ac_dummy; do
 3719   IFS=$ac_save_IFS
 3720   test -z "$ac_dir" && ac_dir=.
 3721   if $as_executable_p "$ac_dir/$ac_word"; then
 3722    ac_cv_path_EGREP="$ac_dir/$ac_word"
 3723    echo "$as_me:3723: found $ac_dir/$ac_word" >&5
 3724    break
 3725 fi
 3726 done
 3727 
 3728   ;;
 3729 esac
 3730 fi
 3731 EGREP=$ac_cv_path_EGREP
 3732 
 3733 if test -n "$EGREP"; then
 3734   echo "$as_me:3734: result: $EGREP" >&5
 3735 echo "${ECHO_T}$EGREP" >&6
 3736 else
 3737   echo "$as_me:3737: result: no" >&5
 3738 echo "${ECHO_T}no" >&6
 3739 fi
 3740 
 3741   test -n "$EGREP" && break
 3742 done
 3743 test -n "$EGREP" || EGREP=": "
 3744 
 3745      test "x$ac_cv_path_EGREP" = "x:" && { { echo "$as_me:3745: error: cannot find workable egrep" >&5
 3746 echo "$as_me: error: cannot find workable egrep" >&2;}
 3747    { (exit 1); exit 1; }; }
 3748    fi
 3749 fi
 3750 echo "$as_me:3750: result: $ac_cv_path_EGREP" >&5
 3751 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
 3752  EGREP="$ac_cv_path_EGREP"
 3753 
 3754 ac_ext=c
 3755 ac_cpp='$CPP $CPPFLAGS'
 3756 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
 3757 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
 3758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3759 ac_main_return="return"
 3760 echo "$as_me:3760: checking how to run the C preprocessor" >&5
 3761 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3762 # On Suns, sometimes $CPP names a directory.
 3763 if test -n "$CPP" && test -d "$CPP"; then
 3764   CPP=
 3765 fi
 3766 if test -z "$CPP"; then
 3767   if test "${ac_cv_prog_CPP+set}" = set; then
 3768   echo $ECHO_N "(cached) $ECHO_C" >&6
 3769 else
 3770       # Double quotes because CPP needs to be expanded
 3771     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3772     do
 3773       ac_preproc_ok=false
 3774 for ac_c_preproc_warn_flag in '' yes
 3775 do
 3776   # Use a header file that comes with gcc, so configuring glibc
 3777   # with a fresh cross-compiler works.
 3778   # On the NeXT, cc -E runs the code through the compiler's parser,
 3779   # not just through cpp. "Syntax error" is here to catch this case.
 3780   cat >"conftest.$ac_ext" <<_ACEOF
 3781 #line 3781 "configure"
 3782 #include "confdefs.h"
 3783 #include <assert.h>
 3784                      Syntax error
 3785 _ACEOF
 3786 if { (eval echo "$as_me:3786: \"$ac_cpp "conftest.$ac_ext"\"") >&5
 3787   (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
 3788   ac_status=$?
 3789   $EGREP -v '^ *\+' conftest.er1 >conftest.err
 3790   rm -f conftest.er1
 3791   cat conftest.err >&5
 3792   echo "$as_me:3792: \$? = $ac_status" >&5
 3793   (exit "$ac_status"); } >/dev/null; then
 3794   if test -s conftest.err; then
 3795     ac_cpp_err=$ac_c_preproc_warn_flag
 3796   else
 3797     ac_cpp_err=
 3798   fi
 3799 else
 3800   ac_cpp_err=yes
 3801 fi
 3802 if test -z "$ac_cpp_err"; then
 3803   :
 3804 else
 3805   echo "$as_me: failed program was:" >&5
 3806   cat "conftest.$ac_ext" >&5
 3807   # Broken: fails on valid input.
 3808 continue
 3809 fi
 3810 rm -f conftest.err "conftest.$ac_ext"
 3811 
 3812   # OK, works on sane cases.  Now check whether non-existent headers
 3813   # can be detected and how.
 3814   cat >"conftest.$ac_ext" <<_ACEOF
 3815 #line 3815 "configure"
 3816 #include "confdefs.h"
 3817 #include <ac_nonexistent.h>
 3818 _ACEOF
 3819 if { (eval echo "$as_me:3819: \"$ac_cpp "conftest.$ac_ext"\"") >&5
 3820   (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
 3821   ac_status=$?
 3822   $EGREP -v '^ *\+' conftest.er1 >conftest.err
 3823   rm -f conftest.er1
 3824   cat conftest.err >&5
 3825   echo "$as_me:3825: \$? = $ac_status" >&5
 3826   (exit "$ac_status"); } >/dev/null; then
 3827   if test -s conftest.err; then
 3828     ac_cpp_err=$ac_c_preproc_warn_flag
 3829   else
 3830     ac_cpp_err=
 3831   fi
 3832 else
 3833   ac_cpp_err=yes
 3834 fi
 3835 if test -z "$ac_cpp_err"; then
 3836   # Broken: success on invalid input.
 3837 continue
 3838 else
 3839   echo "$as_me: failed program was:" >&5
 3840   cat "conftest.$ac_ext" >&5
 3841   # Passes both tests.
 3842 ac_preproc_ok=:
 3843 break
 3844 fi
 3845 rm -f conftest.err "conftest.$ac_ext"
 3846 
 3847 done
 3848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3849 rm -f conftest.err "conftest.$ac_ext"
 3850 if $ac_preproc_ok; then
 3851   break
 3852 fi
 3853 
 3854     done
 3855     ac_cv_prog_CPP=$CPP
 3856 
 3857 fi
 3858   CPP=$ac_cv_prog_CPP
 3859 else
 3860   ac_cv_prog_CPP=$CPP
 3861 fi
 3862 echo "$as_me:3862: result: $CPP" >&5
 3863 echo "${ECHO_T}$CPP" >&6
 3864 ac_preproc_ok=false
 3865 for ac_c_preproc_warn_flag in '' yes
 3866 do
 3867   # Use a header file that comes with gcc, so configuring glibc
 3868   # with a fresh cross-compiler works.
 3869   # On the NeXT, cc -E runs the code through the compiler's parser,
 3870   # not just through cpp. "Syntax error" is here to catch this case.
 3871   cat >"conftest.$ac_ext" <<_ACEOF
 3872 #line 3872 "configure"
 3873 #include "confdefs.h"
 3874 #include <assert.h>
 3875                      Syntax error
 3876 _ACEOF
 3877 if { (eval echo "$as_me:3877: \"$ac_cpp "conftest.$ac_ext"\"") >&5
 3878   (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
 3879   ac_status=$?
 3880   $EGREP -v '^ *\+' conftest.er1 >conftest.err
 3881   rm -f conftest.er1
 3882   cat conftest.err >&5
 3883   echo "$as_me:3883: \$? = $ac_status" >&5
 3884   (exit "$ac_status"); } >/dev/null; then
 3885   if test -s conftest.err; then
 3886     ac_cpp_err=$ac_c_preproc_warn_flag
 3887   else
 3888     ac_cpp_err=
 3889   fi
 3890 else
 3891   ac_cpp_err=yes
 3892 fi
 3893 if test -z "$ac_cpp_err"; then
 3894   :
 3895 else
 3896   echo "$as_me: failed program was:" >&5
 3897   cat "conftest.$ac_ext" >&5
 3898   # Broken: fails on valid input.
 3899 continue
 3900 fi
 3901 rm -f conftest.err "conftest.$ac_ext"
 3902 
 3903   # OK, works on sane cases.  Now check whether non-existent headers
 3904   # can be detected and how.
 3905   cat >"conftest.$ac_ext" <<_ACEOF
 3906 #line 3906 "configure"
 3907 #include "confdefs.h"
 3908 #include <ac_nonexistent.h>
 3909 _ACEOF
 3910 if { (eval echo "$as_me:3910: \"$ac_cpp "conftest.$ac_ext"\"") >&5
 3911   (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
 3912   ac_status=$?
 3913   $EGREP -v '^ *\+' conftest.er1 >conftest.err
 3914   rm -f conftest.er1
 3915   cat conftest.err >&5
 3916   echo "$as_me:3916: \$? = $ac_status" >&5
 3917   (exit "$ac_status"); } >/dev/null; then
 3918   if test -s conftest.err; then
 3919     ac_cpp_err=$ac_c_preproc_warn_flag
 3920   else
 3921     ac_cpp_err=
 3922   fi
 3923 else
 3924   ac_cpp_err=yes
 3925 fi
 3926 if test -z "$ac_cpp_err"; then
 3927   # Broken: success on invalid input.
 3928 continue
 3929 else
 3930   echo "$as_me: failed program was:" >&5
 3931   cat "conftest.$ac_ext" >&5
 3932   # Passes both tests.
 3933 ac_preproc_ok=:
 3934 break
 3935 fi
 3936 rm -f conftest.err "conftest.$ac_ext"
 3937 
 3938 done
 3939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3940 rm -f conftest.err "conftest.$ac_ext"
 3941 if $ac_preproc_ok; then
 3942   :
 3943 else
 3944   { { echo "$as_me:3944: error: C preprocessor \"$CPP\" fails sanity check" >&5
 3945 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
 3946    { (exit 1); exit 1; }; }
 3947 fi
 3948 
 3949 ac_ext=c
 3950 ac_cpp='$CPP $CPPFLAGS'
 3951 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
 3952 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
 3953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3954 ac_main_return="return"
 3955 
 3956 echo "$as_me:3956: checking if you want to use dmalloc for testing" >&5
 3957 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6
 3958 
 3959 # Check whether --with-dmalloc or --without-dmalloc was given.
 3960 if test "${with_dmalloc+set}" = set; then
 3961   withval="$with_dmalloc"
 3962 
 3963 cat >>confdefs.h <<EOF
 3964 #define USE_DMALLOC 1
 3965 EOF
 3966 
 3967     : "${with_cflags:=-g}"
 3968     : "${enable_leaks:=no}"
 3969      with_dmalloc=yes
 3970 else
 3971   with_dmalloc=
 3972 fi;
 3973 echo "$as_me:3973: result: ${with_dmalloc:-no}" >&5
 3974 echo "${ECHO_T}${with_dmalloc:-no}" >&6
 3975 
 3976 case ".$with_cflags" in
 3977 (.*-g*)
 3978     case .$CFLAGS in
 3979     (.*-g*)
 3980         ;;
 3981     (*)
 3982 
 3983 cf_fix_cppflags=no
 3984 cf_new_cflags=
 3985 cf_new_cppflags=
 3986 cf_new_extra_cppflags=
 3987 
 3988 for cf_add_cflags in -g
 3989 do
 3990 case "$cf_fix_cppflags" in
 3991 (no)
 3992     case "$cf_add_cflags" in
 3993     (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
 3994         case "$cf_add_cflags" in
 3995         (-D*)
 3996             cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 3997 
 3998             test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 3999                 && test -z "${cf_tst_cflags}" \
 4000                 && cf_fix_cppflags=yes
 4001 
 4002             if test "$cf_fix_cppflags" = yes ; then
 4003 
 4004     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4005     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4006 
 4007                 continue
 4008             elif test "${cf_tst_cflags}" = "\"'" ; then
 4009 
 4010     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4011     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4012 
 4013                 continue
 4014             fi
 4015             ;;
 4016         esac
 4017         case "$CPPFLAGS" in
 4018         (*$cf_add_cflags)
 4019             ;;
 4020         (*)
 4021             case "$cf_add_cflags" in
 4022             (-D*)
 4023                 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 4024 
 4025 CPPFLAGS=`echo "$CPPFLAGS" | \
 4026     sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[     ]/ /g' \
 4027         -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 4028 
 4029                 ;;
 4030             esac
 4031 
 4032     test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
 4033     cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
 4034 
 4035             ;;
 4036         esac
 4037         ;;
 4038     (*)
 4039 
 4040     test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
 4041     cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
 4042 
 4043         ;;
 4044     esac
 4045     ;;
 4046 (yes)
 4047 
 4048     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4049     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4050 
 4051     cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
 4052 
 4053     test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 4054         && test -z "${cf_tst_cflags}" \
 4055         && cf_fix_cppflags=no
 4056     ;;
 4057 esac
 4058 done
 4059 
 4060 if test -n "$cf_new_cflags" ; then
 4061 
 4062     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 4063     CFLAGS="${CFLAGS}$cf_new_cflags"
 4064 
 4065 fi
 4066 
 4067 if test -n "$cf_new_cppflags" ; then
 4068 
 4069     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 4070     CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
 4071 
 4072 fi
 4073 
 4074 if test -n "$cf_new_extra_cppflags" ; then
 4075 
 4076     test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
 4077     EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
 4078 
 4079 fi
 4080 
 4081         ;;
 4082     esac
 4083     ;;
 4084 esac
 4085 
 4086 if test "$with_dmalloc" = yes ; then
 4087     echo "$as_me:4087: checking for dmalloc.h" >&5
 4088 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
 4089 if test "${ac_cv_header_dmalloc_h+set}" = set; then
 4090   echo $ECHO_N "(cached) $ECHO_C" >&6
 4091 else
 4092   cat >"conftest.$ac_ext" <<_ACEOF
 4093 #line 4093 "configure"
 4094 #include "confdefs.h"
 4095 #include <dmalloc.h>
 4096 _ACEOF
 4097 if { (eval echo "$as_me:4097: \"$ac_cpp "conftest.$ac_ext"\"") >&5
 4098   (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
 4099   ac_status=$?
 4100   $EGREP -v '^ *\+' conftest.er1 >conftest.err
 4101   rm -f conftest.er1
 4102   cat conftest.err >&5
 4103   echo "$as_me:4103: \$? = $ac_status" >&5
 4104   (exit "$ac_status"); } >/dev/null; then
 4105   if test -s conftest.err; then
 4106     ac_cpp_err=$ac_c_preproc_warn_flag
 4107   else
 4108     ac_cpp_err=
 4109   fi
 4110 else
 4111   ac_cpp_err=yes
 4112 fi
 4113 if test -z "$ac_cpp_err"; then
 4114   ac_cv_header_dmalloc_h=yes
 4115 else
 4116   echo "$as_me: failed program was:" >&5
 4117   cat "conftest.$ac_ext" >&5
 4118   ac_cv_header_dmalloc_h=no
 4119 fi
 4120 rm -f conftest.err "conftest.$ac_ext"
 4121 fi
 4122 echo "$as_me:4122: result: $ac_cv_header_dmalloc_h" >&5
 4123 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
 4124 if test "$ac_cv_header_dmalloc_h" = yes; then
 4125 
 4126 echo "$as_me:4126: checking for dmalloc_debug in -ldmalloc" >&5
 4127 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
 4128 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
 4129   echo $ECHO_N "(cached) $ECHO_C" >&6
 4130 else
 4131   ac_check_lib_save_LIBS=$LIBS
 4132 LIBS="-ldmalloc  $LIBS"
 4133 cat >"conftest.$ac_ext" <<_ACEOF
 4134 #line 4134 "configure"
 4135 #include "confdefs.h"
 4136 
 4137 /* Override any gcc2 internal prototype to avoid an error.  */
 4138 #ifdef __cplusplus
 4139 extern "C"
 4140 #endif
 4141 /* We use char because int might match the return type of a gcc2
 4142    builtin and then its argument prototype would still apply.  */
 4143 char dmalloc_debug ();
 4144 int
 4145 main (void)
 4146 {
 4147 dmalloc_debug ();
 4148   ;
 4149   return 0;
 4150 }
 4151 _ACEOF
 4152 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
 4153 if { (eval echo "$as_me:4153: \"$ac_link\"") >&5
 4154   (eval $ac_link) 2>&5
 4155   ac_status=$?
 4156   echo "$as_me:4156: \$? = $ac_status" >&5
 4157   (exit "$ac_status"); } &&
 4158          { ac_try='test -s "conftest$ac_exeext"'
 4159   { (eval echo "$as_me:4159: \"$ac_try\"") >&5
 4160   (eval $ac_try) 2>&5
 4161   ac_status=$?
 4162   echo "$as_me:4162: \$? = $ac_status" >&5
 4163   (exit "$ac_status"); }; }; then
 4164   ac_cv_lib_dmalloc_dmalloc_debug=yes
 4165 else
 4166   echo "$as_me: failed program was:" >&5
 4167 cat "conftest.$ac_ext" >&5
 4168 ac_cv_lib_dmalloc_dmalloc_debug=no
 4169 fi
 4170 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
 4171 LIBS=$ac_check_lib_save_LIBS
 4172 fi
 4173 echo "$as_me:4173: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
 4174 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
 4175 if test "$ac_cv_lib_dmalloc_dmalloc_debug" = yes; then
 4176   cat >>confdefs.h <<EOF
 4177 #define HAVE_LIBDMALLOC 1
 4178 EOF
 4179 
 4180   LIBS="-ldmalloc $LIBS"
 4181 
 4182 fi
 4183 
 4184 fi
 4185 
 4186 fi
 4187 
 4188 echo "$as_me:4188: checking if you want to use dbmalloc for testing" >&5
 4189 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
 4190 
 4191 # Check whether --with-dbmalloc or --without-dbmalloc was given.
 4192 if test "${with_dbmalloc+set}" = set; then
 4193   withval="$with_dbmalloc"
 4194 
 4195 cat >>confdefs.h <<EOF
 4196 #define USE_DBMALLOC 1
 4197 EOF
 4198 
 4199     : "${with_cflags:=-g}"
 4200     : "${enable_leaks:=no}"
 4201      with_dbmalloc=yes
 4202 else
 4203   with_dbmalloc=
 4204 fi;
 4205 echo "$as_me:4205: result: ${with_dbmalloc:-no}" >&5
 4206 echo "${ECHO_T}${with_dbmalloc:-no}" >&6
 4207 
 4208 case ".$with_cflags" in
 4209 (.*-g*)
 4210     case .$CFLAGS in
 4211     (.*-g*)
 4212         ;;
 4213     (*)
 4214 
 4215 cf_fix_cppflags=no
 4216 cf_new_cflags=
 4217 cf_new_cppflags=
 4218 cf_new_extra_cppflags=
 4219 
 4220 for cf_add_cflags in -g
 4221 do
 4222 case "$cf_fix_cppflags" in
 4223 (no)
 4224     case "$cf_add_cflags" in
 4225     (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
 4226         case "$cf_add_cflags" in
 4227         (-D*)
 4228             cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 4229 
 4230             test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 4231                 && test -z "${cf_tst_cflags}" \
 4232                 && cf_fix_cppflags=yes
 4233 
 4234             if test "$cf_fix_cppflags" = yes ; then
 4235 
 4236     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4237     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4238 
 4239                 continue
 4240             elif test "${cf_tst_cflags}" = "\"'" ; then
 4241 
 4242     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4243     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4244 
 4245                 continue
 4246             fi
 4247             ;;
 4248         esac
 4249         case "$CPPFLAGS" in
 4250         (*$cf_add_cflags)
 4251             ;;
 4252         (*)
 4253             case "$cf_add_cflags" in
 4254             (-D*)
 4255                 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 4256 
 4257 CPPFLAGS=`echo "$CPPFLAGS" | \
 4258     sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[     ]/ /g' \
 4259         -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 4260 
 4261                 ;;
 4262             esac
 4263 
 4264     test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
 4265     cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
 4266 
 4267             ;;
 4268         esac
 4269         ;;
 4270     (*)
 4271 
 4272     test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
 4273     cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
 4274 
 4275         ;;
 4276     esac
 4277     ;;
 4278 (yes)
 4279 
 4280     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4281     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4282 
 4283     cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
 4284 
 4285     test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 4286         && test -z "${cf_tst_cflags}" \
 4287         && cf_fix_cppflags=no
 4288     ;;
 4289 esac
 4290 done
 4291 
 4292 if test -n "$cf_new_cflags" ; then
 4293 
 4294     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 4295     CFLAGS="${CFLAGS}$cf_new_cflags"
 4296 
 4297 fi
 4298 
 4299 if test -n "$cf_new_cppflags" ; then
 4300 
 4301     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 4302     CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
 4303 
 4304 fi
 4305 
 4306 if test -n "$cf_new_extra_cppflags" ; then
 4307 
 4308     test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
 4309     EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
 4310 
 4311 fi
 4312 
 4313         ;;
 4314     esac
 4315     ;;
 4316 esac
 4317 
 4318 if test "$with_dbmalloc" = yes ; then
 4319     echo "$as_me:4319: checking for dbmalloc.h" >&5
 4320 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
 4321 if test "${ac_cv_header_dbmalloc_h+set}" = set; then
 4322   echo $ECHO_N "(cached) $ECHO_C" >&6
 4323 else
 4324   cat >"conftest.$ac_ext" <<_ACEOF
 4325 #line 4325 "configure"
 4326 #include "confdefs.h"
 4327 #include <dbmalloc.h>
 4328 _ACEOF
 4329 if { (eval echo "$as_me:4329: \"$ac_cpp "conftest.$ac_ext"\"") >&5
 4330   (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
 4331   ac_status=$?
 4332   $EGREP -v '^ *\+' conftest.er1 >conftest.err
 4333   rm -f conftest.er1
 4334   cat conftest.err >&5
 4335   echo "$as_me:4335: \$? = $ac_status" >&5
 4336   (exit "$ac_status"); } >/dev/null; then
 4337   if test -s conftest.err; then
 4338     ac_cpp_err=$ac_c_preproc_warn_flag
 4339   else
 4340     ac_cpp_err=
 4341   fi
 4342 else
 4343   ac_cpp_err=yes
 4344 fi
 4345 if test -z "$ac_cpp_err"; then
 4346   ac_cv_header_dbmalloc_h=yes
 4347 else
 4348   echo "$as_me: failed program was:" >&5
 4349   cat "conftest.$ac_ext" >&5
 4350   ac_cv_header_dbmalloc_h=no
 4351 fi
 4352 rm -f conftest.err "conftest.$ac_ext"
 4353 fi
 4354 echo "$as_me:4354: result: $ac_cv_header_dbmalloc_h" >&5
 4355 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
 4356 if test "$ac_cv_header_dbmalloc_h" = yes; then
 4357 
 4358 echo "$as_me:4358: checking for debug_malloc in -ldbmalloc" >&5
 4359 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
 4360 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
 4361   echo $ECHO_N "(cached) $ECHO_C" >&6
 4362 else
 4363   ac_check_lib_save_LIBS=$LIBS
 4364 LIBS="-ldbmalloc  $LIBS"
 4365 cat >"conftest.$ac_ext" <<_ACEOF
 4366 #line 4366 "configure"
 4367 #include "confdefs.h"
 4368 
 4369 /* Override any gcc2 internal prototype to avoid an error.  */
 4370 #ifdef __cplusplus
 4371 extern "C"
 4372 #endif
 4373 /* We use char because int might match the return type of a gcc2
 4374    builtin and then its argument prototype would still apply.  */
 4375 char debug_malloc ();
 4376 int
 4377 main (void)
 4378 {
 4379 debug_malloc ();
 4380   ;
 4381   return 0;
 4382 }
 4383 _ACEOF
 4384 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
 4385 if { (eval echo "$as_me:4385: \"$ac_link\"") >&5
 4386   (eval $ac_link) 2>&5
 4387   ac_status=$?
 4388   echo "$as_me:4388: \$? = $ac_status" >&5
 4389   (exit "$ac_status"); } &&
 4390          { ac_try='test -s "conftest$ac_exeext"'
 4391   { (eval echo "$as_me:4391: \"$ac_try\"") >&5
 4392   (eval $ac_try) 2>&5
 4393   ac_status=$?
 4394   echo "$as_me:4394: \$? = $ac_status" >&5
 4395   (exit "$ac_status"); }; }; then
 4396   ac_cv_lib_dbmalloc_debug_malloc=yes
 4397 else
 4398   echo "$as_me: failed program was:" >&5
 4399 cat "conftest.$ac_ext" >&5
 4400 ac_cv_lib_dbmalloc_debug_malloc=no
 4401 fi
 4402 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
 4403 LIBS=$ac_check_lib_save_LIBS
 4404 fi
 4405 echo "$as_me:4405: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
 4406 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
 4407 if test "$ac_cv_lib_dbmalloc_debug_malloc" = yes; then
 4408   cat >>confdefs.h <<EOF
 4409 #define HAVE_LIBDBMALLOC 1
 4410 EOF
 4411 
 4412   LIBS="-ldbmalloc $LIBS"
 4413 
 4414 fi
 4415 
 4416 fi
 4417 
 4418 fi
 4419 
 4420 echo "$as_me:4420: checking if you want to use valgrind for testing" >&5
 4421 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
 4422 
 4423 # Check whether --with-valgrind or --without-valgrind was given.
 4424 if test "${with_valgrind+set}" = set; then
 4425   withval="$with_valgrind"
 4426 
 4427 cat >>confdefs.h <<EOF
 4428 #define USE_VALGRIND 1
 4429 EOF
 4430 
 4431     : "${with_cflags:=-g}"
 4432     : "${enable_leaks:=no}"
 4433      with_valgrind=yes
 4434 else
 4435   with_valgrind=
 4436 fi;
 4437 echo "$as_me:4437: result: ${with_valgrind:-no}" >&5
 4438 echo "${ECHO_T}${with_valgrind:-no}" >&6
 4439 
 4440 case ".$with_cflags" in
 4441 (.*-g*)
 4442     case .$CFLAGS in
 4443     (.*-g*)
 4444         ;;
 4445     (*)
 4446 
 4447 cf_fix_cppflags=no
 4448 cf_new_cflags=
 4449 cf_new_cppflags=
 4450 cf_new_extra_cppflags=
 4451 
 4452 for cf_add_cflags in -g
 4453 do
 4454 case "$cf_fix_cppflags" in
 4455 (no)
 4456     case "$cf_add_cflags" in
 4457     (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
 4458         case "$cf_add_cflags" in
 4459         (-D*)
 4460             cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 4461 
 4462             test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 4463                 && test -z "${cf_tst_cflags}" \
 4464                 && cf_fix_cppflags=yes
 4465 
 4466             if test "$cf_fix_cppflags" = yes ; then
 4467 
 4468     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4469     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4470 
 4471                 continue
 4472             elif test "${cf_tst_cflags}" = "\"'" ; then
 4473 
 4474     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4475     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4476 
 4477                 continue
 4478             fi
 4479             ;;
 4480         esac
 4481         case "$CPPFLAGS" in
 4482         (*$cf_add_cflags)
 4483             ;;
 4484         (*)
 4485             case "$cf_add_cflags" in
 4486             (-D*)
 4487                 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 4488 
 4489 CPPFLAGS=`echo "$CPPFLAGS" | \
 4490     sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[     ]/ /g' \
 4491         -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 4492 
 4493                 ;;
 4494             esac
 4495 
 4496     test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
 4497     cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
 4498 
 4499             ;;
 4500         esac
 4501         ;;
 4502     (*)
 4503 
 4504     test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
 4505     cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
 4506 
 4507         ;;
 4508     esac
 4509     ;;
 4510 (yes)
 4511 
 4512     test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
 4513     cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
 4514 
 4515     cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
 4516 
 4517     test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
 4518         && test -z "${cf_tst_cflags}" \
 4519         && cf_fix_cppflags=no
 4520     ;;
 4521 esac
 4522 done
 4523 
 4524 if test -n "$cf_new_cflags" ; then
 4525 
 4526     test -n "$CFLAGS" && CFLAGS="$CFLAGS "
 4527     CFLAGS="${CFLAGS}$cf_new_cflags"
 4528 
 4529 fi
 4530 
 4531 if test -n "$cf_new_cppflags" ; then
 4532 
 4533     test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
 4534     CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
 4535 
 4536 fi
 4537 
 4538 if test -n "$cf_new_extra_cppflags" ; then
 4539 
 4540     test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
 4541     EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
 4542 
 4543 fi
 4544 
 4545         ;;
 4546     esac
 4547     ;;
 4548 esac
 4549 
 4550 echo "$as_me:4550: checking if you want to perform memory-leak testing" >&5
 4551 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
 4552 
 4553 # Check whether --enable-leaks or --disable-leaks was given.
 4554 if test "${enable_leaks+set}" = set; then
 4555   enableval="$enable_leaks"
 4556   enable_leaks=no
 4557 else
 4558   enable_leaks=yes
 4559 fi;
 4560 if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi
 4561 echo "$as_me:4561: result: $with_no_leaks" >&5
 4562 echo "${ECHO_T}$with_no_leaks" >&6
 4563 
 4564 if test "$enable_leaks" = no ; then
 4565 
 4566 cat >>confdefs.h <<\EOF
 4567 #define NO_LEAKS 1
 4568 EOF
 4569 
 4570 cat >>confdefs.h <<\EOF
 4571 #define YY_NO_LEAKS 1
 4572 EOF
 4573 
 4574 fi
 4575 
 4576 # Extract the first word of "groff", so it can be a program name with args.
 4577 set dummy groff; ac_word=$2
 4578 echo "$as_me:4578: checking for $ac_word" >&5
 4579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4580 if test "${ac_cv_path_GROFF_PATH+set}" = set; then
 4581   echo $ECHO_N "(cached) $ECHO_C" >&6
 4582 else
 4583   case $GROFF_PATH in
 4584   [\\/]* | ?:[\\/]*)
 4585   ac_cv_path_GROFF_PATH="$GROFF_PATH" # Let the user override the test with a path.
 4586   ;;
 4587   *)
 4588   ac_save_IFS=$IFS; IFS=$ac_path_separator
 4589 ac_dummy="$PATH"
 4590 for ac_dir in $ac_dummy; do
 4591   IFS=$ac_save_IFS
 4592   test -z "$ac_dir" && ac_dir=.
 4593   if $as_executable_p "$ac_dir/$ac_word"; then
 4594    ac_cv_path_GROFF_PATH="$ac_dir/$ac_word"
 4595    echo "$as_me:4595: found $ac_dir/$ac_word" >&5
 4596    break
 4597 fi
 4598 done
 4599 
 4600   test -z "$ac_cv_path_GROFF_PATH" && ac_cv_path_GROFF_PATH="no"
 4601   ;;
 4602 esac
 4603 fi
 4604 GROFF_PATH=$ac_cv_path_GROFF_PATH
 4605 
 4606 if test -n "$GROFF_PATH"; then
 4607   echo "$as_me:4607: result: $GROFF_PATH" >&5
 4608 echo "${ECHO_T}$GROFF_PATH" >&6
 4609 else
 4610   echo "$as_me:4610: result: no" >&5
 4611 echo "${ECHO_T}no" >&6
 4612 fi
 4613 
 4614 for ac_prog in nroff mandoc
 4615 do
 4616   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4617 set dummy $ac_prog; ac_word=$2
 4618 echo "$as_me:4618: checking for $ac_word" >&5
 4619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4620 if test "${ac_cv_path_NROFF_PATH+set}" = set; then
 4621   echo $ECHO_N "(cached) $ECHO_C" >&6
 4622 else
 4623   case $NROFF_PATH in
 4624   [\\/]* | ?:[\\/]*)
 4625   ac_cv_path_NROFF_PATH="$NROFF_PATH" # Let the user override the test with a path.
 4626   ;;
 4627   *)
 4628   ac_save_IFS=$IFS; IFS=$ac_path_separator
 4629 ac_dummy="$PATH"
 4630 for ac_dir in $ac_dummy; do
 4631   IFS=$ac_save_IFS
 4632   test -z "$ac_dir" && ac_dir=.
 4633   if $as_executable_p "$ac_dir/$ac_word"; then
 4634    ac_cv_path_NROFF_PATH="$ac_dir/$ac_word"
 4635    echo "$as_me:4635: found $ac_dir/$ac_word" >&5
 4636    break
 4637 fi
 4638 done
 4639 
 4640   ;;
 4641 esac
 4642 fi
 4643 NROFF_PATH=$ac_cv_path_NROFF_PATH
 4644 
 4645 if test -n "$NROFF_PATH"; then
 4646   echo "$as_me:4646: result: $NROFF_PATH" >&5
 4647 echo "${ECHO_T}$NROFF_PATH" >&6
 4648 else
 4649   echo "$as_me:4649: result: no" >&5
 4650 echo "${ECHO_T}no" >&6
 4651 fi
 4652 
 4653   test -n "$NROFF_PATH" && break
 4654 done
 4655 test -n "$NROFF_PATH" || NROFF_PATH="no"
 4656 
 4657 # Extract the first word of "tbl", so it can be a program name with args.
 4658 set dummy tbl; ac_word=$2
 4659 echo "$as_me:4659: checking for $ac_word" >&5
 4660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4661 if test "${ac_cv_path_TBL_PATH+set}" = set; then
 4662   echo $ECHO_N "(cached) $ECHO_C" >&6
 4663 else
 4664   case $TBL_PATH in
 4665   [\\/]* | ?:[\\/]*)
 4666   ac_cv_path_TBL_PATH="$TBL_PATH" # Let the user override the test with a path.
 4667   ;;
 4668   *)
 4669   ac_save_IFS=$IFS; IFS=$ac_path_separator
 4670 ac_dummy="$PATH"
 4671 for ac_dir in $ac_dummy; do
 4672   IFS=$ac_save_IFS
 4673   test -z "$ac_dir" && ac_dir=.
 4674   if $as_executable_p "$ac_dir/$ac_word"; then
 4675    ac_cv_path_TBL_PATH="$ac_dir/$ac_word"
 4676    echo "$as_me:4676: found $ac_dir/$ac_word" >&5
 4677    break
 4678 fi
 4679 done
 4680 
 4681   test -z "$ac_cv_path_TBL_PATH" && ac_cv_path_TBL_PATH="cat"
 4682   ;;
 4683 esac
 4684 fi
 4685 TBL_PATH=$ac_cv_path_TBL_PATH
 4686 
 4687 if test -n "$TBL_PATH"; then
 4688   echo "$as_me:4688: result: $TBL_PATH" >&5
 4689 echo "${ECHO_T}$TBL_PATH" >&6
 4690 else
 4691   echo "$as_me:4691: result: no" >&5
 4692 echo "${ECHO_T}no" >&6
 4693 fi
 4694 
 4695 if test "x$GROFF_PATH" = xno
 4696 then
 4697     NROFF_NOTE=
 4698     GROFF_NOTE="#"
 4699 else
 4700     NROFF_NOTE="#"
 4701     GROFF_NOTE=
 4702 fi
 4703 
 4704 case "x${with_man2html}" in
 4705 (xno)
 4706     cf_man2html=no
 4707     ;;
 4708 (x|xyes)
 4709     # Extract the first word of "man2html", so it can be a program name with args.
 4710 set dummy man2html; ac_word=$2
 4711 echo "$as_me:4711: checking for $ac_word" >&5
 4712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4713 if test "${ac_cv_path_cf_man2html+set}" = set; then
 4714   echo $ECHO_N "(cached) $ECHO_C" >&6
 4715 else
 4716   case $cf_man2html in
 4717   [\\/]* | ?:[\\/]*)
 4718   ac_cv_path_cf_man2html="$cf_man2html" # Let the user override the test with a path.
 4719   ;;
 4720   *)
 4721   ac_save_IFS=$IFS; IFS=$ac_path_separator
 4722 ac_dummy="$PATH"
 4723 for ac_dir in $ac_dummy; do
 4724   IFS=$ac_save_IFS
 4725   test -z "$ac_dir" && ac_dir=.
 4726   if $as_executable_p "$ac_dir/$ac_word"; then
 4727    ac_cv_path_cf_man2html="$ac_dir/$ac_word"
 4728    echo "$as_me:4728: found $ac_dir/$ac_word" >&5
 4729    break
 4730 fi
 4731 done
 4732 
 4733   test -z "$ac_cv_path_cf_man2html" && ac_cv_path_cf_man2html="no"
 4734   ;;
 4735 esac
 4736 fi
 4737 cf_man2html=$ac_cv_path_cf_man2html
 4738 
 4739 if test -n "$cf_man2html"; then
 4740   echo "$as_me:4740: result: $cf_man2html" >&5
 4741 echo "${ECHO_T}$cf_man2html" >&6
 4742 else
 4743   echo "$as_me:4743: result: no" >&5
 4744 echo "${ECHO_T}no" >&6
 4745 fi
 4746 
 4747     case "x$cf_man2html" in
 4748     (x/*)
 4749         echo "$as_me:4749: checking for the modified Earl Hood script" >&5
 4750 echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6
 4751         if ( $cf_man2html -help 2>&1 | grep 'Make an index of headers at the end' >/dev/null )
 4752         then
 4753             cf_man2html_ok=yes
 4754         else
 4755             cf_man2html=no
 4756             cf_man2html_ok=no
 4757         fi
 4758         echo "$as_me:4758: result: $cf_man2html_ok" >&5
 4759 echo "${ECHO_T}$cf_man2html_ok" >&6
 4760         ;;
 4761     (*)
 4762         cf_man2html=no
 4763         ;;
 4764     esac
 4765 esac
 4766 
 4767 echo "$as_me:4767: checking for program to convert manpage to html" >&5
 4768 echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6
 4769 
 4770 # Check whether --with-man2html or --without-man2html was given.
 4771 if test "${with_man2html+set}" = set; then
 4772   withval="$with_man2html"
 4773   cf_man2html=$withval
 4774 else
 4775   cf_man2html=$cf_man2html
 4776 fi;
 4777 
 4778 cf_with_groff=no
 4779 
 4780 case $cf_man2html in
 4781 (yes)
 4782     echo "$as_me:4782: result: man2html" >&5
 4783 echo "${ECHO_T}man2html" >&6
 4784     # Extract the first word of "man2html", so it can be a program name with args.
 4785 set dummy man2html; ac_word=$2
 4786 echo "$as_me:4786: checking for $ac_word" >&5
 4787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 4788 if test "${ac_cv_path_cf_man2html+set}" = set; then
 4789   echo $ECHO_N "(cached) $ECHO_C" >&6
 4790 else
 4791   case $cf_man2html in
 4792   [\\/]* | ?:[\\/]*)
 4793   ac_cv_path_cf_man2html="$cf_man2html" # Let the user override the test with a path.
 4794   ;;
 4795   *)
 4796   ac_save_IFS=$IFS; IFS=$ac_path_separator
 4797 ac_dummy="$PATH"
 4798 for ac_dir in $ac_dummy; do
 4799   IFS=$ac_save_IFS
 4800   test -z "$ac_dir" && ac_dir=.
 4801   if $as_executable_p "$ac_dir/$ac_word"; then
 4802    ac_cv_path_cf_man2html="$ac_dir/$ac_word"
 4803    echo "$as_me:4803: found $ac_dir/$ac_word" >&5
 4804    break
 4805 fi
 4806 done
 4807 
 4808   test -z "$ac_cv_path_cf_man2html" && ac_cv_path_cf_man2html="no"
 4809   ;;
 4810 esac
 4811 fi
 4812 cf_man2html=$ac_cv_path_cf_man2html
 4813 
 4814 if test -n "$cf_man2html"; then
 4815   echo "$as_me:4815: result: $cf_man2html" >&5
 4816 echo "${ECHO_T}$cf_man2html" >&6
 4817 else
 4818   echo "$as_me:4818: result: no" >&5
 4819 echo "${ECHO_T}no" >&6
 4820 fi
 4821 
 4822     ;;
 4823 (no|groff|*/groff*)
 4824     cf_with_groff=yes
 4825     cf_man2html=$GROFF_PATH
 4826     echo "$as_me:4826: result: $cf_man2html" >&5
 4827 echo "${ECHO_T}$cf_man2html" >&6
 4828     ;;
 4829 (*)
 4830     echo "$as_me:4830: result: $cf_man2html" >&5
 4831 echo "${ECHO_T}$cf_man2html" >&6
 4832     ;;
 4833 esac
 4834 
 4835 MAN2HTML_TEMP="man2html.tmp"
 4836     cat >$MAN2HTML_TEMP <<CF_EOF
 4837 #!$SHELL
 4838 # Temporary script generated by CF_WITH_MAN2HTML
 4839 # Convert inputs to html, sending result to standard output.
 4840 #
 4841 # Parameters:
 4842 # \${1} = rootname of file to convert
 4843 # \${2} = suffix of file to convert, e.g., "1"
 4844 # \${3} = macros to use, e.g., "man"
 4845 #
 4846 ROOT=\$1
 4847 TYPE=\$2
 4848 MACS=\$3
 4849 
 4850 unset LANG
 4851 unset LC_ALL
 4852 unset LC_CTYPE
 4853 unset LANGUAGE
 4854 GROFF_NO_SGR=stupid
 4855 export GROFF_NO_SGR
 4856 
 4857 CF_EOF
 4858 
 4859 NROFF_OPTS=
 4860 if test "x$cf_with_groff" = xyes
 4861 then
 4862     MAN2HTML_NOTE="$GROFF_NOTE"
 4863     MAN2HTML_PATH="$GROFF_PATH"
 4864     cat >>$MAN2HTML_TEMP <<CF_EOF
 4865 $SHELL -c "$TBL_PATH \${ROOT}.\${TYPE} | $GROFF_PATH -P -o0 -I\${ROOT}_ -Thtml -\${MACS}"
 4866 CF_EOF
 4867 else
 4868     # disable hyphenation if this is groff
 4869     if test "x$GROFF_PATH" != xno
 4870     then
 4871         echo "$as_me:4871: checking if nroff is really groff" >&5
 4872 echo $ECHO_N "checking if nroff is really groff... $ECHO_C" >&6
 4873         cf_check_groff="`$NROFF_PATH --version 2>/dev/null | grep groff`"
 4874         test -n "$cf_check_groff" && cf_check_groff=yes
 4875         test -n "$cf_check_groff" || cf_check_groff=no
 4876         echo "$as_me:4876: result: $cf_check_groff" >&5
 4877 echo "${ECHO_T}$cf_check_groff" >&6
 4878         test "x$cf_check_groff" = xyes && NROFF_OPTS="-rHY=0"
 4879     fi
 4880     MAN2HTML_NOTE=""
 4881 
 4882 if test "x$prefix" != xNONE; then
 4883     cf_path_syntax="$prefix"
 4884 else
 4885     cf_path_syntax="$ac_default_prefix"
 4886 fi
 4887 
 4888 case ".$cf_man2html" in
 4889 (.\$\(*\)*|.\'*\'*)
 4890     ;;
 4891 (..|./*|.\\*)
 4892     ;;
 4893 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
 4894     ;;
 4895 (.\$\{*prefix\}*|.\$\{*dir\}*)
 4896     eval cf_man2html="$cf_man2html"
 4897     case ".$cf_man2html" in
 4898     (.NONE/*)
 4899         cf_man2html=`echo "$cf_man2html" | sed -e s%NONE%$cf_path_syntax%`
 4900         ;;
 4901     esac
 4902     ;;
 4903 (.no|.NONE/*)
 4904     cf_man2html=`echo "$cf_man2html" | sed -e s%NONE%$cf_path_syntax%`
 4905     ;;
 4906 (*)
 4907     { { echo "$as_me:4907: error: expected a pathname, not \"$cf_man2html\"" >&5
 4908 echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;}
 4909    { (exit 1); exit 1; }; }
 4910     ;;
 4911 esac
 4912 
 4913     MAN2HTML_PATH="$cf_man2html"
 4914     echo "$as_me:4914: checking for $cf_man2html top/bottom margins" >&5
 4915 echo $ECHO_N "checking for $cf_man2html top/bottom margins... $ECHO_C" >&6
 4916 
 4917     # for this example, expect 3 lines of content, the remainder is head/foot
 4918     cat >conftest.in <<CF_EOF
 4919 .TH HEAD1 HEAD2 HEAD3 HEAD4 HEAD5
 4920 .SH SECTION
 4921 MARKER
 4922 CF_EOF
 4923 
 4924     LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C $NROFF_PATH -man conftest.in >conftest.out
 4925 
 4926     cf_man2html_1st="`${FGREP-fgrep} -n MARKER conftest.out |sed -e 's/^[^0-9]*://' -e 's/:.*//'`"
 4927     cf_man2html_top=`expr "$cf_man2html_1st" - 2`
 4928     cf_man2html_bot="`wc -l conftest.out |sed -e 's/[^0-9]//g'`"
 4929     cf_man2html_bot=`expr "$cf_man2html_bot" - 2 - "$cf_man2html_top"`
 4930     cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot"
 4931 
 4932     echo "$as_me:4932: result: $cf_man2html_top_bot" >&5
 4933 echo "${ECHO_T}$cf_man2html_top_bot" >&6
 4934 
 4935     echo "$as_me:4935: checking for pagesize to use" >&5
 4936 echo $ECHO_N "checking for pagesize to use... $ECHO_C" >&6
 4937     for cf_block in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
 4938     do
 4939     cat >>conftest.in <<CF_EOF
 4940 .nf
 4941 0
 4942 1
 4943 2
 4944 3
 4945 4
 4946 5
 4947 6
 4948 7
 4949 8
 4950 9
 4951 CF_EOF
 4952     done
 4953 
 4954     LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C $NROFF_PATH -man conftest.in >conftest.out
 4955     cf_man2html_page="`${FGREP-fgrep} -n HEAD1 conftest.out |sed -n '$p' |sed -e 's/^[^0-9]*://' -e 's/:.*//'`"
 4956     test -z "$cf_man2html_page" && cf_man2html_page=99999
 4957     test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999
 4958 
 4959     rm -rf conftest*
 4960     echo "$as_me:4960: result: $cf_man2html_page" >&5
 4961 echo "${ECHO_T}$cf_man2html_page" >&6
 4962 
 4963     cat >>$MAN2HTML_TEMP <<CF_EOF
 4964 : \${MAN2HTML_PATH=$MAN2HTML_PATH}
 4965 MAN2HTML_OPTS="\$MAN2HTML_OPTS -index -title=\"\$ROOT(\$TYPE)\" -compress -pgsize $cf_man2html_page"
 4966 case \${TYPE} in
 4967 (ms)
 4968     $TBL_PATH \${ROOT}.\${TYPE} | $NROFF_PATH $NROFF_OPTS -\${MACS} | \$MAN2HTML_PATH -topm=0 -botm=0 \$MAN2HTML_OPTS
 4969     ;;
 4970 (*)
 4971     $TBL_PATH \${ROOT}.\${TYPE} | $NROFF_PATH $NROFF_OPTS -\${MACS} | \$MAN2HTML_PATH $cf_man2html_top_bot \$MAN2HTML_OPTS
 4972     ;;
 4973 esac
 4974 CF_EOF
 4975 fi
 4976 
 4977 chmod 700 $MAN2HTML_TEMP
 4978 
 4979 echo "$as_me:4979: checking for ANSI C header files" >&5
 4980 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 4981 if test "${ac_cv_header_stdc+set}" = set; then
 4982   echo $ECHO_N "(cached) $ECHO_C" >&6
 4983 else
 4984   cat >"conftest.$ac_ext" <<_ACEOF
 4985 #line 4985 "configure"
 4986 #include "confdefs.h"
 4987 #include <stdlib.h>
 4988 #include <stdarg.h>
 4989 #include <string.h>
 4990 #include <float.h>
 4991 
 4992 _ACEOF
 4993 if { (eval echo "$as_me:4993: \"$ac_cpp "conftest.$ac_ext"\"") >&5
 4994   (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
 4995   ac_status=$?
 4996   $EGREP -v '^ *\+' conftest.er1 >conftest.err
 4997   rm -f conftest.er1
 4998   cat conftest.err >&5
 4999   echo "$as_me:4999: \$? = $ac_status" >&5
 5000   (exit "$ac_status"); } >/dev/null; then
 5001   if test -s conftest.err; then
 5002     ac_cpp_err=$ac_c_preproc_warn_flag
 5003   else
 5004     ac_cpp_err=
 5005   fi
 5006 else
 5007   ac_cpp_err=yes
 5008 fi
 5009 if test -z "$ac_cpp_err"; then
 5010   ac_cv_header_stdc=yes
 5011 else
 5012   echo "$as_me: failed program was:" >&5
 5013   cat "conftest.$ac_ext" >&5
 5014   ac_cv_header_stdc=no
 5015 fi
 5016 rm -f conftest.err "conftest.$ac_ext"
 5017 
 5018 if test $ac_cv_header_stdc = yes; then
 5019   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 5020   cat >"conftest.$ac_ext" <<_ACEOF
 5021 #line 5021 "configure"
 5022 #include "confdefs.h"
 5023 #include <string.h>
 5024 
 5025 _ACEOF
 5026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5027   $EGREP "memchr" >/dev/null 2>&1; then
 5028   :
 5029 else
 5030   ac_cv_header_stdc=no
 5031 fi
 5032 rm -rf conftest*
 5033 
 5034 fi
 5035 
 5036 if test $ac_cv_header_stdc = yes; then
 5037   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5038   cat >"conftest.$ac_ext" <<_ACEOF
 5039 #line 5039 "configure"
 5040 #include "confdefs.h"
 5041 #include <stdlib.h>
 5042 
 5043 _ACEOF
 5044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5045   $EGREP "free" >/dev/null 2>&1; then
 5046   :
 5047 else
 5048   ac_cv_header_stdc=no
 5049 fi
 5050 rm -rf conftest*
 5051 
 5052 fi
 5053 
 5054 if test $ac_cv_header_stdc = yes; then
 5055   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5056   if test "$cross_compiling" = yes; then
 5057   :
 5058 else
 5059   cat >"conftest.$ac_ext" <<_ACEOF
 5060 #line 5060 "configure"
 5061 #include "confdefs.h"
 5062 #include <ctype.h>
 5063 #if ((' ' & 0x0FF) == 0x020)
 5064 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5065 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5066 #else
 5067 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
 5068                      || ('j' <= (c) && (c) <= 'r') \
 5069                      || ('s' <= (c) && (c) <= 'z'))
 5070 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5071 #endif
 5072 
 5073 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5074 int
 5075 main (void)
 5076 {
 5077   int i;
 5078   for (i = 0; i < 256; i++)
 5079     if (XOR (islower (i), ISLOWER (i))
 5080         || toupper (i) != TOUPPER (i))
 5081       $ac_main_return(2);
 5082   $ac_main_return (0);
 5083 }
 5084 _ACEOF
 5085 rm -f "conftest$ac_exeext"
 5086 if { (eval echo "$as_me:5086: \"$ac_link\"") >&5
 5087   (eval $ac_link) 2>&5
 5088   ac_status=$?
 5089   echo "$as_me:5089: \$? = $ac_status" >&5
 5090   (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
 5091   { (eval echo "$as_me:5091: \"$ac_try\"") >&5
 5092   (eval $ac_try) 2>&5
 5093   ac_status=$?
 5094   echo "$as_me:5094: \$? = $ac_status" >&5
 5095   (exit "$ac_status"); }; }; then
 5096   :
 5097 else
 5098   echo "$as_me: program exited with status $ac_status" >&5
 5099 echo "$as_me: failed program was:" >&5
 5100 cat "conftest.$ac_ext" >&5
 5101 ac_cv_header_stdc=no
 5102 fi
 5103 rm -f core ./core.* ./*.core "conftest$ac_exeext