head	1.6;
access;
symbols
	RELENG_9_1_0_RELEASE:1.3
	RELENG_9_1:1.3.0.6
	RELENG_9_1_BP:1.3
	RELENG_9_0_0_RELEASE:1.3
	RELENG_9_0:1.3.0.4
	RELENG_9_0_BP:1.3
	RELENG_9:1.3.0.2
	RELENG_9_BP:1.3
	RELENG_8_BP:1.3;
locks; strict;
comment	@# @;


1.6
date	2013.06.18.00.33.04;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.12.30.06.03.14;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.10.21.18.25.12;	author nwhitehorn;	state Exp;
branches;
next	1.3;

1.3
date	2011.07.14.14.01.36;	author nwhitehorn;	state Exp;
branches;
next	1.2;

1.2
date	2011.04.17.17.28.17;	author nwhitehorn;	state Exp;
branches;
next	1.1;

1.1
date	2011.01.12.14.55.02;	author nwhitehorn;	state Exp;
branches;
next	;


desc
@@


1.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251843
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20121002.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# Sed expression to map a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi

# Name of the executable.
as_me=`echo "$0" |sed 's,.*[\\/],,'`

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
  else
    as_ln_s='ln -s'
  fi
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

as_executable_p="test -f"

# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi

# NLS nuisances.
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }

# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }

# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`

exec 6>&1

#
# Initializations.
#
ac_default_prefix=/usr/local
cross_compiling=no
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}

# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

ac_unique_file="dialog.h"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif"

# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE

# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${datarootdir}/info'
mandir='${datarootdir}/man'

# Identity of this package.
PACKAGE_NAME=
PACKAGE_TARNAME=
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=

ac_prev=
for ac_option
do
  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval "$ac_prev=\$ac_option"
    ac_prev=
    continue
  fi

  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case $ac_option in

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir=$ac_optarg ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build_alias ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build_alias=$ac_optarg ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file=$ac_optarg ;;

  --config-cache | -C)
    cache_file=config.cache ;;

  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
    datadir=$ac_optarg ;;

  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

  -disable-* | --disable-*)
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;

  -enable-* | --enable-*)
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix=$ac_optarg ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he | -h)
    ac_init_help=long ;;
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    ac_init_help=recursive ;;
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    ac_init_help=short ;;

  -host | --host | --hos | --ho)
    ac_prev=host_alias ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host_alias=$ac_optarg ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir=$ac_optarg ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir=$ac_optarg ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir=$ac_optarg ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir=$ac_optarg ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    localstatedir=$ac_optarg ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir=$ac_optarg ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir=$ac_optarg ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix=$ac_optarg ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix=$ac_optarg ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix=$ac_optarg ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name=$ac_optarg ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir=$ac_optarg ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir=$ac_optarg ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site=$ac_optarg ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir=$ac_optarg ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir=$ac_optarg ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target_alias ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target_alias=$ac_optarg ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;

  -with-* | --with-*)
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;

  -without-* | --without-*)
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes=$ac_optarg ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries=$ac_optarg ;;

  -*) { echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; }
    ;;

  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   { (exit 1); exit 1; }; }
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    ;;

  esac
done

if test -n "$ac_prev"; then
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  { echo "$as_me: error: missing argument to $ac_option" >&2
   { (exit 1); exit 1; }; }
fi

# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
              localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: should be removed in autoconf 3.0.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used." >&2
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-

test "$silent" = yes && exec 6>/dev/null

# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then its parent.
  ac_prog=$0
  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  srcdir=$ac_confdir
  if test ! -r $srcdir/$ac_unique_file; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
   { (exit 1); exit 1; }; }
  else
    { echo "$as_me: error: cannot find sources in $srcdir" >&2
   { (exit 1); exit 1; }; }
  fi
fi
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP

#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
  # Omit some internal or obsolete options to make the list less imposing.
  # This message is too long to be a string in the A/UX 3.1 sh.
  cat <<EOF
\`configure' configures this package to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print \`checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for \`--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']

EOF

  cat <<EOF
Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --datarootdir=DIR       read-only architecture-independent data [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
EOF

  cat <<\EOF

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD           configure for building on BUILD [guessed]
  --host=HOST       build programs to run on HOST [BUILD]
EOF
fi

if test -n "$ac_init_help"; then

  cat <<\EOF

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)

  --disable-echo          do not display "compiling" commands
  --disable-largefile     omit support for large files
  --with-warnings         test: turn on gcc warnings
  --with-package=XXX      rename dialog to XXX, library to libXXX.a, etc
  --enable-header-subdir  install dlg_XXX headers to subdirectory
  --with-libiconv-prefix=DIR
                          search for libiconv in DIR/include and DIR/lib
  --enable-nls            use Native Language Support
  --with-included-gettext use the GNU gettext library included here
  --with-textdomain=PKG   NLS text-domain (default is package name)
  --disable-included-msgs use included messages, for i18n support
  --with-dmalloc          test: use Gray Watson's dmalloc library
  --with-dbmalloc         test: use Conor Cahill's dbmalloc library
  --with-purify           test: use Purify
  --with-valgrind         test: use valgrind
  --with-no-leaks         test: free permanent memory, analyze leaks
  --disable-trace         do not support --trace option
  --disable-libtool-version  enable to use libtool's incompatible naming scheme
  --with-libtool          generate libraries with libtool
  --with-libtool-opts=XXX specify additional libtool options
  --with-curses-dir=DIR   directory in which (n)curses is installed
  --with-ncurses          compile/link with ncurses library
  --with-ncursesw         compile/link with wide-char ncurses library
  --disable-extras        do not include extra dialogs
  --disable-rc-file       do not include config-file support
  --disable-Xdialog       do not include Xdialog-style dialogs (1.1)
  --disable-Xdialog2      do not include extra Xdialog-style dialogs (1.2)
  --disable-whiptail      do not map extra whiptail options
  --disable-form          do not include the form dialog
  --disable-gauge         do not include the gauge dialogs
  --disable-tailbox       do not include the tailbox dialog
  --disable-mixedform     do not include the mixedform dialog
  --disable-mixedgauge    do not include the mixedgauge dialog
  --enable-widec          enable wide-curses features
  --disable-rpath-hack    don't add rpath options for additional libraries

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

EOF
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  ac_popdir=`pwd`
  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    cd $ac_subdir
    # A "../" for each directory in /$ac_subdir.
    ac_dots=`echo $ac_subdir |
             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`

    case $srcdir in
    .) # No --srcdir option.  We are building in place.
      ac_sub_srcdir=$srcdir ;;
    [\\/]* | ?:[\\/]* ) # Absolute path.
      ac_sub_srcdir=$srcdir/$ac_subdir ;;
    *) # Relative path.
      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    esac

    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_sub_srcdir/configure.gnu; then
      echo
      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_sub_srcdir/configure; then
      echo
      $SHELL $ac_sub_srcdir/configure  --help=recursive
    elif test -f $ac_sub_srcdir/configure.ac ||
           test -f $ac_sub_srcdir/configure.in; then
      echo
      $ac_configure --help
    else
      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
    fi
    cd $ac_popdir
  done
fi

test -n "$ac_init_help" && exit 0
if $ac_init_version; then
  cat <<\EOF

Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
EOF
  exit 0
fi
exec 5>config.log
cat >&5 <<EOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by $as_me, which was
generated by GNU Autoconf 2.52.20121002.  Invocation command line was

  $ $0 $@@

EOF
{
cat <<_ASUNAME
## ---------- ##
## Platform.  ##
## ---------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`

PATH = $PATH

_ASUNAME
} >&5

cat >&5 <<EOF
## ------------ ##
## Core tests.  ##
## ------------ ##

EOF

# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell meta-characters.
ac_configure_args=
ac_sep=
for ac_arg
do
  case $ac_arg in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    ac_sep=" " ;;
  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
     ac_sep=" " ;;
  esac
  # Get rid of the leading space.
done

# When interrupted or exit'd, cleanup temporary files, and complete
# config.log.  We remove comments because anyway the quotes in there
# would cause problems or look ugly.
trap 'exit_status=$?
  # Save into config.log some information that might help in debugging.
  echo >&5
  echo "## ----------------- ##" >&5
  echo "## Cache variables.  ##" >&5
  echo "## ----------------- ##" >&5
  echo >&5
  # The following way of writing the cache mishandles newlines in values,
{
  (set) 2>&1 |
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      sed -n \
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
    *)
      sed -n \
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
} >&5
  sed "/^$/d" confdefs.h >conftest.log
  if test -s conftest.log; then
    echo >&5
    echo "## ------------ ##" >&5
    echo "## confdefs.h.  ##" >&5
    echo "## ------------ ##" >&5
    echo >&5
    cat conftest.log >&5
  fi
  (echo; echo) >&5
  test "$ac_signal" != 0 &&
    echo "$as_me: caught signal $ac_signal" >&5
  echo "$as_me: exit $exit_status" >&5
  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
    exit $exit_status
     ' 0
for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h

# Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
fi
for ac_site_file in $CONFIG_SITE; do
  if test -r "$ac_site_file"; then
    { echo "$as_me:917: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
    cat "$ac_site_file" >&5
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  # Some versions of bash will fail to source /dev/null (special
  # files actually), so we avoid doing that.
  if test -f "$cache_file"; then
    { echo "$as_me:928: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
    esac
  fi
else
  { echo "$as_me:936: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
  >$cache_file
fi

# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in `(set) 2>&1 |
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  eval ac_new_set=\$ac_env_${ac_var}_set
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
  case $ac_old_set,$ac_new_set in
    set,)
      { echo "$as_me:952: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,set)
      { echo "$as_me:956: error: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,);;
    *)
      if test "x$ac_old_val" != "x$ac_new_val"; then
        { echo "$as_me:962: error: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        { echo "$as_me:964:   former value:  $ac_old_val" >&5
echo "$as_me:   former value:  $ac_old_val" >&2;}
        { echo "$as_me:966:   current value: $ac_new_val" >&5
echo "$as_me:   current value: $ac_new_val" >&2;}
        ac_cache_corrupted=:
      fi;;
  esac
  # Pass precious variables to config.status.  It doesn't matter if
  # we pass some twice (in addition to the command line arguments).
  if test "$ac_new_set" = set; then
    case $ac_new_val in
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
      ac_configure_args="$ac_configure_args '$ac_arg'"
      ;;
    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
       ;;
    esac
  fi
done
if $ac_cache_corrupted; then
  { echo "$as_me:985: error: changes in the environment can compromise the build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  { { echo "$as_me:987: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return

case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac
echo "#! $SHELL" >conftest.sh
echo  "exit 0"   >>conftest.sh
chmod +x conftest.sh
if { (echo "$as_me:1008: PATH=\".;.\"; conftest.sh") >&5
  (PATH=".;."; conftest.sh) 2>&5
  ac_status=$?
  echo "$as_me:1011: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  ac_path_separator=';'
else
  ac_path_separator=:
fi
PATH_SEPARATOR="$ac_path_separator"
rm -f conftest.sh

ac_config_headers="$ac_config_headers dlg_config.h:config.hin"

test "$program_prefix" != NONE &&
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
# Double any \ or $.  echo might interpret backslashes.
# By default was `s,x,x', remove it if useless.
cat <<\_ACEOF >conftest.sed
s/[\\$]/&&/g;s/;s,x,x,$//
_ACEOF
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
rm conftest.sed

DESTDIR=

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
echo "$as_me:1046: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}gcc"
echo "$as_me:1061: found $ac_dir/$ac_word" >&5
break
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:1069: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:1072: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo "$as_me:1081: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="gcc"
echo "$as_me:1096: found $ac_dir/$ac_word" >&5
break
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:1104: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:1107: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
echo "$as_me:1120: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}cc"
echo "$as_me:1135: found $ac_dir/$ac_word" >&5
break
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:1143: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:1146: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:1155: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="cc"
echo "$as_me:1170: found $ac_dir/$ac_word" >&5
break
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:1178: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:1181: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

fi
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:1194: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_prog_rejected=no
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  ac_prog_rejected=yes
  continue
fi
ac_cv_prog_CC="cc"
echo "$as_me:1214: found $ac_dir/$ac_word" >&5
break
done

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# != 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    set dummy "$ac_dir/$ac_word" ${1+"$@@"}
    shift
    ac_cv_prog_CC="$@@"
  fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:1236: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:1239: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:1250: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
echo "$as_me:1265: found $ac_dir/$ac_word" >&5
break
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:1273: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:1276: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    test -n "$CC" && break
  done
fi
if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:1289: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="$ac_prog"
echo "$as_me:1304: found $ac_dir/$ac_word" >&5
break
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:1312: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:1315: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$ac_ct_CC" && break
done

  CC=$ac_ct_CC
fi

fi

test -z "$CC" && { { echo "$as_me:1327: error: no acceptable cc found in \$PATH" >&5
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
   { (exit 1); exit 1; }; }

# Provide some information about the compiler.
echo "$as_me:1332:" \
     "checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:1335: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:1338: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:1340: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:1343: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:1345: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:1348: \$? = $ac_status" >&5
  (exit $ac_status); }

cat >conftest.$ac_ext <<_ACEOF
#line 1352 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
echo "$as_me:1368: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
if { (eval echo "$as_me:1371: \"$ac_link_default\"") >&5
  (eval $ac_link_default) 2>&5
  ac_status=$?
  echo "$as_me:1374: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # Find the output, starting from the most likely.  This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort.
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
                ls a.out conftest 2>/dev/null;
                ls a.* conftest.* 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    a.out ) # We found the default executable, but exeext='' is most
            # certainly right.
            break;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
          export ac_cv_exeext
          break;;
    * ) break;;
  esac
done
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
{ { echo "$as_me:1397: error: C compiler cannot create executables" >&5
echo "$as_me: error: C compiler cannot create executables" >&2;}
   { (exit 77); exit 77; }; }
fi

ac_exeext=$ac_cv_exeext
echo "$as_me:1403: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6

# Check the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
echo "$as_me:1408: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
  if { ac_try='./$ac_file'
  { (eval echo "$as_me:1414: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:1417: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
	cross_compiling=yes
    else
	{ { echo "$as_me:1424: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi
echo "$as_me:1432: result: yes" >&5
echo "${ECHO_T}yes" >&6

rm -f a.out a.exe conftest$ac_cv_exeext
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
echo "$as_me:1439: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:1441: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:1444: checking for executable suffix" >&5
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
if { (eval echo "$as_me:1446: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:1449: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
          export ac_cv_exeext
          break;;
    * ) break;;
  esac
done
else
  { { echo "$as_me:1465: error: cannot compute EXEEXT: cannot compile and link" >&5
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
   { (exit 1); exit 1; }; }
fi

rm -f conftest$ac_cv_exeext
echo "$as_me:1471: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6

rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
echo "$as_me:1477: checking for object suffix" >&5
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 1483 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.o conftest.obj
if { (eval echo "$as_me:1495: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:1498: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;;
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       break;;
  esac
done
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
{ { echo "$as_me:1510: error: cannot compute OBJEXT: cannot compile" >&5
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
   { (exit 1); exit 1; }; }
fi

rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
echo "$as_me:1517: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
echo "$as_me:1521: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
if test "${ac_cv_c_compiler_gnu+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 1527 "configure"
#include "confdefs.h"

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:1542: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:1545: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:1548: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:1551: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_compiler_gnu=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi
echo "$as_me:1563: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
CFLAGS="-g"
echo "$as_me:1569: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 1575 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:1587: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:1590: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:1593: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:1596: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_g=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_prog_cc_g=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:1606: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
  CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi
# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:1633: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:1636: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:1639: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:1642: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in \
   ''\
   '#include <stdlib.h>' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do
  cat >conftest.$ac_ext <<_ACEOF
#line 1654 "configure"
#include "confdefs.h"
#include <stdlib.h>
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:1667: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:1670: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:1673: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:1676: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
continue
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
#line 1686 "configure"
#include "confdefs.h"
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:1698: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:1701: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:1704: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:1707: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
done
rm -rf conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return

GCC_VERSION=none
if test "$GCC" = yes ; then
	echo "$as_me:1737: checking version of $CC" >&5
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
	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.].*//'`"
	test -z "$GCC_VERSION" && GCC_VERSION=unknown
	echo "$as_me:1741: result: $GCC_VERSION" >&5
echo "${ECHO_T}$GCC_VERSION" >&6
fi

echo "$as_me:1745: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_prog_cc_stdc=no
ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF
#line 1753 "configure"
#include "confdefs.h"
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
     char **p;
     int i;
{
  return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
  char *s;
  va_list v;
  va_start (v,p);
  s = g (p, va_arg (v,int));
  va_end (v);
  return s;
}
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  ;
  return 0;
}
_ACEOF
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX			-qlanglvl=ansi
# Ultrix and OSF/1	-std1
# HP-UX 10.20 and later	-Ae
# HP-UX older versions	-Aa -D_HPUX_SOURCE
# SVR4			-Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
  CC="$ac_save_CC $ac_arg"
  rm -f conftest.$ac_objext
if { (eval echo "$as_me:1802: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:1805: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:1808: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:1811: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext
done
rm -f conftest.$ac_ext conftest.$ac_objext
CC=$ac_save_CC

fi

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:1828: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
  *)
    echo "$as_me:1831: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
esac

# This should have been defined by AC_PROG_CC
: ${CC:=cc}

echo "$as_me:1839: checking \$CC variable" >&5
echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
case "$CC" in #(vi
*[\ \	]-[IUD]*)
	echo "$as_me:1843: result: broken" >&5
echo "${ECHO_T}broken" >&6
	{ echo "$as_me:1845: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
	# humor him...
	cf_flags=`echo "$CC" | sed -e 's/^[^ 	]*[ 	]//'`
	CC=`echo "$CC" | sed -e 's/[ 	].*//'`

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_flags
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

	;;
*)
	echo "$as_me:1931: result: ok" >&5
echo "${ECHO_T}ok" >&6
	;;
esac

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return
echo "$as_me:1942: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
      # Double quotes because CPP needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    do
      ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
#line 1963 "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
_ACEOF
if { (eval echo "$as_me:1968: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:1974: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
#line 1997 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:2001: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:2007: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  break
fi

    done
    ac_cv_prog_CPP=$CPP

fi
  CPP=$ac_cv_prog_CPP
else
  ac_cv_prog_CPP=$CPP
fi
echo "$as_me:2044: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
#line 2054 "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
_ACEOF
if { (eval echo "$as_me:2059: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:2065: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
#line 2088 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:2092: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:2098: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  :
else
  { { echo "$as_me:2126: error: C preprocessor \"$CPP\" fails sanity check" >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return

echo "$as_me:2138: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.make <<\EOF
all:
	@@echo 'ac_maketemp="${MAKE}"'
EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
  eval ac_cv_prog_make_${ac_make}_set=yes
else
  eval ac_cv_prog_make_${ac_make}_set=no
fi
rm -f conftest.make
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  echo "$as_me:2158: result: yes" >&5
echo "${ECHO_T}yes" >&6
  SET_MAKE=
else
  echo "$as_me:2162: result: no" >&5
echo "${ECHO_T}no" >&6
  SET_MAKE="MAKE=${MAKE-make}"
fi

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo "$as_me:2170: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
echo "$as_me:2185: found $ac_dir/$ac_word" >&5
break
done

fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
  echo "$as_me:2193: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
  echo "$as_me:2196: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_RANLIB"; then
  ac_ct_RANLIB=$RANLIB
  # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo "$as_me:2205: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_RANLIB"; then
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_RANLIB="ranlib"
echo "$as_me:2220: found $ac_dir/$ac_word" >&5
break
done

  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
  echo "$as_me:2229: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
  echo "$as_me:2232: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  RANLIB=$ac_ct_RANLIB
else
  RANLIB="$ac_cv_prog_RANLIB"
fi

ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  if test -f $ac_dir/install-sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f $ac_dir/install.sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
  elif test -f $ac_dir/shtool; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/shtool install -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
  { { echo "$as_me:2258: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   { (exit 1); exit 1; }; }
fi
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.

# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo "$as_me:2278: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
    ac_save_IFS=$IFS; IFS=$ac_path_separator
  for ac_dir in $PATH; do
    IFS=$ac_save_IFS
    # Account for people who put trailing slashes in PATH elements.
    case $ac_dir/ in
    / | ./ | .// | /cC/* \
    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
    | /usr/ucb/* ) ;;
    *)
      # OSF1 and SCO ODT 3.0 have their own names for install.
      # Don't use installbsd from OSF since it installs stuff as root
      # by default.
      for ac_prog in ginstall scoinst install; do
        if $as_executable_p "$ac_dir/$ac_prog"; then
	  if test $ac_prog = install &&
            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  elif test $ac_prog = install &&
	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
	    # program-specific install script used by HP pwplus--don't use.
	    :
	  else
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
	    break 2
	  fi
	fi
      done
      ;;
    esac
  done

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL=$ac_install_sh
  fi
fi
echo "$as_me:2327: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

for ac_prog in tdlint lint alint splint lclint
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:2342: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LINT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$LINT"; then
  ac_cv_prog_LINT="$LINT" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LINT="$ac_prog"
echo "$as_me:2357: found $ac_dir/$ac_word" >&5
break
done

fi
fi
LINT=$ac_cv_prog_LINT
if test -n "$LINT"; then
  echo "$as_me:2365: result: $LINT" >&5
echo "${ECHO_T}$LINT" >&6
else
  echo "$as_me:2368: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$LINT" && break
done

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo "$as_me:2378: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_AR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_AR="${ac_tool_prefix}ar"
echo "$as_me:2393: found $ac_dir/$ac_word" >&5
break
done

fi
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
  echo "$as_me:2401: result: $AR" >&5
echo "${ECHO_T}$AR" >&6
else
  echo "$as_me:2404: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_AR"; then
  ac_ct_AR=$AR
  # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo "$as_me:2413: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_AR"; then
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_AR="ar"
echo "$as_me:2428: found $ac_dir/$ac_word" >&5
break
done

  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
fi
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
  echo "$as_me:2437: result: $ac_ct_AR" >&5
echo "${ECHO_T}$ac_ct_AR" >&6
else
  echo "$as_me:2440: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  AR=$ac_ct_AR
else
  AR="$ac_cv_prog_AR"
fi

echo "$as_me:2449: checking for makeflags variable" >&5
echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6
if test "${cf_cv_makeflags+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cf_cv_makeflags=''
	for cf_option in '-${MAKEFLAGS}' '${MFLAGS}'
	do
		cat >cf_makeflags.tmp <<CF_EOF
SHELL = /bin/sh
all :
	@@ echo '.$cf_option'
CF_EOF
		cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | fgrep -v "ing directory" | sed -e 's,[ 	]*$,,'`
		case "$cf_result" in
		.*k)
			cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`
			case "$cf_result" in
			.*CC=*)	cf_cv_makeflags=
				;;
			*)	cf_cv_makeflags=$cf_option
				;;
			esac
			break
			;;
		.-)	;;
		*)	echo "given option \"$cf_option\", no match \"$cf_result\""
			;;
		esac
	done
	rm -f cf_makeflags.tmp

fi
echo "$as_me:2483: result: $cf_cv_makeflags" >&5
echo "${ECHO_T}$cf_cv_makeflags" >&6

echo "$as_me:2486: checking if filesystem supports mixed-case filenames" >&5
echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
if test "${cf_cv_mixedcase+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

if test "$cross_compiling" = yes ; then
	case $target_alias in #(vi
	*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-mingw32*|*-uwin*) #(vi
		cf_cv_mixedcase=no
		;;
	*)
		cf_cv_mixedcase=yes
		;;
	esac
else
	rm -f conftest CONFTEST
	echo test >conftest
	if test -f CONFTEST ; then
		cf_cv_mixedcase=no
	else
		cf_cv_mixedcase=yes
	fi
	rm -f conftest CONFTEST
fi

fi
echo "$as_me:2513: result: $cf_cv_mixedcase" >&5
echo "${ECHO_T}$cf_cv_mixedcase" >&6
test "$cf_cv_mixedcase" = yes &&
cat >>confdefs.h <<\EOF
#define MIXEDCASE_FILENAMES 1
EOF

for ac_prog in exctags ctags
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:2524: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CTAGS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CTAGS"; then
  ac_cv_prog_CTAGS="$CTAGS" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CTAGS="$ac_prog"
echo "$as_me:2539: found $ac_dir/$ac_word" >&5
break
done

fi
fi
CTAGS=$ac_cv_prog_CTAGS
if test -n "$CTAGS"; then
  echo "$as_me:2547: result: $CTAGS" >&5
echo "${ECHO_T}$CTAGS" >&6
else
  echo "$as_me:2550: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$CTAGS" && break
done

for ac_prog in exetags etags
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:2561: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ETAGS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ETAGS"; then
  ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ETAGS="$ac_prog"
echo "$as_me:2576: found $ac_dir/$ac_word" >&5
break
done

fi
fi
ETAGS=$ac_cv_prog_ETAGS
if test -n "$ETAGS"; then
  echo "$as_me:2584: result: $ETAGS" >&5
echo "${ECHO_T}$ETAGS" >&6
else
  echo "$as_me:2587: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$ETAGS" && break
done

# Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
set dummy ${CTAGS:-ctags}; ac_word=$2
echo "$as_me:2596: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$MAKE_LOWER_TAGS"; then
  ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_MAKE_LOWER_TAGS="yes"
echo "$as_me:2611: found $ac_dir/$ac_word" >&5
break
done

  test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"
fi
fi
MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
if test -n "$MAKE_LOWER_TAGS"; then
  echo "$as_me:2620: result: $MAKE_LOWER_TAGS" >&5
echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
else
  echo "$as_me:2623: result: no" >&5
echo "${ECHO_T}no" >&6
fi

if test "$cf_cv_mixedcase" = yes ; then
	# Extract the first word of "${ETAGS:-etags}", so it can be a program name with args.
set dummy ${ETAGS:-etags}; ac_word=$2
echo "$as_me:2630: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$MAKE_UPPER_TAGS"; then
  ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_MAKE_UPPER_TAGS="yes"
echo "$as_me:2645: found $ac_dir/$ac_word" >&5
break
done

  test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"
fi
fi
MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
if test -n "$MAKE_UPPER_TAGS"; then
  echo "$as_me:2654: result: $MAKE_UPPER_TAGS" >&5
echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
else
  echo "$as_me:2657: result: no" >&5
echo "${ECHO_T}no" >&6
fi

else
	MAKE_UPPER_TAGS=no
fi

if test "$MAKE_UPPER_TAGS" = yes ; then
	MAKE_UPPER_TAGS=
else
	MAKE_UPPER_TAGS="#"
fi

if test "$MAKE_LOWER_TAGS" = yes ; then
	MAKE_LOWER_TAGS=
else
	MAKE_LOWER_TAGS="#"
fi

echo "$as_me:2677: checking if you want to see long compiling messages" >&5
echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6

# Check whether --enable-echo or --disable-echo was given.
if test "${enable_echo+set}" = set; then
  enableval="$enable_echo"
  test "$enableval" != no && enableval=yes
  if test "$enableval" != "yes" ; then

    ECHO_LT='--silent'
    ECHO_LD='@@echo linking $@@;'
    RULE_CC='@@echo compiling $<'
    SHOW_CC='@@echo compiling $@@'
    ECHO_CC='@@'

  else

    ECHO_LT=''
    ECHO_LD=''
    RULE_CC=''
    SHOW_CC=''
    ECHO_CC=''

  fi
else
  enableval=yes

    ECHO_LT=''
    ECHO_LD=''
    RULE_CC=''
    SHOW_CC=''
    ECHO_CC=''

fi;
echo "$as_me:2711: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6

# Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 ||
  { { echo "$as_me:2716: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   { (exit 1); exit 1; }; }

echo "$as_me:2720: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6
if test "${ac_cv_build+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_build_alias=$build_alias
test -z "$ac_cv_build_alias" &&
  ac_cv_build_alias=`$ac_config_guess`
test -z "$ac_cv_build_alias" &&
  { { echo "$as_me:2729: error: cannot guess build type; you must specify one" >&5
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   { (exit 1); exit 1; }; }
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  { { echo "$as_me:2733: error: $ac_config_sub $ac_cv_build_alias failed." >&5
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
   { (exit 1); exit 1; }; }

fi
echo "$as_me:2738: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6
build=$ac_cv_build
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`

if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then
	echo "$as_me:2746: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6
if test "${ac_cv_host+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_host_alias=$host_alias
test -z "$ac_cv_host_alias" &&
  ac_cv_host_alias=$ac_cv_build_alias
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  { { echo "$as_me:2755: error: $ac_config_sub $ac_cv_host_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi
echo "$as_me:2760: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6
host=$ac_cv_host
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`

	system_name="$host_os"
else
	system_name="`(uname -s -r) 2>/dev/null`"
	if test -z "$system_name" ; then
		system_name="`(hostname) 2>/dev/null`"
	fi
fi
test -n "$system_name" &&
cat >>confdefs.h <<EOF
#define SYSTEM_NAME "$system_name"
EOF

if test "${cf_cv_system_name+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cf_cv_system_name="$system_name"
fi

test -z "$system_name" && system_name="$cf_cv_system_name"
test -n "$cf_cv_system_name" && echo "$as_me:2786: result: Configuring for $cf_cv_system_name" >&5
echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6

if test ".$system_name" != ".$cf_cv_system_name" ; then
	echo "$as_me:2790: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
	{ { echo "$as_me:2792: error: \"Please remove config.cache and try again.\"" >&5
echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
   { (exit 1); exit 1; }; }
fi

case $cf_cv_system_name in
os2*)
    CFLAGS="$CFLAGS -Zmt"
    CPPFLAGS="$CPPFLAGS -D__ST_MT_ERRNO__"
    CXXFLAGS="$CXXFLAGS -Zmt"
    # autoconf's macro sets -Zexe and suffix both, which conflict:w
    LDFLAGS="$LDFLAGS -Zmt -Zcrtdll"
    ac_cv_exeext=.exe
    ;;
esac

PROG_EXT="$EXEEXT"

test -n "$PROG_EXT" &&
cat >>confdefs.h <<EOF
#define PROG_EXT "$PROG_EXT"
EOF

	echo "$as_me:2815: checking for PATH separator" >&5
echo $ECHO_N "checking for PATH separator... $ECHO_C" >&6
	case $cf_cv_system_name in
	os2*)	PATH_SEPARATOR=';'  ;;
	*)	${PATH_SEPARATOR:=':'}  ;;
	esac

	echo "$as_me:2822: result: $PATH_SEPARATOR" >&5
echo "${ECHO_T}$PATH_SEPARATOR" >&6

	case $cf_cv_system_name in #(vi
	OS/2*|os2*) #(vi
        LIB_PREFIX=''
        ;;
	*)	LIB_PREFIX='lib'
        ;;
	esac

cf_XOPEN_SOURCE=500
cf_POSIX_C_SOURCE=199506L
cf_xopen_source=

case $host_os in #(vi
aix[4-7]*) #(vi
	cf_xopen_source="-D_ALL_SOURCE"
	;;
cygwin) #(vi
	cf_XOPEN_SOURCE=600
	;;
darwin[0-8].*) #(vi
	cf_xopen_source="-D_APPLE_C_SOURCE"
	;;
darwin*) #(vi
	cf_xopen_source="-D_DARWIN_C_SOURCE"
	cf_XOPEN_SOURCE=
	;;
freebsd*|dragonfly*) #(vi
	# 5.x headers associate
	#	_XOPEN_SOURCE=600 with _POSIX_C_SOURCE=200112L
	#	_XOPEN_SOURCE=500 with _POSIX_C_SOURCE=199506L
	cf_POSIX_C_SOURCE=200112L
	cf_XOPEN_SOURCE=600
	cf_xopen_source="-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
	;;
hpux11*) #(vi
	cf_xopen_source="-D_HPUX_SOURCE -D_XOPEN_SOURCE=500"
	;;
hpux*) #(vi
	cf_xopen_source="-D_HPUX_SOURCE"
	;;
irix[56].*) #(vi
	cf_xopen_source="-D_SGI_SOURCE"
	cf_XOPEN_SOURCE=
	;;
linux*|gnu*|mint*|k*bsd*-gnu) #(vi

echo "$as_me:2871: checking if we must define _GNU_SOURCE" >&5
echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
if test "${cf_cv_gnu_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

cat >conftest.$ac_ext <<_ACEOF
#line 2878 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:2893: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:2896: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:2899: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:2902: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_gnu_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_save="$CPPFLAGS"
	 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
	 cat >conftest.$ac_ext <<_ACEOF
#line 2911 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifdef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:2926: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:2929: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:2932: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:2935: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_gnu_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_gnu_source=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	CPPFLAGS="$cf_save"

fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:2950: result: $cf_cv_gnu_source" >&5
echo "${ECHO_T}$cf_cv_gnu_source" >&6
test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"

	;;
mirbsd*) #(vi
	# setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <sys/select.h> and other headers which use u_int / u_short types
	cf_XOPEN_SOURCE=

cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE

cf_save_CFLAGS="$CFLAGS"
cf_save_CPPFLAGS="$CPPFLAGS"

cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`

cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`

echo "$as_me:2972: checking if we should define _POSIX_C_SOURCE" >&5
echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
if test "${cf_cv_posix_c_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

echo "${as_me:-configure}:2978: testing if the symbol is already defined go no further ..." 1>&5

	cat >conftest.$ac_ext <<_ACEOF
#line 2981 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _POSIX_C_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:2996: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:2999: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3002: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3005: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_posix_c_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_want_posix_source=no
	 case .$cf_POSIX_C_SOURCE in #(vi
	 .[12]??*) #(vi
		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
		;;
	 .2) #(vi
		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
		cf_want_posix_source=yes
		;;
	 .*)
		cf_want_posix_source=yes
		;;
	 esac
	 if test "$cf_want_posix_source" = yes ; then
		cat >conftest.$ac_ext <<_ACEOF
#line 3026 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifdef _POSIX_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3041: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3044: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3047: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3050: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	 fi

echo "${as_me:-configure}:3061: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5

	 CFLAGS="$cf_trim_CFLAGS"
	 CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"

echo "${as_me:-configure}:3066: testing if the second compile does not leave our definition intact error ..." 1>&5

	 cat >conftest.$ac_ext <<_ACEOF
#line 3069 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _POSIX_C_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3084: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3087: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3090: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3093: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_posix_c_source=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	 CFLAGS="$cf_save_CFLAGS"
	 CPPFLAGS="$cf_save_CPPFLAGS"

fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:3109: result: $cf_cv_posix_c_source" >&5
echo "${ECHO_T}$cf_cv_posix_c_source" >&6

if test "$cf_cv_posix_c_source" != no ; then
	CFLAGS="$cf_trim_CFLAGS"
	CPPFLAGS="$cf_trim_CPPFLAGS"

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_cv_posix_c_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

	;;
netbsd*) #(vi
	cf_xopen_source="-D_NETBSD_SOURCE" # setting _XOPEN_SOURCE breaks IPv6 for lynx on NetBSD 1.6, breaks xterm, is not needed for ncursesw
	;;
openbsd[4-9]*) #(vi
	# setting _XOPEN_SOURCE lower than 500 breaks g++ compile with wchar.h, needed for ncursesw
	cf_xopen_source="-D_BSD_SOURCE"
	cf_XOPEN_SOURCE=600
	;;
openbsd*) #(vi
	# setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
	;;
osf[45]*) #(vi
	cf_xopen_source="-D_OSF_SOURCE"
	;;
nto-qnx*) #(vi
	cf_xopen_source="-D_QNX_SOURCE"
	;;
sco*) #(vi
	# setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
	;;
solaris2.*) #(vi
	cf_xopen_source="-D__EXTENSIONS__"
	;;
*)

echo "$as_me:3222: checking if we should define _XOPEN_SOURCE" >&5
echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
if test "${cf_cv_xopen_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cat >conftest.$ac_ext <<_ACEOF
#line 3229 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3248: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3251: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3254: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3257: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_xopen_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_save="$CPPFLAGS"
	 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
	 cat >conftest.$ac_ext <<_ACEOF
#line 3266 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

int
main ()
{

#ifdef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3285: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3288: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3291: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3294: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_xopen_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_xopen_source=$cf_XOPEN_SOURCE
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	CPPFLAGS="$cf_save"

fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:3309: result: $cf_cv_xopen_source" >&5
echo "${ECHO_T}$cf_cv_xopen_source" >&6

if test "$cf_cv_xopen_source" != no ; then

CFLAGS=`echo "$CFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`

	cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_temp_xopen_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE

cf_save_CFLAGS="$CFLAGS"
cf_save_CPPFLAGS="$CPPFLAGS"

cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`

cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`

echo "$as_me:3417: checking if we should define _POSIX_C_SOURCE" >&5
echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
if test "${cf_cv_posix_c_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

echo "${as_me:-configure}:3423: testing if the symbol is already defined go no further ..." 1>&5

	cat >conftest.$ac_ext <<_ACEOF
#line 3426 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _POSIX_C_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3441: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3444: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3447: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3450: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_posix_c_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_want_posix_source=no
	 case .$cf_POSIX_C_SOURCE in #(vi
	 .[12]??*) #(vi
		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
		;;
	 .2) #(vi
		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
		cf_want_posix_source=yes
		;;
	 .*)
		cf_want_posix_source=yes
		;;
	 esac
	 if test "$cf_want_posix_source" = yes ; then
		cat >conftest.$ac_ext <<_ACEOF
#line 3471 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifdef _POSIX_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3486: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3489: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3492: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3495: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	 fi

echo "${as_me:-configure}:3506: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5

	 CFLAGS="$cf_trim_CFLAGS"
	 CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"

echo "${as_me:-configure}:3511: testing if the second compile does not leave our definition intact error ..." 1>&5

	 cat >conftest.$ac_ext <<_ACEOF
#line 3514 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _POSIX_C_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3529: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3532: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3535: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3538: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_posix_c_source=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	 CFLAGS="$cf_save_CFLAGS"
	 CPPFLAGS="$cf_save_CPPFLAGS"

fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:3554: result: $cf_cv_posix_c_source" >&5
echo "${ECHO_T}$cf_cv_posix_c_source" >&6

if test "$cf_cv_posix_c_source" != no ; then
	CFLAGS="$cf_trim_CFLAGS"
	CPPFLAGS="$cf_trim_CPPFLAGS"

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_cv_posix_c_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

	;;
esac

if test -n "$cf_xopen_source" ; then

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_xopen_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
	echo "$as_me:3727: checking if _XOPEN_SOURCE really is set" >&5
echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
	cat >conftest.$ac_ext <<_ACEOF
#line 3730 "configure"
#include "confdefs.h"
#include <stdlib.h>
int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3745: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3748: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3751: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3754: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_XOPEN_SOURCE_set=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_XOPEN_SOURCE_set=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	echo "$as_me:3763: result: $cf_XOPEN_SOURCE_set" >&5
echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
	if test $cf_XOPEN_SOURCE_set = yes
	then
		cat >conftest.$ac_ext <<_ACEOF
#line 3768 "configure"
#include "confdefs.h"
#include <stdlib.h>
int
main ()
{

#if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3783: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3786: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3789: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3792: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_XOPEN_SOURCE_set_ok=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_XOPEN_SOURCE_set_ok=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
		if test $cf_XOPEN_SOURCE_set_ok = no
		then
			{ echo "$as_me:3803: WARNING: _XOPEN_SOURCE is lower than requested" >&5
echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
		fi
	else

echo "$as_me:3808: checking if we should define _XOPEN_SOURCE" >&5
echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
if test "${cf_cv_xopen_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cat >conftest.$ac_ext <<_ACEOF
#line 3815 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3834: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3837: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3840: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3843: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_xopen_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_save="$CPPFLAGS"
	 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
	 cat >conftest.$ac_ext <<_ACEOF
#line 3852 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

int
main ()
{

#ifdef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3871: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3874: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3877: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3880: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_xopen_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_xopen_source=$cf_XOPEN_SOURCE
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	CPPFLAGS="$cf_save"

fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:3895: result: $cf_cv_xopen_source" >&5
echo "${ECHO_T}$cf_cv_xopen_source" >&6

if test "$cf_cv_xopen_source" != no ; then

CFLAGS=`echo "$CFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`

	cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_temp_xopen_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

	fi
fi

# Check whether --enable-largefile or --disable-largefile was given.
if test "${enable_largefile+set}" = set; then
  enableval="$enable_largefile"

fi;
if test "$enable_largefile" != no; then

  echo "$as_me:4000: checking for special C compiler options needed for large files" >&5
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
if test "${ac_cv_sys_largefile_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_sys_largefile_CC=no
     if test "$GCC" != yes; then
       ac_save_CC=$CC
       while :; do
     	 # IRIX 6.2 and later do not support large files by default,
     	 # so use the C compiler's -n32 option if that helps.
         cat >conftest.$ac_ext <<_ACEOF
#line 4012 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
_ACEOF
     	 rm -f conftest.$ac_objext
if { (eval echo "$as_me:4032: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4035: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4038: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4041: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext
     	 CC="$CC -n32"
     	 rm -f conftest.$ac_objext
if { (eval echo "$as_me:4051: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4054: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4057: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4060: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_sys_largefile_CC=' -n32'; break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext
         break
       done
       CC=$ac_save_CC
       rm -f conftest.$ac_ext
    fi
fi
echo "$as_me:4074: result: $ac_cv_sys_largefile_CC" >&5
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
  if test "$ac_cv_sys_largefile_CC" != no; then
    CC=$CC$ac_cv_sys_largefile_CC
  fi

  echo "$as_me:4080: checking for _FILE_OFFSET_BITS value needed for large files" >&5
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  while :; do
  ac_cv_sys_file_offset_bits=no
  cat >conftest.$ac_ext <<_ACEOF
#line 4088 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4108: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4111: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4114: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4117: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
#line 4126 "configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4147: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4150: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4153: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4156: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_sys_file_offset_bits=64; break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  break
done
fi
echo "$as_me:4167: result: $ac_cv_sys_file_offset_bits" >&5
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
if test "$ac_cv_sys_file_offset_bits" != no; then

cat >>confdefs.h <<EOF
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
EOF

fi
rm -rf conftest*
  echo "$as_me:4177: checking for _LARGE_FILES value needed for large files" >&5
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
if test "${ac_cv_sys_large_files+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  while :; do
  ac_cv_sys_large_files=no
  cat >conftest.$ac_ext <<_ACEOF
#line 4185 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4205: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4208: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4211: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4214: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
#line 4223 "configure"
#include "confdefs.h"
#define _LARGE_FILES 1
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4244: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4247: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4250: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4253: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_sys_large_files=1; break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  break
done
fi
echo "$as_me:4264: result: $ac_cv_sys_large_files" >&5
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
if test "$ac_cv_sys_large_files" != no; then

cat >>confdefs.h <<EOF
#define _LARGE_FILES $ac_cv_sys_large_files
EOF

fi
rm -rf conftest*
fi

    if test "$enable_largefile" != no ; then
	echo "$as_me:4277: checking for _LARGEFILE_SOURCE value needed for large files" >&5
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
if test "${ac_cv_sys_largefile_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  while :; do
  ac_cv_sys_largefile_source=no
  cat >conftest.$ac_ext <<_ACEOF
#line 4285 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
return !fseeko;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4297: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4300: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4303: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4306: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
#line 4315 "configure"
#include "confdefs.h"
#define _LARGEFILE_SOURCE 1
#include <stdio.h>
int
main ()
{
return !fseeko;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4328: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4331: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4334: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4337: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_sys_largefile_source=1; break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  break
done
fi
echo "$as_me:4348: result: $ac_cv_sys_largefile_source" >&5
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
if test "$ac_cv_sys_largefile_source" != no; then

cat >>confdefs.h <<EOF
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
EOF

fi
rm -rf conftest*

# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
# in glibc 2.1.3, but that breaks too many other things.
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
echo "$as_me:4362: checking for fseeko" >&5
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
if test "${ac_cv_func_fseeko+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 4368 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
return fseeko && fseeko (stdin, 0, 0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:4380: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:4383: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:4386: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4389: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_fseeko=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_fseeko=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:4399: result: $ac_cv_func_fseeko" >&5
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
if test $ac_cv_func_fseeko = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_FSEEKO 1
EOF

fi

	# Normally we would collect these definitions in the config.h,
	# but (like _XOPEN_SOURCE), some environments rely on having these
	# defined before any of the system headers are included.  Another
	# case comes up with C++, e.g., on AIX the compiler compiles the
	# header files by themselves before looking at the body files it is
	# told to compile.  For ncurses, those header files do not include
	# the config.h
	test "$ac_cv_sys_large_files"      != no && CPPFLAGS="$CPPFLAGS -D_LARGE_FILES "
	test "$ac_cv_sys_largefile_source" != no && CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE "
	test "$ac_cv_sys_file_offset_bits" != no && CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits "

	echo "$as_me:4420: checking whether to use struct dirent64" >&5
echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6
if test "${cf_cv_struct_dirent64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		cat >conftest.$ac_ext <<_ACEOF
#line 4427 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <dirent.h>

int
main ()
{

		/* if transitional largefile support is setup, this is true */
		extern struct dirent64 * readdir(DIR *);
		struct dirent64 *x = readdir((DIR *)0);
		struct dirent *y = readdir((DIR *)0);
		int z = x - y;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4448: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4451: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4454: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4457: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_struct_dirent64=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_struct_dirent64=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:4468: result: $cf_cv_struct_dirent64" >&5
echo "${ECHO_T}$cf_cv_struct_dirent64" >&6
	test "$cf_cv_struct_dirent64" = yes &&
cat >>confdefs.h <<\EOF
#define HAVE_STRUCT_DIRENT64 1
EOF

    fi

if ( test "$GCC" = yes || test "$GXX" = yes )
then
echo "$as_me:4479: checking if you want to check for gcc warnings" >&5
echo $ECHO_N "checking if you want to check for gcc warnings... $ECHO_C" >&6

# Check whether --with-warnings or --without-warnings was given.
if test "${with_warnings+set}" = set; then
  withval="$with_warnings"
  cf_opt_with_warnings=$withval
else
  cf_opt_with_warnings=no
fi;
echo "$as_me:4489: result: $cf_opt_with_warnings" >&5
echo "${ECHO_T}$cf_opt_with_warnings" >&6
if test "$cf_opt_with_warnings" != no ; then

if test "$GCC" = yes
then
cat > conftest.i <<EOF
#ifndef GCC_PRINTF
#define GCC_PRINTF 0
#endif
#ifndef GCC_SCANF
#define GCC_SCANF 0
#endif
#ifndef GCC_NORETURN
#define GCC_NORETURN /* nothing */
#endif
#ifndef GCC_UNUSED
#define GCC_UNUSED /* nothing */
#endif
EOF
if test "$GCC" = yes
then
	{ echo "$as_me:4511: checking for $CC __attribute__ directives..." >&5
echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
cat > conftest.$ac_ext <<EOF
#line 4514 "${as_me:-configure}"
#include "confdefs.h"
#include "conftest.h"
#include "conftest.i"
#if	GCC_PRINTF
#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
#else
#define GCC_PRINTFLIKE(fmt,var) /*nothing*/
#endif
#if	GCC_SCANF
#define GCC_SCANFLIKE(fmt,var)  __attribute__((format(scanf,fmt,var)))
#else
#define GCC_SCANFLIKE(fmt,var)  /*nothing*/
#endif
extern void wow(char *,...) GCC_SCANFLIKE(1,2);
extern void oops(char *,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN;
extern void foo(void) GCC_NORETURN;
int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED) { return 0; }
EOF
	cf_printf_attribute=no
	cf_scanf_attribute=no
	for cf_attribute in scanf printf unused noreturn
	do

cf_ATTRIBUTE=`echo "$cf_attribute" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

		cf_directive="__attribute__(($cf_attribute))"
		echo "checking for $CC $cf_directive" 1>&5

		case $cf_attribute in #(vi
		printf) #(vi
			cf_printf_attribute=yes
			cat >conftest.h <<EOF
#define GCC_$cf_ATTRIBUTE 1
EOF
			;;
		scanf) #(vi
			cf_scanf_attribute=yes
			cat >conftest.h <<EOF
#define GCC_$cf_ATTRIBUTE 1
EOF
			;;
		*) #(vi
			cat >conftest.h <<EOF
#define GCC_$cf_ATTRIBUTE $cf_directive
EOF
			;;
		esac

		if { (eval echo "$as_me:4563: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4566: \$? = $ac_status" >&5
  (exit $ac_status); }; then
			test -n "$verbose" && echo "$as_me:4568: result: ... $cf_attribute" >&5
echo "${ECHO_T}... $cf_attribute" >&6
			cat conftest.h >>confdefs.h
			case $cf_attribute in #(vi
			noreturn) #(vi

cat >>confdefs.h <<EOF
#define GCC_NORETURN $cf_directive
EOF

				;;
			printf) #(vi
				cf_value='/* nothing */'
				if test "$cf_printf_attribute" != no ; then
					cf_value='__attribute__((format(printf,fmt,var)))'

cat >>confdefs.h <<\EOF
#define GCC_PRINTF 1
EOF

				fi

cat >>confdefs.h <<EOF
#define GCC_PRINTFLIKE(fmt,var) $cf_value
EOF

				;;
			scanf) #(vi
				cf_value='/* nothing */'
				if test "$cf_scanf_attribute" != no ; then
					cf_value='__attribute__((format(scanf,fmt,var)))'

cat >>confdefs.h <<\EOF
#define GCC_SCANF 1
EOF

				fi

cat >>confdefs.h <<EOF
#define GCC_SCANFLIKE(fmt,var) $cf_value
EOF

				;;
			unused) #(vi

cat >>confdefs.h <<EOF
#define GCC_UNUSED $cf_directive
EOF

				;;
			esac
		fi
	done
else
	fgrep define conftest.i >>confdefs.h
fi
rm -rf conftest*
fi

INTEL_COMPILER=no

if test "$GCC" = yes ; then
	case $host_os in
	linux*|gnu*)
		echo "$as_me:4632: checking if this is really Intel C compiler" >&5
echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
		cf_save_CFLAGS="$CFLAGS"
		CFLAGS="$CFLAGS -no-gcc"
		cat >conftest.$ac_ext <<_ACEOF
#line 4637 "configure"
#include "confdefs.h"

int
main ()
{

#ifdef __INTEL_COMPILER
#else
make an error
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4654: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4657: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4660: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4663: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  INTEL_COMPILER=yes
cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
		CFLAGS="$cf_save_CFLAGS"
		echo "$as_me:4674: result: $INTEL_COMPILER" >&5
echo "${ECHO_T}$INTEL_COMPILER" >&6
		;;
	esac
fi

CLANG_COMPILER=no

if test "$GCC" = yes ; then
	echo "$as_me:4683: checking if this is really Clang C compiler" >&5
echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
	cf_save_CFLAGS="$CFLAGS"
	CFLAGS="$CFLAGS -Qunused-arguments"
	cat >conftest.$ac_ext <<_ACEOF
#line 4688 "configure"
#include "confdefs.h"

int
main ()
{

#ifdef __clang__
#else
make an error
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:4705: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4708: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:4711: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4714: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  CLANG_COMPILER=yes
cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	CFLAGS="$cf_save_CFLAGS"
	echo "$as_me:4725: result: $CLANG_COMPILER" >&5
echo "${ECHO_T}$CLANG_COMPILER" >&6
fi

cat > conftest.$ac_ext <<EOF
#line 4730 "${as_me:-configure}"
int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
EOF

if test "$INTEL_COMPILER" = yes
then
# The "-wdXXX" options suppress warnings:
# remark #1419: external declaration in primary source file
# remark #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem)
# remark #1684: conversion from pointer to same-sized integral type (potential portability problem)
# remark #193: zero used for undefined preprocessing identifier
# remark #593: variable "curs_sb_left_arrow" was set but never used
# remark #810: conversion from "int" to "Dimension={unsigned short}" may lose significant bits
# remark #869: parameter "tw" was never referenced
# remark #981: operands are evaluated in unspecified order
# warning #279: controlling expression is constant

	{ echo "$as_me:4747: checking for $CC warning options..." >&5
echo "$as_me: checking for $CC warning options..." >&6;}
	cf_save_CFLAGS="$CFLAGS"
	EXTRA_CFLAGS="-Wall"
	for cf_opt in \
		wd1419 \
		wd1683 \
		wd1684 \
		wd193 \
		wd593 \
		wd279 \
		wd810 \
		wd869 \
		wd981
	do
		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
		if { (eval echo "$as_me:4763: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4766: \$? = $ac_status" >&5
  (exit $ac_status); }; then
			test -n "$verbose" && echo "$as_me:4768: result: ... -$cf_opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6
			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
		fi
	done
	CFLAGS="$cf_save_CFLAGS"

elif test "$GCC" = yes
then
	{ echo "$as_me:4777: checking for $CC warning options..." >&5
echo "$as_me: checking for $CC warning options..." >&6;}
	cf_save_CFLAGS="$CFLAGS"
	EXTRA_CFLAGS=
	cf_warn_CONST=""
	test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings"
	for cf_opt in W Wall \
		Wbad-function-cast \
		Wcast-align \
		Wcast-qual \
		Winline \
		Wmissing-declarations \
		Wmissing-prototypes \
		Wnested-externs \
		Wpointer-arith \
		Wshadow \
		Wstrict-prototypes \
		Wundef $cf_warn_CONST
	do
		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
		if { (eval echo "$as_me:4797: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:4800: \$? = $ac_status" >&5
  (exit $ac_status); }; then
			test -n "$verbose" && echo "$as_me:4802: result: ... -$cf_opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6
			case $cf_opt in #(vi
			Wcast-qual) #(vi
				CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES"
				;;
			Winline) #(vi
				case $GCC_VERSION in
				[34].*)
					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6

echo "${as_me:-configure}:4813: testing feature is broken in gcc $GCC_VERSION ..." 1>&5

					continue;;
				esac
				;;
			Wpointer-arith) #(vi
				case $GCC_VERSION in
				[12].*)
					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6

echo "${as_me:-configure}:4823: testing feature is broken in gcc $GCC_VERSION ..." 1>&5

					continue;;
				esac
				;;
			esac
			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
		fi
	done
	CFLAGS="$cf_save_CFLAGS"
fi
rm -rf conftest*

fi
fi

# Check whether --with-package or --without-package was given.
if test "${with_package+set}" = set; then
  withval="$with_package"
  PACKAGE=$withval
else
  PACKAGE=dialog
fi;

if test -f $srcdir/VERSION ; then
	echo "$as_me:4848: checking for package version" >&5
echo $ECHO_N "checking for package version... $ECHO_C" >&6

	# if there are not enough fields, cut returns the last one...
	cf_field1=`sed -e '2,$d' $srcdir/VERSION|cut -f1`
	cf_field2=`sed -e '2,$d' $srcdir/VERSION|cut -f2`
	cf_field3=`sed -e '2,$d' $srcdir/VERSION|cut -f3`

	# this is how CF_BUNDLED_INTL uses $VERSION:
	VERSION="$cf_field1"

	VERSION_MAJOR=`echo "$cf_field2" | sed -e 's/\..*//'`
	test -z "$VERSION_MAJOR" && { { echo "$as_me:4860: error: missing major-version" >&5
echo "$as_me: error: missing major-version" >&2;}
   { (exit 1); exit 1; }; }

	VERSION_MINOR=`echo "$cf_field2" | sed -e 's/^[^.]*\.//' -e 's/-.*//'`
	test -z "$VERSION_MINOR" && { { echo "$as_me:4865: error: missing minor-version" >&5
echo "$as_me: error: missing minor-version" >&2;}
   { (exit 1); exit 1; }; }

	echo "$as_me:4869: result: ${VERSION_MAJOR}.${VERSION_MINOR}" >&5
echo "${ECHO_T}${VERSION_MAJOR}.${VERSION_MINOR}" >&6

	echo "$as_me:4872: checking for package patch date" >&5
echo $ECHO_N "checking for package patch date... $ECHO_C" >&6
	VERSION_PATCH=`echo "$cf_field3" | sed -e 's/^[^-]*-//'`
	case .$VERSION_PATCH in
	.)
		{ { echo "$as_me:4877: error: missing patch-date $VERSION_PATCH" >&5
echo "$as_me: error: missing patch-date $VERSION_PATCH" >&2;}
   { (exit 1); exit 1; }; }
		;;
	.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])
		;;
	*)
		{ { echo "$as_me:4884: error: illegal patch-date $VERSION_PATCH" >&5
echo "$as_me: error: illegal patch-date $VERSION_PATCH" >&2;}
   { (exit 1); exit 1; }; }
		;;
	esac
	echo "$as_me:4889: result: $VERSION_PATCH" >&5
echo "${ECHO_T}$VERSION_PATCH" >&6
else
	{ { echo "$as_me:4892: error: did not find $srcdir/VERSION" >&5
echo "$as_me: error: did not find $srcdir/VERSION" >&2;}
   { (exit 1); exit 1; }; }
fi

# show the actual data that we have for versions:
test -n "$verbose" && echo "	VERSION $VERSION" 1>&6

echo "${as_me:-configure}:4900: testing VERSION $VERSION ..." 1>&5

test -n "$verbose" && echo "	VERSION_MAJOR $VERSION_MAJOR" 1>&6

echo "${as_me:-configure}:4904: testing VERSION_MAJOR $VERSION_MAJOR ..." 1>&5

test -n "$verbose" && echo "	VERSION_MINOR $VERSION_MINOR" 1>&6

echo "${as_me:-configure}:4908: testing VERSION_MINOR $VERSION_MINOR ..." 1>&5

test -n "$verbose" && echo "	VERSION_PATCH $VERSION_PATCH" 1>&6

echo "${as_me:-configure}:4912: testing VERSION_PATCH $VERSION_PATCH ..." 1>&5

	cf_PACKAGE=dialog
	PACKAGE=$PACKAGE

cat >>confdefs.h <<EOF
#define PACKAGE "$PACKAGE"
EOF

cf_PACKAGE=`echo "$cf_PACKAGE" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

	cat >>confdefs.h <<EOF
#define ${cf_PACKAGE}_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}"
EOF

	cat >>confdefs.h <<EOF
#define ${cf_PACKAGE}_PATCHDATE ${VERSION_PATCH}
EOF

# Check whether --enable-header-subdir or --disable-header-subdir was given.
if test "${enable_header_subdir+set}" = set; then
  enableval="$enable_header_subdir"
  SUB_INC=$enableval
else
  SUB_INC=no
fi;

EXTRAOBJS=""

echo "$as_me:4941: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 4947 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>

_ACEOF
if { (eval echo "$as_me:4955: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:4961: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_cv_header_stdc=yes
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_header_stdc=no
fi
rm -f conftest.err conftest.$ac_ext

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line 4983 "configure"
#include "confdefs.h"
#include <string.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -rf conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line 5001 "configure"
#include "confdefs.h"
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -rf conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5022 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
                     || ('j' <= (c) && (c) <= 'r') \
                     || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
        || toupper (i) != TOUPPER (i))
      $ac_main_return(2);
  $ac_main_return (0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:5048: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5051: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:5053: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5056: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_header_stdc=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
echo "$as_me:5069: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then

cat >>confdefs.h <<\EOF
#define STDC_HEADERS 1
EOF

fi

echo "$as_me:5079: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
  cat >conftest.$ac_ext <<_ACEOF
#line 5087 "configure"
#include "confdefs.h"
#ifndef __cplusplus
static $ac_kw int static_foo () {return 0; }
$ac_kw int foo () {return 0; }
#endif

_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:5096: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:5099: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:5102: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5105: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_inline=$ac_kw; break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
done

fi
echo "$as_me:5116: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6
case $ac_cv_c_inline in
  inline | yes) ;;
  no)
cat >>confdefs.h <<\EOF
#define inline
EOF
 ;;
  *)  cat >>confdefs.h <<EOF
#define inline $ac_cv_c_inline
EOF
 ;;
esac

# On IRIX 5.3, sys/types and inttypes.h are conflicting.

for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                  inttypes.h stdint.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:5137: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5143 "configure"
#include "confdefs.h"
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:5149: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:5152: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:5155: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5158: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_Header=no"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:5168: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

echo "$as_me:5178: checking for off_t" >&5
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
if test "${ac_cv_type_off_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5184 "configure"
#include "confdefs.h"
$ac_includes_default
int
main ()
{
if ((off_t *) 0)
  return 0;
if (sizeof (off_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:5199: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:5202: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:5205: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5208: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_off_t=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_type_off_t=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:5218: result: $ac_cv_type_off_t" >&5
echo "${ECHO_T}$ac_cv_type_off_t" >&6
if test $ac_cv_type_off_t = yes; then
  :
else

cat >>confdefs.h <<EOF
#define off_t long
EOF

fi

echo "$as_me:5230: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5236 "configure"
#include "confdefs.h"
$ac_includes_default
int
main ()
{
if ((size_t *) 0)
  return 0;
if (sizeof (size_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:5251: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:5254: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:5257: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5260: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_size_t=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_type_size_t=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:5270: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
  :
else

cat >>confdefs.h <<EOF
#define size_t unsigned
EOF

fi

# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments.  Useless!
echo "$as_me:5284: checking for working alloca.h" >&5
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
if test "${ac_cv_working_alloca_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5290 "configure"
#include "confdefs.h"
#include <alloca.h>
int
main ()
{
char *p = (char *) alloca (2 * sizeof (int));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:5302: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5305: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:5308: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5311: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_working_alloca_h=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_working_alloca_h=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:5321: result: $ac_cv_working_alloca_h" >&5
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
if test $ac_cv_working_alloca_h = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_ALLOCA_H 1
EOF

fi

echo "$as_me:5331: checking for alloca" >&5
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
if test "${ac_cv_func_alloca_works+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5337 "configure"
#include "confdefs.h"
#ifdef __GNUC__
# define alloca __builtin_alloca
#else
# ifdef _MSC_VER
#  include <malloc.h>
#  define alloca _alloca
# else
#  if HAVE_ALLOCA_H
#   include <alloca.h>
#  else
#   ifdef _AIX
 #pragma alloca
#   else
#    ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
#    endif
#   endif
#  endif
# endif
#endif

int
main ()
{
char *p = (char *) alloca (1);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:5369: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5372: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:5375: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5378: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_alloca_works=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_alloca_works=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:5388: result: $ac_cv_func_alloca_works" >&5
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6

if test $ac_cv_func_alloca_works = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_ALLOCA 1
EOF

else
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
# that cause trouble.  Some versions do not even contain alloca or
# contain a buggy version.  If you still want to use their alloca,
# use ar to extract alloca.o from them instead of compiling alloca.c.

ALLOCA=alloca.$ac_objext

cat >>confdefs.h <<\EOF
#define C_ALLOCA 1
EOF

echo "$as_me:5409: checking whether \`alloca.c' needs Cray hooks" >&5
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
if test "${ac_cv_os_cray+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5415 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
#else
wenotbecray
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "webecray" >/dev/null 2>&1; then
  ac_cv_os_cray=yes
else
  ac_cv_os_cray=no
fi
rm -rf conftest*

fi
echo "$as_me:5433: result: $ac_cv_os_cray" >&5
echo "${ECHO_T}$ac_cv_os_cray" >&6
if test $ac_cv_os_cray = yes; then
  for ac_func in _getb67 GETB67 getb67; do
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:5438: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5444 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:5475: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5478: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:5481: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5484: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:5494: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then

cat >>confdefs.h <<EOF
#define CRAY_STACKSEG_END $ac_func
EOF

    break
fi

  done
fi

echo "$as_me:5508: checking stack direction for C alloca" >&5
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
if test "${ac_cv_c_stack_direction+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_c_stack_direction=0
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5517 "configure"
#include "confdefs.h"
int
find_stack_direction ()
{
  static char *addr = 0;
  auto char dummy;
  if (addr == 0)
    {
      addr = &dummy;
      return find_stack_direction ();
    }
  else
    return (&dummy > addr) ? 1 : -1;
}

int
main ()
{
  $ac_main_return (find_stack_direction () < 0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:5540: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5543: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:5545: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5548: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_stack_direction=1
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_c_stack_direction=-1
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
echo "$as_me:5560: result: $ac_cv_c_stack_direction" >&5
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6

cat >>confdefs.h <<EOF
#define STACK_DIRECTION $ac_cv_c_stack_direction
EOF

fi

for ac_header in stdlib.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:5572: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5578 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:5582: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:5588: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:5607: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

for ac_func in getpagesize
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:5620: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5626 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:5657: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5660: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:5663: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5666: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:5676: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
EOF

fi
done

echo "$as_me:5686: checking for working mmap" >&5
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_func_mmap_fixed_mapped=no
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5695 "configure"
#include "confdefs.h"
$ac_includes_default
/* Thanks to Mike Haertel and Jim Avera for this test.
   Here is a matrix of mmap possibilities:
	mmap private not fixed
	mmap private fixed at somewhere currently unmapped
	mmap private fixed at somewhere already mapped
	mmap shared not fixed
	mmap shared fixed at somewhere currently unmapped
	mmap shared fixed at somewhere already mapped
   For private mappings, we should verify that changes cannot be read()
   back from the file, nor mmap's back from the file at a different
   address.  (There have been systems where private was not correctly
   implemented like the infamous i386 svr4.0, and systems where the
   VM page cache was not coherent with the file system buffer cache
   like early versions of FreeBSD and possibly contemporary NetBSD.)
   For shared mappings, we should conversely verify that changes get
   propogated back to all the places they're supposed to be.

   Grep wants private fixed already mapped.
   The main things grep needs to know about mmap are:
   * does it exist and is it safe to write into the mmap'd area
   * how to use it (BSD variants)  */

#include <fcntl.h>
#include <sys/mman.h>

#if !STDC_HEADERS && !HAVE_STDLIB_H
char *malloc ();
#endif

/* This mess was copied from the GNU getpagesize.h.  */
#if !HAVE_GETPAGESIZE
/* Assume that all systems that can run configure have sys/param.h.  */
# if !HAVE_SYS_PARAM_H
#  define HAVE_SYS_PARAM_H 1
# endif

# ifdef _SC_PAGESIZE
#  define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
#  if HAVE_SYS_PARAM_H
#   include <sys/param.h>
#   ifdef EXEC_PAGESIZE
#    define getpagesize() EXEC_PAGESIZE
#   else /* no EXEC_PAGESIZE */
#    ifdef NBPG
#     define getpagesize() NBPG * CLSIZE
#     ifndef CLSIZE
#      define CLSIZE 1
#     endif /* no CLSIZE */
#    else /* no NBPG */
#     ifdef NBPC
#      define getpagesize() NBPC
#     else /* no NBPC */
#      ifdef PAGESIZE
#       define getpagesize() PAGESIZE
#      endif /* PAGESIZE */
#     endif /* no NBPC */
#    endif /* no NBPG */
#   endif /* no EXEC_PAGESIZE */
#  else /* no HAVE_SYS_PARAM_H */
#   define getpagesize() 8192	/* punt totally */
#  endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */

#endif /* no HAVE_GETPAGESIZE */

int
main ()
{
  char *data, *data2, *data3;
  int i, pagesize;
  int fd;

  pagesize = getpagesize ();

  /* First, make a file with some known garbage in it. */
  data = (char *) malloc (pagesize);
  if (!data)
    $ac_main_return (1);
  for (i = 0; i < pagesize; ++i)
    *(data + i) = rand ();
  umask (0);
  fd = creat ("conftest.mmap", 0600);
  if (fd < 0)
    $ac_main_return (1);
  if (write (fd, data, pagesize) != pagesize)
    $ac_main_return (1);
  close (fd);

  /* Next, try to mmap the file at a fixed address which already has
     something else allocated at it.  If we can, also make sure that
     we see the same garbage.  */
  fd = open ("conftest.mmap", O_RDWR);
  if (fd < 0)
    $ac_main_return (1);
  data2 = (char *) malloc (2 * pagesize);
  if (!data2)
    $ac_main_return (1);
  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
    $ac_main_return (1);
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data2 + i))
      $ac_main_return (1);

  /* Finally, make sure that changes to the mapped area do not
     percolate back to the file as seen by read().  (This is a bug on
     some variants of i386 svr4.0.)  */
  for (i = 0; i < pagesize; ++i)
    *(data2 + i) = *(data2 + i) + 1;
  data3 = (char *) malloc (pagesize);
  if (!data3)
    $ac_main_return (1);
  if (read (fd, data3, pagesize) != pagesize)
    $ac_main_return (1);
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data3 + i))
      $ac_main_return (1);
  close (fd);
  $ac_main_return (0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:5822: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5825: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:5827: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:5830: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_mmap_fixed_mapped=yes
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_mmap_fixed_mapped=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
echo "$as_me:5842: result: $ac_cv_func_mmap_fixed_mapped" >&5
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
if test $ac_cv_func_mmap_fixed_mapped = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_MMAP 1
EOF

fi
rm -f conftest.mmap

    echo "$as_me:5853: checking whether we are using the GNU C Library 2.1 or newer" >&5
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
if test "${ac_cv_gnu_library_2_1+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5859 "configure"
#include "confdefs.h"

#include <features.h>
#ifdef __GNU_LIBRARY__
 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  Lucky GNU user
 #endif
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "Lucky GNU user" >/dev/null 2>&1; then
  ac_cv_gnu_library_2_1=yes
else
  ac_cv_gnu_library_2_1=no
fi
rm -rf conftest*

fi
echo "$as_me:5879: result: $ac_cv_gnu_library_2_1" >&5
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6

    GLIBC21="$ac_cv_gnu_library_2_1"

cf_makefile=makefile

test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'`

# Allow override of "config.h" definition:
: ${CONFIG_H:=config.h}

if test -z "$PACKAGE" ; then
	{ { echo "$as_me:5892: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&5
echo "$as_me: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&2;}
   { (exit 1); exit 1; }; }
fi

if test -z "$VERSION" ; then
if test -f $srcdir/VERSION ; then
	VERSION=`sed -e '2,$d' $srcdir/VERSION|cut -f1`
else
	VERSION=unknown
fi
fi

for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
stdlib.h string.h unistd.h sys/param.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:5909: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5915 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:5919: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:5925: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:5944: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
strdup strtoul tsearch __argz_count __argz_stringify __argz_next
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:5959: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 5965 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:5996: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:5999: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:6002: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6005: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:6015: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
EOF

fi
done

# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
if test "${with_libiconv_prefix+set}" = set; then
  withval="$with_libiconv_prefix"

  case "$withval" in #(vi
  no) #(vi
      ;;
  yes) #(vi
      ;;
  *)

for cf_searchpath in `echo "$withval" | tr $PATH_SEPARATOR ' '`; do
	if test -d $cf_searchpath/include; then

if test -n "$cf_searchpath/include" ; then
  for cf_add_incdir in $cf_searchpath/include
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 6063 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:6075: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:6078: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:6081: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6084: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:6101: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

	elif test -d $cf_searchpath/../include ; then

if test -n "$cf_searchpath/../include" ; then
  for cf_add_incdir in $cf_searchpath/../include
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 6142 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:6154: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:6157: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:6160: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6163: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:6180: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

	else
{ { echo "$as_me:6196: error: cannot find libiconv under $withval" >&5
echo "$as_me: error: cannot find libiconv under $withval" >&2;}
   { (exit 1); exit 1; }; }
	fi
	if test -d $cf_searchpath/lib; then

if test -n "$cf_searchpath/lib" ; then
  for cf_add_libdir in $cf_searchpath/lib
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:6221: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

	elif test -d $cf_searchpath ; then

if test -n "$cf_searchpath" ; then
  for cf_add_libdir in $cf_searchpath
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:6250: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

	else
{ { echo "$as_me:6259: error: cannot find libiconv under $withval" >&5
echo "$as_me: error: cannot find libiconv under $withval" >&2;}
   { (exit 1); exit 1; }; }
	fi
done

      ;;
  esac

fi;

  echo "$as_me:6270: checking for iconv" >&5
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
if test "${am_cv_func_iconv+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

# If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these
# will be set on completion of the AC_TRY_LINK below.
cf_cv_header_path_iconv=
cf_cv_library_path_iconv=

echo "${as_me:-configure}:6281: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5

cf_save_LIBS="$LIBS"

cat >conftest.$ac_ext <<_ACEOF
#line 6286 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:6305: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:6308: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:6311: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6314: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_find_linkage_iconv=yes
	cf_cv_header_path_iconv=/usr/include
	cf_cv_library_path_iconv=/usr/lib

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

LIBS="-liconv  $cf_save_LIBS"

cat >conftest.$ac_ext <<_ACEOF
#line 6328 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:6347: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:6350: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:6353: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6356: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_find_linkage_iconv=yes
	cf_cv_header_path_iconv=/usr/include
	cf_cv_library_path_iconv=/usr/lib
	cf_cv_library_file_iconv="-liconv"

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

	cf_cv_find_linkage_iconv=no
	LIBS="$cf_save_LIBS"

    test -n "$verbose" && echo "	find linkage for iconv library" 1>&6

echo "${as_me:-configure}:6373: testing find linkage for iconv library ..." 1>&5

echo "${as_me:-configure}:6375: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5

    cf_save_CPPFLAGS="$CPPFLAGS"
    cf_test_CPPFLAGS="$CPPFLAGS"

cf_search=

# collect the current set of include-directories from compiler flags
cf_header_path_list=""
if test -n "${CFLAGS}${CPPFLAGS}" ; then
	for cf_header_path in $CPPFLAGS $CFLAGS
	do
		case $cf_header_path in #(vi
		-I*)
			cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'`

test "$cf_header_path" != "NONE" && \
test -d "$cf_header_path" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $cf_header_path"
	test -d $cf_header_path/include &&          cf_search="$cf_search $cf_header_path/include"
	test -d $cf_header_path/include/iconv &&       cf_search="$cf_search $cf_header_path/include/iconv"
	test -d $cf_header_path/include/iconv/include &&    cf_search="$cf_search $cf_header_path/include/iconv/include"
	test -d $cf_header_path/iconv/include &&       cf_search="$cf_search $cf_header_path/iconv/include"
	test -d $cf_header_path/iconv/include/iconv &&    cf_search="$cf_search $cf_header_path/iconv/include/iconv"
}

			cf_header_path_list="$cf_header_path_list $cf_search"
			;;
		esac
	done
fi

# add the variations for the package we are looking for

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr"
	test -d /usr/include &&          cf_search="$cf_search /usr/include"
	test -d /usr/include/iconv &&       cf_search="$cf_search /usr/include/iconv"
	test -d /usr/include/iconv/include &&    cf_search="$cf_search /usr/include/iconv/include"
	test -d /usr/iconv/include &&       cf_search="$cf_search /usr/iconv/include"
	test -d /usr/iconv/include/iconv &&    cf_search="$cf_search /usr/iconv/include/iconv"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $prefix"
	test -d $prefix/include &&          cf_search="$cf_search $prefix/include"
	test -d $prefix/include/iconv &&       cf_search="$cf_search $prefix/include/iconv"
	test -d $prefix/include/iconv/include &&    cf_search="$cf_search $prefix/include/iconv/include"
	test -d $prefix/iconv/include &&       cf_search="$cf_search $prefix/iconv/include"
	test -d $prefix/iconv/include/iconv &&    cf_search="$cf_search $prefix/iconv/include/iconv"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr/local"
	test -d /usr/local/include &&          cf_search="$cf_search /usr/local/include"
	test -d /usr/local/include/iconv &&       cf_search="$cf_search /usr/local/include/iconv"
	test -d /usr/local/include/iconv/include &&    cf_search="$cf_search /usr/local/include/iconv/include"
	test -d /usr/local/iconv/include &&       cf_search="$cf_search /usr/local/iconv/include"
	test -d /usr/local/iconv/include/iconv &&    cf_search="$cf_search /usr/local/iconv/include/iconv"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /opt"
	test -d /opt/include &&          cf_search="$cf_search /opt/include"
	test -d /opt/include/iconv &&       cf_search="$cf_search /opt/include/iconv"
	test -d /opt/include/iconv/include &&    cf_search="$cf_search /opt/include/iconv/include"
	test -d /opt/iconv/include &&       cf_search="$cf_search /opt/iconv/include"
	test -d /opt/iconv/include/iconv &&    cf_search="$cf_search /opt/iconv/include/iconv"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under $HOME"
	test -d $HOME/include &&          cf_search="$cf_search $HOME/include"
	test -d $HOME/include/iconv &&       cf_search="$cf_search $HOME/include/iconv"
	test -d $HOME/include/iconv/include &&    cf_search="$cf_search $HOME/include/iconv/include"
	test -d $HOME/iconv/include &&       cf_search="$cf_search $HOME/iconv/include"
	test -d $HOME/iconv/include/iconv &&    cf_search="$cf_search $HOME/iconv/include/iconv"
}

test "$includedir" != NONE && \
test "$includedir" != "/usr/include" && \
test -d "$includedir" && {
	test -d $includedir &&    cf_search="$cf_search $includedir"
	test -d $includedir/iconv && cf_search="$cf_search $includedir/iconv"
}

test "$oldincludedir" != NONE && \
test "$oldincludedir" != "/usr/include" && \
test -d "$oldincludedir" && {
	test -d $oldincludedir    && cf_search="$cf_search $oldincludedir"
	test -d $oldincludedir/iconv && cf_search="$cf_search $oldincludedir/iconv"
}

cf_search="$cf_search $cf_header_path_list"

    for cf_cv_header_path_iconv in $cf_search
    do
      if test -d $cf_cv_header_path_iconv ; then
        test -n "$verbose" && echo "	... testing $cf_cv_header_path_iconv" 1>&6

echo "${as_me:-configure}:6488: testing ... testing $cf_cv_header_path_iconv ..." 1>&5

        CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_iconv"
        cat >conftest.$ac_ext <<_ACEOF
#line 6492 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:6511: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:6514: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:6517: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6520: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

            test -n "$verbose" && echo "	... found iconv headers in $cf_cv_header_path_iconv" 1>&6

echo "${as_me:-configure}:6525: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5

            cf_cv_find_linkage_iconv=maybe
            cf_test_CPPFLAGS="$CPPFLAGS"
            break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

            CPPFLAGS="$cf_save_CPPFLAGS"

fi
rm -f conftest.$ac_objext conftest.$ac_ext
      fi
    done

    if test "$cf_cv_find_linkage_iconv" = maybe ; then

echo "${as_me:-configure}:6543: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5

      cf_save_LIBS="$LIBS"
      cf_save_LDFLAGS="$LDFLAGS"

      if test "$cf_cv_find_linkage_iconv" != yes ; then

cf_search=
cf_library_path_list=""
if test -n "${LDFLAGS}${LIBS}" ; then
	for cf_library_path in $LDFLAGS $LIBS
	do
		case $cf_library_path in #(vi
		-L*)
			cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'`

test "$cf_library_path" != "NONE" && \
test -d "$cf_library_path" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $cf_library_path"
	test -d $cf_library_path/lib &&          cf_search="$cf_search $cf_library_path/lib"
	test -d $cf_library_path/lib/iconv &&       cf_search="$cf_search $cf_library_path/lib/iconv"
	test -d $cf_library_path/lib/iconv/lib &&    cf_search="$cf_search $cf_library_path/lib/iconv/lib"
	test -d $cf_library_path/iconv/lib &&       cf_search="$cf_search $cf_library_path/iconv/lib"
	test -d $cf_library_path/iconv/lib/iconv &&    cf_search="$cf_search $cf_library_path/iconv/lib/iconv"
}

			cf_library_path_list="$cf_library_path_list $cf_search"
			;;
		esac
	done
fi

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr"
	test -d /usr/lib &&          cf_search="$cf_search /usr/lib"
	test -d /usr/lib/iconv &&       cf_search="$cf_search /usr/lib/iconv"
	test -d /usr/lib/iconv/lib &&    cf_search="$cf_search /usr/lib/iconv/lib"
	test -d /usr/iconv/lib &&       cf_search="$cf_search /usr/iconv/lib"
	test -d /usr/iconv/lib/iconv &&    cf_search="$cf_search /usr/iconv/lib/iconv"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $prefix"
	test -d $prefix/lib &&          cf_search="$cf_search $prefix/lib"
	test -d $prefix/lib/iconv &&       cf_search="$cf_search $prefix/lib/iconv"
	test -d $prefix/lib/iconv/lib &&    cf_search="$cf_search $prefix/lib/iconv/lib"
	test -d $prefix/iconv/lib &&       cf_search="$cf_search $prefix/iconv/lib"
	test -d $prefix/iconv/lib/iconv &&    cf_search="$cf_search $prefix/iconv/lib/iconv"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr/local"
	test -d /usr/local/lib &&          cf_search="$cf_search /usr/local/lib"
	test -d /usr/local/lib/iconv &&       cf_search="$cf_search /usr/local/lib/iconv"
	test -d /usr/local/lib/iconv/lib &&    cf_search="$cf_search /usr/local/lib/iconv/lib"
	test -d /usr/local/iconv/lib &&       cf_search="$cf_search /usr/local/iconv/lib"
	test -d /usr/local/iconv/lib/iconv &&    cf_search="$cf_search /usr/local/iconv/lib/iconv"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /opt"
	test -d /opt/lib &&          cf_search="$cf_search /opt/lib"
	test -d /opt/lib/iconv &&       cf_search="$cf_search /opt/lib/iconv"
	test -d /opt/lib/iconv/lib &&    cf_search="$cf_search /opt/lib/iconv/lib"
	test -d /opt/iconv/lib &&       cf_search="$cf_search /opt/iconv/lib"
	test -d /opt/iconv/lib/iconv &&    cf_search="$cf_search /opt/iconv/lib/iconv"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under $HOME"
	test -d $HOME/lib &&          cf_search="$cf_search $HOME/lib"
	test -d $HOME/lib/iconv &&       cf_search="$cf_search $HOME/lib/iconv"
	test -d $HOME/lib/iconv/lib &&    cf_search="$cf_search $HOME/lib/iconv/lib"
	test -d $HOME/iconv/lib &&       cf_search="$cf_search $HOME/iconv/lib"
	test -d $HOME/iconv/lib/iconv &&    cf_search="$cf_search $HOME/iconv/lib/iconv"
}

cf_search="$cf_library_path_list $cf_search"

        for cf_cv_library_path_iconv in $cf_search
        do
          if test -d $cf_cv_library_path_iconv ; then
            test -n "$verbose" && echo "	... testing $cf_cv_library_path_iconv" 1>&6

echo "${as_me:-configure}:6640: testing ... testing $cf_cv_library_path_iconv ..." 1>&5

            CPPFLAGS="$cf_test_CPPFLAGS"
            LIBS="-liconv  $cf_save_LIBS"
            LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_iconv"
            cat >conftest.$ac_ext <<_ACEOF
#line 6646 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int
main ()
{

	iconv_t cd = iconv_open("","");
	iconv(cd,NULL,NULL,NULL,NULL);
	iconv_close(cd);

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:6665: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:6668: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:6671: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6674: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

                test -n "$verbose" && echo "	... found iconv library in $cf_cv_library_path_iconv" 1>&6

echo "${as_me:-configure}:6679: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5

                cf_cv_find_linkage_iconv=yes
                cf_cv_library_file_iconv="-liconv"
                break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

                CPPFLAGS="$cf_save_CPPFLAGS"
                LIBS="$cf_save_LIBS"
                LDFLAGS="$cf_save_LDFLAGS"

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
          fi
        done
        CPPFLAGS="$cf_save_CPPFLAGS"
        LDFLAGS="$cf_save_LDFLAGS"
      fi

    else
      cf_cv_find_linkage_iconv=no
    fi

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

LIBS="$cf_save_LIBS"

if test "$cf_cv_find_linkage_iconv" = yes ; then
am_cv_func_iconv=yes
else
am_cv_func_iconv="no, consider installing GNU libiconv"
fi

fi
echo "$as_me:6719: result: $am_cv_func_iconv" >&5
echo "${ECHO_T}$am_cv_func_iconv" >&6

  if test "$am_cv_func_iconv" = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_ICONV 1
EOF

    echo "$as_me:6728: checking if the declaration of iconv() needs const." >&5
echo $ECHO_N "checking if the declaration of iconv() needs const.... $ECHO_C" >&6
if test "${am_cv_proto_iconv_const+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

      cat >conftest.$ac_ext <<_ACEOF
#line 6735 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

extern
#ifdef __cplusplus
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
#else
size_t iconv();
#endif

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:6760: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:6763: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:6766: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6769: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_proto_iconv_const=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
am_cv_proto_iconv_const=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:6779: result: $am_cv_proto_iconv_const" >&5
echo "${ECHO_T}$am_cv_proto_iconv_const" >&6

    if test "$am_cv_proto_iconv_const" = yes ; then
      am_cv_proto_iconv_arg1="const"
    else
      am_cv_proto_iconv_arg1=""
    fi

cat >>confdefs.h <<EOF
#define ICONV_CONST $am_cv_proto_iconv_arg1
EOF

  fi

  LIBICONV=
  if test "$cf_cv_find_linkage_iconv" = yes; then

if test -n "$cf_cv_header_path_iconv" ; then
  for cf_add_incdir in $cf_cv_header_path_iconv
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 6821 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:6833: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:6836: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:6839: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6842: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:6859: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

    if test -n "$cf_cv_library_file_iconv" ; then
      LIBICONV="-liconv"

if test -n "$cf_cv_library_path_iconv" ; then
  for cf_add_libdir in $cf_cv_library_path_iconv
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:6896: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

    fi
  fi

  echo "$as_me:6907: checking for nl_langinfo and CODESET" >&5
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
if test "${am_cv_langinfo_codeset+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 6913 "configure"
#include "confdefs.h"
#include <langinfo.h>
int
main ()
{
char* cs = nl_langinfo(CODESET);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:6925: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:6928: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:6931: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6934: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_langinfo_codeset=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
am_cv_langinfo_codeset=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

fi
echo "$as_me:6945: result: $am_cv_langinfo_codeset" >&5
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
  if test $am_cv_langinfo_codeset = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_LANGINFO_CODESET 1
EOF

  fi

   if test $ac_cv_header_locale_h = yes; then
    echo "$as_me:6956: checking for LC_MESSAGES" >&5
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 6962 "configure"
#include "confdefs.h"
#include <locale.h>
int
main ()
{
return LC_MESSAGES
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:6974: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:6977: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:6980: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:6983: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_val_LC_MESSAGES=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
am_cv_val_LC_MESSAGES=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:6993: result: $am_cv_val_LC_MESSAGES" >&5
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
    if test $am_cv_val_LC_MESSAGES = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_LC_MESSAGES 1
EOF

    fi
  fi
   echo "$as_me:7003: checking whether NLS is requested" >&5
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6

# Check whether --enable-nls or --disable-nls was given.
if test "${enable_nls+set}" = set; then
  enableval="$enable_nls"
  USE_NLS=$enableval
else
  USE_NLS=no
fi;
  echo "$as_me:7013: result: $USE_NLS" >&5
echo "${ECHO_T}$USE_NLS" >&6

  BUILD_INCLUDED_LIBINTL=no
  USE_INCLUDED_LIBINTL=no
  INTLLIBS=

    if test "$USE_NLS" = "yes"; then

cat >>confdefs.h <<\EOF
#define ENABLE_NLS 1
EOF

    echo "$as_me:7026: checking whether included gettext is requested" >&5
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6

# Check whether --with-included-gettext or --without-included-gettext was given.
if test "${with_included_gettext+set}" = set; then
  withval="$with_included_gettext"
  nls_cv_force_use_gnu_gettext=$withval
else
  nls_cv_force_use_gnu_gettext=no
fi;
    echo "$as_me:7036: result: $nls_cv_force_use_gnu_gettext" >&5
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6

    nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
    if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
                        CATOBJEXT=NONE

      cf_save_LIBS_1="$LIBS"
      LIBS="$LIBICONV $LIBS"
      echo "$as_me:7045: checking for libintl.h and gettext()" >&5
echo $ECHO_N "checking for libintl.h and gettext()... $ECHO_C" >&6
if test "${cf_cv_func_gettext+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

# If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these
# will be set on completion of the AC_TRY_LINK below.
cf_cv_header_path_intl=
cf_cv_library_path_intl=

echo "${as_me:-configure}:7056: testing Starting FIND_LINKAGE(intl,) ..." 1>&5

cf_save_LIBS="$LIBS"

cat >conftest.$ac_ext <<_ACEOF
#line 7061 "configure"
#include "confdefs.h"

#include <libintl.h>
extern int _nl_msg_cat_cntr;

int
main ()
{

    bindtextdomain ("", "");
    return (int) gettext ("")

             + _nl_msg_cat_cntr

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7081: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:7084: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:7087: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:7090: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_find_linkage_intl=yes
	cf_cv_header_path_intl=/usr/include
	cf_cv_library_path_intl=/usr/lib

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

LIBS="-lintl  $cf_save_LIBS"

cat >conftest.$ac_ext <<_ACEOF
#line 7104 "configure"
#include "confdefs.h"

#include <libintl.h>
extern int _nl_msg_cat_cntr;

int
main ()
{

    bindtextdomain ("", "");
    return (int) gettext ("")

             + _nl_msg_cat_cntr

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7124: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:7127: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:7130: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:7133: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_find_linkage_intl=yes
	cf_cv_header_path_intl=/usr/include
	cf_cv_library_path_intl=/usr/lib
	cf_cv_library_file_intl="-lintl"

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

	cf_cv_find_linkage_intl=no
	LIBS="$cf_save_LIBS"

    test -n "$verbose" && echo "	find linkage for intl library" 1>&6

echo "${as_me:-configure}:7150: testing find linkage for intl library ..." 1>&5

echo "${as_me:-configure}:7152: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5

    cf_save_CPPFLAGS="$CPPFLAGS"
    cf_test_CPPFLAGS="$CPPFLAGS"

cf_search=

# collect the current set of include-directories from compiler flags
cf_header_path_list=""
if test -n "${CFLAGS}${CPPFLAGS}" ; then
	for cf_header_path in $CPPFLAGS $CFLAGS
	do
		case $cf_header_path in #(vi
		-I*)
			cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'`

test "$cf_header_path" != "NONE" && \
test -d "$cf_header_path" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $cf_header_path"
	test -d $cf_header_path/include &&          cf_search="$cf_search $cf_header_path/include"
	test -d $cf_header_path/include/intl &&       cf_search="$cf_search $cf_header_path/include/intl"
	test -d $cf_header_path/include/intl/include &&    cf_search="$cf_search $cf_header_path/include/intl/include"
	test -d $cf_header_path/intl/include &&       cf_search="$cf_search $cf_header_path/intl/include"
	test -d $cf_header_path/intl/include/intl &&    cf_search="$cf_search $cf_header_path/intl/include/intl"
}

			cf_header_path_list="$cf_header_path_list $cf_search"
			;;
		esac
	done
fi

# add the variations for the package we are looking for

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr"
	test -d /usr/include &&          cf_search="$cf_search /usr/include"
	test -d /usr/include/intl &&       cf_search="$cf_search /usr/include/intl"
	test -d /usr/include/intl/include &&    cf_search="$cf_search /usr/include/intl/include"
	test -d /usr/intl/include &&       cf_search="$cf_search /usr/intl/include"
	test -d /usr/intl/include/intl &&    cf_search="$cf_search /usr/intl/include/intl"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $prefix"
	test -d $prefix/include &&          cf_search="$cf_search $prefix/include"
	test -d $prefix/include/intl &&       cf_search="$cf_search $prefix/include/intl"
	test -d $prefix/include/intl/include &&    cf_search="$cf_search $prefix/include/intl/include"
	test -d $prefix/intl/include &&       cf_search="$cf_search $prefix/intl/include"
	test -d $prefix/intl/include/intl &&    cf_search="$cf_search $prefix/intl/include/intl"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr/local"
	test -d /usr/local/include &&          cf_search="$cf_search /usr/local/include"
	test -d /usr/local/include/intl &&       cf_search="$cf_search /usr/local/include/intl"
	test -d /usr/local/include/intl/include &&    cf_search="$cf_search /usr/local/include/intl/include"
	test -d /usr/local/intl/include &&       cf_search="$cf_search /usr/local/intl/include"
	test -d /usr/local/intl/include/intl &&    cf_search="$cf_search /usr/local/intl/include/intl"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /opt"
	test -d /opt/include &&          cf_search="$cf_search /opt/include"
	test -d /opt/include/intl &&       cf_search="$cf_search /opt/include/intl"
	test -d /opt/include/intl/include &&    cf_search="$cf_search /opt/include/intl/include"
	test -d /opt/intl/include &&       cf_search="$cf_search /opt/intl/include"
	test -d /opt/intl/include/intl &&    cf_search="$cf_search /opt/intl/include/intl"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under $HOME"
	test -d $HOME/include &&          cf_search="$cf_search $HOME/include"
	test -d $HOME/include/intl &&       cf_search="$cf_search $HOME/include/intl"
	test -d $HOME/include/intl/include &&    cf_search="$cf_search $HOME/include/intl/include"
	test -d $HOME/intl/include &&       cf_search="$cf_search $HOME/intl/include"
	test -d $HOME/intl/include/intl &&    cf_search="$cf_search $HOME/intl/include/intl"
}

test "$includedir" != NONE && \
test "$includedir" != "/usr/include" && \
test -d "$includedir" && {
	test -d $includedir &&    cf_search="$cf_search $includedir"
	test -d $includedir/intl && cf_search="$cf_search $includedir/intl"
}

test "$oldincludedir" != NONE && \
test "$oldincludedir" != "/usr/include" && \
test -d "$oldincludedir" && {
	test -d $oldincludedir    && cf_search="$cf_search $oldincludedir"
	test -d $oldincludedir/intl && cf_search="$cf_search $oldincludedir/intl"
}

cf_search="$cf_search $cf_header_path_list"

    for cf_cv_header_path_intl in $cf_search
    do
      if test -d $cf_cv_header_path_intl ; then
        test -n "$verbose" && echo "	... testing $cf_cv_header_path_intl" 1>&6

echo "${as_me:-configure}:7265: testing ... testing $cf_cv_header_path_intl ..." 1>&5

        CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_intl"
        cat >conftest.$ac_ext <<_ACEOF
#line 7269 "configure"
#include "confdefs.h"

#include <libintl.h>
extern int _nl_msg_cat_cntr;

int
main ()
{

    bindtextdomain ("", "");
    return (int) gettext ("")

             + _nl_msg_cat_cntr

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:7289: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:7292: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:7295: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:7298: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

            test -n "$verbose" && echo "	... found intl headers in $cf_cv_header_path_intl" 1>&6

echo "${as_me:-configure}:7303: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5

            cf_cv_find_linkage_intl=maybe
            cf_test_CPPFLAGS="$CPPFLAGS"
            break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

            CPPFLAGS="$cf_save_CPPFLAGS"

fi
rm -f conftest.$ac_objext conftest.$ac_ext
      fi
    done

    if test "$cf_cv_find_linkage_intl" = maybe ; then

echo "${as_me:-configure}:7321: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5

      cf_save_LIBS="$LIBS"
      cf_save_LDFLAGS="$LDFLAGS"

      if test "$cf_cv_find_linkage_intl" != yes ; then

cf_search=
cf_library_path_list=""
if test -n "${LDFLAGS}${LIBS}" ; then
	for cf_library_path in $LDFLAGS $LIBS
	do
		case $cf_library_path in #(vi
		-L*)
			cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'`

test "$cf_library_path" != "NONE" && \
test -d "$cf_library_path" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $cf_library_path"
	test -d $cf_library_path/lib &&          cf_search="$cf_search $cf_library_path/lib"
	test -d $cf_library_path/lib/intl &&       cf_search="$cf_search $cf_library_path/lib/intl"
	test -d $cf_library_path/lib/intl/lib &&    cf_search="$cf_search $cf_library_path/lib/intl/lib"
	test -d $cf_library_path/intl/lib &&       cf_search="$cf_search $cf_library_path/intl/lib"
	test -d $cf_library_path/intl/lib/intl &&    cf_search="$cf_search $cf_library_path/intl/lib/intl"
}

			cf_library_path_list="$cf_library_path_list $cf_search"
			;;
		esac
	done
fi

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr"
	test -d /usr/lib &&          cf_search="$cf_search /usr/lib"
	test -d /usr/lib/intl &&       cf_search="$cf_search /usr/lib/intl"
	test -d /usr/lib/intl/lib &&    cf_search="$cf_search /usr/lib/intl/lib"
	test -d /usr/intl/lib &&       cf_search="$cf_search /usr/intl/lib"
	test -d /usr/intl/lib/intl &&    cf_search="$cf_search /usr/intl/lib/intl"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $prefix"
	test -d $prefix/lib &&          cf_search="$cf_search $prefix/lib"
	test -d $prefix/lib/intl &&       cf_search="$cf_search $prefix/lib/intl"
	test -d $prefix/lib/intl/lib &&    cf_search="$cf_search $prefix/lib/intl/lib"
	test -d $prefix/intl/lib &&       cf_search="$cf_search $prefix/intl/lib"
	test -d $prefix/intl/lib/intl &&    cf_search="$cf_search $prefix/intl/lib/intl"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr/local"
	test -d /usr/local/lib &&          cf_search="$cf_search /usr/local/lib"
	test -d /usr/local/lib/intl &&       cf_search="$cf_search /usr/local/lib/intl"
	test -d /usr/local/lib/intl/lib &&    cf_search="$cf_search /usr/local/lib/intl/lib"
	test -d /usr/local/intl/lib &&       cf_search="$cf_search /usr/local/intl/lib"
	test -d /usr/local/intl/lib/intl &&    cf_search="$cf_search /usr/local/intl/lib/intl"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /opt"
	test -d /opt/lib &&          cf_search="$cf_search /opt/lib"
	test -d /opt/lib/intl &&       cf_search="$cf_search /opt/lib/intl"
	test -d /opt/lib/intl/lib &&    cf_search="$cf_search /opt/lib/intl/lib"
	test -d /opt/intl/lib &&       cf_search="$cf_search /opt/intl/lib"
	test -d /opt/intl/lib/intl &&    cf_search="$cf_search /opt/intl/lib/intl"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under $HOME"
	test -d $HOME/lib &&          cf_search="$cf_search $HOME/lib"
	test -d $HOME/lib/intl &&       cf_search="$cf_search $HOME/lib/intl"
	test -d $HOME/lib/intl/lib &&    cf_search="$cf_search $HOME/lib/intl/lib"
	test -d $HOME/intl/lib &&       cf_search="$cf_search $HOME/intl/lib"
	test -d $HOME/intl/lib/intl &&    cf_search="$cf_search $HOME/intl/lib/intl"
}

cf_search="$cf_library_path_list $cf_search"

        for cf_cv_library_path_intl in $cf_search
        do
          if test -d $cf_cv_library_path_intl ; then
            test -n "$verbose" && echo "	... testing $cf_cv_library_path_intl" 1>&6

echo "${as_me:-configure}:7418: testing ... testing $cf_cv_library_path_intl ..." 1>&5

            CPPFLAGS="$cf_test_CPPFLAGS"
            LIBS="-lintl  $cf_save_LIBS"
            LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_intl"
            cat >conftest.$ac_ext <<_ACEOF
#line 7424 "configure"
#include "confdefs.h"

#include <libintl.h>
extern int _nl_msg_cat_cntr;

int
main ()
{

    bindtextdomain ("", "");
    return (int) gettext ("")

             + _nl_msg_cat_cntr

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7444: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:7447: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:7450: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:7453: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

                test -n "$verbose" && echo "	... found intl library in $cf_cv_library_path_intl" 1>&6

echo "${as_me:-configure}:7458: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5

                cf_cv_find_linkage_intl=yes
                cf_cv_library_file_intl="-lintl"
                break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

                CPPFLAGS="$cf_save_CPPFLAGS"
                LIBS="$cf_save_LIBS"
                LDFLAGS="$cf_save_LDFLAGS"

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
          fi
        done
        CPPFLAGS="$cf_save_CPPFLAGS"
        LDFLAGS="$cf_save_LDFLAGS"
      fi

    else
      cf_cv_find_linkage_intl=no
    fi

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

LIBS="$cf_save_LIBS"

if test "$cf_cv_find_linkage_intl" = yes ; then
cf_cv_func_gettext=yes
else
cf_cv_func_gettext=no
fi

fi
echo "$as_me:7498: result: $cf_cv_func_gettext" >&5
echo "${ECHO_T}$cf_cv_func_gettext" >&6
      LIBS="$cf_save_LIBS_1"

      if test "$cf_cv_func_gettext" = yes ; then

cat >>confdefs.h <<\EOF
#define HAVE_LIBINTL_H 1
EOF

                                        if test "$PACKAGE" != gettext; then

cat >>confdefs.h <<\EOF
#define HAVE_GETTEXT 1
EOF

if test -n "$cf_cv_header_path_intl" ; then
  for cf_add_incdir in $cf_cv_header_path_intl
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 7538 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:7550: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:7553: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:7556: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:7559: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:7576: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

          if test -n "$cf_cv_library_file_intl" ; then
                                                INTLLIBS="$cf_cv_library_file_intl $LIBICONV"

if test -n "$cf_cv_library_path_intl" ; then
  for cf_add_libdir in $cf_cv_library_path_intl
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:7613: testing adding $cf_add_libdir to library-path ..." 1>&5

        INTLLIBS="-L$cf_add_libdir $INTLLIBS"
      fi
    fi
  done
fi

          fi

          gt_save_LIBS="$LIBS"
          LIBS="$LIBS $INTLLIBS"

for ac_func in dcgettext
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:7629: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 7635 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7666: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:7669: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:7672: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:7675: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:7685: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
EOF

fi
done

          LIBS="$gt_save_LIBS"

                    # Extract the first word of "msgfmt", so it can be a program name with args.

set dummy msgfmt; ac_word=$2
echo "$as_me:7700: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_MSGFMT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case "$MSGFMT" in
  [\\/]*|?:[\\/]*)
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word$ac_exeext; then
      if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
	ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exeext"
	break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  ;;
esac
fi
MSGFMT="$ac_cv_path_MSGFMT"
if test "$MSGFMT" != ":"; then
  echo "$as_me:7727: result: $MSGFMT" >&5
echo "${ECHO_T}$MSGFMT" >&6
else
  echo "$as_me:7730: result: no" >&5
echo "${ECHO_T}no" >&6
fi

          # Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo "$as_me:7736: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GMSGFMT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GMSGFMT in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  ;;
  *)
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  if $as_executable_p "$ac_dir/$ac_word"; then
   ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
   echo "$as_me:7753: found $ac_dir/$ac_word" >&5
   break
fi
done

  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  ;;
esac
fi
GMSGFMT=$ac_cv_path_GMSGFMT

if test -n "$GMSGFMT"; then
  echo "$as_me:7765: result: $GMSGFMT" >&5
echo "${ECHO_T}$GMSGFMT" >&6
else
  echo "$as_me:7768: result: no" >&5
echo "${ECHO_T}no" >&6
fi

                    # Extract the first word of "xgettext", so it can be a program name with args.

set dummy xgettext; ac_word=$2
echo "$as_me:7775: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_XGETTEXT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case "$XGETTEXT" in
  [\\/]*|?:[\\/]*)
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word$ac_exeext; then
      if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
	ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exeext"
	break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  ;;
esac
fi
XGETTEXT="$ac_cv_path_XGETTEXT"
if test "$XGETTEXT" != ":"; then
  echo "$as_me:7802: result: $XGETTEXT" >&5
echo "${ECHO_T}$XGETTEXT" >&6
else
  echo "$as_me:7805: result: no" >&5
echo "${ECHO_T}no" >&6
fi

          CATOBJEXT=.gmo
        fi
      fi

      if test "$CATOBJEXT" = "NONE"; then
                        nls_cv_use_gnu_gettext=yes
      fi
    fi

    if test "$nls_cv_use_gnu_gettext" = "yes"; then
      if test ! -d $srcdir/intl ; then
        { { echo "$as_me:7820: error: no NLS library is packaged with this application" >&5
echo "$as_me: error: no NLS library is packaged with this application" >&2;}
   { (exit 1); exit 1; }; }
      fi
            INTLOBJS="\$(GETTOBJS)"
      # Extract the first word of "msgfmt", so it can be a program name with args.

set dummy msgfmt; ac_word=$2
echo "$as_me:7828: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_MSGFMT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case "$MSGFMT" in
  [\\/]*|?:[\\/]*)
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word$ac_exeext; then
      if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
	ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exeext"
	break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  ;;
esac
fi
MSGFMT="$ac_cv_path_MSGFMT"
if test "$MSGFMT" != ":"; then
  echo "$as_me:7855: result: $MSGFMT" >&5
echo "${ECHO_T}$MSGFMT" >&6
else
  echo "$as_me:7858: result: no" >&5
echo "${ECHO_T}no" >&6
fi

      # Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo "$as_me:7864: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GMSGFMT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GMSGFMT in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  ;;
  *)
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  if $as_executable_p "$ac_dir/$ac_word"; then
   ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
   echo "$as_me:7881: found $ac_dir/$ac_word" >&5
   break
fi
done

  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  ;;
esac
fi
GMSGFMT=$ac_cv_path_GMSGFMT

if test -n "$GMSGFMT"; then
  echo "$as_me:7893: result: $GMSGFMT" >&5
echo "${ECHO_T}$GMSGFMT" >&6
else
  echo "$as_me:7896: result: no" >&5
echo "${ECHO_T}no" >&6
fi

      # Extract the first word of "xgettext", so it can be a program name with args.

set dummy xgettext; ac_word=$2
echo "$as_me:7903: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_XGETTEXT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case "$XGETTEXT" in
  [\\/]*|?:[\\/]*)
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word$ac_exeext; then
      if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
	ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exeext"
	break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  ;;
esac
fi
XGETTEXT="$ac_cv_path_XGETTEXT"
if test "$XGETTEXT" != ":"; then
  echo "$as_me:7930: result: $XGETTEXT" >&5
echo "${ECHO_T}$XGETTEXT" >&6
else
  echo "$as_me:7933: result: no" >&5
echo "${ECHO_T}no" >&6
fi

      BUILD_INCLUDED_LIBINTL=yes
      USE_INCLUDED_LIBINTL=yes
      CATOBJEXT=.gmo
      INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
      LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
    fi

            if test "$GMSGFMT" != ":"; then
                  if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
        : ;
      else
        echo "$as_me:7948: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
        GMSGFMT=":"
      fi
    fi

            if test "$XGETTEXT" != ":"; then
                      if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
        : ;
      else
        echo "$as_me:7958: result: found xgettext program is not GNU xgettext; ignore it" >&5
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
        XGETTEXT=":"
      fi
    fi

        POSUB=po
  fi

  ac_config_commands="$ac_config_commands default-1"

      if test "$PACKAGE" = gettext; then
    BUILD_INCLUDED_LIBINTL=yes
  fi

                      if test "$nls_cv_use_gnu_gettext" = "yes"; then
    for ac_prog in bison
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:7978: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_INTLBISON+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$INTLBISON"; then
  ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_INTLBISON="$ac_prog"
echo "$as_me:7993: found $ac_dir/$ac_word" >&5
break
done

fi
fi
INTLBISON=$ac_cv_prog_INTLBISON
if test -n "$INTLBISON"; then
  echo "$as_me:8001: result: $INTLBISON" >&5
echo "${ECHO_T}$INTLBISON" >&6
else
  echo "$as_me:8004: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$INTLBISON" && break
done

    if test -z "$INTLBISON"; then
      ac_verc_fail=yes
    else
            echo "$as_me:8014: checking version of bison" >&5
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
      ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
      case $ac_prog_version in
        '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
        1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
           ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
        *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
      esac
    echo "$as_me:8023: result: $ac_prog_version" >&5
echo "${ECHO_T}$ac_prog_version" >&6
    fi
    if test $ac_verc_fail = yes; then
      INTLBISON=:
    fi
  fi

        for lang in $ALL_LINGUAS; do
    GMOFILES="$GMOFILES $lang.gmo"
    POFILES="$POFILES $lang.po"
  done

    nls_cv_header_intl=
  nls_cv_header_libgt=

    DATADIRNAME=share

    INSTOBJEXT=.mo

    GENCAT=gencat

   if test "x$CATOBJEXT" != "x"; then
     if test "x$ALL_LINGUAS" = "x"; then
       LINGUAS=
     else
       echo "$as_me:8049: checking for catalogs to be installed" >&5
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
       NEW_LINGUAS=
       for presentlang in $ALL_LINGUAS; do
         useit=no
         for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
           # Use the presentlang catalog if desiredlang is
           #   a. equal to presentlang, or
           #   b. a variant of presentlang (because in this case,
           #      presentlang can be used as a fallback for messages
           #      which are not translated in the desiredlang catalog).
           case "$desiredlang" in
             "$presentlang"*) useit=yes;;
           esac
         done
         if test $useit = yes; then
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
         fi
       done
       LINGUAS=$NEW_LINGUAS
       echo "$as_me:8069: result: $LINGUAS" >&5
echo "${ECHO_T}$LINGUAS" >&6
     fi

          if test -n "$LINGUAS"; then
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
     fi
   fi

      INTL_LIBTOOL_SUFFIX_PREFIX=

if test "$USE_NLS" = yes ; then

# Check whether --with-textdomain or --without-textdomain was given.
if test "${with_textdomain+set}" = set; then
  withval="$with_textdomain"
  NLS_TEXTDOMAIN=$withval
else
  NLS_TEXTDOMAIN=$PACKAGE
fi;

cat >>confdefs.h <<EOF
#define NLS_TEXTDOMAIN "$NLS_TEXTDOMAIN"
EOF

fi

INTLDIR_MAKE=
MSG_DIR_MAKE=
SUB_MAKEFILE=

cf_makefile=makefile

use_our_messages=no
if test "$USE_NLS" = yes ; then
if test -d $srcdir/po ; then
echo "$as_me:8105: checking if we should use included message-library" >&5
echo $ECHO_N "checking if we should use included message-library... $ECHO_C" >&6

# Check whether --enable-included-msgs or --disable-included-msgs was given.
if test "${enable_included_msgs+set}" = set; then
  enableval="$enable_included_msgs"
  use_our_messages=$enableval
else
  use_our_messages=yes
fi;
fi
echo "$as_me:8116: result: $use_our_messages" >&5
echo "${ECHO_T}$use_our_messages" >&6
fi

MSG_DIR_MAKE="#"
if test "$use_our_messages" = yes
then
	SUB_MAKEFILE="$SUB_MAKEFILE po/$cf_makefile.in:$srcdir/po/$cf_makefile.inn"
	MSG_DIR_MAKE=
fi

if test "$USE_INCLUDED_LIBINTL" = yes ; then
        if test "$nls_cv_force_use_gnu_gettext" = yes ; then
		:
	elif test "$nls_cv_use_gnu_gettext" = yes ; then
		:
	else
		INTLDIR_MAKE="#"
	fi
	if test -z "$INTLDIR_MAKE"; then

cat >>confdefs.h <<\EOF
#define HAVE_LIBGETTEXT_H 1
EOF

		for cf_makefile in \
			$srcdir/intl/Makefile.in \
			$srcdir/intl/makefile.in
		do
			if test -f "$cf_makefile" ; then
				SUB_MAKEFILE="$SUB_MAKEFILE `echo \"${cf_makefile}\"|sed -e 's,^'$srcdir/',,' -e 's/\.in$//'`:${cf_makefile}"
				break
			fi
		done
	fi
else
	INTLDIR_MAKE="#"
	if test "$USE_NLS" = yes ; then

for ac_header in libintl.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:8158: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 8164 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:8168: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:8174: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:8193: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

	fi
fi

if test -z "$INTLDIR_MAKE" ; then
	CPPFLAGS="$CPPFLAGS -I../intl"
fi

if test "$BUILD_INCLUDED_LIBINTL" = yes ; then
	GT_YES="#"
	GT_NO=
else
	GT_YES=
	GT_NO="#"
fi

if test "$USE_INCLUDED_LIBINTL" = yes ; then
	if test "$nls_cv_force_use_gnu_gettext" = yes ; then

cat >>confdefs.h <<\EOF
#define HAVE_GETTEXT 1
EOF

	elif test "$nls_cv_use_gnu_gettext" = yes ; then

cat >>confdefs.h <<\EOF
#define HAVE_GETTEXT 1
EOF

	fi
	if test -n "$nls_cv_header_intl" ; then

cat >>confdefs.h <<\EOF
#define HAVE_LIBINTL_H 1
EOF

	fi
fi

echo "$as_me:8241: checking if -lm needed for math functions" >&5
echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6
if test "${cf_cv_need_libm+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cat >conftest.$ac_ext <<_ACEOF
#line 8248 "configure"
#include "confdefs.h"

	#include <stdio.h>
	#include <math.h>

int
main ()
{
double x = rand(); printf("result = %g\n", sqrt(x))
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8263: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:8266: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:8269: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:8272: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_need_libm=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_need_libm=yes
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:8282: result: $cf_cv_need_libm" >&5
echo "${ECHO_T}$cf_cv_need_libm" >&6
if test "$cf_cv_need_libm" = yes
then

	LIBS="-lm $LIBS"

fi

echo "$as_me:8291: checking if you want to use dmalloc for testing" >&5
echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6

# Check whether --with-dmalloc or --without-dmalloc was given.
if test "${with_dmalloc+set}" = set; then
  withval="$with_dmalloc"

cat >>confdefs.h <<EOF
#define USE_DMALLOC 1
EOF

	: ${with_cflags:=-g}
	: ${with_no_leaks:=yes}
	 with_dmalloc=yes
else
  with_dmalloc=
fi;
echo "$as_me:8308: result: ${with_dmalloc:-no}" >&5
echo "${ECHO_T}${with_dmalloc:-no}" >&6

case .$with_cflags in #(vi
.*-g*)
	case .$CFLAGS in #(vi
	.*-g*) #(vi
		;;
	*)

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in -g
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

		;;
	esac
	;;
esac

if test "$with_dmalloc" = yes ; then
	echo "$as_me:8402: checking for dmalloc.h" >&5
echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dmalloc_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 8408 "configure"
#include "confdefs.h"
#include <dmalloc.h>
_ACEOF
if { (eval echo "$as_me:8412: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:8418: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_cv_header_dmalloc_h=yes
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_header_dmalloc_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:8437: result: $ac_cv_header_dmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
if test $ac_cv_header_dmalloc_h = yes; then

echo "$as_me:8441: checking for dmalloc_debug in -ldmalloc" >&5
echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldmalloc  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 8449 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char dmalloc_debug ();
int
main ()
{
dmalloc_debug ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8468: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:8471: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:8474: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:8477: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_dmalloc_dmalloc_debug=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_dmalloc_dmalloc_debug=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:8488: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then
  cat >>confdefs.h <<EOF
#define HAVE_LIBDMALLOC 1
EOF

  LIBS="-ldmalloc $LIBS"

fi

fi

fi

echo "$as_me:8503: checking if you want to use dbmalloc for testing" >&5
echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6

# Check whether --with-dbmalloc or --without-dbmalloc was given.
if test "${with_dbmalloc+set}" = set; then
  withval="$with_dbmalloc"

cat >>confdefs.h <<EOF
#define USE_DBMALLOC 1
EOF

	: ${with_cflags:=-g}
	: ${with_no_leaks:=yes}
	 with_dbmalloc=yes
else
  with_dbmalloc=
fi;
echo "$as_me:8520: result: ${with_dbmalloc:-no}" >&5
echo "${ECHO_T}${with_dbmalloc:-no}" >&6

case .$with_cflags in #(vi
.*-g*)
	case .$CFLAGS in #(vi
	.*-g*) #(vi
		;;
	*)

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in -g
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

		;;
	esac
	;;
esac

if test "$with_dbmalloc" = yes ; then
	echo "$as_me:8614: checking for dbmalloc.h" >&5
echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dbmalloc_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 8620 "configure"
#include "confdefs.h"
#include <dbmalloc.h>
_ACEOF
if { (eval echo "$as_me:8624: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:8630: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_cv_header_dbmalloc_h=yes
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_header_dbmalloc_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:8649: result: $ac_cv_header_dbmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
if test $ac_cv_header_dbmalloc_h = yes; then

echo "$as_me:8653: checking for debug_malloc in -ldbmalloc" >&5
echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldbmalloc  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 8661 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char debug_malloc ();
int
main ()
{
debug_malloc ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8680: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:8683: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:8686: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:8689: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_dbmalloc_debug_malloc=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_dbmalloc_debug_malloc=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:8700: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then
  cat >>confdefs.h <<EOF
#define HAVE_LIBDBMALLOC 1
EOF

  LIBS="-ldbmalloc $LIBS"

fi

fi

fi

echo "$as_me:8715: checking if you want to use purify for testing" >&5
echo $ECHO_N "checking if you want to use purify for testing... $ECHO_C" >&6

# Check whether --with-purify or --without-purify was given.
if test "${with_purify+set}" = set; then
  withval="$with_purify"

cat >>confdefs.h <<EOF
#define USE_PURIFY 1
EOF

	: ${with_cflags:=-g}
	: ${with_no_leaks:=yes}
	 with_purify=yes
else
  with_purify=
fi;
echo "$as_me:8732: result: ${with_purify:-no}" >&5
echo "${ECHO_T}${with_purify:-no}" >&6

case .$with_cflags in #(vi
.*-g*)
	case .$CFLAGS in #(vi
	.*-g*) #(vi
		;;
	*)

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in -g
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

		;;
	esac
	;;
esac

echo "$as_me:8825: checking if you want to use valgrind for testing" >&5
echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6

# Check whether --with-valgrind or --without-valgrind was given.
if test "${with_valgrind+set}" = set; then
  withval="$with_valgrind"

cat >>confdefs.h <<EOF
#define USE_VALGRIND 1
EOF

	: ${with_cflags:=-g}
	: ${with_no_leaks:=yes}
	 with_valgrind=yes
else
  with_valgrind=
fi;
echo "$as_me:8842: result: ${with_valgrind:-no}" >&5
echo "${ECHO_T}${with_valgrind:-no}" >&6

case .$with_cflags in #(vi
.*-g*)
	case .$CFLAGS in #(vi
	.*-g*) #(vi
		;;
	*)

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in -g
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

		;;
	esac
	;;
esac

echo "$as_me:8935: checking if you want to perform memory-leak testing" >&5
echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6

# Check whether --with-no-leaks or --without-no-leaks was given.
if test "${with_no_leaks+set}" = set; then
  withval="$with_no_leaks"

cat >>confdefs.h <<\EOF
#define NO_LEAKS 1
EOF

	 cf_doalloc=".${with_dmalloc}${with_dbmalloc}${with_purify}${with_valgrind}"
	 case ${cf_doalloc} in #(vi
	 *yes*) ;;
	 *)
cat >>confdefs.h <<\EOF
#define DOALLOC 10000
EOF
 ;;
	 esac
	 with_no_leaks=yes
else
  with_no_leaks=
fi;
echo "$as_me:8959: result: $with_no_leaks" >&5
echo "${ECHO_T}$with_no_leaks" >&6

echo "$as_me:8962: checking if you want --trace option" >&5
echo $ECHO_N "checking if you want --trace option... $ECHO_C" >&6

# Check whether --enable-trace or --disable-trace was given.
if test "${enable_trace+set}" = set; then
  enableval="$enable_trace"

else
  enableval=yes
fi;
echo "$as_me:8972: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS trace\$o"

cat >>confdefs.h <<\EOF
#define HAVE_DLG_TRACE 1
EOF

else
	:
fi

LIBTOOL_MAKE="#"

echo "$as_me:8987: checking if libtool -version-number should be used" >&5
echo $ECHO_N "checking if libtool -version-number should be used... $ECHO_C" >&6

# Check whether --enable-libtool-version or --disable-libtool-version was given.
if test "${enable_libtool_version+set}" = set; then
  enableval="$enable_libtool_version"
  test "$enableval" != no && enableval=yes
  if test "$enableval" != "yes" ; then
    cf_libtool_version=no
  else
    cf_libtool_version=yes
  fi
else
  enableval=yes
  cf_libtool_version=yes

fi;
echo "$as_me:9004: result: $cf_libtool_version" >&5
echo "${ECHO_T}$cf_libtool_version" >&6

if test "$cf_libtool_version" = yes ; then
	LIBTOOL_VERSION="-version-number"
else
	LIBTOOL_VERSION="-version-info"
fi

LIBTOOL=

# common library maintenance symbols that are convenient for libtool scripts:
LIB_CREATE='${AR} -cr'
LIB_OBJECT='${OBJECTS}'
LIB_SUFFIX=.a
LIB_PREP="$RANLIB"

# symbols used to prop libtool up to enable it to determine what it should be
# doing:
LIB_CLEAN=
LIB_COMPILE=
LIB_LINK='${CC}'
LIB_INSTALL=
LIB_UNINSTALL=

echo "$as_me:9029: checking if you want to build libraries with libtool" >&5
echo $ECHO_N "checking if you want to build libraries with libtool... $ECHO_C" >&6

# Check whether --with-libtool or --without-libtool was given.
if test "${with_libtool+set}" = set; then
  withval="$with_libtool"
  with_libtool=$withval
else
  with_libtool=no
fi;
echo "$as_me:9039: result: $with_libtool" >&5
echo "${ECHO_T}$with_libtool" >&6
if test "$with_libtool" != "no"; then

	if test "$with_libtool" != "yes" ; then

if test "x$prefix" != xNONE; then
  cf_path_syntax="$prefix"
else
  cf_path_syntax="$ac_default_prefix"
fi

case ".$with_libtool" in #(vi
.\$\(*\)*|.\'*\'*) #(vi
  ;;
..|./*|.\\*) #(vi
  ;;
.[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
  ;;
.\${*prefix}*|.\${*dir}*) #(vi
  eval with_libtool="$with_libtool"
  case ".$with_libtool" in #(vi
  .NONE/*)
    with_libtool=`echo $with_libtool | sed -e s%NONE%$cf_path_syntax%`
    ;;
  esac
  ;; #(vi
.no|.NONE/*)
  with_libtool=`echo $with_libtool | sed -e s%NONE%$cf_path_syntax%`
  ;;
*)
  { { echo "$as_me:9070: error: expected a pathname, not \"$with_libtool\"" >&5
echo "$as_me: error: expected a pathname, not \"$with_libtool\"" >&2;}
   { (exit 1); exit 1; }; }
  ;;
esac

		LIBTOOL=$with_libtool
	else
		# Extract the first word of "libtool", so it can be a program name with args.
set dummy libtool; ac_word=$2
echo "$as_me:9080: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_LIBTOOL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $LIBTOOL in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_LIBTOOL="$LIBTOOL" # Let the user override the test with a path.
  ;;
  *)
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  if $as_executable_p "$ac_dir/$ac_word"; then
   ac_cv_path_LIBTOOL="$ac_dir/$ac_word"
   echo "$as_me:9097: found $ac_dir/$ac_word" >&5
   break
fi
done

  ;;
esac
fi
LIBTOOL=$ac_cv_path_LIBTOOL

if test -n "$LIBTOOL"; then
  echo "$as_me:9108: result: $LIBTOOL" >&5
echo "${ECHO_T}$LIBTOOL" >&6
else
  echo "$as_me:9111: result: no" >&5
echo "${ECHO_T}no" >&6
fi

	fi
	if test -z "$LIBTOOL" ; then
		{ { echo "$as_me:9117: error: Cannot find libtool" >&5
echo "$as_me: error: Cannot find libtool" >&2;}
   { (exit 1); exit 1; }; }
	fi
	LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} ${LIBTOOL_VERSION} `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} ${LT_UNDEF} $(LIBS) -o'
	LIB_OBJECT='${OBJECTS:.o=.lo}'
	LIB_SUFFIX=.la
	LIB_CLEAN='${LIBTOOL} --mode=clean'
	LIB_COMPILE='${LIBTOOL} --mode=compile'
	LIB_LINK='${LIBTOOL} --mode=link ${CC} ${LIBTOOL_OPTS}'
	LIB_INSTALL='${LIBTOOL} --mode=install'
	LIB_UNINSTALL='${LIBTOOL} --mode=uninstall'
	LIB_PREP=:

	# Show the version of libtool
	echo "$as_me:9132: checking version of libtool" >&5
echo $ECHO_N "checking version of libtool... $ECHO_C" >&6

	# Save the version in a cache variable - this is not entirely a good
	# thing, but the version string from libtool is very ugly, and for
	# bug reports it might be useful to have the original string. "("
	cf_cv_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '/^$/d' |sed -e '2,$d' -e 's/([^)]*)//g' -e 's/^[^1-9]*//' -e 's/[^0-9.].*//'`
	echo "$as_me:9139: result: $cf_cv_libtool_version" >&5
echo "${ECHO_T}$cf_cv_libtool_version" >&6
	if test -z "$cf_cv_libtool_version" ; then
		{ { echo "$as_me:9142: error: This is not GNU libtool" >&5
echo "$as_me: error: This is not GNU libtool" >&2;}
   { (exit 1); exit 1; }; }
	fi

	# special hack to add -no-undefined (which libtool should do for itself)
	LT_UNDEF=
	case "$cf_cv_system_name" in #(vi
	cygwin*|mingw32*|uwin*|aix[4-7]) #(vi
		LT_UNDEF=-no-undefined
		;;
	esac

	# special hack to add --tag option for C++ compiler
	case $cf_cv_libtool_version in #(vi
	1.[5-9]*|[2-9].[0-9.a-z]*) #(vi
		LIBTOOL_CXX="$LIBTOOL --tag=CXX"
		LIBTOOL="$LIBTOOL --tag=CC"
		;;
	*)
		LIBTOOL_CXX="$LIBTOOL"
		;;
	esac
else
	LIBTOOL=""
	LIBTOOL_CXX=""
fi

test -z "$LIBTOOL" && ECHO_LT=

if test "$with_libtool" = "yes" ; then
	OBJEXT="lo"
	LIBTOOL_MAKE=

echo "$as_me:9176: checking for additional libtool options" >&5
echo $ECHO_N "checking for additional libtool options... $ECHO_C" >&6

# Check whether --with-libtool-opts or --without-libtool-opts was given.
if test "${with_libtool_opts+set}" = set; then
  withval="$with_libtool_opts"
  with_libtool_opts=$withval
else
  with_libtool_opts=no
fi;
echo "$as_me:9186: result: $with_libtool_opts" >&5
echo "${ECHO_T}$with_libtool_opts" >&6

case .$with_libtool_opts in
.yes|.no|.)
	;;
*)
	LIBTOOL_OPTS=$with_libtool_opts
	;;
esac

fi

echo "$as_me:9199: checking for specific curses-directory" >&5
echo $ECHO_N "checking for specific curses-directory... $ECHO_C" >&6

# Check whether --with-curses-dir or --without-curses-dir was given.
if test "${with_curses_dir+set}" = set; then
  withval="$with_curses_dir"
  cf_cv_curses_dir=$withval
else
  cf_cv_curses_dir=no
fi;
echo "$as_me:9209: result: $cf_cv_curses_dir" >&5
echo "${ECHO_T}$cf_cv_curses_dir" >&6

if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" )
then

if test "x$prefix" != xNONE; then
  cf_path_syntax="$prefix"
else
  cf_path_syntax="$ac_default_prefix"
fi

case ".$withval" in #(vi
.\$\(*\)*|.\'*\'*) #(vi
  ;;
..|./*|.\\*) #(vi
  ;;
.[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
  ;;
.\${*prefix}*|.\${*dir}*) #(vi
  eval withval="$withval"
  case ".$withval" in #(vi
  .NONE/*)
    withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    ;;
  esac
  ;; #(vi
.no|.NONE/*)
  withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
  ;;
*)
  { { echo "$as_me:9240: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
   { (exit 1); exit 1; }; }
  ;;
esac

	if test -d "$cf_cv_curses_dir"
	then

if test -n "$cf_cv_curses_dir/include" ; then
  for cf_add_incdir in $cf_cv_curses_dir/include
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 9273 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:9285: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:9288: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:9291: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:9294: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:9311: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

if test -n "$cf_cv_curses_dir/lib" ; then
  for cf_add_libdir in $cf_cv_curses_dir/lib
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:9345: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

	fi
fi

use_ncurses=no

# Check whether --with-ncurses or --without-ncurses was given.
if test "${with_ncurses+set}" = set; then
  withval="$with_ncurses"
  use_ncurses=ncurses
fi;

# Check whether --with-ncursesw or --without-ncursesw was given.
if test "${with_ncursesw+set}" = set; then
  withval="$with_ncursesw"
  use_ncurses=ncursesw
fi;
if test $use_ncurses != no ; then
	cf_wide_curses=yes
	if test $use_ncurses = ncursesw ; then

echo "$as_me:9373: checking for multibyte character support" >&5
echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6
if test "${cf_cv_utf8_lib+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cf_save_LIBS="$LIBS"
	cat >conftest.$ac_ext <<_ACEOF
#line 9381 "configure"
#include "confdefs.h"

#include <stdlib.h>
int
main ()
{
putwc(0,0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:9394: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:9397: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:9400: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:9403: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_utf8_lib=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

# If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these
# will be set on completion of the AC_TRY_LINK below.
cf_cv_header_path_utf8=
cf_cv_library_path_utf8=

echo "${as_me:-configure}:9415: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5

cf_save_LIBS="$LIBS"

cat >conftest.$ac_ext <<_ACEOF
#line 9420 "configure"
#include "confdefs.h"

#include <libutf8.h>
int
main ()
{
putwc(0,0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:9433: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:9436: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:9439: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:9442: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_find_linkage_utf8=yes
	cf_cv_header_path_utf8=/usr/include
	cf_cv_library_path_utf8=/usr/lib

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

LIBS="-lutf8  $cf_save_LIBS"

cat >conftest.$ac_ext <<_ACEOF
#line 9456 "configure"
#include "confdefs.h"

#include <libutf8.h>
int
main ()
{
putwc(0,0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:9469: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:9472: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:9475: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:9478: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_find_linkage_utf8=yes
	cf_cv_header_path_utf8=/usr/include
	cf_cv_library_path_utf8=/usr/lib
	cf_cv_library_file_utf8="-lutf8"

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

	cf_cv_find_linkage_utf8=no
	LIBS="$cf_save_LIBS"

    test -n "$verbose" && echo "	find linkage for utf8 library" 1>&6

echo "${as_me:-configure}:9495: testing find linkage for utf8 library ..." 1>&5

echo "${as_me:-configure}:9497: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5

    cf_save_CPPFLAGS="$CPPFLAGS"
    cf_test_CPPFLAGS="$CPPFLAGS"

cf_search=

# collect the current set of include-directories from compiler flags
cf_header_path_list=""
if test -n "${CFLAGS}${CPPFLAGS}" ; then
	for cf_header_path in $CPPFLAGS $CFLAGS
	do
		case $cf_header_path in #(vi
		-I*)
			cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'`

test "$cf_header_path" != "NONE" && \
test -d "$cf_header_path" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $cf_header_path"
	test -d $cf_header_path/include &&          cf_search="$cf_search $cf_header_path/include"
	test -d $cf_header_path/include/utf8 &&       cf_search="$cf_search $cf_header_path/include/utf8"
	test -d $cf_header_path/include/utf8/include &&    cf_search="$cf_search $cf_header_path/include/utf8/include"
	test -d $cf_header_path/utf8/include &&       cf_search="$cf_search $cf_header_path/utf8/include"
	test -d $cf_header_path/utf8/include/utf8 &&    cf_search="$cf_search $cf_header_path/utf8/include/utf8"
}

			cf_header_path_list="$cf_header_path_list $cf_search"
			;;
		esac
	done
fi

# add the variations for the package we are looking for

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr"
	test -d /usr/include &&          cf_search="$cf_search /usr/include"
	test -d /usr/include/utf8 &&       cf_search="$cf_search /usr/include/utf8"
	test -d /usr/include/utf8/include &&    cf_search="$cf_search /usr/include/utf8/include"
	test -d /usr/utf8/include &&       cf_search="$cf_search /usr/utf8/include"
	test -d /usr/utf8/include/utf8 &&    cf_search="$cf_search /usr/utf8/include/utf8"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $prefix"
	test -d $prefix/include &&          cf_search="$cf_search $prefix/include"
	test -d $prefix/include/utf8 &&       cf_search="$cf_search $prefix/include/utf8"
	test -d $prefix/include/utf8/include &&    cf_search="$cf_search $prefix/include/utf8/include"
	test -d $prefix/utf8/include &&       cf_search="$cf_search $prefix/utf8/include"
	test -d $prefix/utf8/include/utf8 &&    cf_search="$cf_search $prefix/utf8/include/utf8"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr/local"
	test -d /usr/local/include &&          cf_search="$cf_search /usr/local/include"
	test -d /usr/local/include/utf8 &&       cf_search="$cf_search /usr/local/include/utf8"
	test -d /usr/local/include/utf8/include &&    cf_search="$cf_search /usr/local/include/utf8/include"
	test -d /usr/local/utf8/include &&       cf_search="$cf_search /usr/local/utf8/include"
	test -d /usr/local/utf8/include/utf8 &&    cf_search="$cf_search /usr/local/utf8/include/utf8"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /opt"
	test -d /opt/include &&          cf_search="$cf_search /opt/include"
	test -d /opt/include/utf8 &&       cf_search="$cf_search /opt/include/utf8"
	test -d /opt/include/utf8/include &&    cf_search="$cf_search /opt/include/utf8/include"
	test -d /opt/utf8/include &&       cf_search="$cf_search /opt/utf8/include"
	test -d /opt/utf8/include/utf8 &&    cf_search="$cf_search /opt/utf8/include/utf8"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under $HOME"
	test -d $HOME/include &&          cf_search="$cf_search $HOME/include"
	test -d $HOME/include/utf8 &&       cf_search="$cf_search $HOME/include/utf8"
	test -d $HOME/include/utf8/include &&    cf_search="$cf_search $HOME/include/utf8/include"
	test -d $HOME/utf8/include &&       cf_search="$cf_search $HOME/utf8/include"
	test -d $HOME/utf8/include/utf8 &&    cf_search="$cf_search $HOME/utf8/include/utf8"
}

test "$includedir" != NONE && \
test "$includedir" != "/usr/include" && \
test -d "$includedir" && {
	test -d $includedir &&    cf_search="$cf_search $includedir"
	test -d $includedir/utf8 && cf_search="$cf_search $includedir/utf8"
}

test "$oldincludedir" != NONE && \
test "$oldincludedir" != "/usr/include" && \
test -d "$oldincludedir" && {
	test -d $oldincludedir    && cf_search="$cf_search $oldincludedir"
	test -d $oldincludedir/utf8 && cf_search="$cf_search $oldincludedir/utf8"
}

cf_search="$cf_search $cf_header_path_list"

    for cf_cv_header_path_utf8 in $cf_search
    do
      if test -d $cf_cv_header_path_utf8 ; then
        test -n "$verbose" && echo "	... testing $cf_cv_header_path_utf8" 1>&6

echo "${as_me:-configure}:9610: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5

        CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8"
        cat >conftest.$ac_ext <<_ACEOF
#line 9614 "configure"
#include "confdefs.h"

#include <libutf8.h>
int
main ()
{
putwc(0,0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:9627: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:9630: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:9633: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:9636: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

            test -n "$verbose" && echo "	... found utf8 headers in $cf_cv_header_path_utf8" 1>&6

echo "${as_me:-configure}:9641: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5

            cf_cv_find_linkage_utf8=maybe
            cf_test_CPPFLAGS="$CPPFLAGS"
            break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

            CPPFLAGS="$cf_save_CPPFLAGS"

fi
rm -f conftest.$ac_objext conftest.$ac_ext
      fi
    done

    if test "$cf_cv_find_linkage_utf8" = maybe ; then

echo "${as_me:-configure}:9659: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5

      cf_save_LIBS="$LIBS"
      cf_save_LDFLAGS="$LDFLAGS"

      if test "$cf_cv_find_linkage_utf8" != yes ; then

cf_search=
cf_library_path_list=""
if test -n "${LDFLAGS}${LIBS}" ; then
	for cf_library_path in $LDFLAGS $LIBS
	do
		case $cf_library_path in #(vi
		-L*)
			cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'`

test "$cf_library_path" != "NONE" && \
test -d "$cf_library_path" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $cf_library_path"
	test -d $cf_library_path/lib &&          cf_search="$cf_search $cf_library_path/lib"
	test -d $cf_library_path/lib/utf8 &&       cf_search="$cf_search $cf_library_path/lib/utf8"
	test -d $cf_library_path/lib/utf8/lib &&    cf_search="$cf_search $cf_library_path/lib/utf8/lib"
	test -d $cf_library_path/utf8/lib &&       cf_search="$cf_search $cf_library_path/utf8/lib"
	test -d $cf_library_path/utf8/lib/utf8 &&    cf_search="$cf_search $cf_library_path/utf8/lib/utf8"
}

			cf_library_path_list="$cf_library_path_list $cf_search"
			;;
		esac
	done
fi

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr"
	test -d /usr/lib &&          cf_search="$cf_search /usr/lib"
	test -d /usr/lib/utf8 &&       cf_search="$cf_search /usr/lib/utf8"
	test -d /usr/lib/utf8/lib &&    cf_search="$cf_search /usr/lib/utf8/lib"
	test -d /usr/utf8/lib &&       cf_search="$cf_search /usr/utf8/lib"
	test -d /usr/utf8/lib/utf8 &&    cf_search="$cf_search /usr/utf8/lib/utf8"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $prefix"
	test -d $prefix/lib &&          cf_search="$cf_search $prefix/lib"
	test -d $prefix/lib/utf8 &&       cf_search="$cf_search $prefix/lib/utf8"
	test -d $prefix/lib/utf8/lib &&    cf_search="$cf_search $prefix/lib/utf8/lib"
	test -d $prefix/utf8/lib &&       cf_search="$cf_search $prefix/utf8/lib"
	test -d $prefix/utf8/lib/utf8 &&    cf_search="$cf_search $prefix/utf8/lib/utf8"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr/local"
	test -d /usr/local/lib &&          cf_search="$cf_search /usr/local/lib"
	test -d /usr/local/lib/utf8 &&       cf_search="$cf_search /usr/local/lib/utf8"
	test -d /usr/local/lib/utf8/lib &&    cf_search="$cf_search /usr/local/lib/utf8/lib"
	test -d /usr/local/utf8/lib &&       cf_search="$cf_search /usr/local/utf8/lib"
	test -d /usr/local/utf8/lib/utf8 &&    cf_search="$cf_search /usr/local/utf8/lib/utf8"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /opt"
	test -d /opt/lib &&          cf_search="$cf_search /opt/lib"
	test -d /opt/lib/utf8 &&       cf_search="$cf_search /opt/lib/utf8"
	test -d /opt/lib/utf8/lib &&    cf_search="$cf_search /opt/lib/utf8/lib"
	test -d /opt/utf8/lib &&       cf_search="$cf_search /opt/utf8/lib"
	test -d /opt/utf8/lib/utf8 &&    cf_search="$cf_search /opt/utf8/lib/utf8"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under $HOME"
	test -d $HOME/lib &&          cf_search="$cf_search $HOME/lib"
	test -d $HOME/lib/utf8 &&       cf_search="$cf_search $HOME/lib/utf8"
	test -d $HOME/lib/utf8/lib &&    cf_search="$cf_search $HOME/lib/utf8/lib"
	test -d $HOME/utf8/lib &&       cf_search="$cf_search $HOME/utf8/lib"
	test -d $HOME/utf8/lib/utf8 &&    cf_search="$cf_search $HOME/utf8/lib/utf8"
}

cf_search="$cf_library_path_list $cf_search"

        for cf_cv_library_path_utf8 in $cf_search
        do
          if test -d $cf_cv_library_path_utf8 ; then
            test -n "$verbose" && echo "	... testing $cf_cv_library_path_utf8" 1>&6

echo "${as_me:-configure}:9756: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5

            CPPFLAGS="$cf_test_CPPFLAGS"
            LIBS="-lutf8  $cf_save_LIBS"
            LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_utf8"
            cat >conftest.$ac_ext <<_ACEOF
#line 9762 "configure"
#include "confdefs.h"

#include <libutf8.h>
int
main ()
{
putwc(0,0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:9775: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:9778: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:9781: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:9784: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

                test -n "$verbose" && echo "	... found utf8 library in $cf_cv_library_path_utf8" 1>&6

echo "${as_me:-configure}:9789: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5

                cf_cv_find_linkage_utf8=yes
                cf_cv_library_file_utf8="-lutf8"
                break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

                CPPFLAGS="$cf_save_CPPFLAGS"
                LIBS="$cf_save_LIBS"
                LDFLAGS="$cf_save_LDFLAGS"

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
          fi
        done
        CPPFLAGS="$cf_save_CPPFLAGS"
        LDFLAGS="$cf_save_LDFLAGS"
      fi

    else
      cf_cv_find_linkage_utf8=no
    fi

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

LIBS="$cf_save_LIBS"

if test "$cf_cv_find_linkage_utf8" = yes ; then
cf_cv_utf8_lib=add-on
else
cf_cv_utf8_lib=no
fi

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:9831: result: $cf_cv_utf8_lib" >&5
echo "${ECHO_T}$cf_cv_utf8_lib" >&6

# HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between
# ncurses/ncursesw:
if test "$cf_cv_utf8_lib" = "add-on" ; then

cat >>confdefs.h <<\EOF
#define HAVE_LIBUTF8_H 1
EOF

if test -n "$cf_cv_header_path_utf8" ; then
  for cf_add_incdir in $cf_cv_header_path_utf8
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 9866 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:9878: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:9881: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:9884: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:9887: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:9904: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

if test -n "$cf_cv_library_path_utf8" ; then
  for cf_add_libdir in $cf_cv_library_path_utf8
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:9938: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

	LIBS="$cf_cv_library_file_utf8 $LIBS"
fi

	fi

cf_ncuconfig_root=$use_ncurses

echo "Looking for ${cf_ncuconfig_root}-config"

if test -n "$ac_tool_prefix"; then
  for ac_prog in ${cf_ncuconfig_root}6-config ${cf_ncuconfig_root}5-config
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:9960: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$NCURSES_CONFIG"; then
  ac_cv_prog_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog"
echo "$as_me:9975: found $ac_dir/$ac_word" >&5
break
done

fi
fi
NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG
if test -n "$NCURSES_CONFIG"; then
  echo "$as_me:9983: result: $NCURSES_CONFIG" >&5
echo "${ECHO_T}$NCURSES_CONFIG" >&6
else
  echo "$as_me:9986: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    test -n "$NCURSES_CONFIG" && break
  done
fi
if test -z "$NCURSES_CONFIG"; then
  ac_ct_NCURSES_CONFIG=$NCURSES_CONFIG
  for ac_prog in ${cf_ncuconfig_root}6-config ${cf_ncuconfig_root}5-config
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:9999: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_NCURSES_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_NCURSES_CONFIG"; then
  ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_ct_NCURSES_CONFIG" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog"
echo "$as_me:10014: found $ac_dir/$ac_word" >&5
break
done

fi
fi
ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG
if test -n "$ac_ct_NCURSES_CONFIG"; then
  echo "$as_me:10022: result: $ac_ct_NCURSES_CONFIG" >&5
echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6
else
  echo "$as_me:10025: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$ac_ct_NCURSES_CONFIG" && break
done
test -n "$ac_ct_NCURSES_CONFIG" || ac_ct_NCURSES_CONFIG="none"

  NCURSES_CONFIG=$ac_ct_NCURSES_CONFIG
fi

if test "$NCURSES_CONFIG" != none ; then

CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`"
LIBS="`$NCURSES_CONFIG --libs` $LIBS"

# even with config script, some packages use no-override for curses.h

echo "$as_me:10043: checking if we have identified curses headers" >&5
echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6
if test "${cf_cv_ncurses_header+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

cf_cv_ncurses_header=none
for cf_header in  \
    $use_ncurses/ncurses.h \
	$use_ncurses/curses.h \
	ncurses.h \
	curses.h
do
cat >conftest.$ac_ext <<_ACEOF
#line 10057 "configure"
#include "confdefs.h"
#include <${cf_header}>
int
main ()
{
initscr(); tgoto("?", 0,0)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:10069: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:10072: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:10075: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10078: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_ncurses_header=$cf_header; break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
done

fi
echo "$as_me:10089: result: $cf_cv_ncurses_header" >&5
echo "${ECHO_T}$cf_cv_ncurses_header" >&6

if test "$cf_cv_ncurses_header" = none ; then
	{ { echo "$as_me:10093: error: No curses header-files found" >&5
echo "$as_me: error: No curses header-files found" >&2;}
   { (exit 1); exit 1; }; }
fi

# cheat, to get the right #define's for HAVE_NCURSES_H, etc.

for ac_header in $cf_cv_ncurses_header
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:10103: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 10109 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:10113: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:10119: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:10138: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

cat >>confdefs.h <<\EOF
#define NCURSES 1
EOF

cf_nculib_ROOT=`echo "HAVE_LIB$cf_ncuconfig_root" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

cat >>confdefs.h <<EOF
#define $cf_nculib_ROOT 1
EOF

cf_cv_ncurses_version=`$NCURSES_CONFIG --version`

else

cf_ncuhdr_root=$use_ncurses

test -n "$cf_cv_curses_dir" && \
test "$cf_cv_curses_dir" != "no" && { \

if test -n "$cf_cv_curses_dir/include/$cf_ncuhdr_root" ; then
  for cf_add_incdir in $cf_cv_curses_dir/include/$cf_ncuhdr_root
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 10191 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:10203: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:10206: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:10209: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10212: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:10229: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

}

echo "$as_me:10246: checking for $cf_ncuhdr_root header in include-path" >&5
echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6
if test "${cf_cv_ncurses_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cf_header_list="$cf_ncuhdr_root/curses.h $cf_ncuhdr_root/ncurses.h"
	( test "$cf_ncuhdr_root" = ncurses || test "$cf_ncuhdr_root" = ncursesw ) && cf_header_list="$cf_header_list curses.h ncurses.h"
	for cf_header in $cf_header_list
	do

	cat >conftest.$ac_ext <<_ACEOF
#line 10258 "configure"
#include "confdefs.h"

#include <$cf_header>
int
main ()
{

#ifdef NCURSES_VERSION

printf("%s\n", NCURSES_VERSION);
#else
#ifdef __NCURSES_H
printf("old\n");
#else
	make an error
#endif
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:10282: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:10285: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:10288: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10291: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_ncurses_h=$cf_header

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_ncurses_h=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

		test "$cf_cv_ncurses_h" != no && break
	done

fi
echo "$as_me:10306: result: $cf_cv_ncurses_h" >&5
echo "${ECHO_T}$cf_cv_ncurses_h" >&6

if test "$cf_cv_ncurses_h" != no ; then
	cf_cv_ncurses_header=$cf_cv_ncurses_h
else

echo "$as_me:10313: checking for $cf_ncuhdr_root include-path" >&5
echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6
if test "${cf_cv_ncurses_h2+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	test -n "$verbose" && echo

cf_search=

# collect the current set of include-directories from compiler flags
cf_header_path_list=""
if test -n "${CFLAGS}${CPPFLAGS}" ; then
	for cf_header_path in $CPPFLAGS $CFLAGS
	do
		case $cf_header_path in #(vi
		-I*)
			cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'`

test "$cf_header_path" != "NONE" && \
test -d "$cf_header_path" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $cf_header_path"
	test -d $cf_header_path/include &&          cf_search="$cf_search $cf_header_path/include"
	test -d $cf_header_path/include/$cf_ncuhdr_root &&       cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root"
	test -d $cf_header_path/include/$cf_ncuhdr_root/include &&    cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root/include"
	test -d $cf_header_path/$cf_ncuhdr_root/include &&       cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include"
	test -d $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root &&    cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root"
}

			cf_header_path_list="$cf_header_path_list $cf_search"
			;;
		esac
	done
fi

# add the variations for the package we are looking for

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr"
	test -d /usr/include &&          cf_search="$cf_search /usr/include"
	test -d /usr/include/$cf_ncuhdr_root &&       cf_search="$cf_search /usr/include/$cf_ncuhdr_root"
	test -d /usr/include/$cf_ncuhdr_root/include &&    cf_search="$cf_search /usr/include/$cf_ncuhdr_root/include"
	test -d /usr/$cf_ncuhdr_root/include &&       cf_search="$cf_search /usr/$cf_ncuhdr_root/include"
	test -d /usr/$cf_ncuhdr_root/include/$cf_ncuhdr_root &&    cf_search="$cf_search /usr/$cf_ncuhdr_root/include/$cf_ncuhdr_root"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for include-directories under $prefix"
	test -d $prefix/include &&          cf_search="$cf_search $prefix/include"
	test -d $prefix/include/$cf_ncuhdr_root &&       cf_search="$cf_search $prefix/include/$cf_ncuhdr_root"
	test -d $prefix/include/$cf_ncuhdr_root/include &&    cf_search="$cf_search $prefix/include/$cf_ncuhdr_root/include"
	test -d $prefix/$cf_ncuhdr_root/include &&       cf_search="$cf_search $prefix/$cf_ncuhdr_root/include"
	test -d $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root &&    cf_search="$cf_search $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /usr/local"
	test -d /usr/local/include &&          cf_search="$cf_search /usr/local/include"
	test -d /usr/local/include/$cf_ncuhdr_root &&       cf_search="$cf_search /usr/local/include/$cf_ncuhdr_root"
	test -d /usr/local/include/$cf_ncuhdr_root/include &&    cf_search="$cf_search /usr/local/include/$cf_ncuhdr_root/include"
	test -d /usr/local/$cf_ncuhdr_root/include &&       cf_search="$cf_search /usr/local/$cf_ncuhdr_root/include"
	test -d /usr/local/$cf_ncuhdr_root/include/$cf_ncuhdr_root &&    cf_search="$cf_search /usr/local/$cf_ncuhdr_root/include/$cf_ncuhdr_root"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under /opt"
	test -d /opt/include &&          cf_search="$cf_search /opt/include"
	test -d /opt/include/$cf_ncuhdr_root &&       cf_search="$cf_search /opt/include/$cf_ncuhdr_root"
	test -d /opt/include/$cf_ncuhdr_root/include &&    cf_search="$cf_search /opt/include/$cf_ncuhdr_root/include"
	test -d /opt/$cf_ncuhdr_root/include &&       cf_search="$cf_search /opt/$cf_ncuhdr_root/include"
	test -d /opt/$cf_ncuhdr_root/include/$cf_ncuhdr_root &&    cf_search="$cf_search /opt/$cf_ncuhdr_root/include/$cf_ncuhdr_root"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for include-directories under $HOME"
	test -d $HOME/include &&          cf_search="$cf_search $HOME/include"
	test -d $HOME/include/$cf_ncuhdr_root &&       cf_search="$cf_search $HOME/include/$cf_ncuhdr_root"
	test -d $HOME/include/$cf_ncuhdr_root/include &&    cf_search="$cf_search $HOME/include/$cf_ncuhdr_root/include"
	test -d $HOME/$cf_ncuhdr_root/include &&       cf_search="$cf_search $HOME/$cf_ncuhdr_root/include"
	test -d $HOME/$cf_ncuhdr_root/include/$cf_ncuhdr_root &&    cf_search="$cf_search $HOME/$cf_ncuhdr_root/include/$cf_ncuhdr_root"
}

test "$includedir" != NONE && \
test "$includedir" != "/usr/include" && \
test -d "$includedir" && {
	test -d $includedir &&    cf_search="$cf_search $includedir"
	test -d $includedir/$cf_ncuhdr_root && cf_search="$cf_search $includedir/$cf_ncuhdr_root"
}

test "$oldincludedir" != NONE && \
test "$oldincludedir" != "/usr/include" && \
test -d "$oldincludedir" && {
	test -d $oldincludedir    && cf_search="$cf_search $oldincludedir"
	test -d $oldincludedir/$cf_ncuhdr_root && cf_search="$cf_search $oldincludedir/$cf_ncuhdr_root"
}

cf_search="$cf_search $cf_header_path_list"

	test -n "$verbose" && echo search path $cf_search
	cf_save2_CPPFLAGS="$CPPFLAGS"
	for cf_incdir in $cf_search
	do

if test -n "$cf_incdir" ; then
  for cf_add_incdir in $cf_incdir
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 10453 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:10465: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:10468: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:10471: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10474: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:10491: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

		for cf_header in \
			ncurses.h \
			curses.h
		do

	cat >conftest.$ac_ext <<_ACEOF
#line 10512 "configure"
#include "confdefs.h"

#include <$cf_header>
int
main ()
{

#ifdef NCURSES_VERSION

printf("%s\n", NCURSES_VERSION);
#else
#ifdef __NCURSES_H
printf("old\n");
#else
	make an error
#endif
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:10536: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:10539: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:10542: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10545: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_ncurses_h2=$cf_header

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_ncurses_h2=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

			if test "$cf_cv_ncurses_h2" != no ; then
				cf_cv_ncurses_h2=$cf_incdir/$cf_header
				test -n "$verbose" && echo $ac_n "	... found $ac_c" 1>&6
				break
			fi
			test -n "$verbose" && echo "	... tested $cf_incdir/$cf_header" 1>&6
		done
		CPPFLAGS="$cf_save2_CPPFLAGS"
		test "$cf_cv_ncurses_h2" != no && break
	done
	test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10566: error: not found" >&5
echo "$as_me: error: not found" >&2;}
   { (exit 1); exit 1; }; }

fi
echo "$as_me:10571: result: $cf_cv_ncurses_h2" >&5
echo "${ECHO_T}$cf_cv_ncurses_h2" >&6

	cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'`
	cf_cv_ncurses_header=`basename $cf_cv_ncurses_h2`
	if test `basename $cf_1st_incdir` = $cf_ncuhdr_root ; then
		cf_cv_ncurses_header=$cf_ncuhdr_root/$cf_cv_ncurses_header
	fi

if test -n "$cf_1st_incdir" ; then
  for cf_add_incdir in $cf_1st_incdir
  do
	while test $cf_add_incdir != /usr/include
	do
	  if test -d $cf_add_incdir
	  then
		cf_have_incdir=no
		if test -n "$CFLAGS$CPPFLAGS" ; then
		  # a loop is needed to ensure we can add subdirs of existing dirs
		  for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
			if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
			  cf_have_incdir=yes; break
			fi
		  done
		fi

		if test "$cf_have_incdir" = no ; then
		  if test "$cf_add_incdir" = /usr/local/include ; then
			if test "$GCC" = yes
			then
			  cf_save_CPPFLAGS=$CPPFLAGS
			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
			  cat >conftest.$ac_ext <<_ACEOF
#line 10604 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:10616: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:10619: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:10622: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10625: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_have_incdir=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext
			  CPPFLAGS=$cf_save_CPPFLAGS
			fi
		  fi
		fi

		if test "$cf_have_incdir" = no ; then
		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6

echo "${as_me:-configure}:10642: testing adding $cf_add_incdir to include-path ..." 1>&5

		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"

		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
		  test "$cf_top_incdir" = "$cf_add_incdir" && break
		  cf_add_incdir="$cf_top_incdir"
		else
		  break
		fi
	  fi
	done
  done
fi

fi

# Set definitions to allow ifdef'ing for ncurses.h

case $cf_cv_ncurses_header in # (vi
*ncurses.h)

cat >>confdefs.h <<\EOF
#define HAVE_NCURSES_H 1
EOF

	;;
esac

case $cf_cv_ncurses_header in # (vi
ncurses/curses.h|ncurses/ncurses.h)

cat >>confdefs.h <<\EOF
#define HAVE_NCURSES_NCURSES_H 1
EOF

	;;
ncursesw/curses.h|ncursesw/ncurses.h)

cat >>confdefs.h <<\EOF
#define HAVE_NCURSESW_NCURSES_H 1
EOF

	;;
esac

echo "$as_me:10688: checking for terminfo header" >&5
echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6
if test "${cf_cv_term_header+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

case ${cf_cv_ncurses_header} in #(vi
*/ncurses.h|*/ncursesw.h) #(vi
	cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[^.]*\.h$%term.h%'`
	;;
*)
	cf_term_header=term.h
	;;
esac

for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
do
cat >conftest.$ac_ext <<_ACEOF
#line 10706 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <${cf_cv_ncurses_header:-curses.h}>
#include <$cf_test>

int
main ()
{
int x = auto_left_margin
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:10721: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:10724: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:10727: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10730: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_term_header="$cf_test"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

	cf_cv_term_header=unknown

fi
rm -f conftest.$ac_objext conftest.$ac_ext
	test "$cf_cv_term_header" != unknown && break
done

fi
echo "$as_me:10746: result: $cf_cv_term_header" >&5
echo "${ECHO_T}$cf_cv_term_header" >&6

# Set definitions to allow ifdef'ing to accommodate subdirectories

case $cf_cv_term_header in # (vi
*term.h)

cat >>confdefs.h <<\EOF
#define HAVE_TERM_H 1
EOF

	;;
esac

case $cf_cv_term_header in # (vi
ncurses/term.h) #(vi

cat >>confdefs.h <<\EOF
#define HAVE_NCURSES_TERM_H 1
EOF

	;;
ncursesw/term.h)

cat >>confdefs.h <<\EOF
#define HAVE_NCURSESW_TERM_H 1
EOF

	;;
esac

# some applications need this, but should check for NCURSES_VERSION

cat >>confdefs.h <<\EOF
#define NCURSES 1
EOF

echo "$as_me:10784: checking for ncurses version" >&5
echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
if test "${cf_cv_ncurses_version+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cf_cv_ncurses_version=no
	cf_tempfile=out$$
	rm -f $cf_tempfile
	if test "$cross_compiling" = yes; then

	# This will not work if the preprocessor splits the line after the
	# Autoconf token.  The 'unproto' program does that.
	cat > conftest.$ac_ext <<EOF
#include <${cf_cv_ncurses_header:-curses.h}>
#undef Autoconf
#ifdef NCURSES_VERSION
Autoconf NCURSES_VERSION
#else
#ifdef __NCURSES_H
Autoconf "old"
#endif
;
#endif
EOF
	cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
	{ (eval echo "$as_me:10810: \"$cf_try\"") >&5
  (eval $cf_try) 2>&5
  ac_status=$?
  echo "$as_me:10813: \$? = $ac_status" >&5
  (exit $ac_status); }
	if test -f conftest.out ; then
		cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
		test -n "$cf_out" && cf_cv_ncurses_version="$cf_out"
		rm -f conftest.out
	fi

else
  cat >conftest.$ac_ext <<_ACEOF
#line 10823 "configure"
#include "confdefs.h"

#include <${cf_cv_ncurses_header:-curses.h}>
#include <stdio.h>
int main()
{
	FILE *fp = fopen("$cf_tempfile", "w");
#ifdef NCURSES_VERSION
# ifdef NCURSES_VERSION_PATCH
	fprintf(fp, "%s.%d\n", NCURSES_VERSION, NCURSES_VERSION_PATCH);
# else
	fprintf(fp, "%s\n", NCURSES_VERSION);
# endif
#else
# ifdef __NCURSES_H
	fprintf(fp, "old\n");
# else
	make an error
# endif
#endif
	${cf_cv_main_return:-return}(0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:10848: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:10851: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:10853: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10856: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_ncurses_version=`cat $cf_tempfile`
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
	rm -f $cf_tempfile

fi
echo "$as_me:10870: result: $cf_cv_ncurses_version" >&5
echo "${ECHO_T}$cf_cv_ncurses_version" >&6
test "$cf_cv_ncurses_version" = no ||
cat >>confdefs.h <<\EOF
#define NCURSES 1
EOF

cf_nculib_root=$use_ncurses
	# This works, except for the special case where we find gpm, but
	# ncurses is in a nonstandard location via $LIBS, and we really want
	# to link gpm.
cf_ncurses_LIBS=""
cf_ncurses_SAVE="$LIBS"
echo "$as_me:10883: checking for Gpm_Open in -lgpm" >&5
echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lgpm  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 10891 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char Gpm_Open ();
int
main ()
{
Gpm_Open ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:10910: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:10913: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:10916: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10919: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_gpm_Gpm_Open=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_gpm_Gpm_Open=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:10930: result: $ac_cv_lib_gpm_Gpm_Open" >&5
echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6
if test $ac_cv_lib_gpm_Gpm_Open = yes; then
  echo "$as_me:10933: checking for initscr in -lgpm" >&5
echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6
if test "${ac_cv_lib_gpm_initscr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lgpm  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 10941 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr ();
int
main ()
{
initscr ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:10960: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:10963: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:10966: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:10969: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_gpm_initscr=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_gpm_initscr=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:10980: result: $ac_cv_lib_gpm_initscr" >&5
echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6
if test $ac_cv_lib_gpm_initscr = yes; then
  LIBS="$cf_ncurses_SAVE"
else
  cf_ncurses_LIBS="-lgpm"
fi

fi

case $host_os in #(vi
freebsd*)
	# This is only necessary if you are linking against an obsolete
	# version of ncurses (but it should do no harm, since it's static).
	if test "$cf_nculib_root" = ncurses ; then
		echo "$as_me:10995: checking for tgoto in -lmytinfo" >&5
echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lmytinfo  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 11003 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
int
main ()
{
tgoto ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11022: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11025: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11028: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11031: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_mytinfo_tgoto=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_mytinfo_tgoto=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:11042: result: $ac_cv_lib_mytinfo_tgoto" >&5
echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
if test $ac_cv_lib_mytinfo_tgoto = yes; then
  cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS"
fi

	fi
	;;
esac

LIBS="$cf_ncurses_LIBS $LIBS"

if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" )
then
	LIBS="-l$cf_nculib_root $LIBS"
else

	eval 'cf_cv_have_lib_'$cf_nculib_root'=no'
	cf_libdir=""
	echo "$as_me:11061: checking for initscr" >&5
echo $ECHO_N "checking for initscr... $ECHO_C" >&6
if test "${ac_cv_func_initscr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 11067 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char initscr (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_initscr) || defined (__stub___initscr)
choke me
#else
f = initscr; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11098: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11101: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11104: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11107: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_initscr=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_initscr=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:11117: result: $ac_cv_func_initscr" >&5
echo "${ECHO_T}$ac_cv_func_initscr" >&6
if test $ac_cv_func_initscr = yes; then
  eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
else

		cf_save_LIBS="$LIBS"
		echo "$as_me:11124: checking for initscr in -l$cf_nculib_root" >&5
echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6
		LIBS="-l$cf_nculib_root $LIBS"
		cat >conftest.$ac_ext <<_ACEOF
#line 11128 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
initscr()
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11140: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11143: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11146: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11149: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:11151: result: yes" >&5
echo "${ECHO_T}yes" >&6
			 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
echo "$as_me:11158: result: no" >&5
echo "${ECHO_T}no" >&6

cf_search=
cf_library_path_list=""
if test -n "${LDFLAGS}${LIBS}" ; then
	for cf_library_path in $LDFLAGS $LIBS
	do
		case $cf_library_path in #(vi
		-L*)
			cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'`

test "$cf_library_path" != "NONE" && \
test -d "$cf_library_path" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $cf_library_path"
	test -d $cf_library_path/lib &&          cf_search="$cf_search $cf_library_path/lib"
	test -d $cf_library_path/lib/$cf_nculib_root &&       cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root"
	test -d $cf_library_path/lib/$cf_nculib_root/lib &&    cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root/lib"
	test -d $cf_library_path/$cf_nculib_root/lib &&       cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib"
	test -d $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root &&    cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root"
}

			cf_library_path_list="$cf_library_path_list $cf_search"
			;;
		esac
	done
fi

cf_search=

test "/usr" != "$prefix" && \
test -d "/usr" && \
(test $prefix = NONE || test "/usr" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr"
	test -d /usr/lib &&          cf_search="$cf_search /usr/lib"
	test -d /usr/lib/$cf_nculib_root &&       cf_search="$cf_search /usr/lib/$cf_nculib_root"
	test -d /usr/lib/$cf_nculib_root/lib &&    cf_search="$cf_search /usr/lib/$cf_nculib_root/lib"
	test -d /usr/$cf_nculib_root/lib &&       cf_search="$cf_search /usr/$cf_nculib_root/lib"
	test -d /usr/$cf_nculib_root/lib/$cf_nculib_root &&    cf_search="$cf_search /usr/$cf_nculib_root/lib/$cf_nculib_root"
}

test "$prefix" != "NONE" && \
test -d "$prefix" && \
 {
	test -n "$verbose" && echo "	... testing for lib-directories under $prefix"
	test -d $prefix/lib &&          cf_search="$cf_search $prefix/lib"
	test -d $prefix/lib/$cf_nculib_root &&       cf_search="$cf_search $prefix/lib/$cf_nculib_root"
	test -d $prefix/lib/$cf_nculib_root/lib &&    cf_search="$cf_search $prefix/lib/$cf_nculib_root/lib"
	test -d $prefix/$cf_nculib_root/lib &&       cf_search="$cf_search $prefix/$cf_nculib_root/lib"
	test -d $prefix/$cf_nculib_root/lib/$cf_nculib_root &&    cf_search="$cf_search $prefix/$cf_nculib_root/lib/$cf_nculib_root"
}

test "/usr/local" != "$prefix" && \
test -d "/usr/local" && \
(test $prefix = NONE || test "/usr/local" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /usr/local"
	test -d /usr/local/lib &&          cf_search="$cf_search /usr/local/lib"
	test -d /usr/local/lib/$cf_nculib_root &&       cf_search="$cf_search /usr/local/lib/$cf_nculib_root"
	test -d /usr/local/lib/$cf_nculib_root/lib &&    cf_search="$cf_search /usr/local/lib/$cf_nculib_root/lib"
	test -d /usr/local/$cf_nculib_root/lib &&       cf_search="$cf_search /usr/local/$cf_nculib_root/lib"
	test -d /usr/local/$cf_nculib_root/lib/$cf_nculib_root &&    cf_search="$cf_search /usr/local/$cf_nculib_root/lib/$cf_nculib_root"
}

test "/opt" != "$prefix" && \
test -d "/opt" && \
(test $prefix = NONE || test "/opt" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under /opt"
	test -d /opt/lib &&          cf_search="$cf_search /opt/lib"
	test -d /opt/lib/$cf_nculib_root &&       cf_search="$cf_search /opt/lib/$cf_nculib_root"
	test -d /opt/lib/$cf_nculib_root/lib &&    cf_search="$cf_search /opt/lib/$cf_nculib_root/lib"
	test -d /opt/$cf_nculib_root/lib &&       cf_search="$cf_search /opt/$cf_nculib_root/lib"
	test -d /opt/$cf_nculib_root/lib/$cf_nculib_root &&    cf_search="$cf_search /opt/$cf_nculib_root/lib/$cf_nculib_root"
}

test "$HOME" != "$prefix" && \
test -d "$HOME" && \
(test $prefix = NONE || test "$HOME" != "$prefix") && {
	test -n "$verbose" && echo "	... testing for lib-directories under $HOME"
	test -d $HOME/lib &&          cf_search="$cf_search $HOME/lib"
	test -d $HOME/lib/$cf_nculib_root &&       cf_search="$cf_search $HOME/lib/$cf_nculib_root"
	test -d $HOME/lib/$cf_nculib_root/lib &&    cf_search="$cf_search $HOME/lib/$cf_nculib_root/lib"
	test -d $HOME/$cf_nculib_root/lib &&       cf_search="$cf_search $HOME/$cf_nculib_root/lib"
	test -d $HOME/$cf_nculib_root/lib/$cf_nculib_root &&    cf_search="$cf_search $HOME/$cf_nculib_root/lib/$cf_nculib_root"
}

cf_search="$cf_library_path_list $cf_search"

			for cf_libdir in $cf_search
			do
				echo "$as_me:11248: checking for -l$cf_nculib_root in $cf_libdir" >&5
echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6
				LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS"
				cat >conftest.$ac_ext <<_ACEOF
#line 11252 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
initscr()
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11264: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11267: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11270: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11273: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:11275: result: yes" >&5
echo "${ECHO_T}yes" >&6
			 		 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
					 break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
echo "$as_me:11282: result: no" >&5
echo "${ECHO_T}no" >&6
					 LIBS="$cf_save_LIBS"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
			done

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

fi

eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root

if test $cf_found_library = no ; then
	{ { echo "$as_me:11297: error: Cannot link $cf_nculib_root library" >&5
echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;}
   { (exit 1); exit 1; }; }
fi

fi

if test -n "$cf_ncurses_LIBS" ; then
	echo "$as_me:11305: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6
	cf_ncurses_SAVE="$LIBS"
	for p in $cf_ncurses_LIBS ; do
		q=`echo $LIBS | sed -e "s%$p %%" -e "s%$p$%%"`
		if test "$q" != "$LIBS" ; then
			LIBS="$q"
		fi
	done
	cat >conftest.$ac_ext <<_ACEOF
#line 11315 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
initscr(); mousemask(0,0); tgoto((char *)0, 0, 0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11327: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11330: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11333: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11336: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:11338: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
echo "$as_me:11343: result: no" >&5
echo "${ECHO_T}no" >&6
		 LIBS="$cf_ncurses_SAVE"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi

cf_nculib_ROOT=`echo "HAVE_LIB$cf_nculib_root" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

cat >>confdefs.h <<EOF
#define $cf_nculib_ROOT 1
EOF

fi

else
	cf_wide_curses=no

echo "$as_me:11361: checking for extra include directories" >&5
echo $ECHO_N "checking for extra include directories... $ECHO_C" >&6
if test "${cf_cv_curses_incdir+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

cf_cv_curses_incdir=no
case $host_os in #(vi
hpux10.*) #(vi
	if test "x$cf_cv_screen" = "xcurses_colr"
	then
		test -d /usr/include/curses_colr && \
		cf_cv_curses_incdir="-I/usr/include/curses_colr"
	fi
	;;
sunos3*|sunos4*)
	if test "x$cf_cv_screen" = "xcurses_5lib"
	then
		test -d /usr/5lib && \
		test -d /usr/5include && \
		cf_cv_curses_incdir="-I/usr/5include"
	fi
	;;
esac

fi
echo "$as_me:11387: result: $cf_cv_curses_incdir" >&5
echo "${ECHO_T}$cf_cv_curses_incdir" >&6
test "$cf_cv_curses_incdir" != no && CPPFLAGS="$CPPFLAGS $cf_cv_curses_incdir"

echo "$as_me:11391: checking if we have identified curses headers" >&5
echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6
if test "${cf_cv_ncurses_header+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

cf_cv_ncurses_header=none
for cf_header in  \
	ncurses.h \
	curses.h ncurses/ncurses.h ncurses/curses.h
do
cat >conftest.$ac_ext <<_ACEOF
#line 11403 "configure"
#include "confdefs.h"
#include <${cf_header}>
int
main ()
{
initscr(); tgoto("?", 0,0)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:11415: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:11418: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:11421: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11424: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_ncurses_header=$cf_header; break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
done

fi
echo "$as_me:11435: result: $cf_cv_ncurses_header" >&5
echo "${ECHO_T}$cf_cv_ncurses_header" >&6

if test "$cf_cv_ncurses_header" = none ; then
	{ { echo "$as_me:11439: error: No curses header-files found" >&5
echo "$as_me: error: No curses header-files found" >&2;}
   { (exit 1); exit 1; }; }
fi

# cheat, to get the right #define's for HAVE_NCURSES_H, etc.

for ac_header in $cf_cv_ncurses_header
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:11449: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 11455 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:11459: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:11465: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:11484: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

echo "$as_me:11494: checking for terminfo header" >&5
echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6
if test "${cf_cv_term_header+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

case ${cf_cv_ncurses_header} in #(vi
*/ncurses.h|*/ncursesw.h) #(vi
	cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[^.]*\.h$%term.h%'`
	;;
*)
	cf_term_header=term.h
	;;
esac

for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
do
cat >conftest.$ac_ext <<_ACEOF
#line 11512 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <${cf_cv_ncurses_header:-curses.h}>
#include <$cf_test>

int
main ()
{
int x = auto_left_margin
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:11527: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:11530: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:11533: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11536: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_term_header="$cf_test"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

	cf_cv_term_header=unknown

fi
rm -f conftest.$ac_objext conftest.$ac_ext
	test "$cf_cv_term_header" != unknown && break
done

fi
echo "$as_me:11552: result: $cf_cv_term_header" >&5
echo "${ECHO_T}$cf_cv_term_header" >&6

# Set definitions to allow ifdef'ing to accommodate subdirectories

case $cf_cv_term_header in # (vi
*term.h)

cat >>confdefs.h <<\EOF
#define HAVE_TERM_H 1
EOF

	;;
esac

case $cf_cv_term_header in # (vi
ncurses/term.h) #(vi

cat >>confdefs.h <<\EOF
#define HAVE_NCURSES_TERM_H 1
EOF

	;;
ncursesw/term.h)

cat >>confdefs.h <<\EOF
#define HAVE_NCURSESW_TERM_H 1
EOF

	;;
esac

echo "$as_me:11584: checking for ncurses version" >&5
echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
if test "${cf_cv_ncurses_version+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cf_cv_ncurses_version=no
	cf_tempfile=out$$
	rm -f $cf_tempfile
	if test "$cross_compiling" = yes; then

	# This will not work if the preprocessor splits the line after the
	# Autoconf token.  The 'unproto' program does that.
	cat > conftest.$ac_ext <<EOF
#include <${cf_cv_ncurses_header:-curses.h}>
#undef Autoconf
#ifdef NCURSES_VERSION
Autoconf NCURSES_VERSION
#else
#ifdef __NCURSES_H
Autoconf "old"
#endif
;
#endif
EOF
	cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
	{ (eval echo "$as_me:11610: \"$cf_try\"") >&5
  (eval $cf_try) 2>&5
  ac_status=$?
  echo "$as_me:11613: \$? = $ac_status" >&5
  (exit $ac_status); }
	if test -f conftest.out ; then
		cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
		test -n "$cf_out" && cf_cv_ncurses_version="$cf_out"
		rm -f conftest.out
	fi

else
  cat >conftest.$ac_ext <<_ACEOF
#line 11623 "configure"
#include "confdefs.h"

#include <${cf_cv_ncurses_header:-curses.h}>
#include <stdio.h>
int main()
{
	FILE *fp = fopen("$cf_tempfile", "w");
#ifdef NCURSES_VERSION
# ifdef NCURSES_VERSION_PATCH
	fprintf(fp, "%s.%d\n", NCURSES_VERSION, NCURSES_VERSION_PATCH);
# else
	fprintf(fp, "%s\n", NCURSES_VERSION);
# endif
#else
# ifdef __NCURSES_H
	fprintf(fp, "old\n");
# else
	make an error
# endif
#endif
	${cf_cv_main_return:-return}(0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:11648: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11651: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:11653: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11656: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	cf_cv_ncurses_version=`cat $cf_tempfile`
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
	rm -f $cf_tempfile

fi
echo "$as_me:11670: result: $cf_cv_ncurses_version" >&5
echo "${ECHO_T}$cf_cv_ncurses_version" >&6
test "$cf_cv_ncurses_version" = no ||
cat >>confdefs.h <<\EOF
#define NCURSES 1
EOF

echo "$as_me:11677: checking if we have identified curses libraries" >&5
echo $ECHO_N "checking if we have identified curses libraries... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line 11680 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
initscr(); tgoto("?", 0,0)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11692: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11695: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11698: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11701: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_result=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_result=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
echo "$as_me:11710: result: $cf_result" >&5
echo "${ECHO_T}$cf_result" >&6

if test "$cf_result" = no ; then
case $host_os in #(vi
freebsd*) #(vi
    echo "$as_me:11716: checking for tgoto in -lmytinfo" >&5
echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lmytinfo  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 11724 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
int
main ()
{
tgoto ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11743: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11746: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11749: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11752: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_mytinfo_tgoto=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_mytinfo_tgoto=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:11763: result: $ac_cv_lib_mytinfo_tgoto" >&5
echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
if test $ac_cv_lib_mytinfo_tgoto = yes; then
  LIBS="-lmytinfo $LIBS"
fi

    ;;
hpux10.*) #(vi
	# Looking at HPUX 10.20, the Hcurses library is the oldest (1997), cur_colr
	# next (1998), and xcurses "newer" (2000).  There is no header file for
	# Hcurses; the subdirectory curses_colr has the headers (curses.h and
	# term.h) for cur_colr
	if test "x$cf_cv_screen" = "xcurses_colr"
	then
		echo "$as_me:11777: checking for initscr in -lcur_colr" >&5
echo $ECHO_N "checking for initscr in -lcur_colr... $ECHO_C" >&6
if test "${ac_cv_lib_cur_colr_initscr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lcur_colr  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 11785 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr ();
int
main ()
{
initscr ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11804: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11807: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11810: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11813: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_cur_colr_initscr=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_cur_colr_initscr=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:11824: result: $ac_cv_lib_cur_colr_initscr" >&5
echo "${ECHO_T}$ac_cv_lib_cur_colr_initscr" >&6
if test $ac_cv_lib_cur_colr_initscr = yes; then

			LIBS="-lcur_colr $LIBS"
			ac_cv_func_initscr=yes

else

		echo "$as_me:11833: checking for initscr in -lHcurses" >&5
echo $ECHO_N "checking for initscr in -lHcurses... $ECHO_C" >&6
if test "${ac_cv_lib_Hcurses_initscr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lHcurses  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 11841 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr ();
int
main ()
{
initscr ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:11860: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:11863: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:11866: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:11869: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Hcurses_initscr=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_Hcurses_initscr=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:11880: result: $ac_cv_lib_Hcurses_initscr" >&5
echo "${ECHO_T}$ac_cv_lib_Hcurses_initscr" >&6
if test $ac_cv_lib_Hcurses_initscr = yes; then

			# HP's header uses __HP_CURSES, but user claims _HP_CURSES.
			LIBS="-lHcurses $LIBS"
			CPPFLAGS="$CPPFLAGS -D__HP_CURSES -D_HP_CURSES"
			ac_cv_func_initscr=yes

fi

fi

	fi
    ;;
linux*)
	case `arch 2>/dev/null` in
	x86_64)
		if test -d /lib64
		then

if test -n "/lib64" ; then
  for cf_add_libdir in /lib64
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:11920: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

		else

if test -n "/lib" ; then
  for cf_add_libdir in /lib
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:11949: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

		fi
		;;
	*)

if test -n "/lib" ; then
  for cf_add_libdir in /lib
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:11980: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

		;;
	esac
    ;;
sunos3*|sunos4*)
	if test "x$cf_cv_screen" = "xcurses_5lib"
	then
		if test -d /usr/5lib ; then

if test -n "/usr/5lib" ; then
  for cf_add_libdir in /usr/5lib
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me:-configure}:12015: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

			LIBS="-lcurses -ltermcap $LIBS"
		fi
    fi
    ac_cv_func_initscr=yes
    ;;
esac

if test ".$ac_cv_func_initscr" != .yes ; then
    cf_save_LIBS="$LIBS"
    cf_term_lib=""
    cf_curs_lib=""

    if test ".${cf_cv_ncurses_version:-no}" != .no
    then
        cf_check_list="ncurses curses cursesX"
    else
        cf_check_list="cursesX curses ncurses"
    fi

    # Check for library containing tgoto.  Do this before curses library
    # because it may be needed to link the test-case for initscr.
    echo "$as_me:12044: checking for tgoto" >&5
echo $ECHO_N "checking for tgoto... $ECHO_C" >&6
if test "${ac_cv_func_tgoto+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 12050 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char tgoto (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_tgoto) || defined (__stub___tgoto)
choke me
#else
f = tgoto; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12081: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12084: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12087: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12090: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_tgoto=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_tgoto=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:12100: result: $ac_cv_func_tgoto" >&5
echo "${ECHO_T}$ac_cv_func_tgoto" >&6
if test $ac_cv_func_tgoto = yes; then
  cf_term_lib=predefined
else

        for cf_term_lib in $cf_check_list otermcap termcap tinfo termlib unknown
        do
            as_ac_Lib=`echo "ac_cv_lib_$cf_term_lib''_tgoto" | $as_tr_sh`
echo "$as_me:12109: checking for tgoto in -l$cf_term_lib" >&5
echo $ECHO_N "checking for tgoto in -l$cf_term_lib... $ECHO_C" >&6
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-l$cf_term_lib  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 12117 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char tgoto ();
int
main ()
{
tgoto ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12136: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12139: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12142: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12145: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Lib=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_Lib=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:12156: result: `eval echo '${'$as_ac_Lib'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
  break
fi

        done

fi

    # Check for library containing initscr
    test "$cf_term_lib" != predefined && test "$cf_term_lib" != unknown && LIBS="-l$cf_term_lib $cf_save_LIBS"
 	for cf_curs_lib in $cf_check_list xcurses jcurses pdcurses unknown
    do
        as_ac_Lib=`echo "ac_cv_lib_$cf_curs_lib''_initscr" | $as_tr_sh`
echo "$as_me:12171: checking for initscr in -l$cf_curs_lib" >&5
echo $ECHO_N "checking for initscr in -l$cf_curs_lib... $ECHO_C" >&6
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-l$cf_curs_lib  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 12179 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr ();
int
main ()
{
initscr ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12198: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12201: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12204: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12207: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Lib=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_Lib=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:12218: result: `eval echo '${'$as_ac_Lib'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
  break
fi

    done
    test $cf_curs_lib = unknown && { { echo "$as_me:12225: error: no curses library found" >&5
echo "$as_me: error: no curses library found" >&2;}
   { (exit 1); exit 1; }; }

    LIBS="-l$cf_curs_lib $cf_save_LIBS"
    if test "$cf_term_lib" = unknown ; then
        echo "$as_me:12231: checking if we can link with $cf_curs_lib library" >&5
echo $ECHO_N "checking if we can link with $cf_curs_lib library... $ECHO_C" >&6
        cat >conftest.$ac_ext <<_ACEOF
#line 12234 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
initscr()
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12246: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12249: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12252: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12255: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_result=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_result=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        echo "$as_me:12264: result: $cf_result" >&5
echo "${ECHO_T}$cf_result" >&6
        test $cf_result = no && { { echo "$as_me:12266: error: Cannot link curses library" >&5
echo "$as_me: error: Cannot link curses library" >&2;}
   { (exit 1); exit 1; }; }
    elif test "$cf_curs_lib" = "$cf_term_lib" ; then
        :
    elif test "$cf_term_lib" != predefined ; then
        echo "$as_me:12272: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
echo $ECHO_N "checking if we need both $cf_curs_lib and $cf_term_lib libraries... $ECHO_C" >&6
        cat >conftest.$ac_ext <<_ACEOF
#line 12275 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
initscr(); tgoto((char *)0, 0, 0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12287: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12290: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12293: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12296: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_result=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

            LIBS="-l$cf_curs_lib -l$cf_term_lib $cf_save_LIBS"
            cat >conftest.$ac_ext <<_ACEOF
#line 12305 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
initscr()
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12317: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12320: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12323: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12326: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_result=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_result=error
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        echo "$as_me:12338: result: $cf_result" >&5
echo "${ECHO_T}$cf_result" >&6
    fi
fi
fi

fi

cf_all_widgets=yes

echo "$as_me:12348: checking if you want extra dialogs" >&5
echo $ECHO_N "checking if you want extra dialogs... $ECHO_C" >&6

# Check whether --enable-extras or --disable-extras was given.
if test "${enable_extras+set}" = set; then
  enableval="$enable_extras"

else
  enableval=yes
fi;
echo "$as_me:12358: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
cf_all_widgets=yes
else
cf_all_widgets=no
fi

echo "$as_me:12366: checking if you want config-file support" >&5
echo $ECHO_N "checking if you want config-file support... $ECHO_C" >&6

# Check whether --enable-rc-file or --disable-rc-file was given.
if test "${enable_rc_file+set}" = set; then
  enableval="$enable_rc_file"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12376: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS rc\$o"

cat >>confdefs.h <<\EOF
#define HAVE_RC_FILE 1
EOF

else
	:
fi

echo "$as_me:12389: checking if you want Xdialog-style dialogs" >&5
echo $ECHO_N "checking if you want Xdialog-style dialogs... $ECHO_C" >&6

# Check whether --enable-Xdialog or --disable-Xdialog was given.
if test "${enable_Xdialog+set}" = set; then
  enableval="$enable_Xdialog"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12399: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS calendar\$o fselect\$o timebox\$o"

cat >>confdefs.h <<\EOF
#define HAVE_XDIALOG 1
EOF

else
	:
fi

echo "$as_me:12412: checking if you want extra Xdialog-style dialogs (1.2)" >&5
echo $ECHO_N "checking if you want extra Xdialog-style dialogs (1.2)... $ECHO_C" >&6

# Check whether --enable-Xdialog2 or --disable-Xdialog2 was given.
if test "${enable_Xdialog2+set}" = set; then
  enableval="$enable_Xdialog2"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12422: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS buildlist\$o rangebox\$o treeview\$o"

cat >>confdefs.h <<\EOF
#define HAVE_XDIALOG2 1
EOF

else
	:
fi

echo "$as_me:12435: checking if you want compatibility with whiptail options" >&5
echo $ECHO_N "checking if you want compatibility with whiptail options... $ECHO_C" >&6

# Check whether --enable-whiptail or --disable-whiptail was given.
if test "${enable_whiptail+set}" = set; then
  enableval="$enable_whiptail"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12445: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then

cat >>confdefs.h <<\EOF
#define HAVE_WHIPTAIL 1
EOF

else
	:
fi

echo "$as_me:12457: checking if you want the form dialog" >&5
echo $ECHO_N "checking if you want the form dialog... $ECHO_C" >&6

# Check whether --enable-form or --disable-form was given.
if test "${enable_form+set}" = set; then
  enableval="$enable_form"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12467: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS formbox\$o"

cat >>confdefs.h <<\EOF
#define HAVE_DLG_FORMBOX 1
EOF

else
	:
fi

echo "$as_me:12480: checking if you want the gauge dialog" >&5
echo $ECHO_N "checking if you want the gauge dialog... $ECHO_C" >&6

# Check whether --enable-gauge or --disable-gauge was given.
if test "${enable_gauge+set}" = set; then
  enableval="$enable_gauge"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12490: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS guage\$o pause\$o prgbox\$o progressbox\$o"

cat >>confdefs.h <<\EOF
#define HAVE_DLG_GAUGE 1
EOF

else
	:
fi

echo "$as_me:12503: checking if you want the tailbox dialog" >&5
echo $ECHO_N "checking if you want the tailbox dialog... $ECHO_C" >&6

# Check whether --enable-tailbox or --disable-tailbox was given.
if test "${enable_tailbox+set}" = set; then
  enableval="$enable_tailbox"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12513: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS tailbox\$o"

cat >>confdefs.h <<\EOF
#define HAVE_DLG_TAILBOX 1
EOF

else
	:
fi

echo "$as_me:12526: checking if you want the mixedform dialog" >&5
echo $ECHO_N "checking if you want the mixedform dialog... $ECHO_C" >&6

# Check whether --enable-mixedform or --disable-mixedform was given.
if test "${enable_mixedform+set}" = set; then
  enableval="$enable_mixedform"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12536: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS mixedform\$o"

cat >>confdefs.h <<\EOF
#define HAVE_DLG_MIXEDFORM 1
EOF

else
	:
fi

echo "$as_me:12549: checking if you want the mixedgauge dialog" >&5
echo $ECHO_N "checking if you want the mixedgauge dialog... $ECHO_C" >&6

# Check whether --enable-mixedgauge or --disable-mixedgauge was given.
if test "${enable_mixedgauge+set}" = set; then
  enableval="$enable_mixedgauge"

else
  enableval=$cf_all_widgets
fi;
echo "$as_me:12559: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then
EXTRAOBJS="$EXTRAOBJS mixedgauge\$o"

cat >>confdefs.h <<\EOF
#define HAVE_MIXEDGAUGE 1
EOF

else
	:
fi

echo "$as_me:12572: checking if you want the wide-curses features" >&5
echo $ECHO_N "checking if you want the wide-curses features... $ECHO_C" >&6

# Check whether --enable-widec or --disable-widec was given.
if test "${enable_widec+set}" = set; then
  enableval="$enable_widec"

else
  enableval=$cf_wide_curses
fi;
echo "$as_me:12582: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "$enableval" != no ; then

cat >>confdefs.h <<\EOF
#define USE_WIDE_CURSES 1
EOF

else
	:
fi

echo "$as_me:12594: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 12600 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>

_ACEOF
if { (eval echo "$as_me:12608: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:12614: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_cv_header_stdc=yes
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_header_stdc=no
fi
rm -f conftest.err conftest.$ac_ext

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line 12636 "configure"
#include "confdefs.h"
#include <string.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -rf conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line 12654 "configure"
#include "confdefs.h"
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -rf conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF
#line 12675 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
                     || ('j' <= (c) && (c) <= 'r') \
                     || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
        || toupper (i) != TOUPPER (i))
      $ac_main_return(2);
  $ac_main_return (0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:12701: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12704: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:12706: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12709: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_header_stdc=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
echo "$as_me:12722: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then

cat >>confdefs.h <<\EOF
#define STDC_HEADERS 1
EOF

fi

echo "$as_me:12732: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 12738 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>

int
main ()
{
if ((struct tm *) 0)
return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:12754: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:12757: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:12760: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12763: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_time=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_header_time=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:12773: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
if test $ac_cv_header_time = yes; then

cat >>confdefs.h <<\EOF
#define TIME_WITH_SYS_TIME 1
EOF

fi

ac_header_dirent=no
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
echo "$as_me:12786: checking for $ac_hdr that defines DIR" >&5
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 12792 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_hdr>

int
main ()
{
if ((DIR *) 0)
return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:12807: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:12810: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:12813: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12816: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_Header=no"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:12826: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
EOF

ac_header_dirent=$ac_hdr; break
fi

done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
  echo "$as_me:12839: checking for opendir in -ldir" >&5
echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
if test "${ac_cv_lib_dir_opendir+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldir  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 12847 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12866: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12869: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12872: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12875: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_dir_opendir=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_dir_opendir=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:12886: result: $ac_cv_lib_dir_opendir" >&5
echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
if test $ac_cv_lib_dir_opendir = yes; then
  LIBS="$LIBS -ldir"
fi

else
  echo "$as_me:12893: checking for opendir in -lx" >&5
echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
if test "${ac_cv_lib_x_opendir+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lx  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 12901 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:12920: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:12923: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:12926: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:12929: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_x_opendir=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_x_opendir=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:12940: result: $ac_cv_lib_x_opendir" >&5
echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
if test $ac_cv_lib_x_opendir = yes; then
  LIBS="$LIBS -lx"
fi

fi

for ac_header in search.h unctrl.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:12951: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 12957 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:12961: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:12967: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:12986: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

echo "$as_me:12996: checking for term.h" >&5
echo $ECHO_N "checking for term.h... $ECHO_C" >&6
if test "${cf_cv_term_header+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

# If we found <ncurses/curses.h>, look for <ncurses/term.h>, but always look
# for <term.h> if we do not find the variant.

cf_header_list="term.h ncurses/term.h ncursesw/term.h"

case ${cf_cv_ncurses_header:-curses.h} in #(vi
*/*)
	cf_header_item=`echo ${cf_cv_ncurses_header:-curses.h} | sed -e 's%\..*%%' -e 's%/.*%/%'`term.h
	cf_header_list="$cf_header_item $cf_header_list"
	;;
esac

for cf_header in $cf_header_list
do
	cat >conftest.$ac_ext <<_ACEOF
#line 13017 "configure"
#include "confdefs.h"

#include <${cf_cv_ncurses_header:-curses.h}>
#include <${cf_header}>
int
main ()
{
WINDOW *x
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13031: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13034: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13037: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13040: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_term_header=$cf_header
	 break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_term_header=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
done

case $cf_cv_term_header in #(vi
no)
	# If curses is ncurses, some packagers still mess it up by trying to make
	# us use GNU termcap.  This handles the most common case.
	for cf_header in ncurses/term.h ncursesw/term.h
	do
		cat >conftest.$ac_ext <<_ACEOF
#line 13059 "configure"
#include "confdefs.h"

#include <${cf_cv_ncurses_header:-curses.h}>
#ifdef NCURSES_VERSION
#include <${cf_header}>
#else
make an error
#endif
int
main ()
{
WINDOW *x
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13077: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13080: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13083: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13086: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_term_header=$cf_header
			 break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_term_header=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	done
	;;
esac

fi
echo "$as_me:13101: result: $cf_cv_term_header" >&5
echo "${ECHO_T}$cf_cv_term_header" >&6

case $cf_cv_term_header in #(vi
term.h) #(vi

cat >>confdefs.h <<\EOF
#define HAVE_TERM_H 1
EOF

	;;
ncurses/term.h) #(vi

cat >>confdefs.h <<\EOF
#define HAVE_NCURSES_TERM_H 1
EOF

	;;
ncursesw/term.h)

cat >>confdefs.h <<\EOF
#define HAVE_NCURSESW_TERM_H 1
EOF

	;;
esac

echo "$as_me:13128: checking return type of signal handlers" >&5
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
if test "${ac_cv_type_signal+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 13134 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
#ifdef signal
# undef signal
#endif
#ifdef __cplusplus
extern "C" void (*signal (int, void (*)(int)))(int);
#else
void (*signal ()) ();
#endif

int
main ()
{
int i;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13156: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13159: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13162: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13165: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_signal=void
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_type_signal=int
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:13175: result: $ac_cv_type_signal" >&5
echo "${ECHO_T}$ac_cv_type_signal" >&6

cat >>confdefs.h <<EOF
#define RETSIGTYPE $ac_cv_type_signal
EOF

for ac_func in \
_nc_free_and_exit \
btowc \
mblen \
mbrlen \
mbrtowc \
mbtowc \
strcasecmp \
strftime \
tsearch \
waitpid \
wcsrtombs \
wcstombs \
wctob \
wctomb \

do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:13200: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 13206 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13237: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13240: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13243: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13246: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:13256: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
EOF

fi
done

echo "$as_me:13266: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6
if test "${cf_cv_need_xopen_extension+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

cat >conftest.$ac_ext <<_ACEOF
#line 13273 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{

#if defined(NCURSES_VERSION_PATCH)
#if (NCURSES_VERSION_PATCH < 20100501) && (NCURSES_VERSION_PATCH >= 20100403)
	make an error
#endif
#endif
	long x = winnstr(stdscr, "", 0);
	int x1, y1;
	getbegyx(stdscr, y1, x1)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13295: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13298: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13301: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13304: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_need_xopen_extension=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF
#line 13311 "configure"
#include "confdefs.h"

#define _XOPEN_SOURCE_EXTENDED
#include <stdlib.h>
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{

#ifdef NCURSES_VERSION
	cchar_t check;
	int check2 = curs_set((int)sizeof(check));
#endif
	long x = winnstr(stdscr, "", 0);
	int x1, y1;
	getbegyx(stdscr, y1, x1)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13333: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13336: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13339: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13342: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_need_xopen_extension=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_need_xopen_extension=unknown
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:13354: result: $cf_cv_need_xopen_extension" >&5
echo "${ECHO_T}$cf_cv_need_xopen_extension" >&6
test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"

echo "$as_me:13358: checking for unctrl.h" >&5
echo $ECHO_N "checking for unctrl.h... $ECHO_C" >&6
if test "${cf_cv_unctrl_header+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

# If we found <ncurses/curses.h>, look for <ncurses/unctrl.h>, but always look
# for <unctrl.h> if we do not find the variant.

cf_header_list="unctrl.h ncurses/unctrl.h ncursesw/unctrl.h"

case ${cf_cv_ncurses_header:-curses.h} in #(vi
*/*)
	cf_header_item=`echo ${cf_cv_ncurses_header:-curses.h} | sed -e 's%\..*%%' -e 's%/.*%/%'`unctrl.h
	cf_header_list="$cf_header_item $cf_header_list"
	;;
esac

for cf_header in $cf_header_list
do
	cat >conftest.$ac_ext <<_ACEOF
#line 13379 "configure"
#include "confdefs.h"

#include <${cf_cv_ncurses_header:-curses.h}>
#include <${cf_header}>
int
main ()
{
WINDOW *x
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13393: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13396: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13399: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13402: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_unctrl_header=$cf_header
	 break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_unctrl_header=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
done

case $cf_cv_unctrl_header in #(vi
no)
	{ echo "$as_me:13416: WARNING: unctrl.h header not found" >&5
echo "$as_me: WARNING: unctrl.h header not found" >&2;}
	;;
esac

fi
echo "$as_me:13422: result: $cf_cv_unctrl_header" >&5
echo "${ECHO_T}$cf_cv_unctrl_header" >&6

case $cf_cv_unctrl_header in #(vi
unctrl.h) #(vi

cat >>confdefs.h <<\EOF
#define HAVE_UNCTRL_H 1
EOF

	;;
ncurses/unctrl.h) #(vi

cat >>confdefs.h <<\EOF
#define HAVE_NCURSES_UNCTRL_H 1
EOF

	;;
ncursesw/unctrl.h)

cat >>confdefs.h <<\EOF
#define HAVE_NCURSESW_UNCTRL_H 1
EOF

	;;
esac

for cf_func in \
flushinp \
getattrs \
getbegx \
getbegy \
getbegyx \
getcurx \
getcury \
getmaxx \
getmaxy \
getmaxyx \
getparx \
getpary \
getparyx \
use_default_colors \
wchgat \
wcursyncup \
wget_wch \
wsyncup \

do

cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

	echo "$as_me:13473: checking for ${cf_func}" >&5
echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6

echo "${as_me:-configure}:13476: testing ${cf_func} ..." 1>&5

	if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		eval cf_result='$ac_cv_func_'$cf_func
		if test ".$cf_result" != ".no"; then
			cat >conftest.$ac_ext <<_ACEOF
#line 13485 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <${cf_cv_ncurses_header:-curses.h}>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef ${cf_func}
long foo = (long)(&${cf_func});
if (foo + 1234 > 5678)
	${cf_cv_main_return:-return}(foo);
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13517: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13520: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13523: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13526: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_result=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_result=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
		fi
		eval 'cf_cv_func_'$cf_func'=$cf_result'

fi

	# use the computed/retrieved cache-value:
	eval 'cf_result=$cf_cv_func_'$cf_func
	echo "$as_me:13542: result: $cf_result" >&5
echo "${ECHO_T}$cf_result" >&6
	if test $cf_result != no; then
		cat >>confdefs.h <<EOF
#define HAVE_${cf_tr_func} 1
EOF

	fi
done

echo "$as_me:13552: checking for start_color" >&5
echo $ECHO_N "checking for start_color... $ECHO_C" >&6
if test "${ac_cv_func_start_color+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 13558 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char start_color (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char start_color ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_start_color) || defined (__stub___start_color)
choke me
#else
f = start_color; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13589: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13592: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13595: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13598: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_start_color=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_start_color=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:13608: result: $ac_cv_func_start_color" >&5
echo "${ECHO_T}$ac_cv_func_start_color" >&6
if test $ac_cv_func_start_color = yes; then

cat >>confdefs.h <<\EOF
#define HAVE_COLOR 1
EOF

fi

echo "$as_me:13618: checking for chtype typedef" >&5
echo $ECHO_N "checking for chtype typedef... $ECHO_C" >&6
if test "${cf_cv_chtype_decl+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cat >conftest.$ac_ext <<_ACEOF
#line 13625 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
chtype foo
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13637: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13640: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13643: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13646: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_chtype_decl=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_chtype_decl=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:13656: result: $cf_cv_chtype_decl" >&5
echo "${ECHO_T}$cf_cv_chtype_decl" >&6
if test $cf_cv_chtype_decl = yes ; then

cat >>confdefs.h <<\EOF
#define HAVE_TYPE_CHTYPE 1
EOF

	echo "$as_me:13664: checking if chtype is scalar or struct" >&5
echo $ECHO_N "checking if chtype is scalar or struct... $ECHO_C" >&6
if test "${cf_cv_chtype_type+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		cat >conftest.$ac_ext <<_ACEOF
#line 13671 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
chtype foo; long x = foo
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13683: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13686: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13689: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13692: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_chtype_type=scalar
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_chtype_type=struct
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:13702: result: $cf_cv_chtype_type" >&5
echo "${ECHO_T}$cf_cv_chtype_type" >&6
	if test $cf_cv_chtype_type = scalar ; then

cat >>confdefs.h <<\EOF
#define TYPE_CHTYPE_IS_SCALAR 1
EOF

	fi
fi

echo "$as_me:13713: checking for wide alternate character set array" >&5
echo $ECHO_N "checking for wide alternate character set array... $ECHO_C" >&6
if test "${cf_cv_curses_wacs_map+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cf_cv_curses_wacs_map=unknown
	for name in wacs_map _wacs_map __wacs_map _nc_wacs _wacs_char
	do
	cat >conftest.$ac_ext <<_ACEOF
#line 13723 "configure"
#include "confdefs.h"

#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
void *foo = &($name['k'])
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13739: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13742: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13745: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13748: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_curses_wacs_map=$name
	 break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
	done
fi
echo "$as_me:13759: result: $cf_cv_curses_wacs_map" >&5
echo "${ECHO_T}$cf_cv_curses_wacs_map" >&6

test "$cf_cv_curses_wacs_map" != unknown &&
cat >>confdefs.h <<EOF
#define CURSES_WACS_ARRAY $cf_cv_curses_wacs_map
EOF

echo "$as_me:13767: checking for wide alternate character constants" >&5
echo $ECHO_N "checking for wide alternate character constants... $ECHO_C" >&6
if test "${cf_cv_curses_wacs_symbols+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

cf_cv_curses_wacs_symbols=no
if test "$cf_cv_curses_wacs_map" != unknown
then
	cat >conftest.$ac_ext <<_ACEOF
#line 13777 "configure"
#include "confdefs.h"

#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
cchar_t *foo = WACS_PLUS;
	 $cf_cv_curses_wacs_map['k'] = *WACS_PLUS
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13794: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13797: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13800: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13803: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_curses_wacs_symbols=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
else
	cat >conftest.$ac_ext <<_ACEOF
#line 13813 "configure"
#include "confdefs.h"

#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
cchar_t *foo = WACS_PLUS
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13829: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13832: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13835: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13838: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_curses_wacs_symbols=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi

fi
echo "$as_me:13849: result: $cf_cv_curses_wacs_symbols" >&5
echo "${ECHO_T}$cf_cv_curses_wacs_symbols" >&6

test "$cf_cv_curses_wacs_symbols" != no &&
cat >>confdefs.h <<\EOF
#define CURSES_WACS_SYMBOLS 1
EOF

for cf_func in wgetparent
do

cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

	echo "$as_me:13862: checking for ${cf_func}" >&5
echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6

echo "${as_me:-configure}:13865: testing ${cf_func} ..." 1>&5

	if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		eval cf_result='$ac_cv_func_'$cf_func
		if test ".$cf_result" != ".no"; then
			cat >conftest.$ac_ext <<_ACEOF
#line 13874 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <${cf_cv_ncurses_header:-curses.h}>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef ${cf_func}
long foo = (long)(&${cf_func});
if (foo + 1234 > 5678)
	${cf_cv_main_return:-return}(foo);
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13906: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13909: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13912: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13915: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_result=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_result=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
		fi
		eval 'cf_cv_func_'$cf_func'=$cf_result'

fi

	# use the computed/retrieved cache-value:
	eval 'cf_result=$cf_cv_func_'$cf_func
	echo "$as_me:13931: result: $cf_result" >&5
echo "${ECHO_T}$cf_result" >&6
	if test $cf_result != no; then
		cat >>confdefs.h <<EOF
#define HAVE_${cf_tr_func} 1
EOF

	fi
done

if test "x$cf_cv_func_wgetparent" != xyes
then
	echo "$as_me:13943: checking if WINDOW has _parent member" >&5
echo $ECHO_N "checking if WINDOW has _parent member... $ECHO_C" >&6
	cat >conftest.$ac_ext <<_ACEOF
#line 13946 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
WINDOW *p = stdscr->_parent
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13958: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13961: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13964: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13967: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_window__parent=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_window__parent=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	echo "$as_me:13976: result: $cf_window__parent" >&5
echo "${ECHO_T}$cf_window__parent" >&6
	if test "$cf_window__parent" = yes
	then

cat >>confdefs.h <<\EOF
#define HAVE_WINDOW__PARENT 1
EOF

	fi
fi

for ac_header in sys/wait.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:13991: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 13997 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:14001: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:14007: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:14026: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

cf_wait_headers="#include <sys/types.h>
"
if test $ac_cv_header_sys_wait_h = yes; then
cf_wait_headers="$cf_wait_headers
#include <sys/wait.h>
"
else

for ac_header in wait.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:14047: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 14053 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:14057: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:14063: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:14082: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

for ac_header in waitstatus.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:14095: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 14101 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:14105: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:14111: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:14130: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF

fi
done

if test $ac_cv_header_wait_h = yes; then
cf_wait_headers="$cf_wait_headers
#include <wait.h>
"
fi
if test $ac_cv_header_waitstatus_h = yes; then
cf_wait_headers="$cf_wait_headers
#include <waitstatus.h>
"
fi
fi

echo "$as_me:14152: checking for union wait" >&5
echo $ECHO_N "checking for union wait... $ECHO_C" >&6
if test "${cf_cv_type_unionwait+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cat >conftest.$ac_ext <<_ACEOF
#line 14159 "configure"
#include "confdefs.h"
$cf_wait_headers
int
main ()
{
int x;
	 int y = WEXITSTATUS(x);
	 int z = WTERMSIG(x);
	 wait(&x);

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:14175: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:14178: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:14181: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14184: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_type_unionwait=no
	 echo compiles ok w/o union wait 1>&5

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

	cat >conftest.$ac_ext <<_ACEOF
#line 14194 "configure"
#include "confdefs.h"
$cf_wait_headers
int
main ()
{
union wait x;
#ifdef WEXITSTATUS
	 int y = WEXITSTATUS(x);
#endif
#ifdef WTERMSIG
	 int z = WTERMSIG(x);
#endif
	 wait(&x);

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:14214: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:14217: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:14220: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14223: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_type_unionwait=yes
	 echo compiles ok with union wait and possibly macros too 1>&5

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_type_unionwait=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi

echo "$as_me:14238: result: $cf_cv_type_unionwait" >&5
echo "${ECHO_T}$cf_cv_type_unionwait" >&6
test $cf_cv_type_unionwait = yes &&
cat >>confdefs.h <<\EOF
#define HAVE_TYPE_UNIONWAIT 1
EOF

if test $cf_cv_type_unionwait = yes; then

	echo "$as_me:14247: checking if union wait can be used as wait-arg" >&5
echo $ECHO_N "checking if union wait can be used as wait-arg... $ECHO_C" >&6
	if test "${cf_cv_arg_union_wait+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		cat >conftest.$ac_ext <<_ACEOF
#line 14254 "configure"
#include "confdefs.h"
$cf_wait_headers
int
main ()
{
union wait x; wait(&x)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:14266: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:14269: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:14272: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14275: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_arg_union_wait=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_arg_union_wait=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi

	echo "$as_me:14287: result: $cf_cv_arg_union_wait" >&5
echo "${ECHO_T}$cf_cv_arg_union_wait" >&6
	test $cf_cv_arg_union_wait = yes &&
cat >>confdefs.h <<\EOF
#define WAIT_USES_UNION 1
EOF

	echo "$as_me:14294: checking if union wait can be used as waitpid-arg" >&5
echo $ECHO_N "checking if union wait can be used as waitpid-arg... $ECHO_C" >&6
	if test "${cf_cv_arg_union_waitpid+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		cat >conftest.$ac_ext <<_ACEOF
#line 14301 "configure"
#include "confdefs.h"
$cf_wait_headers
int
main ()
{
union wait x; waitpid(0, &x, 0)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:14313: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:14316: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:14319: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14322: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_arg_union_waitpid=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_arg_union_waitpid=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi

	echo "$as_me:14334: result: $cf_cv_arg_union_waitpid" >&5
echo "${ECHO_T}$cf_cv_arg_union_waitpid" >&6
	test $cf_cv_arg_union_waitpid = yes &&
cat >>confdefs.h <<\EOF
#define WAITPID_USES_UNION 1
EOF

fi

echo "$as_me:14343: checking if we must include wchar.h to declare mbstate_t" >&5
echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6
if test "${cf_cv_mbstate_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

cat >conftest.$ac_ext <<_ACEOF
#line 14350 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_LIBUTF8_H
#include <libutf8.h>
#endif
int
main ()
{
mbstate_t state
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:14367: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:14370: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:14373: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14376: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_mbstate_t=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF
#line 14383 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <stdio.h>
#include <wchar.h>
#ifdef HAVE_LIBUTF8_H
#include <libutf8.h>
#endif
int
main ()
{
mbstate_t value
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:14401: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:14404: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:14407: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14410: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_mbstate_t=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_mbstate_t=unknown
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:14422: result: $cf_cv_mbstate_t" >&5
echo "${ECHO_T}$cf_cv_mbstate_t" >&6

if test "$cf_cv_mbstate_t" = yes ; then

cat >>confdefs.h <<\EOF
#define NEED_WCHAR_H 1
EOF

fi

if test "$cf_cv_mbstate_t" != unknown ; then

cat >>confdefs.h <<\EOF
#define HAVE_MBSTATE_T 1
EOF

fi

PACKAGE_PREFIX=DLG
PACKAGE_CONFIG=dlg_config.h

EXTRA_OUTPUT="$EXTRA_OUTPUT headers-sh:$srcdir/headers-sh.in"

cat >conftest.$ac_ext <<_ACEOF
#line 14447 "configure"
#include "confdefs.h"
#include <locale.h>
int
main ()
{
setlocale(LC_ALL, "")
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:14459: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:14462: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:14465: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14468: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

cat >>confdefs.h <<\EOF
#define HAVE_SETLOCALE 1
EOF

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

LD_RPATH_OPT=
echo "$as_me:14482: checking for an rpath option" >&5
echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6
case $cf_cv_system_name in #(vi
irix*) #(vi
	if test "$GCC" = yes; then
		LD_RPATH_OPT="-Wl,-rpath,"
	else
		LD_RPATH_OPT="-rpath "
	fi
	;;
linux*|gnu*|k*bsd*-gnu) #(vi
	LD_RPATH_OPT="-Wl,-rpath,"
	;;
openbsd[2-9].*|mirbsd*) #(vi
	LD_RPATH_OPT="-Wl,-rpath,"
	;;
dragonfly*|freebsd*) #(vi
	LD_RPATH_OPT="-rpath "
	;;
netbsd*) #(vi
	LD_RPATH_OPT="-Wl,-rpath,"
	;;
osf*|mls+*) #(vi
	LD_RPATH_OPT="-rpath "
	;;
solaris2*) #(vi
	LD_RPATH_OPT="-R"
	;;
*)
	;;
esac
echo "$as_me:14513: result: $LD_RPATH_OPT" >&5
echo "${ECHO_T}$LD_RPATH_OPT" >&6

case "x$LD_RPATH_OPT" in #(vi
x-R*)
	echo "$as_me:14518: checking if we need a space after rpath option" >&5
echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6
	cf_save_LIBS="$LIBS"
	LIBS="${LD_RPATH_OPT}$libdir $LIBS"
	cat >conftest.$ac_ext <<_ACEOF
#line 14523 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:14535: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:14538: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:14541: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14544: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_rpath_space=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_rpath_space=yes
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
	LIBS="$cf_save_LIBS"
	echo "$as_me:14554: result: $cf_rpath_space" >&5
echo "${ECHO_T}$cf_rpath_space" >&6
	test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT "
	;;
esac

echo "$as_me:14560: checking if rpath-hack should be disabled" >&5
echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6

# Check whether --enable-rpath-hack or --disable-rpath-hack was given.
if test "${enable_rpath_hack+set}" = set; then
  enableval="$enable_rpath_hack"
  test "$enableval" != no && enableval=yes
  if test "$enableval" != "yes" ; then
    cf_disable_rpath_hack=yes
  else
    cf_disable_rpath_hack=no
  fi
else
  enableval=yes
  cf_disable_rpath_hack=no

fi;
echo "$as_me:14577: result: $cf_disable_rpath_hack" >&5
echo "${ECHO_T}$cf_disable_rpath_hack" >&6
if test "$cf_disable_rpath_hack" = no ; then

echo "$as_me:14581: checking for updated LDFLAGS" >&5
echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6
if test -n "$LD_RPATH_OPT" ; then
	echo "$as_me:14584: result: maybe" >&5
echo "${ECHO_T}maybe" >&6

	for ac_prog in ldd
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:14591: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$cf_ldd_prog"; then
  ac_cv_prog_cf_ldd_prog="$cf_ldd_prog" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_cf_ldd_prog="$ac_prog"
echo "$as_me:14606: found $ac_dir/$ac_word" >&5
break
done

fi
fi
cf_ldd_prog=$ac_cv_prog_cf_ldd_prog
if test -n "$cf_ldd_prog"; then
  echo "$as_me:14614: result: $cf_ldd_prog" >&5
echo "${ECHO_T}$cf_ldd_prog" >&6
else
  echo "$as_me:14617: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$cf_ldd_prog" && break
done
test -n "$cf_ldd_prog" || cf_ldd_prog="no"

	cf_rpath_list="/usr/lib /lib"
	if test "$cf_ldd_prog" != no
	then
		cf_rpath_oops=

cat >conftest.$ac_ext <<_ACEOF
#line 14631 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
printf("Hello");
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:14643: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:14646: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:14649: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:14652: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort -u`
		 cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[ 	]/%/%' -e 's%/[^/][^/]*$%%' |sort -u`
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

		# If we passed the link-test, but get a "not found" on a given library,
		# this could be due to inept reconfiguration of gcc to make it only
		# partly honor /usr/local/lib (or whatever).  Sometimes this behavior
		# is intentional, e.g., installing gcc in /usr/bin and suppressing the
		# /usr/local libraries.
		if test -n "$cf_rpath_oops"
		then
			for cf_rpath_src in $cf_rpath_oops
			do
				for cf_rpath_dir in \
					/usr/local \
					/usr/pkg \
					/opt/sfw
				do
					if test -f $cf_rpath_dir/lib/$cf_rpath_src
					then
						test -n "$verbose" && echo "	...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6

echo "${as_me:-configure}:14680: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5

						LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib"
						break
					fi
				done
			done
		fi
	fi

	test -n "$verbose" && echo "	...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6

echo "${as_me:-configure}:14692: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5

test -n "$verbose" && echo "	...checking LDFLAGS $LDFLAGS" 1>&6

echo "${as_me:-configure}:14696: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5

cf_rpath_dst=
for cf_rpath_src in $LDFLAGS
do
	case $cf_rpath_src in #(vi
	-L*) #(vi

		# check if this refers to a directory which we will ignore
		cf_rpath_skip=no
		if test -n "$cf_rpath_list"
		then
			for cf_rpath_item in $cf_rpath_list
			do
				if test "x$cf_rpath_src" = "x-L$cf_rpath_item"
				then
					cf_rpath_skip=yes
					break
				fi
			done
		fi

		if test "$cf_rpath_skip" = no
		then
			# transform the option
			if test "$LD_RPATH_OPT" = "-R " ; then
				cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%-R %"`
			else
				cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%$LD_RPATH_OPT%"`
			fi

			# if we have not already added this, add it now
			cf_rpath_tst=`echo "$EXTRA_LDFLAGS" | sed -e "s%$cf_rpath_tmp %%"`
			if test "x$cf_rpath_tst" = "x$EXTRA_LDFLAGS"
			then
				test -n "$verbose" && echo "	...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6

echo "${as_me:-configure}:14733: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5

				EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
			fi
		fi
		;;
	esac
	cf_rpath_dst="$cf_rpath_dst $cf_rpath_src"
done
LDFLAGS=$cf_rpath_dst

test -n "$verbose" && echo "	...checked LDFLAGS $LDFLAGS" 1>&6

echo "${as_me:-configure}:14746: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5

test -n "$verbose" && echo "	...checking LIBS $LIBS" 1>&6

echo "${as_me:-configure}:14750: testing ...checking LIBS $LIBS ..." 1>&5

cf_rpath_dst=
for cf_rpath_src in $LIBS
do
	case $cf_rpath_src in #(vi
	-L*) #(vi

		# check if this refers to a directory which we will ignore
		cf_rpath_skip=no
		if test -n "$cf_rpath_list"
		then
			for cf_rpath_item in $cf_rpath_list
			do
				if test "x$cf_rpath_src" = "x-L$cf_rpath_item"
				then
					cf_rpath_skip=yes
					break
				fi
			done
		fi

		if test "$cf_rpath_skip" = no
		then
			# transform the option
			if test "$LD_RPATH_OPT" = "-R " ; then
				cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%-R %"`
			else
				cf_rpath_tmp=`echo "$cf_rpath_src" |sed -e "s%-L%$LD_RPATH_OPT%"`
			fi

			# if we have not already added this, add it now
			cf_rpath_tst=`echo "$EXTRA_LDFLAGS" | sed -e "s%$cf_rpath_tmp %%"`
			if test "x$cf_rpath_tst" = "x$EXTRA_LDFLAGS"
			then
				test -n "$verbose" && echo "	...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6

echo "${as_me:-configure}:14787: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5

				EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
			fi
		fi
		;;
	esac
	cf_rpath_dst="$cf_rpath_dst $cf_rpath_src"
done
LIBS=$cf_rpath_dst

test -n "$verbose" && echo "	...checked LIBS $LIBS" 1>&6

echo "${as_me:-configure}:14800: testing ...checked LIBS $LIBS ..." 1>&5

	test -n "$verbose" && echo "	...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6

echo "${as_me:-configure}:14804: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5

fi

fi

ac_config_files="$ac_config_files dialog-config makefile $EXTRA_OUTPUT $SUB_MAKEFILE"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overriden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

_ACEOF

# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
{
  (set) 2>&1 |
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      # `set' does not quote correctly, so add quotes (double-quote
      # substitution turns \\\\ into \\, and sed turns \\ into \).
      sed -n \
        "s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
      ;;
    *)
      # `set' quotes correctly as required by POSIX, so do not add quotes.
      sed -n \
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
} |
  sed '
     t clear
     : clear
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     t end
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if cmp -s $cache_file confcache; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    cat confcache >$cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[ 	]*\):*/\1/;
s/:*$//;
s/^[^=]*=[ 	]*$//;
}'
fi

DEFS=-DHAVE_CONFIG_H

: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:14891: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
ac_cs_invocation="\$0 \$@@"

_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi

# Name of the executable.
as_me=`echo "$0" |sed 's,.*[\\/],,'`

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
  else
    as_ln_s='ln -s'
  fi
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

as_executable_p="test -f"

# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi

# NLS nuisances.
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }

# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }

exec 6>&1

_ACEOF

# Files that config.status was made for.
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi

cat >>$CONFIG_STATUS <<\EOF

ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.

Usage: $0 [OPTIONS] [FILE]...

  -h, --help       print this help, then exit
  -V, --version    print version number, then exit
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
  --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files:
$config_files

Configuration headers:
$config_headers

Configuration commands:
$config_commands

Report bugs to <dickey@@invisible-island.net>."
EOF

cat >>$CONFIG_STATUS <<EOF
ac_cs_version="\\
config.status
configured by $0, generated by GNU Autoconf 2.52.20121002,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
INSTALL="$INSTALL"
EOF

cat >>$CONFIG_STATUS <<\EOF
# If no file are specified by the user, then we need to provide default
# value.  By we need to know if files were specified by the user.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    shift
    set dummy "$ac_option" "$ac_optarg" ${1+"$@@"}
    shift
    ;;
  -*);;
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_need_defaults=false;;
  esac

  case $1 in
  # Handling of the options.
EOF
cat >>$CONFIG_STATUS <<EOF
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
EOF
cat >>$CONFIG_STATUS <<\EOF
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:15067: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    shift
    CONFIG_FILES="$CONFIG_FILES $1"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    shift
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
    ac_need_defaults=false;;

  # This is an error.
  -*) { { echo "$as_me:15086: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; } ;;

  *) ac_config_targets="$ac_config_targets $1" ;;

  esac
  shift
done

exec 5>>config.log
cat >&5 << _ACEOF

## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##

This file was extended by $as_me 2.52.20121002, executed with
  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  > $ac_cs_invocation
on `(hostname || uname -n) 2>/dev/null | sed 1q`

_ACEOF
EOF

cat >>$CONFIG_STATUS <<EOF
#
# INIT-COMMANDS section.
#

EOF

cat >>$CONFIG_STATUS <<\EOF
for ac_config_target in $ac_config_targets
do
  case "$ac_config_target" in
  # Handling of arguments.
  "dialog-config" ) CONFIG_FILES="$CONFIG_FILES dialog-config" ;;
  "makefile" ) CONFIG_FILES="$CONFIG_FILES makefile" ;;
  "$EXTRA_OUTPUT" ) CONFIG_FILES="$CONFIG_FILES $EXTRA_OUTPUT" ;;
  "$SUB_MAKEFILE" ) CONFIG_FILES="$CONFIG_FILES $SUB_MAKEFILE" ;;
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  "dlg_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS dlg_config.h:config.hin" ;;
  *) { { echo "$as_me:15135: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
  esac
done

# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi

# Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=$TMPDIR/cs$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   { (exit 1); exit 1; }
}

EOF

cat >>$CONFIG_STATUS <<EOF

#
# CONFIG_FILES section.
#

# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@@SHELL@@,$SHELL,;t t
s,@@exec_prefix@@,$exec_prefix,;t t
s,@@prefix@@,$prefix,;t t
s,@@program_transform_name@@,$program_transform_name,;t t
s,@@bindir@@,$bindir,;t t
s,@@sbindir@@,$sbindir,;t t
s,@@libexecdir@@,$libexecdir,;t t
s,@@datarootdir@@,$datarootdir,;t t
s,@@datadir@@,$datadir,;t t
s,@@sysconfdir@@,$sysconfdir,;t t
s,@@sharedstatedir@@,$sharedstatedir,;t t
s,@@localstatedir@@,$localstatedir,;t t
s,@@libdir@@,$libdir,;t t
s,@@includedir@@,$includedir,;t t
s,@@oldincludedir@@,$oldincludedir,;t t
s,@@infodir@@,$infodir,;t t
s,@@mandir@@,$mandir,;t t
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
s,@@build_alias@@,$build_alias,;t t
s,@@host_alias@@,$host_alias,;t t
s,@@target_alias@@,$target_alias,;t t
s,@@ECHO_C@@,$ECHO_C,;t t
s,@@ECHO_N@@,$ECHO_N,;t t
s,@@ECHO_T@@,$ECHO_T,;t t
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@DEFS@@,$DEFS,;t t
s,@@LIBS@@,$LIBS,;t t
s,@@DESTDIR@@,$DESTDIR,;t t
s,@@CC@@,$CC,;t t
s,@@CFLAGS@@,$CFLAGS,;t t
s,@@LDFLAGS@@,$LDFLAGS,;t t
s,@@CPPFLAGS@@,$CPPFLAGS,;t t
s,@@ac_ct_CC@@,$ac_ct_CC,;t t
s,@@EXEEXT@@,$EXEEXT,;t t
s,@@OBJEXT@@,$OBJEXT,;t t
s,@@EXTRA_CPPFLAGS@@,$EXTRA_CPPFLAGS,;t t
s,@@CPP@@,$CPP,;t t
s,@@SET_MAKE@@,$SET_MAKE,;t t
s,@@RANLIB@@,$RANLIB,;t t
s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t
s,@@INSTALL_PROGRAM@@,$INSTALL_PROGRAM,;t t
s,@@INSTALL_SCRIPT@@,$INSTALL_SCRIPT,;t t
s,@@INSTALL_DATA@@,$INSTALL_DATA,;t t
s,@@LINT@@,$LINT,;t t
s,@@LINT_OPTS@@,$LINT_OPTS,;t t
s,@@AR@@,$AR,;t t
s,@@ac_ct_AR@@,$ac_ct_AR,;t t
s,@@cf_cv_makeflags@@,$cf_cv_makeflags,;t t
s,@@CTAGS@@,$CTAGS,;t t
s,@@ETAGS@@,$ETAGS,;t t
s,@@MAKE_LOWER_TAGS@@,$MAKE_LOWER_TAGS,;t t
s,@@MAKE_UPPER_TAGS@@,$MAKE_UPPER_TAGS,;t t
s,@@ECHO_LT@@,$ECHO_LT,;t t
s,@@ECHO_LD@@,$ECHO_LD,;t t
s,@@RULE_CC@@,$RULE_CC,;t t
s,@@SHOW_CC@@,$SHOW_CC,;t t
s,@@ECHO_CC@@,$ECHO_CC,;t t
s,@@build@@,$build,;t t
s,@@build_cpu@@,$build_cpu,;t t
s,@@build_vendor@@,$build_vendor,;t t
s,@@build_os@@,$build_os,;t t
s,@@host@@,$host,;t t
s,@@host_cpu@@,$host_cpu,;t t
s,@@host_vendor@@,$host_vendor,;t t
s,@@host_os@@,$host_os,;t t
s,@@PROG_EXT@@,$PROG_EXT,;t t
s,@@LIB_PREFIX@@,$LIB_PREFIX,;t t
s,@@EXTRA_CFLAGS@@,$EXTRA_CFLAGS,;t t
s,@@VERSION@@,$VERSION,;t t
s,@@VERSION_MAJOR@@,$VERSION_MAJOR,;t t
s,@@VERSION_MINOR@@,$VERSION_MINOR,;t t
s,@@VERSION_PATCH@@,$VERSION_PATCH,;t t
s,@@PACKAGE@@,$PACKAGE,;t t
s,@@SUB_INC@@,$SUB_INC,;t t
s,@@CONFIG_H@@,$CONFIG_H,;t t
s,@@ALLOCA@@,$ALLOCA,;t t
s,@@GLIBC21@@,$GLIBC21,;t t
s,@@LIBICONV@@,$LIBICONV,;t t
s,@@USE_NLS@@,$USE_NLS,;t t
s,@@MSGFMT@@,$MSGFMT,;t t
s,@@GMSGFMT@@,$GMSGFMT,;t t
s,@@XGETTEXT@@,$XGETTEXT,;t t
s,@@INTLBISON@@,$INTLBISON,;t t
s,@@BUILD_INCLUDED_LIBINTL@@,$BUILD_INCLUDED_LIBINTL,;t t
s,@@USE_INCLUDED_LIBINTL@@,$USE_INCLUDED_LIBINTL,;t t
s,@@CATALOGS@@,$CATALOGS,;t t
s,@@CATOBJEXT@@,$CATOBJEXT,;t t
s,@@GMOFILES@@,$GMOFILES,;t t
s,@@INTLLIBS@@,$INTLLIBS,;t t
s,@@INTLOBJS@@,$INTLOBJS,;t t
s,@@POFILES@@,$POFILES,;t t
s,@@POSUB@@,$POSUB,;t t
s,@@DATADIRNAME@@,$DATADIRNAME,;t t
s,@@INSTOBJEXT@@,$INSTOBJEXT,;t t
s,@@GENCAT@@,$GENCAT,;t t
s,@@INTL_LIBTOOL_SUFFIX_PREFIX@@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
s,@@NLS_TEXTDOMAIN@@,$NLS_TEXTDOMAIN,;t t
s,@@MSG_DIR_MAKE@@,$MSG_DIR_MAKE,;t t
s,@@SUB_MAKEFILE@@,$SUB_MAKEFILE,;t t
s,@@INTLDIR_MAKE@@,$INTLDIR_MAKE,;t t
s,@@GT_YES@@,$GT_YES,;t t
s,@@GT_NO@@,$GT_NO,;t t
s,@@LINK_PREFIX@@,$LINK_PREFIX,;t t
s,@@LIBTOOL_VERSION@@,$LIBTOOL_VERSION,;t t
s,@@LIBTOOL@@,$LIBTOOL,;t t
s,@@LT_UNDEF@@,$LT_UNDEF,;t t
s,@@LIBTOOL_CXX@@,$LIBTOOL_CXX,;t t
s,@@LIBTOOL_OPTS@@,$LIBTOOL_OPTS,;t t
s,@@LIB_CREATE@@,$LIB_CREATE,;t t
s,@@LIB_OBJECT@@,$LIB_OBJECT,;t t
s,@@LIB_SUFFIX@@,$LIB_SUFFIX,;t t
s,@@LIB_PREP@@,$LIB_PREP,;t t
s,@@LIB_CLEAN@@,$LIB_CLEAN,;t t
s,@@LIB_COMPILE@@,$LIB_COMPILE,;t t
s,@@LIB_LINK@@,$LIB_LINK,;t t
s,@@LIB_INSTALL@@,$LIB_INSTALL,;t t
s,@@LIB_UNINSTALL@@,$LIB_UNINSTALL,;t t
s,@@LIBTOOL_MAKE@@,$LIBTOOL_MAKE,;t t
s,@@NCURSES_CONFIG@@,$NCURSES_CONFIG,;t t
s,@@ac_ct_NCURSES_CONFIG@@,$ac_ct_NCURSES_CONFIG,;t t
s,@@EXTRAOBJS@@,$EXTRAOBJS,;t t
s,@@PACKAGE_PREFIX@@,$PACKAGE_PREFIX,;t t
s,@@PACKAGE_CONFIG@@,$PACKAGE_CONFIG,;t t
s,@@cf_ldd_prog@@,$cf_ldd_prog,;t t
s,@@EXTRA_LDFLAGS@@,$EXTRA_LDFLAGS,;t t
CEOF

EOF

  cat >>$CONFIG_STATUS <<\EOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
  fi
fi # test -n "$CONFIG_FILES"

EOF
cat >>$CONFIG_STATUS <<\EOF
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
  esac

  # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories.
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    { case "$ac_dir" in
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  *)                      as_incr_dir=.;;
esac
as_dummy="$ac_dir"
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do
  case $as_mkdir_dir in
    # Skip DOS drivespec
    ?:) as_incr_dir=$as_mkdir_dir ;;
    *)
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
    ;;
  esac
done; }

    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case $srcdir in
  .)  ac_srcdir=.
      if test -z "$ac_dots"; then
         ac_top_srcdir=.
      else
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
      fi ;;
  [\\/]* | ?:[\\/]* )
      ac_srcdir=$srcdir$ac_dir_suffix;
      ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_dots$srcdir ;;
  esac

  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  *) ac_INSTALL=$ac_dots$INSTALL ;;
  esac

  if test x"$ac_file" != x-; then
    { echo "$as_me:15430: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated automatically by config.status.  */
  configure_input="Generated automatically from `echo $ac_file_in |
                                                 sed 's,.*/,,'` by configure."

  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:15448: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         echo $f;;
      *) # Relative
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:15461: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         fi;;
      esac
    done` || { (exit 1); exit 1; }
EOF
cat >>$CONFIG_STATUS <<\EOF
  ac_warn_datarootdir=no
  if test x"$ac_file" != x-; then
    for ac_item in $ac_file_inputs
    do
      ac_seen=`grep '@@\(datadir\|mandir\|infodir\)@@' $ac_item`
      if test -n "$ac_seen"; then
        ac_used=`grep '@@datarootdir@@' $ac_item`
        if test -z "$ac_used"; then
          { echo "$as_me:15477: WARNING: datarootdir was used implicitly but not set:
$ac_seen" >&5
echo "$as_me: WARNING: datarootdir was used implicitly but not set:
$ac_seen" >&2;}
          ac_warn_datarootdir=yes
        fi
      fi
      ac_seen=`grep '${datarootdir}' $ac_item`
      if test -n "$ac_seen"; then
        { echo "$as_me:15486: WARNING: datarootdir was used explicitly but not set:
$ac_seen" >&5
echo "$as_me: WARNING: datarootdir was used explicitly but not set:
$ac_seen" >&2;}
        ac_warn_datarootdir=yes
      fi
    done
  fi

if test "x$ac_warn_datarootdir" = xyes; then
  ac_sed_cmds="$ac_sed_cmds | sed -e 's,@@datarootdir@@,\${prefix}/share,g' -e 's,\${datarootdir},\${prefix}/share,g'"
fi

EOF
cat >>$CONFIG_STATUS <<EOF
  sed "$ac_vpsub
$extrasub
EOF
cat >>$CONFIG_STATUS <<\EOF
:t
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
s,@@configure_input@@,$configure_input,;t t
s,@@srcdir@@,$ac_srcdir,;t t
s,@@top_srcdir@@,$ac_top_srcdir,;t t
s,@@INSTALL@@,$ac_INSTALL,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    cp $tmp/out $ac_file

    for ac_name in prefix exec_prefix datarootdir
    do
        ac_seen=`fgrep -n '${'$ac_name'[:=].*}' $ac_file`
        if test -n "$ac_seen"; then
            ac_init=`egrep '[ 	]*'$ac_name'[ 	]*=' $ac_file`
            if test -z "$ac_init"; then
              ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'`
              { echo "$as_me:15523: WARNING: Variable $ac_name is used but was not set:
$ac_seen" >&5
echo "$as_me: WARNING: Variable $ac_name is used but was not set:
$ac_seen" >&2;}
            fi
        fi
    done
    egrep -n '@@[a-z_][a-z_0-9]+@@' $ac_file >$tmp/out
    egrep -n '@@[A-Z_][A-Z_0-9]+@@' $ac_file >>$tmp/out
    if test -s $tmp/out; then
      ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out`
      { echo "$as_me:15534: WARNING: Some variables may not be substituted:
$ac_seen" >&5
echo "$as_me: WARNING: Some variables may not be substituted:
$ac_seen" >&2;}
    fi
  else
    cat $tmp/out
  fi
  rm -f $tmp/out

done
EOF
cat >>$CONFIG_STATUS <<\EOF

#
# CONFIG_HEADER section.
#

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='[ 	].*$,\1#\2'
ac_dC=' '
ac_dD=',;t'
# ac_i turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_iA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_iB='\([ 	]\),\1#\2define\3'
ac_iC=' '
ac_iD='\4,;t'
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_uB='$,\1#\2define\3'
ac_uC=' '
ac_uD=',;t'

for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
  esac

  test x"$ac_file" != x- && { echo "$as_me:15583: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}

  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:15594: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         echo $f;;
      *) # Relative
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:15607: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         fi;;
      esac
    done` || { (exit 1); exit 1; }
  # Remove the trailing spaces.
  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in

EOF

# Transform confdefs.h into a list of #define's.  We won't use it as a sed
# script, but as data to insert where we see @@DEFS@@.  We expect AC_SAVE_DEFS to
# be either 'cat' or 'sort'.
sort -u confdefs.h | uniq >conftest.vals

# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.

rm -f conftest.tail
echo '  rm -f conftest.frag' >> $CONFIG_STATUS
while grep . conftest.vals >/dev/null
do
  # Write chunks of a limited-size here document to conftest.frag.
  echo '  cat >> conftest.frag <<CEOF' >> $CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.vals | sed -e 's/#ifdef.*/#if 0/' >> $CONFIG_STATUS
  echo 'CEOF' >> $CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  rm -f conftest.vals
  mv conftest.tail conftest.vals
done
rm -f conftest.vals

# Run sed to substitute the contents of conftest.frag into $tmp/in at the
# marker @@DEFS@@.
echo '  cat >> conftest.edit <<CEOF
/@@DEFS@@/r conftest.frag
/@@DEFS@@/d
CEOF
sed -f conftest.edit $tmp/in > $tmp/out
rm -f $tmp/in
mv $tmp/out $tmp/in
rm -f conftest.edit conftest.frag
' >> $CONFIG_STATUS

cat >>$CONFIG_STATUS <<\EOF
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated automatically by config.status.  */
  if test x"$ac_file" = x-; then
    echo "/* Generated automatically by configure.  */" >$tmp/config.h
  else
    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
  fi
  cat $tmp/in >>$tmp/config.h
  rm -f $tmp/in
  if test x"$ac_file" != x-; then
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
      { echo "$as_me:15665: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
    else
      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        { case "$ac_dir" in
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  *)                      as_incr_dir=.;;
esac
as_dummy="$ac_dir"
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do
  case $as_mkdir_dir in
    # Skip DOS drivespec
    ?:) as_incr_dir=$as_mkdir_dir ;;
    *)
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
    ;;
  esac
done; }

      fi
      rm -f $ac_file
      mv $tmp/config.h $ac_file
    fi
  else
    cat $tmp/config.h
    rm -f $tmp/config.h
  fi
done
EOF
cat >>$CONFIG_STATUS <<\EOF
#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`

  case $ac_dest in
    default-1 ) for ac_file in $CONFIG_FILES; do

      # Support "outfile[:infile[:infile...]]"
      case "$ac_file" in
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
      esac

      # PO directories have a Makefile.in generated from Makefile.inn.
      case "$ac_file" in */[Mm]akefile.in)
        # Adjust a relative srcdir.
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
        ac_base=`basename $ac_file .in`
        # In autoconf-2.13 it is called $ac_given_srcdir.
        # In autoconf-2.50 it is called $srcdir.
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"

        case "$ac_given_srcdir" in
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
          /*) top_srcdir="$ac_given_srcdir" ;;
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
        esac

        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
          rm -f "$ac_dir/POTFILES"
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
          sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
          test -n "$as_me" && echo "$as_me: creating $ac_dir/$ac_base" || echo "creating $ac_dir/$ac_base"
          sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/$ac_base.in" > "$ac_dir/$ac_base"
        fi
        ;;
      esac
    done ;;
  esac
done
EOF

cat >>$CONFIG_STATUS <<\EOF

{ (exit 0); exit 0; }
EOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save

# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded.  So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status.  When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
  ac_cs_success=:
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS || ac_cs_success=false
  exec 5>>config.log
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  # would make configure fail if this is the last instruction.
  $ac_cs_success || { (exit 1); exit 1; }
fi

@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244850
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d3 1
a3 1
# Generated by Autoconf 2.52.20101002.
d173 2
a174 1
datadir='${prefix}/share'
d181 2
a182 2
infodir='${prefix}/info'
mandir='${prefix}/man'
d233 7
d515 1
a515 1
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
d652 2
a653 1
  --datadir=DIR           read-only architecture-independent data [PREFIX/share]
d660 2
a661 2
  --infodir=DIR           info documentation [PREFIX/info]
  --mandir=DIR            man documentation [PREFIX/man]
d689 1
a689 1
  --disable-echo          display "compiling" commands
d714 3
a716 1
  --disable-Xdialog       do not include Xdialog-style dialogs
d793 1
a793 1
generated by GNU Autoconf 2.52.20101002.  Invocation command line was
d917 1
a917 1
    { echo "$as_me:906: loading site script $ac_site_file" >&5
d928 1
a928 1
    { echo "$as_me:917: loading cache $cache_file" >&5
d936 1
a936 1
  { echo "$as_me:925: creating cache $cache_file" >&5
d952 1
a952 1
      { echo "$as_me:941: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
d956 1
a956 1
      { echo "$as_me:945: error: \`$ac_var' was not set in the previous run" >&5
d962 1
a962 1
        { echo "$as_me:951: error: \`$ac_var' has changed since the previous run:" >&5
d964 1
a964 1
        { echo "$as_me:953:   former value:  $ac_old_val" >&5
d966 1
a966 1
        { echo "$as_me:955:   current value: $ac_new_val" >&5
d985 1
a985 1
  { echo "$as_me:974: error: changes in the environment can compromise the build" >&5
d987 1
a987 1
  { { echo "$as_me:976: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
d1008 1
a1008 1
if { (echo "$as_me:997: PATH=\".;.\"; conftest.sh") >&5
d1011 1
a1011 1
  echo "$as_me:1000: \$? = $ac_status" >&5
d1046 1
a1046 1
echo "$as_me:1035: checking for $ac_word" >&5
d1061 1
a1061 1
echo "$as_me:1050: found $ac_dir/$ac_word" >&5
d1069 1
a1069 1
  echo "$as_me:1058: result: $CC" >&5
d1072 1
a1072 1
  echo "$as_me:1061: result: no" >&5
d1081 1
a1081 1
echo "$as_me:1070: checking for $ac_word" >&5
d1096 1
a1096 1
echo "$as_me:1085: found $ac_dir/$ac_word" >&5
d1104 1
a1104 1
  echo "$as_me:1093: result: $ac_ct_CC" >&5
d1107 1
a1107 1
  echo "$as_me:1096: result: no" >&5
d1120 1
a1120 1
echo "$as_me:1109: checking for $ac_word" >&5
d1135 1
a1135 1
echo "$as_me:1124: found $ac_dir/$ac_word" >&5
d1143 1
a1143 1
  echo "$as_me:1132: result: $CC" >&5
d1146 1
a1146 1
  echo "$as_me:1135: result: no" >&5
d1155 1
a1155 1
echo "$as_me:1144: checking for $ac_word" >&5
d1170 1
a1170 1
echo "$as_me:1159: found $ac_dir/$ac_word" >&5
d1178 1
a1178 1
  echo "$as_me:1167: result: $ac_ct_CC" >&5
d1181 1
a1181 1
  echo "$as_me:1170: result: no" >&5
d1194 1
a1194 1
echo "$as_me:1183: checking for $ac_word" >&5
d1214 1
a1214 1
echo "$as_me:1203: found $ac_dir/$ac_word" >&5
d1236 1
a1236 1
  echo "$as_me:1225: result: $CC" >&5
d1239 1
a1239 1
  echo "$as_me:1228: result: no" >&5
d1250 1
a1250 1
echo "$as_me:1239: checking for $ac_word" >&5
d1265 1
a1265 1
echo "$as_me:1254: found $ac_dir/$ac_word" >&5
d1273 1
a1273 1
  echo "$as_me:1262: result: $CC" >&5
d1276 1
a1276 1
  echo "$as_me:1265: result: no" >&5
d1289 1
a1289 1
echo "$as_me:1278: checking for $ac_word" >&5
d1304 1
a1304 1
echo "$as_me:1293: found $ac_dir/$ac_word" >&5
d1312 1
a1312 1
  echo "$as_me:1301: result: $ac_ct_CC" >&5
d1315 1
a1315 1
  echo "$as_me:1304: result: no" >&5
d1327 1
a1327 1
test -z "$CC" && { { echo "$as_me:1316: error: no acceptable cc found in \$PATH" >&5
d1332 1
a1332 1
echo "$as_me:1321:" \
d1335 1
a1335 1
{ (eval echo "$as_me:1324: \"$ac_compiler --version </dev/null >&5\"") >&5
d1338 1
a1338 1
  echo "$as_me:1327: \$? = $ac_status" >&5
d1340 1
a1340 1
{ (eval echo "$as_me:1329: \"$ac_compiler -v </dev/null >&5\"") >&5
d1343 1
a1343 1
  echo "$as_me:1332: \$? = $ac_status" >&5
d1345 1
a1345 1
{ (eval echo "$as_me:1334: \"$ac_compiler -V </dev/null >&5\"") >&5
d1348 1
a1348 1
  echo "$as_me:1337: \$? = $ac_status" >&5
d1352 1
a1352 1
#line 1341 "configure"
d1368 1
a1368 1
echo "$as_me:1357: checking for C compiler default output" >&5
d1371 1
a1371 1
if { (eval echo "$as_me:1360: \"$ac_link_default\"") >&5
d1374 1
a1374 1
  echo "$as_me:1363: \$? = $ac_status" >&5
d1397 1
a1397 1
{ { echo "$as_me:1386: error: C compiler cannot create executables" >&5
d1403 1
a1403 1
echo "$as_me:1392: result: $ac_file" >&5
d1408 1
a1408 1
echo "$as_me:1397: checking whether the C compiler works" >&5
d1414 1
a1414 1
  { (eval echo "$as_me:1403: \"$ac_try\"") >&5
d1417 1
a1417 1
  echo "$as_me:1406: \$? = $ac_status" >&5
d1424 1
a1424 1
	{ { echo "$as_me:1413: error: cannot run C compiled programs.
d1432 1
a1432 1
echo "$as_me:1421: result: yes" >&5
d1439 1
a1439 1
echo "$as_me:1428: checking whether we are cross compiling" >&5
d1441 1
a1441 1
echo "$as_me:1430: result: $cross_compiling" >&5
d1444 1
a1444 1
echo "$as_me:1433: checking for executable suffix" >&5
d1446 1
a1446 1
if { (eval echo "$as_me:1435: \"$ac_link\"") >&5
d1449 1
a1449 1
  echo "$as_me:1438: \$? = $ac_status" >&5
d1465 1
a1465 1
  { { echo "$as_me:1454: error: cannot compute EXEEXT: cannot compile and link" >&5
d1471 1
a1471 1
echo "$as_me:1460: result: $ac_cv_exeext" >&5
d1477 1
a1477 1
echo "$as_me:1466: checking for object suffix" >&5
d1483 1
a1483 1
#line 1472 "configure"
d1495 1
a1495 1
if { (eval echo "$as_me:1484: \"$ac_compile\"") >&5
d1498 1
a1498 1
  echo "$as_me:1487: \$? = $ac_status" >&5
d1510 1
a1510 1
{ { echo "$as_me:1499: error: cannot compute OBJEXT: cannot compile" >&5
d1517 1
a1517 1
echo "$as_me:1506: result: $ac_cv_objext" >&5
d1521 1
a1521 1
echo "$as_me:1510: checking whether we are using the GNU C compiler" >&5
d1527 1
a1527 1
#line 1516 "configure"
d1542 1
a1542 1
if { (eval echo "$as_me:1531: \"$ac_compile\"") >&5
d1545 1
a1545 1
  echo "$as_me:1534: \$? = $ac_status" >&5
d1548 1
a1548 1
  { (eval echo "$as_me:1537: \"$ac_try\"") >&5
d1551 1
a1551 1
  echo "$as_me:1540: \$? = $ac_status" >&5
d1563 1
a1563 1
echo "$as_me:1552: result: $ac_cv_c_compiler_gnu" >&5
d1569 1
a1569 1
echo "$as_me:1558: checking whether $CC accepts -g" >&5
d1575 1
a1575 1
#line 1564 "configure"
d1587 1
a1587 1
if { (eval echo "$as_me:1576: \"$ac_compile\"") >&5
d1590 1
a1590 1
  echo "$as_me:1579: \$? = $ac_status" >&5
d1593 1
a1593 1
  { (eval echo "$as_me:1582: \"$ac_try\"") >&5
d1596 1
a1596 1
  echo "$as_me:1585: \$? = $ac_status" >&5
d1606 1
a1606 1
echo "$as_me:1595: result: $ac_cv_prog_cc_g" >&5
d1633 1
a1633 1
if { (eval echo "$as_me:1622: \"$ac_compile\"") >&5
d1636 1
a1636 1
  echo "$as_me:1625: \$? = $ac_status" >&5
d1639 1
a1639 1
  { (eval echo "$as_me:1628: \"$ac_try\"") >&5
d1642 1
a1642 1
  echo "$as_me:1631: \$? = $ac_status" >&5
d1654 1
a1654 1
#line 1643 "configure"
d1667 1
a1667 1
if { (eval echo "$as_me:1656: \"$ac_compile\"") >&5
d1670 1
a1670 1
  echo "$as_me:1659: \$? = $ac_status" >&5
d1673 1
a1673 1
  { (eval echo "$as_me:1662: \"$ac_try\"") >&5
d1676 1
a1676 1
  echo "$as_me:1665: \$? = $ac_status" >&5
d1686 1
a1686 1
#line 1675 "configure"
d1698 1
a1698 1
if { (eval echo "$as_me:1687: \"$ac_compile\"") >&5
d1701 1
a1701 1
  echo "$as_me:1690: \$? = $ac_status" >&5
d1704 1
a1704 1
  { (eval echo "$as_me:1693: \"$ac_try\"") >&5
d1707 1
a1707 1
  echo "$as_me:1696: \$? = $ac_status" >&5
d1735 201
d1942 1
a1942 1
echo "$as_me:1730: checking how to run the C preprocessor" >&5
d1963 1
a1963 1
#line 1751 "configure"
d1968 1
a1968 1
if { (eval echo "$as_me:1756: \"$ac_cpp conftest.$ac_ext\"") >&5
d1974 1
a1974 1
  echo "$as_me:1762: \$? = $ac_status" >&5
d1997 1
a1997 1
#line 1785 "configure"
d2001 1
a2001 1
if { (eval echo "$as_me:1789: \"$ac_cpp conftest.$ac_ext\"") >&5
d2007 1
a2007 1
  echo "$as_me:1795: \$? = $ac_status" >&5
d2044 1
a2044 1
echo "$as_me:1832: result: $CPP" >&5
d2054 1
a2054 1
#line 1842 "configure"
d2059 1
a2059 1
if { (eval echo "$as_me:1847: \"$ac_cpp conftest.$ac_ext\"") >&5
d2065 1
a2065 1
  echo "$as_me:1853: \$? = $ac_status" >&5
d2088 1
a2088 1
#line 1876 "configure"
d2092 1
a2092 1
if { (eval echo "$as_me:1880: \"$ac_cpp conftest.$ac_ext\"") >&5
d2098 1
a2098 1
  echo "$as_me:1886: \$? = $ac_status" >&5
d2126 1
a2126 1
  { { echo "$as_me:1914: error: C preprocessor \"$CPP\" fails sanity check" >&5
d2138 1
a2138 44
if test $ac_cv_c_compiler_gnu = yes; then
    echo "$as_me:1927: checking whether $CC needs -traditional" >&5
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
    ac_pattern="Autoconf.*'x'"
  cat >conftest.$ac_ext <<_ACEOF
#line 1934 "configure"
#include "confdefs.h"
#include <sgtty.h>
int Autoconf = TIOCGETP;
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "$ac_pattern" >/dev/null 2>&1; then
  ac_cv_prog_gcc_traditional=yes
else
  ac_cv_prog_gcc_traditional=no
fi
rm -rf conftest*

  if test $ac_cv_prog_gcc_traditional = no; then
    cat >conftest.$ac_ext <<_ACEOF
#line 1949 "configure"
#include "confdefs.h"
#include <termio.h>
int Autoconf = TCGETA;
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "$ac_pattern" >/dev/null 2>&1; then
  ac_cv_prog_gcc_traditional=yes
fi
rm -rf conftest*

  fi
fi
echo "$as_me:1962: result: $ac_cv_prog_gcc_traditional" >&5
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
  if test $ac_cv_prog_gcc_traditional = yes; then
    CC="$CC -traditional"
  fi
fi

echo "$as_me:1969: checking whether ${MAKE-make} sets \${MAKE}" >&5
d2158 1
a2158 1
  echo "$as_me:1989: result: yes" >&5
d2162 1
a2162 1
  echo "$as_me:1993: result: no" >&5
d2170 1
a2170 1
echo "$as_me:2001: checking for $ac_word" >&5
d2185 1
a2185 1
echo "$as_me:2016: found $ac_dir/$ac_word" >&5
d2193 1
a2193 1
  echo "$as_me:2024: result: $RANLIB" >&5
d2196 1
a2196 1
  echo "$as_me:2027: result: no" >&5
d2205 1
a2205 1
echo "$as_me:2036: checking for $ac_word" >&5
d2220 1
a2220 1
echo "$as_me:2051: found $ac_dir/$ac_word" >&5
d2229 1
a2229 1
  echo "$as_me:2060: result: $ac_ct_RANLIB" >&5
d2232 1
a2232 1
  echo "$as_me:2063: result: no" >&5
d2258 1
a2258 1
  { { echo "$as_me:2089: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
d2278 1
a2278 1
echo "$as_me:2109: checking for a BSD compatible install" >&5
d2327 1
a2327 1
echo "$as_me:2158: result: $INSTALL" >&5
d2338 37
d2378 1
a2378 1
echo "$as_me:2172: checking for $ac_word" >&5
d2393 1
a2393 1
echo "$as_me:2187: found $ac_dir/$ac_word" >&5
d2401 1
a2401 1
  echo "$as_me:2195: result: $AR" >&5
d2404 1
a2404 1
  echo "$as_me:2198: result: no" >&5
d2413 1
a2413 1
echo "$as_me:2207: checking for $ac_word" >&5
d2428 1
a2428 1
echo "$as_me:2222: found $ac_dir/$ac_word" >&5
d2437 1
a2437 1
  echo "$as_me:2231: result: $ac_ct_AR" >&5
d2440 1
a2440 1
  echo "$as_me:2234: result: no" >&5
d2449 5
a2453 8
echo "$as_me:2243: checking for POSIXized ISC" >&5
echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
if test -d /etc/conf/kconfig.d &&
   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
  echo "$as_me:2248: result: yes" >&5
echo "${ECHO_T}yes" >&6
  ISC=yes # If later tests want to check for ISC.
d2455 26
a2480 3
cat >>confdefs.h <<\EOF
#define _POSIX_SOURCE 1
EOF
d2482 3
a2484 231
  if test "$GCC" = yes; then
    CC="$CC -posix"
  else
    CC="$CC -Xp"
  fi
else
  echo "$as_me:2262: result: no" >&5
echo "${ECHO_T}no" >&6
  ISC=
fi

echo "$as_me:2267: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_prog_cc_stdc=no
ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF
#line 2275 "configure"
#include "confdefs.h"
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
     char **p;
     int i;
{
  return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
  char *s;
  va_list v;
  va_start (v,p);
  s = g (p, va_arg (v,int));
  va_end (v);
  return s;
}
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  ;
  return 0;
}
_ACEOF
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX			-qlanglvl=ansi
# Ultrix and OSF/1	-std1
# HP-UX 10.20 and later	-Ae
# HP-UX older versions	-Aa -D_HPUX_SOURCE
# SVR4			-Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
  CC="$ac_save_CC $ac_arg"
  rm -f conftest.$ac_objext
if { (eval echo "$as_me:2324: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:2327: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:2330: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:2333: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext
done
rm -f conftest.$ac_ext conftest.$ac_objext
CC=$ac_save_CC

fi

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:2350: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
  *)
    echo "$as_me:2353: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
esac

echo "$as_me:2358: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
if test "${ac_cv_c_const+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 2364 "configure"
#include "confdefs.h"

int
main ()
{
/* FIXME: Include the comments suggested by Paul. */
#ifndef __cplusplus
  /* Ultrix mips cc rejects this.  */
  typedef int charset[2];
  const charset x;
  /* SunOS 4.1.1 cc rejects this.  */
  char const *const *ccp;
  char **p;
  /* NEC SVR4.0.2 mips cc rejects this.  */
  struct point {int x, y;};
  static struct point const zero = {0,0};
  /* AIX XL C 1.02.0.0 rejects this.
     It does not let you subtract one const X* pointer from another in
     an arm of an if-expression whose if-part is not a constant
     expression */
  const char *g = "string";
  ccp = &g + (g ? g-g : 0);
  /* HPUX 7.0 cc rejects these. */
  ++ccp;
  p = (char**) ccp;
  ccp = (char const *const *) p;
  { /* SCO 3.2v4 cc rejects this.  */
    char *t;
    char const *s = 0 ? (char *) 0 : (char const *) 0;

    *t++ = 0;
  }
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
    int x[] = {25, 17};
    const int *foo = &x[0];
    ++foo;
  }
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
    typedef const int *iptr;
    iptr p = 0;
    ++p;
  }
  { /* AIX XL C 1.02.0.0 rejects this saying
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    struct s { int j; const int *ap[3]; };
    struct s *b; b->j = 5;
  }
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    const int foo = 10;
  }
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:2422: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:2425: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:2428: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:2431: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_const=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_c_const=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:2441: result: $ac_cv_c_const" >&5
echo "${ECHO_T}$ac_cv_c_const" >&6
if test $ac_cv_c_const = no; then

cat >>confdefs.h <<\EOF
#define const
EOF

fi

echo "$as_me:2451: checking for makeflags variable" >&5
echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6
if test "${cf_cv_makeflags+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cf_cv_makeflags=''
	for cf_option in '-${MAKEFLAGS}' '${MFLAGS}'
	do
		cat >cf_makeflags.tmp <<CF_EOF
SHELL = /bin/sh
all :
	@@ echo '.$cf_option'
CF_EOF
		cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | fgrep -v "ing directory" | sed -e 's,[ 	]*$,,'`
		case "$cf_result" in
		.*k)
			cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`
			case "$cf_result" in
			.*CC=*)	cf_cv_makeflags=
				;;
			*)	cf_cv_makeflags=$cf_option
				;;
			esac
			break
			;;
		.-)	;;
		*)	echo "given option \"$cf_option\", no match \"$cf_result\""
			;;
		esac
	done
	rm -f cf_makeflags.tmp

fi
echo "$as_me:2485: result: $cf_cv_makeflags" >&5
echo "${ECHO_T}$cf_cv_makeflags" >&6
d2486 1
a2486 1
echo "$as_me:2488: checking if filesystem supports mixed-case filenames" >&5
d2513 1
a2513 1
echo "$as_me:2515: result: $cf_cv_mixedcase" >&5
d2515 2
a2516 1
test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF
d2524 1
a2524 1
echo "$as_me:2525: checking for $ac_word" >&5
d2539 1
a2539 1
echo "$as_me:2540: found $ac_dir/$ac_word" >&5
d2547 1
a2547 1
  echo "$as_me:2548: result: $CTAGS" >&5
d2550 1
a2550 1
  echo "$as_me:2551: result: no" >&5
d2561 1
a2561 1
echo "$as_me:2562: checking for $ac_word" >&5
d2576 1
a2576 1
echo "$as_me:2577: found $ac_dir/$ac_word" >&5
d2584 1
a2584 1
  echo "$as_me:2585: result: $ETAGS" >&5
d2587 1
a2587 1
  echo "$as_me:2588: result: no" >&5
d2596 1
a2596 1
echo "$as_me:2597: checking for $ac_word" >&5
d2611 1
a2611 1
echo "$as_me:2612: found $ac_dir/$ac_word" >&5
d2620 1
a2620 1
  echo "$as_me:2621: result: $MAKE_LOWER_TAGS" >&5
d2623 1
a2623 1
  echo "$as_me:2624: result: no" >&5
d2630 1
a2630 1
echo "$as_me:2631: checking for $ac_word" >&5
d2645 1
a2645 1
echo "$as_me:2646: found $ac_dir/$ac_word" >&5
d2654 1
a2654 1
  echo "$as_me:2655: result: $MAKE_UPPER_TAGS" >&5
d2657 1
a2657 1
  echo "$as_me:2658: result: no" >&5
d2677 1
a2677 1
echo "$as_me:2678: checking if you want to see long compiling messages" >&5
d2711 1
a2711 1
echo "$as_me:2712: result: $enableval" >&5
d2716 1
a2716 1
  { { echo "$as_me:2717: error: cannot run $ac_config_sub" >&5
d2720 1
a2720 1
echo "$as_me:2721: checking build system type" >&5
d2729 1
a2729 1
  { { echo "$as_me:2730: error: cannot guess build type; you must specify one" >&5
d2733 1
a2733 1
  { { echo "$as_me:2734: error: $ac_config_sub $ac_cv_build_alias failed." >&5
d2738 1
a2738 1
echo "$as_me:2739: result: $ac_cv_build" >&5
d2746 1
a2746 1
	echo "$as_me:2747: checking host system type" >&5
d2755 1
a2755 1
  { { echo "$as_me:2756: error: $ac_config_sub $ac_cv_host_alias failed" >&5
d2760 1
a2760 1
echo "$as_me:2761: result: $ac_cv_host" >&5
d2774 2
a2775 1
test -n "$system_name" && cat >>confdefs.h <<EOF
d2810 2
a2811 1
test -n "$PROG_EXT" && cat >>confdefs.h <<EOF
d2815 2
d2819 1
a2819 1
	*)	PATH_SEPARATOR=':'  ;;
d2822 3
d2838 1
a2838 1
aix[456]*) #(vi
d2849 1
d2867 1
d2871 1
a2871 1
echo "$as_me:2863: checking if we must define _GNU_SOURCE" >&5
d2878 1
a2878 1
#line 2870 "configure"
d2893 1
a2893 1
if { (eval echo "$as_me:2885: \"$ac_compile\"") >&5
d2896 1
a2896 1
  echo "$as_me:2888: \$? = $ac_status" >&5
d2899 1
a2899 1
  { (eval echo "$as_me:2891: \"$ac_try\"") >&5
d2902 1
a2902 1
  echo "$as_me:2894: \$? = $ac_status" >&5
d2911 1
a2911 1
#line 2903 "configure"
d2926 1
a2926 1
if { (eval echo "$as_me:2918: \"$ac_compile\"") >&5
d2929 1
a2929 1
  echo "$as_me:2921: \$? = $ac_status" >&5
d2932 1
a2932 1
  { (eval echo "$as_me:2924: \"$ac_try\"") >&5
d2935 1
a2935 1
  echo "$as_me:2927: \$? = $ac_status" >&5
d2950 1
a2950 1
echo "$as_me:2942: result: $cf_cv_gnu_source" >&5
d2956 19
a2974 27
	# setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <arpa/inet.h>
	;;
netbsd*) #(vi
	# setting _XOPEN_SOURCE breaks IPv6 for lynx on NetBSD 1.6, breaks xterm, is not needed for ncursesw
	;;
openbsd*) #(vi
	# setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
	;;
osf[45]*) #(vi
	cf_xopen_source="-D_OSF_SOURCE"
	;;
nto-qnx*) #(vi
	cf_xopen_source="-D_QNX_SOURCE"
	;;
sco*) #(vi
	# setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
	;;
solaris2.1[0-9]) #(vi
	cf_xopen_source="-D__EXTENSIONS__ -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
	;;
solaris2.[1-9]) #(vi
	cf_xopen_source="-D__EXTENSIONS__"
	;;
*)
	echo "$as_me:2972: checking if we should define _XOPEN_SOURCE" >&5
echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
if test "${cf_cv_xopen_source+set}" = set; then
d2978 2
d2981 1
a2981 1
#line 2979 "configure"
d2988 1
a2988 1
#ifndef _XOPEN_SOURCE
d2996 1
a2996 1
if { (eval echo "$as_me:2994: \"$ac_compile\"") >&5
d2999 1
a2999 1
  echo "$as_me:2997: \$? = $ac_status" >&5
d3002 1
a3002 1
  { (eval echo "$as_me:3000: \"$ac_try\"") >&5
d3005 1
a3005 1
  echo "$as_me:3003: \$? = $ac_status" >&5
d3007 1
a3007 1
  cf_cv_xopen_source=no
d3011 16
a3026 4
cf_save="$CPPFLAGS"
	 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
	 cat >conftest.$ac_ext <<_ACEOF
#line 3012 "configure"
d3033 1
a3033 1
#ifdef _XOPEN_SOURCE
d3041 1
a3041 1
if { (eval echo "$as_me:3027: \"$ac_compile\"") >&5
d3044 1
a3044 1
  echo "$as_me:3030: \$? = $ac_status" >&5
d3047 1
a3047 1
  { (eval echo "$as_me:3033: \"$ac_try\"") >&5
d3050 1
a3050 1
  echo "$as_me:3036: \$? = $ac_status" >&5
d3052 1
a3052 1
  cf_cv_xopen_source=no
d3056 1
a3056 1
cf_cv_xopen_source=$cf_XOPEN_SOURCE
d3059 1
a3059 1
	CPPFLAGS="$cf_save"
d3061 1
a3061 2
fi
rm -f conftest.$ac_objext conftest.$ac_ext
d3063 2
a3064 4
fi
echo "$as_me:3051: result: $cf_cv_xopen_source" >&5
echo "${ECHO_T}$cf_cv_xopen_source" >&6
	if test "$cf_cv_xopen_source" != no ; then
d3066 1
a3066 3
CFLAGS=`echo "$CFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`
d3068 7
a3074 3
CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`
d3076 247
a3322 1
		cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
d3402 1
a3402 1
	fi
d3417 1
a3417 1
echo "$as_me:3158: checking if we should define _POSIX_C_SOURCE" >&5
d3423 1
a3423 1
echo "${as_me:-configure}:3164: testing if the symbol is already defined go no further ..." 1>&5
d3426 1
a3426 1
#line 3167 "configure"
d3441 1
a3441 1
if { (eval echo "$as_me:3182: \"$ac_compile\"") >&5
d3444 1
a3444 1
  echo "$as_me:3185: \$? = $ac_status" >&5
d3447 1
a3447 1
  { (eval echo "$as_me:3188: \"$ac_try\"") >&5
d3450 1
a3450 1
  echo "$as_me:3191: \$? = $ac_status" >&5
d3471 1
a3471 1
#line 3212 "configure"
d3486 1
a3486 1
if { (eval echo "$as_me:3227: \"$ac_compile\"") >&5
d3489 1
a3489 1
  echo "$as_me:3230: \$? = $ac_status" >&5
d3492 1
a3492 1
  { (eval echo "$as_me:3233: \"$ac_try\"") >&5
d3495 1
a3495 1
  echo "$as_me:3236: \$? = $ac_status" >&5
d3506 1
a3506 1
echo "${as_me:-configure}:3247: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
d3510 341
a3850 3

echo "${as_me:-configure}:3252: testing if the second compile does not leave our definition intact error ..." 1>&5

d3852 1
a3852 1
#line 3255 "configure"
d3854 3
d3858 1
d3863 1
a3863 1
#ifndef _POSIX_C_SOURCE
d3871 1
a3871 1
if { (eval echo "$as_me:3270: \"$ac_compile\"") >&5
d3874 1
a3874 1
  echo "$as_me:3273: \$? = $ac_status" >&5
d3877 1
a3877 1
  { (eval echo "$as_me:3276: \"$ac_try\"") >&5
d3880 1
a3880 1
  echo "$as_me:3279: \$? = $ac_status" >&5
d3882 1
a3882 1
  :
d3886 1
a3886 1
cf_cv_posix_c_source=no
d3889 1
a3889 2
	 CFLAGS="$cf_save_CFLAGS"
	 CPPFLAGS="$cf_save_CPPFLAGS"
d3895 2
a3896 2
echo "$as_me:3295: result: $cf_cv_posix_c_source" >&5
echo "${ECHO_T}$cf_cv_posix_c_source" >&6
d3898 1
a3898 3
if test "$cf_cv_posix_c_source" != no ; then
	CFLAGS="$cf_trim_CFLAGS"
	CPPFLAGS="$cf_trim_CPPFLAGS"
d3900 3
a3902 35
cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_cv_posix_c_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
d3905 2
a3906 45
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

	;;
esac
d3908 1
a3908 1
if test -n "$cf_xopen_source" ; then
d3915 1
a3915 1
for cf_add_cflags in $cf_xopen_source
d3990 3
d4000 1
a4000 1
  echo "$as_me:3474: checking for special C compiler options needed for large files" >&5
d4012 1
a4012 1
#line 3486 "configure"
d4032 1
a4032 1
if { (eval echo "$as_me:3506: \"$ac_compile\"") >&5
d4035 1
a4035 1
  echo "$as_me:3509: \$? = $ac_status" >&5
d4038 1
a4038 1
  { (eval echo "$as_me:3512: \"$ac_try\"") >&5
d4041 1
a4041 1
  echo "$as_me:3515: \$? = $ac_status" >&5
d4051 1
a4051 1
if { (eval echo "$as_me:3525: \"$ac_compile\"") >&5
d4054 1
a4054 1
  echo "$as_me:3528: \$? = $ac_status" >&5
d4057 1
a4057 1
  { (eval echo "$as_me:3531: \"$ac_try\"") >&5
d4060 1
a4060 1
  echo "$as_me:3534: \$? = $ac_status" >&5
d4074 1
a4074 1
echo "$as_me:3548: result: $ac_cv_sys_largefile_CC" >&5
d4080 1
a4080 1
  echo "$as_me:3554: checking for _FILE_OFFSET_BITS value needed for large files" >&5
d4088 1
a4088 1
#line 3562 "configure"
d4108 1
a4108 1
if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5
d4111 1
a4111 1
  echo "$as_me:3585: \$? = $ac_status" >&5
d4114 1
a4114 1
  { (eval echo "$as_me:3588: \"$ac_try\"") >&5
d4117 1
a4117 1
  echo "$as_me:3591: \$? = $ac_status" >&5
d4126 1
a4126 1
#line 3600 "configure"
d4147 1
a4147 1
if { (eval echo "$as_me:3621: \"$ac_compile\"") >&5
d4150 1
a4150 1
  echo "$as_me:3624: \$? = $ac_status" >&5
d4153 1
a4153 1
  { (eval echo "$as_me:3627: \"$ac_try\"") >&5
d4156 1
a4156 1
  echo "$as_me:3630: \$? = $ac_status" >&5
d4167 1
a4167 1
echo "$as_me:3641: result: $ac_cv_sys_file_offset_bits" >&5
d4177 1
a4177 1
  echo "$as_me:3651: checking for _LARGE_FILES value needed for large files" >&5
d4185 1
a4185 1
#line 3659 "configure"
d4205 1
a4205 1
if { (eval echo "$as_me:3679: \"$ac_compile\"") >&5
d4208 1
a4208 1
  echo "$as_me:3682: \$? = $ac_status" >&5
d4211 1
a4211 1
  { (eval echo "$as_me:3685: \"$ac_try\"") >&5
d4214 1
a4214 1
  echo "$as_me:3688: \$? = $ac_status" >&5
d4223 1
a4223 1
#line 3697 "configure"
d4244 1
a4244 1
if { (eval echo "$as_me:3718: \"$ac_compile\"") >&5
d4247 1
a4247 1
  echo "$as_me:3721: \$? = $ac_status" >&5
d4250 1
a4250 1
  { (eval echo "$as_me:3724: \"$ac_try\"") >&5
d4253 1
a4253 1
  echo "$as_me:3727: \$? = $ac_status" >&5
d4264 1
a4264 1
echo "$as_me:3738: result: $ac_cv_sys_large_files" >&5
d4277 1
a4277 1
	echo "$as_me:3751: checking for _LARGEFILE_SOURCE value needed for large files" >&5
d4285 1
a4285 1
#line 3759 "configure"
d4297 1
a4297 1
if { (eval echo "$as_me:3771: \"$ac_compile\"") >&5
d4300 1
a4300 1
  echo "$as_me:3774: \$? = $ac_status" >&5
d4303 1
a4303 1
  { (eval echo "$as_me:3777: \"$ac_try\"") >&5
d4306 1
a4306 1
  echo "$as_me:3780: \$? = $ac_status" >&5
d4315 1
a4315 1
#line 3789 "configure"
d4328 1
a4328 1
if { (eval echo "$as_me:3802: \"$ac_compile\"") >&5
d4331 1
a4331 1
  echo "$as_me:3805: \$? = $ac_status" >&5
d4334 1
a4334 1
  { (eval echo "$as_me:3808: \"$ac_try\"") >&5
d4337 1
a4337 1
  echo "$as_me:3811: \$? = $ac_status" >&5
d4348 1
a4348 1
echo "$as_me:3822: result: $ac_cv_sys_largefile_source" >&5
d4362 1
a4362 1
echo "$as_me:3836: checking for fseeko" >&5
d4368 1
a4368 1
#line 3842 "configure"
d4380 1
a4380 1
if { (eval echo "$as_me:3854: \"$ac_link\"") >&5
d4383 1
a4383 1
  echo "$as_me:3857: \$? = $ac_status" >&5
d4386 1
a4386 1
  { (eval echo "$as_me:3860: \"$ac_try\"") >&5
d4389 1
a4389 1
  echo "$as_me:3863: \$? = $ac_status" >&5
d4399 1
a4399 1
echo "$as_me:3873: result: $ac_cv_func_fseeko" >&5
d4420 1
a4420 1
	echo "$as_me:3894: checking whether to use struct dirent64" >&5
d4427 1
a4427 1
#line 3901 "configure"
d4448 1
a4448 1
if { (eval echo "$as_me:3922: \"$ac_compile\"") >&5
d4451 1
a4451 1
  echo "$as_me:3925: \$? = $ac_status" >&5
d4454 1
a4454 1
  { (eval echo "$as_me:3928: \"$ac_try\"") >&5
d4457 1
a4457 1
  echo "$as_me:3931: \$? = $ac_status" >&5
d4468 1
a4468 1
echo "$as_me:3942: result: $cf_cv_struct_dirent64" >&5
d4470 2
a4471 1
	test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF
a4476 10
GCC_VERSION=none
if test "$GCC" = yes ; then
	echo "$as_me:3952: checking version of $CC" >&5
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
	GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
	test -z "$GCC_VERSION" && GCC_VERSION=unknown
	echo "$as_me:3956: result: $GCC_VERSION" >&5
echo "${ECHO_T}$GCC_VERSION" >&6
fi

d4479 1
a4479 1
echo "$as_me:3962: checking if you want to check for gcc warnings" >&5
d4489 1
a4489 1
echo "$as_me:3972: result: $cf_opt_with_warnings" >&5
d4511 1
a4511 1
	{ echo "$as_me:3994: checking for $CC __attribute__ directives..." >&5
d4514 1
a4514 1
#line 3997 "${as_me:-configure}"
d4563 1
a4563 1
		if { (eval echo "$as_me:4046: \"$ac_compile\"") >&5
d4566 1
a4566 1
  echo "$as_me:4049: \$? = $ac_status" >&5
d4568 1
a4568 1
			test -n "$verbose" && echo "$as_me:4051: result: ... $cf_attribute" >&5
d4572 7
d4580 6
a4585 3
				if test "$cf_printf_attribute" = no ; then
					cat >>confdefs.h <<EOF
#define GCC_PRINTFLIKE(fmt,var) /* nothing */
d4587 5
a4591 3
				else
					cat >>confdefs.h <<EOF
#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
d4593 1
a4593 1
				fi
d4596 12
a4607 3
				if test "$cf_scanf_attribute" = no ; then
					cat >>confdefs.h <<EOF
#define GCC_SCANFLIKE(fmt,var) /* nothing */
d4609 6
a4614 3
				else
					cat >>confdefs.h <<EOF
#define GCC_SCANFLIKE(fmt,var)  __attribute__((format(scanf,fmt,var)))
d4616 1
a4616 1
				fi
d4632 1
a4632 1
		echo "$as_me:4091: checking if this is really Intel C compiler" >&5
d4637 1
a4637 1
#line 4096 "configure"
d4654 1
a4654 1
if { (eval echo "$as_me:4113: \"$ac_compile\"") >&5
d4657 1
a4657 1
  echo "$as_me:4116: \$? = $ac_status" >&5
d4660 1
a4660 1
  { (eval echo "$as_me:4119: \"$ac_try\"") >&5
d4663 1
a4663 1
  echo "$as_me:4122: \$? = $ac_status" >&5
d4674 1
a4674 1
		echo "$as_me:4133: result: $INTEL_COMPILER" >&5
d4680 49
d4730 1
a4730 1
#line 4140 "${as_me:-configure}"
d4747 1
a4747 1
	{ echo "$as_me:4157: checking for $CC warning options..." >&5
d4763 1
a4763 1
		if { (eval echo "$as_me:4173: \"$ac_compile\"") >&5
d4766 1
a4766 1
  echo "$as_me:4176: \$? = $ac_status" >&5
d4768 1
a4768 1
			test -n "$verbose" && echo "$as_me:4178: result: ... -$cf_opt" >&5
d4777 1
a4777 1
	{ echo "$as_me:4187: checking for $CC warning options..." >&5
d4797 1
a4797 1
		if { (eval echo "$as_me:4207: \"$ac_compile\"") >&5
d4800 1
a4800 1
  echo "$as_me:4210: \$? = $ac_status" >&5
d4802 1
a4802 1
			test -n "$verbose" && echo "$as_me:4212: result: ... -$cf_opt" >&5
d4813 11
a4823 1
echo "${as_me:-configure}:4223: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
d4848 1
a4848 1
	echo "$as_me:4248: checking for package version" >&5
d4860 1
a4860 1
	test -z "$VERSION_MAJOR" && { { echo "$as_me:4260: error: missing major-version" >&5
d4865 1
a4865 1
	test -z "$VERSION_MINOR" && { { echo "$as_me:4265: error: missing minor-version" >&5
d4869 1
a4869 1
	echo "$as_me:4269: result: ${VERSION_MAJOR}.${VERSION_MINOR}" >&5
d4872 1
a4872 1
	echo "$as_me:4272: checking for package patch date" >&5
d4877 1
a4877 1
		{ { echo "$as_me:4277: error: missing patch-date $VERSION_PATCH" >&5
d4884 1
a4884 1
		{ { echo "$as_me:4284: error: illegal patch-date $VERSION_PATCH" >&5
d4889 1
a4889 1
	echo "$as_me:4289: result: $VERSION_PATCH" >&5
d4892 1
a4892 1
	{ { echo "$as_me:4292: error: did not find $srcdir/VERSION" >&5
d4900 1
a4900 1
echo "${as_me:-configure}:4300: testing VERSION $VERSION ..." 1>&5
d4904 1
a4904 1
echo "${as_me:-configure}:4304: testing VERSION_MAJOR $VERSION_MAJOR ..." 1>&5
d4908 1
a4908 1
echo "${as_me:-configure}:4308: testing VERSION_MINOR $VERSION_MINOR ..." 1>&5
d4912 1
a4912 1
echo "${as_me:-configure}:4312: testing VERSION_PATCH $VERSION_PATCH ..." 1>&5
d4916 2
a4917 1
	cat >>confdefs.h <<EOF
d4940 2
a4941 1
echo "$as_me:4339: checking for ANSI C header files" >&5
d4947 1
a4947 1
#line 4345 "configure"
d4955 1
a4955 1
if { (eval echo "$as_me:4353: \"$ac_cpp conftest.$ac_ext\"") >&5
d4961 1
a4961 1
  echo "$as_me:4359: \$? = $ac_status" >&5
d4983 1
a4983 1
#line 4381 "configure"
d5001 1
a5001 1
#line 4399 "configure"
d5022 1
a5022 1
#line 4420 "configure"
d5048 1
a5048 1
if { (eval echo "$as_me:4446: \"$ac_link\"") >&5
d5051 1
a5051 1
  echo "$as_me:4449: \$? = $ac_status" >&5
d5053 1
a5053 1
  { (eval echo "$as_me:4451: \"$ac_try\"") >&5
d5056 1
a5056 1
  echo "$as_me:4454: \$? = $ac_status" >&5
d5069 1
a5069 1
echo "$as_me:4467: result: $ac_cv_header_stdc" >&5
d5079 1
a5079 1
echo "$as_me:4477: checking for inline" >&5
d5087 1
a5087 1
#line 4485 "configure"
d5096 1
a5096 1
if { (eval echo "$as_me:4494: \"$ac_compile\"") >&5
d5099 1
a5099 1
  echo "$as_me:4497: \$? = $ac_status" >&5
d5102 1
a5102 1
  { (eval echo "$as_me:4500: \"$ac_try\"") >&5
d5105 1
a5105 1
  echo "$as_me:4503: \$? = $ac_status" >&5
d5116 1
a5116 1
echo "$as_me:4514: result: $ac_cv_c_inline" >&5
d5137 1
a5137 1
echo "$as_me:4535: checking for $ac_header" >&5
d5143 1
a5143 1
#line 4541 "configure"
d5149 1
a5149 1
if { (eval echo "$as_me:4547: \"$ac_compile\"") >&5
d5152 1
a5152 1
  echo "$as_me:4550: \$? = $ac_status" >&5
d5155 1
a5155 1
  { (eval echo "$as_me:4553: \"$ac_try\"") >&5
d5158 1
a5158 1
  echo "$as_me:4556: \$? = $ac_status" >&5
d5168 1
a5168 1
echo "$as_me:4566: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5178 1
a5178 1
echo "$as_me:4576: checking for off_t" >&5
d5184 1
a5184 1
#line 4582 "configure"
d5199 1
a5199 1
if { (eval echo "$as_me:4597: \"$ac_compile\"") >&5
d5202 1
a5202 1
  echo "$as_me:4600: \$? = $ac_status" >&5
d5205 1
a5205 1
  { (eval echo "$as_me:4603: \"$ac_try\"") >&5
d5208 1
a5208 1
  echo "$as_me:4606: \$? = $ac_status" >&5
d5218 1
a5218 1
echo "$as_me:4616: result: $ac_cv_type_off_t" >&5
d5230 1
a5230 1
echo "$as_me:4628: checking for size_t" >&5
d5236 1
a5236 1
#line 4634 "configure"
d5251 1
a5251 1
if { (eval echo "$as_me:4649: \"$ac_compile\"") >&5
d5254 1
a5254 1
  echo "$as_me:4652: \$? = $ac_status" >&5
d5257 1
a5257 1
  { (eval echo "$as_me:4655: \"$ac_try\"") >&5
d5260 1
a5260 1
  echo "$as_me:4658: \$? = $ac_status" >&5
d5270 1
a5270 1
echo "$as_me:4668: result: $ac_cv_type_size_t" >&5
d5284 1
a5284 1
echo "$as_me:4682: checking for working alloca.h" >&5
d5290 1
a5290 1
#line 4688 "configure"
d5302 1
a5302 1
if { (eval echo "$as_me:4700: \"$ac_link\"") >&5
d5305 1
a5305 1
  echo "$as_me:4703: \$? = $ac_status" >&5
d5308 1
a5308 1
  { (eval echo "$as_me:4706: \"$ac_try\"") >&5
d5311 1
a5311 1
  echo "$as_me:4709: \$? = $ac_status" >&5
d5321 1
a5321 1
echo "$as_me:4719: result: $ac_cv_working_alloca_h" >&5
d5331 1
a5331 1
echo "$as_me:4729: checking for alloca" >&5
d5337 1
a5337 1
#line 4735 "configure"
d5369 1
a5369 1
if { (eval echo "$as_me:4767: \"$ac_link\"") >&5
d5372 1
a5372 1
  echo "$as_me:4770: \$? = $ac_status" >&5
d5375 1
a5375 1
  { (eval echo "$as_me:4773: \"$ac_try\"") >&5
d5378 1
a5378 1
  echo "$as_me:4776: \$? = $ac_status" >&5
d5388 1
a5388 1
echo "$as_me:4786: result: $ac_cv_func_alloca_works" >&5
d5409 1
a5409 1
echo "$as_me:4807: checking whether \`alloca.c' needs Cray hooks" >&5
d5415 1
a5415 1
#line 4813 "configure"
d5433 1
a5433 1
echo "$as_me:4831: result: $ac_cv_os_cray" >&5
d5438 1
a5438 1
echo "$as_me:4836: checking for $ac_func" >&5
d5444 1
a5444 1
#line 4842 "configure"
d5467 1
a5467 1
f = $ac_func;
d5475 1
a5475 1
if { (eval echo "$as_me:4873: \"$ac_link\"") >&5
d5478 1
a5478 1
  echo "$as_me:4876: \$? = $ac_status" >&5
d5481 1
a5481 1
  { (eval echo "$as_me:4879: \"$ac_try\"") >&5
d5484 1
a5484 1
  echo "$as_me:4882: \$? = $ac_status" >&5
d5494 1
a5494 1
echo "$as_me:4892: result: `eval echo '${'$as_ac_var'}'`" >&5
d5508 1
a5508 1
echo "$as_me:4906: checking stack direction for C alloca" >&5
d5517 1
a5517 1
#line 4915 "configure"
d5540 1
a5540 1
if { (eval echo "$as_me:4938: \"$ac_link\"") >&5
d5543 1
a5543 1
  echo "$as_me:4941: \$? = $ac_status" >&5
d5545 1
a5545 1
  { (eval echo "$as_me:4943: \"$ac_try\"") >&5
d5548 1
a5548 1
  echo "$as_me:4946: \$? = $ac_status" >&5
d5560 1
a5560 1
echo "$as_me:4958: result: $ac_cv_c_stack_direction" >&5
d5572 1
a5572 1
echo "$as_me:4970: checking for $ac_header" >&5
d5578 1
a5578 1
#line 4976 "configure"
d5582 1
a5582 1
if { (eval echo "$as_me:4980: \"$ac_cpp conftest.$ac_ext\"") >&5
d5588 1
a5588 1
  echo "$as_me:4986: \$? = $ac_status" >&5
d5607 1
a5607 1
echo "$as_me:5005: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5620 1
a5620 1
echo "$as_me:5018: checking for $ac_func" >&5
d5626 1
a5626 1
#line 5024 "configure"
d5649 1
a5649 1
f = $ac_func;
d5657 1
a5657 1
if { (eval echo "$as_me:5055: \"$ac_link\"") >&5
d5660 1
a5660 1
  echo "$as_me:5058: \$? = $ac_status" >&5
d5663 1
a5663 1
  { (eval echo "$as_me:5061: \"$ac_try\"") >&5
d5666 1
a5666 1
  echo "$as_me:5064: \$? = $ac_status" >&5
d5676 1
a5676 1
echo "$as_me:5074: result: `eval echo '${'$as_ac_var'}'`" >&5
d5686 1
a5686 1
echo "$as_me:5084: checking for working mmap" >&5
d5695 1
a5695 1
#line 5093 "configure"
d5822 1
a5822 1
if { (eval echo "$as_me:5220: \"$ac_link\"") >&5
d5825 1
a5825 1
  echo "$as_me:5223: \$? = $ac_status" >&5
d5827 1
a5827 1
  { (eval echo "$as_me:5225: \"$ac_try\"") >&5
d5830 1
a5830 1
  echo "$as_me:5228: \$? = $ac_status" >&5
d5842 1
a5842 1
echo "$as_me:5240: result: $ac_cv_func_mmap_fixed_mapped" >&5
d5853 1
a5853 1
    echo "$as_me:5251: checking whether we are using the GNU C Library 2.1 or newer" >&5
d5859 1
a5859 1
#line 5257 "configure"
d5879 1
a5879 1
echo "$as_me:5277: result: $ac_cv_gnu_library_2_1" >&5
d5892 1
a5892 1
	{ { echo "$as_me:5290: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&5
d5909 1
a5909 1
echo "$as_me:5307: checking for $ac_header" >&5
d5915 1
a5915 1
#line 5313 "configure"
d5919 1
a5919 1
if { (eval echo "$as_me:5317: \"$ac_cpp conftest.$ac_ext\"") >&5
d5925 1
a5925 1
  echo "$as_me:5323: \$? = $ac_status" >&5
d5944 1
a5944 1
echo "$as_me:5342: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5959 1
a5959 1
echo "$as_me:5357: checking for $ac_func" >&5
d5965 1
a5965 1
#line 5363 "configure"
d5988 1
a5988 1
f = $ac_func;
d5996 1
a5996 1
if { (eval echo "$as_me:5394: \"$ac_link\"") >&5
d5999 1
a5999 1
  echo "$as_me:5397: \$? = $ac_status" >&5
d6002 1
a6002 1
  { (eval echo "$as_me:5400: \"$ac_try\"") >&5
d6005 1
a6005 1
  echo "$as_me:5403: \$? = $ac_status" >&5
d6015 1
a6015 1
echo "$as_me:5413: result: `eval echo '${'$as_ac_var'}'`" >&5
d6063 1
a6063 1
#line 5461 "configure"
d6075 1
a6075 1
if { (eval echo "$as_me:5473: \"$ac_compile\"") >&5
d6078 1
a6078 1
  echo "$as_me:5476: \$? = $ac_status" >&5
d6081 1
a6081 1
  { (eval echo "$as_me:5479: \"$ac_try\"") >&5
d6084 1
a6084 1
  echo "$as_me:5482: \$? = $ac_status" >&5
d6101 1
a6101 1
echo "${as_me:-configure}:5499: testing adding $cf_add_incdir to include-path ..." 1>&5
d6142 1
a6142 1
#line 5540 "configure"
d6154 1
a6154 1
if { (eval echo "$as_me:5552: \"$ac_compile\"") >&5
d6157 1
a6157 1
  echo "$as_me:5555: \$? = $ac_status" >&5
d6160 1
a6160 1
  { (eval echo "$as_me:5558: \"$ac_try\"") >&5
d6163 1
a6163 1
  echo "$as_me:5561: \$? = $ac_status" >&5
d6180 1
a6180 1
echo "${as_me:-configure}:5578: testing adding $cf_add_incdir to include-path ..." 1>&5
d6196 1
a6196 1
{ { echo "$as_me:5594: error: cannot find libiconv under $withval" >&5
d6221 1
a6221 1
echo "${as_me:-configure}:5619: testing adding $cf_add_libdir to library-path ..." 1>&5
d6250 1
a6250 1
echo "${as_me:-configure}:5648: testing adding $cf_add_libdir to library-path ..." 1>&5
d6259 1
a6259 1
{ { echo "$as_me:5657: error: cannot find libiconv under $withval" >&5
d6270 1
a6270 1
  echo "$as_me:5668: checking for iconv" >&5
d6281 1
a6281 1
echo "${as_me:-configure}:5679: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5
d6286 1
a6286 1
#line 5684 "configure"
d6305 1
a6305 1
if { (eval echo "$as_me:5703: \"$ac_link\"") >&5
d6308 1
a6308 1
  echo "$as_me:5706: \$? = $ac_status" >&5
d6311 1
a6311 1
  { (eval echo "$as_me:5709: \"$ac_try\"") >&5
d6314 1
a6314 1
  echo "$as_me:5712: \$? = $ac_status" >&5
d6328 1
a6328 1
#line 5726 "configure"
d6347 1
a6347 1
if { (eval echo "$as_me:5745: \"$ac_link\"") >&5
d6350 1
a6350 1
  echo "$as_me:5748: \$? = $ac_status" >&5
d6353 1
a6353 1
  { (eval echo "$as_me:5751: \"$ac_try\"") >&5
d6356 1
a6356 1
  echo "$as_me:5754: \$? = $ac_status" >&5
d6373 1
a6373 1
echo "${as_me:-configure}:5771: testing find linkage for iconv library ..." 1>&5
d6375 1
a6375 1
echo "${as_me:-configure}:5773: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5
d6488 1
a6488 1
echo "${as_me:-configure}:5886: testing ... testing $cf_cv_header_path_iconv ..." 1>&5
d6492 1
a6492 1
#line 5890 "configure"
d6511 1
a6511 1
if { (eval echo "$as_me:5909: \"$ac_compile\"") >&5
d6514 1
a6514 1
  echo "$as_me:5912: \$? = $ac_status" >&5
d6517 1
a6517 1
  { (eval echo "$as_me:5915: \"$ac_try\"") >&5
d6520 1
a6520 1
  echo "$as_me:5918: \$? = $ac_status" >&5
d6525 1
a6525 1
echo "${as_me:-configure}:5923: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5
d6543 1
a6543 1
echo "${as_me:-configure}:5941: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5
d6640 1
a6640 1
echo "${as_me:-configure}:6038: testing ... testing $cf_cv_library_path_iconv ..." 1>&5
d6646 1
a6646 1
#line 6044 "configure"
d6665 1
a6665 1
if { (eval echo "$as_me:6063: \"$ac_link\"") >&5
d6668 1
a6668 1
  echo "$as_me:6066: \$? = $ac_status" >&5
d6671 1
a6671 1
  { (eval echo "$as_me:6069: \"$ac_try\"") >&5
d6674 1
a6674 1
  echo "$as_me:6072: \$? = $ac_status" >&5
d6679 1
a6679 1
echo "${as_me:-configure}:6077: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5
d6719 1
a6719 1
echo "$as_me:6117: result: $am_cv_func_iconv" >&5
d6728 1
a6728 1
    echo "$as_me:6126: checking if the declaration of iconv() needs const." >&5
d6735 1
a6735 1
#line 6133 "configure"
d6760 1
a6760 1
if { (eval echo "$as_me:6158: \"$ac_compile\"") >&5
d6763 1
a6763 1
  echo "$as_me:6161: \$? = $ac_status" >&5
d6766 1
a6766 1
  { (eval echo "$as_me:6164: \"$ac_try\"") >&5
d6769 1
a6769 1
  echo "$as_me:6167: \$? = $ac_status" >&5
d6779 1
a6779 1
echo "$as_me:6177: result: $am_cv_proto_iconv_const" >&5
d6821 1
a6821 1
#line 6219 "configure"
d6833 1
a6833 1
if { (eval echo "$as_me:6231: \"$ac_compile\"") >&5
d6836 1
a6836 1
  echo "$as_me:6234: \$? = $ac_status" >&5
d6839 1
a6839 1
  { (eval echo "$as_me:6237: \"$ac_try\"") >&5
d6842 1
a6842 1
  echo "$as_me:6240: \$? = $ac_status" >&5
d6859 1
a6859 1
echo "${as_me:-configure}:6257: testing adding $cf_add_incdir to include-path ..." 1>&5
d6896 1
a6896 1
echo "${as_me:-configure}:6294: testing adding $cf_add_libdir to library-path ..." 1>&5
d6907 1
a6907 1
  echo "$as_me:6305: checking for nl_langinfo and CODESET" >&5
d6913 1
a6913 1
#line 6311 "configure"
d6925 1
a6925 1
if { (eval echo "$as_me:6323: \"$ac_link\"") >&5
d6928 1
a6928 1
  echo "$as_me:6326: \$? = $ac_status" >&5
d6931 1
a6931 1
  { (eval echo "$as_me:6329: \"$ac_try\"") >&5
d6934 1
a6934 1
  echo "$as_me:6332: \$? = $ac_status" >&5
d6945 1
a6945 1
echo "$as_me:6343: result: $am_cv_langinfo_codeset" >&5
d6956 1
a6956 1
    echo "$as_me:6354: checking for LC_MESSAGES" >&5
d6962 1
a6962 1
#line 6360 "configure"
d6974 1
a6974 1
if { (eval echo "$as_me:6372: \"$ac_link\"") >&5
d6977 1
a6977 1
  echo "$as_me:6375: \$? = $ac_status" >&5
d6980 1
a6980 1
  { (eval echo "$as_me:6378: \"$ac_try\"") >&5
d6983 1
a6983 1
  echo "$as_me:6381: \$? = $ac_status" >&5
d6993 1
a6993 1
echo "$as_me:6391: result: $am_cv_val_LC_MESSAGES" >&5
d7003 1
a7003 1
   echo "$as_me:6401: checking whether NLS is requested" >&5
d7013 1
a7013 1
  echo "$as_me:6411: result: $USE_NLS" >&5
d7026 1
a7026 1
    echo "$as_me:6424: checking whether included gettext is requested" >&5
d7036 1
a7036 1
    echo "$as_me:6434: result: $nls_cv_force_use_gnu_gettext" >&5
d7045 1
a7045 1
      echo "$as_me:6443: checking for libintl.h and gettext()" >&5
d7056 1
a7056 1
echo "${as_me:-configure}:6454: testing Starting FIND_LINKAGE(intl,) ..." 1>&5
d7061 1
a7061 1
#line 6459 "configure"
d7081 1
a7081 1
if { (eval echo "$as_me:6479: \"$ac_link\"") >&5
d7084 1
a7084 1
  echo "$as_me:6482: \$? = $ac_status" >&5
d7087 1
a7087 1
  { (eval echo "$as_me:6485: \"$ac_try\"") >&5
d7090 1
a7090 1
  echo "$as_me:6488: \$? = $ac_status" >&5
d7104 1
a7104 1
#line 6502 "configure"
d7124 1
a7124 1
if { (eval echo "$as_me:6522: \"$ac_link\"") >&5
d7127 1
a7127 1
  echo "$as_me:6525: \$? = $ac_status" >&5
d7130 1
a7130 1
  { (eval echo "$as_me:6528: \"$ac_try\"") >&5
d7133 1
a7133 1
  echo "$as_me:6531: \$? = $ac_status" >&5
d7150 1
a7150 1
echo "${as_me:-configure}:6548: testing find linkage for intl library ..." 1>&5
d7152 1
a7152 1
echo "${as_me:-configure}:6550: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5
d7265 1
a7265 1
echo "${as_me:-configure}:6663: testing ... testing $cf_cv_header_path_intl ..." 1>&5
d7269 1
a7269 1
#line 6667 "configure"
d7289 1
a7289 1
if { (eval echo "$as_me:6687: \"$ac_compile\"") >&5
d7292 1
a7292 1
  echo "$as_me:6690: \$? = $ac_status" >&5
d7295 1
a7295 1
  { (eval echo "$as_me:6693: \"$ac_try\"") >&5
d7298 1
a7298 1
  echo "$as_me:6696: \$? = $ac_status" >&5
d7303 1
a7303 1
echo "${as_me:-configure}:6701: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5
d7321 1
a7321 1
echo "${as_me:-configure}:6719: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5
d7418 1
a7418 1
echo "${as_me:-configure}:6816: testing ... testing $cf_cv_library_path_intl ..." 1>&5
d7424 1
a7424 1
#line 6822 "configure"
d7444 1
a7444 1
if { (eval echo "$as_me:6842: \"$ac_link\"") >&5
d7447 1
a7447 1
  echo "$as_me:6845: \$? = $ac_status" >&5
d7450 1
a7450 1
  { (eval echo "$as_me:6848: \"$ac_try\"") >&5
d7453 1
a7453 1
  echo "$as_me:6851: \$? = $ac_status" >&5
d7458 1
a7458 1
echo "${as_me:-configure}:6856: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5
d7498 1
a7498 1
echo "$as_me:6896: result: $cf_cv_func_gettext" >&5
d7503 2
a7504 1
        cat >>confdefs.h <<\EOF
d7538 1
a7538 1
#line 6935 "configure"
d7550 1
a7550 1
if { (eval echo "$as_me:6947: \"$ac_compile\"") >&5
d7553 1
a7553 1
  echo "$as_me:6950: \$? = $ac_status" >&5
d7556 1
a7556 1
  { (eval echo "$as_me:6953: \"$ac_try\"") >&5
d7559 1
a7559 1
  echo "$as_me:6956: \$? = $ac_status" >&5
d7576 1
a7576 1
echo "${as_me:-configure}:6973: testing adding $cf_add_incdir to include-path ..." 1>&5
d7613 1
a7613 1
echo "${as_me:-configure}:7010: testing adding $cf_add_libdir to library-path ..." 1>&5
d7629 1
a7629 1
echo "$as_me:7026: checking for $ac_func" >&5
d7635 1
a7635 1
#line 7032 "configure"
d7658 1
a7658 1
f = $ac_func;
d7666 1
a7666 1
if { (eval echo "$as_me:7063: \"$ac_link\"") >&5
d7669 1
a7669 1
  echo "$as_me:7066: \$? = $ac_status" >&5
d7672 1
a7672 1
  { (eval echo "$as_me:7069: \"$ac_try\"") >&5
d7675 1
a7675 1
  echo "$as_me:7072: \$? = $ac_status" >&5
d7685 1
a7685 1
echo "$as_me:7082: result: `eval echo '${'$as_ac_var'}'`" >&5
d7700 1
a7700 1
echo "$as_me:7097: checking for $ac_word" >&5
d7727 1
a7727 1
  echo "$as_me:7124: result: $MSGFMT" >&5
d7730 1
a7730 1
  echo "$as_me:7127: result: no" >&5
d7736 1
a7736 1
echo "$as_me:7133: checking for $ac_word" >&5
d7753 1
a7753 1
   echo "$as_me:7150: found $ac_dir/$ac_word" >&5
d7765 1
a7765 1
  echo "$as_me:7162: result: $GMSGFMT" >&5
d7768 1
a7768 1
  echo "$as_me:7165: result: no" >&5
d7775 1
a7775 1
echo "$as_me:7172: checking for $ac_word" >&5
d7802 1
a7802 1
  echo "$as_me:7199: result: $XGETTEXT" >&5
d7805 1
a7805 1
  echo "$as_me:7202: result: no" >&5
d7820 1
a7820 1
        { { echo "$as_me:7217: error: no NLS library is packaged with this application" >&5
d7828 1
a7828 1
echo "$as_me:7225: checking for $ac_word" >&5
d7855 1
a7855 1
  echo "$as_me:7252: result: $MSGFMT" >&5
d7858 1
a7858 1
  echo "$as_me:7255: result: no" >&5
d7864 1
a7864 1
echo "$as_me:7261: checking for $ac_word" >&5
d7881 1
a7881 1
   echo "$as_me:7278: found $ac_dir/$ac_word" >&5
d7893 1
a7893 1
  echo "$as_me:7290: result: $GMSGFMT" >&5
d7896 1
a7896 1
  echo "$as_me:7293: result: no" >&5
d7903 1
a7903 1
echo "$as_me:7300: checking for $ac_word" >&5
d7930 1
a7930 1
  echo "$as_me:7327: result: $XGETTEXT" >&5
d7933 1
a7933 1
  echo "$as_me:7330: result: no" >&5
d7948 1
a7948 1
        echo "$as_me:7345: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
d7958 1
a7958 1
        echo "$as_me:7355: result: found xgettext program is not GNU xgettext; ignore it" >&5
d7978 1
a7978 1
echo "$as_me:7375: checking for $ac_word" >&5
d7993 1
a7993 1
echo "$as_me:7390: found $ac_dir/$ac_word" >&5
d8001 1
a8001 1
  echo "$as_me:7398: result: $INTLBISON" >&5
d8004 1
a8004 1
  echo "$as_me:7401: result: no" >&5
d8014 1
a8014 1
            echo "$as_me:7411: checking version of bison" >&5
d8023 1
a8023 1
    echo "$as_me:7420: result: $ac_prog_version" >&5
d8049 1
a8049 1
       echo "$as_me:7446: checking for catalogs to be installed" >&5
d8069 1
a8069 1
       echo "$as_me:7466: result: $LINGUAS" >&5
d8089 2
a8090 1
	cat >>confdefs.h <<EOF
d8105 1
a8105 1
echo "$as_me:7501: checking if we should use included message-library" >&5
d8116 1
a8116 1
echo "$as_me:7512: result: $use_our_messages" >&5
d8136 2
a8137 1
		cat >>confdefs.h <<\EOF
d8158 1
a8158 1
echo "$as_me:7553: checking for $ac_header" >&5
d8164 1
a8164 1
#line 7559 "configure"
d8168 1
a8168 1
if { (eval echo "$as_me:7563: \"$ac_cpp conftest.$ac_ext\"") >&5
d8174 1
a8174 1
  echo "$as_me:7569: \$? = $ac_status" >&5
d8193 1
a8193 1
echo "$as_me:7588: result: `eval echo '${'$as_ac_Header'}'`" >&5
d8220 2
a8221 1
		cat >>confdefs.h <<\EOF
d8226 2
a8227 1
		cat >>confdefs.h <<\EOF
d8233 2
a8234 1
		cat >>confdefs.h <<\EOF
d8241 1
a8241 1
echo "$as_me:7633: checking if -lm needed for math functions" >&5
d8248 1
a8248 1
#line 7640 "configure"
d8263 1
a8263 1
if { (eval echo "$as_me:7655: \"$ac_link\"") >&5
d8266 1
a8266 1
  echo "$as_me:7658: \$? = $ac_status" >&5
d8269 1
a8269 1
  { (eval echo "$as_me:7661: \"$ac_try\"") >&5
d8272 1
a8272 1
  echo "$as_me:7664: \$? = $ac_status" >&5
d8282 1
a8282 1
echo "$as_me:7674: result: $cf_cv_need_libm" >&5
d8291 1
a8291 1
echo "$as_me:7683: checking if you want to use dmalloc for testing" >&5
d8297 2
a8298 1
  cat >>confdefs.h <<\EOF
d8308 1
a8308 1
echo "$as_me:7699: result: ${with_dmalloc:-no}" >&5
d8402 1
a8402 1
	echo "$as_me:7793: checking for dmalloc.h" >&5
d8408 1
a8408 1
#line 7799 "configure"
d8412 1
a8412 1
if { (eval echo "$as_me:7803: \"$ac_cpp conftest.$ac_ext\"") >&5
d8418 1
a8418 1
  echo "$as_me:7809: \$? = $ac_status" >&5
d8437 1
a8437 1
echo "$as_me:7828: result: $ac_cv_header_dmalloc_h" >&5
d8441 1
a8441 1
echo "$as_me:7832: checking for dmalloc_debug in -ldmalloc" >&5
d8449 1
a8449 1
#line 7840 "configure"
d8468 1
a8468 1
if { (eval echo "$as_me:7859: \"$ac_link\"") >&5
d8471 1
a8471 1
  echo "$as_me:7862: \$? = $ac_status" >&5
d8474 1
a8474 1
  { (eval echo "$as_me:7865: \"$ac_try\"") >&5
d8477 1
a8477 1
  echo "$as_me:7868: \$? = $ac_status" >&5
d8488 1
a8488 1
echo "$as_me:7879: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
d8503 1
a8503 1
echo "$as_me:7894: checking if you want to use dbmalloc for testing" >&5
d8509 2
a8510 1
  cat >>confdefs.h <<\EOF
d8520 1
a8520 1
echo "$as_me:7910: result: ${with_dbmalloc:-no}" >&5
d8614 1
a8614 1
	echo "$as_me:8004: checking for dbmalloc.h" >&5
d8620 1
a8620 1
#line 8010 "configure"
d8624 1
a8624 1
if { (eval echo "$as_me:8014: \"$ac_cpp conftest.$ac_ext\"") >&5
d8630 1
a8630 1
  echo "$as_me:8020: \$? = $ac_status" >&5
d8649 1
a8649 1
echo "$as_me:8039: result: $ac_cv_header_dbmalloc_h" >&5
d8653 1
a8653 1
echo "$as_me:8043: checking for debug_malloc in -ldbmalloc" >&5
d8661 1
a8661 1
#line 8051 "configure"
d8680 1
a8680 1
if { (eval echo "$as_me:8070: \"$ac_link\"") >&5
d8683 1
a8683 1
  echo "$as_me:8073: \$? = $ac_status" >&5
d8686 1
a8686 1
  { (eval echo "$as_me:8076: \"$ac_try\"") >&5
d8689 1
a8689 1
  echo "$as_me:8079: \$? = $ac_status" >&5
d8700 1
a8700 1
echo "$as_me:8090: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
d8715 1
a8715 1
echo "$as_me:8105: checking if you want to use purify for testing" >&5
d8721 2
a8722 1
  cat >>confdefs.h <<\EOF
d8732 1
a8732 1
echo "$as_me:8121: result: ${with_purify:-no}" >&5
d8825 1
a8825 1
echo "$as_me:8214: checking if you want to use valgrind for testing" >&5
d8831 2
a8832 1
  cat >>confdefs.h <<\EOF
d8842 1
a8842 1
echo "$as_me:8230: result: ${with_valgrind:-no}" >&5
d8935 1
a8935 1
echo "$as_me:8323: checking if you want to perform memory-leak testing" >&5
d8941 2
a8942 1
  cat >>confdefs.h <<\EOF
d8949 2
a8950 1
	 *) cat >>confdefs.h <<\EOF
d8959 1
a8959 1
echo "$as_me:8345: result: $with_no_leaks" >&5
d8962 1
a8962 1
echo "$as_me:8348: checking if you want --trace option" >&5
d8972 1
a8972 1
echo "$as_me:8358: result: $enableval" >&5
d8976 2
a8977 1
	 cat >>confdefs.h <<\EOF
d8987 1
a8987 1
echo "$as_me:8372: checking if libtool -version-number should be used" >&5
d9004 1
a9004 1
echo "$as_me:8389: result: $cf_libtool_version" >&5
d9029 1
a9029 1
echo "$as_me:8414: checking if you want to build libraries with libtool" >&5
d9039 1
a9039 1
echo "$as_me:8424: result: $with_libtool" >&5
d9058 1
a9058 1
.\${*prefix}*) #(vi
d9070 1
a9070 1
  { { echo "$as_me:8455: error: expected a pathname, not \"$with_libtool\"" >&5
d9080 1
a9080 1
echo "$as_me:8465: checking for $ac_word" >&5
d9097 1
a9097 1
   echo "$as_me:8482: found $ac_dir/$ac_word" >&5
d9108 1
a9108 1
  echo "$as_me:8493: result: $LIBTOOL" >&5
d9111 1
a9111 1
  echo "$as_me:8496: result: no" >&5
d9117 1
a9117 1
		{ { echo "$as_me:8502: error: Cannot find libtool" >&5
d9132 1
a9132 1
	echo "$as_me:8517: checking version of libtool" >&5
d9139 1
a9139 1
	echo "$as_me:8524: result: $cf_cv_libtool_version" >&5
d9142 1
a9142 1
		{ { echo "$as_me:8527: error: This is not GNU libtool" >&5
d9150 1
a9150 1
	cygwin*|mingw32*|uwin*|aix[456]) #(vi
d9176 1
a9176 1
echo "$as_me:8561: checking for additional libtool options" >&5
d9186 1
a9186 1
echo "$as_me:8571: result: $with_libtool_opts" >&5
d9199 1
a9199 1
echo "$as_me:8584: checking for specific curses-directory" >&5
d9209 1
a9209 1
echo "$as_me:8594: result: $cf_cv_curses_dir" >&5
d9228 1
a9228 1
.\${*prefix}*) #(vi
d9240 1
a9240 1
  { { echo "$as_me:8625: error: expected a pathname, not \"$withval\"" >&5
d9273 1
a9273 1
#line 8658 "configure"
d9285 1
a9285 1
if { (eval echo "$as_me:8670: \"$ac_compile\"") >&5
d9288 1
a9288 1
  echo "$as_me:8673: \$? = $ac_status" >&5
d9291 1
a9291 1
  { (eval echo "$as_me:8676: \"$ac_try\"") >&5
d9294 1
a9294 1
  echo "$as_me:8679: \$? = $ac_status" >&5
d9311 1
a9311 1
echo "${as_me:-configure}:8696: testing adding $cf_add_incdir to include-path ..." 1>&5
d9345 1
a9345 1
echo "${as_me:-configure}:8730: testing adding $cf_add_libdir to library-path ..." 1>&5
d9373 1
a9373 1
echo "$as_me:8758: checking for multibyte character support" >&5
d9381 1
a9381 1
#line 8766 "configure"
d9394 1
a9394 1
if { (eval echo "$as_me:8779: \"$ac_link\"") >&5
d9397 1
a9397 1
  echo "$as_me:8782: \$? = $ac_status" >&5
d9400 1
a9400 1
  { (eval echo "$as_me:8785: \"$ac_try\"") >&5
d9403 1
a9403 1
  echo "$as_me:8788: \$? = $ac_status" >&5
d9415 1
a9415 1
echo "${as_me:-configure}:8800: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
d9420 1
a9420 1
#line 8805 "configure"
d9433 1
a9433 1
if { (eval echo "$as_me:8818: \"$ac_link\"") >&5
d9436 1
a9436 1
  echo "$as_me:8821: \$? = $ac_status" >&5
d9439 1
a9439 1
  { (eval echo "$as_me:8824: \"$ac_try\"") >&5
d9442 1
a9442 1
  echo "$as_me:8827: \$? = $ac_status" >&5
d9456 1
a9456 1
#line 8841 "configure"
d9469 1
a9469 1
if { (eval echo "$as_me:8854: \"$ac_link\"") >&5
d9472 1
a9472 1
  echo "$as_me:8857: \$? = $ac_status" >&5
d9475 1
a9475 1
  { (eval echo "$as_me:8860: \"$ac_try\"") >&5
d9478 1
a9478 1
  echo "$as_me:8863: \$? = $ac_status" >&5
d9495 1
a9495 1
echo "${as_me:-configure}:8880: testing find linkage for utf8 library ..." 1>&5
d9497 1
a9497 1
echo "${as_me:-configure}:8882: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
d9610 1
a9610 1
echo "${as_me:-configure}:8995: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
d9614 1
a9614 1
#line 8999 "configure"
d9627 1
a9627 1
if { (eval echo "$as_me:9012: \"$ac_compile\"") >&5
d9630 1
a9630 1
  echo "$as_me:9015: \$? = $ac_status" >&5
d9633 1
a9633 1
  { (eval echo "$as_me:9018: \"$ac_try\"") >&5
d9636 1
a9636 1
  echo "$as_me:9021: \$? = $ac_status" >&5
d9641 1
a9641 1
echo "${as_me:-configure}:9026: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
d9659 1
a9659 1
echo "${as_me:-configure}:9044: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
d9756 1
a9756 1
echo "${as_me:-configure}:9141: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
d9762 1
a9762 1
#line 9147 "configure"
d9775 1
a9775 1
if { (eval echo "$as_me:9160: \"$ac_link\"") >&5
d9778 1
a9778 1
  echo "$as_me:9163: \$? = $ac_status" >&5
d9781 1
a9781 1
  { (eval echo "$as_me:9166: \"$ac_try\"") >&5
d9784 1
a9784 1
  echo "$as_me:9169: \$? = $ac_status" >&5
d9789 1
a9789 1
echo "${as_me:-configure}:9174: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
d9831 1
a9831 1
echo "$as_me:9216: result: $cf_cv_utf8_lib" >&5
d9837 2
a9838 1
	cat >>confdefs.h <<\EOF
d9866 1
a9866 1
#line 9250 "configure"
d9878 1
a9878 1
if { (eval echo "$as_me:9262: \"$ac_compile\"") >&5
d9881 1
a9881 1
  echo "$as_me:9265: \$? = $ac_status" >&5
d9884 1
a9884 1
  { (eval echo "$as_me:9268: \"$ac_try\"") >&5
d9887 1
a9887 1
  echo "$as_me:9271: \$? = $ac_status" >&5
d9904 1
a9904 1
echo "${as_me:-configure}:9288: testing adding $cf_add_incdir to include-path ..." 1>&5
d9938 1
a9938 1
echo "${as_me:-configure}:9322: testing adding $cf_add_libdir to library-path ..." 1>&5
d9951 45
a9995 4
cf_ncuconfig_root=$use_ncurses

echo "Looking for ${cf_ncuconfig_root}-config"
for ac_prog in ${cf_ncuconfig_root}6-config ${cf_ncuconfig_root}5-config
d9999 1
a9999 1
echo "$as_me:9342: checking for $ac_word" >&5
d10001 1
a10001 1
if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then
d10004 3
a10006 5
  case $NCURSES_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test with a path.
  ;;
  *)
d10012 4
a10015 5
  if $as_executable_p "$ac_dir/$ac_word"; then
   ac_cv_path_NCURSES_CONFIG="$ac_dir/$ac_word"
   echo "$as_me:9359: found $ac_dir/$ac_word" >&5
   break
fi
a10017 2
  ;;
esac
d10019 5
a10023 5
NCURSES_CONFIG=$ac_cv_path_NCURSES_CONFIG

if test -n "$NCURSES_CONFIG"; then
  echo "$as_me:9370: result: $NCURSES_CONFIG" >&5
echo "${ECHO_T}$NCURSES_CONFIG" >&6
d10025 1
a10025 1
  echo "$as_me:9373: result: no" >&5
d10029 1
a10029 1
  test -n "$NCURSES_CONFIG" && break
d10031 4
a10034 1
test -n "$NCURSES_CONFIG" || NCURSES_CONFIG="none"
d10043 1
a10043 1
echo "$as_me:9388: checking if we have identified curses headers" >&5
d10057 1
a10057 1
#line 9402 "configure"
d10069 1
a10069 1
if { (eval echo "$as_me:9414: \"$ac_compile\"") >&5
d10072 1
a10072 1
  echo "$as_me:9417: \$? = $ac_status" >&5
d10075 1
a10075 1
  { (eval echo "$as_me:9420: \"$ac_try\"") >&5
d10078 1
a10078 1
  echo "$as_me:9423: \$? = $ac_status" >&5
d10089 1
a10089 1
echo "$as_me:9434: result: $cf_cv_ncurses_header" >&5
d10093 1
a10093 1
	{ { echo "$as_me:9438: error: No curses header-files found" >&5
d10103 1
a10103 1
echo "$as_me:9448: checking for $ac_header" >&5
d10109 1
a10109 1
#line 9454 "configure"
d10113 1
a10113 1
if { (eval echo "$as_me:9458: \"$ac_cpp conftest.$ac_ext\"") >&5
d10119 1
a10119 1
  echo "$as_me:9464: \$? = $ac_status" >&5
d10138 1
a10138 1
echo "$as_me:9483: result: `eval echo '${'$as_ac_Header'}'`" >&5
d10191 1
a10191 1
#line 9536 "configure"
d10203 1
a10203 1
if { (eval echo "$as_me:9548: \"$ac_compile\"") >&5
d10206 1
a10206 1
  echo "$as_me:9551: \$? = $ac_status" >&5
d10209 1
a10209 1
  { (eval echo "$as_me:9554: \"$ac_try\"") >&5
d10212 1
a10212 1
  echo "$as_me:9557: \$? = $ac_status" >&5
d10229 1
a10229 1
echo "${as_me:-configure}:9574: testing adding $cf_add_incdir to include-path ..." 1>&5
d10246 1
a10246 1
echo "$as_me:9591: checking for $cf_ncuhdr_root header in include-path" >&5
d10258 1
a10258 1
#line 9603 "configure"
d10282 1
a10282 1
if { (eval echo "$as_me:9627: \"$ac_compile\"") >&5
d10285 1
a10285 1
  echo "$as_me:9630: \$? = $ac_status" >&5
d10288 1
a10288 1
  { (eval echo "$as_me:9633: \"$ac_try\"") >&5
d10291 1
a10291 1
  echo "$as_me:9636: \$? = $ac_status" >&5
d10306 1
a10306 1
echo "$as_me:9651: result: $cf_cv_ncurses_h" >&5
d10313 1
a10313 1
echo "$as_me:9658: checking for $cf_ncuhdr_root include-path" >&5
d10453 1
a10453 1
#line 9798 "configure"
d10465 1
a10465 1
if { (eval echo "$as_me:9810: \"$ac_compile\"") >&5
d10468 1
a10468 1
  echo "$as_me:9813: \$? = $ac_status" >&5
d10471 1
a10471 1
  { (eval echo "$as_me:9816: \"$ac_try\"") >&5
d10474 1
a10474 1
  echo "$as_me:9819: \$? = $ac_status" >&5
d10491 1
a10491 1
echo "${as_me:-configure}:9836: testing adding $cf_add_incdir to include-path ..." 1>&5
d10512 1
a10512 1
#line 9857 "configure"
d10536 1
a10536 1
if { (eval echo "$as_me:9881: \"$ac_compile\"") >&5
d10539 1
a10539 1
  echo "$as_me:9884: \$? = $ac_status" >&5
d10542 1
a10542 1
  { (eval echo "$as_me:9887: \"$ac_try\"") >&5
d10545 1
a10545 1
  echo "$as_me:9890: \$? = $ac_status" >&5
d10566 1
a10566 1
	test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:9911: error: not found" >&5
d10571 1
a10571 1
echo "$as_me:9916: result: $cf_cv_ncurses_h2" >&5
d10604 1
a10604 1
#line 9949 "configure"
d10616 1
a10616 1
if { (eval echo "$as_me:9961: \"$ac_compile\"") >&5
d10619 1
a10619 1
  echo "$as_me:9964: \$? = $ac_status" >&5
d10622 1
a10622 1
  { (eval echo "$as_me:9967: \"$ac_try\"") >&5
d10625 1
a10625 1
  echo "$as_me:9970: \$? = $ac_status" >&5
d10642 1
a10642 1
echo "${as_me:-configure}:9987: testing adding $cf_add_incdir to include-path ..." 1>&5
d10663 2
a10664 1
	cat >>confdefs.h <<\EOF
d10673 2
a10674 1
	cat >>confdefs.h <<\EOF
d10680 2
a10681 1
	cat >>confdefs.h <<\EOF
d10688 1
a10688 1
echo "$as_me:10030: checking for terminfo header" >&5
d10706 1
a10706 1
#line 10048 "configure"
d10721 1
a10721 1
if { (eval echo "$as_me:10063: \"$ac_compile\"") >&5
d10724 1
a10724 1
  echo "$as_me:10066: \$? = $ac_status" >&5
d10727 1
a10727 1
  { (eval echo "$as_me:10069: \"$ac_try\"") >&5
d10730 1
a10730 1
  echo "$as_me:10072: \$? = $ac_status" >&5
d10746 1
a10746 1
echo "$as_me:10088: result: $cf_cv_term_header" >&5
d10753 2
a10754 1
	cat >>confdefs.h <<\EOF
d10763 2
a10764 1
	cat >>confdefs.h <<\EOF
d10770 2
a10771 1
	cat >>confdefs.h <<\EOF
d10779 1
d10784 1
a10784 1
echo "$as_me:10122: checking for ncurses version" >&5
d10810 1
a10810 1
	{ (eval echo "$as_me:10148: \"$cf_try\"") >&5
d10813 1
a10813 1
  echo "$as_me:10151: \$? = $ac_status" >&5
d10823 1
a10823 1
#line 10161 "configure"
d10848 1
a10848 1
if { (eval echo "$as_me:10186: \"$ac_link\"") >&5
d10851 1
a10851 1
  echo "$as_me:10189: \$? = $ac_status" >&5
d10853 1
a10853 1
  { (eval echo "$as_me:10191: \"$ac_try\"") >&5
d10856 1
a10856 1
  echo "$as_me:10194: \$? = $ac_status" >&5
d10870 1
a10870 1
echo "$as_me:10208: result: $cf_cv_ncurses_version" >&5
d10872 2
a10873 1
test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF
d10883 1
a10883 1
echo "$as_me:10220: checking for Gpm_Open in -lgpm" >&5
d10891 1
a10891 1
#line 10228 "configure"
d10910 1
a10910 1
if { (eval echo "$as_me:10247: \"$ac_link\"") >&5
d10913 1
a10913 1
  echo "$as_me:10250: \$? = $ac_status" >&5
d10916 1
a10916 1
  { (eval echo "$as_me:10253: \"$ac_try\"") >&5
d10919 1
a10919 1
  echo "$as_me:10256: \$? = $ac_status" >&5
d10930 1
a10930 1
echo "$as_me:10267: result: $ac_cv_lib_gpm_Gpm_Open" >&5
d10933 1
a10933 1
  echo "$as_me:10270: checking for initscr in -lgpm" >&5
d10941 1
a10941 1
#line 10278 "configure"
d10960 1
a10960 1
if { (eval echo "$as_me:10297: \"$ac_link\"") >&5
d10963 1
a10963 1
  echo "$as_me:10300: \$? = $ac_status" >&5
d10966 1
a10966 1
  { (eval echo "$as_me:10303: \"$ac_try\"") >&5
d10969 1
a10969 1
  echo "$as_me:10306: \$? = $ac_status" >&5
d10980 1
a10980 1
echo "$as_me:10317: result: $ac_cv_lib_gpm_initscr" >&5
d10995 1
a10995 1
		echo "$as_me:10332: checking for tgoto in -lmytinfo" >&5
d11003 1
a11003 1
#line 10340 "configure"
d11022 1
a11022 1
if { (eval echo "$as_me:10359: \"$ac_link\"") >&5
d11025 1
a11025 1
  echo "$as_me:10362: \$? = $ac_status" >&5
d11028 1
a11028 1
  { (eval echo "$as_me:10365: \"$ac_try\"") >&5
d11031 1
a11031 1
  echo "$as_me:10368: \$? = $ac_status" >&5
d11042 1
a11042 1
echo "$as_me:10379: result: $ac_cv_lib_mytinfo_tgoto" >&5
d11061 1
a11061 1
	echo "$as_me:10398: checking for initscr" >&5
d11067 1
a11067 1
#line 10404 "configure"
d11090 1
a11090 1
f = initscr;
d11098 1
a11098 1
if { (eval echo "$as_me:10435: \"$ac_link\"") >&5
d11101 1
a11101 1
  echo "$as_me:10438: \$? = $ac_status" >&5
d11104 1
a11104 1
  { (eval echo "$as_me:10441: \"$ac_try\"") >&5
d11107 1
a11107 1
  echo "$as_me:10444: \$? = $ac_status" >&5
d11117 1
a11117 1
echo "$as_me:10454: result: $ac_cv_func_initscr" >&5
d11124 1
a11124 1
		echo "$as_me:10461: checking for initscr in -l$cf_nculib_root" >&5
d11128 1
a11128 1
#line 10465 "configure"
d11140 1
a11140 1
if { (eval echo "$as_me:10477: \"$ac_link\"") >&5
d11143 1
a11143 1
  echo "$as_me:10480: \$? = $ac_status" >&5
d11146 1
a11146 1
  { (eval echo "$as_me:10483: \"$ac_try\"") >&5
d11149 1
a11149 1
  echo "$as_me:10486: \$? = $ac_status" >&5
d11151 1
a11151 1
  echo "$as_me:10488: result: yes" >&5
d11158 1
a11158 1
echo "$as_me:10495: result: no" >&5
d11248 1
a11248 1
				echo "$as_me:10585: checking for -l$cf_nculib_root in $cf_libdir" >&5
d11252 1
a11252 1
#line 10589 "configure"
d11264 1
a11264 1
if { (eval echo "$as_me:10601: \"$ac_link\"") >&5
d11267 1
a11267 1
  echo "$as_me:10604: \$? = $ac_status" >&5
d11270 1
a11270 1
  { (eval echo "$as_me:10607: \"$ac_try\"") >&5
d11273 1
a11273 1
  echo "$as_me:10610: \$? = $ac_status" >&5
d11275 1
a11275 1
  echo "$as_me:10612: result: yes" >&5
d11282 1
a11282 1
echo "$as_me:10619: result: no" >&5
d11297 1
a11297 1
	{ { echo "$as_me:10634: error: Cannot link $cf_nculib_root library" >&5
d11305 1
a11305 1
	echo "$as_me:10642: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
d11315 1
a11315 1
#line 10652 "configure"
d11327 1
a11327 1
if { (eval echo "$as_me:10664: \"$ac_link\"") >&5
d11330 1
a11330 1
  echo "$as_me:10667: \$? = $ac_status" >&5
d11333 1
a11333 1
  { (eval echo "$as_me:10670: \"$ac_try\"") >&5
d11336 1
a11336 1
  echo "$as_me:10673: \$? = $ac_status" >&5
d11338 1
a11338 1
  echo "$as_me:10675: result: yes" >&5
d11343 1
a11343 1
echo "$as_me:10680: result: no" >&5
d11361 1
a11361 1
echo "$as_me:10698: checking for extra include directories" >&5
d11387 1
a11387 1
echo "$as_me:10724: result: $cf_cv_curses_incdir" >&5
d11391 1
a11391 1
echo "$as_me:10728: checking if we have identified curses headers" >&5
d11403 1
a11403 1
#line 10740 "configure"
d11415 1
a11415 1
if { (eval echo "$as_me:10752: \"$ac_compile\"") >&5
d11418 1
a11418 1
  echo "$as_me:10755: \$? = $ac_status" >&5
d11421 1
a11421 1
  { (eval echo "$as_me:10758: \"$ac_try\"") >&5
d11424 1
a11424 1
  echo "$as_me:10761: \$? = $ac_status" >&5
d11435 1
a11435 1
echo "$as_me:10772: result: $cf_cv_ncurses_header" >&5
d11439 1
a11439 1
	{ { echo "$as_me:10776: error: No curses header-files found" >&5
d11449 1
a11449 1
echo "$as_me:10786: checking for $ac_header" >&5
d11455 1
a11455 1
#line 10792 "configure"
d11459 1
a11459 1
if { (eval echo "$as_me:10796: \"$ac_cpp conftest.$ac_ext\"") >&5
d11465 1
a11465 1
  echo "$as_me:10802: \$? = $ac_status" >&5
d11484 1
a11484 1
echo "$as_me:10821: result: `eval echo '${'$as_ac_Header'}'`" >&5
d11494 1
a11494 1
echo "$as_me:10831: checking for terminfo header" >&5
d11512 1
a11512 1
#line 10849 "configure"
d11527 1
a11527 1
if { (eval echo "$as_me:10864: \"$ac_compile\"") >&5
d11530 1
a11530 1
  echo "$as_me:10867: \$? = $ac_status" >&5
d11533 1
a11533 1
  { (eval echo "$as_me:10870: \"$ac_try\"") >&5
d11536 1
a11536 1
  echo "$as_me:10873: \$? = $ac_status" >&5
d11552 1
a11552 1
echo "$as_me:10889: result: $cf_cv_term_header" >&5
d11559 2
a11560 1
	cat >>confdefs.h <<\EOF
d11569 2
a11570 1
	cat >>confdefs.h <<\EOF
d11576 2
a11577 1
	cat >>confdefs.h <<\EOF
d11584 1
a11584 1
echo "$as_me:10918: checking for ncurses version" >&5
d11610 1
a11610 1
	{ (eval echo "$as_me:10944: \"$cf_try\"") >&5
d11613 1
a11613 1
  echo "$as_me:10947: \$? = $ac_status" >&5
d11623 1
a11623 1
#line 10957 "configure"
d11648 1
a11648 1
if { (eval echo "$as_me:10982: \"$ac_link\"") >&5
d11651 1
a11651 1
  echo "$as_me:10985: \$? = $ac_status" >&5
d11653 1
a11653 1
  { (eval echo "$as_me:10987: \"$ac_try\"") >&5
d11656 1
a11656 1
  echo "$as_me:10990: \$? = $ac_status" >&5
d11670 1
a11670 1
echo "$as_me:11004: result: $cf_cv_ncurses_version" >&5
d11672 2
a11673 1
test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF
d11677 1
a11677 1
echo "$as_me:11010: checking if we have identified curses libraries" >&5
d11680 1
a11680 1
#line 11013 "configure"
d11692 1
a11692 1
if { (eval echo "$as_me:11025: \"$ac_link\"") >&5
d11695 1
a11695 1
  echo "$as_me:11028: \$? = $ac_status" >&5
d11698 1
a11698 1
  { (eval echo "$as_me:11031: \"$ac_try\"") >&5
d11701 1
a11701 1
  echo "$as_me:11034: \$? = $ac_status" >&5
d11710 1
a11710 1
echo "$as_me:11043: result: $cf_result" >&5
d11716 1
a11716 1
    echo "$as_me:11049: checking for tgoto in -lmytinfo" >&5
d11724 1
a11724 1
#line 11057 "configure"
d11743 1
a11743 1
if { (eval echo "$as_me:11076: \"$ac_link\"") >&5
d11746 1
a11746 1
  echo "$as_me:11079: \$? = $ac_status" >&5
d11749 1
a11749 1
  { (eval echo "$as_me:11082: \"$ac_try\"") >&5
d11752 1
a11752 1
  echo "$as_me:11085: \$? = $ac_status" >&5
d11763 1
a11763 1
echo "$as_me:11096: result: $ac_cv_lib_mytinfo_tgoto" >&5
d11777 1
a11777 1
		echo "$as_me:11110: checking for initscr in -lcur_colr" >&5
d11785 1
a11785 1
#line 11118 "configure"
d11804 1
a11804 1
if { (eval echo "$as_me:11137: \"$ac_link\"") >&5
d11807 1
a11807 1
  echo "$as_me:11140: \$? = $ac_status" >&5
d11810 1
a11810 1
  { (eval echo "$as_me:11143: \"$ac_try\"") >&5
d11813 1
a11813 1
  echo "$as_me:11146: \$? = $ac_status" >&5
d11824 1
a11824 1
echo "$as_me:11157: result: $ac_cv_lib_cur_colr_initscr" >&5
d11833 1
a11833 1
		echo "$as_me:11166: checking for initscr in -lHcurses" >&5
d11841 1
a11841 1
#line 11174 "configure"
d11860 1
a11860 1
if { (eval echo "$as_me:11193: \"$ac_link\"") >&5
d11863 1
a11863 1
  echo "$as_me:11196: \$? = $ac_status" >&5
d11866 1
a11866 1
  { (eval echo "$as_me:11199: \"$ac_try\"") >&5
d11869 1
a11869 1
  echo "$as_me:11202: \$? = $ac_status" >&5
d11880 1
a11880 1
echo "$as_me:11213: result: $ac_cv_lib_Hcurses_initscr" >&5
d11920 1
a11920 1
echo "${as_me:-configure}:11253: testing adding $cf_add_libdir to library-path ..." 1>&5
d11949 1
a11949 1
echo "${as_me:-configure}:11282: testing adding $cf_add_libdir to library-path ..." 1>&5
d11980 1
a11980 1
echo "${as_me:-configure}:11313: testing adding $cf_add_libdir to library-path ..." 1>&5
d12015 1
a12015 1
echo "${as_me:-configure}:11348: testing adding $cf_add_libdir to library-path ..." 1>&5
d12044 1
a12044 1
    echo "$as_me:11377: checking for tgoto" >&5
d12050 1
a12050 1
#line 11383 "configure"
d12073 1
a12073 1
f = tgoto;
d12081 1
a12081 1
if { (eval echo "$as_me:11414: \"$ac_link\"") >&5
d12084 1
a12084 1
  echo "$as_me:11417: \$? = $ac_status" >&5
d12087 1
a12087 1
  { (eval echo "$as_me:11420: \"$ac_try\"") >&5
d12090 1
a12090 1
  echo "$as_me:11423: \$? = $ac_status" >&5
d12100 1
a12100 1
echo "$as_me:11433: result: $ac_cv_func_tgoto" >&5
d12106 1
a12106 1
        for cf_term_lib in $cf_check_list termcap termlib unknown
d12109 1
a12109 1
echo "$as_me:11442: checking for tgoto in -l$cf_term_lib" >&5
d12117 1
a12117 1
#line 11450 "configure"
d12136 1
a12136 1
if { (eval echo "$as_me:11469: \"$ac_link\"") >&5
d12139 1
a12139 1
  echo "$as_me:11472: \$? = $ac_status" >&5
d12142 1
a12142 1
  { (eval echo "$as_me:11475: \"$ac_try\"") >&5
d12145 1
a12145 1
  echo "$as_me:11478: \$? = $ac_status" >&5
d12156 1
a12156 1
echo "$as_me:11489: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d12171 1
a12171 1
echo "$as_me:11504: checking for initscr in -l$cf_curs_lib" >&5
d12179 1
a12179 1
#line 11512 "configure"
d12198 1
a12198 1
if { (eval echo "$as_me:11531: \"$ac_link\"") >&5
d12201 1
a12201 1
  echo "$as_me:11534: \$? = $ac_status" >&5
d12204 1
a12204 1
  { (eval echo "$as_me:11537: \"$ac_try\"") >&5
d12207 1
a12207 1
  echo "$as_me:11540: \$? = $ac_status" >&5
d12218 1
a12218 1
echo "$as_me:11551: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d12225 1
a12225 1
    test $cf_curs_lib = unknown && { { echo "$as_me:11558: error: no curses library found" >&5
d12231 1
a12231 1
        echo "$as_me:11564: checking if we can link with $cf_curs_lib library" >&5
d12234 1
a12234 1
#line 11567 "configure"
d12246 1
a12246 1
if { (eval echo "$as_me:11579: \"$ac_link\"") >&5
d12249 1
a12249 1
  echo "$as_me:11582: \$? = $ac_status" >&5
d12252 1
a12252 1
  { (eval echo "$as_me:11585: \"$ac_try\"") >&5
d12255 1
a12255 1
  echo "$as_me:11588: \$? = $ac_status" >&5
d12264 1
a12264 1
        echo "$as_me:11597: result: $cf_result" >&5
d12266 1
a12266 1
        test $cf_result = no && { { echo "$as_me:11599: error: Cannot link curses library" >&5
d12272 1
a12272 1
        echo "$as_me:11605: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
d12275 1
a12275 1
#line 11608 "configure"
d12287 1
a12287 1
if { (eval echo "$as_me:11620: \"$ac_link\"") >&5
d12290 1
a12290 1
  echo "$as_me:11623: \$? = $ac_status" >&5
d12293 1
a12293 1
  { (eval echo "$as_me:11626: \"$ac_try\"") >&5
d12296 1
a12296 1
  echo "$as_me:11629: \$? = $ac_status" >&5
d12305 1
a12305 1
#line 11638 "configure"
d12317 1
a12317 1
if { (eval echo "$as_me:11650: \"$ac_link\"") >&5
d12320 1
a12320 1
  echo "$as_me:11653: \$? = $ac_status" >&5
d12323 1
a12323 1
  { (eval echo "$as_me:11656: \"$ac_try\"") >&5
d12326 1
a12326 1
  echo "$as_me:11659: \$? = $ac_status" >&5
d12338 1
a12338 1
        echo "$as_me:11671: result: $cf_result" >&5
d12348 1
a12348 1
echo "$as_me:11681: checking if you want extra dialogs" >&5
d12358 1
a12358 1
echo "$as_me:11691: result: $enableval" >&5
d12366 1
a12366 1
echo "$as_me:11699: checking if you want config-file support" >&5
d12376 1
a12376 1
echo "$as_me:11709: result: $enableval" >&5
d12380 2
a12381 1
	 cat >>confdefs.h <<\EOF
d12389 1
a12389 1
echo "$as_me:11721: checking if you want Xdialog-style dialogs" >&5
d12399 1
a12399 1
echo "$as_me:11731: result: $enableval" >&5
d12403 2
a12404 1
	 cat >>confdefs.h <<\EOF
d12412 46
a12457 1
echo "$as_me:11743: checking if you want the form dialog" >&5
d12467 1
a12467 1
echo "$as_me:11753: result: $enableval" >&5
d12471 2
a12472 1
	 cat >>confdefs.h <<\EOF
d12480 1
a12480 1
echo "$as_me:11765: checking if you want the gauge dialog" >&5
d12490 1
a12490 1
echo "$as_me:11775: result: $enableval" >&5
d12494 2
a12495 1
	 cat >>confdefs.h <<\EOF
d12503 1
a12503 1
echo "$as_me:11787: checking if you want the tailbox dialog" >&5
d12513 1
a12513 1
echo "$as_me:11797: result: $enableval" >&5
d12517 2
a12518 1
	 cat >>confdefs.h <<\EOF
d12526 1
a12526 1
echo "$as_me:11809: checking if you want the mixedform dialog" >&5
d12536 1
a12536 1
echo "$as_me:11819: result: $enableval" >&5
d12540 2
a12541 1
	 cat >>confdefs.h <<\EOF
d12549 1
a12549 1
echo "$as_me:11831: checking if you want the mixedgauge dialog" >&5
d12559 1
a12559 1
echo "$as_me:11841: result: $enableval" >&5
d12563 2
a12564 1
	 cat >>confdefs.h <<\EOF
d12572 1
a12572 1
echo "$as_me:11853: checking if you want the wide-curses features" >&5
d12582 1
a12582 1
echo "$as_me:11863: result: $enableval" >&5
d12585 1
d12594 1
a12594 1
echo "$as_me:11874: checking for ANSI C header files" >&5
d12600 1
a12600 1
#line 11880 "configure"
d12608 1
a12608 1
if { (eval echo "$as_me:11888: \"$ac_cpp conftest.$ac_ext\"") >&5
d12614 1
a12614 1
  echo "$as_me:11894: \$? = $ac_status" >&5
d12636 1
a12636 1
#line 11916 "configure"
d12654 1
a12654 1
#line 11934 "configure"
d12675 1
a12675 1
#line 11955 "configure"
d12701 1
a12701 1
if { (eval echo "$as_me:11981: \"$ac_link\"") >&5
d12704 1
a12704 1
  echo "$as_me:11984: \$? = $ac_status" >&5
d12706 1
a12706 1
  { (eval echo "$as_me:11986: \"$ac_try\"") >&5
d12709 1
a12709 1
  echo "$as_me:11989: \$? = $ac_status" >&5
d12722 1
a12722 1
echo "$as_me:12002: result: $ac_cv_header_stdc" >&5
d12732 1
a12732 1
echo "$as_me:12012: checking whether time.h and sys/time.h may both be included" >&5
d12738 1
a12738 1
#line 12018 "configure"
d12754 1
a12754 1
if { (eval echo "$as_me:12034: \"$ac_compile\"") >&5
d12757 1
a12757 1
  echo "$as_me:12037: \$? = $ac_status" >&5
d12760 1
a12760 1
  { (eval echo "$as_me:12040: \"$ac_try\"") >&5
d12763 1
a12763 1
  echo "$as_me:12043: \$? = $ac_status" >&5
d12773 1
a12773 1
echo "$as_me:12053: result: $ac_cv_header_time" >&5
d12786 1
a12786 1
echo "$as_me:12066: checking for $ac_hdr that defines DIR" >&5
d12792 1
a12792 1
#line 12072 "configure"
d12807 1
a12807 1
if { (eval echo "$as_me:12087: \"$ac_compile\"") >&5
d12810 1
a12810 1
  echo "$as_me:12090: \$? = $ac_status" >&5
d12813 1
a12813 1
  { (eval echo "$as_me:12093: \"$ac_try\"") >&5
d12816 1
a12816 1
  echo "$as_me:12096: \$? = $ac_status" >&5
d12826 1
a12826 1
echo "$as_me:12106: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12839 1
a12839 1
  echo "$as_me:12119: checking for opendir in -ldir" >&5
d12847 1
a12847 1
#line 12127 "configure"
d12866 1
a12866 1
if { (eval echo "$as_me:12146: \"$ac_link\"") >&5
d12869 1
a12869 1
  echo "$as_me:12149: \$? = $ac_status" >&5
d12872 1
a12872 1
  { (eval echo "$as_me:12152: \"$ac_try\"") >&5
d12875 1
a12875 1
  echo "$as_me:12155: \$? = $ac_status" >&5
d12886 1
a12886 1
echo "$as_me:12166: result: $ac_cv_lib_dir_opendir" >&5
d12893 1
a12893 1
  echo "$as_me:12173: checking for opendir in -lx" >&5
d12901 1
a12901 1
#line 12181 "configure"
d12920 1
a12920 1
if { (eval echo "$as_me:12200: \"$ac_link\"") >&5
d12923 1
a12923 1
  echo "$as_me:12203: \$? = $ac_status" >&5
d12926 1
a12926 1
  { (eval echo "$as_me:12206: \"$ac_try\"") >&5
d12929 1
a12929 1
  echo "$as_me:12209: \$? = $ac_status" >&5
d12940 1
a12940 1
echo "$as_me:12220: result: $ac_cv_lib_x_opendir" >&5
d12951 1
a12951 1
echo "$as_me:12231: checking for $ac_header" >&5
d12957 1
a12957 1
#line 12237 "configure"
d12961 1
a12961 1
if { (eval echo "$as_me:12241: \"$ac_cpp conftest.$ac_ext\"") >&5
d12967 1
a12967 1
  echo "$as_me:12247: \$? = $ac_status" >&5
d12986 1
a12986 1
echo "$as_me:12266: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12996 1
a12996 1
echo "$as_me:12276: checking for term.h" >&5
d13017 1
a13017 1
#line 12297 "configure"
d13031 1
a13031 1
if { (eval echo "$as_me:12311: \"$ac_compile\"") >&5
d13034 1
a13034 1
  echo "$as_me:12314: \$? = $ac_status" >&5
d13037 1
a13037 1
  { (eval echo "$as_me:12317: \"$ac_try\"") >&5
d13040 1
a13040 1
  echo "$as_me:12320: \$? = $ac_status" >&5
d13059 1
a13059 1
#line 12339 "configure"
d13077 1
a13077 1
if { (eval echo "$as_me:12357: \"$ac_compile\"") >&5
d13080 1
a13080 1
  echo "$as_me:12360: \$? = $ac_status" >&5
d13083 1
a13083 1
  { (eval echo "$as_me:12363: \"$ac_try\"") >&5
d13086 1
a13086 1
  echo "$as_me:12366: \$? = $ac_status" >&5
d13101 1
a13101 1
echo "$as_me:12381: result: $cf_cv_term_header" >&5
d13106 2
a13107 1
	cat >>confdefs.h <<\EOF
d13113 2
a13114 1
	cat >>confdefs.h <<\EOF
d13120 2
a13121 1
	cat >>confdefs.h <<\EOF
d13128 1
a13128 1
echo "$as_me:12405: checking return type of signal handlers" >&5
d13134 1
a13134 1
#line 12411 "configure"
d13156 1
a13156 1
if { (eval echo "$as_me:12433: \"$ac_compile\"") >&5
d13159 1
a13159 1
  echo "$as_me:12436: \$? = $ac_status" >&5
d13162 1
a13162 1
  { (eval echo "$as_me:12439: \"$ac_try\"") >&5
d13165 1
a13165 1
  echo "$as_me:12442: \$? = $ac_status" >&5
d13175 1
a13175 1
echo "$as_me:12452: result: $ac_cv_type_signal" >&5
d13200 1
a13200 1
echo "$as_me:12477: checking for $ac_func" >&5
d13206 1
a13206 1
#line 12483 "configure"
d13229 1
a13229 1
f = $ac_func;
d13237 1
a13237 1
if { (eval echo "$as_me:12514: \"$ac_link\"") >&5
d13240 1
a13240 1
  echo "$as_me:12517: \$? = $ac_status" >&5
d13243 1
a13243 1
  { (eval echo "$as_me:12520: \"$ac_try\"") >&5
d13246 1
a13246 1
  echo "$as_me:12523: \$? = $ac_status" >&5
d13256 1
a13256 1
echo "$as_me:12533: result: `eval echo '${'$as_ac_var'}'`" >&5
d13266 1
a13266 1
echo "$as_me:12543: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
d13273 1
a13273 1
#line 12550 "configure"
d13295 1
a13295 1
if { (eval echo "$as_me:12572: \"$ac_link\"") >&5
d13298 1
a13298 1
  echo "$as_me:12575: \$? = $ac_status" >&5
d13301 1
a13301 1
  { (eval echo "$as_me:12578: \"$ac_try\"") >&5
d13304 1
a13304 1
  echo "$as_me:12581: \$? = $ac_status" >&5
d13311 1
a13311 1
#line 12588 "configure"
d13333 1
a13333 1
if { (eval echo "$as_me:12610: \"$ac_link\"") >&5
d13336 1
a13336 1
  echo "$as_me:12613: \$? = $ac_status" >&5
d13339 1
a13339 1
  { (eval echo "$as_me:12616: \"$ac_try\"") >&5
d13342 1
a13342 1
  echo "$as_me:12619: \$? = $ac_status" >&5
d13354 1
a13354 1
echo "$as_me:12631: result: $cf_cv_need_xopen_extension" >&5
d13358 1
a13358 1
echo "$as_me:12635: checking for unctrl.h" >&5
d13379 1
a13379 1
#line 12656 "configure"
d13393 1
a13393 1
if { (eval echo "$as_me:12670: \"$ac_compile\"") >&5
d13396 1
a13396 1
  echo "$as_me:12673: \$? = $ac_status" >&5
d13399 1
a13399 1
  { (eval echo "$as_me:12676: \"$ac_try\"") >&5
d13402 1
a13402 1
  echo "$as_me:12679: \$? = $ac_status" >&5
d13416 1
a13416 1
	{ echo "$as_me:12693: WARNING: unctrl.h header not found" >&5
d13422 1
a13422 1
echo "$as_me:12699: result: $cf_cv_unctrl_header" >&5
d13427 2
a13428 1
	cat >>confdefs.h <<\EOF
d13434 2
a13435 1
	cat >>confdefs.h <<\EOF
d13441 2
a13442 1
	cat >>confdefs.h <<\EOF
d13465 1
d13467 1
d13473 1
a13473 1
	echo "$as_me:12745: checking for ${cf_func}" >&5
d13476 1
a13476 1
echo "${as_me:-configure}:12748: testing ${cf_func} ..." 1>&5
d13485 1
a13485 1
#line 12757 "configure"
d13517 1
a13517 1
if { (eval echo "$as_me:12789: \"$ac_link\"") >&5
d13520 1
a13520 1
  echo "$as_me:12792: \$? = $ac_status" >&5
d13523 1
a13523 1
  { (eval echo "$as_me:12795: \"$ac_try\"") >&5
d13526 1
a13526 1
  echo "$as_me:12798: \$? = $ac_status" >&5
d13542 1
a13542 1
	echo "$as_me:12814: result: $cf_result" >&5
d13552 1
a13552 1
echo "$as_me:12824: checking for start_color" >&5
d13558 1
a13558 1
#line 12830 "configure"
d13581 1
a13581 1
f = start_color;
d13589 1
a13589 1
if { (eval echo "$as_me:12861: \"$ac_link\"") >&5
d13592 1
a13592 1
  echo "$as_me:12864: \$? = $ac_status" >&5
d13595 1
a13595 1
  { (eval echo "$as_me:12867: \"$ac_try\"") >&5
d13598 1
a13598 1
  echo "$as_me:12870: \$? = $ac_status" >&5
d13608 1
a13608 1
echo "$as_me:12880: result: $ac_cv_func_start_color" >&5
d13611 2
a13612 1
  cat >>confdefs.h <<\EOF
d13618 1
a13618 1
echo "$as_me:12889: checking for chtype typedef" >&5
d13625 1
a13625 1
#line 12896 "configure"
d13637 1
a13637 1
if { (eval echo "$as_me:12908: \"$ac_compile\"") >&5
d13640 1
a13640 1
  echo "$as_me:12911: \$? = $ac_status" >&5
d13643 1
a13643 1
  { (eval echo "$as_me:12914: \"$ac_try\"") >&5
d13646 1
a13646 1
  echo "$as_me:12917: \$? = $ac_status" >&5
d13656 1
a13656 1
echo "$as_me:12927: result: $cf_cv_chtype_decl" >&5
d13659 2
a13660 1
	cat >>confdefs.h <<\EOF
d13664 1
a13664 1
	echo "$as_me:12934: checking if chtype is scalar or struct" >&5
d13671 1
a13671 1
#line 12941 "configure"
d13683 1
a13683 1
if { (eval echo "$as_me:12953: \"$ac_compile\"") >&5
d13686 1
a13686 1
  echo "$as_me:12956: \$? = $ac_status" >&5
d13689 1
a13689 1
  { (eval echo "$as_me:12959: \"$ac_try\"") >&5
d13692 1
a13692 1
  echo "$as_me:12962: \$? = $ac_status" >&5
d13702 1
a13702 1
echo "$as_me:12972: result: $cf_cv_chtype_type" >&5
d13705 2
a13706 1
		cat >>confdefs.h <<\EOF
d13713 1
a13713 1
echo "$as_me:12982: checking for wide alternate character set array" >&5
d13723 1
a13723 1
#line 12992 "configure"
d13739 1
a13739 1
if { (eval echo "$as_me:13008: \"$ac_link\"") >&5
d13742 1
a13742 1
  echo "$as_me:13011: \$? = $ac_status" >&5
d13745 1
a13745 1
  { (eval echo "$as_me:13014: \"$ac_try\"") >&5
d13748 1
a13748 1
  echo "$as_me:13017: \$? = $ac_status" >&5
d13759 1
a13759 1
echo "$as_me:13028: result: $cf_cv_curses_wacs_map" >&5
d13762 2
a13763 1
test "$cf_cv_curses_wacs_map" != unknown && cat >>confdefs.h <<EOF
d13767 1
a13767 1
echo "$as_me:13035: checking for wide alternate character constants" >&5
d13777 1
a13777 1
#line 13045 "configure"
d13794 1
a13794 1
if { (eval echo "$as_me:13062: \"$ac_link\"") >&5
d13797 1
a13797 1
  echo "$as_me:13065: \$? = $ac_status" >&5
d13800 1
a13800 1
  { (eval echo "$as_me:13068: \"$ac_try\"") >&5
d13803 1
a13803 1
  echo "$as_me:13071: \$? = $ac_status" >&5
d13813 1
a13813 1
#line 13081 "configure"
d13829 1
a13829 1
if { (eval echo "$as_me:13097: \"$ac_link\"") >&5
d13832 1
a13832 1
  echo "$as_me:13100: \$? = $ac_status" >&5
d13835 1
a13835 1
  { (eval echo "$as_me:13103: \"$ac_try\"") >&5
d13838 1
a13838 1
  echo "$as_me:13106: \$? = $ac_status" >&5
d13849 1
a13849 1
echo "$as_me:13117: result: $cf_cv_curses_wacs_symbols" >&5
d13852 2
a13853 1
test "$cf_cv_curses_wacs_symbols" != no && cat >>confdefs.h <<\EOF
d13857 131
d13991 1
a13991 1
echo "$as_me:13127: checking for $ac_header" >&5
d13997 1
a13997 1
#line 13133 "configure"
d14001 1
a14001 1
if { (eval echo "$as_me:13137: \"$ac_cpp conftest.$ac_ext\"") >&5
d14007 1
a14007 1
  echo "$as_me:13143: \$? = $ac_status" >&5
d14026 1
a14026 1
echo "$as_me:13162: result: `eval echo '${'$as_ac_Header'}'`" >&5
d14047 1
a14047 1
echo "$as_me:13183: checking for $ac_header" >&5
d14053 1
a14053 1
#line 13189 "configure"
d14057 1
a14057 1
if { (eval echo "$as_me:13193: \"$ac_cpp conftest.$ac_ext\"") >&5
d14063 1
a14063 1
  echo "$as_me:13199: \$? = $ac_status" >&5
d14082 1
a14082 1
echo "$as_me:13218: result: `eval echo '${'$as_ac_Header'}'`" >&5
d14095 1
a14095 1
echo "$as_me:13231: checking for $ac_header" >&5
d14101 1
a14101 1
#line 13237 "configure"
d14105 1
a14105 1
if { (eval echo "$as_me:13241: \"$ac_cpp conftest.$ac_ext\"") >&5
d14111 1
a14111 1
  echo "$as_me:13247: \$? = $ac_status" >&5
d14130 1
a14130 1
echo "$as_me:13266: result: `eval echo '${'$as_ac_Header'}'`" >&5
d14152 1
a14152 1
echo "$as_me:13288: checking for union wait" >&5
d14159 1
a14159 1
#line 13295 "configure"
d14175 1
a14175 1
if { (eval echo "$as_me:13311: \"$ac_link\"") >&5
d14178 1
a14178 1
  echo "$as_me:13314: \$? = $ac_status" >&5
d14181 1
a14181 1
  { (eval echo "$as_me:13317: \"$ac_try\"") >&5
d14184 1
a14184 1
  echo "$as_me:13320: \$? = $ac_status" >&5
d14194 1
a14194 1
#line 13330 "configure"
d14214 1
a14214 1
if { (eval echo "$as_me:13350: \"$ac_link\"") >&5
d14217 1
a14217 1
  echo "$as_me:13353: \$? = $ac_status" >&5
d14220 1
a14220 1
  { (eval echo "$as_me:13356: \"$ac_try\"") >&5
d14223 1
a14223 1
  echo "$as_me:13359: \$? = $ac_status" >&5
d14238 1
a14238 1
echo "$as_me:13374: result: $cf_cv_type_unionwait" >&5
d14240 2
a14241 1
test $cf_cv_type_unionwait = yes && cat >>confdefs.h <<\EOF
d14247 1
a14247 1
	echo "$as_me:13382: checking if union wait can be used as wait-arg" >&5
d14254 1
a14254 1
#line 13389 "configure"
d14266 1
a14266 1
if { (eval echo "$as_me:13401: \"$ac_compile\"") >&5
d14269 1
a14269 1
  echo "$as_me:13404: \$? = $ac_status" >&5
d14272 1
a14272 1
  { (eval echo "$as_me:13407: \"$ac_try\"") >&5
d14275 1
a14275 1
  echo "$as_me:13410: \$? = $ac_status" >&5
d14287 1
a14287 1
	echo "$as_me:13422: result: $cf_cv_arg_union_wait" >&5
d14289 2
a14290 1
	test $cf_cv_arg_union_wait = yes && cat >>confdefs.h <<\EOF
d14294 1
a14294 1
	echo "$as_me:13428: checking if union wait can be used as waitpid-arg" >&5
d14301 1
a14301 1
#line 13435 "configure"
d14313 1
a14313 1
if { (eval echo "$as_me:13447: \"$ac_compile\"") >&5
d14316 1
a14316 1
  echo "$as_me:13450: \$? = $ac_status" >&5
d14319 1
a14319 1
  { (eval echo "$as_me:13453: \"$ac_try\"") >&5
d14322 1
a14322 1
  echo "$as_me:13456: \$? = $ac_status" >&5
d14334 1
a14334 1
	echo "$as_me:13468: result: $cf_cv_arg_union_waitpid" >&5
d14336 2
a14337 1
	test $cf_cv_arg_union_waitpid = yes && cat >>confdefs.h <<\EOF
d14343 1
a14343 1
echo "$as_me:13476: checking if we must include wchar.h to declare mbstate_t" >&5
d14350 1
a14350 1
#line 13483 "configure"
d14367 1
a14367 1
if { (eval echo "$as_me:13500: \"$ac_compile\"") >&5
d14370 1
a14370 1
  echo "$as_me:13503: \$? = $ac_status" >&5
d14373 1
a14373 1
  { (eval echo "$as_me:13506: \"$ac_try\"") >&5
d14376 1
a14376 1
  echo "$as_me:13509: \$? = $ac_status" >&5
d14383 1
a14383 1
#line 13516 "configure"
d14401 1
a14401 1
if { (eval echo "$as_me:13534: \"$ac_compile\"") >&5
d14404 1
a14404 1
  echo "$as_me:13537: \$? = $ac_status" >&5
d14407 1
a14407 1
  { (eval echo "$as_me:13540: \"$ac_try\"") >&5
d14410 1
a14410 1
  echo "$as_me:13543: \$? = $ac_status" >&5
d14422 1
a14422 1
echo "$as_me:13555: result: $cf_cv_mbstate_t" >&5
d14426 2
a14427 1
	cat >>confdefs.h <<\EOF
d14434 2
a14435 1
	cat >>confdefs.h <<\EOF
d14447 1
a14447 1
#line 13578 "configure"
d14459 1
a14459 1
if { (eval echo "$as_me:13590: \"$ac_link\"") >&5
d14462 1
a14462 1
  echo "$as_me:13593: \$? = $ac_status" >&5
d14465 1
a14465 1
  { (eval echo "$as_me:13596: \"$ac_try\"") >&5
d14468 1
a14468 1
  echo "$as_me:13599: \$? = $ac_status" >&5
d14470 2
a14471 1
  cat >>confdefs.h <<\EOF
d14482 1
a14482 1
echo "$as_me:13612: checking for an rpath option" >&5
d14498 1
a14498 1
freebsd*) #(vi
d14513 1
a14513 1
echo "$as_me:13643: result: $LD_RPATH_OPT" >&5
d14518 1
a14518 1
	echo "$as_me:13648: checking if we need a space after rpath option" >&5
d14523 1
a14523 1
#line 13653 "configure"
d14535 1
a14535 1
if { (eval echo "$as_me:13665: \"$ac_link\"") >&5
d14538 1
a14538 1
  echo "$as_me:13668: \$? = $ac_status" >&5
d14541 1
a14541 1
  { (eval echo "$as_me:13671: \"$ac_try\"") >&5
d14544 1
a14544 1
  echo "$as_me:13674: \$? = $ac_status" >&5
d14554 1
a14554 1
	echo "$as_me:13684: result: $cf_rpath_space" >&5
d14560 1
a14560 1
echo "$as_me:13690: checking if rpath-hack should be disabled" >&5
d14577 1
a14577 1
echo "$as_me:13707: result: $cf_disable_rpath_hack" >&5
d14581 1
a14581 1
echo "$as_me:13711: checking for updated LDFLAGS" >&5
d14584 1
a14584 1
	echo "$as_me:13714: result: maybe" >&5
d14591 1
a14591 1
echo "$as_me:13721: checking for $ac_word" >&5
d14606 1
a14606 1
echo "$as_me:13736: found $ac_dir/$ac_word" >&5
d14614 1
a14614 1
  echo "$as_me:13744: result: $cf_ldd_prog" >&5
d14617 1
a14617 1
  echo "$as_me:13747: result: no" >&5
d14631 1
a14631 1
#line 13761 "configure"
d14643 1
a14643 1
if { (eval echo "$as_me:13773: \"$ac_link\"") >&5
d14646 1
a14646 1
  echo "$as_me:13776: \$? = $ac_status" >&5
d14649 1
a14649 1
  { (eval echo "$as_me:13779: \"$ac_try\"") >&5
d14652 1
a14652 1
  echo "$as_me:13782: \$? = $ac_status" >&5
d14680 1
a14680 1
echo "${as_me:-configure}:13810: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
d14692 1
a14692 1
echo "${as_me:-configure}:13822: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d14696 1
a14696 1
echo "${as_me:-configure}:13826: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
d14733 1
a14733 1
echo "${as_me:-configure}:13863: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d14746 1
a14746 1
echo "${as_me:-configure}:13876: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
d14750 1
a14750 1
echo "${as_me:-configure}:13880: testing ...checking LIBS $LIBS ..." 1>&5
d14787 1
a14787 1
echo "${as_me:-configure}:13917: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d14800 1
a14800 1
echo "${as_me:-configure}:13930: testing ...checked LIBS $LIBS ..." 1>&5
d14804 1
a14804 1
echo "${as_me:-configure}:13934: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d14810 1
a14810 1
ac_config_files="$ac_config_files dialog-config makefile $EXTRA_OUTPUT $SUB_MAKEFILE samples/install/makefile"
d14891 1
a14891 1
{ echo "$as_me:14021: creating $CONFIG_STATUS" >&5
d15023 1
a15023 1
configured by $0, generated by GNU Autoconf 2.52.20101002,
d15067 1
a15067 1
    { { echo "$as_me:14197: error: ambiguous option: $1
d15086 1
a15086 1
  -*) { { echo "$as_me:14216: error: unrecognized option: $1
d15105 1
a15105 1
This file was extended by $as_me 2.52.20101002, executed with
a15131 1
  "samples/install/makefile" ) CONFIG_FILES="$CONFIG_FILES samples/install/makefile" ;;
d15135 1
a15135 1
  *) { { echo "$as_me:14266: error: invalid argument: $ac_config_target" >&5
d15194 1
d15226 1
d15234 2
a15257 1
s,@@EXTRA_CPPFLAGS@@,$EXTRA_CPPFLAGS,;t t
d15310 1
d15430 1
a15430 1
    { echo "$as_me:14557: creating $ac_file" >&5
d15448 1
a15448 1
         test -f "$f" || { { echo "$as_me:14575: error: cannot find input file: $f" >&5
d15461 1
a15461 1
           { { echo "$as_me:14588: error: cannot find input file: $f" >&5
d15468 32
d15514 25
a15538 1
    mv $tmp/out $ac_file
a15540 1
    rm -f $tmp/out
d15542 1
d15583 1
a15583 1
  test x"$ac_file" != x- && { echo "$as_me:14654: creating $ac_file" >&5
d15594 1
a15594 1
         test -f "$f" || { { echo "$as_me:14665: error: cannot find input file: $f" >&5
d15607 1
a15607 1
           { { echo "$as_me:14678: error: cannot find input file: $f" >&5
d15665 1
a15665 1
      { echo "$as_me:14736: $ac_file is unchanged" >&5
@


1.4
log
@SVN rev 241818 on 2012-10-21 18:25:12Z by nwhitehorn

Update dialog to 20120706: includes minor useability enhancements and
fixes for warnings encountered with clang.
@
text
@a2168 37
for ac_prog in tdlint lint alint splint lclint
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:2173: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LINT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$LINT"; then
  ac_cv_prog_LINT="$LINT" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LINT="$ac_prog"
echo "$as_me:2188: found $ac_dir/$ac_word" >&5
break
done

fi
fi
LINT=$ac_cv_prog_LINT
if test -n "$LINT"; then
  echo "$as_me:2196: result: $LINT" >&5
echo "${ECHO_T}$LINT" >&6
else
  echo "$as_me:2199: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$LINT" && break
done

d2172 1
a2172 1
echo "$as_me:2209: checking for $ac_word" >&5
d2187 1
a2187 1
echo "$as_me:2224: found $ac_dir/$ac_word" >&5
d2195 1
a2195 1
  echo "$as_me:2232: result: $AR" >&5
d2198 1
a2198 1
  echo "$as_me:2235: result: no" >&5
d2207 1
a2207 1
echo "$as_me:2244: checking for $ac_word" >&5
d2222 1
a2222 1
echo "$as_me:2259: found $ac_dir/$ac_word" >&5
d2231 1
a2231 1
  echo "$as_me:2268: result: $ac_ct_AR" >&5
d2234 1
a2234 1
  echo "$as_me:2271: result: no" >&5
d2243 1
a2243 1
echo "$as_me:2280: checking for POSIXized ISC" >&5
d2248 1
a2248 1
  echo "$as_me:2285: result: yes" >&5
d2262 1
a2262 1
  echo "$as_me:2299: result: no" >&5
d2267 1
a2267 1
echo "$as_me:2304: checking for $CC option to accept ANSI C" >&5
d2275 1
a2275 1
#line 2312 "configure"
d2324 1
a2324 1
if { (eval echo "$as_me:2361: \"$ac_compile\"") >&5
d2327 1
a2327 1
  echo "$as_me:2364: \$? = $ac_status" >&5
d2330 1
a2330 1
  { (eval echo "$as_me:2367: \"$ac_try\"") >&5
d2333 1
a2333 1
  echo "$as_me:2370: \$? = $ac_status" >&5
d2350 1
a2350 1
    echo "$as_me:2387: result: none needed" >&5
d2353 1
a2353 1
    echo "$as_me:2390: result: $ac_cv_prog_cc_stdc" >&5
d2358 1
a2358 1
echo "$as_me:2395: checking for an ANSI C-conforming const" >&5
d2364 1
a2364 1
#line 2401 "configure"
d2422 1
a2422 1
if { (eval echo "$as_me:2459: \"$ac_compile\"") >&5
d2425 1
a2425 1
  echo "$as_me:2462: \$? = $ac_status" >&5
d2428 1
a2428 1
  { (eval echo "$as_me:2465: \"$ac_try\"") >&5
d2431 1
a2431 1
  echo "$as_me:2468: \$? = $ac_status" >&5
d2441 1
a2441 1
echo "$as_me:2478: result: $ac_cv_c_const" >&5
d2451 1
a2451 1
echo "$as_me:2488: checking for makeflags variable" >&5
d2485 1
a2485 1
echo "$as_me:2522: result: $cf_cv_makeflags" >&5
d2488 1
a2488 1
echo "$as_me:2525: checking if filesystem supports mixed-case filenames" >&5
d2515 1
a2515 1
echo "$as_me:2552: result: $cf_cv_mixedcase" >&5
d2525 1
a2525 1
echo "$as_me:2562: checking for $ac_word" >&5
d2540 1
a2540 1
echo "$as_me:2577: found $ac_dir/$ac_word" >&5
d2548 1
a2548 1
  echo "$as_me:2585: result: $CTAGS" >&5
d2551 1
a2551 1
  echo "$as_me:2588: result: no" >&5
d2562 1
a2562 1
echo "$as_me:2599: checking for $ac_word" >&5
d2577 1
a2577 1
echo "$as_me:2614: found $ac_dir/$ac_word" >&5
d2585 1
a2585 1
  echo "$as_me:2622: result: $ETAGS" >&5
d2588 1
a2588 1
  echo "$as_me:2625: result: no" >&5
d2597 1
a2597 1
echo "$as_me:2634: checking for $ac_word" >&5
d2612 1
a2612 1
echo "$as_me:2649: found $ac_dir/$ac_word" >&5
d2621 1
a2621 1
  echo "$as_me:2658: result: $MAKE_LOWER_TAGS" >&5
d2624 1
a2624 1
  echo "$as_me:2661: result: no" >&5
d2631 1
a2631 1
echo "$as_me:2668: checking for $ac_word" >&5
d2646 1
a2646 1
echo "$as_me:2683: found $ac_dir/$ac_word" >&5
d2655 1
a2655 1
  echo "$as_me:2692: result: $MAKE_UPPER_TAGS" >&5
d2658 1
a2658 1
  echo "$as_me:2695: result: no" >&5
d2678 1
a2678 1
echo "$as_me:2715: checking if you want to see long compiling messages" >&5
d2712 1
a2712 1
echo "$as_me:2749: result: $enableval" >&5
d2717 1
a2717 1
  { { echo "$as_me:2754: error: cannot run $ac_config_sub" >&5
d2721 1
a2721 1
echo "$as_me:2758: checking build system type" >&5
d2730 1
a2730 1
  { { echo "$as_me:2767: error: cannot guess build type; you must specify one" >&5
d2734 1
a2734 1
  { { echo "$as_me:2771: error: $ac_config_sub $ac_cv_build_alias failed." >&5
d2739 1
a2739 1
echo "$as_me:2776: result: $ac_cv_build" >&5
d2747 1
a2747 1
	echo "$as_me:2784: checking host system type" >&5
d2756 1
a2756 1
  { { echo "$as_me:2793: error: $ac_config_sub $ac_cv_host_alias failed" >&5
d2761 1
a2761 1
echo "$as_me:2798: result: $ac_cv_host" >&5
d2786 1
a2786 1
test -n "$cf_cv_system_name" && echo "$as_me:2823: result: Configuring for $cf_cv_system_name" >&5
d2790 1
a2790 1
	echo "$as_me:2827: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
d2792 1
a2792 1
	{ { echo "$as_me:2829: error: \"Please remove config.cache and try again.\"" >&5
d2832 1
a2832 1
aix[4-7]*) #(vi
a2842 1
	cf_XOPEN_SOURCE=
a2859 1
	cf_XOPEN_SOURCE=
d2863 1
a2863 1
echo "$as_me:2902: checking if we must define _GNU_SOURCE" >&5
d2870 1
a2870 1
#line 2909 "configure"
d2885 1
a2885 1
if { (eval echo "$as_me:2924: \"$ac_compile\"") >&5
d2888 1
a2888 1
  echo "$as_me:2927: \$? = $ac_status" >&5
d2891 1
a2891 1
  { (eval echo "$as_me:2930: \"$ac_try\"") >&5
d2894 1
a2894 1
  echo "$as_me:2933: \$? = $ac_status" >&5
d2903 1
a2903 1
#line 2942 "configure"
d2918 1
a2918 1
if { (eval echo "$as_me:2957: \"$ac_compile\"") >&5
d2921 1
a2921 1
  echo "$as_me:2960: \$? = $ac_status" >&5
d2924 1
a2924 1
  { (eval echo "$as_me:2963: \"$ac_try\"") >&5
d2927 1
a2927 1
  echo "$as_me:2966: \$? = $ac_status" >&5
d2942 1
a2942 1
echo "$as_me:2981: result: $cf_cv_gnu_source" >&5
d2948 1
a2948 240
	# setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <sys/select.h> and other headers which use u_int / u_short types
	cf_XOPEN_SOURCE=

cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE

cf_save_CFLAGS="$CFLAGS"
cf_save_CPPFLAGS="$CPPFLAGS"

cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`

cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
	sed	-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ 	]*\)\?$//g'`

echo "$as_me:3003: checking if we should define _POSIX_C_SOURCE" >&5
echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
if test "${cf_cv_posix_c_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

echo "${as_me:-configure}:3009: testing if the symbol is already defined go no further ..." 1>&5

	cat >conftest.$ac_ext <<_ACEOF
#line 3012 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _POSIX_C_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3027: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3030: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3033: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3036: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_posix_c_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_want_posix_source=no
	 case .$cf_POSIX_C_SOURCE in #(vi
	 .[12]??*) #(vi
		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
		;;
	 .2) #(vi
		cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
		cf_want_posix_source=yes
		;;
	 .*)
		cf_want_posix_source=yes
		;;
	 esac
	 if test "$cf_want_posix_source" = yes ; then
		cat >conftest.$ac_ext <<_ACEOF
#line 3057 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifdef _POSIX_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3072: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3075: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3078: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3081: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	 fi

echo "${as_me:-configure}:3092: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5

	 CFLAGS="$cf_trim_CFLAGS"
	 CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"

echo "${as_me:-configure}:3097: testing if the second compile does not leave our definition intact error ..." 1>&5

	 cat >conftest.$ac_ext <<_ACEOF
#line 3100 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _POSIX_C_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3115: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3118: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3121: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3124: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_posix_c_source=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	 CFLAGS="$cf_save_CFLAGS"
	 CPPFLAGS="$cf_save_CPPFLAGS"

fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:3140: result: $cf_cv_posix_c_source" >&5
echo "${ECHO_T}$cf_cv_posix_c_source" >&6

if test "$cf_cv_posix_c_source" != no ; then
	CFLAGS="$cf_trim_CFLAGS"
	CPPFLAGS="$cf_trim_CPPFLAGS"

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_cv_posix_c_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

d2951 1
a2951 6
	cf_xopen_source="-D_NETBSD_SOURCE" # setting _XOPEN_SOURCE breaks IPv6 for lynx on NetBSD 1.6, breaks xterm, is not needed for ncursesw
	;;
openbsd[4-9]*) #(vi
	# setting _XOPEN_SOURCE lower than 500 breaks g++ compile with wchar.h, needed for ncursesw
	cf_xopen_source="-D_BSD_SOURCE"
	cf_XOPEN_SOURCE=600
d2965 4
a2968 1
solaris2.*) #(vi
d2972 1
a2972 2

echo "$as_me:3253: checking if we should define _XOPEN_SOURCE" >&5
d2979 1
a2979 1
#line 3260 "configure"
a2980 3

#include <stdlib.h>
#include <string.h>
a2981 1

d2994 1
a2994 1
if { (eval echo "$as_me:3279: \"$ac_compile\"") >&5
d2997 1
a2997 1
  echo "$as_me:3282: \$? = $ac_status" >&5
d3000 1
a3000 1
  { (eval echo "$as_me:3285: \"$ac_try\"") >&5
d3003 1
a3003 1
  echo "$as_me:3288: \$? = $ac_status" >&5
d3012 1
a3012 1
#line 3297 "configure"
a3013 3

#include <stdlib.h>
#include <string.h>
a3014 1

d3027 1
a3027 1
if { (eval echo "$as_me:3316: \"$ac_compile\"") >&5
d3030 1
a3030 1
  echo "$as_me:3319: \$? = $ac_status" >&5
d3033 1
a3033 1
  { (eval echo "$as_me:3322: \"$ac_try\"") >&5
d3036 1
a3036 1
  echo "$as_me:3325: \$? = $ac_status" >&5
d3051 1
a3051 1
echo "$as_me:3340: result: $cf_cv_xopen_source" >&5
d3053 1
a3053 2

if test "$cf_cv_xopen_source" != no ; then
d3063 1
a3063 1
	cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
d3143 1
a3143 1
fi
d3158 1
a3158 1
echo "$as_me:3448: checking if we should define _POSIX_C_SOURCE" >&5
d3164 1
a3164 1
echo "${as_me:-configure}:3454: testing if the symbol is already defined go no further ..." 1>&5
d3167 1
a3167 1
#line 3457 "configure"
d3182 1
a3182 1
if { (eval echo "$as_me:3472: \"$ac_compile\"") >&5
d3185 1
a3185 1
  echo "$as_me:3475: \$? = $ac_status" >&5
d3188 1
a3188 1
  { (eval echo "$as_me:3478: \"$ac_try\"") >&5
d3191 1
a3191 1
  echo "$as_me:3481: \$? = $ac_status" >&5
d3212 1
a3212 1
#line 3502 "configure"
d3227 1
a3227 1
if { (eval echo "$as_me:3517: \"$ac_compile\"") >&5
d3230 1
a3230 1
  echo "$as_me:3520: \$? = $ac_status" >&5
d3233 1
a3233 1
  { (eval echo "$as_me:3523: \"$ac_try\"") >&5
d3236 1
a3236 1
  echo "$as_me:3526: \$? = $ac_status" >&5
d3247 1
a3247 1
echo "${as_me:-configure}:3537: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
d3252 1
a3252 1
echo "${as_me:-configure}:3542: testing if the second compile does not leave our definition intact error ..." 1>&5
d3255 1
a3255 1
#line 3545 "configure"
d3270 1
a3270 1
if { (eval echo "$as_me:3560: \"$ac_compile\"") >&5
d3273 1
a3273 1
  echo "$as_me:3563: \$? = $ac_status" >&5
d3276 1
a3276 1
  { (eval echo "$as_me:3566: \"$ac_try\"") >&5
d3279 1
a3279 1
  echo "$as_me:3569: \$? = $ac_status" >&5
d3295 1
a3295 1
echo "$as_me:3585: result: $cf_cv_posix_c_source" >&5
d3358 6
a3363 208
	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

	;;
esac

if test -n "$cf_xopen_source" ; then

cf_fix_cppflags=no
cf_new_cflags=
cf_new_cppflags=
cf_new_extra_cppflags=

for cf_add_cflags in $cf_xopen_source
do
case $cf_fix_cppflags in
no)
	case $cf_add_cflags in #(vi
	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
		case $cf_add_cflags in
		-D*)
			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`

			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
				&& test -z "${cf_tst_cflags}" \
				&& cf_fix_cppflags=yes

			if test $cf_fix_cppflags = yes ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			elif test "${cf_tst_cflags}" = "\"'" ; then
				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
				continue
			fi
			;;
		esac
		case "$CPPFLAGS" in
		*$cf_add_cflags) #(vi
			;;
		*) #(vi
			case $cf_add_cflags in #(vi
			-D*)
				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`

				;;
			esac
			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
			;;
		esac
		;;
	*)
		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
		;;
	esac
	;;
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"

	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`

	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done

if test -n "$cf_new_cflags" ; then

	CFLAGS="$CFLAGS $cf_new_cflags"
fi

if test -n "$cf_new_cppflags" ; then

	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
fi

if test -n "$cf_new_extra_cppflags" ; then

	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi

fi

if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
	echo "$as_me:3758: checking if _XOPEN_SOURCE really is set" >&5
echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
	cat >conftest.$ac_ext <<_ACEOF
#line 3761 "configure"
#include "confdefs.h"
#include <stdlib.h>
int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3776: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3779: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3782: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3785: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_XOPEN_SOURCE_set=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_XOPEN_SOURCE_set=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	echo "$as_me:3794: result: $cf_XOPEN_SOURCE_set" >&5
echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
	if test $cf_XOPEN_SOURCE_set = yes
	then
		cat >conftest.$ac_ext <<_ACEOF
#line 3799 "configure"
#include "confdefs.h"
#include <stdlib.h>
int
main ()
{

#if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3814: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3817: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3820: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3823: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_XOPEN_SOURCE_set_ok=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_XOPEN_SOURCE_set_ok=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
		if test $cf_XOPEN_SOURCE_set_ok = no
		then
			{ echo "$as_me:3834: WARNING: _XOPEN_SOURCE is lower than requested" >&5
echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
		fi
	else

echo "$as_me:3839: checking if we should define _XOPEN_SOURCE" >&5
echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
if test "${cf_cv_xopen_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cat >conftest.$ac_ext <<_ACEOF
#line 3846 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

int
main ()
{
d3365 1
a3365 28
#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3865: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3868: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3871: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3874: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_xopen_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_save="$CPPFLAGS"
	 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
	 cat >conftest.$ac_ext <<_ACEOF
#line 3883 "configure"
#include "confdefs.h"
d3367 2
a3368 3
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
d3370 1
a3370 3
int
main ()
{
d3372 1
a3372 24
#ifdef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:3902: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:3905: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:3908: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:3911: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_cv_xopen_source=no
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_cv_xopen_source=$cf_XOPEN_SOURCE
a3373 2
rm -f conftest.$ac_objext conftest.$ac_ext
	CPPFLAGS="$cf_save"
d3375 3
a3378 1
rm -f conftest.$ac_objext conftest.$ac_ext
a3380 2
echo "$as_me:3926: result: $cf_cv_xopen_source" >&5
echo "${ECHO_T}$cf_cv_xopen_source" >&6
d3382 2
a3383 1
if test "$cf_cv_xopen_source" != no ; then
d3385 1
a3385 9
CFLAGS=`echo "$CFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`

CPPFLAGS=`echo "$CPPFLAGS" | \
	sed	-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?[ 	]/ /g' \
		-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ 	]*\)\?$//g'`

	cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
d3392 1
a3392 1
for cf_add_cflags in $cf_temp_xopen_source
a3466 3
	fi
fi

d3474 1
a3474 1
  echo "$as_me:4031: checking for special C compiler options needed for large files" >&5
d3486 1
a3486 1
#line 4043 "configure"
d3506 1
a3506 1
if { (eval echo "$as_me:4063: \"$ac_compile\"") >&5
d3509 1
a3509 1
  echo "$as_me:4066: \$? = $ac_status" >&5
d3512 1
a3512 1
  { (eval echo "$as_me:4069: \"$ac_try\"") >&5
d3515 1
a3515 1
  echo "$as_me:4072: \$? = $ac_status" >&5
d3525 1
a3525 1
if { (eval echo "$as_me:4082: \"$ac_compile\"") >&5
d3528 1
a3528 1
  echo "$as_me:4085: \$? = $ac_status" >&5
d3531 1
a3531 1
  { (eval echo "$as_me:4088: \"$ac_try\"") >&5
d3534 1
a3534 1
  echo "$as_me:4091: \$? = $ac_status" >&5
d3548 1
a3548 1
echo "$as_me:4105: result: $ac_cv_sys_largefile_CC" >&5
d3554 1
a3554 1
  echo "$as_me:4111: checking for _FILE_OFFSET_BITS value needed for large files" >&5
d3562 1
a3562 1
#line 4119 "configure"
d3582 1
a3582 1
if { (eval echo "$as_me:4139: \"$ac_compile\"") >&5
d3585 1
a3585 1
  echo "$as_me:4142: \$? = $ac_status" >&5
d3588 1
a3588 1
  { (eval echo "$as_me:4145: \"$ac_try\"") >&5
d3591 1
a3591 1
  echo "$as_me:4148: \$? = $ac_status" >&5
d3600 1
a3600 1
#line 4157 "configure"
d3621 1
a3621 1
if { (eval echo "$as_me:4178: \"$ac_compile\"") >&5
d3624 1
a3624 1
  echo "$as_me:4181: \$? = $ac_status" >&5
d3627 1
a3627 1
  { (eval echo "$as_me:4184: \"$ac_try\"") >&5
d3630 1
a3630 1
  echo "$as_me:4187: \$? = $ac_status" >&5
d3641 1
a3641 1
echo "$as_me:4198: result: $ac_cv_sys_file_offset_bits" >&5
d3651 1
a3651 1
  echo "$as_me:4208: checking for _LARGE_FILES value needed for large files" >&5
d3659 1
a3659 1
#line 4216 "configure"
d3679 1
a3679 1
if { (eval echo "$as_me:4236: \"$ac_compile\"") >&5
d3682 1
a3682 1
  echo "$as_me:4239: \$? = $ac_status" >&5
d3685 1
a3685 1
  { (eval echo "$as_me:4242: \"$ac_try\"") >&5
d3688 1
a3688 1
  echo "$as_me:4245: \$? = $ac_status" >&5
d3697 1
a3697 1
#line 4254 "configure"
d3718 1
a3718 1
if { (eval echo "$as_me:4275: \"$ac_compile\"") >&5
d3721 1
a3721 1
  echo "$as_me:4278: \$? = $ac_status" >&5
d3724 1
a3724 1
  { (eval echo "$as_me:4281: \"$ac_try\"") >&5
d3727 1
a3727 1
  echo "$as_me:4284: \$? = $ac_status" >&5
d3738 1
a3738 1
echo "$as_me:4295: result: $ac_cv_sys_large_files" >&5
d3751 1
a3751 1
	echo "$as_me:4308: checking for _LARGEFILE_SOURCE value needed for large files" >&5
d3759 1
a3759 1
#line 4316 "configure"
d3771 1
a3771 1
if { (eval echo "$as_me:4328: \"$ac_compile\"") >&5
d3774 1
a3774 1
  echo "$as_me:4331: \$? = $ac_status" >&5
d3777 1
a3777 1
  { (eval echo "$as_me:4334: \"$ac_try\"") >&5
d3780 1
a3780 1
  echo "$as_me:4337: \$? = $ac_status" >&5
d3789 1
a3789 1
#line 4346 "configure"
d3802 1
a3802 1
if { (eval echo "$as_me:4359: \"$ac_compile\"") >&5
d3805 1
a3805 1
  echo "$as_me:4362: \$? = $ac_status" >&5
d3808 1
a3808 1
  { (eval echo "$as_me:4365: \"$ac_try\"") >&5
d3811 1
a3811 1
  echo "$as_me:4368: \$? = $ac_status" >&5
d3822 1
a3822 1
echo "$as_me:4379: result: $ac_cv_sys_largefile_source" >&5
d3836 1
a3836 1
echo "$as_me:4393: checking for fseeko" >&5
d3842 1
a3842 1
#line 4399 "configure"
d3854 1
a3854 1
if { (eval echo "$as_me:4411: \"$ac_link\"") >&5
d3857 1
a3857 1
  echo "$as_me:4414: \$? = $ac_status" >&5
d3860 1
a3860 1
  { (eval echo "$as_me:4417: \"$ac_try\"") >&5
d3863 1
a3863 1
  echo "$as_me:4420: \$? = $ac_status" >&5
d3873 1
a3873 1
echo "$as_me:4430: result: $ac_cv_func_fseeko" >&5
d3894 1
a3894 1
	echo "$as_me:4451: checking whether to use struct dirent64" >&5
d3901 1
a3901 1
#line 4458 "configure"
d3922 1
a3922 1
if { (eval echo "$as_me:4479: \"$ac_compile\"") >&5
d3925 1
a3925 1
  echo "$as_me:4482: \$? = $ac_status" >&5
d3928 1
a3928 1
  { (eval echo "$as_me:4485: \"$ac_try\"") >&5
d3931 1
a3931 1
  echo "$as_me:4488: \$? = $ac_status" >&5
d3942 1
a3942 1
echo "$as_me:4499: result: $cf_cv_struct_dirent64" >&5
d3952 1
a3952 1
	echo "$as_me:4509: checking version of $CC" >&5
d3956 1
a3956 1
	echo "$as_me:4513: result: $GCC_VERSION" >&5
d3962 1
a3962 1
echo "$as_me:4519: checking if you want to check for gcc warnings" >&5
d3972 1
a3972 1
echo "$as_me:4529: result: $cf_opt_with_warnings" >&5
d3994 1
a3994 1
	{ echo "$as_me:4551: checking for $CC __attribute__ directives..." >&5
d3997 1
a3997 1
#line 4554 "${as_me:-configure}"
d4046 1
a4046 1
		if { (eval echo "$as_me:4603: \"$ac_compile\"") >&5
d4049 1
a4049 1
  echo "$as_me:4606: \$? = $ac_status" >&5
d4051 1
a4051 1
			test -n "$verbose" && echo "$as_me:4608: result: ... $cf_attribute" >&5
d4091 1
a4091 1
		echo "$as_me:4648: checking if this is really Intel C compiler" >&5
d4096 1
a4096 1
#line 4653 "configure"
d4113 1
a4113 1
if { (eval echo "$as_me:4670: \"$ac_compile\"") >&5
d4116 1
a4116 1
  echo "$as_me:4673: \$? = $ac_status" >&5
d4119 1
a4119 1
  { (eval echo "$as_me:4676: \"$ac_try\"") >&5
d4122 1
a4122 1
  echo "$as_me:4679: \$? = $ac_status" >&5
d4133 1
a4133 1
		echo "$as_me:4690: result: $INTEL_COMPILER" >&5
d4140 1
a4140 1
#line 4697 "${as_me:-configure}"
d4157 1
a4157 1
	{ echo "$as_me:4714: checking for $CC warning options..." >&5
d4173 1
a4173 1
		if { (eval echo "$as_me:4730: \"$ac_compile\"") >&5
d4176 1
a4176 1
  echo "$as_me:4733: \$? = $ac_status" >&5
d4178 1
a4178 1
			test -n "$verbose" && echo "$as_me:4735: result: ... -$cf_opt" >&5
d4187 1
a4187 1
	{ echo "$as_me:4744: checking for $CC warning options..." >&5
d4207 1
a4207 1
		if { (eval echo "$as_me:4764: \"$ac_compile\"") >&5
d4210 1
a4210 1
  echo "$as_me:4767: \$? = $ac_status" >&5
d4212 1
a4212 1
			test -n "$verbose" && echo "$as_me:4769: result: ... -$cf_opt" >&5
d4223 1
a4223 1
echo "${as_me:-configure}:4780: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
d4248 1
a4248 1
	echo "$as_me:4805: checking for package version" >&5
d4260 1
a4260 1
	test -z "$VERSION_MAJOR" && { { echo "$as_me:4817: error: missing major-version" >&5
d4265 1
a4265 1
	test -z "$VERSION_MINOR" && { { echo "$as_me:4822: error: missing minor-version" >&5
d4269 1
a4269 1
	echo "$as_me:4826: result: ${VERSION_MAJOR}.${VERSION_MINOR}" >&5
d4272 1
a4272 1
	echo "$as_me:4829: checking for package patch date" >&5
d4277 1
a4277 1
		{ { echo "$as_me:4834: error: missing patch-date $VERSION_PATCH" >&5
d4284 1
a4284 1
		{ { echo "$as_me:4841: error: illegal patch-date $VERSION_PATCH" >&5
d4289 1
a4289 1
	echo "$as_me:4846: result: $VERSION_PATCH" >&5
d4292 1
a4292 1
	{ { echo "$as_me:4849: error: did not find $srcdir/VERSION" >&5
d4300 1
a4300 1
echo "${as_me:-configure}:4857: testing VERSION $VERSION ..." 1>&5
d4304 1
a4304 1
echo "${as_me:-configure}:4861: testing VERSION_MAJOR $VERSION_MAJOR ..." 1>&5
d4308 1
a4308 1
echo "${as_me:-configure}:4865: testing VERSION_MINOR $VERSION_MINOR ..." 1>&5
d4312 1
a4312 1
echo "${as_me:-configure}:4869: testing VERSION_PATCH $VERSION_PATCH ..." 1>&5
d4339 1
a4339 1
echo "$as_me:4896: checking for ANSI C header files" >&5
d4345 1
a4345 1
#line 4902 "configure"
d4353 1
a4353 1
if { (eval echo "$as_me:4910: \"$ac_cpp conftest.$ac_ext\"") >&5
d4359 1
a4359 1
  echo "$as_me:4916: \$? = $ac_status" >&5
d4381 1
a4381 1
#line 4938 "configure"
d4399 1
a4399 1
#line 4956 "configure"
d4420 1
a4420 1
#line 4977 "configure"
d4446 1
a4446 1
if { (eval echo "$as_me:5003: \"$ac_link\"") >&5
d4449 1
a4449 1
  echo "$as_me:5006: \$? = $ac_status" >&5
d4451 1
a4451 1
  { (eval echo "$as_me:5008: \"$ac_try\"") >&5
d4454 1
a4454 1
  echo "$as_me:5011: \$? = $ac_status" >&5
d4467 1
a4467 1
echo "$as_me:5024: result: $ac_cv_header_stdc" >&5
d4477 1
a4477 1
echo "$as_me:5034: checking for inline" >&5
d4485 1
a4485 1
#line 5042 "configure"
d4494 1
a4494 1
if { (eval echo "$as_me:5051: \"$ac_compile\"") >&5
d4497 1
a4497 1
  echo "$as_me:5054: \$? = $ac_status" >&5
d4500 1
a4500 1
  { (eval echo "$as_me:5057: \"$ac_try\"") >&5
d4503 1
a4503 1
  echo "$as_me:5060: \$? = $ac_status" >&5
d4514 1
a4514 1
echo "$as_me:5071: result: $ac_cv_c_inline" >&5
d4535 1
a4535 1
echo "$as_me:5092: checking for $ac_header" >&5
d4541 1
a4541 1
#line 5098 "configure"
d4547 1
a4547 1
if { (eval echo "$as_me:5104: \"$ac_compile\"") >&5
d4550 1
a4550 1
  echo "$as_me:5107: \$? = $ac_status" >&5
d4553 1
a4553 1
  { (eval echo "$as_me:5110: \"$ac_try\"") >&5
d4556 1
a4556 1
  echo "$as_me:5113: \$? = $ac_status" >&5
d4566 1
a4566 1
echo "$as_me:5123: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4576 1
a4576 1
echo "$as_me:5133: checking for off_t" >&5
d4582 1
a4582 1
#line 5139 "configure"
d4597 1
a4597 1
if { (eval echo "$as_me:5154: \"$ac_compile\"") >&5
d4600 1
a4600 1
  echo "$as_me:5157: \$? = $ac_status" >&5
d4603 1
a4603 1
  { (eval echo "$as_me:5160: \"$ac_try\"") >&5
d4606 1
a4606 1
  echo "$as_me:5163: \$? = $ac_status" >&5
d4616 1
a4616 1
echo "$as_me:5173: result: $ac_cv_type_off_t" >&5
d4628 1
a4628 1
echo "$as_me:5185: checking for size_t" >&5
d4634 1
a4634 1
#line 5191 "configure"
d4649 1
a4649 1
if { (eval echo "$as_me:5206: \"$ac_compile\"") >&5
d4652 1
a4652 1
  echo "$as_me:5209: \$? = $ac_status" >&5
d4655 1
a4655 1
  { (eval echo "$as_me:5212: \"$ac_try\"") >&5
d4658 1
a4658 1
  echo "$as_me:5215: \$? = $ac_status" >&5
d4668 1
a4668 1
echo "$as_me:5225: result: $ac_cv_type_size_t" >&5
d4682 1
a4682 1
echo "$as_me:5239: checking for working alloca.h" >&5
d4688 1
a4688 1
#line 5245 "configure"
d4700 1
a4700 1
if { (eval echo "$as_me:5257: \"$ac_link\"") >&5
d4703 1
a4703 1
  echo "$as_me:5260: \$? = $ac_status" >&5
d4706 1
a4706 1
  { (eval echo "$as_me:5263: \"$ac_try\"") >&5
d4709 1
a4709 1
  echo "$as_me:5266: \$? = $ac_status" >&5
d4719 1
a4719 1
echo "$as_me:5276: result: $ac_cv_working_alloca_h" >&5
d4729 1
a4729 1
echo "$as_me:5286: checking for alloca" >&5
d4735 1
a4735 1
#line 5292 "configure"
d4767 1
a4767 1
if { (eval echo "$as_me:5324: \"$ac_link\"") >&5
d4770 1
a4770 1
  echo "$as_me:5327: \$? = $ac_status" >&5
d4773 1
a4773 1
  { (eval echo "$as_me:5330: \"$ac_try\"") >&5
d4776 1
a4776 1
  echo "$as_me:5333: \$? = $ac_status" >&5
d4786 1
a4786 1
echo "$as_me:5343: result: $ac_cv_func_alloca_works" >&5
d4807 1
a4807 1
echo "$as_me:5364: checking whether \`alloca.c' needs Cray hooks" >&5
d4813 1
a4813 1
#line 5370 "configure"
d4831 1
a4831 1
echo "$as_me:5388: result: $ac_cv_os_cray" >&5
d4836 1
a4836 1
echo "$as_me:5393: checking for $ac_func" >&5
d4842 1
a4842 1
#line 5399 "configure"
d4873 1
a4873 1
if { (eval echo "$as_me:5430: \"$ac_link\"") >&5
d4876 1
a4876 1
  echo "$as_me:5433: \$? = $ac_status" >&5
d4879 1
a4879 1
  { (eval echo "$as_me:5436: \"$ac_try\"") >&5
d4882 1
a4882 1
  echo "$as_me:5439: \$? = $ac_status" >&5
d4892 1
a4892 1
echo "$as_me:5449: result: `eval echo '${'$as_ac_var'}'`" >&5
d4906 1
a4906 1
echo "$as_me:5463: checking stack direction for C alloca" >&5
d4915 1
a4915 1
#line 5472 "configure"
d4938 1
a4938 1
if { (eval echo "$as_me:5495: \"$ac_link\"") >&5
d4941 1
a4941 1
  echo "$as_me:5498: \$? = $ac_status" >&5
d4943 1
a4943 1
  { (eval echo "$as_me:5500: \"$ac_try\"") >&5
d4946 1
a4946 1
  echo "$as_me:5503: \$? = $ac_status" >&5
d4958 1
a4958 1
echo "$as_me:5515: result: $ac_cv_c_stack_direction" >&5
d4970 1
a4970 1
echo "$as_me:5527: checking for $ac_header" >&5
d4976 1
a4976 1
#line 5533 "configure"
d4980 1
a4980 1
if { (eval echo "$as_me:5537: \"$ac_cpp conftest.$ac_ext\"") >&5
d4986 1
a4986 1
  echo "$as_me:5543: \$? = $ac_status" >&5
d5005 1
a5005 1
echo "$as_me:5562: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5018 1
a5018 1
echo "$as_me:5575: checking for $ac_func" >&5
d5024 1
a5024 1
#line 5581 "configure"
d5055 1
a5055 1
if { (eval echo "$as_me:5612: \"$ac_link\"") >&5
d5058 1
a5058 1
  echo "$as_me:5615: \$? = $ac_status" >&5
d5061 1
a5061 1
  { (eval echo "$as_me:5618: \"$ac_try\"") >&5
d5064 1
a5064 1
  echo "$as_me:5621: \$? = $ac_status" >&5
d5074 1
a5074 1
echo "$as_me:5631: result: `eval echo '${'$as_ac_var'}'`" >&5
d5084 1
a5084 1
echo "$as_me:5641: checking for working mmap" >&5
d5093 1
a5093 1
#line 5650 "configure"
d5220 1
a5220 1
if { (eval echo "$as_me:5777: \"$ac_link\"") >&5
d5223 1
a5223 1
  echo "$as_me:5780: \$? = $ac_status" >&5
d5225 1
a5225 1
  { (eval echo "$as_me:5782: \"$ac_try\"") >&5
d5228 1
a5228 1
  echo "$as_me:5785: \$? = $ac_status" >&5
d5240 1
a5240 1
echo "$as_me:5797: result: $ac_cv_func_mmap_fixed_mapped" >&5
d5251 1
a5251 1
    echo "$as_me:5808: checking whether we are using the GNU C Library 2.1 or newer" >&5
d5257 1
a5257 1
#line 5814 "configure"
d5277 1
a5277 1
echo "$as_me:5834: result: $ac_cv_gnu_library_2_1" >&5
d5290 1
a5290 1
	{ { echo "$as_me:5847: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&5
d5307 1
a5307 1
echo "$as_me:5864: checking for $ac_header" >&5
d5313 1
a5313 1
#line 5870 "configure"
d5317 1
a5317 1
if { (eval echo "$as_me:5874: \"$ac_cpp conftest.$ac_ext\"") >&5
d5323 1
a5323 1
  echo "$as_me:5880: \$? = $ac_status" >&5
d5342 1
a5342 1
echo "$as_me:5899: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5357 1
a5357 1
echo "$as_me:5914: checking for $ac_func" >&5
d5363 1
a5363 1
#line 5920 "configure"
d5394 1
a5394 1
if { (eval echo "$as_me:5951: \"$ac_link\"") >&5
d5397 1
a5397 1
  echo "$as_me:5954: \$? = $ac_status" >&5
d5400 1
a5400 1
  { (eval echo "$as_me:5957: \"$ac_try\"") >&5
d5403 1
a5403 1
  echo "$as_me:5960: \$? = $ac_status" >&5
d5413 1
a5413 1
echo "$as_me:5970: result: `eval echo '${'$as_ac_var'}'`" >&5
d5461 1
a5461 1
#line 6018 "configure"
d5473 1
a5473 1
if { (eval echo "$as_me:6030: \"$ac_compile\"") >&5
d5476 1
a5476 1
  echo "$as_me:6033: \$? = $ac_status" >&5
d5479 1
a5479 1
  { (eval echo "$as_me:6036: \"$ac_try\"") >&5
d5482 1
a5482 1
  echo "$as_me:6039: \$? = $ac_status" >&5
d5499 1
a5499 1
echo "${as_me:-configure}:6056: testing adding $cf_add_incdir to include-path ..." 1>&5
d5540 1
a5540 1
#line 6097 "configure"
d5552 1
a5552 1
if { (eval echo "$as_me:6109: \"$ac_compile\"") >&5
d5555 1
a5555 1
  echo "$as_me:6112: \$? = $ac_status" >&5
d5558 1
a5558 1
  { (eval echo "$as_me:6115: \"$ac_try\"") >&5
d5561 1
a5561 1
  echo "$as_me:6118: \$? = $ac_status" >&5
d5578 1
a5578 1
echo "${as_me:-configure}:6135: testing adding $cf_add_incdir to include-path ..." 1>&5
d5594 1
a5594 1
{ { echo "$as_me:6151: error: cannot find libiconv under $withval" >&5
d5619 1
a5619 1
echo "${as_me:-configure}:6176: testing adding $cf_add_libdir to library-path ..." 1>&5
d5648 1
a5648 1
echo "${as_me:-configure}:6205: testing adding $cf_add_libdir to library-path ..." 1>&5
d5657 1
a5657 1
{ { echo "$as_me:6214: error: cannot find libiconv under $withval" >&5
d5668 1
a5668 1
  echo "$as_me:6225: checking for iconv" >&5
d5679 1
a5679 1
echo "${as_me:-configure}:6236: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5
d5684 1
a5684 1
#line 6241 "configure"
d5703 1
a5703 1
if { (eval echo "$as_me:6260: \"$ac_link\"") >&5
d5706 1
a5706 1
  echo "$as_me:6263: \$? = $ac_status" >&5
d5709 1
a5709 1
  { (eval echo "$as_me:6266: \"$ac_try\"") >&5
d5712 1
a5712 1
  echo "$as_me:6269: \$? = $ac_status" >&5
d5726 1
a5726 1
#line 6283 "configure"
d5745 1
a5745 1
if { (eval echo "$as_me:6302: \"$ac_link\"") >&5
d5748 1
a5748 1
  echo "$as_me:6305: \$? = $ac_status" >&5
d5751 1
a5751 1
  { (eval echo "$as_me:6308: \"$ac_try\"") >&5
d5754 1
a5754 1
  echo "$as_me:6311: \$? = $ac_status" >&5
d5771 1
a5771 1
echo "${as_me:-configure}:6328: testing find linkage for iconv library ..." 1>&5
d5773 1
a5773 1
echo "${as_me:-configure}:6330: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5
d5886 1
a5886 1
echo "${as_me:-configure}:6443: testing ... testing $cf_cv_header_path_iconv ..." 1>&5
d5890 1
a5890 1
#line 6447 "configure"
d5909 1
a5909 1
if { (eval echo "$as_me:6466: \"$ac_compile\"") >&5
d5912 1
a5912 1
  echo "$as_me:6469: \$? = $ac_status" >&5
d5915 1
a5915 1
  { (eval echo "$as_me:6472: \"$ac_try\"") >&5
d5918 1
a5918 1
  echo "$as_me:6475: \$? = $ac_status" >&5
d5923 1
a5923 1
echo "${as_me:-configure}:6480: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5
d5941 1
a5941 1
echo "${as_me:-configure}:6498: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5
d6038 1
a6038 1
echo "${as_me:-configure}:6595: testing ... testing $cf_cv_library_path_iconv ..." 1>&5
d6044 1
a6044 1
#line 6601 "configure"
d6063 1
a6063 1
if { (eval echo "$as_me:6620: \"$ac_link\"") >&5
d6066 1
a6066 1
  echo "$as_me:6623: \$? = $ac_status" >&5
d6069 1
a6069 1
  { (eval echo "$as_me:6626: \"$ac_try\"") >&5
d6072 1
a6072 1
  echo "$as_me:6629: \$? = $ac_status" >&5
d6077 1
a6077 1
echo "${as_me:-configure}:6634: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5
d6117 1
a6117 1
echo "$as_me:6674: result: $am_cv_func_iconv" >&5
d6126 1
a6126 1
    echo "$as_me:6683: checking if the declaration of iconv() needs const." >&5
d6133 1
a6133 1
#line 6690 "configure"
d6158 1
a6158 1
if { (eval echo "$as_me:6715: \"$ac_compile\"") >&5
d6161 1
a6161 1
  echo "$as_me:6718: \$? = $ac_status" >&5
d6164 1
a6164 1
  { (eval echo "$as_me:6721: \"$ac_try\"") >&5
d6167 1
a6167 1
  echo "$as_me:6724: \$? = $ac_status" >&5
d6177 1
a6177 1
echo "$as_me:6734: result: $am_cv_proto_iconv_const" >&5
d6219 1
a6219 1
#line 6776 "configure"
d6231 1
a6231 1
if { (eval echo "$as_me:6788: \"$ac_compile\"") >&5
d6234 1
a6234 1
  echo "$as_me:6791: \$? = $ac_status" >&5
d6237 1
a6237 1
  { (eval echo "$as_me:6794: \"$ac_try\"") >&5
d6240 1
a6240 1
  echo "$as_me:6797: \$? = $ac_status" >&5
d6257 1
a6257 1
echo "${as_me:-configure}:6814: testing adding $cf_add_incdir to include-path ..." 1>&5
d6294 1
a6294 1
echo "${as_me:-configure}:6851: testing adding $cf_add_libdir to library-path ..." 1>&5
d6305 1
a6305 1
  echo "$as_me:6862: checking for nl_langinfo and CODESET" >&5
d6311 1
a6311 1
#line 6868 "configure"
d6323 1
a6323 1
if { (eval echo "$as_me:6880: \"$ac_link\"") >&5
d6326 1
a6326 1
  echo "$as_me:6883: \$? = $ac_status" >&5
d6329 1
a6329 1
  { (eval echo "$as_me:6886: \"$ac_try\"") >&5
d6332 1
a6332 1
  echo "$as_me:6889: \$? = $ac_status" >&5
d6343 1
a6343 1
echo "$as_me:6900: result: $am_cv_langinfo_codeset" >&5
d6354 1
a6354 1
    echo "$as_me:6911: checking for LC_MESSAGES" >&5
d6360 1
a6360 1
#line 6917 "configure"
d6372 1
a6372 1
if { (eval echo "$as_me:6929: \"$ac_link\"") >&5
d6375 1
a6375 1
  echo "$as_me:6932: \$? = $ac_status" >&5
d6378 1
a6378 1
  { (eval echo "$as_me:6935: \"$ac_try\"") >&5
d6381 1
a6381 1
  echo "$as_me:6938: \$? = $ac_status" >&5
d6391 1
a6391 1
echo "$as_me:6948: result: $am_cv_val_LC_MESSAGES" >&5
d6401 1
a6401 1
   echo "$as_me:6958: checking whether NLS is requested" >&5
d6411 1
a6411 1
  echo "$as_me:6968: result: $USE_NLS" >&5
d6424 1
a6424 1
    echo "$as_me:6981: checking whether included gettext is requested" >&5
d6434 1
a6434 1
    echo "$as_me:6991: result: $nls_cv_force_use_gnu_gettext" >&5
d6443 1
a6443 1
      echo "$as_me:7000: checking for libintl.h and gettext()" >&5
d6454 1
a6454 1
echo "${as_me:-configure}:7011: testing Starting FIND_LINKAGE(intl,) ..." 1>&5
d6459 1
a6459 1
#line 7016 "configure"
d6479 1
a6479 1
if { (eval echo "$as_me:7036: \"$ac_link\"") >&5
d6482 1
a6482 1
  echo "$as_me:7039: \$? = $ac_status" >&5
d6485 1
a6485 1
  { (eval echo "$as_me:7042: \"$ac_try\"") >&5
d6488 1
a6488 1
  echo "$as_me:7045: \$? = $ac_status" >&5
d6502 1
a6502 1
#line 7059 "configure"
d6522 1
a6522 1
if { (eval echo "$as_me:7079: \"$ac_link\"") >&5
d6525 1
a6525 1
  echo "$as_me:7082: \$? = $ac_status" >&5
d6528 1
a6528 1
  { (eval echo "$as_me:7085: \"$ac_try\"") >&5
d6531 1
a6531 1
  echo "$as_me:7088: \$? = $ac_status" >&5
d6548 1
a6548 1
echo "${as_me:-configure}:7105: testing find linkage for intl library ..." 1>&5
d6550 1
a6550 1
echo "${as_me:-configure}:7107: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5
d6663 1
a6663 1
echo "${as_me:-configure}:7220: testing ... testing $cf_cv_header_path_intl ..." 1>&5
d6667 1
a6667 1
#line 7224 "configure"
d6687 1
a6687 1
if { (eval echo "$as_me:7244: \"$ac_compile\"") >&5
d6690 1
a6690 1
  echo "$as_me:7247: \$? = $ac_status" >&5
d6693 1
a6693 1
  { (eval echo "$as_me:7250: \"$ac_try\"") >&5
d6696 1
a6696 1
  echo "$as_me:7253: \$? = $ac_status" >&5
d6701 1
a6701 1
echo "${as_me:-configure}:7258: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5
d6719 1
a6719 1
echo "${as_me:-configure}:7276: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5
d6816 1
a6816 1
echo "${as_me:-configure}:7373: testing ... testing $cf_cv_library_path_intl ..." 1>&5
d6822 1
a6822 1
#line 7379 "configure"
d6842 1
a6842 1
if { (eval echo "$as_me:7399: \"$ac_link\"") >&5
d6845 1
a6845 1
  echo "$as_me:7402: \$? = $ac_status" >&5
d6848 1
a6848 1
  { (eval echo "$as_me:7405: \"$ac_try\"") >&5
d6851 1
a6851 1
  echo "$as_me:7408: \$? = $ac_status" >&5
d6856 1
a6856 1
echo "${as_me:-configure}:7413: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5
d6896 1
a6896 1
echo "$as_me:7453: result: $cf_cv_func_gettext" >&5
d6935 1
a6935 1
#line 7492 "configure"
d6947 1
a6947 1
if { (eval echo "$as_me:7504: \"$ac_compile\"") >&5
d6950 1
a6950 1
  echo "$as_me:7507: \$? = $ac_status" >&5
d6953 1
a6953 1
  { (eval echo "$as_me:7510: \"$ac_try\"") >&5
d6956 1
a6956 1
  echo "$as_me:7513: \$? = $ac_status" >&5
d6973 1
a6973 1
echo "${as_me:-configure}:7530: testing adding $cf_add_incdir to include-path ..." 1>&5
d7010 1
a7010 1
echo "${as_me:-configure}:7567: testing adding $cf_add_libdir to library-path ..." 1>&5
d7026 1
a7026 1
echo "$as_me:7583: checking for $ac_func" >&5
d7032 1
a7032 1
#line 7589 "configure"
d7063 1
a7063 1
if { (eval echo "$as_me:7620: \"$ac_link\"") >&5
d7066 1
a7066 1
  echo "$as_me:7623: \$? = $ac_status" >&5
d7069 1
a7069 1
  { (eval echo "$as_me:7626: \"$ac_try\"") >&5
d7072 1
a7072 1
  echo "$as_me:7629: \$? = $ac_status" >&5
d7082 1
a7082 1
echo "$as_me:7639: result: `eval echo '${'$as_ac_var'}'`" >&5
d7097 1
a7097 1
echo "$as_me:7654: checking for $ac_word" >&5
d7124 1
a7124 1
  echo "$as_me:7681: result: $MSGFMT" >&5
d7127 1
a7127 1
  echo "$as_me:7684: result: no" >&5
d7133 1
a7133 1
echo "$as_me:7690: checking for $ac_word" >&5
d7150 1
a7150 1
   echo "$as_me:7707: found $ac_dir/$ac_word" >&5
d7162 1
a7162 1
  echo "$as_me:7719: result: $GMSGFMT" >&5
d7165 1
a7165 1
  echo "$as_me:7722: result: no" >&5
d7172 1
a7172 1
echo "$as_me:7729: checking for $ac_word" >&5
d7199 1
a7199 1
  echo "$as_me:7756: result: $XGETTEXT" >&5
d7202 1
a7202 1
  echo "$as_me:7759: result: no" >&5
d7217 1
a7217 1
        { { echo "$as_me:7774: error: no NLS library is packaged with this application" >&5
d7225 1
a7225 1
echo "$as_me:7782: checking for $ac_word" >&5
d7252 1
a7252 1
  echo "$as_me:7809: result: $MSGFMT" >&5
d7255 1
a7255 1
  echo "$as_me:7812: result: no" >&5
d7261 1
a7261 1
echo "$as_me:7818: checking for $ac_word" >&5
d7278 1
a7278 1
   echo "$as_me:7835: found $ac_dir/$ac_word" >&5
d7290 1
a7290 1
  echo "$as_me:7847: result: $GMSGFMT" >&5
d7293 1
a7293 1
  echo "$as_me:7850: result: no" >&5
d7300 1
a7300 1
echo "$as_me:7857: checking for $ac_word" >&5
d7327 1
a7327 1
  echo "$as_me:7884: result: $XGETTEXT" >&5
d7330 1
a7330 1
  echo "$as_me:7887: result: no" >&5
d7345 1
a7345 1
        echo "$as_me:7902: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
d7355 1
a7355 1
        echo "$as_me:7912: result: found xgettext program is not GNU xgettext; ignore it" >&5
d7375 1
a7375 1
echo "$as_me:7932: checking for $ac_word" >&5
d7390 1
a7390 1
echo "$as_me:7947: found $ac_dir/$ac_word" >&5
d7398 1
a7398 1
  echo "$as_me:7955: result: $INTLBISON" >&5
d7401 1
a7401 1
  echo "$as_me:7958: result: no" >&5
d7411 1
a7411 1
            echo "$as_me:7968: checking version of bison" >&5
d7420 1
a7420 1
    echo "$as_me:7977: result: $ac_prog_version" >&5
d7446 1
a7446 1
       echo "$as_me:8003: checking for catalogs to be installed" >&5
d7466 1
a7466 1
       echo "$as_me:8023: result: $LINGUAS" >&5
d7501 1
a7501 1
echo "$as_me:8058: checking if we should use included message-library" >&5
d7512 1
a7512 1
echo "$as_me:8069: result: $use_our_messages" >&5
d7553 1
a7553 1
echo "$as_me:8110: checking for $ac_header" >&5
d7559 1
a7559 1
#line 8116 "configure"
d7563 1
a7563 1
if { (eval echo "$as_me:8120: \"$ac_cpp conftest.$ac_ext\"") >&5
d7569 1
a7569 1
  echo "$as_me:8126: \$? = $ac_status" >&5
d7588 1
a7588 1
echo "$as_me:8145: result: `eval echo '${'$as_ac_Header'}'`" >&5
d7633 1
a7633 1
echo "$as_me:8190: checking if -lm needed for math functions" >&5
d7640 1
a7640 1
#line 8197 "configure"
d7655 1
a7655 1
if { (eval echo "$as_me:8212: \"$ac_link\"") >&5
d7658 1
a7658 1
  echo "$as_me:8215: \$? = $ac_status" >&5
d7661 1
a7661 1
  { (eval echo "$as_me:8218: \"$ac_try\"") >&5
d7664 1
a7664 1
  echo "$as_me:8221: \$? = $ac_status" >&5
d7674 1
a7674 1
echo "$as_me:8231: result: $cf_cv_need_libm" >&5
d7683 1
a7683 1
echo "$as_me:8240: checking if you want to use dmalloc for testing" >&5
d7699 1
a7699 1
echo "$as_me:8256: result: ${with_dmalloc:-no}" >&5
d7793 1
a7793 1
	echo "$as_me:8350: checking for dmalloc.h" >&5
d7799 1
a7799 1
#line 8356 "configure"
d7803 1
a7803 1
if { (eval echo "$as_me:8360: \"$ac_cpp conftest.$ac_ext\"") >&5
d7809 1
a7809 1
  echo "$as_me:8366: \$? = $ac_status" >&5
d7828 1
a7828 1
echo "$as_me:8385: result: $ac_cv_header_dmalloc_h" >&5
d7832 1
a7832 1
echo "$as_me:8389: checking for dmalloc_debug in -ldmalloc" >&5
d7840 1
a7840 1
#line 8397 "configure"
d7859 1
a7859 1
if { (eval echo "$as_me:8416: \"$ac_link\"") >&5
d7862 1
a7862 1
  echo "$as_me:8419: \$? = $ac_status" >&5
d7865 1
a7865 1
  { (eval echo "$as_me:8422: \"$ac_try\"") >&5
d7868 1
a7868 1
  echo "$as_me:8425: \$? = $ac_status" >&5
d7879 1
a7879 1
echo "$as_me:8436: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
d7894 1
a7894 1
echo "$as_me:8451: checking if you want to use dbmalloc for testing" >&5
d7910 1
a7910 1
echo "$as_me:8467: result: ${with_dbmalloc:-no}" >&5
d8004 1
a8004 1
	echo "$as_me:8561: checking for dbmalloc.h" >&5
d8010 1
a8010 1
#line 8567 "configure"
d8014 1
a8014 1
if { (eval echo "$as_me:8571: \"$ac_cpp conftest.$ac_ext\"") >&5
d8020 1
a8020 1
  echo "$as_me:8577: \$? = $ac_status" >&5
d8039 1
a8039 1
echo "$as_me:8596: result: $ac_cv_header_dbmalloc_h" >&5
d8043 1
a8043 1
echo "$as_me:8600: checking for debug_malloc in -ldbmalloc" >&5
d8051 1
a8051 1
#line 8608 "configure"
d8070 1
a8070 1
if { (eval echo "$as_me:8627: \"$ac_link\"") >&5
d8073 1
a8073 1
  echo "$as_me:8630: \$? = $ac_status" >&5
d8076 1
a8076 1
  { (eval echo "$as_me:8633: \"$ac_try\"") >&5
d8079 1
a8079 1
  echo "$as_me:8636: \$? = $ac_status" >&5
d8090 1
a8090 1
echo "$as_me:8647: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
d8105 1
a8105 1
echo "$as_me:8662: checking if you want to use purify for testing" >&5
d8121 1
a8121 1
echo "$as_me:8678: result: ${with_purify:-no}" >&5
d8214 1
a8214 1
echo "$as_me:8771: checking if you want to use valgrind for testing" >&5
d8230 1
a8230 1
echo "$as_me:8787: result: ${with_valgrind:-no}" >&5
d8323 1
a8323 1
echo "$as_me:8880: checking if you want to perform memory-leak testing" >&5
d8345 1
a8345 1
echo "$as_me:8902: result: $with_no_leaks" >&5
d8348 1
a8348 1
echo "$as_me:8905: checking if you want --trace option" >&5
d8358 1
a8358 1
echo "$as_me:8915: result: $enableval" >&5
d8372 1
a8372 1
echo "$as_me:8929: checking if libtool -version-number should be used" >&5
d8389 1
a8389 1
echo "$as_me:8946: result: $cf_libtool_version" >&5
d8414 1
a8414 1
echo "$as_me:8971: checking if you want to build libraries with libtool" >&5
d8424 1
a8424 1
echo "$as_me:8981: result: $with_libtool" >&5
d8455 1
a8455 1
  { { echo "$as_me:9012: error: expected a pathname, not \"$with_libtool\"" >&5
d8465 1
a8465 1
echo "$as_me:9022: checking for $ac_word" >&5
d8482 1
a8482 1
   echo "$as_me:9039: found $ac_dir/$ac_word" >&5
d8493 1
a8493 1
  echo "$as_me:9050: result: $LIBTOOL" >&5
d8496 1
a8496 1
  echo "$as_me:9053: result: no" >&5
d8502 1
a8502 1
		{ { echo "$as_me:9059: error: Cannot find libtool" >&5
d8517 1
a8517 1
	echo "$as_me:9074: checking version of libtool" >&5
d8524 1
a8524 1
	echo "$as_me:9081: result: $cf_cv_libtool_version" >&5
d8527 1
a8527 1
		{ { echo "$as_me:9084: error: This is not GNU libtool" >&5
d8535 1
a8535 1
	cygwin*|mingw32*|uwin*|aix[4-7]) #(vi
d8561 1
a8561 1
echo "$as_me:9118: checking for additional libtool options" >&5
d8571 1
a8571 1
echo "$as_me:9128: result: $with_libtool_opts" >&5
d8584 1
a8584 1
echo "$as_me:9141: checking for specific curses-directory" >&5
d8594 1
a8594 1
echo "$as_me:9151: result: $cf_cv_curses_dir" >&5
d8625 1
a8625 1
  { { echo "$as_me:9182: error: expected a pathname, not \"$withval\"" >&5
d8658 1
a8658 1
#line 9215 "configure"
d8670 1
a8670 1
if { (eval echo "$as_me:9227: \"$ac_compile\"") >&5
d8673 1
a8673 1
  echo "$as_me:9230: \$? = $ac_status" >&5
d8676 1
a8676 1
  { (eval echo "$as_me:9233: \"$ac_try\"") >&5
d8679 1
a8679 1
  echo "$as_me:9236: \$? = $ac_status" >&5
d8696 1
a8696 1
echo "${as_me:-configure}:9253: testing adding $cf_add_incdir to include-path ..." 1>&5
d8730 1
a8730 1
echo "${as_me:-configure}:9287: testing adding $cf_add_libdir to library-path ..." 1>&5
d8758 1
a8758 1
echo "$as_me:9315: checking for multibyte character support" >&5
d8766 1
a8766 1
#line 9323 "configure"
d8779 1
a8779 1
if { (eval echo "$as_me:9336: \"$ac_link\"") >&5
d8782 1
a8782 1
  echo "$as_me:9339: \$? = $ac_status" >&5
d8785 1
a8785 1
  { (eval echo "$as_me:9342: \"$ac_try\"") >&5
d8788 1
a8788 1
  echo "$as_me:9345: \$? = $ac_status" >&5
d8800 1
a8800 1
echo "${as_me:-configure}:9357: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
d8805 1
a8805 1
#line 9362 "configure"
d8818 1
a8818 1
if { (eval echo "$as_me:9375: \"$ac_link\"") >&5
d8821 1
a8821 1
  echo "$as_me:9378: \$? = $ac_status" >&5
d8824 1
a8824 1
  { (eval echo "$as_me:9381: \"$ac_try\"") >&5
d8827 1
a8827 1
  echo "$as_me:9384: \$? = $ac_status" >&5
d8841 1
a8841 1
#line 9398 "configure"
d8854 1
a8854 1
if { (eval echo "$as_me:9411: \"$ac_link\"") >&5
d8857 1
a8857 1
  echo "$as_me:9414: \$? = $ac_status" >&5
d8860 1
a8860 1
  { (eval echo "$as_me:9417: \"$ac_try\"") >&5
d8863 1
a8863 1
  echo "$as_me:9420: \$? = $ac_status" >&5
d8880 1
a8880 1
echo "${as_me:-configure}:9437: testing find linkage for utf8 library ..." 1>&5
d8882 1
a8882 1
echo "${as_me:-configure}:9439: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
d8995 1
a8995 1
echo "${as_me:-configure}:9552: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
d8999 1
a8999 1
#line 9556 "configure"
d9012 1
a9012 1
if { (eval echo "$as_me:9569: \"$ac_compile\"") >&5
d9015 1
a9015 1
  echo "$as_me:9572: \$? = $ac_status" >&5
d9018 1
a9018 1
  { (eval echo "$as_me:9575: \"$ac_try\"") >&5
d9021 1
a9021 1
  echo "$as_me:9578: \$? = $ac_status" >&5
d9026 1
a9026 1
echo "${as_me:-configure}:9583: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
d9044 1
a9044 1
echo "${as_me:-configure}:9601: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
d9141 1
a9141 1
echo "${as_me:-configure}:9698: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
d9147 1
a9147 1
#line 9704 "configure"
d9160 1
a9160 1
if { (eval echo "$as_me:9717: \"$ac_link\"") >&5
d9163 1
a9163 1
  echo "$as_me:9720: \$? = $ac_status" >&5
d9166 1
a9166 1
  { (eval echo "$as_me:9723: \"$ac_try\"") >&5
d9169 1
a9169 1
  echo "$as_me:9726: \$? = $ac_status" >&5
d9174 1
a9174 1
echo "${as_me:-configure}:9731: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
d9216 1
a9216 1
echo "$as_me:9773: result: $cf_cv_utf8_lib" >&5
d9250 1
a9250 1
#line 9807 "configure"
d9262 1
a9262 1
if { (eval echo "$as_me:9819: \"$ac_compile\"") >&5
d9265 1
a9265 1
  echo "$as_me:9822: \$? = $ac_status" >&5
d9268 1
a9268 1
  { (eval echo "$as_me:9825: \"$ac_try\"") >&5
d9271 1
a9271 1
  echo "$as_me:9828: \$? = $ac_status" >&5
d9288 1
a9288 1
echo "${as_me:-configure}:9845: testing adding $cf_add_incdir to include-path ..." 1>&5
d9322 1
a9322 1
echo "${as_me:-configure}:9879: testing adding $cf_add_libdir to library-path ..." 1>&5
d9338 1
a9338 42

if test -n "$ac_tool_prefix"; then
  for ac_prog in ${cf_ncuconfig_root}6-config ${cf_ncuconfig_root}5-config
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:9901: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$NCURSES_CONFIG"; then
  ac_cv_prog_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test.
else
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog"
echo "$as_me:9916: found $ac_dir/$ac_word" >&5
break
done

fi
fi
NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG
if test -n "$NCURSES_CONFIG"; then
  echo "$as_me:9924: result: $NCURSES_CONFIG" >&5
echo "${ECHO_T}$NCURSES_CONFIG" >&6
else
  echo "$as_me:9927: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    test -n "$NCURSES_CONFIG" && break
  done
fi
if test -z "$NCURSES_CONFIG"; then
  ac_ct_NCURSES_CONFIG=$NCURSES_CONFIG
  for ac_prog in ${cf_ncuconfig_root}6-config ${cf_ncuconfig_root}5-config
d9342 1
a9342 1
echo "$as_me:9940: checking for $ac_word" >&5
d9344 1
a9344 1
if test "${ac_cv_prog_ac_ct_NCURSES_CONFIG+set}" = set; then
d9347 5
a9351 3
  if test -n "$ac_ct_NCURSES_CONFIG"; then
  ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_ct_NCURSES_CONFIG" # Let the user override the test.
else
d9357 5
a9361 4
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog"
echo "$as_me:9955: found $ac_dir/$ac_word" >&5
break
d9364 2
d9367 5
a9371 5
fi
ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG
if test -n "$ac_ct_NCURSES_CONFIG"; then
  echo "$as_me:9963: result: $ac_ct_NCURSES_CONFIG" >&5
echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6
d9373 1
a9373 1
  echo "$as_me:9966: result: no" >&5
d9377 1
a9377 1
  test -n "$ac_ct_NCURSES_CONFIG" && break
d9379 1
a9379 4
test -n "$ac_ct_NCURSES_CONFIG" || ac_ct_NCURSES_CONFIG="none"

  NCURSES_CONFIG=$ac_ct_NCURSES_CONFIG
fi
d9388 1
a9388 1
echo "$as_me:9984: checking if we have identified curses headers" >&5
d9402 1
a9402 1
#line 9998 "configure"
d9414 1
a9414 1
if { (eval echo "$as_me:10010: \"$ac_compile\"") >&5
d9417 1
a9417 1
  echo "$as_me:10013: \$? = $ac_status" >&5
d9420 1
a9420 1
  { (eval echo "$as_me:10016: \"$ac_try\"") >&5
d9423 1
a9423 1
  echo "$as_me:10019: \$? = $ac_status" >&5
d9434 1
a9434 1
echo "$as_me:10030: result: $cf_cv_ncurses_header" >&5
d9438 1
a9438 1
	{ { echo "$as_me:10034: error: No curses header-files found" >&5
d9448 1
a9448 1
echo "$as_me:10044: checking for $ac_header" >&5
d9454 1
a9454 1
#line 10050 "configure"
d9458 1
a9458 1
if { (eval echo "$as_me:10054: \"$ac_cpp conftest.$ac_ext\"") >&5
d9464 1
a9464 1
  echo "$as_me:10060: \$? = $ac_status" >&5
d9483 1
a9483 1
echo "$as_me:10079: result: `eval echo '${'$as_ac_Header'}'`" >&5
d9536 1
a9536 1
#line 10132 "configure"
d9548 1
a9548 1
if { (eval echo "$as_me:10144: \"$ac_compile\"") >&5
d9551 1
a9551 1
  echo "$as_me:10147: \$? = $ac_status" >&5
d9554 1
a9554 1
  { (eval echo "$as_me:10150: \"$ac_try\"") >&5
d9557 1
a9557 1
  echo "$as_me:10153: \$? = $ac_status" >&5
d9574 1
a9574 1
echo "${as_me:-configure}:10170: testing adding $cf_add_incdir to include-path ..." 1>&5
d9591 1
a9591 1
echo "$as_me:10187: checking for $cf_ncuhdr_root header in include-path" >&5
d9603 1
a9603 1
#line 10199 "configure"
d9627 1
a9627 1
if { (eval echo "$as_me:10223: \"$ac_compile\"") >&5
d9630 1
a9630 1
  echo "$as_me:10226: \$? = $ac_status" >&5
d9633 1
a9633 1
  { (eval echo "$as_me:10229: \"$ac_try\"") >&5
d9636 1
a9636 1
  echo "$as_me:10232: \$? = $ac_status" >&5
d9651 1
a9651 1
echo "$as_me:10247: result: $cf_cv_ncurses_h" >&5
d9658 1
a9658 1
echo "$as_me:10254: checking for $cf_ncuhdr_root include-path" >&5
d9798 1
a9798 1
#line 10394 "configure"
d9810 1
a9810 1
if { (eval echo "$as_me:10406: \"$ac_compile\"") >&5
d9813 1
a9813 1
  echo "$as_me:10409: \$? = $ac_status" >&5
d9816 1
a9816 1
  { (eval echo "$as_me:10412: \"$ac_try\"") >&5
d9819 1
a9819 1
  echo "$as_me:10415: \$? = $ac_status" >&5
d9836 1
a9836 1
echo "${as_me:-configure}:10432: testing adding $cf_add_incdir to include-path ..." 1>&5
d9857 1
a9857 1
#line 10453 "configure"
d9881 1
a9881 1
if { (eval echo "$as_me:10477: \"$ac_compile\"") >&5
d9884 1
a9884 1
  echo "$as_me:10480: \$? = $ac_status" >&5
d9887 1
a9887 1
  { (eval echo "$as_me:10483: \"$ac_try\"") >&5
d9890 1
a9890 1
  echo "$as_me:10486: \$? = $ac_status" >&5
d9911 1
a9911 1
	test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10507: error: not found" >&5
d9916 1
a9916 1
echo "$as_me:10512: result: $cf_cv_ncurses_h2" >&5
d9949 1
a9949 1
#line 10545 "configure"
d9961 1
a9961 1
if { (eval echo "$as_me:10557: \"$ac_compile\"") >&5
d9964 1
a9964 1
  echo "$as_me:10560: \$? = $ac_status" >&5
d9967 1
a9967 1
  { (eval echo "$as_me:10563: \"$ac_try\"") >&5
d9970 1
a9970 1
  echo "$as_me:10566: \$? = $ac_status" >&5
d9987 1
a9987 1
echo "${as_me:-configure}:10583: testing adding $cf_add_incdir to include-path ..." 1>&5
d10030 1
a10030 1
echo "$as_me:10626: checking for terminfo header" >&5
d10048 1
a10048 1
#line 10644 "configure"
d10063 1
a10063 1
if { (eval echo "$as_me:10659: \"$ac_compile\"") >&5
d10066 1
a10066 1
  echo "$as_me:10662: \$? = $ac_status" >&5
d10069 1
a10069 1
  { (eval echo "$as_me:10665: \"$ac_try\"") >&5
d10072 1
a10072 1
  echo "$as_me:10668: \$? = $ac_status" >&5
d10088 1
a10088 1
echo "$as_me:10684: result: $cf_cv_term_header" >&5
d10122 1
a10122 1
echo "$as_me:10718: checking for ncurses version" >&5
d10148 1
a10148 1
	{ (eval echo "$as_me:10744: \"$cf_try\"") >&5
d10151 1
a10151 1
  echo "$as_me:10747: \$? = $ac_status" >&5
d10161 1
a10161 1
#line 10757 "configure"
d10186 1
a10186 1
if { (eval echo "$as_me:10782: \"$ac_link\"") >&5
d10189 1
a10189 1
  echo "$as_me:10785: \$? = $ac_status" >&5
d10191 1
a10191 1
  { (eval echo "$as_me:10787: \"$ac_try\"") >&5
d10194 1
a10194 1
  echo "$as_me:10790: \$? = $ac_status" >&5
d10208 1
a10208 1
echo "$as_me:10804: result: $cf_cv_ncurses_version" >&5
d10220 1
a10220 1
echo "$as_me:10816: checking for Gpm_Open in -lgpm" >&5
d10228 1
a10228 1
#line 10824 "configure"
d10247 1
a10247 1
if { (eval echo "$as_me:10843: \"$ac_link\"") >&5
d10250 1
a10250 1
  echo "$as_me:10846: \$? = $ac_status" >&5
d10253 1
a10253 1
  { (eval echo "$as_me:10849: \"$ac_try\"") >&5
d10256 1
a10256 1
  echo "$as_me:10852: \$? = $ac_status" >&5
d10267 1
a10267 1
echo "$as_me:10863: result: $ac_cv_lib_gpm_Gpm_Open" >&5
d10270 1
a10270 1
  echo "$as_me:10866: checking for initscr in -lgpm" >&5
d10278 1
a10278 1
#line 10874 "configure"
d10297 1
a10297 1
if { (eval echo "$as_me:10893: \"$ac_link\"") >&5
d10300 1
a10300 1
  echo "$as_me:10896: \$? = $ac_status" >&5
d10303 1
a10303 1
  { (eval echo "$as_me:10899: \"$ac_try\"") >&5
d10306 1
a10306 1
  echo "$as_me:10902: \$? = $ac_status" >&5
d10317 1
a10317 1
echo "$as_me:10913: result: $ac_cv_lib_gpm_initscr" >&5
d10332 1
a10332 1
		echo "$as_me:10928: checking for tgoto in -lmytinfo" >&5
d10340 1
a10340 1
#line 10936 "configure"
d10359 1
a10359 1
if { (eval echo "$as_me:10955: \"$ac_link\"") >&5
d10362 1
a10362 1
  echo "$as_me:10958: \$? = $ac_status" >&5
d10365 1
a10365 1
  { (eval echo "$as_me:10961: \"$ac_try\"") >&5
d10368 1
a10368 1
  echo "$as_me:10964: \$? = $ac_status" >&5
d10379 1
a10379 1
echo "$as_me:10975: result: $ac_cv_lib_mytinfo_tgoto" >&5
d10398 1
a10398 1
	echo "$as_me:10994: checking for initscr" >&5
d10404 1
a10404 1
#line 11000 "configure"
d10435 1
a10435 1
if { (eval echo "$as_me:11031: \"$ac_link\"") >&5
d10438 1
a10438 1
  echo "$as_me:11034: \$? = $ac_status" >&5
d10441 1
a10441 1
  { (eval echo "$as_me:11037: \"$ac_try\"") >&5
d10444 1
a10444 1
  echo "$as_me:11040: \$? = $ac_status" >&5
d10454 1
a10454 1
echo "$as_me:11050: result: $ac_cv_func_initscr" >&5
d10461 1
a10461 1
		echo "$as_me:11057: checking for initscr in -l$cf_nculib_root" >&5
d10465 1
a10465 1
#line 11061 "configure"
d10477 1
a10477 1
if { (eval echo "$as_me:11073: \"$ac_link\"") >&5
d10480 1
a10480 1
  echo "$as_me:11076: \$? = $ac_status" >&5
d10483 1
a10483 1
  { (eval echo "$as_me:11079: \"$ac_try\"") >&5
d10486 1
a10486 1
  echo "$as_me:11082: \$? = $ac_status" >&5
d10488 1
a10488 1
  echo "$as_me:11084: result: yes" >&5
d10495 1
a10495 1
echo "$as_me:11091: result: no" >&5
d10585 1
a10585 1
				echo "$as_me:11181: checking for -l$cf_nculib_root in $cf_libdir" >&5
d10589 1
a10589 1
#line 11185 "configure"
d10601 1
a10601 1
if { (eval echo "$as_me:11197: \"$ac_link\"") >&5
d10604 1
a10604 1
  echo "$as_me:11200: \$? = $ac_status" >&5
d10607 1
a10607 1
  { (eval echo "$as_me:11203: \"$ac_try\"") >&5
d10610 1
a10610 1
  echo "$as_me:11206: \$? = $ac_status" >&5
d10612 1
a10612 1
  echo "$as_me:11208: result: yes" >&5
d10619 1
a10619 1
echo "$as_me:11215: result: no" >&5
d10634 1
a10634 1
	{ { echo "$as_me:11230: error: Cannot link $cf_nculib_root library" >&5
d10642 1
a10642 1
	echo "$as_me:11238: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
d10652 1
a10652 1
#line 11248 "configure"
d10664 1
a10664 1
if { (eval echo "$as_me:11260: \"$ac_link\"") >&5
d10667 1
a10667 1
  echo "$as_me:11263: \$? = $ac_status" >&5
d10670 1
a10670 1
  { (eval echo "$as_me:11266: \"$ac_try\"") >&5
d10673 1
a10673 1
  echo "$as_me:11269: \$? = $ac_status" >&5
d10675 1
a10675 1
  echo "$as_me:11271: result: yes" >&5
d10680 1
a10680 1
echo "$as_me:11276: result: no" >&5
d10698 1
a10698 1
echo "$as_me:11294: checking for extra include directories" >&5
d10724 1
a10724 1
echo "$as_me:11320: result: $cf_cv_curses_incdir" >&5
d10728 1
a10728 1
echo "$as_me:11324: checking if we have identified curses headers" >&5
d10740 1
a10740 1
#line 11336 "configure"
d10752 1
a10752 1
if { (eval echo "$as_me:11348: \"$ac_compile\"") >&5
d10755 1
a10755 1
  echo "$as_me:11351: \$? = $ac_status" >&5
d10758 1
a10758 1
  { (eval echo "$as_me:11354: \"$ac_try\"") >&5
d10761 1
a10761 1
  echo "$as_me:11357: \$? = $ac_status" >&5
d10772 1
a10772 1
echo "$as_me:11368: result: $cf_cv_ncurses_header" >&5
d10776 1
a10776 1
	{ { echo "$as_me:11372: error: No curses header-files found" >&5
d10786 1
a10786 1
echo "$as_me:11382: checking for $ac_header" >&5
d10792 1
a10792 1
#line 11388 "configure"
d10796 1
a10796 1
if { (eval echo "$as_me:11392: \"$ac_cpp conftest.$ac_ext\"") >&5
d10802 1
a10802 1
  echo "$as_me:11398: \$? = $ac_status" >&5
d10821 1
a10821 1
echo "$as_me:11417: result: `eval echo '${'$as_ac_Header'}'`" >&5
d10831 1
a10831 1
echo "$as_me:11427: checking for terminfo header" >&5
d10849 1
a10849 1
#line 11445 "configure"
d10864 1
a10864 1
if { (eval echo "$as_me:11460: \"$ac_compile\"") >&5
d10867 1
a10867 1
  echo "$as_me:11463: \$? = $ac_status" >&5
d10870 1
a10870 1
  { (eval echo "$as_me:11466: \"$ac_try\"") >&5
d10873 1
a10873 1
  echo "$as_me:11469: \$? = $ac_status" >&5
d10889 1
a10889 1
echo "$as_me:11485: result: $cf_cv_term_header" >&5
d10918 1
a10918 1
echo "$as_me:11514: checking for ncurses version" >&5
d10944 1
a10944 1
	{ (eval echo "$as_me:11540: \"$cf_try\"") >&5
d10947 1
a10947 1
  echo "$as_me:11543: \$? = $ac_status" >&5
d10957 1
a10957 1
#line 11553 "configure"
d10982 1
a10982 1
if { (eval echo "$as_me:11578: \"$ac_link\"") >&5
d10985 1
a10985 1
  echo "$as_me:11581: \$? = $ac_status" >&5
d10987 1
a10987 1
  { (eval echo "$as_me:11583: \"$ac_try\"") >&5
d10990 1
a10990 1
  echo "$as_me:11586: \$? = $ac_status" >&5
d11004 1
a11004 1
echo "$as_me:11600: result: $cf_cv_ncurses_version" >&5
d11010 1
a11010 1
echo "$as_me:11606: checking if we have identified curses libraries" >&5
d11013 1
a11013 1
#line 11609 "configure"
d11025 1
a11025 1
if { (eval echo "$as_me:11621: \"$ac_link\"") >&5
d11028 1
a11028 1
  echo "$as_me:11624: \$? = $ac_status" >&5
d11031 1
a11031 1
  { (eval echo "$as_me:11627: \"$ac_try\"") >&5
d11034 1
a11034 1
  echo "$as_me:11630: \$? = $ac_status" >&5
d11043 1
a11043 1
echo "$as_me:11639: result: $cf_result" >&5
d11049 1
a11049 1
    echo "$as_me:11645: checking for tgoto in -lmytinfo" >&5
d11057 1
a11057 1
#line 11653 "configure"
d11076 1
a11076 1
if { (eval echo "$as_me:11672: \"$ac_link\"") >&5
d11079 1
a11079 1
  echo "$as_me:11675: \$? = $ac_status" >&5
d11082 1
a11082 1
  { (eval echo "$as_me:11678: \"$ac_try\"") >&5
d11085 1
a11085 1
  echo "$as_me:11681: \$? = $ac_status" >&5
d11096 1
a11096 1
echo "$as_me:11692: result: $ac_cv_lib_mytinfo_tgoto" >&5
d11110 1
a11110 1
		echo "$as_me:11706: checking for initscr in -lcur_colr" >&5
d11118 1
a11118 1
#line 11714 "configure"
d11137 1
a11137 1
if { (eval echo "$as_me:11733: \"$ac_link\"") >&5
d11140 1
a11140 1
  echo "$as_me:11736: \$? = $ac_status" >&5
d11143 1
a11143 1
  { (eval echo "$as_me:11739: \"$ac_try\"") >&5
d11146 1
a11146 1
  echo "$as_me:11742: \$? = $ac_status" >&5
d11157 1
a11157 1
echo "$as_me:11753: result: $ac_cv_lib_cur_colr_initscr" >&5
d11166 1
a11166 1
		echo "$as_me:11762: checking for initscr in -lHcurses" >&5
d11174 1
a11174 1
#line 11770 "configure"
d11193 1
a11193 1
if { (eval echo "$as_me:11789: \"$ac_link\"") >&5
d11196 1
a11196 1
  echo "$as_me:11792: \$? = $ac_status" >&5
d11199 1
a11199 1
  { (eval echo "$as_me:11795: \"$ac_try\"") >&5
d11202 1
a11202 1
  echo "$as_me:11798: \$? = $ac_status" >&5
d11213 1
a11213 1
echo "$as_me:11809: result: $ac_cv_lib_Hcurses_initscr" >&5
d11253 1
a11253 1
echo "${as_me:-configure}:11849: testing adding $cf_add_libdir to library-path ..." 1>&5
d11282 1
a11282 1
echo "${as_me:-configure}:11878: testing adding $cf_add_libdir to library-path ..." 1>&5
d11313 1
a11313 1
echo "${as_me:-configure}:11909: testing adding $cf_add_libdir to library-path ..." 1>&5
d11348 1
a11348 1
echo "${as_me:-configure}:11944: testing adding $cf_add_libdir to library-path ..." 1>&5
d11377 1
a11377 1
    echo "$as_me:11973: checking for tgoto" >&5
d11383 1
a11383 1
#line 11979 "configure"
d11414 1
a11414 1
if { (eval echo "$as_me:12010: \"$ac_link\"") >&5
d11417 1
a11417 1
  echo "$as_me:12013: \$? = $ac_status" >&5
d11420 1
a11420 1
  { (eval echo "$as_me:12016: \"$ac_try\"") >&5
d11423 1
a11423 1
  echo "$as_me:12019: \$? = $ac_status" >&5
d11433 1
a11433 1
echo "$as_me:12029: result: $ac_cv_func_tgoto" >&5
d11439 1
a11439 1
        for cf_term_lib in $cf_check_list otermcap termcap termlib unknown
d11442 1
a11442 1
echo "$as_me:12038: checking for tgoto in -l$cf_term_lib" >&5
d11450 1
a11450 1
#line 12046 "configure"
d11469 1
a11469 1
if { (eval echo "$as_me:12065: \"$ac_link\"") >&5
d11472 1
a11472 1
  echo "$as_me:12068: \$? = $ac_status" >&5
d11475 1
a11475 1
  { (eval echo "$as_me:12071: \"$ac_try\"") >&5
d11478 1
a11478 1
  echo "$as_me:12074: \$? = $ac_status" >&5
d11489 1
a11489 1
echo "$as_me:12085: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d11504 1
a11504 1
echo "$as_me:12100: checking for initscr in -l$cf_curs_lib" >&5
d11512 1
a11512 1
#line 12108 "configure"
d11531 1
a11531 1
if { (eval echo "$as_me:12127: \"$ac_link\"") >&5
d11534 1
a11534 1
  echo "$as_me:12130: \$? = $ac_status" >&5
d11537 1
a11537 1
  { (eval echo "$as_me:12133: \"$ac_try\"") >&5
d11540 1
a11540 1
  echo "$as_me:12136: \$? = $ac_status" >&5
d11551 1
a11551 1
echo "$as_me:12147: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d11558 1
a11558 1
    test $cf_curs_lib = unknown && { { echo "$as_me:12154: error: no curses library found" >&5
d11564 1
a11564 1
        echo "$as_me:12160: checking if we can link with $cf_curs_lib library" >&5
d11567 1
a11567 1
#line 12163 "configure"
d11579 1
a11579 1
if { (eval echo "$as_me:12175: \"$ac_link\"") >&5
d11582 1
a11582 1
  echo "$as_me:12178: \$? = $ac_status" >&5
d11585 1
a11585 1
  { (eval echo "$as_me:12181: \"$ac_try\"") >&5
d11588 1
a11588 1
  echo "$as_me:12184: \$? = $ac_status" >&5
d11597 1
a11597 1
        echo "$as_me:12193: result: $cf_result" >&5
d11599 1
a11599 1
        test $cf_result = no && { { echo "$as_me:12195: error: Cannot link curses library" >&5
d11605 1
a11605 1
        echo "$as_me:12201: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
d11608 1
a11608 1
#line 12204 "configure"
d11620 1
a11620 1
if { (eval echo "$as_me:12216: \"$ac_link\"") >&5
d11623 1
a11623 1
  echo "$as_me:12219: \$? = $ac_status" >&5
d11626 1
a11626 1
  { (eval echo "$as_me:12222: \"$ac_try\"") >&5
d11629 1
a11629 1
  echo "$as_me:12225: \$? = $ac_status" >&5
d11638 1
a11638 1
#line 12234 "configure"
d11650 1
a11650 1
if { (eval echo "$as_me:12246: \"$ac_link\"") >&5
d11653 1
a11653 1
  echo "$as_me:12249: \$? = $ac_status" >&5
d11656 1
a11656 1
  { (eval echo "$as_me:12252: \"$ac_try\"") >&5
d11659 1
a11659 1
  echo "$as_me:12255: \$? = $ac_status" >&5
d11671 1
a11671 1
        echo "$as_me:12267: result: $cf_result" >&5
d11681 1
a11681 1
echo "$as_me:12277: checking if you want extra dialogs" >&5
d11691 1
a11691 1
echo "$as_me:12287: result: $enableval" >&5
d11699 1
a11699 1
echo "$as_me:12295: checking if you want config-file support" >&5
d11709 1
a11709 1
echo "$as_me:12305: result: $enableval" >&5
d11721 1
a11721 1
echo "$as_me:12317: checking if you want Xdialog-style dialogs" >&5
d11731 1
a11731 1
echo "$as_me:12327: result: $enableval" >&5
d11743 1
a11743 1
echo "$as_me:12339: checking if you want the form dialog" >&5
d11753 1
a11753 1
echo "$as_me:12349: result: $enableval" >&5
d11765 1
a11765 1
echo "$as_me:12361: checking if you want the gauge dialog" >&5
d11775 1
a11775 1
echo "$as_me:12371: result: $enableval" >&5
d11787 1
a11787 1
echo "$as_me:12383: checking if you want the tailbox dialog" >&5
d11797 1
a11797 1
echo "$as_me:12393: result: $enableval" >&5
d11809 1
a11809 1
echo "$as_me:12405: checking if you want the mixedform dialog" >&5
d11819 1
a11819 1
echo "$as_me:12415: result: $enableval" >&5
d11831 1
a11831 1
echo "$as_me:12427: checking if you want the mixedgauge dialog" >&5
d11841 1
a11841 1
echo "$as_me:12437: result: $enableval" >&5
d11853 1
a11853 1
echo "$as_me:12449: checking if you want the wide-curses features" >&5
d11863 1
a11863 1
echo "$as_me:12459: result: $enableval" >&5
d11874 1
a11874 1
echo "$as_me:12470: checking for ANSI C header files" >&5
d11880 1
a11880 1
#line 12476 "configure"
d11888 1
a11888 1
if { (eval echo "$as_me:12484: \"$ac_cpp conftest.$ac_ext\"") >&5
d11894 1
a11894 1
  echo "$as_me:12490: \$? = $ac_status" >&5
d11916 1
a11916 1
#line 12512 "configure"
d11934 1
a11934 1
#line 12530 "configure"
d11955 1
a11955 1
#line 12551 "configure"
d11981 1
a11981 1
if { (eval echo "$as_me:12577: \"$ac_link\"") >&5
d11984 1
a11984 1
  echo "$as_me:12580: \$? = $ac_status" >&5
d11986 1
a11986 1
  { (eval echo "$as_me:12582: \"$ac_try\"") >&5
d11989 1
a11989 1
  echo "$as_me:12585: \$? = $ac_status" >&5
d12002 1
a12002 1
echo "$as_me:12598: result: $ac_cv_header_stdc" >&5
d12012 1
a12012 1
echo "$as_me:12608: checking whether time.h and sys/time.h may both be included" >&5
d12018 1
a12018 1
#line 12614 "configure"
d12034 1
a12034 1
if { (eval echo "$as_me:12630: \"$ac_compile\"") >&5
d12037 1
a12037 1
  echo "$as_me:12633: \$? = $ac_status" >&5
d12040 1
a12040 1
  { (eval echo "$as_me:12636: \"$ac_try\"") >&5
d12043 1
a12043 1
  echo "$as_me:12639: \$? = $ac_status" >&5
d12053 1
a12053 1
echo "$as_me:12649: result: $ac_cv_header_time" >&5
d12066 1
a12066 1
echo "$as_me:12662: checking for $ac_hdr that defines DIR" >&5
d12072 1
a12072 1
#line 12668 "configure"
d12087 1
a12087 1
if { (eval echo "$as_me:12683: \"$ac_compile\"") >&5
d12090 1
a12090 1
  echo "$as_me:12686: \$? = $ac_status" >&5
d12093 1
a12093 1
  { (eval echo "$as_me:12689: \"$ac_try\"") >&5
d12096 1
a12096 1
  echo "$as_me:12692: \$? = $ac_status" >&5
d12106 1
a12106 1
echo "$as_me:12702: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12119 1
a12119 1
  echo "$as_me:12715: checking for opendir in -ldir" >&5
d12127 1
a12127 1
#line 12723 "configure"
d12146 1
a12146 1
if { (eval echo "$as_me:12742: \"$ac_link\"") >&5
d12149 1
a12149 1
  echo "$as_me:12745: \$? = $ac_status" >&5
d12152 1
a12152 1
  { (eval echo "$as_me:12748: \"$ac_try\"") >&5
d12155 1
a12155 1
  echo "$as_me:12751: \$? = $ac_status" >&5
d12166 1
a12166 1
echo "$as_me:12762: result: $ac_cv_lib_dir_opendir" >&5
d12173 1
a12173 1
  echo "$as_me:12769: checking for opendir in -lx" >&5
d12181 1
a12181 1
#line 12777 "configure"
d12200 1
a12200 1
if { (eval echo "$as_me:12796: \"$ac_link\"") >&5
d12203 1
a12203 1
  echo "$as_me:12799: \$? = $ac_status" >&5
d12206 1
a12206 1
  { (eval echo "$as_me:12802: \"$ac_try\"") >&5
d12209 1
a12209 1
  echo "$as_me:12805: \$? = $ac_status" >&5
d12220 1
a12220 1
echo "$as_me:12816: result: $ac_cv_lib_x_opendir" >&5
d12231 1
a12231 1
echo "$as_me:12827: checking for $ac_header" >&5
d12237 1
a12237 1
#line 12833 "configure"
d12241 1
a12241 1
if { (eval echo "$as_me:12837: \"$ac_cpp conftest.$ac_ext\"") >&5
d12247 1
a12247 1
  echo "$as_me:12843: \$? = $ac_status" >&5
d12266 1
a12266 1
echo "$as_me:12862: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12276 1
a12276 1
echo "$as_me:12872: checking for term.h" >&5
d12297 1
a12297 1
#line 12893 "configure"
d12311 1
a12311 1
if { (eval echo "$as_me:12907: \"$ac_compile\"") >&5
d12314 1
a12314 1
  echo "$as_me:12910: \$? = $ac_status" >&5
d12317 1
a12317 1
  { (eval echo "$as_me:12913: \"$ac_try\"") >&5
d12320 1
a12320 1
  echo "$as_me:12916: \$? = $ac_status" >&5
d12339 1
a12339 1
#line 12935 "configure"
d12357 1
a12357 1
if { (eval echo "$as_me:12953: \"$ac_compile\"") >&5
d12360 1
a12360 1
  echo "$as_me:12956: \$? = $ac_status" >&5
d12363 1
a12363 1
  { (eval echo "$as_me:12959: \"$ac_try\"") >&5
d12366 1
a12366 1
  echo "$as_me:12962: \$? = $ac_status" >&5
d12381 1
a12381 1
echo "$as_me:12977: result: $cf_cv_term_header" >&5
d12405 1
a12405 1
echo "$as_me:13001: checking return type of signal handlers" >&5
d12411 1
a12411 1
#line 13007 "configure"
d12433 1
a12433 1
if { (eval echo "$as_me:13029: \"$ac_compile\"") >&5
d12436 1
a12436 1
  echo "$as_me:13032: \$? = $ac_status" >&5
d12439 1
a12439 1
  { (eval echo "$as_me:13035: \"$ac_try\"") >&5
d12442 1
a12442 1
  echo "$as_me:13038: \$? = $ac_status" >&5
d12452 1
a12452 1
echo "$as_me:13048: result: $ac_cv_type_signal" >&5
d12477 1
a12477 1
echo "$as_me:13073: checking for $ac_func" >&5
d12483 1
a12483 1
#line 13079 "configure"
d12514 1
a12514 1
if { (eval echo "$as_me:13110: \"$ac_link\"") >&5
d12517 1
a12517 1
  echo "$as_me:13113: \$? = $ac_status" >&5
d12520 1
a12520 1
  { (eval echo "$as_me:13116: \"$ac_try\"") >&5
d12523 1
a12523 1
  echo "$as_me:13119: \$? = $ac_status" >&5
d12533 1
a12533 1
echo "$as_me:13129: result: `eval echo '${'$as_ac_var'}'`" >&5
d12543 1
a12543 1
echo "$as_me:13139: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
d12550 1
a12550 1
#line 13146 "configure"
d12572 1
a12572 1
if { (eval echo "$as_me:13168: \"$ac_link\"") >&5
d12575 1
a12575 1
  echo "$as_me:13171: \$? = $ac_status" >&5
d12578 1
a12578 1
  { (eval echo "$as_me:13174: \"$ac_try\"") >&5
d12581 1
a12581 1
  echo "$as_me:13177: \$? = $ac_status" >&5
d12588 1
a12588 1
#line 13184 "configure"
d12610 1
a12610 1
if { (eval echo "$as_me:13206: \"$ac_link\"") >&5
d12613 1
a12613 1
  echo "$as_me:13209: \$? = $ac_status" >&5
d12616 1
a12616 1
  { (eval echo "$as_me:13212: \"$ac_try\"") >&5
d12619 1
a12619 1
  echo "$as_me:13215: \$? = $ac_status" >&5
d12631 1
a12631 1
echo "$as_me:13227: result: $cf_cv_need_xopen_extension" >&5
d12635 1
a12635 1
echo "$as_me:13231: checking for unctrl.h" >&5
d12656 1
a12656 1
#line 13252 "configure"
d12670 1
a12670 1
if { (eval echo "$as_me:13266: \"$ac_compile\"") >&5
d12673 1
a12673 1
  echo "$as_me:13269: \$? = $ac_status" >&5
d12676 1
a12676 1
  { (eval echo "$as_me:13272: \"$ac_try\"") >&5
d12679 1
a12679 1
  echo "$as_me:13275: \$? = $ac_status" >&5
d12693 1
a12693 1
	{ echo "$as_me:13289: WARNING: unctrl.h header not found" >&5
d12699 1
a12699 1
echo "$as_me:13295: result: $cf_cv_unctrl_header" >&5
d12745 1
a12745 1
	echo "$as_me:13341: checking for ${cf_func}" >&5
d12748 1
a12748 1
echo "${as_me:-configure}:13344: testing ${cf_func} ..." 1>&5
d12757 1
a12757 1
#line 13353 "configure"
d12789 1
a12789 1
if { (eval echo "$as_me:13385: \"$ac_link\"") >&5
d12792 1
a12792 1
  echo "$as_me:13388: \$? = $ac_status" >&5
d12795 1
a12795 1
  { (eval echo "$as_me:13391: \"$ac_try\"") >&5
d12798 1
a12798 1
  echo "$as_me:13394: \$? = $ac_status" >&5
d12814 1
a12814 1
	echo "$as_me:13410: result: $cf_result" >&5
d12824 1
a12824 1
echo "$as_me:13420: checking for start_color" >&5
d12830 1
a12830 1
#line 13426 "configure"
d12861 1
a12861 1
if { (eval echo "$as_me:13457: \"$ac_link\"") >&5
d12864 1
a12864 1
  echo "$as_me:13460: \$? = $ac_status" >&5
d12867 1
a12867 1
  { (eval echo "$as_me:13463: \"$ac_try\"") >&5
d12870 1
a12870 1
  echo "$as_me:13466: \$? = $ac_status" >&5
d12880 1
a12880 1
echo "$as_me:13476: result: $ac_cv_func_start_color" >&5
d12889 1
a12889 1
echo "$as_me:13485: checking for chtype typedef" >&5
d12896 1
a12896 1
#line 13492 "configure"
d12908 1
a12908 1
if { (eval echo "$as_me:13504: \"$ac_compile\"") >&5
d12911 1
a12911 1
  echo "$as_me:13507: \$? = $ac_status" >&5
d12914 1
a12914 1
  { (eval echo "$as_me:13510: \"$ac_try\"") >&5
d12917 1
a12917 1
  echo "$as_me:13513: \$? = $ac_status" >&5
d12927 1
a12927 1
echo "$as_me:13523: result: $cf_cv_chtype_decl" >&5
d12934 1
a12934 1
	echo "$as_me:13530: checking if chtype is scalar or struct" >&5
d12941 1
a12941 1
#line 13537 "configure"
d12953 1
a12953 1
if { (eval echo "$as_me:13549: \"$ac_compile\"") >&5
d12956 1
a12956 1
  echo "$as_me:13552: \$? = $ac_status" >&5
d12959 1
a12959 1
  { (eval echo "$as_me:13555: \"$ac_try\"") >&5
d12962 1
a12962 1
  echo "$as_me:13558: \$? = $ac_status" >&5
d12972 1
a12972 1
echo "$as_me:13568: result: $cf_cv_chtype_type" >&5
d12982 1
a12982 1
echo "$as_me:13578: checking for wide alternate character set array" >&5
d12992 1
a12992 1
#line 13588 "configure"
d13008 1
a13008 1
if { (eval echo "$as_me:13604: \"$ac_link\"") >&5
d13011 1
a13011 1
  echo "$as_me:13607: \$? = $ac_status" >&5
d13014 1
a13014 1
  { (eval echo "$as_me:13610: \"$ac_try\"") >&5
d13017 1
a13017 1
  echo "$as_me:13613: \$? = $ac_status" >&5
d13028 1
a13028 1
echo "$as_me:13624: result: $cf_cv_curses_wacs_map" >&5
d13035 1
a13035 1
echo "$as_me:13631: checking for wide alternate character constants" >&5
d13045 1
a13045 1
#line 13641 "configure"
d13062 1
a13062 1
if { (eval echo "$as_me:13658: \"$ac_link\"") >&5
d13065 1
a13065 1
  echo "$as_me:13661: \$? = $ac_status" >&5
d13068 1
a13068 1
  { (eval echo "$as_me:13664: \"$ac_try\"") >&5
d13071 1
a13071 1
  echo "$as_me:13667: \$? = $ac_status" >&5
d13081 1
a13081 1
#line 13677 "configure"
d13097 1
a13097 1
if { (eval echo "$as_me:13693: \"$ac_link\"") >&5
d13100 1
a13100 1
  echo "$as_me:13696: \$? = $ac_status" >&5
d13103 1
a13103 1
  { (eval echo "$as_me:13699: \"$ac_try\"") >&5
d13106 1
a13106 1
  echo "$as_me:13702: \$? = $ac_status" >&5
d13117 1
a13117 1
echo "$as_me:13713: result: $cf_cv_curses_wacs_symbols" >&5
a13123 130
for cf_func in wgetparent
do

cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

	echo "$as_me:13725: checking for ${cf_func}" >&5
echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6

echo "${as_me:-configure}:13728: testing ${cf_func} ..." 1>&5

	if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		eval cf_result='$ac_cv_func_'$cf_func
		if test ".$cf_result" != ".no"; then
			cat >conftest.$ac_ext <<_ACEOF
#line 13737 "configure"
#include "confdefs.h"

#ifdef HAVE_XCURSES
#include <xcurses.h>
char * XCursesProgramName = "test";
#else
#include <${cf_cv_ncurses_header:-curses.h}>
#if defined(NCURSES_VERSION) && defined(HAVE_NCURSESW_TERM_H)
#include <ncursesw/term.h>
#elif defined(NCURSES_VERSION) && defined(HAVE_NCURSES_TERM_H)
#include <ncurses/term.h>
#elif defined(HAVE_TERM_H)
#include <term.h>
#endif
#endif

int
main ()
{

#ifndef ${cf_func}
long foo = (long)(&${cf_func});
if (foo + 1234 > 5678)
	${cf_cv_main_return:-return}(foo);
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:13769: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:13772: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:13775: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13778: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_result=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_result=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
		fi
		eval 'cf_cv_func_'$cf_func'=$cf_result'

fi

	# use the computed/retrieved cache-value:
	eval 'cf_result=$cf_cv_func_'$cf_func
	echo "$as_me:13794: result: $cf_result" >&5
echo "${ECHO_T}$cf_result" >&6
	if test $cf_result != no; then
		cat >>confdefs.h <<EOF
#define HAVE_${cf_tr_func} 1
EOF

	fi
done

if test "x$cf_cv_func_wgetparent" != xyes
then
	echo "$as_me:13806: checking if WINDOW has _parent member" >&5
echo $ECHO_N "checking if WINDOW has _parent member... $ECHO_C" >&6
	cat >conftest.$ac_ext <<_ACEOF
#line 13809 "configure"
#include "confdefs.h"
#include <${cf_cv_ncurses_header:-curses.h}>
int
main ()
{
WINDOW *p = stdscr->_parent
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:13821: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:13824: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:13827: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:13830: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  cf_window__parent=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_window__parent=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	echo "$as_me:13839: result: $cf_window__parent" >&5
echo "${ECHO_T}$cf_window__parent" >&6
	if test "$cf_window__parent" = yes
	then
		cat >>confdefs.h <<\EOF
#define HAVE_WINDOW__PARENT 1
EOF

	fi
fi

d13127 1
a13127 1
echo "$as_me:13853: checking for $ac_header" >&5
d13133 1
a13133 1
#line 13859 "configure"
d13137 1
a13137 1
if { (eval echo "$as_me:13863: \"$ac_cpp conftest.$ac_ext\"") >&5
d13143 1
a13143 1
  echo "$as_me:13869: \$? = $ac_status" >&5
d13162 1
a13162 1
echo "$as_me:13888: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13183 1
a13183 1
echo "$as_me:13909: checking for $ac_header" >&5
d13189 1
a13189 1
#line 13915 "configure"
d13193 1
a13193 1
if { (eval echo "$as_me:13919: \"$ac_cpp conftest.$ac_ext\"") >&5
d13199 1
a13199 1
  echo "$as_me:13925: \$? = $ac_status" >&5
d13218 1
a13218 1
echo "$as_me:13944: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13231 1
a13231 1
echo "$as_me:13957: checking for $ac_header" >&5
d13237 1
a13237 1
#line 13963 "configure"
d13241 1
a13241 1
if { (eval echo "$as_me:13967: \"$ac_cpp conftest.$ac_ext\"") >&5
d13247 1
a13247 1
  echo "$as_me:13973: \$? = $ac_status" >&5
d13266 1
a13266 1
echo "$as_me:13992: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13288 1
a13288 1
echo "$as_me:14014: checking for union wait" >&5
d13295 1
a13295 1
#line 14021 "configure"
d13311 1
a13311 1
if { (eval echo "$as_me:14037: \"$ac_link\"") >&5
d13314 1
a13314 1
  echo "$as_me:14040: \$? = $ac_status" >&5
d13317 1
a13317 1
  { (eval echo "$as_me:14043: \"$ac_try\"") >&5
d13320 1
a13320 1
  echo "$as_me:14046: \$? = $ac_status" >&5
d13330 1
a13330 1
#line 14056 "configure"
d13350 1
a13350 1
if { (eval echo "$as_me:14076: \"$ac_link\"") >&5
d13353 1
a13353 1
  echo "$as_me:14079: \$? = $ac_status" >&5
d13356 1
a13356 1
  { (eval echo "$as_me:14082: \"$ac_try\"") >&5
d13359 1
a13359 1
  echo "$as_me:14085: \$? = $ac_status" >&5
d13374 1
a13374 1
echo "$as_me:14100: result: $cf_cv_type_unionwait" >&5
d13382 1
a13382 1
	echo "$as_me:14108: checking if union wait can be used as wait-arg" >&5
d13389 1
a13389 1
#line 14115 "configure"
d13401 1
a13401 1
if { (eval echo "$as_me:14127: \"$ac_compile\"") >&5
d13404 1
a13404 1
  echo "$as_me:14130: \$? = $ac_status" >&5
d13407 1
a13407 1
  { (eval echo "$as_me:14133: \"$ac_try\"") >&5
d13410 1
a13410 1
  echo "$as_me:14136: \$? = $ac_status" >&5
d13422 1
a13422 1
	echo "$as_me:14148: result: $cf_cv_arg_union_wait" >&5
d13428 1
a13428 1
	echo "$as_me:14154: checking if union wait can be used as waitpid-arg" >&5
d13435 1
a13435 1
#line 14161 "configure"
d13447 1
a13447 1
if { (eval echo "$as_me:14173: \"$ac_compile\"") >&5
d13450 1
a13450 1
  echo "$as_me:14176: \$? = $ac_status" >&5
d13453 1
a13453 1
  { (eval echo "$as_me:14179: \"$ac_try\"") >&5
d13456 1
a13456 1
  echo "$as_me:14182: \$? = $ac_status" >&5
d13468 1
a13468 1
	echo "$as_me:14194: result: $cf_cv_arg_union_waitpid" >&5
d13476 1
a13476 1
echo "$as_me:14202: checking if we must include wchar.h to declare mbstate_t" >&5
d13483 1
a13483 1
#line 14209 "configure"
d13500 1
a13500 1
if { (eval echo "$as_me:14226: \"$ac_compile\"") >&5
d13503 1
a13503 1
  echo "$as_me:14229: \$? = $ac_status" >&5
d13506 1
a13506 1
  { (eval echo "$as_me:14232: \"$ac_try\"") >&5
d13509 1
a13509 1
  echo "$as_me:14235: \$? = $ac_status" >&5
d13516 1
a13516 1
#line 14242 "configure"
d13534 1
a13534 1
if { (eval echo "$as_me:14260: \"$ac_compile\"") >&5
d13537 1
a13537 1
  echo "$as_me:14263: \$? = $ac_status" >&5
d13540 1
a13540 1
  { (eval echo "$as_me:14266: \"$ac_try\"") >&5
d13543 1
a13543 1
  echo "$as_me:14269: \$? = $ac_status" >&5
d13555 1
a13555 1
echo "$as_me:14281: result: $cf_cv_mbstate_t" >&5
d13578 1
a13578 1
#line 14304 "configure"
d13590 1
a13590 1
if { (eval echo "$as_me:14316: \"$ac_link\"") >&5
d13593 1
a13593 1
  echo "$as_me:14319: \$? = $ac_status" >&5
d13596 1
a13596 1
  { (eval echo "$as_me:14322: \"$ac_try\"") >&5
d13599 1
a13599 1
  echo "$as_me:14325: \$? = $ac_status" >&5
d13612 1
a13612 1
echo "$as_me:14338: checking for an rpath option" >&5
d13628 1
a13628 1
dragonfly*|freebsd*) #(vi
d13643 1
a13643 1
echo "$as_me:14369: result: $LD_RPATH_OPT" >&5
d13648 1
a13648 1
	echo "$as_me:14374: checking if we need a space after rpath option" >&5
d13653 1
a13653 1
#line 14379 "configure"
d13665 1
a13665 1
if { (eval echo "$as_me:14391: \"$ac_link\"") >&5
d13668 1
a13668 1
  echo "$as_me:14394: \$? = $ac_status" >&5
d13671 1
a13671 1
  { (eval echo "$as_me:14397: \"$ac_try\"") >&5
d13674 1
a13674 1
  echo "$as_me:14400: \$? = $ac_status" >&5
d13684 1
a13684 1
	echo "$as_me:14410: result: $cf_rpath_space" >&5
d13690 1
a13690 1
echo "$as_me:14416: checking if rpath-hack should be disabled" >&5
d13707 1
a13707 1
echo "$as_me:14433: result: $cf_disable_rpath_hack" >&5
d13711 1
a13711 1
echo "$as_me:14437: checking for updated LDFLAGS" >&5
d13714 1
a13714 1
	echo "$as_me:14440: result: maybe" >&5
d13721 1
a13721 1
echo "$as_me:14447: checking for $ac_word" >&5
d13736 1
a13736 1
echo "$as_me:14462: found $ac_dir/$ac_word" >&5
d13744 1
a13744 1
  echo "$as_me:14470: result: $cf_ldd_prog" >&5
d13747 1
a13747 1
  echo "$as_me:14473: result: no" >&5
d13761 1
a13761 1
#line 14487 "configure"
d13773 1
a13773 1
if { (eval echo "$as_me:14499: \"$ac_link\"") >&5
d13776 1
a13776 1
  echo "$as_me:14502: \$? = $ac_status" >&5
d13779 1
a13779 1
  { (eval echo "$as_me:14505: \"$ac_try\"") >&5
d13782 1
a13782 1
  echo "$as_me:14508: \$? = $ac_status" >&5
d13810 1
a13810 1
echo "${as_me:-configure}:14536: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
d13822 1
a13822 1
echo "${as_me:-configure}:14548: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d13826 1
a13826 1
echo "${as_me:-configure}:14552: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
d13863 1
a13863 1
echo "${as_me:-configure}:14589: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d13876 1
a13876 1
echo "${as_me:-configure}:14602: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
d13880 1
a13880 1
echo "${as_me:-configure}:14606: testing ...checking LIBS $LIBS ..." 1>&5
d13917 1
a13917 1
echo "${as_me:-configure}:14643: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d13930 1
a13930 1
echo "${as_me:-configure}:14656: testing ...checked LIBS $LIBS ..." 1>&5
d13934 1
a13934 1
echo "${as_me:-configure}:14660: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d14021 1
a14021 1
{ echo "$as_me:14747: creating $CONFIG_STATUS" >&5
d14197 1
a14197 1
    { { echo "$as_me:14923: error: ambiguous option: $1
d14216 1
a14216 1
  -*) { { echo "$as_me:14942: error: unrecognized option: $1
d14266 1
a14266 1
  *) { { echo "$as_me:14992: error: invalid argument: $ac_config_target" >&5
a14362 2
s,@@LINT@@,$LINT,;t t
s,@@LINT_OPTS@@,$LINT_OPTS,;t t
a14437 1
s,@@ac_ct_NCURSES_CONFIG@@,$ac_ct_NCURSES_CONFIG,;t t
d14557 1
a14557 1
    { echo "$as_me:15286: creating $ac_file" >&5
d14575 1
a14575 1
         test -f "$f" || { { echo "$as_me:15304: error: cannot find input file: $f" >&5
d14588 1
a14588 1
           { { echo "$as_me:15317: error: cannot find input file: $f" >&5
d14654 1
a14654 1
  test x"$ac_file" != x- && { echo "$as_me:15383: creating $ac_file" >&5
d14665 1
a14665 1
         test -f "$f" || { { echo "$as_me:15394: error: cannot find input file: $f" >&5
d14678 1
a14678 1
           { { echo "$as_me:15407: error: cannot find input file: $f" >&5
d14736 1
a14736 1
      { echo "$as_me:15465: $ac_file is unchanged" >&5
@


1.3
log
@SVN rev 224014 on 2011-07-14 14:01:36Z by nwhitehorn

Update dialog to 1.1-20110707.
@
text
@d2169 37
d2209 1
a2209 1
echo "$as_me:2172: checking for $ac_word" >&5
d2224 1
a2224 1
echo "$as_me:2187: found $ac_dir/$ac_word" >&5
d2232 1
a2232 1
  echo "$as_me:2195: result: $AR" >&5
d2235 1
a2235 1
  echo "$as_me:2198: result: no" >&5
d2244 1
a2244 1
echo "$as_me:2207: checking for $ac_word" >&5
d2259 1
a2259 1
echo "$as_me:2222: found $ac_dir/$ac_word" >&5
d2268 1
a2268 1
  echo "$as_me:2231: result: $ac_ct_AR" >&5
d2271 1
a2271 1
  echo "$as_me:2234: result: no" >&5
d2280 1
a2280 1
echo "$as_me:2243: checking for POSIXized ISC" >&5
d2285 1
a2285 1
  echo "$as_me:2248: result: yes" >&5
d2299 1
a2299 1
  echo "$as_me:2262: result: no" >&5
d2304 1
a2304 1
echo "$as_me:2267: checking for $CC option to accept ANSI C" >&5
d2312 1
a2312 1
#line 2275 "configure"
d2361 1
a2361 1
if { (eval echo "$as_me:2324: \"$ac_compile\"") >&5
d2364 1
a2364 1
  echo "$as_me:2327: \$? = $ac_status" >&5
d2367 1
a2367 1
  { (eval echo "$as_me:2330: \"$ac_try\"") >&5
d2370 1
a2370 1
  echo "$as_me:2333: \$? = $ac_status" >&5
d2387 1
a2387 1
    echo "$as_me:2350: result: none needed" >&5
d2390 1
a2390 1
    echo "$as_me:2353: result: $ac_cv_prog_cc_stdc" >&5
d2395 1
a2395 1
echo "$as_me:2358: checking for an ANSI C-conforming const" >&5
d2401 1
a2401 1
#line 2364 "configure"
d2459 1
a2459 1
if { (eval echo "$as_me:2422: \"$ac_compile\"") >&5
d2462 1
a2462 1
  echo "$as_me:2425: \$? = $ac_status" >&5
d2465 1
a2465 1
  { (eval echo "$as_me:2428: \"$ac_try\"") >&5
d2468 1
a2468 1
  echo "$as_me:2431: \$? = $ac_status" >&5
d2478 1
a2478 1
echo "$as_me:2441: result: $ac_cv_c_const" >&5
d2488 1
a2488 1
echo "$as_me:2451: checking for makeflags variable" >&5
d2522 1
a2522 1
echo "$as_me:2485: result: $cf_cv_makeflags" >&5
d2525 1
a2525 1
echo "$as_me:2488: checking if filesystem supports mixed-case filenames" >&5
d2552 1
a2552 1
echo "$as_me:2515: result: $cf_cv_mixedcase" >&5
d2562 1
a2562 1
echo "$as_me:2525: checking for $ac_word" >&5
d2577 1
a2577 1
echo "$as_me:2540: found $ac_dir/$ac_word" >&5
d2585 1
a2585 1
  echo "$as_me:2548: result: $CTAGS" >&5
d2588 1
a2588 1
  echo "$as_me:2551: result: no" >&5
d2599 1
a2599 1
echo "$as_me:2562: checking for $ac_word" >&5
d2614 1
a2614 1
echo "$as_me:2577: found $ac_dir/$ac_word" >&5
d2622 1
a2622 1
  echo "$as_me:2585: result: $ETAGS" >&5
d2625 1
a2625 1
  echo "$as_me:2588: result: no" >&5
d2634 1
a2634 1
echo "$as_me:2597: checking for $ac_word" >&5
d2649 1
a2649 1
echo "$as_me:2612: found $ac_dir/$ac_word" >&5
d2658 1
a2658 1
  echo "$as_me:2621: result: $MAKE_LOWER_TAGS" >&5
d2661 1
a2661 1
  echo "$as_me:2624: result: no" >&5
d2668 1
a2668 1
echo "$as_me:2631: checking for $ac_word" >&5
d2683 1
a2683 1
echo "$as_me:2646: found $ac_dir/$ac_word" >&5
d2692 1
a2692 1
  echo "$as_me:2655: result: $MAKE_UPPER_TAGS" >&5
d2695 1
a2695 1
  echo "$as_me:2658: result: no" >&5
d2715 1
a2715 1
echo "$as_me:2678: checking if you want to see long compiling messages" >&5
d2749 1
a2749 1
echo "$as_me:2712: result: $enableval" >&5
d2754 1
a2754 1
  { { echo "$as_me:2717: error: cannot run $ac_config_sub" >&5
d2758 1
a2758 1
echo "$as_me:2721: checking build system type" >&5
d2767 1
a2767 1
  { { echo "$as_me:2730: error: cannot guess build type; you must specify one" >&5
d2771 1
a2771 1
  { { echo "$as_me:2734: error: $ac_config_sub $ac_cv_build_alias failed." >&5
d2776 1
a2776 1
echo "$as_me:2739: result: $ac_cv_build" >&5
d2784 1
a2784 1
	echo "$as_me:2747: checking host system type" >&5
d2793 1
a2793 1
  { { echo "$as_me:2756: error: $ac_config_sub $ac_cv_host_alias failed" >&5
d2798 1
a2798 1
echo "$as_me:2761: result: $ac_cv_host" >&5
d2823 1
a2823 1
test -n "$cf_cv_system_name" && echo "$as_me:2786: result: Configuring for $cf_cv_system_name" >&5
d2827 1
a2827 1
	echo "$as_me:2790: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
d2829 1
a2829 1
	{ { echo "$as_me:2792: error: \"Please remove config.cache and try again.\"" >&5
d2869 1
a2869 1
aix[456]*) #(vi
d2880 1
d2898 1
d2902 1
a2902 1
echo "$as_me:2863: checking if we must define _GNU_SOURCE" >&5
d2909 1
a2909 1
#line 2870 "configure"
d2924 1
a2924 1
if { (eval echo "$as_me:2885: \"$ac_compile\"") >&5
d2927 1
a2927 1
  echo "$as_me:2888: \$? = $ac_status" >&5
d2930 1
a2930 1
  { (eval echo "$as_me:2891: \"$ac_try\"") >&5
d2933 1
a2933 1
  echo "$as_me:2894: \$? = $ac_status" >&5
d2942 1
a2942 1
#line 2903 "configure"
d2957 1
a2957 1
if { (eval echo "$as_me:2918: \"$ac_compile\"") >&5
d2960 1
a2960 1
  echo "$as_me:2921: \$? = $ac_status" >&5
d2963 1
a2963 1
  { (eval echo "$as_me:2924: \"$ac_try\"") >&5
d2966 1
a2966 1
  echo "$as_me:2927: \$? = $ac_status" >&5
d2981 1
a2981 1
echo "$as_me:2942: result: $cf_cv_gnu_source" >&5
d2987 240
a3226 1
	# setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <arpa/inet.h>
d3229 6
a3234 1
	# setting _XOPEN_SOURCE breaks IPv6 for lynx on NetBSD 1.6, breaks xterm, is not needed for ncursesw
d3248 1
a3248 4
solaris2.1[0-9]) #(vi
	cf_xopen_source="-D__EXTENSIONS__ -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
	;;
solaris2.[1-9]) #(vi
d3252 2
a3253 1
	echo "$as_me:2972: checking if we should define _XOPEN_SOURCE" >&5
d3260 1
a3260 1
#line 2979 "configure"
d3262 3
d3266 1
d3279 1
a3279 1
if { (eval echo "$as_me:2994: \"$ac_compile\"") >&5
d3282 1
a3282 1
  echo "$as_me:2997: \$? = $ac_status" >&5
d3285 1
a3285 1
  { (eval echo "$as_me:3000: \"$ac_try\"") >&5
d3288 1
a3288 1
  echo "$as_me:3003: \$? = $ac_status" >&5
d3297 1
a3297 1
#line 3012 "configure"
d3299 3
d3303 1
d3316 1
a3316 1
if { (eval echo "$as_me:3027: \"$ac_compile\"") >&5
d3319 1
a3319 1
  echo "$as_me:3030: \$? = $ac_status" >&5
d3322 1
a3322 1
  { (eval echo "$as_me:3033: \"$ac_try\"") >&5
d3325 1
a3325 1
  echo "$as_me:3036: \$? = $ac_status" >&5
d3340 1
a3340 1
echo "$as_me:3051: result: $cf_cv_xopen_source" >&5
d3342 2
a3343 1
	if test "$cf_cv_xopen_source" != no ; then
d3353 1
a3353 1
		cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
d3433 1
a3433 1
	fi
d3448 1
a3448 1
echo "$as_me:3158: checking if we should define _POSIX_C_SOURCE" >&5
d3454 1
a3454 1
echo "${as_me:-configure}:3164: testing if the symbol is already defined go no further ..." 1>&5
d3457 1
a3457 1
#line 3167 "configure"
d3472 1
a3472 1
if { (eval echo "$as_me:3182: \"$ac_compile\"") >&5
d3475 1
a3475 1
  echo "$as_me:3185: \$? = $ac_status" >&5
d3478 1
a3478 1
  { (eval echo "$as_me:3188: \"$ac_try\"") >&5
d3481 1
a3481 1
  echo "$as_me:3191: \$? = $ac_status" >&5
d3502 1
a3502 1
#line 3212 "configure"
d3517 1
a3517 1
if { (eval echo "$as_me:3227: \"$ac_compile\"") >&5
d3520 1
a3520 1
  echo "$as_me:3230: \$? = $ac_status" >&5
d3523 1
a3523 1
  { (eval echo "$as_me:3233: \"$ac_try\"") >&5
d3526 1
a3526 1
  echo "$as_me:3236: \$? = $ac_status" >&5
d3537 1
a3537 1
echo "${as_me:-configure}:3247: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
d3542 1
a3542 1
echo "${as_me:-configure}:3252: testing if the second compile does not leave our definition intact error ..." 1>&5
d3545 1
a3545 1
#line 3255 "configure"
d3560 1
a3560 1
if { (eval echo "$as_me:3270: \"$ac_compile\"") >&5
d3563 1
a3563 1
  echo "$as_me:3273: \$? = $ac_status" >&5
d3566 1
a3566 1
  { (eval echo "$as_me:3276: \"$ac_try\"") >&5
d3569 1
a3569 1
  echo "$as_me:3279: \$? = $ac_status" >&5
d3585 1
a3585 1
echo "$as_me:3295: result: $cf_cv_posix_c_source" >&5
d3643 213
a3855 2
yes)
	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
d3857 28
a3884 1
	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
d3886 3
a3888 6
	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
		&& test -z "${cf_tst_cflags}" \
		&& cf_fix_cppflags=no
	;;
esac
done
d3890 3
a3892 1
if test -n "$cf_new_cflags" ; then
d3894 24
a3917 1
	CFLAGS="$CFLAGS $cf_new_cflags"
d3919 2
d3922 2
a3923 1
if test -n "$cf_new_cppflags" ; then
a3924 1
	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
d3926 2
d3929 1
a3929 1
if test -n "$cf_new_extra_cppflags" ; then
d3931 3
a3933 2
	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi
d3935 3
a3937 4
fi

	;;
esac
d3939 1
a3939 1
if test -n "$cf_xopen_source" ; then
d3946 1
a3946 1
for cf_add_cflags in $cf_xopen_source
d4021 3
d4031 1
a4031 1
  echo "$as_me:3474: checking for special C compiler options needed for large files" >&5
d4043 1
a4043 1
#line 3486 "configure"
d4063 1
a4063 1
if { (eval echo "$as_me:3506: \"$ac_compile\"") >&5
d4066 1
a4066 1
  echo "$as_me:3509: \$? = $ac_status" >&5
d4069 1
a4069 1
  { (eval echo "$as_me:3512: \"$ac_try\"") >&5
d4072 1
a4072 1
  echo "$as_me:3515: \$? = $ac_status" >&5
d4082 1
a4082 1
if { (eval echo "$as_me:3525: \"$ac_compile\"") >&5
d4085 1
a4085 1
  echo "$as_me:3528: \$? = $ac_status" >&5
d4088 1
a4088 1
  { (eval echo "$as_me:3531: \"$ac_try\"") >&5
d4091 1
a4091 1
  echo "$as_me:3534: \$? = $ac_status" >&5
d4105 1
a4105 1
echo "$as_me:3548: result: $ac_cv_sys_largefile_CC" >&5
d4111 1
a4111 1
  echo "$as_me:3554: checking for _FILE_OFFSET_BITS value needed for large files" >&5
d4119 1
a4119 1
#line 3562 "configure"
d4139 1
a4139 1
if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5
d4142 1
a4142 1
  echo "$as_me:3585: \$? = $ac_status" >&5
d4145 1
a4145 1
  { (eval echo "$as_me:3588: \"$ac_try\"") >&5
d4148 1
a4148 1
  echo "$as_me:3591: \$? = $ac_status" >&5
d4157 1
a4157 1
#line 3600 "configure"
d4178 1
a4178 1
if { (eval echo "$as_me:3621: \"$ac_compile\"") >&5
d4181 1
a4181 1
  echo "$as_me:3624: \$? = $ac_status" >&5
d4184 1
a4184 1
  { (eval echo "$as_me:3627: \"$ac_try\"") >&5
d4187 1
a4187 1
  echo "$as_me:3630: \$? = $ac_status" >&5
d4198 1
a4198 1
echo "$as_me:3641: result: $ac_cv_sys_file_offset_bits" >&5
d4208 1
a4208 1
  echo "$as_me:3651: checking for _LARGE_FILES value needed for large files" >&5
d4216 1
a4216 1
#line 3659 "configure"
d4236 1
a4236 1
if { (eval echo "$as_me:3679: \"$ac_compile\"") >&5
d4239 1
a4239 1
  echo "$as_me:3682: \$? = $ac_status" >&5
d4242 1
a4242 1
  { (eval echo "$as_me:3685: \"$ac_try\"") >&5
d4245 1
a4245 1
  echo "$as_me:3688: \$? = $ac_status" >&5
d4254 1
a4254 1
#line 3697 "configure"
d4275 1
a4275 1
if { (eval echo "$as_me:3718: \"$ac_compile\"") >&5
d4278 1
a4278 1
  echo "$as_me:3721: \$? = $ac_status" >&5
d4281 1
a4281 1
  { (eval echo "$as_me:3724: \"$ac_try\"") >&5
d4284 1
a4284 1
  echo "$as_me:3727: \$? = $ac_status" >&5
d4295 1
a4295 1
echo "$as_me:3738: result: $ac_cv_sys_large_files" >&5
d4308 1
a4308 1
	echo "$as_me:3751: checking for _LARGEFILE_SOURCE value needed for large files" >&5
d4316 1
a4316 1
#line 3759 "configure"
d4328 1
a4328 1
if { (eval echo "$as_me:3771: \"$ac_compile\"") >&5
d4331 1
a4331 1
  echo "$as_me:3774: \$? = $ac_status" >&5
d4334 1
a4334 1
  { (eval echo "$as_me:3777: \"$ac_try\"") >&5
d4337 1
a4337 1
  echo "$as_me:3780: \$? = $ac_status" >&5
d4346 1
a4346 1
#line 3789 "configure"
d4359 1
a4359 1
if { (eval echo "$as_me:3802: \"$ac_compile\"") >&5
d4362 1
a4362 1
  echo "$as_me:3805: \$? = $ac_status" >&5
d4365 1
a4365 1
  { (eval echo "$as_me:3808: \"$ac_try\"") >&5
d4368 1
a4368 1
  echo "$as_me:3811: \$? = $ac_status" >&5
d4379 1
a4379 1
echo "$as_me:3822: result: $ac_cv_sys_largefile_source" >&5
d4393 1
a4393 1
echo "$as_me:3836: checking for fseeko" >&5
d4399 1
a4399 1
#line 3842 "configure"
d4411 1
a4411 1
if { (eval echo "$as_me:3854: \"$ac_link\"") >&5
d4414 1
a4414 1
  echo "$as_me:3857: \$? = $ac_status" >&5
d4417 1
a4417 1
  { (eval echo "$as_me:3860: \"$ac_try\"") >&5
d4420 1
a4420 1
  echo "$as_me:3863: \$? = $ac_status" >&5
d4430 1
a4430 1
echo "$as_me:3873: result: $ac_cv_func_fseeko" >&5
d4451 1
a4451 1
	echo "$as_me:3894: checking whether to use struct dirent64" >&5
d4458 1
a4458 1
#line 3901 "configure"
d4479 1
a4479 1
if { (eval echo "$as_me:3922: \"$ac_compile\"") >&5
d4482 1
a4482 1
  echo "$as_me:3925: \$? = $ac_status" >&5
d4485 1
a4485 1
  { (eval echo "$as_me:3928: \"$ac_try\"") >&5
d4488 1
a4488 1
  echo "$as_me:3931: \$? = $ac_status" >&5
d4499 1
a4499 1
echo "$as_me:3942: result: $cf_cv_struct_dirent64" >&5
d4509 1
a4509 1
	echo "$as_me:3952: checking version of $CC" >&5
d4513 1
a4513 1
	echo "$as_me:3956: result: $GCC_VERSION" >&5
d4519 1
a4519 1
echo "$as_me:3962: checking if you want to check for gcc warnings" >&5
d4529 1
a4529 1
echo "$as_me:3972: result: $cf_opt_with_warnings" >&5
d4551 1
a4551 1
	{ echo "$as_me:3994: checking for $CC __attribute__ directives..." >&5
d4554 1
a4554 1
#line 3997 "${as_me:-configure}"
d4603 1
a4603 1
		if { (eval echo "$as_me:4046: \"$ac_compile\"") >&5
d4606 1
a4606 1
  echo "$as_me:4049: \$? = $ac_status" >&5
d4608 1
a4608 1
			test -n "$verbose" && echo "$as_me:4051: result: ... $cf_attribute" >&5
d4648 1
a4648 1
		echo "$as_me:4091: checking if this is really Intel C compiler" >&5
d4653 1
a4653 1
#line 4096 "configure"
d4670 1
a4670 1
if { (eval echo "$as_me:4113: \"$ac_compile\"") >&5
d4673 1
a4673 1
  echo "$as_me:4116: \$? = $ac_status" >&5
d4676 1
a4676 1
  { (eval echo "$as_me:4119: \"$ac_try\"") >&5
d4679 1
a4679 1
  echo "$as_me:4122: \$? = $ac_status" >&5
d4690 1
a4690 1
		echo "$as_me:4133: result: $INTEL_COMPILER" >&5
d4697 1
a4697 1
#line 4140 "${as_me:-configure}"
d4714 1
a4714 1
	{ echo "$as_me:4157: checking for $CC warning options..." >&5
d4730 1
a4730 1
		if { (eval echo "$as_me:4173: \"$ac_compile\"") >&5
d4733 1
a4733 1
  echo "$as_me:4176: \$? = $ac_status" >&5
d4735 1
a4735 1
			test -n "$verbose" && echo "$as_me:4178: result: ... -$cf_opt" >&5
d4744 1
a4744 1
	{ echo "$as_me:4187: checking for $CC warning options..." >&5
d4764 1
a4764 1
		if { (eval echo "$as_me:4207: \"$ac_compile\"") >&5
d4767 1
a4767 1
  echo "$as_me:4210: \$? = $ac_status" >&5
d4769 1
a4769 1
			test -n "$verbose" && echo "$as_me:4212: result: ... -$cf_opt" >&5
d4780 1
a4780 1
echo "${as_me:-configure}:4223: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
d4805 1
a4805 1
	echo "$as_me:4248: checking for package version" >&5
d4817 1
a4817 1
	test -z "$VERSION_MAJOR" && { { echo "$as_me:4260: error: missing major-version" >&5
d4822 1
a4822 1
	test -z "$VERSION_MINOR" && { { echo "$as_me:4265: error: missing minor-version" >&5
d4826 1
a4826 1
	echo "$as_me:4269: result: ${VERSION_MAJOR}.${VERSION_MINOR}" >&5
d4829 1
a4829 1
	echo "$as_me:4272: checking for package patch date" >&5
d4834 1
a4834 1
		{ { echo "$as_me:4277: error: missing patch-date $VERSION_PATCH" >&5
d4841 1
a4841 1
		{ { echo "$as_me:4284: error: illegal patch-date $VERSION_PATCH" >&5
d4846 1
a4846 1
	echo "$as_me:4289: result: $VERSION_PATCH" >&5
d4849 1
a4849 1
	{ { echo "$as_me:4292: error: did not find $srcdir/VERSION" >&5
d4857 1
a4857 1
echo "${as_me:-configure}:4300: testing VERSION $VERSION ..." 1>&5
d4861 1
a4861 1
echo "${as_me:-configure}:4304: testing VERSION_MAJOR $VERSION_MAJOR ..." 1>&5
d4865 1
a4865 1
echo "${as_me:-configure}:4308: testing VERSION_MINOR $VERSION_MINOR ..." 1>&5
d4869 1
a4869 1
echo "${as_me:-configure}:4312: testing VERSION_PATCH $VERSION_PATCH ..." 1>&5
d4896 1
a4896 1
echo "$as_me:4339: checking for ANSI C header files" >&5
d4902 1
a4902 1
#line 4345 "configure"
d4910 1
a4910 1
if { (eval echo "$as_me:4353: \"$ac_cpp conftest.$ac_ext\"") >&5
d4916 1
a4916 1
  echo "$as_me:4359: \$? = $ac_status" >&5
d4938 1
a4938 1
#line 4381 "configure"
d4956 1
a4956 1
#line 4399 "configure"
d4977 1
a4977 1
#line 4420 "configure"
d5003 1
a5003 1
if { (eval echo "$as_me:4446: \"$ac_link\"") >&5
d5006 1
a5006 1
  echo "$as_me:4449: \$? = $ac_status" >&5
d5008 1
a5008 1
  { (eval echo "$as_me:4451: \"$ac_try\"") >&5
d5011 1
a5011 1
  echo "$as_me:4454: \$? = $ac_status" >&5
d5024 1
a5024 1
echo "$as_me:4467: result: $ac_cv_header_stdc" >&5
d5034 1
a5034 1
echo "$as_me:4477: checking for inline" >&5
d5042 1
a5042 1
#line 4485 "configure"
d5051 1
a5051 1
if { (eval echo "$as_me:4494: \"$ac_compile\"") >&5
d5054 1
a5054 1
  echo "$as_me:4497: \$? = $ac_status" >&5
d5057 1
a5057 1
  { (eval echo "$as_me:4500: \"$ac_try\"") >&5
d5060 1
a5060 1
  echo "$as_me:4503: \$? = $ac_status" >&5
d5071 1
a5071 1
echo "$as_me:4514: result: $ac_cv_c_inline" >&5
d5092 1
a5092 1
echo "$as_me:4535: checking for $ac_header" >&5
d5098 1
a5098 1
#line 4541 "configure"
d5104 1
a5104 1
if { (eval echo "$as_me:4547: \"$ac_compile\"") >&5
d5107 1
a5107 1
  echo "$as_me:4550: \$? = $ac_status" >&5
d5110 1
a5110 1
  { (eval echo "$as_me:4553: \"$ac_try\"") >&5
d5113 1
a5113 1
  echo "$as_me:4556: \$? = $ac_status" >&5
d5123 1
a5123 1
echo "$as_me:4566: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5133 1
a5133 1
echo "$as_me:4576: checking for off_t" >&5
d5139 1
a5139 1
#line 4582 "configure"
d5154 1
a5154 1
if { (eval echo "$as_me:4597: \"$ac_compile\"") >&5
d5157 1
a5157 1
  echo "$as_me:4600: \$? = $ac_status" >&5
d5160 1
a5160 1
  { (eval echo "$as_me:4603: \"$ac_try\"") >&5
d5163 1
a5163 1
  echo "$as_me:4606: \$? = $ac_status" >&5
d5173 1
a5173 1
echo "$as_me:4616: result: $ac_cv_type_off_t" >&5
d5185 1
a5185 1
echo "$as_me:4628: checking for size_t" >&5
d5191 1
a5191 1
#line 4634 "configure"
d5206 1
a5206 1
if { (eval echo "$as_me:4649: \"$ac_compile\"") >&5
d5209 1
a5209 1
  echo "$as_me:4652: \$? = $ac_status" >&5
d5212 1
a5212 1
  { (eval echo "$as_me:4655: \"$ac_try\"") >&5
d5215 1
a5215 1
  echo "$as_me:4658: \$? = $ac_status" >&5
d5225 1
a5225 1
echo "$as_me:4668: result: $ac_cv_type_size_t" >&5
d5239 1
a5239 1
echo "$as_me:4682: checking for working alloca.h" >&5
d5245 1
a5245 1
#line 4688 "configure"
d5257 1
a5257 1
if { (eval echo "$as_me:4700: \"$ac_link\"") >&5
d5260 1
a5260 1
  echo "$as_me:4703: \$? = $ac_status" >&5
d5263 1
a5263 1
  { (eval echo "$as_me:4706: \"$ac_try\"") >&5
d5266 1
a5266 1
  echo "$as_me:4709: \$? = $ac_status" >&5
d5276 1
a5276 1
echo "$as_me:4719: result: $ac_cv_working_alloca_h" >&5
d5286 1
a5286 1
echo "$as_me:4729: checking for alloca" >&5
d5292 1
a5292 1
#line 4735 "configure"
d5324 1
a5324 1
if { (eval echo "$as_me:4767: \"$ac_link\"") >&5
d5327 1
a5327 1
  echo "$as_me:4770: \$? = $ac_status" >&5
d5330 1
a5330 1
  { (eval echo "$as_me:4773: \"$ac_try\"") >&5
d5333 1
a5333 1
  echo "$as_me:4776: \$? = $ac_status" >&5
d5343 1
a5343 1
echo "$as_me:4786: result: $ac_cv_func_alloca_works" >&5
d5364 1
a5364 1
echo "$as_me:4807: checking whether \`alloca.c' needs Cray hooks" >&5
d5370 1
a5370 1
#line 4813 "configure"
d5388 1
a5388 1
echo "$as_me:4831: result: $ac_cv_os_cray" >&5
d5393 1
a5393 1
echo "$as_me:4836: checking for $ac_func" >&5
d5399 1
a5399 1
#line 4842 "configure"
d5430 1
a5430 1
if { (eval echo "$as_me:4873: \"$ac_link\"") >&5
d5433 1
a5433 1
  echo "$as_me:4876: \$? = $ac_status" >&5
d5436 1
a5436 1
  { (eval echo "$as_me:4879: \"$ac_try\"") >&5
d5439 1
a5439 1
  echo "$as_me:4882: \$? = $ac_status" >&5
d5449 1
a5449 1
echo "$as_me:4892: result: `eval echo '${'$as_ac_var'}'`" >&5
d5463 1
a5463 1
echo "$as_me:4906: checking stack direction for C alloca" >&5
d5472 1
a5472 1
#line 4915 "configure"
d5495 1
a5495 1
if { (eval echo "$as_me:4938: \"$ac_link\"") >&5
d5498 1
a5498 1
  echo "$as_me:4941: \$? = $ac_status" >&5
d5500 1
a5500 1
  { (eval echo "$as_me:4943: \"$ac_try\"") >&5
d5503 1
a5503 1
  echo "$as_me:4946: \$? = $ac_status" >&5
d5515 1
a5515 1
echo "$as_me:4958: result: $ac_cv_c_stack_direction" >&5
d5527 1
a5527 1
echo "$as_me:4970: checking for $ac_header" >&5
d5533 1
a5533 1
#line 4976 "configure"
d5537 1
a5537 1
if { (eval echo "$as_me:4980: \"$ac_cpp conftest.$ac_ext\"") >&5
d5543 1
a5543 1
  echo "$as_me:4986: \$? = $ac_status" >&5
d5562 1
a5562 1
echo "$as_me:5005: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5575 1
a5575 1
echo "$as_me:5018: checking for $ac_func" >&5
d5581 1
a5581 1
#line 5024 "configure"
d5612 1
a5612 1
if { (eval echo "$as_me:5055: \"$ac_link\"") >&5
d5615 1
a5615 1
  echo "$as_me:5058: \$? = $ac_status" >&5
d5618 1
a5618 1
  { (eval echo "$as_me:5061: \"$ac_try\"") >&5
d5621 1
a5621 1
  echo "$as_me:5064: \$? = $ac_status" >&5
d5631 1
a5631 1
echo "$as_me:5074: result: `eval echo '${'$as_ac_var'}'`" >&5
d5641 1
a5641 1
echo "$as_me:5084: checking for working mmap" >&5
d5650 1
a5650 1
#line 5093 "configure"
d5777 1
a5777 1
if { (eval echo "$as_me:5220: \"$ac_link\"") >&5
d5780 1
a5780 1
  echo "$as_me:5223: \$? = $ac_status" >&5
d5782 1
a5782 1
  { (eval echo "$as_me:5225: \"$ac_try\"") >&5
d5785 1
a5785 1
  echo "$as_me:5228: \$? = $ac_status" >&5
d5797 1
a5797 1
echo "$as_me:5240: result: $ac_cv_func_mmap_fixed_mapped" >&5
d5808 1
a5808 1
    echo "$as_me:5251: checking whether we are using the GNU C Library 2.1 or newer" >&5
d5814 1
a5814 1
#line 5257 "configure"
d5834 1
a5834 1
echo "$as_me:5277: result: $ac_cv_gnu_library_2_1" >&5
d5847 1
a5847 1
	{ { echo "$as_me:5290: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&5
d5864 1
a5864 1
echo "$as_me:5307: checking for $ac_header" >&5
d5870 1
a5870 1
#line 5313 "configure"
d5874 1
a5874 1
if { (eval echo "$as_me:5317: \"$ac_cpp conftest.$ac_ext\"") >&5
d5880 1
a5880 1
  echo "$as_me:5323: \$? = $ac_status" >&5
d5899 1
a5899 1
echo "$as_me:5342: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5914 1
a5914 1
echo "$as_me:5357: checking for $ac_func" >&5
d5920 1
a5920 1
#line 5363 "configure"
d5951 1
a5951 1
if { (eval echo "$as_me:5394: \"$ac_link\"") >&5
d5954 1
a5954 1
  echo "$as_me:5397: \$? = $ac_status" >&5
d5957 1
a5957 1
  { (eval echo "$as_me:5400: \"$ac_try\"") >&5
d5960 1
a5960 1
  echo "$as_me:5403: \$? = $ac_status" >&5
d5970 1
a5970 1
echo "$as_me:5413: result: `eval echo '${'$as_ac_var'}'`" >&5
d6018 1
a6018 1
#line 5461 "configure"
d6030 1
a6030 1
if { (eval echo "$as_me:5473: \"$ac_compile\"") >&5
d6033 1
a6033 1
  echo "$as_me:5476: \$? = $ac_status" >&5
d6036 1
a6036 1
  { (eval echo "$as_me:5479: \"$ac_try\"") >&5
d6039 1
a6039 1
  echo "$as_me:5482: \$? = $ac_status" >&5
d6056 1
a6056 1
echo "${as_me:-configure}:5499: testing adding $cf_add_incdir to include-path ..." 1>&5
d6097 1
a6097 1
#line 5540 "configure"
d6109 1
a6109 1
if { (eval echo "$as_me:5552: \"$ac_compile\"") >&5
d6112 1
a6112 1
  echo "$as_me:5555: \$? = $ac_status" >&5
d6115 1
a6115 1
  { (eval echo "$as_me:5558: \"$ac_try\"") >&5
d6118 1
a6118 1
  echo "$as_me:5561: \$? = $ac_status" >&5
d6135 1
a6135 1
echo "${as_me:-configure}:5578: testing adding $cf_add_incdir to include-path ..." 1>&5
d6151 1
a6151 1
{ { echo "$as_me:5594: error: cannot find libiconv under $withval" >&5
d6176 1
a6176 1
echo "${as_me:-configure}:5619: testing adding $cf_add_libdir to library-path ..." 1>&5
d6205 1
a6205 1
echo "${as_me:-configure}:5648: testing adding $cf_add_libdir to library-path ..." 1>&5
d6214 1
a6214 1
{ { echo "$as_me:5657: error: cannot find libiconv under $withval" >&5
d6225 1
a6225 1
  echo "$as_me:5668: checking for iconv" >&5
d6236 1
a6236 1
echo "${as_me:-configure}:5679: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5
d6241 1
a6241 1
#line 5684 "configure"
d6260 1
a6260 1
if { (eval echo "$as_me:5703: \"$ac_link\"") >&5
d6263 1
a6263 1
  echo "$as_me:5706: \$? = $ac_status" >&5
d6266 1
a6266 1
  { (eval echo "$as_me:5709: \"$ac_try\"") >&5
d6269 1
a6269 1
  echo "$as_me:5712: \$? = $ac_status" >&5
d6283 1
a6283 1
#line 5726 "configure"
d6302 1
a6302 1
if { (eval echo "$as_me:5745: \"$ac_link\"") >&5
d6305 1
a6305 1
  echo "$as_me:5748: \$? = $ac_status" >&5
d6308 1
a6308 1
  { (eval echo "$as_me:5751: \"$ac_try\"") >&5
d6311 1
a6311 1
  echo "$as_me:5754: \$? = $ac_status" >&5
d6328 1
a6328 1
echo "${as_me:-configure}:5771: testing find linkage for iconv library ..." 1>&5
d6330 1
a6330 1
echo "${as_me:-configure}:5773: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5
d6443 1
a6443 1
echo "${as_me:-configure}:5886: testing ... testing $cf_cv_header_path_iconv ..." 1>&5
d6447 1
a6447 1
#line 5890 "configure"
d6466 1
a6466 1
if { (eval echo "$as_me:5909: \"$ac_compile\"") >&5
d6469 1
a6469 1
  echo "$as_me:5912: \$? = $ac_status" >&5
d6472 1
a6472 1
  { (eval echo "$as_me:5915: \"$ac_try\"") >&5
d6475 1
a6475 1
  echo "$as_me:5918: \$? = $ac_status" >&5
d6480 1
a6480 1
echo "${as_me:-configure}:5923: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5
d6498 1
a6498 1
echo "${as_me:-configure}:5941: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5
d6595 1
a6595 1
echo "${as_me:-configure}:6038: testing ... testing $cf_cv_library_path_iconv ..." 1>&5
d6601 1
a6601 1
#line 6044 "configure"
d6620 1
a6620 1
if { (eval echo "$as_me:6063: \"$ac_link\"") >&5
d6623 1
a6623 1
  echo "$as_me:6066: \$? = $ac_status" >&5
d6626 1
a6626 1
  { (eval echo "$as_me:6069: \"$ac_try\"") >&5
d6629 1
a6629 1
  echo "$as_me:6072: \$? = $ac_status" >&5
d6634 1
a6634 1
echo "${as_me:-configure}:6077: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5
d6674 1
a6674 1
echo "$as_me:6117: result: $am_cv_func_iconv" >&5
d6683 1
a6683 1
    echo "$as_me:6126: checking if the declaration of iconv() needs const." >&5
d6690 1
a6690 1
#line 6133 "configure"
d6715 1
a6715 1
if { (eval echo "$as_me:6158: \"$ac_compile\"") >&5
d6718 1
a6718 1
  echo "$as_me:6161: \$? = $ac_status" >&5
d6721 1
a6721 1
  { (eval echo "$as_me:6164: \"$ac_try\"") >&5
d6724 1
a6724 1
  echo "$as_me:6167: \$? = $ac_status" >&5
d6734 1
a6734 1
echo "$as_me:6177: result: $am_cv_proto_iconv_const" >&5
d6776 1
a6776 1
#line 6219 "configure"
d6788 1
a6788 1
if { (eval echo "$as_me:6231: \"$ac_compile\"") >&5
d6791 1
a6791 1
  echo "$as_me:6234: \$? = $ac_status" >&5
d6794 1
a6794 1
  { (eval echo "$as_me:6237: \"$ac_try\"") >&5
d6797 1
a6797 1
  echo "$as_me:6240: \$? = $ac_status" >&5
d6814 1
a6814 1
echo "${as_me:-configure}:6257: testing adding $cf_add_incdir to include-path ..." 1>&5
d6851 1
a6851 1
echo "${as_me:-configure}:6294: testing adding $cf_add_libdir to library-path ..." 1>&5
d6862 1
a6862 1
  echo "$as_me:6305: checking for nl_langinfo and CODESET" >&5
d6868 1
a6868 1
#line 6311 "configure"
d6880 1
a6880 1
if { (eval echo "$as_me:6323: \"$ac_link\"") >&5
d6883 1
a6883 1
  echo "$as_me:6326: \$? = $ac_status" >&5
d6886 1
a6886 1
  { (eval echo "$as_me:6329: \"$ac_try\"") >&5
d6889 1
a6889 1
  echo "$as_me:6332: \$? = $ac_status" >&5
d6900 1
a6900 1
echo "$as_me:6343: result: $am_cv_langinfo_codeset" >&5
d6911 1
a6911 1
    echo "$as_me:6354: checking for LC_MESSAGES" >&5
d6917 1
a6917 1
#line 6360 "configure"
d6929 1
a6929 1
if { (eval echo "$as_me:6372: \"$ac_link\"") >&5
d6932 1
a6932 1
  echo "$as_me:6375: \$? = $ac_status" >&5
d6935 1
a6935 1
  { (eval echo "$as_me:6378: \"$ac_try\"") >&5
d6938 1
a6938 1
  echo "$as_me:6381: \$? = $ac_status" >&5
d6948 1
a6948 1
echo "$as_me:6391: result: $am_cv_val_LC_MESSAGES" >&5
d6958 1
a6958 1
   echo "$as_me:6401: checking whether NLS is requested" >&5
d6968 1
a6968 1
  echo "$as_me:6411: result: $USE_NLS" >&5
d6981 1
a6981 1
    echo "$as_me:6424: checking whether included gettext is requested" >&5
d6991 1
a6991 1
    echo "$as_me:6434: result: $nls_cv_force_use_gnu_gettext" >&5
d7000 1
a7000 1
      echo "$as_me:6443: checking for libintl.h and gettext()" >&5
d7011 1
a7011 1
echo "${as_me:-configure}:6454: testing Starting FIND_LINKAGE(intl,) ..." 1>&5
d7016 1
a7016 1
#line 6459 "configure"
d7036 1
a7036 1
if { (eval echo "$as_me:6479: \"$ac_link\"") >&5
d7039 1
a7039 1
  echo "$as_me:6482: \$? = $ac_status" >&5
d7042 1
a7042 1
  { (eval echo "$as_me:6485: \"$ac_try\"") >&5
d7045 1
a7045 1
  echo "$as_me:6488: \$? = $ac_status" >&5
d7059 1
a7059 1
#line 6502 "configure"
d7079 1
a7079 1
if { (eval echo "$as_me:6522: \"$ac_link\"") >&5
d7082 1
a7082 1
  echo "$as_me:6525: \$? = $ac_status" >&5
d7085 1
a7085 1
  { (eval echo "$as_me:6528: \"$ac_try\"") >&5
d7088 1
a7088 1
  echo "$as_me:6531: \$? = $ac_status" >&5
d7105 1
a7105 1
echo "${as_me:-configure}:6548: testing find linkage for intl library ..." 1>&5
d7107 1
a7107 1
echo "${as_me:-configure}:6550: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5
d7220 1
a7220 1
echo "${as_me:-configure}:6663: testing ... testing $cf_cv_header_path_intl ..." 1>&5
d7224 1
a7224 1
#line 6667 "configure"
d7244 1
a7244 1
if { (eval echo "$as_me:6687: \"$ac_compile\"") >&5
d7247 1
a7247 1
  echo "$as_me:6690: \$? = $ac_status" >&5
d7250 1
a7250 1
  { (eval echo "$as_me:6693: \"$ac_try\"") >&5
d7253 1
a7253 1
  echo "$as_me:6696: \$? = $ac_status" >&5
d7258 1
a7258 1
echo "${as_me:-configure}:6701: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5
d7276 1
a7276 1
echo "${as_me:-configure}:6719: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5
d7373 1
a7373 1
echo "${as_me:-configure}:6816: testing ... testing $cf_cv_library_path_intl ..." 1>&5
d7379 1
a7379 1
#line 6822 "configure"
d7399 1
a7399 1
if { (eval echo "$as_me:6842: \"$ac_link\"") >&5
d7402 1
a7402 1
  echo "$as_me:6845: \$? = $ac_status" >&5
d7405 1
a7405 1
  { (eval echo "$as_me:6848: \"$ac_try\"") >&5
d7408 1
a7408 1
  echo "$as_me:6851: \$? = $ac_status" >&5
d7413 1
a7413 1
echo "${as_me:-configure}:6856: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5
d7453 1
a7453 1
echo "$as_me:6896: result: $cf_cv_func_gettext" >&5
d7492 1
a7492 1
#line 6935 "configure"
d7504 1
a7504 1
if { (eval echo "$as_me:6947: \"$ac_compile\"") >&5
d7507 1
a7507 1
  echo "$as_me:6950: \$? = $ac_status" >&5
d7510 1
a7510 1
  { (eval echo "$as_me:6953: \"$ac_try\"") >&5
d7513 1
a7513 1
  echo "$as_me:6956: \$? = $ac_status" >&5
d7530 1
a7530 1
echo "${as_me:-configure}:6973: testing adding $cf_add_incdir to include-path ..." 1>&5
d7567 1
a7567 1
echo "${as_me:-configure}:7010: testing adding $cf_add_libdir to library-path ..." 1>&5
d7583 1
a7583 1
echo "$as_me:7026: checking for $ac_func" >&5
d7589 1
a7589 1
#line 7032 "configure"
d7620 1
a7620 1
if { (eval echo "$as_me:7063: \"$ac_link\"") >&5
d7623 1
a7623 1
  echo "$as_me:7066: \$? = $ac_status" >&5
d7626 1
a7626 1
  { (eval echo "$as_me:7069: \"$ac_try\"") >&5
d7629 1
a7629 1
  echo "$as_me:7072: \$? = $ac_status" >&5
d7639 1
a7639 1
echo "$as_me:7082: result: `eval echo '${'$as_ac_var'}'`" >&5
d7654 1
a7654 1
echo "$as_me:7097: checking for $ac_word" >&5
d7681 1
a7681 1
  echo "$as_me:7124: result: $MSGFMT" >&5
d7684 1
a7684 1
  echo "$as_me:7127: result: no" >&5
d7690 1
a7690 1
echo "$as_me:7133: checking for $ac_word" >&5
d7707 1
a7707 1
   echo "$as_me:7150: found $ac_dir/$ac_word" >&5
d7719 1
a7719 1
  echo "$as_me:7162: result: $GMSGFMT" >&5
d7722 1
a7722 1
  echo "$as_me:7165: result: no" >&5
d7729 1
a7729 1
echo "$as_me:7172: checking for $ac_word" >&5
d7756 1
a7756 1
  echo "$as_me:7199: result: $XGETTEXT" >&5
d7759 1
a7759 1
  echo "$as_me:7202: result: no" >&5
d7774 1
a7774 1
        { { echo "$as_me:7217: error: no NLS library is packaged with this application" >&5
d7782 1
a7782 1
echo "$as_me:7225: checking for $ac_word" >&5
d7809 1
a7809 1
  echo "$as_me:7252: result: $MSGFMT" >&5
d7812 1
a7812 1
  echo "$as_me:7255: result: no" >&5
d7818 1
a7818 1
echo "$as_me:7261: checking for $ac_word" >&5
d7835 1
a7835 1
   echo "$as_me:7278: found $ac_dir/$ac_word" >&5
d7847 1
a7847 1
  echo "$as_me:7290: result: $GMSGFMT" >&5
d7850 1
a7850 1
  echo "$as_me:7293: result: no" >&5
d7857 1
a7857 1
echo "$as_me:7300: checking for $ac_word" >&5
d7884 1
a7884 1
  echo "$as_me:7327: result: $XGETTEXT" >&5
d7887 1
a7887 1
  echo "$as_me:7330: result: no" >&5
d7902 1
a7902 1
        echo "$as_me:7345: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
d7912 1
a7912 1
        echo "$as_me:7355: result: found xgettext program is not GNU xgettext; ignore it" >&5
d7932 1
a7932 1
echo "$as_me:7375: checking for $ac_word" >&5
d7947 1
a7947 1
echo "$as_me:7390: found $ac_dir/$ac_word" >&5
d7955 1
a7955 1
  echo "$as_me:7398: result: $INTLBISON" >&5
d7958 1
a7958 1
  echo "$as_me:7401: result: no" >&5
d7968 1
a7968 1
            echo "$as_me:7411: checking version of bison" >&5
d7977 1
a7977 1
    echo "$as_me:7420: result: $ac_prog_version" >&5
d8003 1
a8003 1
       echo "$as_me:7446: checking for catalogs to be installed" >&5
d8023 1
a8023 1
       echo "$as_me:7466: result: $LINGUAS" >&5
d8058 1
a8058 1
echo "$as_me:7501: checking if we should use included message-library" >&5
d8069 1
a8069 1
echo "$as_me:7512: result: $use_our_messages" >&5
d8110 1
a8110 1
echo "$as_me:7553: checking for $ac_header" >&5
d8116 1
a8116 1
#line 7559 "configure"
d8120 1
a8120 1
if { (eval echo "$as_me:7563: \"$ac_cpp conftest.$ac_ext\"") >&5
d8126 1
a8126 1
  echo "$as_me:7569: \$? = $ac_status" >&5
d8145 1
a8145 1
echo "$as_me:7588: result: `eval echo '${'$as_ac_Header'}'`" >&5
d8190 1
a8190 1
echo "$as_me:7633: checking if -lm needed for math functions" >&5
d8197 1
a8197 1
#line 7640 "configure"
d8212 1
a8212 1
if { (eval echo "$as_me:7655: \"$ac_link\"") >&5
d8215 1
a8215 1
  echo "$as_me:7658: \$? = $ac_status" >&5
d8218 1
a8218 1
  { (eval echo "$as_me:7661: \"$ac_try\"") >&5
d8221 1
a8221 1
  echo "$as_me:7664: \$? = $ac_status" >&5
d8231 1
a8231 1
echo "$as_me:7674: result: $cf_cv_need_libm" >&5
d8240 1
a8240 1
echo "$as_me:7683: checking if you want to use dmalloc for testing" >&5
d8256 1
a8256 1
echo "$as_me:7699: result: ${with_dmalloc:-no}" >&5
d8350 1
a8350 1
	echo "$as_me:7793: checking for dmalloc.h" >&5
d8356 1
a8356 1
#line 7799 "configure"
d8360 1
a8360 1
if { (eval echo "$as_me:7803: \"$ac_cpp conftest.$ac_ext\"") >&5
d8366 1
a8366 1
  echo "$as_me:7809: \$? = $ac_status" >&5
d8385 1
a8385 1
echo "$as_me:7828: result: $ac_cv_header_dmalloc_h" >&5
d8389 1
a8389 1
echo "$as_me:7832: checking for dmalloc_debug in -ldmalloc" >&5
d8397 1
a8397 1
#line 7840 "configure"
d8416 1
a8416 1
if { (eval echo "$as_me:7859: \"$ac_link\"") >&5
d8419 1
a8419 1
  echo "$as_me:7862: \$? = $ac_status" >&5
d8422 1
a8422 1
  { (eval echo "$as_me:7865: \"$ac_try\"") >&5
d8425 1
a8425 1
  echo "$as_me:7868: \$? = $ac_status" >&5
d8436 1
a8436 1
echo "$as_me:7879: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
d8451 1
a8451 1
echo "$as_me:7894: checking if you want to use dbmalloc for testing" >&5
d8467 1
a8467 1
echo "$as_me:7910: result: ${with_dbmalloc:-no}" >&5
d8561 1
a8561 1
	echo "$as_me:8004: checking for dbmalloc.h" >&5
d8567 1
a8567 1
#line 8010 "configure"
d8571 1
a8571 1
if { (eval echo "$as_me:8014: \"$ac_cpp conftest.$ac_ext\"") >&5
d8577 1
a8577 1
  echo "$as_me:8020: \$? = $ac_status" >&5
d8596 1
a8596 1
echo "$as_me:8039: result: $ac_cv_header_dbmalloc_h" >&5
d8600 1
a8600 1
echo "$as_me:8043: checking for debug_malloc in -ldbmalloc" >&5
d8608 1
a8608 1
#line 8051 "configure"
d8627 1
a8627 1
if { (eval echo "$as_me:8070: \"$ac_link\"") >&5
d8630 1
a8630 1
  echo "$as_me:8073: \$? = $ac_status" >&5
d8633 1
a8633 1
  { (eval echo "$as_me:8076: \"$ac_try\"") >&5
d8636 1
a8636 1
  echo "$as_me:8079: \$? = $ac_status" >&5
d8647 1
a8647 1
echo "$as_me:8090: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
d8662 1
a8662 1
echo "$as_me:8105: checking if you want to use purify for testing" >&5
d8678 1
a8678 1
echo "$as_me:8121: result: ${with_purify:-no}" >&5
d8771 1
a8771 1
echo "$as_me:8214: checking if you want to use valgrind for testing" >&5
d8787 1
a8787 1
echo "$as_me:8230: result: ${with_valgrind:-no}" >&5
d8880 1
a8880 1
echo "$as_me:8323: checking if you want to perform memory-leak testing" >&5
d8902 1
a8902 1
echo "$as_me:8345: result: $with_no_leaks" >&5
d8905 1
a8905 1
echo "$as_me:8348: checking if you want --trace option" >&5
d8915 1
a8915 1
echo "$as_me:8358: result: $enableval" >&5
d8929 1
a8929 1
echo "$as_me:8372: checking if libtool -version-number should be used" >&5
d8946 1
a8946 1
echo "$as_me:8389: result: $cf_libtool_version" >&5
d8971 1
a8971 1
echo "$as_me:8414: checking if you want to build libraries with libtool" >&5
d8981 1
a8981 1
echo "$as_me:8424: result: $with_libtool" >&5
d9012 1
a9012 1
  { { echo "$as_me:8455: error: expected a pathname, not \"$with_libtool\"" >&5
d9022 1
a9022 1
echo "$as_me:8465: checking for $ac_word" >&5
d9039 1
a9039 1
   echo "$as_me:8482: found $ac_dir/$ac_word" >&5
d9050 1
a9050 1
  echo "$as_me:8493: result: $LIBTOOL" >&5
d9053 1
a9053 1
  echo "$as_me:8496: result: no" >&5
d9059 1
a9059 1
		{ { echo "$as_me:8502: error: Cannot find libtool" >&5
d9074 1
a9074 1
	echo "$as_me:8517: checking version of libtool" >&5
d9081 1
a9081 1
	echo "$as_me:8524: result: $cf_cv_libtool_version" >&5
d9084 1
a9084 1
		{ { echo "$as_me:8527: error: This is not GNU libtool" >&5
d9092 1
a9092 1
	cygwin*|mingw32*|uwin*|aix[456]) #(vi
d9118 1
a9118 1
echo "$as_me:8561: checking for additional libtool options" >&5
d9128 1
a9128 1
echo "$as_me:8571: result: $with_libtool_opts" >&5
d9141 1
a9141 1
echo "$as_me:8584: checking for specific curses-directory" >&5
d9151 1
a9151 1
echo "$as_me:8594: result: $cf_cv_curses_dir" >&5
d9182 1
a9182 1
  { { echo "$as_me:8625: error: expected a pathname, not \"$withval\"" >&5
d9215 1
a9215 1
#line 8658 "configure"
d9227 1
a9227 1
if { (eval echo "$as_me:8670: \"$ac_compile\"") >&5
d9230 1
a9230 1
  echo "$as_me:8673: \$? = $ac_status" >&5
d9233 1
a9233 1
  { (eval echo "$as_me:8676: \"$ac_try\"") >&5
d9236 1
a9236 1
  echo "$as_me:8679: \$? = $ac_status" >&5
d9253 1
a9253 1
echo "${as_me:-configure}:8696: testing adding $cf_add_incdir to include-path ..." 1>&5
d9287 1
a9287 1
echo "${as_me:-configure}:8730: testing adding $cf_add_libdir to library-path ..." 1>&5
d9315 1
a9315 1
echo "$as_me:8758: checking for multibyte character support" >&5
d9323 1
a9323 1
#line 8766 "configure"
d9336 1
a9336 1
if { (eval echo "$as_me:8779: \"$ac_link\"") >&5
d9339 1
a9339 1
  echo "$as_me:8782: \$? = $ac_status" >&5
d9342 1
a9342 1
  { (eval echo "$as_me:8785: \"$ac_try\"") >&5
d9345 1
a9345 1
  echo "$as_me:8788: \$? = $ac_status" >&5
d9357 1
a9357 1
echo "${as_me:-configure}:8800: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
d9362 1
a9362 1
#line 8805 "configure"
d9375 1
a9375 1
if { (eval echo "$as_me:8818: \"$ac_link\"") >&5
d9378 1
a9378 1
  echo "$as_me:8821: \$? = $ac_status" >&5
d9381 1
a9381 1
  { (eval echo "$as_me:8824: \"$ac_try\"") >&5
d9384 1
a9384 1
  echo "$as_me:8827: \$? = $ac_status" >&5
d9398 1
a9398 1
#line 8841 "configure"
d9411 1
a9411 1
if { (eval echo "$as_me:8854: \"$ac_link\"") >&5
d9414 1
a9414 1
  echo "$as_me:8857: \$? = $ac_status" >&5
d9417 1
a9417 1
  { (eval echo "$as_me:8860: \"$ac_try\"") >&5
d9420 1
a9420 1
  echo "$as_me:8863: \$? = $ac_status" >&5
d9437 1
a9437 1
echo "${as_me:-configure}:8880: testing find linkage for utf8 library ..." 1>&5
d9439 1
a9439 1
echo "${as_me:-configure}:8882: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
d9552 1
a9552 1
echo "${as_me:-configure}:8995: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
d9556 1
a9556 1
#line 8999 "configure"
d9569 1
a9569 1
if { (eval echo "$as_me:9012: \"$ac_compile\"") >&5
d9572 1
a9572 1
  echo "$as_me:9015: \$? = $ac_status" >&5
d9575 1
a9575 1
  { (eval echo "$as_me:9018: \"$ac_try\"") >&5
d9578 1
a9578 1
  echo "$as_me:9021: \$? = $ac_status" >&5
d9583 1
a9583 1
echo "${as_me:-configure}:9026: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
d9601 1
a9601 1
echo "${as_me:-configure}:9044: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
d9698 1
a9698 1
echo "${as_me:-configure}:9141: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
d9704 1
a9704 1
#line 9147 "configure"
d9717 1
a9717 1
if { (eval echo "$as_me:9160: \"$ac_link\"") >&5
d9720 1
a9720 1
  echo "$as_me:9163: \$? = $ac_status" >&5
d9723 1
a9723 1
  { (eval echo "$as_me:9166: \"$ac_try\"") >&5
d9726 1
a9726 1
  echo "$as_me:9169: \$? = $ac_status" >&5
d9731 1
a9731 1
echo "${as_me:-configure}:9174: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
d9773 1
a9773 1
echo "$as_me:9216: result: $cf_cv_utf8_lib" >&5
d9807 1
a9807 1
#line 9250 "configure"
d9819 1
a9819 1
if { (eval echo "$as_me:9262: \"$ac_compile\"") >&5
d9822 1
a9822 1
  echo "$as_me:9265: \$? = $ac_status" >&5
d9825 1
a9825 1
  { (eval echo "$as_me:9268: \"$ac_try\"") >&5
d9828 1
a9828 1
  echo "$as_me:9271: \$? = $ac_status" >&5
d9845 1
a9845 1
echo "${as_me:-configure}:9288: testing adding $cf_add_incdir to include-path ..." 1>&5
d9879 1
a9879 1
echo "${as_me:-configure}:9322: testing adding $cf_add_libdir to library-path ..." 1>&5
d9895 42
a9936 1
for ac_prog in ${cf_ncuconfig_root}6-config ${cf_ncuconfig_root}5-config
d9940 1
a9940 1
echo "$as_me:9342: checking for $ac_word" >&5
d9942 1
a9942 1
if test "${ac_cv_path_NCURSES_CONFIG+set}" = set; then
d9945 3
a9947 5
  case $NCURSES_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test with a path.
  ;;
  *)
d9953 4
a9956 5
  if $as_executable_p "$ac_dir/$ac_word"; then
   ac_cv_path_NCURSES_CONFIG="$ac_dir/$ac_word"
   echo "$as_me:9359: found $ac_dir/$ac_word" >&5
   break
fi
a9958 2
  ;;
esac
d9960 5
a9964 5
NCURSES_CONFIG=$ac_cv_path_NCURSES_CONFIG

if test -n "$NCURSES_CONFIG"; then
  echo "$as_me:9370: result: $NCURSES_CONFIG" >&5
echo "${ECHO_T}$NCURSES_CONFIG" >&6
d9966 1
a9966 1
  echo "$as_me:9373: result: no" >&5
d9970 1
a9970 1
  test -n "$NCURSES_CONFIG" && break
d9972 4
a9975 1
test -n "$NCURSES_CONFIG" || NCURSES_CONFIG="none"
d9984 1
a9984 1
echo "$as_me:9388: checking if we have identified curses headers" >&5
d9998 1
a9998 1
#line 9402 "configure"
d10010 1
a10010 1
if { (eval echo "$as_me:9414: \"$ac_compile\"") >&5
d10013 1
a10013 1
  echo "$as_me:9417: \$? = $ac_status" >&5
d10016 1
a10016 1
  { (eval echo "$as_me:9420: \"$ac_try\"") >&5
d10019 1
a10019 1
  echo "$as_me:9423: \$? = $ac_status" >&5
d10030 1
a10030 1
echo "$as_me:9434: result: $cf_cv_ncurses_header" >&5
d10034 1
a10034 1
	{ { echo "$as_me:9438: error: No curses header-files found" >&5
d10044 1
a10044 1
echo "$as_me:9448: checking for $ac_header" >&5
d10050 1
a10050 1
#line 9454 "configure"
d10054 1
a10054 1
if { (eval echo "$as_me:9458: \"$ac_cpp conftest.$ac_ext\"") >&5
d10060 1
a10060 1
  echo "$as_me:9464: \$? = $ac_status" >&5
d10079 1
a10079 1
echo "$as_me:9483: result: `eval echo '${'$as_ac_Header'}'`" >&5
d10132 1
a10132 1
#line 9536 "configure"
d10144 1
a10144 1
if { (eval echo "$as_me:9548: \"$ac_compile\"") >&5
d10147 1
a10147 1
  echo "$as_me:9551: \$? = $ac_status" >&5
d10150 1
a10150 1
  { (eval echo "$as_me:9554: \"$ac_try\"") >&5
d10153 1
a10153 1
  echo "$as_me:9557: \$? = $ac_status" >&5
d10170 1
a10170 1
echo "${as_me:-configure}:9574: testing adding $cf_add_incdir to include-path ..." 1>&5
d10187 1
a10187 1
echo "$as_me:9591: checking for $cf_ncuhdr_root header in include-path" >&5
d10199 1
a10199 1
#line 9603 "configure"
d10223 1
a10223 1
if { (eval echo "$as_me:9627: \"$ac_compile\"") >&5
d10226 1
a10226 1
  echo "$as_me:9630: \$? = $ac_status" >&5
d10229 1
a10229 1
  { (eval echo "$as_me:9633: \"$ac_try\"") >&5
d10232 1
a10232 1
  echo "$as_me:9636: \$? = $ac_status" >&5
d10247 1
a10247 1
echo "$as_me:9651: result: $cf_cv_ncurses_h" >&5
d10254 1
a10254 1
echo "$as_me:9658: checking for $cf_ncuhdr_root include-path" >&5
d10394 1
a10394 1
#line 9798 "configure"
d10406 1
a10406 1
if { (eval echo "$as_me:9810: \"$ac_compile\"") >&5
d10409 1
a10409 1
  echo "$as_me:9813: \$? = $ac_status" >&5
d10412 1
a10412 1
  { (eval echo "$as_me:9816: \"$ac_try\"") >&5
d10415 1
a10415 1
  echo "$as_me:9819: \$? = $ac_status" >&5
d10432 1
a10432 1
echo "${as_me:-configure}:9836: testing adding $cf_add_incdir to include-path ..." 1>&5
d10453 1
a10453 1
#line 9857 "configure"
d10477 1
a10477 1
if { (eval echo "$as_me:9881: \"$ac_compile\"") >&5
d10480 1
a10480 1
  echo "$as_me:9884: \$? = $ac_status" >&5
d10483 1
a10483 1
  { (eval echo "$as_me:9887: \"$ac_try\"") >&5
d10486 1
a10486 1
  echo "$as_me:9890: \$? = $ac_status" >&5
d10507 1
a10507 1
	test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:9911: error: not found" >&5
d10512 1
a10512 1
echo "$as_me:9916: result: $cf_cv_ncurses_h2" >&5
d10545 1
a10545 1
#line 9949 "configure"
d10557 1
a10557 1
if { (eval echo "$as_me:9961: \"$ac_compile\"") >&5
d10560 1
a10560 1
  echo "$as_me:9964: \$? = $ac_status" >&5
d10563 1
a10563 1
  { (eval echo "$as_me:9967: \"$ac_try\"") >&5
d10566 1
a10566 1
  echo "$as_me:9970: \$? = $ac_status" >&5
d10583 1
a10583 1
echo "${as_me:-configure}:9987: testing adding $cf_add_incdir to include-path ..." 1>&5
d10626 1
a10626 1
echo "$as_me:10030: checking for terminfo header" >&5
d10644 1
a10644 1
#line 10048 "configure"
d10659 1
a10659 1
if { (eval echo "$as_me:10063: \"$ac_compile\"") >&5
d10662 1
a10662 1
  echo "$as_me:10066: \$? = $ac_status" >&5
d10665 1
a10665 1
  { (eval echo "$as_me:10069: \"$ac_try\"") >&5
d10668 1
a10668 1
  echo "$as_me:10072: \$? = $ac_status" >&5
d10684 1
a10684 1
echo "$as_me:10088: result: $cf_cv_term_header" >&5
d10718 1
a10718 1
echo "$as_me:10122: checking for ncurses version" >&5
d10744 1
a10744 1
	{ (eval echo "$as_me:10148: \"$cf_try\"") >&5
d10747 1
a10747 1
  echo "$as_me:10151: \$? = $ac_status" >&5
d10757 1
a10757 1
#line 10161 "configure"
d10782 1
a10782 1
if { (eval echo "$as_me:10186: \"$ac_link\"") >&5
d10785 1
a10785 1
  echo "$as_me:10189: \$? = $ac_status" >&5
d10787 1
a10787 1
  { (eval echo "$as_me:10191: \"$ac_try\"") >&5
d10790 1
a10790 1
  echo "$as_me:10194: \$? = $ac_status" >&5
d10804 1
a10804 1
echo "$as_me:10208: result: $cf_cv_ncurses_version" >&5
d10816 1
a10816 1
echo "$as_me:10220: checking for Gpm_Open in -lgpm" >&5
d10824 1
a10824 1
#line 10228 "configure"
d10843 1
a10843 1
if { (eval echo "$as_me:10247: \"$ac_link\"") >&5
d10846 1
a10846 1
  echo "$as_me:10250: \$? = $ac_status" >&5
d10849 1
a10849 1
  { (eval echo "$as_me:10253: \"$ac_try\"") >&5
d10852 1
a10852 1
  echo "$as_me:10256: \$? = $ac_status" >&5
d10863 1
a10863 1
echo "$as_me:10267: result: $ac_cv_lib_gpm_Gpm_Open" >&5
d10866 1
a10866 1
  echo "$as_me:10270: checking for initscr in -lgpm" >&5
d10874 1
a10874 1
#line 10278 "configure"
d10893 1
a10893 1
if { (eval echo "$as_me:10297: \"$ac_link\"") >&5
d10896 1
a10896 1
  echo "$as_me:10300: \$? = $ac_status" >&5
d10899 1
a10899 1
  { (eval echo "$as_me:10303: \"$ac_try\"") >&5
d10902 1
a10902 1
  echo "$as_me:10306: \$? = $ac_status" >&5
d10913 1
a10913 1
echo "$as_me:10317: result: $ac_cv_lib_gpm_initscr" >&5
d10928 1
a10928 1
		echo "$as_me:10332: checking for tgoto in -lmytinfo" >&5
d10936 1
a10936 1
#line 10340 "configure"
d10955 1
a10955 1
if { (eval echo "$as_me:10359: \"$ac_link\"") >&5
d10958 1
a10958 1
  echo "$as_me:10362: \$? = $ac_status" >&5
d10961 1
a10961 1
  { (eval echo "$as_me:10365: \"$ac_try\"") >&5
d10964 1
a10964 1
  echo "$as_me:10368: \$? = $ac_status" >&5
d10975 1
a10975 1
echo "$as_me:10379: result: $ac_cv_lib_mytinfo_tgoto" >&5
d10994 1
a10994 1
	echo "$as_me:10398: checking for initscr" >&5
d11000 1
a11000 1
#line 10404 "configure"
d11031 1
a11031 1
if { (eval echo "$as_me:10435: \"$ac_link\"") >&5
d11034 1
a11034 1
  echo "$as_me:10438: \$? = $ac_status" >&5
d11037 1
a11037 1
  { (eval echo "$as_me:10441: \"$ac_try\"") >&5
d11040 1
a11040 1
  echo "$as_me:10444: \$? = $ac_status" >&5
d11050 1
a11050 1
echo "$as_me:10454: result: $ac_cv_func_initscr" >&5
d11057 1
a11057 1
		echo "$as_me:10461: checking for initscr in -l$cf_nculib_root" >&5
d11061 1
a11061 1
#line 10465 "configure"
d11073 1
a11073 1
if { (eval echo "$as_me:10477: \"$ac_link\"") >&5
d11076 1
a11076 1
  echo "$as_me:10480: \$? = $ac_status" >&5
d11079 1
a11079 1
  { (eval echo "$as_me:10483: \"$ac_try\"") >&5
d11082 1
a11082 1
  echo "$as_me:10486: \$? = $ac_status" >&5
d11084 1
a11084 1
  echo "$as_me:10488: result: yes" >&5
d11091 1
a11091 1
echo "$as_me:10495: result: no" >&5
d11181 1
a11181 1
				echo "$as_me:10585: checking for -l$cf_nculib_root in $cf_libdir" >&5
d11185 1
a11185 1
#line 10589 "configure"
d11197 1
a11197 1
if { (eval echo "$as_me:10601: \"$ac_link\"") >&5
d11200 1
a11200 1
  echo "$as_me:10604: \$? = $ac_status" >&5
d11203 1
a11203 1
  { (eval echo "$as_me:10607: \"$ac_try\"") >&5
d11206 1
a11206 1
  echo "$as_me:10610: \$? = $ac_status" >&5
d11208 1
a11208 1
  echo "$as_me:10612: result: yes" >&5
d11215 1
a11215 1
echo "$as_me:10619: result: no" >&5
d11230 1
a11230 1
	{ { echo "$as_me:10634: error: Cannot link $cf_nculib_root library" >&5
d11238 1
a11238 1
	echo "$as_me:10642: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
d11248 1
a11248 1
#line 10652 "configure"
d11260 1
a11260 1
if { (eval echo "$as_me:10664: \"$ac_link\"") >&5
d11263 1
a11263 1
  echo "$as_me:10667: \$? = $ac_status" >&5
d11266 1
a11266 1
  { (eval echo "$as_me:10670: \"$ac_try\"") >&5
d11269 1
a11269 1
  echo "$as_me:10673: \$? = $ac_status" >&5
d11271 1
a11271 1
  echo "$as_me:10675: result: yes" >&5
d11276 1
a11276 1
echo "$as_me:10680: result: no" >&5
d11294 1
a11294 1
echo "$as_me:10698: checking for extra include directories" >&5
d11320 1
a11320 1
echo "$as_me:10724: result: $cf_cv_curses_incdir" >&5
d11324 1
a11324 1
echo "$as_me:10728: checking if we have identified curses headers" >&5
d11336 1
a11336 1
#line 10740 "configure"
d11348 1
a11348 1
if { (eval echo "$as_me:10752: \"$ac_compile\"") >&5
d11351 1
a11351 1
  echo "$as_me:10755: \$? = $ac_status" >&5
d11354 1
a11354 1
  { (eval echo "$as_me:10758: \"$ac_try\"") >&5
d11357 1
a11357 1
  echo "$as_me:10761: \$? = $ac_status" >&5
d11368 1
a11368 1
echo "$as_me:10772: result: $cf_cv_ncurses_header" >&5
d11372 1
a11372 1
	{ { echo "$as_me:10776: error: No curses header-files found" >&5
d11382 1
a11382 1
echo "$as_me:10786: checking for $ac_header" >&5
d11388 1
a11388 1
#line 10792 "configure"
d11392 1
a11392 1
if { (eval echo "$as_me:10796: \"$ac_cpp conftest.$ac_ext\"") >&5
d11398 1
a11398 1
  echo "$as_me:10802: \$? = $ac_status" >&5
d11417 1
a11417 1
echo "$as_me:10821: result: `eval echo '${'$as_ac_Header'}'`" >&5
d11427 1
a11427 1
echo "$as_me:10831: checking for terminfo header" >&5
d11445 1
a11445 1
#line 10849 "configure"
d11460 1
a11460 1
if { (eval echo "$as_me:10864: \"$ac_compile\"") >&5
d11463 1
a11463 1
  echo "$as_me:10867: \$? = $ac_status" >&5
d11466 1
a11466 1
  { (eval echo "$as_me:10870: \"$ac_try\"") >&5
d11469 1
a11469 1
  echo "$as_me:10873: \$? = $ac_status" >&5
d11485 1
a11485 1
echo "$as_me:10889: result: $cf_cv_term_header" >&5
d11514 1
a11514 1
echo "$as_me:10918: checking for ncurses version" >&5
d11540 1
a11540 1
	{ (eval echo "$as_me:10944: \"$cf_try\"") >&5
d11543 1
a11543 1
  echo "$as_me:10947: \$? = $ac_status" >&5
d11553 1
a11553 1
#line 10957 "configure"
d11578 1
a11578 1
if { (eval echo "$as_me:10982: \"$ac_link\"") >&5
d11581 1
a11581 1
  echo "$as_me:10985: \$? = $ac_status" >&5
d11583 1
a11583 1
  { (eval echo "$as_me:10987: \"$ac_try\"") >&5
d11586 1
a11586 1
  echo "$as_me:10990: \$? = $ac_status" >&5
d11600 1
a11600 1
echo "$as_me:11004: result: $cf_cv_ncurses_version" >&5
d11606 1
a11606 1
echo "$as_me:11010: checking if we have identified curses libraries" >&5
d11609 1
a11609 1
#line 11013 "configure"
d11621 1
a11621 1
if { (eval echo "$as_me:11025: \"$ac_link\"") >&5
d11624 1
a11624 1
  echo "$as_me:11028: \$? = $ac_status" >&5
d11627 1
a11627 1
  { (eval echo "$as_me:11031: \"$ac_try\"") >&5
d11630 1
a11630 1
  echo "$as_me:11034: \$? = $ac_status" >&5
d11639 1
a11639 1
echo "$as_me:11043: result: $cf_result" >&5
d11645 1
a11645 1
    echo "$as_me:11049: checking for tgoto in -lmytinfo" >&5
d11653 1
a11653 1
#line 11057 "configure"
d11672 1
a11672 1
if { (eval echo "$as_me:11076: \"$ac_link\"") >&5
d11675 1
a11675 1
  echo "$as_me:11079: \$? = $ac_status" >&5
d11678 1
a11678 1
  { (eval echo "$as_me:11082: \"$ac_try\"") >&5
d11681 1
a11681 1
  echo "$as_me:11085: \$? = $ac_status" >&5
d11692 1
a11692 1
echo "$as_me:11096: result: $ac_cv_lib_mytinfo_tgoto" >&5
d11706 1
a11706 1
		echo "$as_me:11110: checking for initscr in -lcur_colr" >&5
d11714 1
a11714 1
#line 11118 "configure"
d11733 1
a11733 1
if { (eval echo "$as_me:11137: \"$ac_link\"") >&5
d11736 1
a11736 1
  echo "$as_me:11140: \$? = $ac_status" >&5
d11739 1
a11739 1
  { (eval echo "$as_me:11143: \"$ac_try\"") >&5
d11742 1
a11742 1
  echo "$as_me:11146: \$? = $ac_status" >&5
d11753 1
a11753 1
echo "$as_me:11157: result: $ac_cv_lib_cur_colr_initscr" >&5
d11762 1
a11762 1
		echo "$as_me:11166: checking for initscr in -lHcurses" >&5
d11770 1
a11770 1
#line 11174 "configure"
d11789 1
a11789 1
if { (eval echo "$as_me:11193: \"$ac_link\"") >&5
d11792 1
a11792 1
  echo "$as_me:11196: \$? = $ac_status" >&5
d11795 1
a11795 1
  { (eval echo "$as_me:11199: \"$ac_try\"") >&5
d11798 1
a11798 1
  echo "$as_me:11202: \$? = $ac_status" >&5
d11809 1
a11809 1
echo "$as_me:11213: result: $ac_cv_lib_Hcurses_initscr" >&5
d11849 1
a11849 1
echo "${as_me:-configure}:11253: testing adding $cf_add_libdir to library-path ..." 1>&5
d11878 1
a11878 1
echo "${as_me:-configure}:11282: testing adding $cf_add_libdir to library-path ..." 1>&5
d11909 1
a11909 1
echo "${as_me:-configure}:11313: testing adding $cf_add_libdir to library-path ..." 1>&5
d11944 1
a11944 1
echo "${as_me:-configure}:11348: testing adding $cf_add_libdir to library-path ..." 1>&5
d11973 1
a11973 1
    echo "$as_me:11377: checking for tgoto" >&5
d11979 1
a11979 1
#line 11383 "configure"
d12010 1
a12010 1
if { (eval echo "$as_me:11414: \"$ac_link\"") >&5
d12013 1
a12013 1
  echo "$as_me:11417: \$? = $ac_status" >&5
d12016 1
a12016 1
  { (eval echo "$as_me:11420: \"$ac_try\"") >&5
d12019 1
a12019 1
  echo "$as_me:11423: \$? = $ac_status" >&5
d12029 1
a12029 1
echo "$as_me:11433: result: $ac_cv_func_tgoto" >&5
d12035 1
a12035 1
        for cf_term_lib in $cf_check_list termcap termlib unknown
d12038 1
a12038 1
echo "$as_me:11442: checking for tgoto in -l$cf_term_lib" >&5
d12046 1
a12046 1
#line 11450 "configure"
d12065 1
a12065 1
if { (eval echo "$as_me:11469: \"$ac_link\"") >&5
d12068 1
a12068 1
  echo "$as_me:11472: \$? = $ac_status" >&5
d12071 1
a12071 1
  { (eval echo "$as_me:11475: \"$ac_try\"") >&5
d12074 1
a12074 1
  echo "$as_me:11478: \$? = $ac_status" >&5
d12085 1
a12085 1
echo "$as_me:11489: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d12100 1
a12100 1
echo "$as_me:11504: checking for initscr in -l$cf_curs_lib" >&5
d12108 1
a12108 1
#line 11512 "configure"
d12127 1
a12127 1
if { (eval echo "$as_me:11531: \"$ac_link\"") >&5
d12130 1
a12130 1
  echo "$as_me:11534: \$? = $ac_status" >&5
d12133 1
a12133 1
  { (eval echo "$as_me:11537: \"$ac_try\"") >&5
d12136 1
a12136 1
  echo "$as_me:11540: \$? = $ac_status" >&5
d12147 1
a12147 1
echo "$as_me:11551: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d12154 1
a12154 1
    test $cf_curs_lib = unknown && { { echo "$as_me:11558: error: no curses library found" >&5
d12160 1
a12160 1
        echo "$as_me:11564: checking if we can link with $cf_curs_lib library" >&5
d12163 1
a12163 1
#line 11567 "configure"
d12175 1
a12175 1
if { (eval echo "$as_me:11579: \"$ac_link\"") >&5
d12178 1
a12178 1
  echo "$as_me:11582: \$? = $ac_status" >&5
d12181 1
a12181 1
  { (eval echo "$as_me:11585: \"$ac_try\"") >&5
d12184 1
a12184 1
  echo "$as_me:11588: \$? = $ac_status" >&5
d12193 1
a12193 1
        echo "$as_me:11597: result: $cf_result" >&5
d12195 1
a12195 1
        test $cf_result = no && { { echo "$as_me:11599: error: Cannot link curses library" >&5
d12201 1
a12201 1
        echo "$as_me:11605: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
d12204 1
a12204 1
#line 11608 "configure"
d12216 1
a12216 1
if { (eval echo "$as_me:11620: \"$ac_link\"") >&5
d12219 1
a12219 1
  echo "$as_me:11623: \$? = $ac_status" >&5
d12222 1
a12222 1
  { (eval echo "$as_me:11626: \"$ac_try\"") >&5
d12225 1
a12225 1
  echo "$as_me:11629: \$? = $ac_status" >&5
d12234 1
a12234 1
#line 11638 "configure"
d12246 1
a12246 1
if { (eval echo "$as_me:11650: \"$ac_link\"") >&5
d12249 1
a12249 1
  echo "$as_me:11653: \$? = $ac_status" >&5
d12252 1
a12252 1
  { (eval echo "$as_me:11656: \"$ac_try\"") >&5
d12255 1
a12255 1
  echo "$as_me:11659: \$? = $ac_status" >&5
d12267 1
a12267 1
        echo "$as_me:11671: result: $cf_result" >&5
d12277 1
a12277 1
echo "$as_me:11681: checking if you want extra dialogs" >&5
d12287 1
a12287 1
echo "$as_me:11691: result: $enableval" >&5
d12295 1
a12295 1
echo "$as_me:11699: checking if you want config-file support" >&5
d12305 1
a12305 1
echo "$as_me:11709: result: $enableval" >&5
d12317 1
a12317 1
echo "$as_me:11721: checking if you want Xdialog-style dialogs" >&5
d12327 1
a12327 1
echo "$as_me:11731: result: $enableval" >&5
d12339 1
a12339 1
echo "$as_me:11743: checking if you want the form dialog" >&5
d12349 1
a12349 1
echo "$as_me:11753: result: $enableval" >&5
d12361 1
a12361 1
echo "$as_me:11765: checking if you want the gauge dialog" >&5
d12371 1
a12371 1
echo "$as_me:11775: result: $enableval" >&5
d12383 1
a12383 1
echo "$as_me:11787: checking if you want the tailbox dialog" >&5
d12393 1
a12393 1
echo "$as_me:11797: result: $enableval" >&5
d12405 1
a12405 1
echo "$as_me:11809: checking if you want the mixedform dialog" >&5
d12415 1
a12415 1
echo "$as_me:11819: result: $enableval" >&5
d12427 1
a12427 1
echo "$as_me:11831: checking if you want the mixedgauge dialog" >&5
d12437 1
a12437 1
echo "$as_me:11841: result: $enableval" >&5
d12449 1
a12449 1
echo "$as_me:11853: checking if you want the wide-curses features" >&5
d12459 1
a12459 1
echo "$as_me:11863: result: $enableval" >&5
d12470 1
a12470 1
echo "$as_me:11874: checking for ANSI C header files" >&5
d12476 1
a12476 1
#line 11880 "configure"
d12484 1
a12484 1
if { (eval echo "$as_me:11888: \"$ac_cpp conftest.$ac_ext\"") >&5
d12490 1
a12490 1
  echo "$as_me:11894: \$? = $ac_status" >&5
d12512 1
a12512 1
#line 11916 "configure"
d12530 1
a12530 1
#line 11934 "configure"
d12551 1
a12551 1
#line 11955 "configure"
d12577 1
a12577 1
if { (eval echo "$as_me:11981: \"$ac_link\"") >&5
d12580 1
a12580 1
  echo "$as_me:11984: \$? = $ac_status" >&5
d12582 1
a12582 1
  { (eval echo "$as_me:11986: \"$ac_try\"") >&5
d12585 1
a12585 1
  echo "$as_me:11989: \$? = $ac_status" >&5
d12598 1
a12598 1
echo "$as_me:12002: result: $ac_cv_header_stdc" >&5
d12608 1
a12608 1
echo "$as_me:12012: checking whether time.h and sys/time.h may both be included" >&5
d12614 1
a12614 1
#line 12018 "configure"
d12630 1
a12630 1
if { (eval echo "$as_me:12034: \"$ac_compile\"") >&5
d12633 1
a12633 1
  echo "$as_me:12037: \$? = $ac_status" >&5
d12636 1
a12636 1
  { (eval echo "$as_me:12040: \"$ac_try\"") >&5
d12639 1
a12639 1
  echo "$as_me:12043: \$? = $ac_status" >&5
d12649 1
a12649 1
echo "$as_me:12053: result: $ac_cv_header_time" >&5
d12662 1
a12662 1
echo "$as_me:12066: checking for $ac_hdr that defines DIR" >&5
d12668 1
a12668 1
#line 12072 "configure"
d12683 1
a12683 1
if { (eval echo "$as_me:12087: \"$ac_compile\"") >&5
d12686 1
a12686 1
  echo "$as_me:12090: \$? = $ac_status" >&5
d12689 1
a12689 1
  { (eval echo "$as_me:12093: \"$ac_try\"") >&5
d12692 1
a12692 1
  echo "$as_me:12096: \$? = $ac_status" >&5
d12702 1
a12702 1
echo "$as_me:12106: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12715 1
a12715 1
  echo "$as_me:12119: checking for opendir in -ldir" >&5
d12723 1
a12723 1
#line 12127 "configure"
d12742 1
a12742 1
if { (eval echo "$as_me:12146: \"$ac_link\"") >&5
d12745 1
a12745 1
  echo "$as_me:12149: \$? = $ac_status" >&5
d12748 1
a12748 1
  { (eval echo "$as_me:12152: \"$ac_try\"") >&5
d12751 1
a12751 1
  echo "$as_me:12155: \$? = $ac_status" >&5
d12762 1
a12762 1
echo "$as_me:12166: result: $ac_cv_lib_dir_opendir" >&5
d12769 1
a12769 1
  echo "$as_me:12173: checking for opendir in -lx" >&5
d12777 1
a12777 1
#line 12181 "configure"
d12796 1
a12796 1
if { (eval echo "$as_me:12200: \"$ac_link\"") >&5
d12799 1
a12799 1
  echo "$as_me:12203: \$? = $ac_status" >&5
d12802 1
a12802 1
  { (eval echo "$as_me:12206: \"$ac_try\"") >&5
d12805 1
a12805 1
  echo "$as_me:12209: \$? = $ac_status" >&5
d12816 1
a12816 1
echo "$as_me:12220: result: $ac_cv_lib_x_opendir" >&5
d12827 1
a12827 1
echo "$as_me:12231: checking for $ac_header" >&5
d12833 1
a12833 1
#line 12237 "configure"
d12837 1
a12837 1
if { (eval echo "$as_me:12241: \"$ac_cpp conftest.$ac_ext\"") >&5
d12843 1
a12843 1
  echo "$as_me:12247: \$? = $ac_status" >&5
d12862 1
a12862 1
echo "$as_me:12266: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12872 1
a12872 1
echo "$as_me:12276: checking for term.h" >&5
d12893 1
a12893 1
#line 12297 "configure"
d12907 1
a12907 1
if { (eval echo "$as_me:12311: \"$ac_compile\"") >&5
d12910 1
a12910 1
  echo "$as_me:12314: \$? = $ac_status" >&5
d12913 1
a12913 1
  { (eval echo "$as_me:12317: \"$ac_try\"") >&5
d12916 1
a12916 1
  echo "$as_me:12320: \$? = $ac_status" >&5
d12935 1
a12935 1
#line 12339 "configure"
d12953 1
a12953 1
if { (eval echo "$as_me:12357: \"$ac_compile\"") >&5
d12956 1
a12956 1
  echo "$as_me:12360: \$? = $ac_status" >&5
d12959 1
a12959 1
  { (eval echo "$as_me:12363: \"$ac_try\"") >&5
d12962 1
a12962 1
  echo "$as_me:12366: \$? = $ac_status" >&5
d12977 1
a12977 1
echo "$as_me:12381: result: $cf_cv_term_header" >&5
d13001 1
a13001 1
echo "$as_me:12405: checking return type of signal handlers" >&5
d13007 1
a13007 1
#line 12411 "configure"
d13029 1
a13029 1
if { (eval echo "$as_me:12433: \"$ac_compile\"") >&5
d13032 1
a13032 1
  echo "$as_me:12436: \$? = $ac_status" >&5
d13035 1
a13035 1
  { (eval echo "$as_me:12439: \"$ac_try\"") >&5
d13038 1
a13038 1
  echo "$as_me:12442: \$? = $ac_status" >&5
d13048 1
a13048 1
echo "$as_me:12452: result: $ac_cv_type_signal" >&5
d13073 1
a13073 1
echo "$as_me:12477: checking for $ac_func" >&5
d13079 1
a13079 1
#line 12483 "configure"
d13110 1
a13110 1
if { (eval echo "$as_me:12514: \"$ac_link\"") >&5
d13113 1
a13113 1
  echo "$as_me:12517: \$? = $ac_status" >&5
d13116 1
a13116 1
  { (eval echo "$as_me:12520: \"$ac_try\"") >&5
d13119 1
a13119 1
  echo "$as_me:12523: \$? = $ac_status" >&5
d13129 1
a13129 1
echo "$as_me:12533: result: `eval echo '${'$as_ac_var'}'`" >&5
d13139 1
a13139 1
echo "$as_me:12543: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
d13146 1
a13146 1
#line 12550 "configure"
d13168 1
a13168 1
if { (eval echo "$as_me:12572: \"$ac_link\"") >&5
d13171 1
a13171 1
  echo "$as_me:12575: \$? = $ac_status" >&5
d13174 1
a13174 1
  { (eval echo "$as_me:12578: \"$ac_try\"") >&5
d13177 1
a13177 1
  echo "$as_me:12581: \$? = $ac_status" >&5
d13184 1
a13184 1
#line 12588 "configure"
d13206 1
a13206 1
if { (eval echo "$as_me:12610: \"$ac_link\"") >&5
d13209 1
a13209 1
  echo "$as_me:12613: \$? = $ac_status" >&5
d13212 1
a13212 1
  { (eval echo "$as_me:12616: \"$ac_try\"") >&5
d13215 1
a13215 1
  echo "$as_me:12619: \$? = $ac_status" >&5
d13227 1
a13227 1
echo "$as_me:12631: result: $cf_cv_need_xopen_extension" >&5
d13231 1
a13231 1
echo "$as_me:12635: checking for unctrl.h" >&5
d13252 1
a13252 1
#line 12656 "configure"
d13266 1
a13266 1
if { (eval echo "$as_me:12670: \"$ac_compile\"") >&5
d13269 1
a13269 1
  echo "$as_me:12673: \$? = $ac_status" >&5
d13272 1
a13272 1
  { (eval echo "$as_me:12676: \"$ac_try\"") >&5
d13275 1
a13275 1
  echo "$as_me:12679: \$? = $ac_status" >&5
d13289 1
a13289 1
	{ echo "$as_me:12693: WARNING: unctrl.h header not found" >&5
d13295 1
a13295 1
echo "$as_me:12699: result: $cf_cv_unctrl_header" >&5
d13341 1
a13341 1
	echo "$as_me:12745: checking for ${cf_func}" >&5
d13344 1
a13344 1
echo "${as_me:-configure}:12748: testing ${cf_func} ..." 1>&5
d13353 1
a13353 1
#line 12757 "configure"
d13385 1
a13385 1
if { (eval echo "$as_me:12789: \"$ac_link\"") >&5
d13388 1
a13388 1
  echo "$as_me:12792: \$? = $ac_status" >&5
d13391 1
a13391 1
  { (eval echo "$as_me:12795: \"$ac_try\"") >&5
d13394 1
a13394 1
  echo "$as_me:12798: \$? = $ac_status" >&5
d13410 1
a13410 1
	echo "$as_me:12814: result: $cf_result" >&5
d13420 1
a13420 1
echo "$as_me:12824: checking for start_color" >&5
d13426 1
a13426 1
#line 12830 "configure"
d13457 1
a13457 1
if { (eval echo "$as_me:12861: \"$ac_link\"") >&5
d13460 1
a13460 1
  echo "$as_me:12864: \$? = $ac_status" >&5
d13463 1
a13463 1
  { (eval echo "$as_me:12867: \"$ac_try\"") >&5
d13466 1
a13466 1
  echo "$as_me:12870: \$? = $ac_status" >&5
d13476 1
a13476 1
echo "$as_me:12880: result: $ac_cv_func_start_color" >&5
d13485 1
a13485 1
echo "$as_me:12889: checking for chtype typedef" >&5
d13492 1
a13492 1
#line 12896 "configure"
d13504 1
a13504 1
if { (eval echo "$as_me:12908: \"$ac_compile\"") >&5
d13507 1
a13507 1
  echo "$as_me:12911: \$? = $ac_status" >&5
d13510 1
a13510 1
  { (eval echo "$as_me:12914: \"$ac_try\"") >&5
d13513 1
a13513 1
  echo "$as_me:12917: \$? = $ac_status" >&5
d13523 1
a13523 1
echo "$as_me:12927: result: $cf_cv_chtype_decl" >&5
d13530 1
a13530 1
	echo "$as_me:12934: checking if chtype is scalar or struct" >&5
d13537 1
a13537 1
#line 12941 "configure"
d13549 1
a13549 1
if { (eval echo "$as_me:12953: \"$ac_compile\"") >&5
d13552 1
a13552 1
  echo "$as_me:12956: \$? = $ac_status" >&5
d13555 1
a13555 1
  { (eval echo "$as_me:12959: \"$ac_try\"") >&5
d13558 1
a13558 1
  echo "$as_me:12962: \$? = $ac_status" >&5
d13568 1
a13568 1
echo "$as_me:12972: result: $cf_cv_chtype_type" >&5
d13578 1
a13578 1
echo "$as_me:12982: checking for wide alternate character set array" >&5
d13588 1
a13588 1
#line 12992 "configure"
d13604 1
a13604 1
if { (eval echo "$as_me:13008: \"$ac_link\"") >&5
d13607 1
a13607 1
  echo "$as_me:13011: \$? = $ac_status" >&5
d13610 1
a13610 1
  { (eval echo "$as_me:13014: \"$ac_try\"") >&5
d13613 1
a13613 1
  echo "$as_me:13017: \$? = $ac_status" >&5
d13624 1
a13624 1
echo "$as_me:13028: result: $cf_cv_curses_wacs_map" >&5
d13631 1
a13631 1
echo "$as_me:13035: checking for wide alternate character constants" >&5
d13641 1
a13641 1
#line 13045 "configure"
d13658 1
a13658 1
if { (eval echo "$as_me:13062: \"$ac_link\"") >&5
d13661 1
a13661 1
  echo "$as_me:13065: \$? = $ac_status" >&5
d13664 1
a13664 1
  { (eval echo "$as_me:13068: \"$ac_try\"") >&5
d13667 1
a13667 1
  echo "$as_me:13071: \$? = $ac_status" >&5
d13677 1
a13677 1
#line 13081 "configure"
d13693 1
a13693 1
if { (eval echo "$as_me:13097: \"$ac_link\"") >&5
d13696 1
a13696 1
  echo "$as_me:13100: \$? = $ac_status" >&5
d13699 1
a13699 1
  { (eval echo "$as_me:13103: \"$ac_try\"") >&5
d13702 1
a13702 1
  echo "$as_me:13106: \$? = $ac_status" >&5
d13713 1
a13713 1
echo "$as_me:13117: result: $cf_cv_curses_wacs_symbols" >&5
d13720 130
d13853 1
a13853 1
echo "$as_me:13127: checking for $ac_header" >&5
d13859 1
a13859 1
#line 13133 "configure"
d13863 1
a13863 1
if { (eval echo "$as_me:13137: \"$ac_cpp conftest.$ac_ext\"") >&5
d13869 1
a13869 1
  echo "$as_me:13143: \$? = $ac_status" >&5
d13888 1
a13888 1
echo "$as_me:13162: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13909 1
a13909 1
echo "$as_me:13183: checking for $ac_header" >&5
d13915 1
a13915 1
#line 13189 "configure"
d13919 1
a13919 1
if { (eval echo "$as_me:13193: \"$ac_cpp conftest.$ac_ext\"") >&5
d13925 1
a13925 1
  echo "$as_me:13199: \$? = $ac_status" >&5
d13944 1
a13944 1
echo "$as_me:13218: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13957 1
a13957 1
echo "$as_me:13231: checking for $ac_header" >&5
d13963 1
a13963 1
#line 13237 "configure"
d13967 1
a13967 1
if { (eval echo "$as_me:13241: \"$ac_cpp conftest.$ac_ext\"") >&5
d13973 1
a13973 1
  echo "$as_me:13247: \$? = $ac_status" >&5
d13992 1
a13992 1
echo "$as_me:13266: result: `eval echo '${'$as_ac_Header'}'`" >&5
d14014 1
a14014 1
echo "$as_me:13288: checking for union wait" >&5
d14021 1
a14021 1
#line 13295 "configure"
d14037 1
a14037 1
if { (eval echo "$as_me:13311: \"$ac_link\"") >&5
d14040 1
a14040 1
  echo "$as_me:13314: \$? = $ac_status" >&5
d14043 1
a14043 1
  { (eval echo "$as_me:13317: \"$ac_try\"") >&5
d14046 1
a14046 1
  echo "$as_me:13320: \$? = $ac_status" >&5
d14056 1
a14056 1
#line 13330 "configure"
d14076 1
a14076 1
if { (eval echo "$as_me:13350: \"$ac_link\"") >&5
d14079 1
a14079 1
  echo "$as_me:13353: \$? = $ac_status" >&5
d14082 1
a14082 1
  { (eval echo "$as_me:13356: \"$ac_try\"") >&5
d14085 1
a14085 1
  echo "$as_me:13359: \$? = $ac_status" >&5
d14100 1
a14100 1
echo "$as_me:13374: result: $cf_cv_type_unionwait" >&5
d14108 1
a14108 1
	echo "$as_me:13382: checking if union wait can be used as wait-arg" >&5
d14115 1
a14115 1
#line 13389 "configure"
d14127 1
a14127 1
if { (eval echo "$as_me:13401: \"$ac_compile\"") >&5
d14130 1
a14130 1
  echo "$as_me:13404: \$? = $ac_status" >&5
d14133 1
a14133 1
  { (eval echo "$as_me:13407: \"$ac_try\"") >&5
d14136 1
a14136 1
  echo "$as_me:13410: \$? = $ac_status" >&5
d14148 1
a14148 1
	echo "$as_me:13422: result: $cf_cv_arg_union_wait" >&5
d14154 1
a14154 1
	echo "$as_me:13428: checking if union wait can be used as waitpid-arg" >&5
d14161 1
a14161 1
#line 13435 "configure"
d14173 1
a14173 1
if { (eval echo "$as_me:13447: \"$ac_compile\"") >&5
d14176 1
a14176 1
  echo "$as_me:13450: \$? = $ac_status" >&5
d14179 1
a14179 1
  { (eval echo "$as_me:13453: \"$ac_try\"") >&5
d14182 1
a14182 1
  echo "$as_me:13456: \$? = $ac_status" >&5
d14194 1
a14194 1
	echo "$as_me:13468: result: $cf_cv_arg_union_waitpid" >&5
d14202 1
a14202 1
echo "$as_me:13476: checking if we must include wchar.h to declare mbstate_t" >&5
d14209 1
a14209 1
#line 13483 "configure"
d14226 1
a14226 1
if { (eval echo "$as_me:13500: \"$ac_compile\"") >&5
d14229 1
a14229 1
  echo "$as_me:13503: \$? = $ac_status" >&5
d14232 1
a14232 1
  { (eval echo "$as_me:13506: \"$ac_try\"") >&5
d14235 1
a14235 1
  echo "$as_me:13509: \$? = $ac_status" >&5
d14242 1
a14242 1
#line 13516 "configure"
d14260 1
a14260 1
if { (eval echo "$as_me:13534: \"$ac_compile\"") >&5
d14263 1
a14263 1
  echo "$as_me:13537: \$? = $ac_status" >&5
d14266 1
a14266 1
  { (eval echo "$as_me:13540: \"$ac_try\"") >&5
d14269 1
a14269 1
  echo "$as_me:13543: \$? = $ac_status" >&5
d14281 1
a14281 1
echo "$as_me:13555: result: $cf_cv_mbstate_t" >&5
d14304 1
a14304 1
#line 13578 "configure"
d14316 1
a14316 1
if { (eval echo "$as_me:13590: \"$ac_link\"") >&5
d14319 1
a14319 1
  echo "$as_me:13593: \$? = $ac_status" >&5
d14322 1
a14322 1
  { (eval echo "$as_me:13596: \"$ac_try\"") >&5
d14325 1
a14325 1
  echo "$as_me:13599: \$? = $ac_status" >&5
d14338 1
a14338 1
echo "$as_me:13612: checking for an rpath option" >&5
d14354 1
a14354 1
freebsd*) #(vi
d14369 1
a14369 1
echo "$as_me:13643: result: $LD_RPATH_OPT" >&5
d14374 1
a14374 1
	echo "$as_me:13648: checking if we need a space after rpath option" >&5
d14379 1
a14379 1
#line 13653 "configure"
d14391 1
a14391 1
if { (eval echo "$as_me:13665: \"$ac_link\"") >&5
d14394 1
a14394 1
  echo "$as_me:13668: \$? = $ac_status" >&5
d14397 1
a14397 1
  { (eval echo "$as_me:13671: \"$ac_try\"") >&5
d14400 1
a14400 1
  echo "$as_me:13674: \$? = $ac_status" >&5
d14410 1
a14410 1
	echo "$as_me:13684: result: $cf_rpath_space" >&5
d14416 1
a14416 1
echo "$as_me:13690: checking if rpath-hack should be disabled" >&5
d14433 1
a14433 1
echo "$as_me:13707: result: $cf_disable_rpath_hack" >&5
d14437 1
a14437 1
echo "$as_me:13711: checking for updated LDFLAGS" >&5
d14440 1
a14440 1
	echo "$as_me:13714: result: maybe" >&5
d14447 1
a14447 1
echo "$as_me:13721: checking for $ac_word" >&5
d14462 1
a14462 1
echo "$as_me:13736: found $ac_dir/$ac_word" >&5
d14470 1
a14470 1
  echo "$as_me:13744: result: $cf_ldd_prog" >&5
d14473 1
a14473 1
  echo "$as_me:13747: result: no" >&5
d14487 1
a14487 1
#line 13761 "configure"
d14499 1
a14499 1
if { (eval echo "$as_me:13773: \"$ac_link\"") >&5
d14502 1
a14502 1
  echo "$as_me:13776: \$? = $ac_status" >&5
d14505 1
a14505 1
  { (eval echo "$as_me:13779: \"$ac_try\"") >&5
d14508 1
a14508 1
  echo "$as_me:13782: \$? = $ac_status" >&5
d14536 1
a14536 1
echo "${as_me:-configure}:13810: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
d14548 1
a14548 1
echo "${as_me:-configure}:13822: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d14552 1
a14552 1
echo "${as_me:-configure}:13826: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
d14589 1
a14589 1
echo "${as_me:-configure}:13863: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d14602 1
a14602 1
echo "${as_me:-configure}:13876: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
d14606 1
a14606 1
echo "${as_me:-configure}:13880: testing ...checking LIBS $LIBS ..." 1>&5
d14643 1
a14643 1
echo "${as_me:-configure}:13917: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d14656 1
a14656 1
echo "${as_me:-configure}:13930: testing ...checked LIBS $LIBS ..." 1>&5
d14660 1
a14660 1
echo "${as_me:-configure}:13934: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d14747 1
a14747 1
{ echo "$as_me:14021: creating $CONFIG_STATUS" >&5
d14923 1
a14923 1
    { { echo "$as_me:14197: error: ambiguous option: $1
d14942 1
a14942 1
  -*) { { echo "$as_me:14216: error: unrecognized option: $1
d14992 1
a14992 1
  *) { { echo "$as_me:14266: error: invalid argument: $ac_config_target" >&5
d15089 2
d15166 1
d15286 1
a15286 1
    { echo "$as_me:14557: creating $ac_file" >&5
d15304 1
a15304 1
         test -f "$f" || { { echo "$as_me:14575: error: cannot find input file: $f" >&5
d15317 1
a15317 1
           { { echo "$as_me:14588: error: cannot find input file: $f" >&5
d15383 1
a15383 1
  test x"$ac_file" != x- && { echo "$as_me:14654: creating $ac_file" >&5
d15394 1
a15394 1
         test -f "$f" || { { echo "$as_me:14665: error: cannot find input file: $f" >&5
d15407 1
a15407 1
           { { echo "$as_me:14678: error: cannot find input file: $f" >&5
d15465 1
a15465 1
      { echo "$as_me:14736: $ac_file is unchanged" >&5
@


1.2
log
@SVN rev 220749 on 2011-04-17 17:28:17Z by nwhitehorn

Update dialog to version 1.1-20110302.
@
text
@d2465 1
a2465 1
		cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | sed -e 's,[ 	]*$,,'`
d2835 3
d2863 1
a2863 1
echo "$as_me:2860: checking if we must define _GNU_SOURCE" >&5
d2870 1
a2870 1
#line 2867 "configure"
d2885 1
a2885 1
if { (eval echo "$as_me:2882: \"$ac_compile\"") >&5
d2888 1
a2888 1
  echo "$as_me:2885: \$? = $ac_status" >&5
d2891 1
a2891 1
  { (eval echo "$as_me:2888: \"$ac_try\"") >&5
d2894 1
a2894 1
  echo "$as_me:2891: \$? = $ac_status" >&5
d2903 1
a2903 1
#line 2900 "configure"
d2918 1
a2918 1
if { (eval echo "$as_me:2915: \"$ac_compile\"") >&5
d2921 1
a2921 1
  echo "$as_me:2918: \$? = $ac_status" >&5
d2924 1
a2924 1
  { (eval echo "$as_me:2921: \"$ac_try\"") >&5
d2927 1
a2927 1
  echo "$as_me:2924: \$? = $ac_status" >&5
d2942 1
a2942 1
echo "$as_me:2939: result: $cf_cv_gnu_source" >&5
d2972 1
a2972 1
	echo "$as_me:2969: checking if we should define _XOPEN_SOURCE" >&5
d2979 1
a2979 1
#line 2976 "configure"
d2994 1
a2994 1
if { (eval echo "$as_me:2991: \"$ac_compile\"") >&5
d2997 1
a2997 1
  echo "$as_me:2994: \$? = $ac_status" >&5
d3000 1
a3000 1
  { (eval echo "$as_me:2997: \"$ac_try\"") >&5
d3003 1
a3003 1
  echo "$as_me:3000: \$? = $ac_status" >&5
d3012 1
a3012 1
#line 3009 "configure"
d3027 1
a3027 1
if { (eval echo "$as_me:3024: \"$ac_compile\"") >&5
d3030 1
a3030 1
  echo "$as_me:3027: \$? = $ac_status" >&5
d3033 1
a3033 1
  { (eval echo "$as_me:3030: \"$ac_try\"") >&5
d3036 1
a3036 1
  echo "$as_me:3033: \$? = $ac_status" >&5
d3051 1
a3051 1
echo "$as_me:3048: result: $cf_cv_xopen_source" >&5
d3158 1
a3158 1
echo "$as_me:3155: checking if we should define _POSIX_C_SOURCE" >&5
d3164 1
a3164 1
echo "${as_me:-configure}:3161: testing if the symbol is already defined go no further ..." 1>&5
d3167 1
a3167 1
#line 3164 "configure"
d3182 1
a3182 1
if { (eval echo "$as_me:3179: \"$ac_compile\"") >&5
d3185 1
a3185 1
  echo "$as_me:3182: \$? = $ac_status" >&5
d3188 1
a3188 1
  { (eval echo "$as_me:3185: \"$ac_try\"") >&5
d3191 1
a3191 1
  echo "$as_me:3188: \$? = $ac_status" >&5
d3212 1
a3212 1
#line 3209 "configure"
d3227 1
a3227 1
if { (eval echo "$as_me:3224: \"$ac_compile\"") >&5
d3230 1
a3230 1
  echo "$as_me:3227: \$? = $ac_status" >&5
d3233 1
a3233 1
  { (eval echo "$as_me:3230: \"$ac_try\"") >&5
d3236 1
a3236 1
  echo "$as_me:3233: \$? = $ac_status" >&5
d3247 1
a3247 1
echo "${as_me:-configure}:3244: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
d3252 1
a3252 1
echo "${as_me:-configure}:3249: testing if the second compile does not leave our definition intact error ..." 1>&5
d3255 1
a3255 1
#line 3252 "configure"
d3270 1
a3270 1
if { (eval echo "$as_me:3267: \"$ac_compile\"") >&5
d3273 1
a3273 1
  echo "$as_me:3270: \$? = $ac_status" >&5
d3276 1
a3276 1
  { (eval echo "$as_me:3273: \"$ac_try\"") >&5
d3279 1
a3279 1
  echo "$as_me:3276: \$? = $ac_status" >&5
d3295 1
a3295 1
echo "$as_me:3292: result: $cf_cv_posix_c_source" >&5
d3474 1
a3474 1
  echo "$as_me:3471: checking for special C compiler options needed for large files" >&5
d3486 1
a3486 1
#line 3483 "configure"
d3506 1
a3506 1
if { (eval echo "$as_me:3503: \"$ac_compile\"") >&5
d3509 1
a3509 1
  echo "$as_me:3506: \$? = $ac_status" >&5
d3512 1
a3512 1
  { (eval echo "$as_me:3509: \"$ac_try\"") >&5
d3515 1
a3515 1
  echo "$as_me:3512: \$? = $ac_status" >&5
d3525 1
a3525 1
if { (eval echo "$as_me:3522: \"$ac_compile\"") >&5
d3528 1
a3528 1
  echo "$as_me:3525: \$? = $ac_status" >&5
d3531 1
a3531 1
  { (eval echo "$as_me:3528: \"$ac_try\"") >&5
d3534 1
a3534 1
  echo "$as_me:3531: \$? = $ac_status" >&5
d3548 1
a3548 1
echo "$as_me:3545: result: $ac_cv_sys_largefile_CC" >&5
d3554 1
a3554 1
  echo "$as_me:3551: checking for _FILE_OFFSET_BITS value needed for large files" >&5
d3562 1
a3562 1
#line 3559 "configure"
d3582 1
a3582 1
if { (eval echo "$as_me:3579: \"$ac_compile\"") >&5
d3585 1
a3585 1
  echo "$as_me:3582: \$? = $ac_status" >&5
d3588 1
a3588 1
  { (eval echo "$as_me:3585: \"$ac_try\"") >&5
d3591 1
a3591 1
  echo "$as_me:3588: \$? = $ac_status" >&5
d3600 1
a3600 1
#line 3597 "configure"
d3621 1
a3621 1
if { (eval echo "$as_me:3618: \"$ac_compile\"") >&5
d3624 1
a3624 1
  echo "$as_me:3621: \$? = $ac_status" >&5
d3627 1
a3627 1
  { (eval echo "$as_me:3624: \"$ac_try\"") >&5
d3630 1
a3630 1
  echo "$as_me:3627: \$? = $ac_status" >&5
d3641 1
a3641 1
echo "$as_me:3638: result: $ac_cv_sys_file_offset_bits" >&5
d3651 1
a3651 1
  echo "$as_me:3648: checking for _LARGE_FILES value needed for large files" >&5
d3659 1
a3659 1
#line 3656 "configure"
d3679 1
a3679 1
if { (eval echo "$as_me:3676: \"$ac_compile\"") >&5
d3682 1
a3682 1
  echo "$as_me:3679: \$? = $ac_status" >&5
d3685 1
a3685 1
  { (eval echo "$as_me:3682: \"$ac_try\"") >&5
d3688 1
a3688 1
  echo "$as_me:3685: \$? = $ac_status" >&5
d3697 1
a3697 1
#line 3694 "configure"
d3718 1
a3718 1
if { (eval echo "$as_me:3715: \"$ac_compile\"") >&5
d3721 1
a3721 1
  echo "$as_me:3718: \$? = $ac_status" >&5
d3724 1
a3724 1
  { (eval echo "$as_me:3721: \"$ac_try\"") >&5
d3727 1
a3727 1
  echo "$as_me:3724: \$? = $ac_status" >&5
d3738 1
a3738 1
echo "$as_me:3735: result: $ac_cv_sys_large_files" >&5
d3751 1
a3751 1
	echo "$as_me:3748: checking for _LARGEFILE_SOURCE value needed for large files" >&5
d3759 1
a3759 1
#line 3756 "configure"
d3771 1
a3771 1
if { (eval echo "$as_me:3768: \"$ac_compile\"") >&5
d3774 1
a3774 1
  echo "$as_me:3771: \$? = $ac_status" >&5
d3777 1
a3777 1
  { (eval echo "$as_me:3774: \"$ac_try\"") >&5
d3780 1
a3780 1
  echo "$as_me:3777: \$? = $ac_status" >&5
d3789 1
a3789 1
#line 3786 "configure"
d3802 1
a3802 1
if { (eval echo "$as_me:3799: \"$ac_compile\"") >&5
d3805 1
a3805 1
  echo "$as_me:3802: \$? = $ac_status" >&5
d3808 1
a3808 1
  { (eval echo "$as_me:3805: \"$ac_try\"") >&5
d3811 1
a3811 1
  echo "$as_me:3808: \$? = $ac_status" >&5
d3822 1
a3822 1
echo "$as_me:3819: result: $ac_cv_sys_largefile_source" >&5
d3836 1
a3836 1
echo "$as_me:3833: checking for fseeko" >&5
d3842 1
a3842 1
#line 3839 "configure"
d3854 1
a3854 1
if { (eval echo "$as_me:3851: \"$ac_link\"") >&5
d3857 1
a3857 1
  echo "$as_me:3854: \$? = $ac_status" >&5
d3860 1
a3860 1
  { (eval echo "$as_me:3857: \"$ac_try\"") >&5
d3863 1
a3863 1
  echo "$as_me:3860: \$? = $ac_status" >&5
d3873 1
a3873 1
echo "$as_me:3870: result: $ac_cv_func_fseeko" >&5
d3894 1
a3894 1
	echo "$as_me:3891: checking whether to use struct dirent64" >&5
d3901 1
a3901 1
#line 3898 "configure"
d3922 1
a3922 1
if { (eval echo "$as_me:3919: \"$ac_compile\"") >&5
d3925 1
a3925 1
  echo "$as_me:3922: \$? = $ac_status" >&5
d3928 1
a3928 1
  { (eval echo "$as_me:3925: \"$ac_try\"") >&5
d3931 1
a3931 1
  echo "$as_me:3928: \$? = $ac_status" >&5
d3942 1
a3942 1
echo "$as_me:3939: result: $cf_cv_struct_dirent64" >&5
d3952 1
a3952 1
	echo "$as_me:3949: checking version of $CC" >&5
d3956 1
a3956 1
	echo "$as_me:3953: result: $GCC_VERSION" >&5
d3962 1
a3962 1
echo "$as_me:3959: checking if you want to check for gcc warnings" >&5
d3972 1
a3972 1
echo "$as_me:3969: result: $cf_opt_with_warnings" >&5
d3994 1
a3994 1
	{ echo "$as_me:3991: checking for $CC __attribute__ directives..." >&5
d3997 1
a3997 1
#line 3994 "${as_me:-configure}"
d4046 1
a4046 1
		if { (eval echo "$as_me:4043: \"$ac_compile\"") >&5
d4049 1
a4049 1
  echo "$as_me:4046: \$? = $ac_status" >&5
d4051 1
a4051 1
			test -n "$verbose" && echo "$as_me:4048: result: ... $cf_attribute" >&5
d4091 1
a4091 1
		echo "$as_me:4088: checking if this is really Intel C compiler" >&5
d4096 1
a4096 1
#line 4093 "configure"
d4113 1
a4113 1
if { (eval echo "$as_me:4110: \"$ac_compile\"") >&5
d4116 1
a4116 1
  echo "$as_me:4113: \$? = $ac_status" >&5
d4119 1
a4119 1
  { (eval echo "$as_me:4116: \"$ac_try\"") >&5
d4122 1
a4122 1
  echo "$as_me:4119: \$? = $ac_status" >&5
d4133 1
a4133 1
		echo "$as_me:4130: result: $INTEL_COMPILER" >&5
d4140 1
a4140 1
#line 4137 "${as_me:-configure}"
d4157 1
a4157 1
	{ echo "$as_me:4154: checking for $CC warning options..." >&5
d4173 1
a4173 1
		if { (eval echo "$as_me:4170: \"$ac_compile\"") >&5
d4176 1
a4176 1
  echo "$as_me:4173: \$? = $ac_status" >&5
d4178 1
a4178 1
			test -n "$verbose" && echo "$as_me:4175: result: ... -$cf_opt" >&5
d4187 1
a4187 1
	{ echo "$as_me:4184: checking for $CC warning options..." >&5
d4207 1
a4207 1
		if { (eval echo "$as_me:4204: \"$ac_compile\"") >&5
d4210 1
a4210 1
  echo "$as_me:4207: \$? = $ac_status" >&5
d4212 1
a4212 1
			test -n "$verbose" && echo "$as_me:4209: result: ... -$cf_opt" >&5
d4223 1
a4223 1
echo "${as_me:-configure}:4220: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
d4248 1
a4248 1
	echo "$as_me:4245: checking for package version" >&5
d4260 1
a4260 1
	test -z "$VERSION_MAJOR" && { { echo "$as_me:4257: error: missing major-version" >&5
d4265 1
a4265 1
	test -z "$VERSION_MINOR" && { { echo "$as_me:4262: error: missing minor-version" >&5
d4269 1
a4269 1
	echo "$as_me:4266: result: ${VERSION_MAJOR}.${VERSION_MINOR}" >&5
d4272 1
a4272 1
	echo "$as_me:4269: checking for package patch date" >&5
d4277 1
a4277 1
		{ { echo "$as_me:4274: error: missing patch-date $VERSION_PATCH" >&5
d4284 1
a4284 1
		{ { echo "$as_me:4281: error: illegal patch-date $VERSION_PATCH" >&5
d4289 1
a4289 1
	echo "$as_me:4286: result: $VERSION_PATCH" >&5
d4292 1
a4292 1
	{ { echo "$as_me:4289: error: did not find $srcdir/VERSION" >&5
d4300 1
a4300 1
echo "${as_me:-configure}:4297: testing VERSION $VERSION ..." 1>&5
d4304 1
a4304 1
echo "${as_me:-configure}:4301: testing VERSION_MAJOR $VERSION_MAJOR ..." 1>&5
d4308 1
a4308 1
echo "${as_me:-configure}:4305: testing VERSION_MINOR $VERSION_MINOR ..." 1>&5
d4312 1
a4312 1
echo "${as_me:-configure}:4309: testing VERSION_PATCH $VERSION_PATCH ..." 1>&5
d4339 1
a4339 1
echo "$as_me:4336: checking for ANSI C header files" >&5
d4345 1
a4345 1
#line 4342 "configure"
d4353 1
a4353 1
if { (eval echo "$as_me:4350: \"$ac_cpp conftest.$ac_ext\"") >&5
d4359 1
a4359 1
  echo "$as_me:4356: \$? = $ac_status" >&5
d4381 1
a4381 1
#line 4378 "configure"
d4399 1
a4399 1
#line 4396 "configure"
d4420 1
a4420 1
#line 4417 "configure"
d4446 1
a4446 1
if { (eval echo "$as_me:4443: \"$ac_link\"") >&5
d4449 1
a4449 1
  echo "$as_me:4446: \$? = $ac_status" >&5
d4451 1
a4451 1
  { (eval echo "$as_me:4448: \"$ac_try\"") >&5
d4454 1
a4454 1
  echo "$as_me:4451: \$? = $ac_status" >&5
d4467 1
a4467 1
echo "$as_me:4464: result: $ac_cv_header_stdc" >&5
d4477 1
a4477 1
echo "$as_me:4474: checking for inline" >&5
d4485 1
a4485 1
#line 4482 "configure"
d4494 1
a4494 1
if { (eval echo "$as_me:4491: \"$ac_compile\"") >&5
d4497 1
a4497 1
  echo "$as_me:4494: \$? = $ac_status" >&5
d4500 1
a4500 1
  { (eval echo "$as_me:4497: \"$ac_try\"") >&5
d4503 1
a4503 1
  echo "$as_me:4500: \$? = $ac_status" >&5
d4514 1
a4514 1
echo "$as_me:4511: result: $ac_cv_c_inline" >&5
d4535 1
a4535 1
echo "$as_me:4532: checking for $ac_header" >&5
d4541 1
a4541 1
#line 4538 "configure"
d4547 1
a4547 1
if { (eval echo "$as_me:4544: \"$ac_compile\"") >&5
d4550 1
a4550 1
  echo "$as_me:4547: \$? = $ac_status" >&5
d4553 1
a4553 1
  { (eval echo "$as_me:4550: \"$ac_try\"") >&5
d4556 1
a4556 1
  echo "$as_me:4553: \$? = $ac_status" >&5
d4566 1
a4566 1
echo "$as_me:4563: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4576 1
a4576 1
echo "$as_me:4573: checking for off_t" >&5
d4582 1
a4582 1
#line 4579 "configure"
d4597 1
a4597 1
if { (eval echo "$as_me:4594: \"$ac_compile\"") >&5
d4600 1
a4600 1
  echo "$as_me:4597: \$? = $ac_status" >&5
d4603 1
a4603 1
  { (eval echo "$as_me:4600: \"$ac_try\"") >&5
d4606 1
a4606 1
  echo "$as_me:4603: \$? = $ac_status" >&5
d4616 1
a4616 1
echo "$as_me:4613: result: $ac_cv_type_off_t" >&5
d4628 1
a4628 1
echo "$as_me:4625: checking for size_t" >&5
d4634 1
a4634 1
#line 4631 "configure"
d4649 1
a4649 1
if { (eval echo "$as_me:4646: \"$ac_compile\"") >&5
d4652 1
a4652 1
  echo "$as_me:4649: \$? = $ac_status" >&5
d4655 1
a4655 1
  { (eval echo "$as_me:4652: \"$ac_try\"") >&5
d4658 1
a4658 1
  echo "$as_me:4655: \$? = $ac_status" >&5
d4668 1
a4668 1
echo "$as_me:4665: result: $ac_cv_type_size_t" >&5
d4682 1
a4682 1
echo "$as_me:4679: checking for working alloca.h" >&5
d4688 1
a4688 1
#line 4685 "configure"
d4700 1
a4700 1
if { (eval echo "$as_me:4697: \"$ac_link\"") >&5
d4703 1
a4703 1
  echo "$as_me:4700: \$? = $ac_status" >&5
d4706 1
a4706 1
  { (eval echo "$as_me:4703: \"$ac_try\"") >&5
d4709 1
a4709 1
  echo "$as_me:4706: \$? = $ac_status" >&5
d4719 1
a4719 1
echo "$as_me:4716: result: $ac_cv_working_alloca_h" >&5
d4729 1
a4729 1
echo "$as_me:4726: checking for alloca" >&5
d4735 1
a4735 1
#line 4732 "configure"
d4767 1
a4767 1
if { (eval echo "$as_me:4764: \"$ac_link\"") >&5
d4770 1
a4770 1
  echo "$as_me:4767: \$? = $ac_status" >&5
d4773 1
a4773 1
  { (eval echo "$as_me:4770: \"$ac_try\"") >&5
d4776 1
a4776 1
  echo "$as_me:4773: \$? = $ac_status" >&5
d4786 1
a4786 1
echo "$as_me:4783: result: $ac_cv_func_alloca_works" >&5
d4807 1
a4807 1
echo "$as_me:4804: checking whether \`alloca.c' needs Cray hooks" >&5
d4813 1
a4813 1
#line 4810 "configure"
d4831 1
a4831 1
echo "$as_me:4828: result: $ac_cv_os_cray" >&5
d4836 1
a4836 1
echo "$as_me:4833: checking for $ac_func" >&5
d4842 1
a4842 1
#line 4839 "configure"
d4873 1
a4873 1
if { (eval echo "$as_me:4870: \"$ac_link\"") >&5
d4876 1
a4876 1
  echo "$as_me:4873: \$? = $ac_status" >&5
d4879 1
a4879 1
  { (eval echo "$as_me:4876: \"$ac_try\"") >&5
d4882 1
a4882 1
  echo "$as_me:4879: \$? = $ac_status" >&5
d4892 1
a4892 1
echo "$as_me:4889: result: `eval echo '${'$as_ac_var'}'`" >&5
d4906 1
a4906 1
echo "$as_me:4903: checking stack direction for C alloca" >&5
d4915 1
a4915 1
#line 4912 "configure"
d4938 1
a4938 1
if { (eval echo "$as_me:4935: \"$ac_link\"") >&5
d4941 1
a4941 1
  echo "$as_me:4938: \$? = $ac_status" >&5
d4943 1
a4943 1
  { (eval echo "$as_me:4940: \"$ac_try\"") >&5
d4946 1
a4946 1
  echo "$as_me:4943: \$? = $ac_status" >&5
d4958 1
a4958 1
echo "$as_me:4955: result: $ac_cv_c_stack_direction" >&5
d4970 1
a4970 1
echo "$as_me:4967: checking for $ac_header" >&5
d4976 1
a4976 1
#line 4973 "configure"
d4980 1
a4980 1
if { (eval echo "$as_me:4977: \"$ac_cpp conftest.$ac_ext\"") >&5
d4986 1
a4986 1
  echo "$as_me:4983: \$? = $ac_status" >&5
d5005 1
a5005 1
echo "$as_me:5002: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5018 1
a5018 1
echo "$as_me:5015: checking for $ac_func" >&5
d5024 1
a5024 1
#line 5021 "configure"
d5055 1
a5055 1
if { (eval echo "$as_me:5052: \"$ac_link\"") >&5
d5058 1
a5058 1
  echo "$as_me:5055: \$? = $ac_status" >&5
d5061 1
a5061 1
  { (eval echo "$as_me:5058: \"$ac_try\"") >&5
d5064 1
a5064 1
  echo "$as_me:5061: \$? = $ac_status" >&5
d5074 1
a5074 1
echo "$as_me:5071: result: `eval echo '${'$as_ac_var'}'`" >&5
d5084 1
a5084 1
echo "$as_me:5081: checking for working mmap" >&5
d5093 1
a5093 1
#line 5090 "configure"
d5220 1
a5220 1
if { (eval echo "$as_me:5217: \"$ac_link\"") >&5
d5223 1
a5223 1
  echo "$as_me:5220: \$? = $ac_status" >&5
d5225 1
a5225 1
  { (eval echo "$as_me:5222: \"$ac_try\"") >&5
d5228 1
a5228 1
  echo "$as_me:5225: \$? = $ac_status" >&5
d5240 1
a5240 1
echo "$as_me:5237: result: $ac_cv_func_mmap_fixed_mapped" >&5
d5251 1
a5251 1
    echo "$as_me:5248: checking whether we are using the GNU C Library 2.1 or newer" >&5
d5257 1
a5257 1
#line 5254 "configure"
d5277 1
a5277 1
echo "$as_me:5274: result: $ac_cv_gnu_library_2_1" >&5
d5290 1
a5290 1
	{ { echo "$as_me:5287: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&5
d5307 1
a5307 1
echo "$as_me:5304: checking for $ac_header" >&5
d5313 1
a5313 1
#line 5310 "configure"
d5317 1
a5317 1
if { (eval echo "$as_me:5314: \"$ac_cpp conftest.$ac_ext\"") >&5
d5323 1
a5323 1
  echo "$as_me:5320: \$? = $ac_status" >&5
d5342 1
a5342 1
echo "$as_me:5339: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5357 1
a5357 1
echo "$as_me:5354: checking for $ac_func" >&5
d5363 1
a5363 1
#line 5360 "configure"
d5394 1
a5394 1
if { (eval echo "$as_me:5391: \"$ac_link\"") >&5
d5397 1
a5397 1
  echo "$as_me:5394: \$? = $ac_status" >&5
d5400 1
a5400 1
  { (eval echo "$as_me:5397: \"$ac_try\"") >&5
d5403 1
a5403 1
  echo "$as_me:5400: \$? = $ac_status" >&5
d5413 1
a5413 1
echo "$as_me:5410: result: `eval echo '${'$as_ac_var'}'`" >&5
d5461 1
a5461 1
#line 5458 "configure"
d5473 1
a5473 1
if { (eval echo "$as_me:5470: \"$ac_compile\"") >&5
d5476 1
a5476 1
  echo "$as_me:5473: \$? = $ac_status" >&5
d5479 1
a5479 1
  { (eval echo "$as_me:5476: \"$ac_try\"") >&5
d5482 1
a5482 1
  echo "$as_me:5479: \$? = $ac_status" >&5
d5499 1
a5499 1
echo "${as_me:-configure}:5496: testing adding $cf_add_incdir to include-path ..." 1>&5
d5540 1
a5540 1
#line 5537 "configure"
d5552 1
a5552 1
if { (eval echo "$as_me:5549: \"$ac_compile\"") >&5
d5555 1
a5555 1
  echo "$as_me:5552: \$? = $ac_status" >&5
d5558 1
a5558 1
  { (eval echo "$as_me:5555: \"$ac_try\"") >&5
d5561 1
a5561 1
  echo "$as_me:5558: \$? = $ac_status" >&5
d5578 1
a5578 1
echo "${as_me:-configure}:5575: testing adding $cf_add_incdir to include-path ..." 1>&5
d5594 1
a5594 1
{ { echo "$as_me:5591: error: cannot find libiconv under $withval" >&5
d5619 1
a5619 1
echo "${as_me:-configure}:5616: testing adding $cf_add_libdir to library-path ..." 1>&5
d5648 1
a5648 1
echo "${as_me:-configure}:5645: testing adding $cf_add_libdir to library-path ..." 1>&5
d5657 1
a5657 1
{ { echo "$as_me:5654: error: cannot find libiconv under $withval" >&5
d5668 1
a5668 1
  echo "$as_me:5665: checking for iconv" >&5
d5679 1
a5679 1
echo "${as_me:-configure}:5676: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5
d5684 1
a5684 1
#line 5681 "configure"
d5703 1
a5703 1
if { (eval echo "$as_me:5700: \"$ac_link\"") >&5
d5706 1
a5706 1
  echo "$as_me:5703: \$? = $ac_status" >&5
d5709 1
a5709 1
  { (eval echo "$as_me:5706: \"$ac_try\"") >&5
d5712 1
a5712 1
  echo "$as_me:5709: \$? = $ac_status" >&5
d5726 1
a5726 1
#line 5723 "configure"
d5745 1
a5745 1
if { (eval echo "$as_me:5742: \"$ac_link\"") >&5
d5748 1
a5748 1
  echo "$as_me:5745: \$? = $ac_status" >&5
d5751 1
a5751 1
  { (eval echo "$as_me:5748: \"$ac_try\"") >&5
d5754 1
a5754 1
  echo "$as_me:5751: \$? = $ac_status" >&5
d5771 1
a5771 1
echo "${as_me:-configure}:5768: testing find linkage for iconv library ..." 1>&5
d5773 1
a5773 1
echo "${as_me:-configure}:5770: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5
d5886 1
a5886 1
echo "${as_me:-configure}:5883: testing ... testing $cf_cv_header_path_iconv ..." 1>&5
d5890 1
a5890 1
#line 5887 "configure"
d5909 1
a5909 1
if { (eval echo "$as_me:5906: \"$ac_compile\"") >&5
d5912 1
a5912 1
  echo "$as_me:5909: \$? = $ac_status" >&5
d5915 1
a5915 1
  { (eval echo "$as_me:5912: \"$ac_try\"") >&5
d5918 1
a5918 1
  echo "$as_me:5915: \$? = $ac_status" >&5
d5923 1
a5923 1
echo "${as_me:-configure}:5920: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5
d5941 1
a5941 1
echo "${as_me:-configure}:5938: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5
d6038 1
a6038 1
echo "${as_me:-configure}:6035: testing ... testing $cf_cv_library_path_iconv ..." 1>&5
d6044 1
a6044 1
#line 6041 "configure"
d6063 1
a6063 1
if { (eval echo "$as_me:6060: \"$ac_link\"") >&5
d6066 1
a6066 1
  echo "$as_me:6063: \$? = $ac_status" >&5
d6069 1
a6069 1
  { (eval echo "$as_me:6066: \"$ac_try\"") >&5
d6072 1
a6072 1
  echo "$as_me:6069: \$? = $ac_status" >&5
d6077 1
a6077 1
echo "${as_me:-configure}:6074: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5
d6117 1
a6117 1
echo "$as_me:6114: result: $am_cv_func_iconv" >&5
d6126 1
a6126 1
    echo "$as_me:6123: checking if the declaration of iconv() needs const." >&5
d6133 1
a6133 1
#line 6130 "configure"
d6158 1
a6158 1
if { (eval echo "$as_me:6155: \"$ac_compile\"") >&5
d6161 1
a6161 1
  echo "$as_me:6158: \$? = $ac_status" >&5
d6164 1
a6164 1
  { (eval echo "$as_me:6161: \"$ac_try\"") >&5
d6167 1
a6167 1
  echo "$as_me:6164: \$? = $ac_status" >&5
d6177 1
a6177 1
echo "$as_me:6174: result: $am_cv_proto_iconv_const" >&5
d6219 1
a6219 1
#line 6216 "configure"
d6231 1
a6231 1
if { (eval echo "$as_me:6228: \"$ac_compile\"") >&5
d6234 1
a6234 1
  echo "$as_me:6231: \$? = $ac_status" >&5
d6237 1
a6237 1
  { (eval echo "$as_me:6234: \"$ac_try\"") >&5
d6240 1
a6240 1
  echo "$as_me:6237: \$? = $ac_status" >&5
d6257 1
a6257 1
echo "${as_me:-configure}:6254: testing adding $cf_add_incdir to include-path ..." 1>&5
d6294 1
a6294 1
echo "${as_me:-configure}:6291: testing adding $cf_add_libdir to library-path ..." 1>&5
d6305 1
a6305 1
  echo "$as_me:6302: checking for nl_langinfo and CODESET" >&5
d6311 1
a6311 1
#line 6308 "configure"
d6323 1
a6323 1
if { (eval echo "$as_me:6320: \"$ac_link\"") >&5
d6326 1
a6326 1
  echo "$as_me:6323: \$? = $ac_status" >&5
d6329 1
a6329 1
  { (eval echo "$as_me:6326: \"$ac_try\"") >&5
d6332 1
a6332 1
  echo "$as_me:6329: \$? = $ac_status" >&5
d6343 1
a6343 1
echo "$as_me:6340: result: $am_cv_langinfo_codeset" >&5
d6354 1
a6354 1
    echo "$as_me:6351: checking for LC_MESSAGES" >&5
d6360 1
a6360 1
#line 6357 "configure"
d6372 1
a6372 1
if { (eval echo "$as_me:6369: \"$ac_link\"") >&5
d6375 1
a6375 1
  echo "$as_me:6372: \$? = $ac_status" >&5
d6378 1
a6378 1
  { (eval echo "$as_me:6375: \"$ac_try\"") >&5
d6381 1
a6381 1
  echo "$as_me:6378: \$? = $ac_status" >&5
d6391 1
a6391 1
echo "$as_me:6388: result: $am_cv_val_LC_MESSAGES" >&5
d6401 1
a6401 1
   echo "$as_me:6398: checking whether NLS is requested" >&5
d6411 1
a6411 1
  echo "$as_me:6408: result: $USE_NLS" >&5
d6424 1
a6424 1
    echo "$as_me:6421: checking whether included gettext is requested" >&5
d6434 1
a6434 1
    echo "$as_me:6431: result: $nls_cv_force_use_gnu_gettext" >&5
d6443 1
a6443 1
      echo "$as_me:6440: checking for libintl.h and gettext()" >&5
d6454 1
a6454 1
echo "${as_me:-configure}:6451: testing Starting FIND_LINKAGE(intl,) ..." 1>&5
d6459 1
a6459 1
#line 6456 "configure"
d6479 1
a6479 1
if { (eval echo "$as_me:6476: \"$ac_link\"") >&5
d6482 1
a6482 1
  echo "$as_me:6479: \$? = $ac_status" >&5
d6485 1
a6485 1
  { (eval echo "$as_me:6482: \"$ac_try\"") >&5
d6488 1
a6488 1
  echo "$as_me:6485: \$? = $ac_status" >&5
d6502 1
a6502 1
#line 6499 "configure"
d6522 1
a6522 1
if { (eval echo "$as_me:6519: \"$ac_link\"") >&5
d6525 1
a6525 1
  echo "$as_me:6522: \$? = $ac_status" >&5
d6528 1
a6528 1
  { (eval echo "$as_me:6525: \"$ac_try\"") >&5
d6531 1
a6531 1
  echo "$as_me:6528: \$? = $ac_status" >&5
d6548 1
a6548 1
echo "${as_me:-configure}:6545: testing find linkage for intl library ..." 1>&5
d6550 1
a6550 1
echo "${as_me:-configure}:6547: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5
d6663 1
a6663 1
echo "${as_me:-configure}:6660: testing ... testing $cf_cv_header_path_intl ..." 1>&5
d6667 1
a6667 1
#line 6664 "configure"
d6687 1
a6687 1
if { (eval echo "$as_me:6684: \"$ac_compile\"") >&5
d6690 1
a6690 1
  echo "$as_me:6687: \$? = $ac_status" >&5
d6693 1
a6693 1
  { (eval echo "$as_me:6690: \"$ac_try\"") >&5
d6696 1
a6696 1
  echo "$as_me:6693: \$? = $ac_status" >&5
d6701 1
a6701 1
echo "${as_me:-configure}:6698: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5
d6719 1
a6719 1
echo "${as_me:-configure}:6716: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5
d6816 1
a6816 1
echo "${as_me:-configure}:6813: testing ... testing $cf_cv_library_path_intl ..." 1>&5
d6822 1
a6822 1
#line 6819 "configure"
d6842 1
a6842 1
if { (eval echo "$as_me:6839: \"$ac_link\"") >&5
d6845 1
a6845 1
  echo "$as_me:6842: \$? = $ac_status" >&5
d6848 1
a6848 1
  { (eval echo "$as_me:6845: \"$ac_try\"") >&5
d6851 1
a6851 1
  echo "$as_me:6848: \$? = $ac_status" >&5
d6856 1
a6856 1
echo "${as_me:-configure}:6853: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5
d6896 1
a6896 1
echo "$as_me:6893: result: $cf_cv_func_gettext" >&5
d6935 1
a6935 1
#line 6932 "configure"
d6947 1
a6947 1
if { (eval echo "$as_me:6944: \"$ac_compile\"") >&5
d6950 1
a6950 1
  echo "$as_me:6947: \$? = $ac_status" >&5
d6953 1
a6953 1
  { (eval echo "$as_me:6950: \"$ac_try\"") >&5
d6956 1
a6956 1
  echo "$as_me:6953: \$? = $ac_status" >&5
d6973 1
a6973 1
echo "${as_me:-configure}:6970: testing adding $cf_add_incdir to include-path ..." 1>&5
d7010 1
a7010 1
echo "${as_me:-configure}:7007: testing adding $cf_add_libdir to library-path ..." 1>&5
d7026 1
a7026 1
echo "$as_me:7023: checking for $ac_func" >&5
d7032 1
a7032 1
#line 7029 "configure"
d7063 1
a7063 1
if { (eval echo "$as_me:7060: \"$ac_link\"") >&5
d7066 1
a7066 1
  echo "$as_me:7063: \$? = $ac_status" >&5
d7069 1
a7069 1
  { (eval echo "$as_me:7066: \"$ac_try\"") >&5
d7072 1
a7072 1
  echo "$as_me:7069: \$? = $ac_status" >&5
d7082 1
a7082 1
echo "$as_me:7079: result: `eval echo '${'$as_ac_var'}'`" >&5
d7097 1
a7097 1
echo "$as_me:7094: checking for $ac_word" >&5
d7124 1
a7124 1
  echo "$as_me:7121: result: $MSGFMT" >&5
d7127 1
a7127 1
  echo "$as_me:7124: result: no" >&5
d7133 1
a7133 1
echo "$as_me:7130: checking for $ac_word" >&5
d7150 1
a7150 1
   echo "$as_me:7147: found $ac_dir/$ac_word" >&5
d7162 1
a7162 1
  echo "$as_me:7159: result: $GMSGFMT" >&5
d7165 1
a7165 1
  echo "$as_me:7162: result: no" >&5
d7172 1
a7172 1
echo "$as_me:7169: checking for $ac_word" >&5
d7199 1
a7199 1
  echo "$as_me:7196: result: $XGETTEXT" >&5
d7202 1
a7202 1
  echo "$as_me:7199: result: no" >&5
d7217 1
a7217 1
        { { echo "$as_me:7214: error: no NLS library is packaged with this application" >&5
d7225 1
a7225 1
echo "$as_me:7222: checking for $ac_word" >&5
d7252 1
a7252 1
  echo "$as_me:7249: result: $MSGFMT" >&5
d7255 1
a7255 1
  echo "$as_me:7252: result: no" >&5
d7261 1
a7261 1
echo "$as_me:7258: checking for $ac_word" >&5
d7278 1
a7278 1
   echo "$as_me:7275: found $ac_dir/$ac_word" >&5
d7290 1
a7290 1
  echo "$as_me:7287: result: $GMSGFMT" >&5
d7293 1
a7293 1
  echo "$as_me:7290: result: no" >&5
d7300 1
a7300 1
echo "$as_me:7297: checking for $ac_word" >&5
d7327 1
a7327 1
  echo "$as_me:7324: result: $XGETTEXT" >&5
d7330 1
a7330 1
  echo "$as_me:7327: result: no" >&5
d7345 1
a7345 1
        echo "$as_me:7342: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
d7355 1
a7355 1
        echo "$as_me:7352: result: found xgettext program is not GNU xgettext; ignore it" >&5
d7375 1
a7375 1
echo "$as_me:7372: checking for $ac_word" >&5
d7390 1
a7390 1
echo "$as_me:7387: found $ac_dir/$ac_word" >&5
d7398 1
a7398 1
  echo "$as_me:7395: result: $INTLBISON" >&5
d7401 1
a7401 1
  echo "$as_me:7398: result: no" >&5
d7411 1
a7411 1
            echo "$as_me:7408: checking version of bison" >&5
d7420 1
a7420 1
    echo "$as_me:7417: result: $ac_prog_version" >&5
d7446 1
a7446 1
       echo "$as_me:7443: checking for catalogs to be installed" >&5
d7466 1
a7466 1
       echo "$as_me:7463: result: $LINGUAS" >&5
d7501 1
a7501 1
echo "$as_me:7498: checking if we should use included message-library" >&5
d7512 1
a7512 1
echo "$as_me:7509: result: $use_our_messages" >&5
d7553 1
a7553 1
echo "$as_me:7550: checking for $ac_header" >&5
d7559 1
a7559 1
#line 7556 "configure"
d7563 1
a7563 1
if { (eval echo "$as_me:7560: \"$ac_cpp conftest.$ac_ext\"") >&5
d7569 1
a7569 1
  echo "$as_me:7566: \$? = $ac_status" >&5
d7588 1
a7588 1
echo "$as_me:7585: result: `eval echo '${'$as_ac_Header'}'`" >&5
d7633 1
a7633 1
echo "$as_me:7630: checking if -lm needed for math functions" >&5
d7640 1
a7640 1
#line 7637 "configure"
d7655 1
a7655 1
if { (eval echo "$as_me:7652: \"$ac_link\"") >&5
d7658 1
a7658 1
  echo "$as_me:7655: \$? = $ac_status" >&5
d7661 1
a7661 1
  { (eval echo "$as_me:7658: \"$ac_try\"") >&5
d7664 1
a7664 1
  echo "$as_me:7661: \$? = $ac_status" >&5
d7674 1
a7674 1
echo "$as_me:7671: result: $cf_cv_need_libm" >&5
d7683 1
a7683 1
echo "$as_me:7680: checking if you want to use dmalloc for testing" >&5
d7699 1
a7699 1
echo "$as_me:7696: result: ${with_dmalloc:-no}" >&5
d7793 1
a7793 1
	echo "$as_me:7790: checking for dmalloc.h" >&5
d7799 1
a7799 1
#line 7796 "configure"
d7803 1
a7803 1
if { (eval echo "$as_me:7800: \"$ac_cpp conftest.$ac_ext\"") >&5
d7809 1
a7809 1
  echo "$as_me:7806: \$? = $ac_status" >&5
d7828 1
a7828 1
echo "$as_me:7825: result: $ac_cv_header_dmalloc_h" >&5
d7832 1
a7832 1
echo "$as_me:7829: checking for dmalloc_debug in -ldmalloc" >&5
d7840 1
a7840 1
#line 7837 "configure"
d7859 1
a7859 1
if { (eval echo "$as_me:7856: \"$ac_link\"") >&5
d7862 1
a7862 1
  echo "$as_me:7859: \$? = $ac_status" >&5
d7865 1
a7865 1
  { (eval echo "$as_me:7862: \"$ac_try\"") >&5
d7868 1
a7868 1
  echo "$as_me:7865: \$? = $ac_status" >&5
d7879 1
a7879 1
echo "$as_me:7876: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
d7894 1
a7894 1
echo "$as_me:7891: checking if you want to use dbmalloc for testing" >&5
d7910 1
a7910 1
echo "$as_me:7907: result: ${with_dbmalloc:-no}" >&5
d8004 1
a8004 1
	echo "$as_me:8001: checking for dbmalloc.h" >&5
d8010 1
a8010 1
#line 8007 "configure"
d8014 1
a8014 1
if { (eval echo "$as_me:8011: \"$ac_cpp conftest.$ac_ext\"") >&5
d8020 1
a8020 1
  echo "$as_me:8017: \$? = $ac_status" >&5
d8039 1
a8039 1
echo "$as_me:8036: result: $ac_cv_header_dbmalloc_h" >&5
d8043 1
a8043 1
echo "$as_me:8040: checking for debug_malloc in -ldbmalloc" >&5
d8051 1
a8051 1
#line 8048 "configure"
d8070 1
a8070 1
if { (eval echo "$as_me:8067: \"$ac_link\"") >&5
d8073 1
a8073 1
  echo "$as_me:8070: \$? = $ac_status" >&5
d8076 1
a8076 1
  { (eval echo "$as_me:8073: \"$ac_try\"") >&5
d8079 1
a8079 1
  echo "$as_me:8076: \$? = $ac_status" >&5
d8090 1
a8090 1
echo "$as_me:8087: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
d8105 1
a8105 1
echo "$as_me:8102: checking if you want to use purify for testing" >&5
d8121 1
a8121 1
echo "$as_me:8118: result: ${with_purify:-no}" >&5
d8214 1
a8214 1
echo "$as_me:8211: checking if you want to use valgrind for testing" >&5
d8230 1
a8230 1
echo "$as_me:8227: result: ${with_valgrind:-no}" >&5
d8323 1
a8323 1
echo "$as_me:8320: checking if you want to perform memory-leak testing" >&5
d8345 1
a8345 1
echo "$as_me:8342: result: $with_no_leaks" >&5
d8348 1
a8348 1
echo "$as_me:8345: checking if you want --trace option" >&5
d8358 1
a8358 1
echo "$as_me:8355: result: $enableval" >&5
d8372 1
a8372 1
echo "$as_me:8369: checking if libtool -version-number should be used" >&5
d8389 1
a8389 1
echo "$as_me:8386: result: $cf_libtool_version" >&5
d8414 1
a8414 1
echo "$as_me:8411: checking if you want to build libraries with libtool" >&5
d8424 1
a8424 1
echo "$as_me:8421: result: $with_libtool" >&5
d8455 1
a8455 1
  { { echo "$as_me:8452: error: expected a pathname, not \"$with_libtool\"" >&5
d8465 1
a8465 1
echo "$as_me:8462: checking for $ac_word" >&5
d8482 1
a8482 1
   echo "$as_me:8479: found $ac_dir/$ac_word" >&5
d8493 1
a8493 1
  echo "$as_me:8490: result: $LIBTOOL" >&5
d8496 1
a8496 1
  echo "$as_me:8493: result: no" >&5
d8502 1
a8502 1
		{ { echo "$as_me:8499: error: Cannot find libtool" >&5
d8506 1
a8506 1
	LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} ${LIBTOOL_VERSION} `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} ${LT_UNDEF} -o'
d8517 1
a8517 1
	echo "$as_me:8514: checking version of libtool" >&5
d8524 1
a8524 1
	echo "$as_me:8521: result: $cf_cv_libtool_version" >&5
d8527 1
a8527 1
		{ { echo "$as_me:8524: error: This is not GNU libtool" >&5
d8561 1
a8561 1
echo "$as_me:8558: checking for additional libtool options" >&5
d8571 1
a8571 1
echo "$as_me:8568: result: $with_libtool_opts" >&5
d8584 1
a8584 1
echo "$as_me:8581: checking for specific curses-directory" >&5
d8594 1
a8594 1
echo "$as_me:8591: result: $cf_cv_curses_dir" >&5
d8625 1
a8625 1
  { { echo "$as_me:8622: error: expected a pathname, not \"$withval\"" >&5
d8658 1
a8658 1
#line 8655 "configure"
d8670 1
a8670 1
if { (eval echo "$as_me:8667: \"$ac_compile\"") >&5
d8673 1
a8673 1
  echo "$as_me:8670: \$? = $ac_status" >&5
d8676 1
a8676 1
  { (eval echo "$as_me:8673: \"$ac_try\"") >&5
d8679 1
a8679 1
  echo "$as_me:8676: \$? = $ac_status" >&5
d8696 1
a8696 1
echo "${as_me:-configure}:8693: testing adding $cf_add_incdir to include-path ..." 1>&5
d8730 1
a8730 1
echo "${as_me:-configure}:8727: testing adding $cf_add_libdir to library-path ..." 1>&5
d8758 1
a8758 1
echo "$as_me:8755: checking for multibyte character support" >&5
d8766 1
a8766 1
#line 8763 "configure"
d8779 1
a8779 1
if { (eval echo "$as_me:8776: \"$ac_link\"") >&5
d8782 1
a8782 1
  echo "$as_me:8779: \$? = $ac_status" >&5
d8785 1
a8785 1
  { (eval echo "$as_me:8782: \"$ac_try\"") >&5
d8788 1
a8788 1
  echo "$as_me:8785: \$? = $ac_status" >&5
d8800 1
a8800 1
echo "${as_me:-configure}:8797: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
d8805 1
a8805 1
#line 8802 "configure"
d8818 1
a8818 1
if { (eval echo "$as_me:8815: \"$ac_link\"") >&5
d8821 1
a8821 1
  echo "$as_me:8818: \$? = $ac_status" >&5
d8824 1
a8824 1
  { (eval echo "$as_me:8821: \"$ac_try\"") >&5
d8827 1
a8827 1
  echo "$as_me:8824: \$? = $ac_status" >&5
d8841 1
a8841 1
#line 8838 "configure"
d8854 1
a8854 1
if { (eval echo "$as_me:8851: \"$ac_link\"") >&5
d8857 1
a8857 1
  echo "$as_me:8854: \$? = $ac_status" >&5
d8860 1
a8860 1
  { (eval echo "$as_me:8857: \"$ac_try\"") >&5
d8863 1
a8863 1
  echo "$as_me:8860: \$? = $ac_status" >&5
d8880 1
a8880 1
echo "${as_me:-configure}:8877: testing find linkage for utf8 library ..." 1>&5
d8882 1
a8882 1
echo "${as_me:-configure}:8879: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
d8995 1
a8995 1
echo "${as_me:-configure}:8992: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
d8999 1
a8999 1
#line 8996 "configure"
d9012 1
a9012 1
if { (eval echo "$as_me:9009: \"$ac_compile\"") >&5
d9015 1
a9015 1
  echo "$as_me:9012: \$? = $ac_status" >&5
d9018 1
a9018 1
  { (eval echo "$as_me:9015: \"$ac_try\"") >&5
d9021 1
a9021 1
  echo "$as_me:9018: \$? = $ac_status" >&5
d9026 1
a9026 1
echo "${as_me:-configure}:9023: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
d9044 1
a9044 1
echo "${as_me:-configure}:9041: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
d9141 1
a9141 1
echo "${as_me:-configure}:9138: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
d9147 1
a9147 1
#line 9144 "configure"
d9160 1
a9160 1
if { (eval echo "$as_me:9157: \"$ac_link\"") >&5
d9163 1
a9163 1
  echo "$as_me:9160: \$? = $ac_status" >&5
d9166 1
a9166 1
  { (eval echo "$as_me:9163: \"$ac_try\"") >&5
d9169 1
a9169 1
  echo "$as_me:9166: \$? = $ac_status" >&5
d9174 1
a9174 1
echo "${as_me:-configure}:9171: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
d9216 1
a9216 1
echo "$as_me:9213: result: $cf_cv_utf8_lib" >&5
d9250 1
a9250 1
#line 9247 "configure"
d9262 1
a9262 1
if { (eval echo "$as_me:9259: \"$ac_compile\"") >&5
d9265 1
a9265 1
  echo "$as_me:9262: \$? = $ac_status" >&5
d9268 1
a9268 1
  { (eval echo "$as_me:9265: \"$ac_try\"") >&5
d9271 1
a9271 1
  echo "$as_me:9268: \$? = $ac_status" >&5
d9288 1
a9288 1
echo "${as_me:-configure}:9285: testing adding $cf_add_incdir to include-path ..." 1>&5
d9322 1
a9322 1
echo "${as_me:-configure}:9319: testing adding $cf_add_libdir to library-path ..." 1>&5
d9342 1
a9342 1
echo "$as_me:9339: checking for $ac_word" >&5
d9359 1
a9359 1
   echo "$as_me:9356: found $ac_dir/$ac_word" >&5
d9370 1
a9370 1
  echo "$as_me:9367: result: $NCURSES_CONFIG" >&5
d9373 1
a9373 1
  echo "$as_me:9370: result: no" >&5
d9388 1
a9388 1
echo "$as_me:9385: checking if we have identified curses headers" >&5
d9396 4
a9399 4
    $use_ncurses/curses.h \
	$use_ncurses/ncurses.h \
	curses.h \
	ncurses.h
d9402 1
a9402 1
#line 9399 "configure"
d9414 1
a9414 1
if { (eval echo "$as_me:9411: \"$ac_compile\"") >&5
d9417 1
a9417 1
  echo "$as_me:9414: \$? = $ac_status" >&5
d9420 1
a9420 1
  { (eval echo "$as_me:9417: \"$ac_try\"") >&5
d9423 1
a9423 1
  echo "$as_me:9420: \$? = $ac_status" >&5
d9434 1
a9434 1
echo "$as_me:9431: result: $cf_cv_ncurses_header" >&5
d9438 1
a9438 1
	{ { echo "$as_me:9435: error: No curses header-files found" >&5
d9448 1
a9448 1
echo "$as_me:9445: checking for $ac_header" >&5
d9454 1
a9454 1
#line 9451 "configure"
d9458 1
a9458 1
if { (eval echo "$as_me:9455: \"$ac_cpp conftest.$ac_ext\"") >&5
d9464 1
a9464 1
  echo "$as_me:9461: \$? = $ac_status" >&5
d9483 1
a9483 1
echo "$as_me:9480: result: `eval echo '${'$as_ac_Header'}'`" >&5
d9536 1
a9536 1
#line 9533 "configure"
d9548 1
a9548 1
if { (eval echo "$as_me:9545: \"$ac_compile\"") >&5
d9551 1
a9551 1
  echo "$as_me:9548: \$? = $ac_status" >&5
d9554 1
a9554 1
  { (eval echo "$as_me:9551: \"$ac_try\"") >&5
d9557 1
a9557 1
  echo "$as_me:9554: \$? = $ac_status" >&5
d9574 1
a9574 1
echo "${as_me:-configure}:9571: testing adding $cf_add_incdir to include-path ..." 1>&5
d9591 1
a9591 1
echo "$as_me:9588: checking for $cf_ncuhdr_root header in include-path" >&5
d9603 1
a9603 1
#line 9600 "configure"
d9627 1
a9627 1
if { (eval echo "$as_me:9624: \"$ac_compile\"") >&5
d9630 1
a9630 1
  echo "$as_me:9627: \$? = $ac_status" >&5
d9633 1
a9633 1
  { (eval echo "$as_me:9630: \"$ac_try\"") >&5
d9636 1
a9636 1
  echo "$as_me:9633: \$? = $ac_status" >&5
d9651 1
a9651 1
echo "$as_me:9648: result: $cf_cv_ncurses_h" >&5
d9658 1
a9658 1
echo "$as_me:9655: checking for $cf_ncuhdr_root include-path" >&5
d9798 1
a9798 1
#line 9795 "configure"
d9810 1
a9810 1
if { (eval echo "$as_me:9807: \"$ac_compile\"") >&5
d9813 1
a9813 1
  echo "$as_me:9810: \$? = $ac_status" >&5
d9816 1
a9816 1
  { (eval echo "$as_me:9813: \"$ac_try\"") >&5
d9819 1
a9819 1
  echo "$as_me:9816: \$? = $ac_status" >&5
d9836 1
a9836 1
echo "${as_me:-configure}:9833: testing adding $cf_add_incdir to include-path ..." 1>&5
d9857 1
a9857 1
#line 9854 "configure"
d9881 1
a9881 1
if { (eval echo "$as_me:9878: \"$ac_compile\"") >&5
d9884 1
a9884 1
  echo "$as_me:9881: \$? = $ac_status" >&5
d9887 1
a9887 1
  { (eval echo "$as_me:9884: \"$ac_try\"") >&5
d9890 1
a9890 1
  echo "$as_me:9887: \$? = $ac_status" >&5
d9911 1
a9911 1
	test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:9908: error: not found" >&5
d9916 1
a9916 1
echo "$as_me:9913: result: $cf_cv_ncurses_h2" >&5
d9949 1
a9949 1
#line 9946 "configure"
d9961 1
a9961 1
if { (eval echo "$as_me:9958: \"$ac_compile\"") >&5
d9964 1
a9964 1
  echo "$as_me:9961: \$? = $ac_status" >&5
d9967 1
a9967 1
  { (eval echo "$as_me:9964: \"$ac_try\"") >&5
d9970 1
a9970 1
  echo "$as_me:9967: \$? = $ac_status" >&5
d9987 1
a9987 1
echo "${as_me:-configure}:9984: testing adding $cf_add_incdir to include-path ..." 1>&5
d10030 1
a10030 1
echo "$as_me:10027: checking for terminfo header" >&5
d10048 1
a10048 1
#line 10045 "configure"
d10063 1
a10063 1
if { (eval echo "$as_me:10060: \"$ac_compile\"") >&5
d10066 1
a10066 1
  echo "$as_me:10063: \$? = $ac_status" >&5
d10069 1
a10069 1
  { (eval echo "$as_me:10066: \"$ac_try\"") >&5
d10072 1
a10072 1
  echo "$as_me:10069: \$? = $ac_status" >&5
d10088 1
a10088 1
echo "$as_me:10085: result: $cf_cv_term_header" >&5
d10122 1
a10122 1
echo "$as_me:10119: checking for ncurses version" >&5
d10148 1
a10148 1
	{ (eval echo "$as_me:10145: \"$cf_try\"") >&5
d10151 1
a10151 1
  echo "$as_me:10148: \$? = $ac_status" >&5
d10161 1
a10161 1
#line 10158 "configure"
d10186 1
a10186 1
if { (eval echo "$as_me:10183: \"$ac_link\"") >&5
d10189 1
a10189 1
  echo "$as_me:10186: \$? = $ac_status" >&5
d10191 1
a10191 1
  { (eval echo "$as_me:10188: \"$ac_try\"") >&5
d10194 1
a10194 1
  echo "$as_me:10191: \$? = $ac_status" >&5
d10208 1
a10208 1
echo "$as_me:10205: result: $cf_cv_ncurses_version" >&5
d10220 1
a10220 1
echo "$as_me:10217: checking for Gpm_Open in -lgpm" >&5
d10228 1
a10228 1
#line 10225 "configure"
d10247 1
a10247 1
if { (eval echo "$as_me:10244: \"$ac_link\"") >&5
d10250 1
a10250 1
  echo "$as_me:10247: \$? = $ac_status" >&5
d10253 1
a10253 1
  { (eval echo "$as_me:10250: \"$ac_try\"") >&5
d10256 1
a10256 1
  echo "$as_me:10253: \$? = $ac_status" >&5
d10267 1
a10267 1
echo "$as_me:10264: result: $ac_cv_lib_gpm_Gpm_Open" >&5
d10270 1
a10270 1
  echo "$as_me:10267: checking for initscr in -lgpm" >&5
d10278 1
a10278 1
#line 10275 "configure"
d10297 1
a10297 1
if { (eval echo "$as_me:10294: \"$ac_link\"") >&5
d10300 1
a10300 1
  echo "$as_me:10297: \$? = $ac_status" >&5
d10303 1
a10303 1
  { (eval echo "$as_me:10300: \"$ac_try\"") >&5
d10306 1
a10306 1
  echo "$as_me:10303: \$? = $ac_status" >&5
d10317 1
a10317 1
echo "$as_me:10314: result: $ac_cv_lib_gpm_initscr" >&5
d10332 1
a10332 1
		echo "$as_me:10329: checking for tgoto in -lmytinfo" >&5
d10340 1
a10340 1
#line 10337 "configure"
d10359 1
a10359 1
if { (eval echo "$as_me:10356: \"$ac_link\"") >&5
d10362 1
a10362 1
  echo "$as_me:10359: \$? = $ac_status" >&5
d10365 1
a10365 1
  { (eval echo "$as_me:10362: \"$ac_try\"") >&5
d10368 1
a10368 1
  echo "$as_me:10365: \$? = $ac_status" >&5
d10379 1
a10379 1
echo "$as_me:10376: result: $ac_cv_lib_mytinfo_tgoto" >&5
d10398 1
a10398 1
	echo "$as_me:10395: checking for initscr" >&5
d10404 1
a10404 1
#line 10401 "configure"
d10435 1
a10435 1
if { (eval echo "$as_me:10432: \"$ac_link\"") >&5
d10438 1
a10438 1
  echo "$as_me:10435: \$? = $ac_status" >&5
d10441 1
a10441 1
  { (eval echo "$as_me:10438: \"$ac_try\"") >&5
d10444 1
a10444 1
  echo "$as_me:10441: \$? = $ac_status" >&5
d10454 1
a10454 1
echo "$as_me:10451: result: $ac_cv_func_initscr" >&5
d10461 1
a10461 1
		echo "$as_me:10458: checking for initscr in -l$cf_nculib_root" >&5
d10465 1
a10465 1
#line 10462 "configure"
d10477 1
a10477 1
if { (eval echo "$as_me:10474: \"$ac_link\"") >&5
d10480 1
a10480 1
  echo "$as_me:10477: \$? = $ac_status" >&5
d10483 1
a10483 1
  { (eval echo "$as_me:10480: \"$ac_try\"") >&5
d10486 1
a10486 1
  echo "$as_me:10483: \$? = $ac_status" >&5
d10488 1
a10488 1
  echo "$as_me:10485: result: yes" >&5
d10495 1
a10495 1
echo "$as_me:10492: result: no" >&5
d10585 1
a10585 1
				echo "$as_me:10582: checking for -l$cf_nculib_root in $cf_libdir" >&5
d10589 1
a10589 1
#line 10586 "configure"
d10601 1
a10601 1
if { (eval echo "$as_me:10598: \"$ac_link\"") >&5
d10604 1
a10604 1
  echo "$as_me:10601: \$? = $ac_status" >&5
d10607 1
a10607 1
  { (eval echo "$as_me:10604: \"$ac_try\"") >&5
d10610 1
a10610 1
  echo "$as_me:10607: \$? = $ac_status" >&5
d10612 1
a10612 1
  echo "$as_me:10609: result: yes" >&5
d10619 1
a10619 1
echo "$as_me:10616: result: no" >&5
d10634 1
a10634 1
	{ { echo "$as_me:10631: error: Cannot link $cf_nculib_root library" >&5
d10642 1
a10642 1
	echo "$as_me:10639: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
d10652 1
a10652 1
#line 10649 "configure"
d10664 1
a10664 1
if { (eval echo "$as_me:10661: \"$ac_link\"") >&5
d10667 1
a10667 1
  echo "$as_me:10664: \$? = $ac_status" >&5
d10670 1
a10670 1
  { (eval echo "$as_me:10667: \"$ac_try\"") >&5
d10673 1
a10673 1
  echo "$as_me:10670: \$? = $ac_status" >&5
d10675 1
a10675 1
  echo "$as_me:10672: result: yes" >&5
d10680 1
a10680 1
echo "$as_me:10677: result: no" >&5
d10698 1
a10698 1
echo "$as_me:10695: checking for extra include directories" >&5
d10707 5
a10711 2
	test -d /usr/include/curses_colr && \
	cf_cv_curses_incdir="-I/usr/include/curses_colr"
d10714 6
a10719 3
	test -d /usr/5lib && \
	test -d /usr/5include && \
	cf_cv_curses_incdir="-I/usr/5include"
d10724 1
a10724 1
echo "$as_me:10715: result: $cf_cv_curses_incdir" >&5
d10728 1
a10728 1
echo "$as_me:10719: checking if we have identified curses headers" >&5
d10736 2
a10737 2
	curses.h \
	ncurses.h ncurses/curses.h ncurses/ncurses.h
d10740 1
a10740 1
#line 10731 "configure"
d10752 1
a10752 1
if { (eval echo "$as_me:10743: \"$ac_compile\"") >&5
d10755 1
a10755 1
  echo "$as_me:10746: \$? = $ac_status" >&5
d10758 1
a10758 1
  { (eval echo "$as_me:10749: \"$ac_try\"") >&5
d10761 1
a10761 1
  echo "$as_me:10752: \$? = $ac_status" >&5
d10772 1
a10772 1
echo "$as_me:10763: result: $cf_cv_ncurses_header" >&5
d10776 1
a10776 1
	{ { echo "$as_me:10767: error: No curses header-files found" >&5
d10786 1
a10786 1
echo "$as_me:10777: checking for $ac_header" >&5
d10792 1
a10792 1
#line 10783 "configure"
d10796 1
a10796 1
if { (eval echo "$as_me:10787: \"$ac_cpp conftest.$ac_ext\"") >&5
d10802 1
a10802 1
  echo "$as_me:10793: \$? = $ac_status" >&5
d10821 1
a10821 1
echo "$as_me:10812: result: `eval echo '${'$as_ac_Header'}'`" >&5
d10831 1
a10831 1
echo "$as_me:10822: checking for terminfo header" >&5
d10849 1
a10849 1
#line 10840 "configure"
d10864 1
a10864 1
if { (eval echo "$as_me:10855: \"$ac_compile\"") >&5
d10867 1
a10867 1
  echo "$as_me:10858: \$? = $ac_status" >&5
d10870 1
a10870 1
  { (eval echo "$as_me:10861: \"$ac_try\"") >&5
d10873 1
a10873 1
  echo "$as_me:10864: \$? = $ac_status" >&5
d10889 1
a10889 1
echo "$as_me:10880: result: $cf_cv_term_header" >&5
d10918 1
a10918 1
echo "$as_me:10909: checking for ncurses version" >&5
d10944 1
a10944 1
	{ (eval echo "$as_me:10935: \"$cf_try\"") >&5
d10947 1
a10947 1
  echo "$as_me:10938: \$? = $ac_status" >&5
d10957 1
a10957 1
#line 10948 "configure"
d10982 1
a10982 1
if { (eval echo "$as_me:10973: \"$ac_link\"") >&5
d10985 1
a10985 1
  echo "$as_me:10976: \$? = $ac_status" >&5
d10987 1
a10987 1
  { (eval echo "$as_me:10978: \"$ac_try\"") >&5
d10990 1
a10990 1
  echo "$as_me:10981: \$? = $ac_status" >&5
d11004 1
a11004 1
echo "$as_me:10995: result: $cf_cv_ncurses_version" >&5
d11010 1
a11010 1
echo "$as_me:11001: checking if we have identified curses libraries" >&5
d11013 1
a11013 1
#line 11004 "configure"
d11025 1
a11025 1
if { (eval echo "$as_me:11016: \"$ac_link\"") >&5
d11028 1
a11028 1
  echo "$as_me:11019: \$? = $ac_status" >&5
d11031 1
a11031 1
  { (eval echo "$as_me:11022: \"$ac_try\"") >&5
d11034 1
a11034 1
  echo "$as_me:11025: \$? = $ac_status" >&5
d11043 1
a11043 1
echo "$as_me:11034: result: $cf_result" >&5
d11049 1
a11049 1
    echo "$as_me:11040: checking for tgoto in -lmytinfo" >&5
d11057 1
a11057 1
#line 11048 "configure"
d11076 1
a11076 1
if { (eval echo "$as_me:11067: \"$ac_link\"") >&5
d11079 1
a11079 1
  echo "$as_me:11070: \$? = $ac_status" >&5
d11082 1
a11082 1
  { (eval echo "$as_me:11073: \"$ac_try\"") >&5
d11085 1
a11085 1
  echo "$as_me:11076: \$? = $ac_status" >&5
d11096 1
a11096 1
echo "$as_me:11087: result: $ac_cv_lib_mytinfo_tgoto" >&5
d11104 7
a11110 1
    echo "$as_me:11095: checking for initscr in -lcur_colr" >&5
d11118 1
a11118 1
#line 11103 "configure"
d11137 1
a11137 1
if { (eval echo "$as_me:11122: \"$ac_link\"") >&5
d11140 1
a11140 1
  echo "$as_me:11125: \$? = $ac_status" >&5
d11143 1
a11143 1
  { (eval echo "$as_me:11128: \"$ac_try\"") >&5
d11146 1
a11146 1
  echo "$as_me:11131: \$? = $ac_status" >&5
d11157 1
a11157 1
echo "$as_me:11142: result: $ac_cv_lib_cur_colr_initscr" >&5
d11161 2
a11162 2
        LIBS="-lcur_colr $LIBS"
        ac_cv_func_initscr=yes
d11166 1
a11166 1
    echo "$as_me:11151: checking for initscr in -lHcurses" >&5
d11174 1
a11174 1
#line 11159 "configure"
d11193 1
a11193 1
if { (eval echo "$as_me:11178: \"$ac_link\"") >&5
d11196 1
a11196 1
  echo "$as_me:11181: \$? = $ac_status" >&5
d11199 1
a11199 1
  { (eval echo "$as_me:11184: \"$ac_try\"") >&5
d11202 1
a11202 1
  echo "$as_me:11187: \$? = $ac_status" >&5
d11213 1
a11213 1
echo "$as_me:11198: result: $ac_cv_lib_Hcurses_initscr" >&5
d11217 4
a11220 4
        # HP's header uses __HP_CURSES, but user claims _HP_CURSES.
        LIBS="-lHcurses $LIBS"
        CPPFLAGS="$CPPFLAGS -D__HP_CURSES -D_HP_CURSES"
        ac_cv_func_initscr=yes
d11226 1
d11229 1
a11229 1
	case `arch` in
d11253 1
a11253 1
echo "${as_me:-configure}:11237: testing adding $cf_add_libdir to library-path ..." 1>&5
d11282 1
a11282 1
echo "${as_me:-configure}:11266: testing adding $cf_add_libdir to library-path ..." 1>&5
d11313 1
a11313 1
echo "${as_me:-configure}:11297: testing adding $cf_add_libdir to library-path ..." 1>&5
d11325 3
a11327 1
    if test -d /usr/5lib ; then
d11348 1
a11348 1
echo "${as_me:-configure}:11330: testing adding $cf_add_libdir to library-path ..." 1>&5
d11356 2
a11357 1
      LIBS="-lcurses -ltermcap $LIBS"
d11377 1
a11377 1
    echo "$as_me:11358: checking for tgoto" >&5
d11383 1
a11383 1
#line 11364 "configure"
d11414 1
a11414 1
if { (eval echo "$as_me:11395: \"$ac_link\"") >&5
d11417 1
a11417 1
  echo "$as_me:11398: \$? = $ac_status" >&5
d11420 1
a11420 1
  { (eval echo "$as_me:11401: \"$ac_try\"") >&5
d11423 1
a11423 1
  echo "$as_me:11404: \$? = $ac_status" >&5
d11433 1
a11433 1
echo "$as_me:11414: result: $ac_cv_func_tgoto" >&5
d11442 1
a11442 1
echo "$as_me:11423: checking for tgoto in -l$cf_term_lib" >&5
d11450 1
a11450 1
#line 11431 "configure"
d11469 1
a11469 1
if { (eval echo "$as_me:11450: \"$ac_link\"") >&5
d11472 1
a11472 1
  echo "$as_me:11453: \$? = $ac_status" >&5
d11475 1
a11475 1
  { (eval echo "$as_me:11456: \"$ac_try\"") >&5
d11478 1
a11478 1
  echo "$as_me:11459: \$? = $ac_status" >&5
d11489 1
a11489 1
echo "$as_me:11470: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d11504 1
a11504 1
echo "$as_me:11485: checking for initscr in -l$cf_curs_lib" >&5
d11512 1
a11512 1
#line 11493 "configure"
d11531 1
a11531 1
if { (eval echo "$as_me:11512: \"$ac_link\"") >&5
d11534 1
a11534 1
  echo "$as_me:11515: \$? = $ac_status" >&5
d11537 1
a11537 1
  { (eval echo "$as_me:11518: \"$ac_try\"") >&5
d11540 1
a11540 1
  echo "$as_me:11521: \$? = $ac_status" >&5
d11551 1
a11551 1
echo "$as_me:11532: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d11558 1
a11558 1
    test $cf_curs_lib = unknown && { { echo "$as_me:11539: error: no curses library found" >&5
d11564 1
a11564 1
        echo "$as_me:11545: checking if we can link with $cf_curs_lib library" >&5
d11567 1
a11567 1
#line 11548 "configure"
d11579 1
a11579 1
if { (eval echo "$as_me:11560: \"$ac_link\"") >&5
d11582 1
a11582 1
  echo "$as_me:11563: \$? = $ac_status" >&5
d11585 1
a11585 1
  { (eval echo "$as_me:11566: \"$ac_try\"") >&5
d11588 1
a11588 1
  echo "$as_me:11569: \$? = $ac_status" >&5
d11597 1
a11597 1
        echo "$as_me:11578: result: $cf_result" >&5
d11599 1
a11599 1
        test $cf_result = no && { { echo "$as_me:11580: error: Cannot link curses library" >&5
d11605 1
a11605 1
        echo "$as_me:11586: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
d11608 1
a11608 1
#line 11589 "configure"
d11620 1
a11620 1
if { (eval echo "$as_me:11601: \"$ac_link\"") >&5
d11623 1
a11623 1
  echo "$as_me:11604: \$? = $ac_status" >&5
d11626 1
a11626 1
  { (eval echo "$as_me:11607: \"$ac_try\"") >&5
d11629 1
a11629 1
  echo "$as_me:11610: \$? = $ac_status" >&5
d11638 1
a11638 1
#line 11619 "configure"
d11650 1
a11650 1
if { (eval echo "$as_me:11631: \"$ac_link\"") >&5
d11653 1
a11653 1
  echo "$as_me:11634: \$? = $ac_status" >&5
d11656 1
a11656 1
  { (eval echo "$as_me:11637: \"$ac_try\"") >&5
d11659 1
a11659 1
  echo "$as_me:11640: \$? = $ac_status" >&5
d11671 1
a11671 1
        echo "$as_me:11652: result: $cf_result" >&5
d11681 1
a11681 1
echo "$as_me:11662: checking if you want extra dialogs" >&5
d11691 1
a11691 1
echo "$as_me:11672: result: $enableval" >&5
d11699 1
a11699 1
echo "$as_me:11680: checking if you want config-file support" >&5
d11709 1
a11709 1
echo "$as_me:11690: result: $enableval" >&5
d11721 1
a11721 1
echo "$as_me:11702: checking if you want Xdialog-style dialogs" >&5
d11731 1
a11731 1
echo "$as_me:11712: result: $enableval" >&5
d11743 1
a11743 1
echo "$as_me:11724: checking if you want the form dialog" >&5
d11753 1
a11753 1
echo "$as_me:11734: result: $enableval" >&5
d11765 1
a11765 1
echo "$as_me:11746: checking if you want the gauge dialog" >&5
d11775 1
a11775 1
echo "$as_me:11756: result: $enableval" >&5
d11787 1
a11787 1
echo "$as_me:11768: checking if you want the tailbox dialog" >&5
d11797 1
a11797 1
echo "$as_me:11778: result: $enableval" >&5
d11809 1
a11809 1
echo "$as_me:11790: checking if you want the mixedform dialog" >&5
d11819 1
a11819 1
echo "$as_me:11800: result: $enableval" >&5
d11831 1
a11831 1
echo "$as_me:11812: checking if you want the mixedgauge dialog" >&5
d11841 1
a11841 1
echo "$as_me:11822: result: $enableval" >&5
d11853 1
a11853 1
echo "$as_me:11834: checking if you want the wide-curses features" >&5
d11863 1
a11863 1
echo "$as_me:11844: result: $enableval" >&5
d11874 1
a11874 1
echo "$as_me:11855: checking for ANSI C header files" >&5
d11880 1
a11880 1
#line 11861 "configure"
d11888 1
a11888 1
if { (eval echo "$as_me:11869: \"$ac_cpp conftest.$ac_ext\"") >&5
d11894 1
a11894 1
  echo "$as_me:11875: \$? = $ac_status" >&5
d11916 1
a11916 1
#line 11897 "configure"
d11934 1
a11934 1
#line 11915 "configure"
d11955 1
a11955 1
#line 11936 "configure"
d11981 1
a11981 1
if { (eval echo "$as_me:11962: \"$ac_link\"") >&5
d11984 1
a11984 1
  echo "$as_me:11965: \$? = $ac_status" >&5
d11986 1
a11986 1
  { (eval echo "$as_me:11967: \"$ac_try\"") >&5
d11989 1
a11989 1
  echo "$as_me:11970: \$? = $ac_status" >&5
d12002 1
a12002 1
echo "$as_me:11983: result: $ac_cv_header_stdc" >&5
d12012 1
a12012 1
echo "$as_me:11993: checking whether time.h and sys/time.h may both be included" >&5
d12018 1
a12018 1
#line 11999 "configure"
d12034 1
a12034 1
if { (eval echo "$as_me:12015: \"$ac_compile\"") >&5
d12037 1
a12037 1
  echo "$as_me:12018: \$? = $ac_status" >&5
d12040 1
a12040 1
  { (eval echo "$as_me:12021: \"$ac_try\"") >&5
d12043 1
a12043 1
  echo "$as_me:12024: \$? = $ac_status" >&5
d12053 1
a12053 1
echo "$as_me:12034: result: $ac_cv_header_time" >&5
d12066 1
a12066 1
echo "$as_me:12047: checking for $ac_hdr that defines DIR" >&5
d12072 1
a12072 1
#line 12053 "configure"
d12087 1
a12087 1
if { (eval echo "$as_me:12068: \"$ac_compile\"") >&5
d12090 1
a12090 1
  echo "$as_me:12071: \$? = $ac_status" >&5
d12093 1
a12093 1
  { (eval echo "$as_me:12074: \"$ac_try\"") >&5
d12096 1
a12096 1
  echo "$as_me:12077: \$? = $ac_status" >&5
d12106 1
a12106 1
echo "$as_me:12087: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12119 1
a12119 1
  echo "$as_me:12100: checking for opendir in -ldir" >&5
d12127 1
a12127 1
#line 12108 "configure"
d12146 1
a12146 1
if { (eval echo "$as_me:12127: \"$ac_link\"") >&5
d12149 1
a12149 1
  echo "$as_me:12130: \$? = $ac_status" >&5
d12152 1
a12152 1
  { (eval echo "$as_me:12133: \"$ac_try\"") >&5
d12155 1
a12155 1
  echo "$as_me:12136: \$? = $ac_status" >&5
d12166 1
a12166 1
echo "$as_me:12147: result: $ac_cv_lib_dir_opendir" >&5
d12173 1
a12173 1
  echo "$as_me:12154: checking for opendir in -lx" >&5
d12181 1
a12181 1
#line 12162 "configure"
d12200 1
a12200 1
if { (eval echo "$as_me:12181: \"$ac_link\"") >&5
d12203 1
a12203 1
  echo "$as_me:12184: \$? = $ac_status" >&5
d12206 1
a12206 1
  { (eval echo "$as_me:12187: \"$ac_try\"") >&5
d12209 1
a12209 1
  echo "$as_me:12190: \$? = $ac_status" >&5
d12220 1
a12220 1
echo "$as_me:12201: result: $ac_cv_lib_x_opendir" >&5
d12231 1
a12231 1
echo "$as_me:12212: checking for $ac_header" >&5
d12237 1
a12237 1
#line 12218 "configure"
d12241 1
a12241 1
if { (eval echo "$as_me:12222: \"$ac_cpp conftest.$ac_ext\"") >&5
d12247 1
a12247 1
  echo "$as_me:12228: \$? = $ac_status" >&5
d12266 1
a12266 1
echo "$as_me:12247: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12276 1
a12276 1
echo "$as_me:12257: checking for term.h" >&5
d12284 11
a12294 3
for cf_header in \
	`echo ${cf_cv_ncurses_header:-curses.h} | sed -e 's%/.*%/%'`term.h \
	term.h
d12297 1
a12297 1
#line 12270 "configure"
d12311 1
a12311 1
if { (eval echo "$as_me:12284: \"$ac_compile\"") >&5
d12314 1
a12314 1
  echo "$as_me:12287: \$? = $ac_status" >&5
d12317 1
a12317 1
  { (eval echo "$as_me:12290: \"$ac_try\"") >&5
d12320 1
a12320 1
  echo "$as_me:12293: \$? = $ac_status" >&5
d12339 1
a12339 1
#line 12312 "configure"
d12357 1
a12357 1
if { (eval echo "$as_me:12330: \"$ac_compile\"") >&5
d12360 1
a12360 1
  echo "$as_me:12333: \$? = $ac_status" >&5
d12363 1
a12363 1
  { (eval echo "$as_me:12336: \"$ac_try\"") >&5
d12366 1
a12366 1
  echo "$as_me:12339: \$? = $ac_status" >&5
d12381 1
a12381 1
echo "$as_me:12354: result: $cf_cv_term_header" >&5
d12405 1
a12405 1
echo "$as_me:12378: checking return type of signal handlers" >&5
d12411 1
a12411 1
#line 12384 "configure"
d12433 1
a12433 1
if { (eval echo "$as_me:12406: \"$ac_compile\"") >&5
d12436 1
a12436 1
  echo "$as_me:12409: \$? = $ac_status" >&5
d12439 1
a12439 1
  { (eval echo "$as_me:12412: \"$ac_try\"") >&5
d12442 1
a12442 1
  echo "$as_me:12415: \$? = $ac_status" >&5
d12452 1
a12452 1
echo "$as_me:12425: result: $ac_cv_type_signal" >&5
d12477 1
a12477 1
echo "$as_me:12450: checking for $ac_func" >&5
d12483 1
a12483 1
#line 12456 "configure"
d12514 1
a12514 1
if { (eval echo "$as_me:12487: \"$ac_link\"") >&5
d12517 1
a12517 1
  echo "$as_me:12490: \$? = $ac_status" >&5
d12520 1
a12520 1
  { (eval echo "$as_me:12493: \"$ac_try\"") >&5
d12523 1
a12523 1
  echo "$as_me:12496: \$? = $ac_status" >&5
d12533 1
a12533 1
echo "$as_me:12506: result: `eval echo '${'$as_ac_var'}'`" >&5
d12543 1
a12543 1
echo "$as_me:12516: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
d12550 1
a12550 1
#line 12523 "configure"
d12572 1
a12572 1
if { (eval echo "$as_me:12545: \"$ac_link\"") >&5
d12575 1
a12575 1
  echo "$as_me:12548: \$? = $ac_status" >&5
d12578 1
a12578 1
  { (eval echo "$as_me:12551: \"$ac_try\"") >&5
d12581 1
a12581 1
  echo "$as_me:12554: \$? = $ac_status" >&5
d12588 1
a12588 1
#line 12561 "configure"
d12610 1
a12610 1
if { (eval echo "$as_me:12583: \"$ac_link\"") >&5
d12613 1
a12613 1
  echo "$as_me:12586: \$? = $ac_status" >&5
d12616 1
a12616 1
  { (eval echo "$as_me:12589: \"$ac_try\"") >&5
d12619 1
a12619 1
  echo "$as_me:12592: \$? = $ac_status" >&5
d12631 1
a12631 1
echo "$as_me:12604: result: $cf_cv_need_xopen_extension" >&5
d12635 88
d12738 1
d12745 1
a12745 1
	echo "$as_me:12629: checking for ${cf_func}" >&5
d12748 1
a12748 1
echo "${as_me:-configure}:12632: testing ${cf_func} ..." 1>&5
d12757 1
a12757 1
#line 12641 "configure"
d12780 2
a12781 1
${cf_cv_main_return:-return}(foo == 0);
d12789 1
a12789 1
if { (eval echo "$as_me:12672: \"$ac_link\"") >&5
d12792 1
a12792 1
  echo "$as_me:12675: \$? = $ac_status" >&5
d12795 1
a12795 1
  { (eval echo "$as_me:12678: \"$ac_try\"") >&5
d12798 1
a12798 1
  echo "$as_me:12681: \$? = $ac_status" >&5
d12814 1
a12814 1
	echo "$as_me:12697: result: $cf_result" >&5
d12824 1
a12824 1
echo "$as_me:12707: checking for start_color" >&5
d12830 1
a12830 1
#line 12713 "configure"
d12861 1
a12861 1
if { (eval echo "$as_me:12744: \"$ac_link\"") >&5
d12864 1
a12864 1
  echo "$as_me:12747: \$? = $ac_status" >&5
d12867 1
a12867 1
  { (eval echo "$as_me:12750: \"$ac_try\"") >&5
d12870 1
a12870 1
  echo "$as_me:12753: \$? = $ac_status" >&5
d12880 1
a12880 1
echo "$as_me:12763: result: $ac_cv_func_start_color" >&5
d12889 1
a12889 1
echo "$as_me:12772: checking for chtype typedef" >&5
d12896 1
a12896 1
#line 12779 "configure"
d12908 1
a12908 1
if { (eval echo "$as_me:12791: \"$ac_compile\"") >&5
d12911 1
a12911 1
  echo "$as_me:12794: \$? = $ac_status" >&5
d12914 1
a12914 1
  { (eval echo "$as_me:12797: \"$ac_try\"") >&5
d12917 1
a12917 1
  echo "$as_me:12800: \$? = $ac_status" >&5
d12927 1
a12927 1
echo "$as_me:12810: result: $cf_cv_chtype_decl" >&5
d12934 1
a12934 1
	echo "$as_me:12817: checking if chtype is scalar or struct" >&5
d12941 1
a12941 1
#line 12824 "configure"
d12953 1
a12953 1
if { (eval echo "$as_me:12836: \"$ac_compile\"") >&5
d12956 1
a12956 1
  echo "$as_me:12839: \$? = $ac_status" >&5
d12959 1
a12959 1
  { (eval echo "$as_me:12842: \"$ac_try\"") >&5
d12962 1
a12962 1
  echo "$as_me:12845: \$? = $ac_status" >&5
d12972 1
a12972 1
echo "$as_me:12855: result: $cf_cv_chtype_type" >&5
d12982 1
a12982 1
echo "$as_me:12865: checking for wide alternate character set array" >&5
d12992 1
a12992 1
#line 12875 "configure"
d13008 1
a13008 1
if { (eval echo "$as_me:12891: \"$ac_link\"") >&5
d13011 1
a13011 1
  echo "$as_me:12894: \$? = $ac_status" >&5
d13014 1
a13014 1
  { (eval echo "$as_me:12897: \"$ac_try\"") >&5
d13017 1
a13017 1
  echo "$as_me:12900: \$? = $ac_status" >&5
d13028 1
a13028 1
echo "$as_me:12911: result: $cf_cv_curses_wacs_map" >&5
d13035 1
a13035 1
echo "$as_me:12918: checking for wide alternate character constants" >&5
d13045 1
a13045 1
#line 12928 "configure"
d13062 1
a13062 1
if { (eval echo "$as_me:12945: \"$ac_link\"") >&5
d13065 1
a13065 1
  echo "$as_me:12948: \$? = $ac_status" >&5
d13068 1
a13068 1
  { (eval echo "$as_me:12951: \"$ac_try\"") >&5
d13071 1
a13071 1
  echo "$as_me:12954: \$? = $ac_status" >&5
d13081 1
a13081 1
#line 12964 "configure"
d13097 1
a13097 1
if { (eval echo "$as_me:12980: \"$ac_link\"") >&5
d13100 1
a13100 1
  echo "$as_me:12983: \$? = $ac_status" >&5
d13103 1
a13103 1
  { (eval echo "$as_me:12986: \"$ac_try\"") >&5
d13106 1
a13106 1
  echo "$as_me:12989: \$? = $ac_status" >&5
d13117 1
a13117 1
echo "$as_me:13000: result: $cf_cv_curses_wacs_symbols" >&5
d13127 1
a13127 1
echo "$as_me:13010: checking for $ac_header" >&5
d13133 1
a13133 1
#line 13016 "configure"
d13137 1
a13137 1
if { (eval echo "$as_me:13020: \"$ac_cpp conftest.$ac_ext\"") >&5
d13143 1
a13143 1
  echo "$as_me:13026: \$? = $ac_status" >&5
d13162 1
a13162 1
echo "$as_me:13045: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13183 1
a13183 1
echo "$as_me:13066: checking for $ac_header" >&5
d13189 1
a13189 1
#line 13072 "configure"
d13193 1
a13193 1
if { (eval echo "$as_me:13076: \"$ac_cpp conftest.$ac_ext\"") >&5
d13199 1
a13199 1
  echo "$as_me:13082: \$? = $ac_status" >&5
d13218 1
a13218 1
echo "$as_me:13101: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13231 1
a13231 1
echo "$as_me:13114: checking for $ac_header" >&5
d13237 1
a13237 1
#line 13120 "configure"
d13241 1
a13241 1
if { (eval echo "$as_me:13124: \"$ac_cpp conftest.$ac_ext\"") >&5
d13247 1
a13247 1
  echo "$as_me:13130: \$? = $ac_status" >&5
d13266 1
a13266 1
echo "$as_me:13149: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13288 1
a13288 1
echo "$as_me:13171: checking for union wait" >&5
d13295 1
a13295 1
#line 13178 "configure"
d13311 1
a13311 1
if { (eval echo "$as_me:13194: \"$ac_link\"") >&5
d13314 1
a13314 1
  echo "$as_me:13197: \$? = $ac_status" >&5
d13317 1
a13317 1
  { (eval echo "$as_me:13200: \"$ac_try\"") >&5
d13320 1
a13320 1
  echo "$as_me:13203: \$? = $ac_status" >&5
d13330 1
a13330 1
#line 13213 "configure"
d13350 1
a13350 1
if { (eval echo "$as_me:13233: \"$ac_link\"") >&5
d13353 1
a13353 1
  echo "$as_me:13236: \$? = $ac_status" >&5
d13356 1
a13356 1
  { (eval echo "$as_me:13239: \"$ac_try\"") >&5
d13359 1
a13359 1
  echo "$as_me:13242: \$? = $ac_status" >&5
d13374 1
a13374 1
echo "$as_me:13257: result: $cf_cv_type_unionwait" >&5
d13382 1
a13382 1
	echo "$as_me:13265: checking if union wait can be used as wait-arg" >&5
d13389 1
a13389 1
#line 13272 "configure"
d13401 1
a13401 1
if { (eval echo "$as_me:13284: \"$ac_compile\"") >&5
d13404 1
a13404 1
  echo "$as_me:13287: \$? = $ac_status" >&5
d13407 1
a13407 1
  { (eval echo "$as_me:13290: \"$ac_try\"") >&5
d13410 1
a13410 1
  echo "$as_me:13293: \$? = $ac_status" >&5
d13422 1
a13422 1
	echo "$as_me:13305: result: $cf_cv_arg_union_wait" >&5
d13428 1
a13428 1
	echo "$as_me:13311: checking if union wait can be used as waitpid-arg" >&5
d13435 1
a13435 1
#line 13318 "configure"
d13447 1
a13447 1
if { (eval echo "$as_me:13330: \"$ac_compile\"") >&5
d13450 1
a13450 1
  echo "$as_me:13333: \$? = $ac_status" >&5
d13453 1
a13453 1
  { (eval echo "$as_me:13336: \"$ac_try\"") >&5
d13456 1
a13456 1
  echo "$as_me:13339: \$? = $ac_status" >&5
d13468 1
a13468 1
	echo "$as_me:13351: result: $cf_cv_arg_union_waitpid" >&5
d13476 1
a13476 1
echo "$as_me:13359: checking if we must include wchar.h to declare mbstate_t" >&5
d13483 1
a13483 1
#line 13366 "configure"
d13500 1
a13500 1
if { (eval echo "$as_me:13383: \"$ac_compile\"") >&5
d13503 1
a13503 1
  echo "$as_me:13386: \$? = $ac_status" >&5
d13506 1
a13506 1
  { (eval echo "$as_me:13389: \"$ac_try\"") >&5
d13509 1
a13509 1
  echo "$as_me:13392: \$? = $ac_status" >&5
d13516 1
a13516 1
#line 13399 "configure"
d13534 1
a13534 1
if { (eval echo "$as_me:13417: \"$ac_compile\"") >&5
d13537 1
a13537 1
  echo "$as_me:13420: \$? = $ac_status" >&5
d13540 1
a13540 1
  { (eval echo "$as_me:13423: \"$ac_try\"") >&5
d13543 1
a13543 1
  echo "$as_me:13426: \$? = $ac_status" >&5
d13555 1
a13555 1
echo "$as_me:13438: result: $cf_cv_mbstate_t" >&5
d13578 1
a13578 1
#line 13461 "configure"
d13590 1
a13590 1
if { (eval echo "$as_me:13473: \"$ac_link\"") >&5
d13593 1
a13593 1
  echo "$as_me:13476: \$? = $ac_status" >&5
d13596 1
a13596 1
  { (eval echo "$as_me:13479: \"$ac_try\"") >&5
d13599 1
a13599 1
  echo "$as_me:13482: \$? = $ac_status" >&5
d13612 1
a13612 1
echo "$as_me:13495: checking for an rpath option" >&5
d13625 1
a13625 1
openbsd[2-9].*) #(vi
d13643 1
a13643 1
echo "$as_me:13526: result: $LD_RPATH_OPT" >&5
d13648 1
a13648 1
	echo "$as_me:13531: checking if we need a space after rpath option" >&5
d13653 1
a13653 1
#line 13536 "configure"
d13665 1
a13665 1
if { (eval echo "$as_me:13548: \"$ac_link\"") >&5
d13668 1
a13668 1
  echo "$as_me:13551: \$? = $ac_status" >&5
d13671 1
a13671 1
  { (eval echo "$as_me:13554: \"$ac_try\"") >&5
d13674 1
a13674 1
  echo "$as_me:13557: \$? = $ac_status" >&5
d13684 1
a13684 1
	echo "$as_me:13567: result: $cf_rpath_space" >&5
d13690 2
a13691 2
echo "$as_me:13573: checking if rpath should be not be set" >&5
echo $ECHO_N "checking if rpath should be not be set... $ECHO_C" >&6
d13707 1
a13707 1
echo "$as_me:13590: result: $cf_disable_rpath_hack" >&5
d13711 1
a13711 1
echo "$as_me:13594: checking for updated LDFLAGS" >&5
d13714 1
a13714 1
	echo "$as_me:13597: result: maybe" >&5
d13721 1
a13721 1
echo "$as_me:13604: checking for $ac_word" >&5
d13736 1
a13736 1
echo "$as_me:13619: found $ac_dir/$ac_word" >&5
d13744 1
a13744 1
  echo "$as_me:13627: result: $cf_ldd_prog" >&5
d13747 1
a13747 1
  echo "$as_me:13630: result: no" >&5
d13758 2
d13761 1
a13761 1
#line 13642 "configure"
d13773 1
a13773 1
if { (eval echo "$as_me:13654: \"$ac_link\"") >&5
d13776 1
a13776 1
  echo "$as_me:13657: \$? = $ac_status" >&5
d13779 1
a13779 1
  { (eval echo "$as_me:13660: \"$ac_try\"") >&5
d13782 1
a13782 1
  echo "$as_me:13663: \$? = $ac_status" >&5
d13784 2
a13785 1
  cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[ 	]/%/%' -e 's%/[^/][^/]*$%%' |sort -u`
d13791 27
d13822 1
a13822 1
echo "${as_me:-configure}:13675: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d13826 1
a13826 1
echo "${as_me:-configure}:13679: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
d13863 1
a13863 1
echo "${as_me:-configure}:13716: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d13876 1
a13876 1
echo "${as_me:-configure}:13729: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
d13880 1
a13880 1
echo "${as_me:-configure}:13733: testing ...checking LIBS $LIBS ..." 1>&5
d13917 1
a13917 1
echo "${as_me:-configure}:13770: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d13930 1
a13930 1
echo "${as_me:-configure}:13783: testing ...checked LIBS $LIBS ..." 1>&5
d13934 1
a13934 1
echo "${as_me:-configure}:13787: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d14021 1
a14021 1
{ echo "$as_me:13874: creating $CONFIG_STATUS" >&5
d14197 1
a14197 1
    { { echo "$as_me:14050: error: ambiguous option: $1
d14216 1
a14216 1
  -*) { { echo "$as_me:14069: error: unrecognized option: $1
d14266 1
a14266 1
  *) { { echo "$as_me:14119: error: invalid argument: $ac_config_target" >&5
d14557 1
a14557 1
    { echo "$as_me:14410: creating $ac_file" >&5
d14575 1
a14575 1
         test -f "$f" || { { echo "$as_me:14428: error: cannot find input file: $f" >&5
d14588 1
a14588 1
           { { echo "$as_me:14441: error: cannot find input file: $f" >&5
d14654 1
a14654 1
  test x"$ac_file" != x- && { echo "$as_me:14507: creating $ac_file" >&5
d14665 1
a14665 1
         test -f "$f" || { { echo "$as_me:14518: error: cannot find input file: $f" >&5
d14678 1
a14678 1
           { { echo "$as_me:14531: error: cannot find input file: $f" >&5
d14736 1
a14736 1
      { echo "$as_me:14589: $ac_file is unchanged" >&5
@


1.1
log
@SVN rev 217309 on 2011-01-12 14:55:02Z by nwhitehorn

Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
@
text
@d3 1
a3 1
# Generated by Autoconf 2.52.20100320.
d683 2
d689 1
d697 1
d700 1
a702 1
  --with-curses-dir=DIR   directory in which (n)curses is installed
d782 1
a782 1
generated by GNU Autoconf 2.52.20100320.  Invocation command line was
d906 1
a906 1
    { echo "$as_me:902: loading site script $ac_site_file" >&5
d917 1
a917 1
    { echo "$as_me:913: loading cache $cache_file" >&5
d925 1
a925 1
  { echo "$as_me:921: creating cache $cache_file" >&5
d941 1
a941 1
      { echo "$as_me:937: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
d945 1
a945 1
      { echo "$as_me:941: error: \`$ac_var' was not set in the previous run" >&5
d951 1
a951 1
        { echo "$as_me:947: error: \`$ac_var' has changed since the previous run:" >&5
d953 1
a953 1
        { echo "$as_me:949:   former value:  $ac_old_val" >&5
d955 1
a955 1
        { echo "$as_me:951:   current value: $ac_new_val" >&5
d974 1
a974 1
  { echo "$as_me:970: error: changes in the environment can compromise the build" >&5
d976 1
a976 1
  { { echo "$as_me:972: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
d997 1
a997 1
if { (echo "$as_me:993: PATH=\".;.\"; conftest.sh") >&5
d1000 1
a1000 1
  echo "$as_me:996: \$? = $ac_status" >&5
a1010 82
if test -f $srcdir/VERSION ; then
	echo "$as_me:1008: checking for package version" >&5
echo $ECHO_N "checking for package version... $ECHO_C" >&6

	# if there are not enough fields, cut returns the last one...
	cf_field1=`sed -e '2,$d' $srcdir/VERSION|cut -f1`
	cf_field2=`sed -e '2,$d' $srcdir/VERSION|cut -f2`
	cf_field3=`sed -e '2,$d' $srcdir/VERSION|cut -f3`

	# this is how CF_BUNDLED_INTL uses $VERSION:
	VERSION="$cf_field1"

	VERSION_MAJOR=`echo "$cf_field2" | sed -e 's/\..*//'`
	test -z "$VERSION_MAJOR" && { { echo "$as_me:1020: error: missing major-version" >&5
echo "$as_me: error: missing major-version" >&2;}
   { (exit 1); exit 1; }; }

	VERSION_MINOR=`echo "$cf_field2" | sed -e 's/^[^.]*\.//' -e 's/-.*//'`
	test -z "$VERSION_MINOR" && { { echo "$as_me:1025: error: missing minor-version" >&5
echo "$as_me: error: missing minor-version" >&2;}
   { (exit 1); exit 1; }; }

	echo "$as_me:1029: result: ${VERSION_MAJOR}.${VERSION_MINOR}" >&5
echo "${ECHO_T}${VERSION_MAJOR}.${VERSION_MINOR}" >&6

	echo "$as_me:1032: checking for package patch date" >&5
echo $ECHO_N "checking for package patch date... $ECHO_C" >&6
	VERSION_PATCH=`echo "$cf_field3" | sed -e 's/^[^-]*-//'`
	case .$VERSION_PATCH in
	.)
		{ { echo "$as_me:1037: error: missing patch-date $VERSION_PATCH" >&5
echo "$as_me: error: missing patch-date $VERSION_PATCH" >&2;}
   { (exit 1); exit 1; }; }
		;;
	.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])
		;;
	*)
		{ { echo "$as_me:1044: error: illegal patch-date $VERSION_PATCH" >&5
echo "$as_me: error: illegal patch-date $VERSION_PATCH" >&2;}
   { (exit 1); exit 1; }; }
		;;
	esac
	echo "$as_me:1049: result: $VERSION_PATCH" >&5
echo "${ECHO_T}$VERSION_PATCH" >&6
else
	{ { echo "$as_me:1052: error: did not find $srcdir/VERSION" >&5
echo "$as_me: error: did not find $srcdir/VERSION" >&2;}
   { (exit 1); exit 1; }; }
fi

# show the actual data that we have for versions:
test -n "$verbose" && echo "	VERSION $VERSION" 1>&6

echo "${as_me-configure}:1060: testing VERSION $VERSION ..." 1>&5

test -n "$verbose" && echo "	VERSION_MAJOR $VERSION_MAJOR" 1>&6

echo "${as_me-configure}:1064: testing VERSION_MAJOR $VERSION_MAJOR ..." 1>&5

test -n "$verbose" && echo "	VERSION_MINOR $VERSION_MINOR" 1>&6

echo "${as_me-configure}:1068: testing VERSION_MINOR $VERSION_MINOR ..." 1>&5

test -n "$verbose" && echo "	VERSION_PATCH $VERSION_PATCH" 1>&6

echo "${as_me-configure}:1072: testing VERSION_PATCH $VERSION_PATCH ..." 1>&5

	PACKAGE=dialog
	cat >>confdefs.h <<EOF
#define PACKAGE "$PACKAGE"
EOF

cf_PACKAGE=`echo "$PACKAGE" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`

	cat >>confdefs.h <<EOF
#define ${cf_PACKAGE}_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}"
EOF

	cat >>confdefs.h <<EOF
#define ${cf_PACKAGE}_PATCHDATE ${VERSION_PATCH}
EOF

d1035 1
a1035 1
echo "$as_me:1113: checking for $ac_word" >&5
d1050 1
a1050 1
echo "$as_me:1128: found $ac_dir/$ac_word" >&5
d1058 1
a1058 1
  echo "$as_me:1136: result: $CC" >&5
d1061 1
a1061 1
  echo "$as_me:1139: result: no" >&5
d1070 1
a1070 1
echo "$as_me:1148: checking for $ac_word" >&5
d1085 1
a1085 1
echo "$as_me:1163: found $ac_dir/$ac_word" >&5
d1093 1
a1093 1
  echo "$as_me:1171: result: $ac_ct_CC" >&5
d1096 1
a1096 1
  echo "$as_me:1174: result: no" >&5
d1109 1
a1109 1
echo "$as_me:1187: checking for $ac_word" >&5
d1124 1
a1124 1
echo "$as_me:1202: found $ac_dir/$ac_word" >&5
d1132 1
a1132 1
  echo "$as_me:1210: result: $CC" >&5
d1135 1
a1135 1
  echo "$as_me:1213: result: no" >&5
d1144 1
a1144 1
echo "$as_me:1222: checking for $ac_word" >&5
d1159 1
a1159 1
echo "$as_me:1237: found $ac_dir/$ac_word" >&5
d1167 1
a1167 1
  echo "$as_me:1245: result: $ac_ct_CC" >&5
d1170 1
a1170 1
  echo "$as_me:1248: result: no" >&5
d1183 1
a1183 1
echo "$as_me:1261: checking for $ac_word" >&5
d1203 1
a1203 1
echo "$as_me:1281: found $ac_dir/$ac_word" >&5
d1225 1
a1225 1
  echo "$as_me:1303: result: $CC" >&5
d1228 1
a1228 1
  echo "$as_me:1306: result: no" >&5
d1239 1
a1239 1
echo "$as_me:1317: checking for $ac_word" >&5
d1254 1
a1254 1
echo "$as_me:1332: found $ac_dir/$ac_word" >&5
d1262 1
a1262 1
  echo "$as_me:1340: result: $CC" >&5
d1265 1
a1265 1
  echo "$as_me:1343: result: no" >&5
d1278 1
a1278 1
echo "$as_me:1356: checking for $ac_word" >&5
d1293 1
a1293 1
echo "$as_me:1371: found $ac_dir/$ac_word" >&5
d1301 1
a1301 1
  echo "$as_me:1379: result: $ac_ct_CC" >&5
d1304 1
a1304 1
  echo "$as_me:1382: result: no" >&5
d1316 1
a1316 1
test -z "$CC" && { { echo "$as_me:1394: error: no acceptable cc found in \$PATH" >&5
d1321 1
a1321 1
echo "$as_me:1399:" \
d1324 1
a1324 1
{ (eval echo "$as_me:1402: \"$ac_compiler --version </dev/null >&5\"") >&5
d1327 1
a1327 1
  echo "$as_me:1405: \$? = $ac_status" >&5
d1329 1
a1329 1
{ (eval echo "$as_me:1407: \"$ac_compiler -v </dev/null >&5\"") >&5
d1332 1
a1332 1
  echo "$as_me:1410: \$? = $ac_status" >&5
d1334 1
a1334 1
{ (eval echo "$as_me:1412: \"$ac_compiler -V </dev/null >&5\"") >&5
d1337 1
a1337 1
  echo "$as_me:1415: \$? = $ac_status" >&5
d1341 1
a1341 1
#line 1419 "configure"
d1357 1
a1357 1
echo "$as_me:1435: checking for C compiler default output" >&5
d1360 1
a1360 1
if { (eval echo "$as_me:1438: \"$ac_link_default\"") >&5
d1363 1
a1363 1
  echo "$as_me:1441: \$? = $ac_status" >&5
d1386 1
a1386 1
{ { echo "$as_me:1464: error: C compiler cannot create executables" >&5
d1392 1
a1392 1
echo "$as_me:1470: result: $ac_file" >&5
d1397 1
a1397 1
echo "$as_me:1475: checking whether the C compiler works" >&5
d1403 1
a1403 1
  { (eval echo "$as_me:1481: \"$ac_try\"") >&5
d1406 1
a1406 1
  echo "$as_me:1484: \$? = $ac_status" >&5
d1413 1
a1413 1
	{ { echo "$as_me:1491: error: cannot run C compiled programs.
d1421 1
a1421 1
echo "$as_me:1499: result: yes" >&5
d1428 1
a1428 1
echo "$as_me:1506: checking whether we are cross compiling" >&5
d1430 1
a1430 1
echo "$as_me:1508: result: $cross_compiling" >&5
d1433 1
a1433 1
echo "$as_me:1511: checking for executable suffix" >&5
d1435 1
a1435 1
if { (eval echo "$as_me:1513: \"$ac_link\"") >&5
d1438 1
a1438 1
  echo "$as_me:1516: \$? = $ac_status" >&5
d1454 1
a1454 1
  { { echo "$as_me:1532: error: cannot compute EXEEXT: cannot compile and link" >&5
d1460 1
a1460 1
echo "$as_me:1538: result: $ac_cv_exeext" >&5
d1466 1
a1466 1
echo "$as_me:1544: checking for object suffix" >&5
d1472 1
a1472 1
#line 1550 "configure"
d1484 1
a1484 1
if { (eval echo "$as_me:1562: \"$ac_compile\"") >&5
d1487 1
a1487 1
  echo "$as_me:1565: \$? = $ac_status" >&5
d1499 1
a1499 1
{ { echo "$as_me:1577: error: cannot compute OBJEXT: cannot compile" >&5
d1506 1
a1506 1
echo "$as_me:1584: result: $ac_cv_objext" >&5
d1510 1
a1510 1
echo "$as_me:1588: checking whether we are using the GNU C compiler" >&5
d1516 1
a1516 1
#line 1594 "configure"
d1531 1
a1531 1
if { (eval echo "$as_me:1609: \"$ac_compile\"") >&5
d1534 1
a1534 1
  echo "$as_me:1612: \$? = $ac_status" >&5
d1537 1
a1537 1
  { (eval echo "$as_me:1615: \"$ac_try\"") >&5
d1540 1
a1540 1
  echo "$as_me:1618: \$? = $ac_status" >&5
d1552 1
a1552 1
echo "$as_me:1630: result: $ac_cv_c_compiler_gnu" >&5
d1558 1
a1558 1
echo "$as_me:1636: checking whether $CC accepts -g" >&5
d1564 1
a1564 1
#line 1642 "configure"
d1576 1
a1576 1
if { (eval echo "$as_me:1654: \"$ac_compile\"") >&5
d1579 1
a1579 1
  echo "$as_me:1657: \$? = $ac_status" >&5
d1582 1
a1582 1
  { (eval echo "$as_me:1660: \"$ac_try\"") >&5
d1585 1
a1585 1
  echo "$as_me:1663: \$? = $ac_status" >&5
d1595 1
a1595 1
echo "$as_me:1673: result: $ac_cv_prog_cc_g" >&5
d1622 1
a1622 1
if { (eval echo "$as_me:1700: \"$ac_compile\"") >&5
d1625 1
a1625 1
  echo "$as_me:1703: \$? = $ac_status" >&5
d1628 1
a1628 1
  { (eval echo "$as_me:1706: \"$ac_try\"") >&5
d1631 1
a1631 1
  echo "$as_me:1709: \$? = $ac_status" >&5
d1643 1
a1643 1
#line 1721 "configure"
d1656 1
a1656 1
if { (eval echo "$as_me:1734: \"$ac_compile\"") >&5
d1659 1
a1659 1
  echo "$as_me:1737: \$? = $ac_status" >&5
d1662 1
a1662 1
  { (eval echo "$as_me:1740: \"$ac_try\"") >&5
d1665 1
a1665 1
  echo "$as_me:1743: \$? = $ac_status" >&5
d1675 1
a1675 1
#line 1753 "configure"
d1687 1
a1687 1
if { (eval echo "$as_me:1765: \"$ac_compile\"") >&5
d1690 1
a1690 1
  echo "$as_me:1768: \$? = $ac_status" >&5
d1693 1
a1693 1
  { (eval echo "$as_me:1771: \"$ac_try\"") >&5
d1696 1
a1696 1
  echo "$as_me:1774: \$? = $ac_status" >&5
d1705 1
a1705 1
rm -f conftest*
d1730 1
a1730 1
echo "$as_me:1808: checking how to run the C preprocessor" >&5
d1751 1
a1751 1
#line 1829 "configure"
d1756 1
a1756 1
if { (eval echo "$as_me:1834: \"$ac_cpp conftest.$ac_ext\"") >&5
d1762 1
a1762 1
  echo "$as_me:1840: \$? = $ac_status" >&5
d1785 1
a1785 1
#line 1863 "configure"
d1789 1
a1789 1
if { (eval echo "$as_me:1867: \"$ac_cpp conftest.$ac_ext\"") >&5
d1795 1
a1795 1
  echo "$as_me:1873: \$? = $ac_status" >&5
d1832 1
a1832 1
echo "$as_me:1910: result: $CPP" >&5
d1842 1
a1842 1
#line 1920 "configure"
d1847 1
a1847 1
if { (eval echo "$as_me:1925: \"$ac_cpp conftest.$ac_ext\"") >&5
d1853 1
a1853 1
  echo "$as_me:1931: \$? = $ac_status" >&5
d1876 1
a1876 1
#line 1954 "configure"
d1880 1
a1880 1
if { (eval echo "$as_me:1958: \"$ac_cpp conftest.$ac_ext\"") >&5
d1886 1
a1886 1
  echo "$as_me:1964: \$? = $ac_status" >&5
d1914 1
a1914 1
  { { echo "$as_me:1992: error: C preprocessor \"$CPP\" fails sanity check" >&5
d1927 1
a1927 1
    echo "$as_me:2005: checking whether $CC needs -traditional" >&5
d1934 1
a1934 1
#line 2012 "configure"
d1945 1
a1945 1
rm -f conftest*
d1949 1
a1949 1
#line 2027 "configure"
d1958 1
a1958 1
rm -f conftest*
d1962 1
a1962 1
echo "$as_me:2040: result: $ac_cv_prog_gcc_traditional" >&5
d1969 1
a1969 1
echo "$as_me:2047: checking whether ${MAKE-make} sets \${MAKE}" >&5
d1989 1
a1989 1
  echo "$as_me:2067: result: yes" >&5
d1993 1
a1993 1
  echo "$as_me:2071: result: no" >&5
d2001 1
a2001 1
echo "$as_me:2079: checking for $ac_word" >&5
d2016 1
a2016 1
echo "$as_me:2094: found $ac_dir/$ac_word" >&5
d2024 1
a2024 1
  echo "$as_me:2102: result: $RANLIB" >&5
d2027 1
a2027 1
  echo "$as_me:2105: result: no" >&5
d2036 1
a2036 1
echo "$as_me:2114: checking for $ac_word" >&5
d2051 1
a2051 1
echo "$as_me:2129: found $ac_dir/$ac_word" >&5
d2060 1
a2060 1
  echo "$as_me:2138: result: $ac_ct_RANLIB" >&5
d2063 1
a2063 1
  echo "$as_me:2141: result: no" >&5
d2089 1
a2089 1
  { { echo "$as_me:2167: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
d2109 1
a2109 1
echo "$as_me:2187: checking for a BSD compatible install" >&5
d2158 1
a2158 1
echo "$as_me:2236: result: $INSTALL" >&5
d2172 1
a2172 1
echo "$as_me:2250: checking for $ac_word" >&5
d2187 1
a2187 1
echo "$as_me:2265: found $ac_dir/$ac_word" >&5
d2195 1
a2195 1
  echo "$as_me:2273: result: $AR" >&5
d2198 1
a2198 1
  echo "$as_me:2276: result: no" >&5
d2207 1
a2207 1
echo "$as_me:2285: checking for $ac_word" >&5
d2222 1
a2222 1
echo "$as_me:2300: found $ac_dir/$ac_word" >&5
d2231 1
a2231 1
  echo "$as_me:2309: result: $ac_ct_AR" >&5
d2234 1
a2234 1
  echo "$as_me:2312: result: no" >&5
d2243 1
a2243 1
echo "$as_me:2321: checking for POSIXized ISC" >&5
d2248 1
a2248 1
  echo "$as_me:2326: result: yes" >&5
d2262 1
a2262 1
  echo "$as_me:2340: result: no" >&5
d2267 1
a2267 1
echo "$as_me:2345: checking for $CC option to accept ANSI C" >&5
d2275 1
a2275 1
#line 2353 "configure"
d2324 1
a2324 1
if { (eval echo "$as_me:2402: \"$ac_compile\"") >&5
d2327 1
a2327 1
  echo "$as_me:2405: \$? = $ac_status" >&5
d2330 1
a2330 1
  { (eval echo "$as_me:2408: \"$ac_try\"") >&5
d2333 1
a2333 1
  echo "$as_me:2411: \$? = $ac_status" >&5
d2350 1
a2350 1
    echo "$as_me:2428: result: none needed" >&5
d2353 1
a2353 1
    echo "$as_me:2431: result: $ac_cv_prog_cc_stdc" >&5
d2358 1
a2358 1
echo "$as_me:2436: checking for an ANSI C-conforming const" >&5
d2364 1
a2364 1
#line 2442 "configure"
d2422 1
a2422 1
if { (eval echo "$as_me:2500: \"$ac_compile\"") >&5
d2425 1
a2425 1
  echo "$as_me:2503: \$? = $ac_status" >&5
d2428 1
a2428 1
  { (eval echo "$as_me:2506: \"$ac_try\"") >&5
d2431 1
a2431 1
  echo "$as_me:2509: \$? = $ac_status" >&5
d2441 1
a2441 1
echo "$as_me:2519: result: $ac_cv_c_const" >&5
d2451 1
a2451 1
echo "$as_me:2529: checking for makeflags variable" >&5
d2465 1
a2465 1
		cf_result=`${MAKE-make} -k -f cf_makeflags.tmp 2>/dev/null | sed -e 's,[ 	]*$,,'`
d2468 1
a2468 1
			cf_result=`${MAKE-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`
d2485 1
a2485 1
echo "$as_me:2563: result: $cf_cv_makeflags" >&5
d2488 1
a2488 1
echo "$as_me:2566: checking if filesystem supports mixed-case filenames" >&5
d2515 1
a2515 1
echo "$as_me:2593: result: $cf_cv_mixedcase" >&5
d2525 1
a2525 1
echo "$as_me:2603: checking for $ac_word" >&5
d2540 1
a2540 1
echo "$as_me:2618: found $ac_dir/$ac_word" >&5
d2548 1
a2548 1
  echo "$as_me:2626: result: $CTAGS" >&5
d2551 1
a2551 1
  echo "$as_me:2629: result: no" >&5
d2562 1
a2562 1
echo "$as_me:2640: checking for $ac_word" >&5
d2577 1
a2577 1
echo "$as_me:2655: found $ac_dir/$ac_word" >&5
d2585 1
a2585 1
  echo "$as_me:2663: result: $ETAGS" >&5
d2588 1
a2588 1
  echo "$as_me:2666: result: no" >&5
d2595 3
a2597 3
# Extract the first word of "${CTAGS-ctags}", so it can be a program name with args.
set dummy ${CTAGS-ctags}; ac_word=$2
echo "$as_me:2675: checking for $ac_word" >&5
d2612 1
a2612 1
echo "$as_me:2690: found $ac_dir/$ac_word" >&5
d2621 1
a2621 1
  echo "$as_me:2699: result: $MAKE_LOWER_TAGS" >&5
d2624 1
a2624 1
  echo "$as_me:2702: result: no" >&5
d2629 3
a2631 3
	# Extract the first word of "${ETAGS-etags}", so it can be a program name with args.
set dummy ${ETAGS-etags}; ac_word=$2
echo "$as_me:2709: checking for $ac_word" >&5
d2646 1
a2646 1
echo "$as_me:2724: found $ac_dir/$ac_word" >&5
d2655 1
a2655 1
  echo "$as_me:2733: result: $MAKE_UPPER_TAGS" >&5
d2658 1
a2658 1
  echo "$as_me:2736: result: no" >&5
d2678 1
a2678 1
echo "$as_me:2756: checking if you want to see long compiling messages" >&5
d2712 1
a2712 1
echo "$as_me:2790: result: $enableval" >&5
d2717 1
a2717 1
  { { echo "$as_me:2795: error: cannot run $ac_config_sub" >&5
d2721 1
a2721 1
echo "$as_me:2799: checking build system type" >&5
d2730 1
a2730 1
  { { echo "$as_me:2808: error: cannot guess build type; you must specify one" >&5
d2734 1
a2734 1
  { { echo "$as_me:2812: error: $ac_config_sub $ac_cv_build_alias failed." >&5
d2739 1
a2739 1
echo "$as_me:2817: result: $ac_cv_build" >&5
d2747 1
a2747 1
	echo "$as_me:2825: checking host system type" >&5
d2756 1
a2756 1
  { { echo "$as_me:2834: error: $ac_config_sub $ac_cv_host_alias failed" >&5
d2761 1
a2761 1
echo "$as_me:2839: result: $ac_cv_host" >&5
d2786 1
a2786 1
test -n "$cf_cv_system_name" && echo "$as_me:2864: result: Configuring for $cf_cv_system_name" >&5
d2790 1
a2790 1
	echo "$as_me:2868: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
d2792 1
a2792 1
	{ { echo "$as_me:2870: error: \"Please remove config.cache and try again.\"" >&5
d2860 1
a2860 1
echo "$as_me:2938: checking if we must define _GNU_SOURCE" >&5
d2867 1
a2867 1
#line 2945 "configure"
d2882 1
a2882 1
if { (eval echo "$as_me:2960: \"$ac_compile\"") >&5
d2885 1
a2885 1
  echo "$as_me:2963: \$? = $ac_status" >&5
d2888 1
a2888 1
  { (eval echo "$as_me:2966: \"$ac_try\"") >&5
d2891 1
a2891 1
  echo "$as_me:2969: \$? = $ac_status" >&5
d2900 1
a2900 1
#line 2978 "configure"
d2915 1
a2915 1
if { (eval echo "$as_me:2993: \"$ac_compile\"") >&5
d2918 1
a2918 1
  echo "$as_me:2996: \$? = $ac_status" >&5
d2921 1
a2921 1
  { (eval echo "$as_me:2999: \"$ac_try\"") >&5
d2924 1
a2924 1
  echo "$as_me:3002: \$? = $ac_status" >&5
d2939 1
a2939 1
echo "$as_me:3017: result: $cf_cv_gnu_source" >&5
d2969 1
a2969 1
	echo "$as_me:3047: checking if we should define _XOPEN_SOURCE" >&5
d2976 1
a2976 1
#line 3054 "configure"
d2991 1
a2991 1
if { (eval echo "$as_me:3069: \"$ac_compile\"") >&5
d2994 1
a2994 1
  echo "$as_me:3072: \$? = $ac_status" >&5
d2997 1
a2997 1
  { (eval echo "$as_me:3075: \"$ac_try\"") >&5
d3000 1
a3000 1
  echo "$as_me:3078: \$? = $ac_status" >&5
d3009 1
a3009 1
#line 3087 "configure"
d3024 1
a3024 1
if { (eval echo "$as_me:3102: \"$ac_compile\"") >&5
d3027 1
a3027 1
  echo "$as_me:3105: \$? = $ac_status" >&5
d3030 1
a3030 1
  { (eval echo "$as_me:3108: \"$ac_try\"") >&5
d3033 1
a3033 1
  echo "$as_me:3111: \$? = $ac_status" >&5
d3048 1
a3048 1
echo "$as_me:3126: result: $cf_cv_xopen_source" >&5
d3155 1
a3155 1
echo "$as_me:3233: checking if we should define _POSIX_C_SOURCE" >&5
d3161 1
a3161 1
echo "${as_me-configure}:3239: testing if the symbol is already defined go no further ..." 1>&5
d3164 1
a3164 1
#line 3242 "configure"
d3179 1
a3179 1
if { (eval echo "$as_me:3257: \"$ac_compile\"") >&5
d3182 1
a3182 1
  echo "$as_me:3260: \$? = $ac_status" >&5
d3185 1
a3185 1
  { (eval echo "$as_me:3263: \"$ac_try\"") >&5
d3188 1
a3188 1
  echo "$as_me:3266: \$? = $ac_status" >&5
d3209 1
a3209 1
#line 3287 "configure"
d3224 1
a3224 1
if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5
d3227 1
a3227 1
  echo "$as_me:3305: \$? = $ac_status" >&5
d3230 1
a3230 1
  { (eval echo "$as_me:3308: \"$ac_try\"") >&5
d3233 1
a3233 1
  echo "$as_me:3311: \$? = $ac_status" >&5
d3244 1
a3244 1
echo "${as_me-configure}:3322: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
d3249 1
a3249 1
echo "${as_me-configure}:3327: testing if the second compile does not leave our definition intact error ..." 1>&5
d3252 1
a3252 1
#line 3330 "configure"
d3267 1
a3267 1
if { (eval echo "$as_me:3345: \"$ac_compile\"") >&5
d3270 1
a3270 1
  echo "$as_me:3348: \$? = $ac_status" >&5
d3273 1
a3273 1
  { (eval echo "$as_me:3351: \"$ac_try\"") >&5
d3276 1
a3276 1
  echo "$as_me:3354: \$? = $ac_status" >&5
d3292 1
a3292 1
echo "$as_me:3370: result: $cf_cv_posix_c_source" >&5
d3471 1
a3471 1
  echo "$as_me:3549: checking for special C compiler options needed for large files" >&5
d3483 1
a3483 1
#line 3561 "configure"
d3503 1
a3503 1
if { (eval echo "$as_me:3581: \"$ac_compile\"") >&5
d3506 1
a3506 1
  echo "$as_me:3584: \$? = $ac_status" >&5
d3509 1
a3509 1
  { (eval echo "$as_me:3587: \"$ac_try\"") >&5
d3512 1
a3512 1
  echo "$as_me:3590: \$? = $ac_status" >&5
d3522 1
a3522 1
if { (eval echo "$as_me:3600: \"$ac_compile\"") >&5
d3525 1
a3525 1
  echo "$as_me:3603: \$? = $ac_status" >&5
d3528 1
a3528 1
  { (eval echo "$as_me:3606: \"$ac_try\"") >&5
d3531 1
a3531 1
  echo "$as_me:3609: \$? = $ac_status" >&5
d3545 1
a3545 1
echo "$as_me:3623: result: $ac_cv_sys_largefile_CC" >&5
d3551 1
a3551 1
  echo "$as_me:3629: checking for _FILE_OFFSET_BITS value needed for large files" >&5
d3559 1
a3559 1
#line 3637 "configure"
d3579 1
a3579 1
if { (eval echo "$as_me:3657: \"$ac_compile\"") >&5
d3582 1
a3582 1
  echo "$as_me:3660: \$? = $ac_status" >&5
d3585 1
a3585 1
  { (eval echo "$as_me:3663: \"$ac_try\"") >&5
d3588 1
a3588 1
  echo "$as_me:3666: \$? = $ac_status" >&5
d3597 1
a3597 1
#line 3675 "configure"
d3618 1
a3618 1
if { (eval echo "$as_me:3696: \"$ac_compile\"") >&5
d3621 1
a3621 1
  echo "$as_me:3699: \$? = $ac_status" >&5
d3624 1
a3624 1
  { (eval echo "$as_me:3702: \"$ac_try\"") >&5
d3627 1
a3627 1
  echo "$as_me:3705: \$? = $ac_status" >&5
d3638 1
a3638 1
echo "$as_me:3716: result: $ac_cv_sys_file_offset_bits" >&5
d3647 2
a3648 2
rm -f conftest*
  echo "$as_me:3726: checking for _LARGE_FILES value needed for large files" >&5
d3656 1
a3656 1
#line 3734 "configure"
d3676 1
a3676 1
if { (eval echo "$as_me:3754: \"$ac_compile\"") >&5
d3679 1
a3679 1
  echo "$as_me:3757: \$? = $ac_status" >&5
d3682 1
a3682 1
  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
d3685 1
a3685 1
  echo "$as_me:3763: \$? = $ac_status" >&5
d3694 1
a3694 1
#line 3772 "configure"
d3715 1
a3715 1
if { (eval echo "$as_me:3793: \"$ac_compile\"") >&5
d3718 1
a3718 1
  echo "$as_me:3796: \$? = $ac_status" >&5
d3721 1
a3721 1
  { (eval echo "$as_me:3799: \"$ac_try\"") >&5
d3724 1
a3724 1
  echo "$as_me:3802: \$? = $ac_status" >&5
d3735 1
a3735 1
echo "$as_me:3813: result: $ac_cv_sys_large_files" >&5
d3744 1
a3744 1
rm -f conftest*
d3748 1
a3748 1
	echo "$as_me:3826: checking for _LARGEFILE_SOURCE value needed for large files" >&5
d3756 1
a3756 1
#line 3834 "configure"
d3768 1
a3768 1
if { (eval echo "$as_me:3846: \"$ac_compile\"") >&5
d3771 1
a3771 1
  echo "$as_me:3849: \$? = $ac_status" >&5
d3774 1
a3774 1
  { (eval echo "$as_me:3852: \"$ac_try\"") >&5
d3777 1
a3777 1
  echo "$as_me:3855: \$? = $ac_status" >&5
d3786 1
a3786 1
#line 3864 "configure"
d3799 1
a3799 1
if { (eval echo "$as_me:3877: \"$ac_compile\"") >&5
d3802 1
a3802 1
  echo "$as_me:3880: \$? = $ac_status" >&5
d3805 1
a3805 1
  { (eval echo "$as_me:3883: \"$ac_try\"") >&5
d3808 1
a3808 1
  echo "$as_me:3886: \$? = $ac_status" >&5
d3819 1
a3819 1
echo "$as_me:3897: result: $ac_cv_sys_largefile_source" >&5
d3828 1
a3828 1
rm -f conftest*
d3833 1
a3833 1
echo "$as_me:3911: checking for fseeko" >&5
d3839 1
a3839 1
#line 3917 "configure"
d3851 1
a3851 1
if { (eval echo "$as_me:3929: \"$ac_link\"") >&5
d3854 1
a3854 1
  echo "$as_me:3932: \$? = $ac_status" >&5
d3857 1
a3857 1
  { (eval echo "$as_me:3935: \"$ac_try\"") >&5
d3860 1
a3860 1
  echo "$as_me:3938: \$? = $ac_status" >&5
d3870 1
a3870 1
echo "$as_me:3948: result: $ac_cv_func_fseeko" >&5
d3891 1
a3891 1
	echo "$as_me:3969: checking whether to use struct dirent64" >&5
d3898 1
a3898 1
#line 3976 "configure"
d3919 1
a3919 1
if { (eval echo "$as_me:3997: \"$ac_compile\"") >&5
d3922 1
a3922 1
  echo "$as_me:4000: \$? = $ac_status" >&5
d3925 1
a3925 1
  { (eval echo "$as_me:4003: \"$ac_try\"") >&5
d3928 1
a3928 1
  echo "$as_me:4006: \$? = $ac_status" >&5
d3939 1
a3939 1
echo "$as_me:4017: result: $cf_cv_struct_dirent64" >&5
d3949 1
a3949 1
	echo "$as_me:4027: checking version of $CC" >&5
d3953 1
a3953 1
	echo "$as_me:4031: result: $GCC_VERSION" >&5
d3959 1
a3959 1
echo "$as_me:4037: checking if you want to check for gcc warnings" >&5
d3969 1
a3969 1
echo "$as_me:4047: result: $cf_opt_with_warnings" >&5
d3991 1
a3991 1
	{ echo "$as_me:4069: checking for $CC __attribute__ directives..." >&5
d3994 1
a3994 1
#line 4072 "${as_me-configure}"
d4043 1
a4043 1
		if { (eval echo "$as_me:4121: \"$ac_compile\"") >&5
d4046 1
a4046 1
  echo "$as_me:4124: \$? = $ac_status" >&5
d4048 1
a4048 1
			test -n "$verbose" && echo "$as_me:4126: result: ... $cf_attribute" >&5
d4088 1
a4088 1
		echo "$as_me:4166: checking if this is really Intel C compiler" >&5
d4093 1
a4093 1
#line 4171 "configure"
d4110 1
a4110 1
if { (eval echo "$as_me:4188: \"$ac_compile\"") >&5
d4113 1
a4113 1
  echo "$as_me:4191: \$? = $ac_status" >&5
d4116 1
a4116 1
  { (eval echo "$as_me:4194: \"$ac_try\"") >&5
d4119 1
a4119 1
  echo "$as_me:4197: \$? = $ac_status" >&5
d4130 1
a4130 1
		echo "$as_me:4208: result: $INTEL_COMPILER" >&5
d4137 1
a4137 1
#line 4215 "${as_me-configure}"
d4154 1
a4154 1
	{ echo "$as_me:4232: checking for $CC warning options..." >&5
d4170 1
a4170 1
		if { (eval echo "$as_me:4248: \"$ac_compile\"") >&5
d4173 1
a4173 1
  echo "$as_me:4251: \$? = $ac_status" >&5
d4175 1
a4175 1
			test -n "$verbose" && echo "$as_me:4253: result: ... -$cf_opt" >&5
d4184 1
a4184 1
	{ echo "$as_me:4262: checking for $CC warning options..." >&5
d4204 1
a4204 1
		if { (eval echo "$as_me:4282: \"$ac_compile\"") >&5
d4207 1
a4207 1
  echo "$as_me:4285: \$? = $ac_status" >&5
d4209 1
a4209 1
			test -n "$verbose" && echo "$as_me:4287: result: ... -$cf_opt" >&5
d4220 1
a4220 1
echo "${as_me-configure}:4298: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
d4231 1
a4231 1
rm -f conftest*
d4236 99
d4336 1
a4336 1
echo "$as_me:4315: checking for ANSI C header files" >&5
d4342 1
a4342 1
#line 4321 "configure"
d4350 1
a4350 1
if { (eval echo "$as_me:4329: \"$ac_cpp conftest.$ac_ext\"") >&5
d4356 1
a4356 1
  echo "$as_me:4335: \$? = $ac_status" >&5
d4378 1
a4378 1
#line 4357 "configure"
d4389 1
a4389 1
rm -f conftest*
d4396 1
a4396 1
#line 4375 "configure"
d4407 1
a4407 1
rm -f conftest*
d4417 1
a4417 1
#line 4396 "configure"
d4443 1
a4443 1
if { (eval echo "$as_me:4422: \"$ac_link\"") >&5
d4446 1
a4446 1
  echo "$as_me:4425: \$? = $ac_status" >&5
d4448 1
a4448 1
  { (eval echo "$as_me:4427: \"$ac_try\"") >&5
d4451 1
a4451 1
  echo "$as_me:4430: \$? = $ac_status" >&5
d4464 1
a4464 1
echo "$as_me:4443: result: $ac_cv_header_stdc" >&5
d4474 1
a4474 1
echo "$as_me:4453: checking for inline" >&5
d4482 1
a4482 1
#line 4461 "configure"
d4491 1
a4491 1
if { (eval echo "$as_me:4470: \"$ac_compile\"") >&5
d4494 1
a4494 1
  echo "$as_me:4473: \$? = $ac_status" >&5
d4497 1
a4497 1
  { (eval echo "$as_me:4476: \"$ac_try\"") >&5
d4500 1
a4500 1
  echo "$as_me:4479: \$? = $ac_status" >&5
d4511 1
a4511 1
echo "$as_me:4490: result: $ac_cv_c_inline" >&5
d4532 1
a4532 1
echo "$as_me:4511: checking for $ac_header" >&5
d4538 1
a4538 1
#line 4517 "configure"
d4544 1
a4544 1
if { (eval echo "$as_me:4523: \"$ac_compile\"") >&5
d4547 1
a4547 1
  echo "$as_me:4526: \$? = $ac_status" >&5
d4550 1
a4550 1
  { (eval echo "$as_me:4529: \"$ac_try\"") >&5
d4553 1
a4553 1
  echo "$as_me:4532: \$? = $ac_status" >&5
d4563 1
a4563 1
echo "$as_me:4542: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4573 1
a4573 1
echo "$as_me:4552: checking for off_t" >&5
d4579 1
a4579 1
#line 4558 "configure"
d4594 1
a4594 1
if { (eval echo "$as_me:4573: \"$ac_compile\"") >&5
d4597 1
a4597 1
  echo "$as_me:4576: \$? = $ac_status" >&5
d4600 1
a4600 1
  { (eval echo "$as_me:4579: \"$ac_try\"") >&5
d4603 1
a4603 1
  echo "$as_me:4582: \$? = $ac_status" >&5
d4613 1
a4613 1
echo "$as_me:4592: result: $ac_cv_type_off_t" >&5
d4625 1
a4625 1
echo "$as_me:4604: checking for size_t" >&5
d4631 1
a4631 1
#line 4610 "configure"
d4646 1
a4646 1
if { (eval echo "$as_me:4625: \"$ac_compile\"") >&5
d4649 1
a4649 1
  echo "$as_me:4628: \$? = $ac_status" >&5
d4652 1
a4652 1
  { (eval echo "$as_me:4631: \"$ac_try\"") >&5
d4655 1
a4655 1
  echo "$as_me:4634: \$? = $ac_status" >&5
d4665 1
a4665 1
echo "$as_me:4644: result: $ac_cv_type_size_t" >&5
d4679 1
a4679 1
echo "$as_me:4658: checking for working alloca.h" >&5
d4685 1
a4685 1
#line 4664 "configure"
d4697 1
a4697 1
if { (eval echo "$as_me:4676: \"$ac_link\"") >&5
d4700 1
a4700 1
  echo "$as_me:4679: \$? = $ac_status" >&5
d4703 1
a4703 1
  { (eval echo "$as_me:4682: \"$ac_try\"") >&5
d4706 1
a4706 1
  echo "$as_me:4685: \$? = $ac_status" >&5
d4716 1
a4716 1
echo "$as_me:4695: result: $ac_cv_working_alloca_h" >&5
d4726 1
a4726 1
echo "$as_me:4705: checking for alloca" >&5
d4732 1
a4732 1
#line 4711 "configure"
d4764 1
a4764 1
if { (eval echo "$as_me:4743: \"$ac_link\"") >&5
d4767 1
a4767 1
  echo "$as_me:4746: \$? = $ac_status" >&5
d4770 1
a4770 1
  { (eval echo "$as_me:4749: \"$ac_try\"") >&5
d4773 1
a4773 1
  echo "$as_me:4752: \$? = $ac_status" >&5
d4783 1
a4783 1
echo "$as_me:4762: result: $ac_cv_func_alloca_works" >&5
d4804 1
a4804 1
echo "$as_me:4783: checking whether \`alloca.c' needs Cray hooks" >&5
d4810 1
a4810 1
#line 4789 "configure"
d4825 1
a4825 1
rm -f conftest*
d4828 1
a4828 1
echo "$as_me:4807: result: $ac_cv_os_cray" >&5
d4833 1
a4833 1
echo "$as_me:4812: checking for $ac_func" >&5
d4839 1
a4839 1
#line 4818 "configure"
d4870 1
a4870 1
if { (eval echo "$as_me:4849: \"$ac_link\"") >&5
d4873 1
a4873 1
  echo "$as_me:4852: \$? = $ac_status" >&5
d4876 1
a4876 1
  { (eval echo "$as_me:4855: \"$ac_try\"") >&5
d4879 1
a4879 1
  echo "$as_me:4858: \$? = $ac_status" >&5
d4889 1
a4889 1
echo "$as_me:4868: result: `eval echo '${'$as_ac_var'}'`" >&5
d4903 1
a4903 1
echo "$as_me:4882: checking stack direction for C alloca" >&5
d4912 1
a4912 1
#line 4891 "configure"
d4935 1
a4935 1
if { (eval echo "$as_me:4914: \"$ac_link\"") >&5
d4938 1
a4938 1
  echo "$as_me:4917: \$? = $ac_status" >&5
d4940 1
a4940 1
  { (eval echo "$as_me:4919: \"$ac_try\"") >&5
d4943 1
a4943 1
  echo "$as_me:4922: \$? = $ac_status" >&5
d4955 1
a4955 1
echo "$as_me:4934: result: $ac_cv_c_stack_direction" >&5
d4967 1
a4967 1
echo "$as_me:4946: checking for $ac_header" >&5
d4973 1
a4973 1
#line 4952 "configure"
d4977 1
a4977 1
if { (eval echo "$as_me:4956: \"$ac_cpp conftest.$ac_ext\"") >&5
d4983 1
a4983 1
  echo "$as_me:4962: \$? = $ac_status" >&5
d5002 1
a5002 1
echo "$as_me:4981: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5015 1
a5015 1
echo "$as_me:4994: checking for $ac_func" >&5
d5021 1
a5021 1
#line 5000 "configure"
d5052 1
a5052 1
if { (eval echo "$as_me:5031: \"$ac_link\"") >&5
d5055 1
a5055 1
  echo "$as_me:5034: \$? = $ac_status" >&5
d5058 1
a5058 1
  { (eval echo "$as_me:5037: \"$ac_try\"") >&5
d5061 1
a5061 1
  echo "$as_me:5040: \$? = $ac_status" >&5
d5071 1
a5071 1
echo "$as_me:5050: result: `eval echo '${'$as_ac_var'}'`" >&5
d5081 1
a5081 1
echo "$as_me:5060: checking for working mmap" >&5
d5090 1
a5090 1
#line 5069 "configure"
d5217 1
a5217 1
if { (eval echo "$as_me:5196: \"$ac_link\"") >&5
d5220 1
a5220 1
  echo "$as_me:5199: \$? = $ac_status" >&5
d5222 1
a5222 1
  { (eval echo "$as_me:5201: \"$ac_try\"") >&5
d5225 1
a5225 1
  echo "$as_me:5204: \$? = $ac_status" >&5
d5237 1
a5237 1
echo "$as_me:5216: result: $ac_cv_func_mmap_fixed_mapped" >&5
d5248 1
a5248 1
    echo "$as_me:5227: checking whether we are using the GNU C Library 2.1 or newer" >&5
d5254 1
a5254 1
#line 5233 "configure"
d5271 1
a5271 1
rm -f conftest*
d5274 1
a5274 1
echo "$as_me:5253: result: $ac_cv_gnu_library_2_1" >&5
d5284 7
a5290 1
: ${CONFIG_H=config.h}
d5304 1
a5304 1
echo "$as_me:5277: checking for $ac_header" >&5
d5310 1
a5310 1
#line 5283 "configure"
d5314 1
a5314 1
if { (eval echo "$as_me:5287: \"$ac_cpp conftest.$ac_ext\"") >&5
d5320 1
a5320 1
  echo "$as_me:5293: \$? = $ac_status" >&5
d5339 1
a5339 1
echo "$as_me:5312: result: `eval echo '${'$as_ac_Header'}'`" >&5
d5354 1
a5354 1
echo "$as_me:5327: checking for $ac_func" >&5
d5360 1
a5360 1
#line 5333 "configure"
d5391 1
a5391 1
if { (eval echo "$as_me:5364: \"$ac_link\"") >&5
d5394 1
a5394 1
  echo "$as_me:5367: \$? = $ac_status" >&5
d5397 1
a5397 1
  { (eval echo "$as_me:5370: \"$ac_try\"") >&5
d5400 1
a5400 1
  echo "$as_me:5373: \$? = $ac_status" >&5
d5410 1
a5410 1
echo "$as_me:5383: result: `eval echo '${'$as_ac_var'}'`" >&5
d5458 1
a5458 1
#line 5431 "configure"
d5470 1
a5470 1
if { (eval echo "$as_me:5443: \"$ac_compile\"") >&5
d5473 1
a5473 1
  echo "$as_me:5446: \$? = $ac_status" >&5
d5476 1
a5476 1
  { (eval echo "$as_me:5449: \"$ac_try\"") >&5
d5479 1
a5479 1
  echo "$as_me:5452: \$? = $ac_status" >&5
d5496 1
a5496 1
echo "${as_me-configure}:5469: testing adding $cf_add_incdir to include-path ..." 1>&5
d5537 1
a5537 1
#line 5510 "configure"
d5549 1
a5549 1
if { (eval echo "$as_me:5522: \"$ac_compile\"") >&5
d5552 1
a5552 1
  echo "$as_me:5525: \$? = $ac_status" >&5
d5555 1
a5555 1
  { (eval echo "$as_me:5528: \"$ac_try\"") >&5
d5558 1
a5558 1
  echo "$as_me:5531: \$? = $ac_status" >&5
d5575 1
a5575 1
echo "${as_me-configure}:5548: testing adding $cf_add_incdir to include-path ..." 1>&5
d5591 1
a5591 1
{ { echo "$as_me:5564: error: cannot find libiconv under $withval" >&5
d5616 1
a5616 1
echo "${as_me-configure}:5589: testing adding $cf_add_libdir to library-path ..." 1>&5
d5645 1
a5645 1
echo "${as_me-configure}:5618: testing adding $cf_add_libdir to library-path ..." 1>&5
d5654 1
a5654 1
{ { echo "$as_me:5627: error: cannot find libiconv under $withval" >&5
d5665 1
a5665 1
  echo "$as_me:5638: checking for iconv" >&5
d5676 3
a5678 1
echo "${as_me-configure}:5649: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5
d5681 1
a5681 1
#line 5652 "configure"
d5700 1
a5700 1
if { (eval echo "$as_me:5671: \"$ac_link\"") >&5
d5703 1
a5703 1
  echo "$as_me:5674: \$? = $ac_status" >&5
d5706 1
a5706 1
  { (eval echo "$as_me:5677: \"$ac_try\"") >&5
d5709 1
a5709 1
  echo "$as_me:5680: \$? = $ac_status" >&5
d5713 2
a5719 1
cf_save_LIBS="$LIBS"
d5723 1
a5723 1
#line 5693 "configure"
d5742 1
a5742 1
if { (eval echo "$as_me:5712: \"$ac_link\"") >&5
d5745 1
a5745 1
  echo "$as_me:5715: \$? = $ac_status" >&5
d5748 1
a5748 1
  { (eval echo "$as_me:5718: \"$ac_try\"") >&5
d5751 1
a5751 1
  echo "$as_me:5721: \$? = $ac_status" >&5
d5755 2
d5763 1
a5763 1
    cf_cv_find_linkage_iconv=no
d5768 1
a5768 1
echo "${as_me-configure}:5736: testing find linkage for iconv library ..." 1>&5
d5770 1
a5770 1
echo "${as_me-configure}:5738: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5
d5785 13
a5797 1
			cf_header_path_list="$cf_header_path_list $cf_header_path"
d5809 1
a5809 1
(test $prefix = NONE || test -d $prefix) && {
d5831 1
a5831 1
(test $prefix = NONE || test -d $prefix) && {
d5842 1
a5842 1
(test $prefix = NONE || test -d $prefix) && {
d5853 1
a5853 1
(test $prefix = NONE || test -d $prefix) && {
d5883 1
a5883 1
echo "${as_me-configure}:5839: testing ... testing $cf_cv_header_path_iconv ..." 1>&5
d5887 1
a5887 1
#line 5843 "configure"
d5906 1
a5906 1
if { (eval echo "$as_me:5862: \"$ac_compile\"") >&5
d5909 1
a5909 1
  echo "$as_me:5865: \$? = $ac_status" >&5
d5912 1
a5912 1
  { (eval echo "$as_me:5868: \"$ac_try\"") >&5
d5915 1
a5915 1
  echo "$as_me:5871: \$? = $ac_status" >&5
d5920 1
a5920 1
echo "${as_me-configure}:5876: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5
d5938 1
a5938 1
echo "${as_me-configure}:5894: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5
d5975 1
a5975 1
(test $prefix = NONE || test -d $prefix) && {
d5997 1
a5997 1
(test $prefix = NONE || test -d $prefix) && {
d6008 1
a6008 1
(test $prefix = NONE || test -d $prefix) && {
d6019 1
a6019 1
(test $prefix = NONE || test -d $prefix) && {
d6035 1
a6035 1
echo "${as_me-configure}:5991: testing ... testing $cf_cv_library_path_iconv ..." 1>&5
d6041 1
a6041 1
#line 5997 "configure"
d6060 1
a6060 1
if { (eval echo "$as_me:6016: \"$ac_link\"") >&5
d6063 1
a6063 1
  echo "$as_me:6019: \$? = $ac_status" >&5
d6066 1
a6066 1
  { (eval echo "$as_me:6022: \"$ac_try\"") >&5
d6069 1
a6069 1
  echo "$as_me:6025: \$? = $ac_status" >&5
d6074 1
a6074 1
echo "${as_me-configure}:6030: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5
a6090 1
        LIBS="$cf_save_LIBS"
d6105 2
d6114 1
a6114 1
echo "$as_me:6069: result: $am_cv_func_iconv" >&5
d6123 1
a6123 1
    echo "$as_me:6078: checking if the declaration of iconv() needs const." >&5
d6130 1
a6130 1
#line 6085 "configure"
d6155 1
a6155 1
if { (eval echo "$as_me:6110: \"$ac_compile\"") >&5
d6158 1
a6158 1
  echo "$as_me:6113: \$? = $ac_status" >&5
d6161 1
a6161 1
  { (eval echo "$as_me:6116: \"$ac_try\"") >&5
d6164 1
a6164 1
  echo "$as_me:6119: \$? = $ac_status" >&5
d6174 1
a6174 1
echo "$as_me:6129: result: $am_cv_proto_iconv_const" >&5
d6216 1
a6216 1
#line 6171 "configure"
d6228 1
a6228 1
if { (eval echo "$as_me:6183: \"$ac_compile\"") >&5
d6231 1
a6231 1
  echo "$as_me:6186: \$? = $ac_status" >&5
d6234 1
a6234 1
  { (eval echo "$as_me:6189: \"$ac_try\"") >&5
d6237 1
a6237 1
  echo "$as_me:6192: \$? = $ac_status" >&5
d6254 1
a6254 1
echo "${as_me-configure}:6209: testing adding $cf_add_incdir to include-path ..." 1>&5
d6291 1
a6291 1
echo "${as_me-configure}:6246: testing adding $cf_add_libdir to library-path ..." 1>&5
d6302 1
a6302 1
  echo "$as_me:6257: checking for nl_langinfo and CODESET" >&5
d6308 1
a6308 1
#line 6263 "configure"
d6320 1
a6320 1
if { (eval echo "$as_me:6275: \"$ac_link\"") >&5
d6323 1
a6323 1
  echo "$as_me:6278: \$? = $ac_status" >&5
d6326 1
a6326 1
  { (eval echo "$as_me:6281: \"$ac_try\"") >&5
d6329 1
a6329 1
  echo "$as_me:6284: \$? = $ac_status" >&5
d6340 1
a6340 1
echo "$as_me:6295: result: $am_cv_langinfo_codeset" >&5
d6351 1
a6351 1
    echo "$as_me:6306: checking for LC_MESSAGES" >&5
d6357 1
a6357 1
#line 6312 "configure"
d6369 1
a6369 1
if { (eval echo "$as_me:6324: \"$ac_link\"") >&5
d6372 1
a6372 1
  echo "$as_me:6327: \$? = $ac_status" >&5
d6375 1
a6375 1
  { (eval echo "$as_me:6330: \"$ac_try\"") >&5
d6378 1
a6378 1
  echo "$as_me:6333: \$? = $ac_status" >&5
d6388 1
a6388 1
echo "$as_me:6343: result: $am_cv_val_LC_MESSAGES" >&5
d6398 1
a6398 1
   echo "$as_me:6353: checking whether NLS is requested" >&5
d6408 1
a6408 1
  echo "$as_me:6363: result: $USE_NLS" >&5
d6421 1
a6421 1
    echo "$as_me:6376: checking whether included gettext is requested" >&5
d6431 1
a6431 1
    echo "$as_me:6386: result: $nls_cv_force_use_gnu_gettext" >&5
d6440 1
a6440 1
      echo "$as_me:6395: checking for libintl.h and gettext()" >&5
d6451 3
a6453 1
echo "${as_me-configure}:6406: testing Starting FIND_LINKAGE(intl,) ..." 1>&5
d6456 1
a6456 1
#line 6409 "configure"
d6476 1
a6476 1
if { (eval echo "$as_me:6429: \"$ac_link\"") >&5
d6479 1
a6479 1
  echo "$as_me:6432: \$? = $ac_status" >&5
d6482 1
a6482 1
  { (eval echo "$as_me:6435: \"$ac_try\"") >&5
d6485 1
a6485 1
  echo "$as_me:6438: \$? = $ac_status" >&5
d6489 2
a6495 1
cf_save_LIBS="$LIBS"
d6499 1
a6499 1
#line 6451 "configure"
d6519 1
a6519 1
if { (eval echo "$as_me:6471: \"$ac_link\"") >&5
d6522 1
a6522 1
  echo "$as_me:6474: \$? = $ac_status" >&5
d6525 1
a6525 1
  { (eval echo "$as_me:6477: \"$ac_try\"") >&5
d6528 1
a6528 1
  echo "$as_me:6480: \$? = $ac_status" >&5
d6532 2
d6540 1
a6540 1
    cf_cv_find_linkage_intl=no
d6545 1
a6545 1
echo "${as_me-configure}:6495: testing find linkage for intl library ..." 1>&5
d6547 1
a6547 1
echo "${as_me-configure}:6497: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5
d6562 13
a6574 1
			cf_header_path_list="$cf_header_path_list $cf_header_path"
d6586 1
a6586 1
(test $prefix = NONE || test -d $prefix) && {
d6608 1
a6608 1
(test $prefix = NONE || test -d $prefix) && {
d6619 1
a6619 1
(test $prefix = NONE || test -d $prefix) && {
d6630 1
a6630 1
(test $prefix = NONE || test -d $prefix) && {
d6660 1
a6660 1
echo "${as_me-configure}:6598: testing ... testing $cf_cv_header_path_intl ..." 1>&5
d6664 1
a6664 1
#line 6602 "configure"
d6684 1
a6684 1
if { (eval echo "$as_me:6622: \"$ac_compile\"") >&5
d6687 1
a6687 1
  echo "$as_me:6625: \$? = $ac_status" >&5
d6690 1
a6690 1
  { (eval echo "$as_me:6628: \"$ac_try\"") >&5
d6693 1
a6693 1
  echo "$as_me:6631: \$? = $ac_status" >&5
d6698 1
a6698 1
echo "${as_me-configure}:6636: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5
d6716 1
a6716 1
echo "${as_me-configure}:6654: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5
d6753 1
a6753 1
(test $prefix = NONE || test -d $prefix) && {
d6775 1
a6775 1
(test $prefix = NONE || test -d $prefix) && {
d6786 1
a6786 1
(test $prefix = NONE || test -d $prefix) && {
d6797 1
a6797 1
(test $prefix = NONE || test -d $prefix) && {
d6813 1
a6813 1
echo "${as_me-configure}:6751: testing ... testing $cf_cv_library_path_intl ..." 1>&5
d6819 1
a6819 1
#line 6757 "configure"
d6839 1
a6839 1
if { (eval echo "$as_me:6777: \"$ac_link\"") >&5
d6842 1
a6842 1
  echo "$as_me:6780: \$? = $ac_status" >&5
d6845 1
a6845 1
  { (eval echo "$as_me:6783: \"$ac_try\"") >&5
d6848 1
a6848 1
  echo "$as_me:6786: \$? = $ac_status" >&5
d6853 1
a6853 1
echo "${as_me-configure}:6791: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5
a6869 1
        LIBS="$cf_save_LIBS"
d6884 2
d6893 1
a6893 1
echo "$as_me:6830: result: $cf_cv_func_gettext" >&5
d6932 1
a6932 1
#line 6869 "configure"
d6944 1
a6944 1
if { (eval echo "$as_me:6881: \"$ac_compile\"") >&5
d6947 1
a6947 1
  echo "$as_me:6884: \$? = $ac_status" >&5
d6950 1
a6950 1
  { (eval echo "$as_me:6887: \"$ac_try\"") >&5
d6953 1
a6953 1
  echo "$as_me:6890: \$? = $ac_status" >&5
d6970 1
a6970 1
echo "${as_me-configure}:6907: testing adding $cf_add_incdir to include-path ..." 1>&5
d7007 1
a7007 1
echo "${as_me-configure}:6944: testing adding $cf_add_libdir to library-path ..." 1>&5
d7023 1
a7023 1
echo "$as_me:6960: checking for $ac_func" >&5
d7029 1
a7029 1
#line 6966 "configure"
d7060 1
a7060 1
if { (eval echo "$as_me:6997: \"$ac_link\"") >&5
d7063 1
a7063 1
  echo "$as_me:7000: \$? = $ac_status" >&5
d7066 1
a7066 1
  { (eval echo "$as_me:7003: \"$ac_try\"") >&5
d7069 1
a7069 1
  echo "$as_me:7006: \$? = $ac_status" >&5
d7079 1
a7079 1
echo "$as_me:7016: result: `eval echo '${'$as_ac_var'}'`" >&5
d7094 1
a7094 1
echo "$as_me:7031: checking for $ac_word" >&5
d7121 1
a7121 1
  echo "$as_me:7058: result: $MSGFMT" >&5
d7124 1
a7124 1
  echo "$as_me:7061: result: no" >&5
d7130 1
a7130 1
echo "$as_me:7067: checking for $ac_word" >&5
d7147 1
a7147 1
   echo "$as_me:7084: found $ac_dir/$ac_word" >&5
d7159 1
a7159 1
  echo "$as_me:7096: result: $GMSGFMT" >&5
d7162 1
a7162 1
  echo "$as_me:7099: result: no" >&5
d7169 1
a7169 1
echo "$as_me:7106: checking for $ac_word" >&5
d7196 1
a7196 1
  echo "$as_me:7133: result: $XGETTEXT" >&5
d7199 1
a7199 1
  echo "$as_me:7136: result: no" >&5
d7214 1
a7214 1
        { { echo "$as_me:7151: error: no NLS library is packaged with this application" >&5
d7222 1
a7222 1
echo "$as_me:7159: checking for $ac_word" >&5
d7249 1
a7249 1
  echo "$as_me:7186: result: $MSGFMT" >&5
d7252 1
a7252 1
  echo "$as_me:7189: result: no" >&5
d7258 1
a7258 1
echo "$as_me:7195: checking for $ac_word" >&5
d7275 1
a7275 1
   echo "$as_me:7212: found $ac_dir/$ac_word" >&5
d7287 1
a7287 1
  echo "$as_me:7224: result: $GMSGFMT" >&5
d7290 1
a7290 1
  echo "$as_me:7227: result: no" >&5
d7297 1
a7297 1
echo "$as_me:7234: checking for $ac_word" >&5
d7324 1
a7324 1
  echo "$as_me:7261: result: $XGETTEXT" >&5
d7327 1
a7327 1
  echo "$as_me:7264: result: no" >&5
d7342 1
a7342 1
        echo "$as_me:7279: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
d7352 1
a7352 1
        echo "$as_me:7289: result: found xgettext program is not GNU xgettext; ignore it" >&5
d7372 1
a7372 1
echo "$as_me:7309: checking for $ac_word" >&5
d7387 1
a7387 1
echo "$as_me:7324: found $ac_dir/$ac_word" >&5
d7395 1
a7395 1
  echo "$as_me:7332: result: $INTLBISON" >&5
d7398 1
a7398 1
  echo "$as_me:7335: result: no" >&5
d7408 1
a7408 1
            echo "$as_me:7345: checking version of bison" >&5
d7417 1
a7417 1
    echo "$as_me:7354: result: $ac_prog_version" >&5
d7443 1
a7443 1
       echo "$as_me:7380: checking for catalogs to be installed" >&5
d7463 1
a7463 1
       echo "$as_me:7400: result: $LINGUAS" >&5
d7472 14
a7485 12
                  MKINSTALLDIRS=
   if test -n "$ac_aux_dir"; then
     MKINSTALLDIRS="$ac_aux_dir/mkdirs.sh"
   fi
   if test -z "$MKINSTALLDIRS"; then
     MKINSTALLDIRS="\$(top_srcdir)/mkdirs.sh"
   fi
   if test -n "$GNUSYSTEM_AUX_DIR" ; then
     if test -e "${GNUSYSTEM_AUX_DIR}/mkinstalldirs"; then
       MKINSTALLDIRS="${GNUSYSTEM_AUX_DIR}/mkinstalldirs"
     fi
   fi
d7487 1
a7487 1
      INTL_LIBTOOL_SUFFIX_PREFIX=
d7498 1
a7498 1
echo "$as_me:7433: checking if we should use included message-library" >&5
d7509 1
a7509 1
echo "$as_me:7444: result: $use_our_messages" >&5
d7550 1
a7550 1
echo "$as_me:7485: checking for $ac_header" >&5
d7556 1
a7556 1
#line 7491 "configure"
d7560 1
a7560 1
if { (eval echo "$as_me:7495: \"$ac_cpp conftest.$ac_ext\"") >&5
d7566 1
a7566 1
  echo "$as_me:7501: \$? = $ac_status" >&5
d7585 1
a7585 1
echo "$as_me:7520: result: `eval echo '${'$as_ac_Header'}'`" >&5
d7630 1
a7630 1
echo "$as_me:7565: checking if -lm needed for math functions" >&5
d7637 1
a7637 1
#line 7572 "configure"
d7652 1
a7652 1
if { (eval echo "$as_me:7587: \"$ac_link\"") >&5
d7655 1
a7655 1
  echo "$as_me:7590: \$? = $ac_status" >&5
d7658 1
a7658 1
  { (eval echo "$as_me:7593: \"$ac_try\"") >&5
d7661 1
a7661 1
  echo "$as_me:7596: \$? = $ac_status" >&5
d7671 1
a7671 1
echo "$as_me:7606: result: $cf_cv_need_libm" >&5
d7680 1
a7680 1
echo "$as_me:7615: checking if you want to use dmalloc for testing" >&5
d7696 1
a7696 1
echo "$as_me:7631: result: ${with_dmalloc:-no}" >&5
d7790 1
a7790 1
	echo "$as_me:7725: checking for dmalloc.h" >&5
d7796 1
a7796 1
#line 7731 "configure"
d7800 1
a7800 1
if { (eval echo "$as_me:7735: \"$ac_cpp conftest.$ac_ext\"") >&5
d7806 1
a7806 1
  echo "$as_me:7741: \$? = $ac_status" >&5
d7825 1
a7825 1
echo "$as_me:7760: result: $ac_cv_header_dmalloc_h" >&5
d7829 1
a7829 1
echo "$as_me:7764: checking for dmalloc_debug in -ldmalloc" >&5
d7837 1
a7837 1
#line 7772 "configure"
d7856 1
a7856 1
if { (eval echo "$as_me:7791: \"$ac_link\"") >&5
d7859 1
a7859 1
  echo "$as_me:7794: \$? = $ac_status" >&5
d7862 1
a7862 1
  { (eval echo "$as_me:7797: \"$ac_try\"") >&5
d7865 1
a7865 1
  echo "$as_me:7800: \$? = $ac_status" >&5
d7876 1
a7876 1
echo "$as_me:7811: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
d7891 1
a7891 1
echo "$as_me:7826: checking if you want to use dbmalloc for testing" >&5
d7907 1
a7907 1
echo "$as_me:7842: result: ${with_dbmalloc:-no}" >&5
d8001 1
a8001 1
	echo "$as_me:7936: checking for dbmalloc.h" >&5
d8007 1
a8007 1
#line 7942 "configure"
d8011 1
a8011 1
if { (eval echo "$as_me:7946: \"$ac_cpp conftest.$ac_ext\"") >&5
d8017 1
a8017 1
  echo "$as_me:7952: \$? = $ac_status" >&5
d8036 1
a8036 1
echo "$as_me:7971: result: $ac_cv_header_dbmalloc_h" >&5
d8040 1
a8040 1
echo "$as_me:7975: checking for debug_malloc in -ldbmalloc" >&5
d8048 1
a8048 1
#line 7983 "configure"
d8067 1
a8067 1
if { (eval echo "$as_me:8002: \"$ac_link\"") >&5
d8070 1
a8070 1
  echo "$as_me:8005: \$? = $ac_status" >&5
d8073 1
a8073 1
  { (eval echo "$as_me:8008: \"$ac_try\"") >&5
d8076 1
a8076 1
  echo "$as_me:8011: \$? = $ac_status" >&5
d8087 1
a8087 1
echo "$as_me:8022: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
d8102 1
a8102 1
echo "$as_me:8037: checking if you want to use purify for testing" >&5
d8118 1
a8118 1
echo "$as_me:8053: result: ${with_purify:-no}" >&5
d8211 1
a8211 1
echo "$as_me:8146: checking if you want to use valgrind for testing" >&5
d8227 1
a8227 1
echo "$as_me:8162: result: ${with_valgrind:-no}" >&5
d8320 1
a8320 1
echo "$as_me:8255: checking if you want to perform memory-leak testing" >&5
d8342 1
a8342 1
echo "$as_me:8277: result: $with_no_leaks" >&5
d8345 1
a8345 1
echo "$as_me:8280: checking if you want --trace option" >&5
d8355 1
a8355 1
echo "$as_me:8290: result: $enableval" >&5
d8369 26
d8411 1
a8411 1
echo "$as_me:8320: checking if you want to build libraries with libtool" >&5
d8421 1
a8421 1
echo "$as_me:8330: result: $with_libtool" >&5
d8452 1
a8452 1
  { { echo "$as_me:8361: error: expected a pathname, not \"$with_libtool\"" >&5
d8462 1
a8462 1
echo "$as_me:8371: checking for $ac_word" >&5
d8479 1
a8479 1
   echo "$as_me:8388: found $ac_dir/$ac_word" >&5
d8490 1
a8490 1
  echo "$as_me:8399: result: $LIBTOOL" >&5
d8493 1
a8493 1
  echo "$as_me:8402: result: no" >&5
d8499 1
a8499 1
		{ { echo "$as_me:8408: error: Cannot find libtool" >&5
d8503 1
a8503 1
	LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} ${LT_UNDEF} -o'
d8514 1
a8514 1
	echo "$as_me:8423: checking version of libtool" >&5
d8521 1
a8521 1
	echo "$as_me:8430: result: $cf_cv_libtool_version" >&5
d8524 1
a8524 1
		{ { echo "$as_me:8433: error: This is not GNU libtool" >&5
d8558 1
a8558 1
echo "$as_me:8467: checking for additional libtool options" >&5
d8568 1
a8568 1
echo "$as_me:8477: result: $with_libtool_opts" >&5
d8581 2
a8582 1
use_ncurses=no
d8584 6
a8589 4
# Check whether --with-ncurses or --without-ncurses was given.
if test "${with_ncurses+set}" = set; then
  withval="$with_ncurses"
  use_ncurses=ncurses
d8591 2
d8594 2
a8595 8
# Check whether --with-ncursesw or --without-ncursesw was given.
if test "${with_ncursesw+set}" = set; then
  withval="$with_ncursesw"
  use_ncurses=ncursesw
fi;
if test $use_ncurses != no ; then
	cf_wide_curses=yes
	if test $use_ncurses = ncursesw ; then
d8597 2
a8598 4
echo "$as_me:8507: checking for multibyte character support" >&5
echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6
if test "${cf_cv_utf8_lib+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d8600 2
d8603 162
a8764 4
	cf_save_LIBS="$LIBS"
	cat >conftest.$ac_ext <<_ACEOF
#line 8515 "configure"
#include "confdefs.h"
d8776 1
a8776 1
if { (eval echo "$as_me:8528: \"$ac_link\"") >&5
d8779 1
a8779 1
  echo "$as_me:8531: \$? = $ac_status" >&5
d8782 1
a8782 1
  { (eval echo "$as_me:8534: \"$ac_try\"") >&5
d8785 1
a8785 1
  echo "$as_me:8537: \$? = $ac_status" >&5
d8797 3
a8799 1
echo "${as_me-configure}:8549: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
d8802 1
a8802 1
#line 8552 "configure"
d8815 1
a8815 1
if { (eval echo "$as_me:8565: \"$ac_link\"") >&5
d8818 1
a8818 1
  echo "$as_me:8568: \$? = $ac_status" >&5
d8821 1
a8821 1
  { (eval echo "$as_me:8571: \"$ac_try\"") >&5
d8824 1
a8824 1
  echo "$as_me:8574: \$? = $ac_status" >&5
d8828 2
a8834 1
cf_save_LIBS="$LIBS"
d8838 1
a8838 1
#line 8587 "configure"
d8851 1
a8851 1
if { (eval echo "$as_me:8600: \"$ac_link\"") >&5
d8854 1
a8854 1
  echo "$as_me:8603: \$? = $ac_status" >&5
d8857 1
a8857 1
  { (eval echo "$as_me:8606: \"$ac_try\"") >&5
d8860 1
a8860 1
  echo "$as_me:8609: \$? = $ac_status" >&5
d8864 2
d8872 1
a8872 1
    cf_cv_find_linkage_utf8=no
d8877 1
a8877 1
echo "${as_me-configure}:8624: testing find linkage for utf8 library ..." 1>&5
d8879 1
a8879 1
echo "${as_me-configure}:8626: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
d8894 13
a8906 1
			cf_header_path_list="$cf_header_path_list $cf_header_path"
d8918 1
a8918 1
(test $prefix = NONE || test -d $prefix) && {
d8940 1
a8940 1
(test $prefix = NONE || test -d $prefix) && {
d8951 1
a8951 1
(test $prefix = NONE || test -d $prefix) && {
d8962 1
a8962 1
(test $prefix = NONE || test -d $prefix) && {
d8992 1
a8992 1
echo "${as_me-configure}:8727: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
d8996 1
a8996 1
#line 8731 "configure"
d9009 1
a9009 1
if { (eval echo "$as_me:8744: \"$ac_compile\"") >&5
d9012 1
a9012 1
  echo "$as_me:8747: \$? = $ac_status" >&5
d9015 1
a9015 1
  { (eval echo "$as_me:8750: \"$ac_try\"") >&5
d9018 1
a9018 1
  echo "$as_me:8753: \$? = $ac_status" >&5
d9023 1
a9023 1
echo "${as_me-configure}:8758: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
d9041 1
a9041 1
echo "${as_me-configure}:8776: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
d9078 1
a9078 1
(test $prefix = NONE || test -d $prefix) && {
d9100 1
a9100 1
(test $prefix = NONE || test -d $prefix) && {
d9111 1
a9111 1
(test $prefix = NONE || test -d $prefix) && {
d9122 1
a9122 1
(test $prefix = NONE || test -d $prefix) && {
d9138 1
a9138 1
echo "${as_me-configure}:8873: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
d9144 1
a9144 1
#line 8879 "configure"
d9157 1
a9157 1
if { (eval echo "$as_me:8892: \"$ac_link\"") >&5
d9160 1
a9160 1
  echo "$as_me:8895: \$? = $ac_status" >&5
d9163 1
a9163 1
  { (eval echo "$as_me:8898: \"$ac_try\"") >&5
d9166 1
a9166 1
  echo "$as_me:8901: \$? = $ac_status" >&5
d9171 1
a9171 1
echo "${as_me-configure}:8906: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
a9187 1
        LIBS="$cf_save_LIBS"
d9202 2
d9213 1
a9213 1
echo "$as_me:8947: result: $cf_cv_utf8_lib" >&5
d9247 1
a9247 1
#line 8981 "configure"
d9259 1
a9259 1
if { (eval echo "$as_me:8993: \"$ac_compile\"") >&5
d9262 1
a9262 1
  echo "$as_me:8996: \$? = $ac_status" >&5
d9265 1
a9265 1
  { (eval echo "$as_me:8999: \"$ac_try\"") >&5
d9268 1
a9268 1
  echo "$as_me:9002: \$? = $ac_status" >&5
d9285 1
a9285 1
echo "${as_me-configure}:9019: testing adding $cf_add_incdir to include-path ..." 1>&5
d9319 1
a9319 1
echo "${as_me-configure}:9053: testing adding $cf_add_libdir to library-path ..." 1>&5
a9331 40
# Check whether --with-curses-dir or --without-curses-dir was given.
if test "${with_curses_dir+set}" = set; then
  withval="$with_curses_dir"

if test "x$prefix" != xNONE; then
  cf_path_syntax="$prefix"
else
  cf_path_syntax="$ac_default_prefix"
fi

case ".$withval" in #(vi
.\$\(*\)*|.\'*\'*) #(vi
  ;;
..|./*|.\\*) #(vi
  ;;
.[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
  ;;
.\${*prefix}*) #(vi
  eval withval="$withval"
  case ".$withval" in #(vi
  .NONE/*)
    withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
    ;;
  esac
  ;; #(vi
.no|.NONE/*)
  withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
  ;;
*)
  { { echo "$as_me:9095: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
   { (exit 1); exit 1; }; }
  ;;
esac

	 cf_cv_curses_dir=$withval
else
  cf_cv_curses_dir=no
fi;

d9339 1
a9339 1
echo "$as_me:9113: checking for $ac_word" >&5
d9356 1
a9356 1
   echo "$as_me:9130: found $ac_dir/$ac_word" >&5
d9367 1
a9367 1
  echo "$as_me:9141: result: $NCURSES_CONFIG" >&5
d9370 1
a9370 1
  echo "$as_me:9144: result: no" >&5
d9385 1
a9385 1
echo "$as_me:9159: checking if we have identified curses headers" >&5
d9399 1
a9399 1
#line 9173 "configure"
d9411 1
a9411 1
if { (eval echo "$as_me:9185: \"$ac_compile\"") >&5
d9414 1
a9414 1
  echo "$as_me:9188: \$? = $ac_status" >&5
d9417 1
a9417 1
  { (eval echo "$as_me:9191: \"$ac_try\"") >&5
d9420 1
a9420 1
  echo "$as_me:9194: \$? = $ac_status" >&5
d9431 1
a9431 1
echo "$as_me:9205: result: $cf_cv_ncurses_header" >&5
d9435 1
a9435 1
	{ { echo "$as_me:9209: error: No curses header-files found" >&5
d9445 1
a9445 1
echo "$as_me:9219: checking for $ac_header" >&5
d9451 1
a9451 1
#line 9225 "configure"
d9455 1
a9455 1
if { (eval echo "$as_me:9229: \"$ac_cpp conftest.$ac_ext\"") >&5
d9461 1
a9461 1
  echo "$as_me:9235: \$? = $ac_status" >&5
d9480 1
a9480 1
echo "$as_me:9254: result: `eval echo '${'$as_ac_Header'}'`" >&5
d9509 2
a9510 2
if test -n "$cf_cv_curses_dir/include $cf_cv_curses_dir/include/$cf_ncuhdr_root" ; then
  for cf_add_incdir in $cf_cv_curses_dir/include $cf_cv_curses_dir/include/$cf_ncuhdr_root
d9533 1
a9533 1
#line 9307 "configure"
d9545 1
a9545 1
if { (eval echo "$as_me:9319: \"$ac_compile\"") >&5
d9548 1
a9548 1
  echo "$as_me:9322: \$? = $ac_status" >&5
d9551 1
a9551 1
  { (eval echo "$as_me:9325: \"$ac_try\"") >&5
d9554 1
a9554 1
  echo "$as_me:9328: \$? = $ac_status" >&5
d9571 1
a9571 1
echo "${as_me-configure}:9345: testing adding $cf_add_incdir to include-path ..." 1>&5
d9588 1
a9588 1
echo "$as_me:9362: checking for $cf_ncuhdr_root header in include-path" >&5
d9600 1
a9600 1
#line 9374 "configure"
d9624 1
a9624 1
if { (eval echo "$as_me:9398: \"$ac_compile\"") >&5
d9627 1
a9627 1
  echo "$as_me:9401: \$? = $ac_status" >&5
d9630 1
a9630 1
  { (eval echo "$as_me:9404: \"$ac_try\"") >&5
d9633 1
a9633 1
  echo "$as_me:9407: \$? = $ac_status" >&5
d9648 1
a9648 1
echo "$as_me:9422: result: $cf_cv_ncurses_h" >&5
d9655 1
a9655 1
echo "$as_me:9429: checking for $cf_ncuhdr_root include-path" >&5
d9673 13
a9685 1
			cf_header_path_list="$cf_header_path_list $cf_header_path"
d9697 1
a9697 1
(test $prefix = NONE || test -d $prefix) && {
d9719 1
a9719 1
(test $prefix = NONE || test -d $prefix) && {
d9730 1
a9730 1
(test $prefix = NONE || test -d $prefix) && {
d9741 1
a9741 1
(test $prefix = NONE || test -d $prefix) && {
d9795 1
a9795 1
#line 9557 "configure"
d9807 1
a9807 1
if { (eval echo "$as_me:9569: \"$ac_compile\"") >&5
d9810 1
a9810 1
  echo "$as_me:9572: \$? = $ac_status" >&5
d9813 1
a9813 1
  { (eval echo "$as_me:9575: \"$ac_try\"") >&5
d9816 1
a9816 1
  echo "$as_me:9578: \$? = $ac_status" >&5
d9833 1
a9833 1
echo "${as_me-configure}:9595: testing adding $cf_add_incdir to include-path ..." 1>&5
d9854 1
a9854 1
#line 9616 "configure"
d9878 1
a9878 1
if { (eval echo "$as_me:9640: \"$ac_compile\"") >&5
d9881 1
a9881 1
  echo "$as_me:9643: \$? = $ac_status" >&5
d9884 1
a9884 1
  { (eval echo "$as_me:9646: \"$ac_try\"") >&5
d9887 1
a9887 1
  echo "$as_me:9649: \$? = $ac_status" >&5
d9908 1
a9908 1
	test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:9670: error: not found" >&5
d9913 1
a9913 1
echo "$as_me:9675: result: $cf_cv_ncurses_h2" >&5
d9946 1
a9946 1
#line 9708 "configure"
d9958 1
a9958 1
if { (eval echo "$as_me:9720: \"$ac_compile\"") >&5
d9961 1
a9961 1
  echo "$as_me:9723: \$? = $ac_status" >&5
d9964 1
a9964 1
  { (eval echo "$as_me:9726: \"$ac_try\"") >&5
d9967 1
a9967 1
  echo "$as_me:9729: \$? = $ac_status" >&5
d9984 1
a9984 1
echo "${as_me-configure}:9746: testing adding $cf_add_incdir to include-path ..." 1>&5
d10027 1
a10027 1
echo "$as_me:9789: checking for terminfo header" >&5
d10045 1
a10045 1
#line 9807 "configure"
d10048 1
a10048 1
#include <${cf_cv_ncurses_header-curses.h}>
d10060 1
a10060 1
if { (eval echo "$as_me:9822: \"$ac_compile\"") >&5
d10063 1
a10063 1
  echo "$as_me:9825: \$? = $ac_status" >&5
d10066 1
a10066 1
  { (eval echo "$as_me:9828: \"$ac_try\"") >&5
d10069 1
a10069 1
  echo "$as_me:9831: \$? = $ac_status" >&5
d10085 1
a10085 1
echo "$as_me:9847: result: $cf_cv_term_header" >&5
d10119 1
a10119 1
echo "$as_me:9881: checking for ncurses version" >&5
d10133 1
a10133 1
#include <${cf_cv_ncurses_header-curses.h}>
d10145 1
a10145 1
	{ (eval echo "$as_me:9907: \"$cf_try\"") >&5
d10148 1
a10148 1
  echo "$as_me:9910: \$? = $ac_status" >&5
d10158 1
a10158 1
#line 9920 "configure"
d10161 1
a10161 1
#include <${cf_cv_ncurses_header-curses.h}>
d10179 1
a10179 1
	${cf_cv_main_return-return}(0);
d10183 1
a10183 1
if { (eval echo "$as_me:9945: \"$ac_link\"") >&5
d10186 1
a10186 1
  echo "$as_me:9948: \$? = $ac_status" >&5
d10188 1
a10188 1
  { (eval echo "$as_me:9950: \"$ac_try\"") >&5
d10191 1
a10191 1
  echo "$as_me:9953: \$? = $ac_status" >&5
d10205 1
a10205 1
echo "$as_me:9967: result: $cf_cv_ncurses_version" >&5
d10217 1
a10217 1
echo "$as_me:9979: checking for Gpm_Open in -lgpm" >&5
d10225 1
a10225 1
#line 9987 "configure"
d10244 1
a10244 1
if { (eval echo "$as_me:10006: \"$ac_link\"") >&5
d10247 1
a10247 1
  echo "$as_me:10009: \$? = $ac_status" >&5
d10250 1
a10250 1
  { (eval echo "$as_me:10012: \"$ac_try\"") >&5
d10253 1
a10253 1
  echo "$as_me:10015: \$? = $ac_status" >&5
d10264 1
a10264 1
echo "$as_me:10026: result: $ac_cv_lib_gpm_Gpm_Open" >&5
d10267 1
a10267 1
  echo "$as_me:10029: checking for initscr in -lgpm" >&5
d10275 1
a10275 1
#line 10037 "configure"
d10294 1
a10294 1
if { (eval echo "$as_me:10056: \"$ac_link\"") >&5
d10297 1
a10297 1
  echo "$as_me:10059: \$? = $ac_status" >&5
d10300 1
a10300 1
  { (eval echo "$as_me:10062: \"$ac_try\"") >&5
d10303 1
a10303 1
  echo "$as_me:10065: \$? = $ac_status" >&5
d10314 1
a10314 1
echo "$as_me:10076: result: $ac_cv_lib_gpm_initscr" >&5
d10329 1
a10329 1
		echo "$as_me:10091: checking for tgoto in -lmytinfo" >&5
d10337 1
a10337 1
#line 10099 "configure"
d10356 1
a10356 1
if { (eval echo "$as_me:10118: \"$ac_link\"") >&5
d10359 1
a10359 1
  echo "$as_me:10121: \$? = $ac_status" >&5
d10362 1
a10362 1
  { (eval echo "$as_me:10124: \"$ac_try\"") >&5
d10365 1
a10365 1
  echo "$as_me:10127: \$? = $ac_status" >&5
d10376 1
a10376 1
echo "$as_me:10138: result: $ac_cv_lib_mytinfo_tgoto" >&5
a10389 28

if test -n "$cf_cv_curses_dir/lib" ; then
  for cf_add_libdir in $cf_cv_curses_dir/lib
  do
    if test $cf_add_libdir = /usr/lib ; then
      :
    elif test -d $cf_add_libdir
    then
      cf_have_libdir=no
      if test -n "$LDFLAGS$LIBS" ; then
        # a loop is needed to ensure we can add subdirs of existing dirs
        for cf_test_libdir in $LDFLAGS $LIBS ; do
          if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
            cf_have_libdir=yes; break
          fi
        done
      fi
      if test "$cf_have_libdir" = no ; then
        test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6

echo "${as_me-configure}:10172: testing adding $cf_add_libdir to library-path ..." 1>&5

        LDFLAGS="-L$cf_add_libdir $LDFLAGS"
      fi
    fi
  done
fi

d10395 1
a10395 1
	echo "$as_me:10185: checking for initscr" >&5
d10401 1
a10401 1
#line 10191 "configure"
d10432 1
a10432 1
if { (eval echo "$as_me:10222: \"$ac_link\"") >&5
d10435 1
a10435 1
  echo "$as_me:10225: \$? = $ac_status" >&5
d10438 1
a10438 1
  { (eval echo "$as_me:10228: \"$ac_try\"") >&5
d10441 1
a10441 1
  echo "$as_me:10231: \$? = $ac_status" >&5
d10451 1
a10451 1
echo "$as_me:10241: result: $ac_cv_func_initscr" >&5
d10458 1
a10458 1
		echo "$as_me:10248: checking for initscr in -l$cf_nculib_root" >&5
d10462 1
a10462 1
#line 10252 "configure"
d10464 1
a10464 1
#include <${cf_cv_ncurses_header-curses.h}>
d10474 1
a10474 1
if { (eval echo "$as_me:10264: \"$ac_link\"") >&5
d10477 1
a10477 1
  echo "$as_me:10267: \$? = $ac_status" >&5
d10480 1
a10480 1
  { (eval echo "$as_me:10270: \"$ac_try\"") >&5
d10483 1
a10483 1
  echo "$as_me:10273: \$? = $ac_status" >&5
d10485 1
a10485 1
  echo "$as_me:10275: result: yes" >&5
d10492 1
a10492 1
echo "$as_me:10282: result: no" >&5
d10525 1
a10525 1
(test $prefix = NONE || test -d $prefix) && {
d10547 1
a10547 1
(test $prefix = NONE || test -d $prefix) && {
d10558 1
a10558 1
(test $prefix = NONE || test -d $prefix) && {
d10569 1
a10569 1
(test $prefix = NONE || test -d $prefix) && {
d10582 1
a10582 1
				echo "$as_me:10372: checking for -l$cf_nculib_root in $cf_libdir" >&5
d10586 1
a10586 1
#line 10376 "configure"
d10588 1
a10588 1
#include <${cf_cv_ncurses_header-curses.h}>
d10598 1
a10598 1
if { (eval echo "$as_me:10388: \"$ac_link\"") >&5
d10601 1
a10601 1
  echo "$as_me:10391: \$? = $ac_status" >&5
d10604 1
a10604 1
  { (eval echo "$as_me:10394: \"$ac_try\"") >&5
d10607 1
a10607 1
  echo "$as_me:10397: \$? = $ac_status" >&5
d10609 1
a10609 1
  echo "$as_me:10399: result: yes" >&5
d10616 1
a10616 1
echo "$as_me:10406: result: no" >&5
d10631 1
a10631 1
	{ { echo "$as_me:10421: error: Cannot link $cf_nculib_root library" >&5
d10639 1
a10639 1
	echo "$as_me:10429: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
d10649 1
a10649 1
#line 10439 "configure"
d10651 1
a10651 1
#include <${cf_cv_ncurses_header-curses.h}>
d10661 1
a10661 1
if { (eval echo "$as_me:10451: \"$ac_link\"") >&5
d10664 1
a10664 1
  echo "$as_me:10454: \$? = $ac_status" >&5
d10667 1
a10667 1
  { (eval echo "$as_me:10457: \"$ac_try\"") >&5
d10670 1
a10670 1
  echo "$as_me:10460: \$? = $ac_status" >&5
d10672 1
a10672 1
  echo "$as_me:10462: result: yes" >&5
d10677 1
a10677 1
echo "$as_me:10467: result: no" >&5
d10695 1
a10695 1
echo "$as_me:10485: checking for extra include directories" >&5
d10715 1
a10715 1
echo "$as_me:10505: result: $cf_cv_curses_incdir" >&5
d10719 1
a10719 1
echo "$as_me:10509: checking if we have identified curses headers" >&5
d10731 1
a10731 1
#line 10521 "configure"
d10743 1
a10743 1
if { (eval echo "$as_me:10533: \"$ac_compile\"") >&5
d10746 1
a10746 1
  echo "$as_me:10536: \$? = $ac_status" >&5
d10749 1
a10749 1
  { (eval echo "$as_me:10539: \"$ac_try\"") >&5
d10752 1
a10752 1
  echo "$as_me:10542: \$? = $ac_status" >&5
d10763 1
a10763 1
echo "$as_me:10553: result: $cf_cv_ncurses_header" >&5
d10767 1
a10767 1
	{ { echo "$as_me:10557: error: No curses header-files found" >&5
d10777 1
a10777 1
echo "$as_me:10567: checking for $ac_header" >&5
d10783 1
a10783 1
#line 10573 "configure"
d10787 1
a10787 1
if { (eval echo "$as_me:10577: \"$ac_cpp conftest.$ac_ext\"") >&5
d10793 1
a10793 1
  echo "$as_me:10583: \$? = $ac_status" >&5
d10812 1
a10812 1
echo "$as_me:10602: result: `eval echo '${'$as_ac_Header'}'`" >&5
d10822 1
a10822 1
echo "$as_me:10612: checking for terminfo header" >&5
d10840 1
a10840 1
#line 10630 "configure"
d10843 1
a10843 1
#include <${cf_cv_ncurses_header-curses.h}>
d10855 1
a10855 1
if { (eval echo "$as_me:10645: \"$ac_compile\"") >&5
d10858 1
a10858 1
  echo "$as_me:10648: \$? = $ac_status" >&5
d10861 1
a10861 1
  { (eval echo "$as_me:10651: \"$ac_try\"") >&5
d10864 1
a10864 1
  echo "$as_me:10654: \$? = $ac_status" >&5
d10880 1
a10880 1
echo "$as_me:10670: result: $cf_cv_term_header" >&5
d10909 1
a10909 1
echo "$as_me:10699: checking for ncurses version" >&5
d10923 1
a10923 1
#include <${cf_cv_ncurses_header-curses.h}>
d10935 1
a10935 1
	{ (eval echo "$as_me:10725: \"$cf_try\"") >&5
d10938 1
a10938 1
  echo "$as_me:10728: \$? = $ac_status" >&5
d10948 1
a10948 1
#line 10738 "configure"
d10951 1
a10951 1
#include <${cf_cv_ncurses_header-curses.h}>
d10969 1
a10969 1
	${cf_cv_main_return-return}(0);
d10973 1
a10973 1
if { (eval echo "$as_me:10763: \"$ac_link\"") >&5
d10976 1
a10976 1
  echo "$as_me:10766: \$? = $ac_status" >&5
d10978 1
a10978 1
  { (eval echo "$as_me:10768: \"$ac_try\"") >&5
d10981 1
a10981 1
  echo "$as_me:10771: \$? = $ac_status" >&5
d10995 1
a10995 1
echo "$as_me:10785: result: $cf_cv_ncurses_version" >&5
d11001 1
a11001 1
echo "$as_me:10791: checking if we have identified curses libraries" >&5
d11004 1
a11004 1
#line 10794 "configure"
d11006 1
a11006 1
#include <${cf_cv_ncurses_header-curses.h}>
d11016 1
a11016 1
if { (eval echo "$as_me:10806: \"$ac_link\"") >&5
d11019 1
a11019 1
  echo "$as_me:10809: \$? = $ac_status" >&5
d11022 1
a11022 1
  { (eval echo "$as_me:10812: \"$ac_try\"") >&5
d11025 1
a11025 1
  echo "$as_me:10815: \$? = $ac_status" >&5
d11034 1
a11034 1
echo "$as_me:10824: result: $cf_result" >&5
d11040 1
a11040 1
    echo "$as_me:10830: checking for tgoto in -lmytinfo" >&5
d11048 1
a11048 1
#line 10838 "configure"
d11067 1
a11067 1
if { (eval echo "$as_me:10857: \"$ac_link\"") >&5
d11070 1
a11070 1
  echo "$as_me:10860: \$? = $ac_status" >&5
d11073 1
a11073 1
  { (eval echo "$as_me:10863: \"$ac_try\"") >&5
d11076 1
a11076 1
  echo "$as_me:10866: \$? = $ac_status" >&5
d11087 1
a11087 1
echo "$as_me:10877: result: $ac_cv_lib_mytinfo_tgoto" >&5
d11095 1
a11095 1
    echo "$as_me:10885: checking for initscr in -lcur_colr" >&5
d11103 1
a11103 1
#line 10893 "configure"
d11122 1
a11122 1
if { (eval echo "$as_me:10912: \"$ac_link\"") >&5
d11125 1
a11125 1
  echo "$as_me:10915: \$? = $ac_status" >&5
d11128 1
a11128 1
  { (eval echo "$as_me:10918: \"$ac_try\"") >&5
d11131 1
a11131 1
  echo "$as_me:10921: \$? = $ac_status" >&5
d11142 1
a11142 1
echo "$as_me:10932: result: $ac_cv_lib_cur_colr_initscr" >&5
d11151 1
a11151 1
    echo "$as_me:10941: checking for initscr in -lHcurses" >&5
d11159 1
a11159 1
#line 10949 "configure"
d11178 1
a11178 1
if { (eval echo "$as_me:10968: \"$ac_link\"") >&5
d11181 1
a11181 1
  echo "$as_me:10971: \$? = $ac_status" >&5
d11184 1
a11184 1
  { (eval echo "$as_me:10974: \"$ac_try\"") >&5
d11187 1
a11187 1
  echo "$as_me:10977: \$? = $ac_status" >&5
d11198 1
a11198 1
echo "$as_me:10988: result: $ac_cv_lib_Hcurses_initscr" >&5
d11212 34
a11245 1
linux*) # Suse Linux does not follow /usr/lib convention
d11266 1
a11266 1
echo "${as_me-configure}:11023: testing adding $cf_add_libdir to library-path ..." 1>&5
d11274 33
d11330 1
a11330 1
echo "${as_me-configure}:11054: testing adding $cf_add_libdir to library-path ..." 1>&5
d11338 1
a11338 1
      LIBS="$LIBS -lcurses -ltermcap"
d11349 1
a11349 1
    if test ".${cf_cv_ncurses_version-no}" != .no
d11358 1
a11358 1
    echo "$as_me:11082: checking for tgoto" >&5
d11364 1
a11364 1
#line 11088 "configure"
d11395 1
a11395 1
if { (eval echo "$as_me:11119: \"$ac_link\"") >&5
d11398 1
a11398 1
  echo "$as_me:11122: \$? = $ac_status" >&5
d11401 1
a11401 1
  { (eval echo "$as_me:11125: \"$ac_try\"") >&5
d11404 1
a11404 1
  echo "$as_me:11128: \$? = $ac_status" >&5
d11414 1
a11414 1
echo "$as_me:11138: result: $ac_cv_func_tgoto" >&5
d11423 1
a11423 1
echo "$as_me:11147: checking for tgoto in -l$cf_term_lib" >&5
d11431 1
a11431 1
#line 11155 "configure"
d11450 1
a11450 1
if { (eval echo "$as_me:11174: \"$ac_link\"") >&5
d11453 1
a11453 1
  echo "$as_me:11177: \$? = $ac_status" >&5
d11456 1
a11456 1
  { (eval echo "$as_me:11180: \"$ac_try\"") >&5
d11459 1
a11459 1
  echo "$as_me:11183: \$? = $ac_status" >&5
d11470 1
a11470 1
echo "$as_me:11194: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d11485 1
a11485 1
echo "$as_me:11209: checking for initscr in -l$cf_curs_lib" >&5
d11493 1
a11493 1
#line 11217 "configure"
d11512 1
a11512 1
if { (eval echo "$as_me:11236: \"$ac_link\"") >&5
d11515 1
a11515 1
  echo "$as_me:11239: \$? = $ac_status" >&5
d11518 1
a11518 1
  { (eval echo "$as_me:11242: \"$ac_try\"") >&5
d11521 1
a11521 1
  echo "$as_me:11245: \$? = $ac_status" >&5
d11532 1
a11532 1
echo "$as_me:11256: result: `eval echo '${'$as_ac_Lib'}'`" >&5
d11539 1
a11539 1
    test $cf_curs_lib = unknown && { { echo "$as_me:11263: error: no curses library found" >&5
d11545 1
a11545 1
        echo "$as_me:11269: checking if we can link with $cf_curs_lib library" >&5
d11548 1
a11548 1
#line 11272 "configure"
d11550 1
a11550 1
#include <${cf_cv_ncurses_header-curses.h}>
d11560 1
a11560 1
if { (eval echo "$as_me:11284: \"$ac_link\"") >&5
d11563 1
a11563 1
  echo "$as_me:11287: \$? = $ac_status" >&5
d11566 1
a11566 1
  { (eval echo "$as_me:11290: \"$ac_try\"") >&5
d11569 1
a11569 1
  echo "$as_me:11293: \$? = $ac_status" >&5
d11578 1
a11578 1
        echo "$as_me:11302: result: $cf_result" >&5
d11580 1
a11580 1
        test $cf_result = no && { { echo "$as_me:11304: error: Cannot link curses library" >&5
d11586 1
a11586 1
        echo "$as_me:11310: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
d11589 1
a11589 1
#line 11313 "configure"
d11591 1
a11591 1
#include <${cf_cv_ncurses_header-curses.h}>
d11601 1
a11601 1
if { (eval echo "$as_me:11325: \"$ac_link\"") >&5
d11604 1
a11604 1
  echo "$as_me:11328: \$? = $ac_status" >&5
d11607 1
a11607 1
  { (eval echo "$as_me:11331: \"$ac_try\"") >&5
d11610 1
a11610 1
  echo "$as_me:11334: \$? = $ac_status" >&5
d11619 1
a11619 1
#line 11343 "configure"
d11621 1
a11621 1
#include <${cf_cv_ncurses_header-curses.h}>
d11631 1
a11631 1
if { (eval echo "$as_me:11355: \"$ac_link\"") >&5
d11634 1
a11634 1
  echo "$as_me:11358: \$? = $ac_status" >&5
d11637 1
a11637 1
  { (eval echo "$as_me:11361: \"$ac_try\"") >&5
d11640 1
a11640 1
  echo "$as_me:11364: \$? = $ac_status" >&5
d11652 1
a11652 1
        echo "$as_me:11376: result: $cf_result" >&5
d11662 1
a11662 1
echo "$as_me:11386: checking if you want extra dialogs" >&5
d11672 1
a11672 1
echo "$as_me:11396: result: $enableval" >&5
d11680 1
a11680 1
echo "$as_me:11404: checking if you want config-file support" >&5
d11690 1
a11690 1
echo "$as_me:11414: result: $enableval" >&5
d11702 1
a11702 1
echo "$as_me:11426: checking if you want Xdialog-style dialogs" >&5
d11712 1
a11712 1
echo "$as_me:11436: result: $enableval" >&5
d11724 1
a11724 1
echo "$as_me:11448: checking if you want the form dialog" >&5
d11734 1
a11734 1
echo "$as_me:11458: result: $enableval" >&5
d11746 1
a11746 1
echo "$as_me:11470: checking if you want the gauge dialog" >&5
d11756 1
a11756 1
echo "$as_me:11480: result: $enableval" >&5
d11759 1
a11759 1
EXTRAOBJS="$EXTRAOBJS guage\$o pause\$o progressbox\$o"
d11768 1
a11768 1
echo "$as_me:11492: checking if you want the tailbox dialog" >&5
d11778 1
a11778 1
echo "$as_me:11502: result: $enableval" >&5
d11790 1
a11790 1
echo "$as_me:11514: checking if you want the mixedform dialog" >&5
d11800 1
a11800 1
echo "$as_me:11524: result: $enableval" >&5
d11812 1
a11812 1
echo "$as_me:11536: checking if you want the mixedgauge dialog" >&5
d11822 1
a11822 1
echo "$as_me:11546: result: $enableval" >&5
d11834 1
a11834 1
echo "$as_me:11558: checking if you want the wide-curses features" >&5
d11844 1
a11844 1
echo "$as_me:11568: result: $enableval" >&5
d11855 1
a11855 1
echo "$as_me:11579: checking for ANSI C header files" >&5
d11861 1
a11861 1
#line 11585 "configure"
d11869 1
a11869 1
if { (eval echo "$as_me:11593: \"$ac_cpp conftest.$ac_ext\"") >&5
d11875 1
a11875 1
  echo "$as_me:11599: \$? = $ac_status" >&5
d11897 1
a11897 1
#line 11621 "configure"
d11908 1
a11908 1
rm -f conftest*
d11915 1
a11915 1
#line 11639 "configure"
d11926 1
a11926 1
rm -f conftest*
d11936 1
a11936 1
#line 11660 "configure"
d11962 1
a11962 1
if { (eval echo "$as_me:11686: \"$ac_link\"") >&5
d11965 1
a11965 1
  echo "$as_me:11689: \$? = $ac_status" >&5
d11967 1
a11967 1
  { (eval echo "$as_me:11691: \"$ac_try\"") >&5
d11970 1
a11970 1
  echo "$as_me:11694: \$? = $ac_status" >&5
d11983 1
a11983 1
echo "$as_me:11707: result: $ac_cv_header_stdc" >&5
d11993 1
a11993 1
echo "$as_me:11717: checking whether time.h and sys/time.h may both be included" >&5
d11999 1
a11999 1
#line 11723 "configure"
d12015 1
a12015 1
if { (eval echo "$as_me:11739: \"$ac_compile\"") >&5
d12018 1
a12018 1
  echo "$as_me:11742: \$? = $ac_status" >&5
d12021 1
a12021 1
  { (eval echo "$as_me:11745: \"$ac_try\"") >&5
d12024 1
a12024 1
  echo "$as_me:11748: \$? = $ac_status" >&5
d12034 1
a12034 1
echo "$as_me:11758: result: $ac_cv_header_time" >&5
d12047 1
a12047 1
echo "$as_me:11771: checking for $ac_hdr that defines DIR" >&5
d12053 1
a12053 1
#line 11777 "configure"
d12068 1
a12068 1
if { (eval echo "$as_me:11792: \"$ac_compile\"") >&5
d12071 1
a12071 1
  echo "$as_me:11795: \$? = $ac_status" >&5
d12074 1
a12074 1
  { (eval echo "$as_me:11798: \"$ac_try\"") >&5
d12077 1
a12077 1
  echo "$as_me:11801: \$? = $ac_status" >&5
d12087 1
a12087 1
echo "$as_me:11811: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12100 1
a12100 1
  echo "$as_me:11824: checking for opendir in -ldir" >&5
d12108 1
a12108 1
#line 11832 "configure"
d12127 1
a12127 1
if { (eval echo "$as_me:11851: \"$ac_link\"") >&5
d12130 1
a12130 1
  echo "$as_me:11854: \$? = $ac_status" >&5
d12133 1
a12133 1
  { (eval echo "$as_me:11857: \"$ac_try\"") >&5
d12136 1
a12136 1
  echo "$as_me:11860: \$? = $ac_status" >&5
d12147 1
a12147 1
echo "$as_me:11871: result: $ac_cv_lib_dir_opendir" >&5
d12154 1
a12154 1
  echo "$as_me:11878: checking for opendir in -lx" >&5
d12162 1
a12162 1
#line 11886 "configure"
d12181 1
a12181 1
if { (eval echo "$as_me:11905: \"$ac_link\"") >&5
d12184 1
a12184 1
  echo "$as_me:11908: \$? = $ac_status" >&5
d12187 1
a12187 1
  { (eval echo "$as_me:11911: \"$ac_try\"") >&5
d12190 1
a12190 1
  echo "$as_me:11914: \$? = $ac_status" >&5
d12201 1
a12201 1
echo "$as_me:11925: result: $ac_cv_lib_x_opendir" >&5
d12212 1
a12212 1
echo "$as_me:11936: checking for $ac_header" >&5
d12218 1
a12218 1
#line 11942 "configure"
d12222 1
a12222 1
if { (eval echo "$as_me:11946: \"$ac_cpp conftest.$ac_ext\"") >&5
d12228 1
a12228 1
  echo "$as_me:11952: \$? = $ac_status" >&5
d12247 1
a12247 1
echo "$as_me:11971: result: `eval echo '${'$as_ac_Header'}'`" >&5
d12257 1
a12257 1
echo "$as_me:11981: checking for term.h" >&5
d12266 1
a12266 1
	`echo ${cf_cv_ncurses_header-curses.h} | sed -e 's%/.*%/%'`term.h \
d12270 1
a12270 1
#line 11994 "configure"
d12273 1
a12273 1
#include <${cf_cv_ncurses_header-curses.h}>
d12284 1
a12284 1
if { (eval echo "$as_me:12008: \"$ac_compile\"") >&5
d12287 1
a12287 1
  echo "$as_me:12011: \$? = $ac_status" >&5
d12290 1
a12290 1
  { (eval echo "$as_me:12014: \"$ac_try\"") >&5
d12293 1
a12293 1
  echo "$as_me:12017: \$? = $ac_status" >&5
d12312 1
a12312 1
#line 12036 "configure"
d12315 1
a12315 1
#include <${cf_cv_ncurses_header-curses.h}>
d12330 1
a12330 1
if { (eval echo "$as_me:12054: \"$ac_compile\"") >&5
d12333 1
a12333 1
  echo "$as_me:12057: \$? = $ac_status" >&5
d12336 1
a12336 1
  { (eval echo "$as_me:12060: \"$ac_try\"") >&5
d12339 1
a12339 1
  echo "$as_me:12063: \$? = $ac_status" >&5
d12354 1
a12354 1
echo "$as_me:12078: result: $cf_cv_term_header" >&5
d12378 1
a12378 1
echo "$as_me:12102: checking return type of signal handlers" >&5
d12384 1
a12384 1
#line 12108 "configure"
d12406 1
a12406 1
if { (eval echo "$as_me:12130: \"$ac_compile\"") >&5
d12409 1
a12409 1
  echo "$as_me:12133: \$? = $ac_status" >&5
d12412 1
a12412 1
  { (eval echo "$as_me:12136: \"$ac_try\"") >&5
d12415 1
a12415 1
  echo "$as_me:12139: \$? = $ac_status" >&5
d12425 1
a12425 1
echo "$as_me:12149: result: $ac_cv_type_signal" >&5
d12434 5
d12443 4
d12450 1
a12450 1
echo "$as_me:12165: checking for $ac_func" >&5
d12456 1
a12456 1
#line 12171 "configure"
d12487 1
a12487 1
if { (eval echo "$as_me:12202: \"$ac_link\"") >&5
d12490 1
a12490 1
  echo "$as_me:12205: \$? = $ac_status" >&5
d12493 1
a12493 1
  { (eval echo "$as_me:12208: \"$ac_try\"") >&5
d12496 1
a12496 1
  echo "$as_me:12211: \$? = $ac_status" >&5
d12506 1
a12506 1
echo "$as_me:12221: result: `eval echo '${'$as_ac_var'}'`" >&5
d12516 1
a12516 1
echo "$as_me:12231: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
d12523 1
a12523 1
#line 12238 "configure"
d12527 1
a12527 1
#include <${cf_cv_ncurses_header-curses.h}>
d12533 1
a12533 1
if (NCURSES_VERSION_PATCH < 20100501) && (NCURSES_VERSION_PATCH >= 20100403)
d12545 1
a12545 1
if { (eval echo "$as_me:12260: \"$ac_link\"") >&5
d12548 1
a12548 1
  echo "$as_me:12263: \$? = $ac_status" >&5
d12551 1
a12551 1
  { (eval echo "$as_me:12266: \"$ac_try\"") >&5
d12554 1
a12554 1
  echo "$as_me:12269: \$? = $ac_status" >&5
d12561 1
a12561 1
#line 12276 "configure"
d12566 1
a12566 1
#include <${cf_cv_ncurses_header-curses.h}>
d12583 1
a12583 1
if { (eval echo "$as_me:12298: \"$ac_link\"") >&5
d12586 1
a12586 1
  echo "$as_me:12301: \$? = $ac_status" >&5
d12589 1
a12589 1
  { (eval echo "$as_me:12304: \"$ac_try\"") >&5
d12592 1
a12592 1
  echo "$as_me:12307: \$? = $ac_status" >&5
d12604 1
a12604 1
echo "$as_me:12319: result: $cf_cv_need_xopen_extension" >&5
d12610 1
d12629 1
a12629 1
	echo "$as_me:12343: checking for ${cf_func}" >&5
d12632 1
a12632 1
echo "${as_me-configure}:12346: testing ${cf_func} ..." 1>&5
d12641 1
a12641 1
#line 12355 "configure"
d12648 1
a12648 1
#include <${cf_cv_ncurses_header-curses.h}>
d12664 1
a12664 1
${cf_cv_main_return-return}(foo == 0);
d12672 1
a12672 1
if { (eval echo "$as_me:12386: \"$ac_link\"") >&5
d12675 1
a12675 1
  echo "$as_me:12389: \$? = $ac_status" >&5
d12678 1
a12678 1
  { (eval echo "$as_me:12392: \"$ac_try\"") >&5
d12681 1
a12681 1
  echo "$as_me:12395: \$? = $ac_status" >&5
d12697 1
a12697 1
	echo "$as_me:12411: result: $cf_result" >&5
d12707 1
a12707 1
echo "$as_me:12421: checking for start_color" >&5
d12713 1
a12713 1
#line 12427 "configure"
d12744 1
a12744 1
if { (eval echo "$as_me:12458: \"$ac_link\"") >&5
d12747 1
a12747 1
  echo "$as_me:12461: \$? = $ac_status" >&5
d12750 1
a12750 1
  { (eval echo "$as_me:12464: \"$ac_try\"") >&5
d12753 1
a12753 1
  echo "$as_me:12467: \$? = $ac_status" >&5
d12763 1
a12763 1
echo "$as_me:12477: result: $ac_cv_func_start_color" >&5
d12772 1
a12772 1
echo "$as_me:12486: checking for chtype typedef" >&5
d12779 1
a12779 1
#line 12493 "configure"
d12781 1
a12781 1
#include <${cf_cv_ncurses_header-curses.h}>
d12791 1
a12791 1
if { (eval echo "$as_me:12505: \"$ac_compile\"") >&5
d12794 1
a12794 1
  echo "$as_me:12508: \$? = $ac_status" >&5
d12797 1
a12797 1
  { (eval echo "$as_me:12511: \"$ac_try\"") >&5
d12800 1
a12800 1
  echo "$as_me:12514: \$? = $ac_status" >&5
d12810 1
a12810 1
echo "$as_me:12524: result: $cf_cv_chtype_decl" >&5
d12817 1
a12817 1
	echo "$as_me:12531: checking if chtype is scalar or struct" >&5
d12824 1
a12824 1
#line 12538 "configure"
d12826 1
a12826 1
#include <${cf_cv_ncurses_header-curses.h}>
d12836 1
a12836 1
if { (eval echo "$as_me:12550: \"$ac_compile\"") >&5
d12839 1
a12839 1
  echo "$as_me:12553: \$? = $ac_status" >&5
d12842 1
a12842 1
  { (eval echo "$as_me:12556: \"$ac_try\"") >&5
d12845 1
a12845 1
  echo "$as_me:12559: \$? = $ac_status" >&5
d12855 1
a12855 1
echo "$as_me:12569: result: $cf_cv_chtype_type" >&5
d12865 142
d13010 1
a13010 1
echo "$as_me:12582: checking for $ac_header" >&5
d13016 1
a13016 1
#line 12588 "configure"
d13020 1
a13020 1
if { (eval echo "$as_me:12592: \"$ac_cpp conftest.$ac_ext\"") >&5
d13026 1
a13026 1
  echo "$as_me:12598: \$? = $ac_status" >&5
d13045 1
a13045 1
echo "$as_me:12617: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13066 1
a13066 1
echo "$as_me:12638: checking for $ac_header" >&5
d13072 1
a13072 1
#line 12644 "configure"
d13076 1
a13076 1
if { (eval echo "$as_me:12648: \"$ac_cpp conftest.$ac_ext\"") >&5
d13082 1
a13082 1
  echo "$as_me:12654: \$? = $ac_status" >&5
d13101 1
a13101 1
echo "$as_me:12673: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13114 1
a13114 1
echo "$as_me:12686: checking for $ac_header" >&5
d13120 1
a13120 1
#line 12692 "configure"
d13124 1
a13124 1
if { (eval echo "$as_me:12696: \"$ac_cpp conftest.$ac_ext\"") >&5
d13130 1
a13130 1
  echo "$as_me:12702: \$? = $ac_status" >&5
d13149 1
a13149 1
echo "$as_me:12721: result: `eval echo '${'$as_ac_Header'}'`" >&5
d13171 1
a13171 1
echo "$as_me:12743: checking for union wait" >&5
d13178 1
a13178 1
#line 12750 "configure"
d13194 1
a13194 1
if { (eval echo "$as_me:12766: \"$ac_link\"") >&5
d13197 1
a13197 1
  echo "$as_me:12769: \$? = $ac_status" >&5
d13200 1
a13200 1
  { (eval echo "$as_me:12772: \"$ac_try\"") >&5
d13203 1
a13203 1
  echo "$as_me:12775: \$? = $ac_status" >&5
d13213 1
a13213 1
#line 12785 "configure"
d13233 1
a13233 1
if { (eval echo "$as_me:12805: \"$ac_link\"") >&5
d13236 1
a13236 1
  echo "$as_me:12808: \$? = $ac_status" >&5
d13239 1
a13239 1
  { (eval echo "$as_me:12811: \"$ac_try\"") >&5
d13242 1
a13242 1
  echo "$as_me:12814: \$? = $ac_status" >&5
d13257 1
a13257 1
echo "$as_me:12829: result: $cf_cv_type_unionwait" >&5
d13265 1
a13265 1
	echo "$as_me:12837: checking if union wait can be used as wait-arg" >&5
d13272 1
a13272 1
#line 12844 "configure"
d13284 1
a13284 1
if { (eval echo "$as_me:12856: \"$ac_compile\"") >&5
d13287 1
a13287 1
  echo "$as_me:12859: \$? = $ac_status" >&5
d13290 1
a13290 1
  { (eval echo "$as_me:12862: \"$ac_try\"") >&5
d13293 1
a13293 1
  echo "$as_me:12865: \$? = $ac_status" >&5
d13305 1
a13305 1
	echo "$as_me:12877: result: $cf_cv_arg_union_wait" >&5
d13311 1
a13311 1
	echo "$as_me:12883: checking if union wait can be used as waitpid-arg" >&5
d13318 1
a13318 1
#line 12890 "configure"
d13330 1
a13330 1
if { (eval echo "$as_me:12902: \"$ac_compile\"") >&5
d13333 1
a13333 1
  echo "$as_me:12905: \$? = $ac_status" >&5
d13336 1
a13336 1
  { (eval echo "$as_me:12908: \"$ac_try\"") >&5
d13339 1
a13339 1
  echo "$as_me:12911: \$? = $ac_status" >&5
d13351 1
a13351 1
	echo "$as_me:12923: result: $cf_cv_arg_union_waitpid" >&5
d13359 1
a13359 1
echo "$as_me:12931: checking if we must include wchar.h to declare mbstate_t" >&5
d13366 1
a13366 1
#line 12938 "configure"
d13383 1
a13383 1
if { (eval echo "$as_me:12955: \"$ac_compile\"") >&5
d13386 1
a13386 1
  echo "$as_me:12958: \$? = $ac_status" >&5
d13389 1
a13389 1
  { (eval echo "$as_me:12961: \"$ac_try\"") >&5
d13392 1
a13392 1
  echo "$as_me:12964: \$? = $ac_status" >&5
d13399 1
a13399 1
#line 12971 "configure"
d13417 1
a13417 1
if { (eval echo "$as_me:12989: \"$ac_compile\"") >&5
d13420 1
a13420 1
  echo "$as_me:12992: \$? = $ac_status" >&5
d13423 1
a13423 1
  { (eval echo "$as_me:12995: \"$ac_try\"") >&5
d13426 1
a13426 1
  echo "$as_me:12998: \$? = $ac_status" >&5
d13438 1
a13438 1
echo "$as_me:13010: result: $cf_cv_mbstate_t" >&5
d13461 1
a13461 1
#line 13033 "configure"
d13473 1
a13473 1
if { (eval echo "$as_me:13045: \"$ac_link\"") >&5
d13476 1
a13476 1
  echo "$as_me:13048: \$? = $ac_status" >&5
d13479 1
a13479 1
  { (eval echo "$as_me:13051: \"$ac_try\"") >&5
d13482 1
a13482 1
  echo "$as_me:13054: \$? = $ac_status" >&5
d13495 1
a13495 1
echo "$as_me:13067: checking for an rpath option" >&5
d13526 1
a13526 1
echo "$as_me:13098: result: $LD_RPATH_OPT" >&5
d13531 1
a13531 1
	echo "$as_me:13103: checking if we need a space after rpath option" >&5
d13536 1
a13536 1
#line 13108 "configure"
d13548 1
a13548 1
if { (eval echo "$as_me:13120: \"$ac_link\"") >&5
d13551 1
a13551 1
  echo "$as_me:13123: \$? = $ac_status" >&5
d13554 1
a13554 1
  { (eval echo "$as_me:13126: \"$ac_try\"") >&5
d13557 1
a13557 1
  echo "$as_me:13129: \$? = $ac_status" >&5
d13567 1
a13567 1
	echo "$as_me:13139: result: $cf_rpath_space" >&5
d13573 1
a13573 1
echo "$as_me:13145: checking if rpath should be not be set" >&5
d13590 1
a13590 1
echo "$as_me:13162: result: $cf_disable_rpath_hack" >&5
d13594 1
a13594 1
echo "$as_me:13166: checking for updated LDFLAGS" >&5
d13597 1
a13597 1
	echo "$as_me:13169: result: maybe" >&5
d13604 1
a13604 1
echo "$as_me:13176: checking for $ac_word" >&5
d13619 1
a13619 1
echo "$as_me:13191: found $ac_dir/$ac_word" >&5
d13627 1
a13627 1
  echo "$as_me:13199: result: $cf_ldd_prog" >&5
d13630 1
a13630 1
  echo "$as_me:13202: result: no" >&5
d13642 1
a13642 1
#line 13214 "configure"
d13654 1
a13654 1
if { (eval echo "$as_me:13226: \"$ac_link\"") >&5
d13657 1
a13657 1
  echo "$as_me:13229: \$? = $ac_status" >&5
d13660 1
a13660 1
  { (eval echo "$as_me:13232: \"$ac_try\"") >&5
d13663 1
a13663 1
  echo "$as_me:13235: \$? = $ac_status" >&5
d13675 1
a13675 1
echo "${as_me-configure}:13247: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d13679 1
a13679 1
echo "${as_me-configure}:13251: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
d13716 1
a13716 1
echo "${as_me-configure}:13288: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d13729 1
a13729 1
echo "${as_me-configure}:13301: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
d13733 1
a13733 1
echo "${as_me-configure}:13305: testing ...checking LIBS $LIBS ..." 1>&5
d13770 1
a13770 1
echo "${as_me-configure}:13342: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
d13783 1
a13783 1
echo "${as_me-configure}:13355: testing ...checked LIBS $LIBS ..." 1>&5
d13787 1
a13787 1
echo "${as_me-configure}:13359: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
d13874 1
a13874 1
{ echo "$as_me:13446: creating $CONFIG_STATUS" >&5
d14000 1
a14000 1
Report bugs to <bug-autoconf@@gnu.org>."
d14006 1
a14006 1
configured by $0, generated by GNU Autoconf 2.52.20100320,
d14050 1
a14050 1
    { { echo "$as_me:13622: error: ambiguous option: $1
d14069 1
a14069 1
  -*) { { echo "$as_me:13641: error: unrecognized option: $1
d14088 1
a14088 1
This file was extended by $as_me 2.52.20100320, executed with
d14119 1
a14119 1
  *) { { echo "$as_me:13691: error: invalid argument: $ac_config_target" >&5
a14200 5
s,@@VERSION@@,$VERSION,;t t
s,@@VERSION_MAJOR@@,$VERSION_MAJOR,;t t
s,@@VERSION_MINOR@@,$VERSION_MINOR,;t t
s,@@VERSION_PATCH@@,$VERSION_PATCH,;t t
s,@@PACKAGE@@,$PACKAGE,;t t
d14240 6
a14266 1
s,@@MKINSTALLDIRS@@,$MKINSTALLDIRS,;t t
d14268 1
d14275 1
d14410 1
a14410 1
    { echo "$as_me:13980: creating $ac_file" >&5
d14428 1
a14428 1
         test -f "$f" || { { echo "$as_me:13998: error: cannot find input file: $f" >&5
d14441 1
a14441 1
           { { echo "$as_me:14011: error: cannot find input file: $f" >&5
d14507 1
a14507 1
  test x"$ac_file" != x- && { echo "$as_me:14077: creating $ac_file" >&5
d14518 1
a14518 1
         test -f "$f" || { { echo "$as_me:14088: error: cannot find input file: $f" >&5
d14531 1
a14531 1
           { { echo "$as_me:14101: error: cannot find input file: $f" >&5
d14589 1
a14589 1
      { echo "$as_me:14159: $ac_file is unchanged" >&5
a14630 1

@

