"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.6.1/configure" (26 Dec 2021, 976579 Bytes) of package /linux/misc/tin-2.6.1.tar.xz:


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": 2.6.0_vs_2.6.1.

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