"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.4.5/configure" (24 Dec 2020, 952989 Bytes) of package /linux/misc/tin-2.4.5.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.4.4_vs_2.4.5.

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