From 08e058341a5d73977da201f2c380e131cc3e720c Mon Sep 17 00:00:00 2001 From: Eibz-Chan Date: Fri, 18 Nov 2022 11:31:36 +0800 Subject: [PATCH 1/3] Intergrate the memory leakage patch from the upstream community. --- ncurses-6.3-patch-20220423.patch | 328 + ncurses-6.3-patch-20220507.patch | 842 ++ ncurses-6.3-patch-20220521.patch | 959 ++ ncurses-6.3-patch-20220924.patch | 22144 +++++++++++++++++++++++++++++ ncurses-6.3-patch-20221015.patch | 1253 ++ ncurses.spec | 7 +- 6 files changed, 25532 insertions(+), 1 deletion(-) create mode 100644 ncurses-6.3-patch-20220423.patch create mode 100644 ncurses-6.3-patch-20220507.patch create mode 100644 ncurses-6.3-patch-20220521.patch create mode 100644 ncurses-6.3-patch-20220924.patch create mode 100644 ncurses-6.3-patch-20221015.patch diff --git a/ncurses-6.3-patch-20220423.patch b/ncurses-6.3-patch-20220423.patch new file mode 100644 index 0000000..d31b389 --- /dev/null +++ b/ncurses-6.3-patch-20220423.patch @@ -0,0 +1,328 @@ +From 20db1fb41ec91cd8a1f528e770362092c5403378 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 24 Apr 2022 00:17:21 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220423 + ++ in-progress work on invalid_merge(), disable it (cf: 20220402). ++ fix memory leak in _nc_tic_dir() when called from _nc_set_writedir(). ++ fix memory leak in tic when "-c" option is used. +--- + NEWS | 7 ++++++- + VERSION | 2 +- + dist.mk | 4 ++-- + ncurses/tinfo/comp_parse.c | 12 ++++++++++-- + ncurses/tinfo/db_iterator.c | 17 +++++++++++++---- + ncurses/tinfo/write_entry.c | 4 ++-- + package/debian-mingw/changelog | 4 ++-- + package/debian-mingw64/changelog | 4 ++-- + package/debian/changelog | 4 ++-- + package/mingw-ncurses.nsi | 4 ++-- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + progs/tic.c | 6 +++--- + 14 files changed, 48 insertions(+), 26 deletions(-) + +diff --git a/NEWS b/NEWS +index 4e47245a..0c1a85a3 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3796 2022/04/16 23:31:41 tom Exp $ ++-- $Id: NEWS,v 1.3798 2022/04/23 23:26:44 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,11 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220423 ++ + in-progress work on invalid_merge(), disable it (cf: 20220402). ++ + fix memory leak in _nc_tic_dir() when called from _nc_set_writedir(). ++ + fix memory leak in tic when "-c" option is used. ++ + 20220416 + + add a limit-check to guard against corrupt terminfo data + (report/testcase by NCNIPC of China). +diff --git a/VERSION b/VERSION +index 687f5313..d25d1348 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220416 ++5:0:10 6.3 20220423 +diff --git a/dist.mk b/dist.mk +index bc97ee6a..28d52954 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1475 2022/04/16 12:59:30 tom Exp $ ++# $Id: dist.mk,v 1.1476 2022/04/23 12:44:18 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220416 ++NCURSES_PATCH = 20220423 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 7d02a90c..4951377f 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.114 2022/04/02 22:13:54 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.116 2022/04/23 23:23:38 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -266,7 +266,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + _nc_suppress_warnings = oldsuppress; + } + +-#if NCURSES_XNAMES ++#if 0 && NCURSES_XNAMES + static unsigned + find_capname(TERMTYPE2 *p, const char *name) + { +@@ -631,6 +631,14 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + + _nc_check_termtype2(&qp->tterm, literal); + ++ /* ++ * Checking calls tparm, which can allocate memory. Fix leaks. ++ */ ++#define TPS(name) fake_tm.tparm_state.name ++ FreeAndNull(TPS(out_buff)); ++ FreeAndNull(TPS(fmt_buff)); ++#undef TPS ++ + _nc_set_screen(save_SP); + set_curterm(save_tm); + } else { +diff --git a/ncurses/tinfo/db_iterator.c b/ncurses/tinfo/db_iterator.c +index f0726682..e69e0f34 100644 +--- a/ncurses/tinfo/db_iterator.c ++++ b/ncurses/tinfo/db_iterator.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2018,2020 Thomas E. Dickey * ++ * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2006-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -44,7 +44,7 @@ + #include + #endif + +-MODULE_ID("$Id: db_iterator.c,v 1.48 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: db_iterator.c,v 1.49 2022/04/23 20:03:15 tom Exp $") + + #define HaveTicDirectory _nc_globals.have_tic_directory + #define KeepTicDirectory _nc_globals.keep_tic_directory +@@ -202,6 +202,13 @@ free_cache(void) + FreeAndNull(my_list); + } + ++static void ++update_tic_dir(const char *update) ++{ ++ free((char *) TicDirectory); ++ TicDirectory = update; ++} ++ + /* + * Record the "official" location of the terminfo directory, according to + * the place where we're writing to, or the normal default, if not. +@@ -211,8 +218,9 @@ _nc_tic_dir(const char *path) + { + T(("_nc_tic_dir %s", NonNull(path))); + if (!KeepTicDirectory) { +- if (path != 0) { +- TicDirectory = path; ++ if (path != NULL) { ++ if (path != TicDirectory) ++ update_tic_dir(strdup(path)); + HaveTicDirectory = TRUE; + } else if (HaveTicDirectory == 0) { + if (use_terminfo_vars()) { +@@ -444,5 +452,6 @@ _nc_db_iterator_leaks(void) + FreeIfNeeded(my_vars[which].value); + my_vars[which].value = 0; + } ++ update_tic_dir(NULL); + } + #endif +diff --git a/ncurses/tinfo/write_entry.c b/ncurses/tinfo/write_entry.c +index 05fea946..e1baf9e2 100644 +--- a/ncurses/tinfo/write_entry.c ++++ b/ncurses/tinfo/write_entry.c +@@ -51,7 +51,7 @@ + #define TRACE_NUM(n) /* nothing */ + #endif + +-MODULE_ID("$Id: write_entry.c,v 1.119 2022/02/26 20:59:58 tom Exp $") ++MODULE_ID("$Id: write_entry.c,v 1.120 2022/04/23 19:59:10 tom Exp $") + + static int total_written; + static int total_parts; +@@ -248,7 +248,7 @@ _nc_set_writedir(const char *dir) + || getcwd(actual, sizeof(actual)) == 0) + _nc_err_abort("%s: not a directory", destination); + #endif +- _nc_keep_tic_dir(strdup(actual)); ++ _nc_keep_tic_dir(actual); + } + + /* +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 03bde704..2a2f2312 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 03bde704..2a2f2312 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 3ac34a1e..8847c82c 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 6dd8ba23..b92882c3 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.515 2022/04/16 12:59:30 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.516 2022/04/23 12:44:18 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0416" ++!define VERSION_MMDD "0423" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 1028ce58..9537593d 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 43c39805..e9e42a11 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index 8a57c8c8..d5529f16 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/progs/tic.c b/progs/tic.c +index c8736c30..152010d2 100644 +--- a/progs/tic.c ++++ b/progs/tic.c +@@ -49,7 +49,7 @@ + #include + #include + +-MODULE_ID("$Id: tic.c,v 1.310 2022/04/09 22:17:45 tom Exp $") ++MODULE_ID("$Id: tic.c,v 1.311 2022/04/23 19:47:57 tom Exp $") + + #define STDIN_NAME "" + +@@ -644,7 +644,7 @@ show_databases(const char *outdir) + const char *tried = 0; + + if (outdir == NULL) { +- outdir = _nc_tic_dir(0); ++ outdir = _nc_tic_dir(NULL); + } + if ((result = valid_db_path(outdir)) != 0) { + printf("%s\n", result); +@@ -1081,7 +1081,7 @@ main(int argc, char *argv[]) + if (total != 0) + fprintf(log_fp, "%d entries written to %s\n", + total, +- _nc_tic_dir((char *) 0)); ++ _nc_tic_dir(NULL)); + else + fprintf(log_fp, "No entries written\n"); + } +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220507.patch b/ncurses-6.3-patch-20220507.patch new file mode 100644 index 0000000..bb06617 --- /dev/null +++ b/ncurses-6.3-patch-20220507.patch @@ -0,0 +1,842 @@ +From f8401f5e8669eadd551fde12da7de661c18fa4f2 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 8 May 2022 00:52:05 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220507 + ++ add test/test_mouse.c (patch by Leonid S Usov). ++ add a few debug-traces for tic, fix a couple of memory-leaks. +--- + MANIFEST | 1 + + NEWS | 6 +- + VERSION | 2 +- + dist.mk | 4 +- + ncurses/tinfo/alloc_entry.c | 11 +- + ncurses/tinfo/alloc_ttype.c | 25 +++- + ncurses/tinfo/comp_parse.c | 14 +- + ncurses/tinfo/comp_scan.c | 4 +- + ncurses/tinfo/entries.c | 8 +- + ncurses/tinfo/parse_entry.c | 8 +- + ncurses/tinfo/read_entry.c | 4 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/modules | 3 +- + test/programs | 3 +- + test/test_mouse.c | 244 +++++++++++++++++++++++++++++++ + 21 files changed, 316 insertions(+), 43 deletions(-) + create mode 100644 test/test_mouse.c + +diff --git a/MANIFEST b/MANIFEST +index ff14eb8e..8c3a1dc1 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -1220,6 +1220,7 @@ + ./test/test_getstr.c + ./test/test_instr.c + ./test/test_inwstr.c ++./test/test_mouse.c + ./test/test_opaque.c + ./test/test_setupterm.c + ./test/test_sgr.c +diff --git a/NEWS b/NEWS +index aad5f0d4..bc881eb7 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3803 2022/05/01 15:16:36 tom Exp $ ++-- $Id: NEWS,v 1.3805 2022/05/07 22:42:19 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,10 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220507 ++ + add test/test_mouse.c (patch by Leonid S Usov). ++ + add a few debug-traces for tic, fix a couple of memory-leaks. ++ + 20220501 + + build-fix for debug-traces (report/patch by Chris Clayton). + +diff --git a/VERSION b/VERSION +index 7996e30d..59123a31 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220501 ++5:0:10 6.3 20220507 +diff --git a/dist.mk b/dist.mk +index 85c204db..5c0e01ad 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1478 2022/05/01 10:28:56 tom Exp $ ++# $Id: dist.mk,v 1.1479 2022/05/07 11:09:45 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220501 ++NCURSES_PATCH = 20220507 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/tinfo/alloc_entry.c b/ncurses/tinfo/alloc_entry.c +index 48df0fd6..10c4fc75 100644 +--- a/ncurses/tinfo/alloc_entry.c ++++ b/ncurses/tinfo/alloc_entry.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: alloc_entry.c,v 1.71 2022/04/30 18:36:01 tom Exp $") ++MODULE_ID("$Id: alloc_entry.c,v 1.73 2022/05/08 00:11:44 tom Exp $") + + #define ABSENT_OFFSET -1 + #define CANCELLED_OFFSET -2 +@@ -60,7 +60,7 @@ NCURSES_EXPORT(void) + _nc_init_entry(ENTRY * const tp) + /* initialize a terminal type data block */ + { +- DEBUG(2, (T_CALLED("_nc_init_entry(tp=%p)"), tp)); ++ DEBUG(2, (T_CALLED("_nc_init_entry(tp=%p)"), (void *) tp)); + + if (tp == NULL) { + #if NO_LEAKS +@@ -88,7 +88,7 @@ _nc_copy_entry(ENTRY * oldp) + { + ENTRY *newp; + +- DEBUG(2, (T_CALLED("_nc_copy_entry(oldp=%p)"), oldp)); ++ DEBUG(2, (T_CALLED("_nc_copy_entry(oldp=%p)"), (void *) oldp)); + + newp = typeCalloc(ENTRY, 1); + if (newp != NULL) { +@@ -96,7 +96,7 @@ _nc_copy_entry(ENTRY * oldp) + _nc_copy_termtype2(&(newp->tterm), &(oldp->tterm)); + } + +- DEBUG(2, (T_RETURN("%p"), newp)); ++ DEBUG(2, (T_RETURN("%p"), (void *) newp)); + return (newp); + } + +@@ -144,6 +144,8 @@ _nc_wrap_entry(ENTRY * const ep, bool copy_strings) + unsigned nuses; + TERMTYPE2 *tp; + ++ DEBUG(2, (T_CALLED("_nc_wrap_entry(ep=%p, copy_strings=%d)"), (void *) ++ ep, copy_strings)); + if (ep == NULL || stringbuf == NULL) + _nc_err_abort("_nc_wrap_entry called without initialization"); + +@@ -236,6 +238,7 @@ _nc_wrap_entry(ENTRY * const ep, bool copy_strings) + else + ep->uses[i].name = (tp->str_table + useoffsets[i]); + } ++ DEBUG(2, (T_RETURN(""))); + } + + NCURSES_EXPORT(void) +diff --git a/ncurses/tinfo/alloc_ttype.c b/ncurses/tinfo/alloc_ttype.c +index eef8170c..9f866323 100644 +--- a/ncurses/tinfo/alloc_ttype.c ++++ b/ncurses/tinfo/alloc_ttype.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: alloc_ttype.c,v 1.37 2022/04/30 17:00:05 tom Exp $") ++MODULE_ID("$Id: alloc_ttype.c,v 1.40 2022/05/08 00:11:44 tom Exp $") + + #if NCURSES_XNAMES + /* +@@ -429,7 +429,7 @@ _nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from) + na = to ? ((int) NUM_EXT_NAMES(to)) : 0; + nb = from ? ((int) NUM_EXT_NAMES(from)) : 0; + +- DEBUG(2, (T_CALLED("align_termtype to(%d:%s), from(%d:%s)"), ++ DEBUG(2, (T_CALLED("_nc_align_termtype to(%d:%s), from(%d:%s)"), + na, to ? NonNull(to->term_names) : "?", + nb, from ? NonNull(from->term_names) : "?")); + +@@ -450,8 +450,10 @@ _nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from) + break; + } + } +- if (same) ++ if (same) { ++ DEBUG(2, (T_RETURN(""))); + return; ++ } + } + /* + * This is where we pay for having a simple extension representation. +@@ -533,7 +535,8 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + int *newptr = 0; + #endif + +- DEBUG(2, (T_CALLED("copy_termtype(dst=%p, src=%p, mode=%d)"), dst, src, mode)); ++ DEBUG(2, (T_CALLED("copy_termtype(dst=%p, src=%p, mode=%d)"), (void *) ++ dst, (const void *) src, mode)); + *dst = *src; /* ...to copy the sizes and string-tables */ + + TYPE_MALLOC(NCURSES_SBOOL, NUM_BOOLEANS(dst), dst->Booleans); +@@ -549,6 +552,11 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + new_table = NULL; + for (pass = 0; pass < 2; ++pass) { + size_t str_size = 0; ++ if (pass) { ++ dst->term_names = new_table + str_size; ++ strcpy(dst->term_names + str_size, src->term_names); ++ } ++ str_size += strlen(src->term_names) + 1; + for (i = 0; i < NUM_STRINGS(dst); ++i) { + if (VALID_STRING(src->Strings[i])) { + if (pass) { +@@ -646,7 +654,8 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + NCURSES_EXPORT(void) + _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) + { +- DEBUG(2, (T_CALLED("_nc_copy_termtype(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_copy_termtype(dst=%p, src=%p)"), (void *) dst, ++ (const void *) src)); + copy_termtype((TERMTYPE2 *) dst, (const TERMTYPE2 *) src, 0); + DEBUG(2, (T_RETURN(""))); + } +@@ -655,7 +664,8 @@ _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) + NCURSES_EXPORT(void) + _nc_copy_termtype2(TERMTYPE2 *dst, const TERMTYPE2 *src) + { +- DEBUG(2, (T_CALLED("_nc_copy_termtype2(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_copy_termtype2(dst=%p, src=%p)"), (void *) dst, ++ (const void *) src)); + copy_termtype(dst, src, srcINT | dstINT); + DEBUG(2, (T_RETURN(""))); + } +@@ -667,7 +677,8 @@ _nc_copy_termtype2(TERMTYPE2 *dst, const TERMTYPE2 *src) + NCURSES_EXPORT(void) + _nc_export_termtype2(TERMTYPE *dst, const TERMTYPE2 *src) + { +- DEBUG(2, (T_CALLED("_nc_export_termtype2(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_export_termtype2(dst=%p, src=%p)"), (void *) ++ dst, (const void *) src)); + copy_termtype((TERMTYPE2 *) dst, src, srcINT); + DEBUG(2, (T_RETURN(""))); + } +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 82672fa8..52ebac49 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.117 2022/04/30 15:57:27 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.122 2022/05/08 00:11:44 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -61,7 +61,7 @@ enqueue(ENTRY * ep) + { + ENTRY *newp; + +- DEBUG(1, (T_CALLED("enqueue(ep=%p)"), ep)); ++ DEBUG(1, (T_CALLED("enqueue(ep=%p)"), (void *) ep)); + + newp = _nc_copy_entry(ep); + if (newp == 0) +@@ -73,6 +73,7 @@ enqueue(ENTRY * ep) + newp->next = 0; + if (newp->last) + newp->last->next = newp; ++ DEBUG(1, (T_RETURN(""))); + } + + #define NAMEBUFFER_SIZE (MAX_NAME_SIZE + 2) +@@ -222,7 +223,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + + DEBUG(1, + (T_CALLED("_nc_read_entry_source(file=%p, buf=%p, literal=%d, silent=%d, hook=%p)"), +- fp, buf, literal, silent, hook)); ++ (void *) fp, buf, literal, silent, (void *) hook)); + + if (silent) + _nc_suppress_warnings = TRUE; /* shut the lexer up, too */ +@@ -253,6 +254,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + FreeIfNeeded(thisentry.tterm.Strings); + #if NCURSES_XNAMES + FreeIfNeeded(thisentry.tterm.ext_Names); ++ FreeIfNeeded(thisentry.tterm.ext_str_table); + #endif + } + } +@@ -583,8 +585,10 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + FreeIfNeeded(qp->tterm.Booleans); + FreeIfNeeded(qp->tterm.Numbers); + FreeIfNeeded(qp->tterm.Strings); ++ FreeIfNeeded(qp->tterm.str_table); + #if NCURSES_XNAMES + FreeIfNeeded(qp->tterm.ext_Names); ++ FreeIfNeeded(qp->tterm.ext_str_table); + #endif + qp->tterm = merged.tterm; + _nc_wrap_entry(qp, TRUE); +@@ -745,7 +749,7 @@ sanity_check2(TERMTYPE2 *tp, bool literal) + NCURSES_EXPORT(void) + _nc_leaks_tic(void) + { +- T((T_CALLED("_nc_free_tic()"))); ++ T((T_CALLED("_nc_leaks_tic()"))); + _nc_globals.leak_checking = TRUE; + _nc_alloc_entry_leaks(); + _nc_captoinfo_leaks(); +@@ -755,11 +759,13 @@ _nc_leaks_tic(void) + _nc_codes_leaks(); + #endif + _nc_tic_expand(0, FALSE, 0); ++ T((T_RETURN(""))); + } + + NCURSES_EXPORT(void) + _nc_free_tic(int code) + { ++ T((T_CALLED("_nc_free_tic(%d)"), code)); + _nc_leaks_tic(); + exit_terminfo(code); + } +diff --git a/ncurses/tinfo/comp_scan.c b/ncurses/tinfo/comp_scan.c +index 7f9075c7..1d9a9985 100644 +--- a/ncurses/tinfo/comp_scan.c ++++ b/ncurses/tinfo/comp_scan.c +@@ -51,7 +51,7 @@ + #include + #include + +-MODULE_ID("$Id: comp_scan.c,v 1.115 2022/04/30 16:21:01 tom Exp $") ++MODULE_ID("$Id: comp_scan.c,v 1.116 2022/05/08 00:11:44 tom Exp $") + + /* + * Maximum length of string capability we'll accept before raising an error. +@@ -113,7 +113,7 @@ NCURSES_EXPORT(void) + _nc_reset_input(FILE *fp, char *buf) + { + TR(TRACE_DATABASE, +- (T_CALLED("_nc_reset_input(fp=%p, buf=%p)"), fp, buf)); ++ (T_CALLED("_nc_reset_input(fp=%p, buf=%p)"), (void *) fp, buf)); + + pushtype = NO_PUSHBACK; + if (pushname != 0) +diff --git a/ncurses/tinfo/entries.c b/ncurses/tinfo/entries.c +index c928f7ec..5f49ece9 100644 +--- a/ncurses/tinfo/entries.c ++++ b/ncurses/tinfo/entries.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2006-2012,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -38,7 +38,7 @@ + + #include + +-MODULE_ID("$Id: entries.c,v 1.32 2021/11/20 23:40:57 tom Exp $") ++MODULE_ID("$Id: entries.c,v 1.33 2022/05/07 17:08:11 tom Exp $") + + /**************************************************************************** + * +@@ -119,7 +119,7 @@ _nc_leaks_tinfo(void) + char *s; + #endif + +- T((T_CALLED("_nc_free_tinfo()"))); ++ T((T_CALLED("_nc_leaks_tinfo()"))); + #if NO_LEAKS + _nc_globals.leak_checking = TRUE; + _nc_free_tparm(cur_term); +@@ -161,6 +161,7 @@ _nc_leaks_tinfo(void) + NCURSES_EXPORT(void) + _nc_free_tinfo(int code) + { ++ T((T_CALLED("_nc_free_tinfo(%d)"), code)); + _nc_leaks_tinfo(); + exit(code); + } +@@ -169,6 +170,7 @@ _nc_free_tinfo(int code) + NCURSES_EXPORT(void) + exit_terminfo(int code) + { ++ T((T_CALLED("exit_terminfo(%d)"), code)); + #if NO_LEAKS + _nc_leaks_tinfo(); + #endif +diff --git a/ncurses/tinfo/parse_entry.c b/ncurses/tinfo/parse_entry.c +index e39adade..14bcb67e 100644 +--- a/ncurses/tinfo/parse_entry.c ++++ b/ncurses/tinfo/parse_entry.c +@@ -48,7 +48,7 @@ + #include + #include + +-MODULE_ID("$Id: parse_entry.c,v 1.106 2022/04/30 20:50:06 tom Exp $") ++MODULE_ID("$Id: parse_entry.c,v 1.107 2022/05/08 00:11:44 tom Exp $") + + #ifdef LINT + static short const parametrized[] = +@@ -287,7 +287,7 @@ _nc_parse_entry(ENTRY * entryp, int literal, bool silent) + + TR(TRACE_DATABASE, + (T_CALLED("_nc_parse_entry(entry=%p, literal=%d, silent=%d)"), +- entryp, literal, silent)); ++ (void *) entryp, literal, silent)); + + token_type = _nc_get_token(silent); + +@@ -766,7 +766,7 @@ postprocess_termcap(TERMTYPE2 *tp, bool has_base) + + TR(TRACE_DATABASE, + (T_CALLED("postprocess_termcap(tp=%p, has_base=%d)"), +- tp, has_base)); ++ (void *) tp, has_base)); + + /* + * TERMCAP DEFAULTS AND OBSOLETE-CAPABILITY TRANSLATIONS +@@ -1062,7 +1062,7 @@ postprocess_terminfo(TERMTYPE2 *tp) + { + TR(TRACE_DATABASE, + (T_CALLED("postprocess_terminfo(tp=%p)"), +- tp)); ++ (void *) tp)); + + /* + * TERMINFO-TO-TERMINFO MAPPINGS FOR SOURCE TRANSLATION +diff --git a/ncurses/tinfo/read_entry.c b/ncurses/tinfo/read_entry.c +index d61e577b..2b1875ed 100644 +--- a/ncurses/tinfo/read_entry.c ++++ b/ncurses/tinfo/read_entry.c +@@ -42,7 +42,7 @@ + + #include + +-MODULE_ID("$Id: read_entry.c,v 1.163 2022/04/30 18:35:46 tom Exp $") ++MODULE_ID("$Id: read_entry.c,v 1.164 2022/05/08 00:11:44 tom Exp $") + + #define MyNumber(n) (short) LOW_MSB(n) + +@@ -214,7 +214,7 @@ _nc_init_termtype(TERMTYPE2 *const tp) + { + unsigned i; + +- DEBUG(2, (T_CALLED("_nc_init_termtype(tp=%p)"), tp)); ++ DEBUG(2, (T_CALLED("_nc_init_termtype(tp=%p)"), (void *) tp)); + + #if NCURSES_XNAMES + tp->num_Booleans = BOOLCOUNT; +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index ad22e9c4..4a68d709 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index ad22e9c4..4a68d709 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index b023fe12..1c7bc2e6 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 2fd68b92..19d5c83e 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.518 2022/05/01 10:28:56 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.519 2022/05/07 11:09:45 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0501" ++!define VERSION_MMDD "0507" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 51cb8e61..64364f9a 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 66263223..ad46e5ed 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index e7d42057..a9be86f2 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/modules b/test/modules +index 8ade4d7a..6c5125f7 100644 +--- a/test/modules ++++ b/test/modules +@@ -1,4 +1,4 @@ +-# $Id: modules,v 1.76 2022/04/09 21:27:31 tom Exp $ ++# $Id: modules,v 1.77 2022/05/07 22:39:21 tom Exp $ + ############################################################################## + # Copyright 2018-2021,2022 Thomas E. Dickey # + # Copyright 1998-2016,2017 Free Software Foundation, Inc. # +@@ -105,6 +105,7 @@ test_get_wstr progs $(srcdir) $(HEADER_DEPS) + test_getstr progs $(srcdir) $(HEADER_DEPS) + test_instr progs $(srcdir) $(HEADER_DEPS) + test_inwstr progs $(srcdir) $(HEADER_DEPS) ++test_mouse progs $(srcdir) $(HEADER_DEPS) + test_opaque progs $(srcdir) $(HEADER_DEPS) + test_setupterm progs $(srcdir) $(HEADER_DEPS) + test_sgr progs $(srcdir) $(HEADER_DEPS) +diff --git a/test/programs b/test/programs +index 10c879bb..306a1b07 100644 +--- a/test/programs ++++ b/test/programs +@@ -1,4 +1,4 @@ +-# $Id: programs,v 1.52 2022/04/09 21:27:24 tom Exp $ ++# $Id: programs,v 1.53 2022/05/07 22:39:49 tom Exp $ + ############################################################################## + # Copyright 2018-2021,2022 Thomas E. Dickey # + # Copyright 2006-2016,2017 Free Software Foundation, Inc. # +@@ -100,6 +100,7 @@ test_get_wstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_get_wstr popup_msg + test_getstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_getstr popup_msg + test_instr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_instr + test_inwstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_inwstr ++test_mouse $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_mouse + test_opaque $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_opaque + test_setupterm $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_setupterm + test_sgr $(LDFLAGS_TINFO) $(LOCAL_LIBS) test_sgr +diff --git a/test/test_mouse.c b/test/test_mouse.c +new file mode 100644 +index 00000000..f96d658c +--- /dev/null ++++ b/test/test_mouse.c +@@ -0,0 +1,244 @@ ++/**************************************************************************** ++ * Copyright 2022 Leonid S. Usov * ++ * Copyright 2022 Thomas E. Dickey * ++ * * ++ * Permission is hereby granted, free of charge, to any person obtaining a * ++ * copy of this software and associated documentation files (the * ++ * "Software"), to deal in the Software without restriction, including * ++ * without limitation the rights to use, copy, modify, merge, publish, * ++ * distribute, distribute with modifications, sublicense, and/or sell * ++ * copies of the Software, and to permit persons to whom the Software is * ++ * furnished to do so, subject to the following conditions: * ++ * * ++ * The above copyright notice and this permission notice shall be included * ++ * in all copies or substantial portions of the Software. * ++ * * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * ++ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * ++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * ++ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * ++ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * ++ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * ++ * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ++ ****************************************************************************/ ++/* ++ * $Id: test_mouse.c,v 1.8 2022/05/08 00:36:07 tom Exp $ ++ * ++ * Author: Leonid S Usov ++ * ++ * Observe mouse events in the raw terminal or parsed ncurses modes ++ */ ++ ++#include ++ ++#if defined(NCURSES_MOUSE_VERSION) && !defined(_NC_WINDOWS) ++ ++static int logoffset = 0; ++ ++static int ++raw_loop(void) ++{ ++ struct termios tty; ++ struct termios old; ++ char *xtermcap; ++ ++ tcgetattr(0, &old); ++ cfmakeraw(&tty); ++ ++ setupterm(NULL, 0, 0); ++ xtermcap = tigetstr("XM"); ++ if (xtermcap == 0 || xtermcap == (char *) -1) { ++ fprintf(stderr, "couldn't get XM terminfo"); ++ return 1; ++ } ++ ++ putp(tparm(xtermcap, 1)); ++ fflush(stdout); ++ ++ tcsetattr(0, TCSANOW, &tty); ++ ++ while (true) { ++ int c = getc(stdin); ++ const char *pretty; ++ ++ if (c == ERR || c == '\003') { ++ break; ++ } else if (c == '\033') { ++ printf("\r\n"); ++ } else if ((pretty = unctrl((chtype) c)) != NULL) { ++ printf("%s", pretty); ++ } else if (isprint(c)) { ++ printf("%c", c); ++ } else { ++ printf("{%x}", c); ++ } ++ } ++ ++ putp(tparm(xtermcap, 0)); ++ fflush(stdout); ++ tcsetattr(0, TCSANOW, &old); ++ return 0; ++} ++ ++static int logw(int line, const char *fmt, ...) GCC_PRINTFLIKE(2, 3); ++ ++static int ++logw(int line, const char *fmt, ...) ++{ ++ va_list args; ++ va_start(args, fmt); ++ wmove(stdscr, line++, 0); ++ vw_printw(stdscr, fmt, args); ++ clrtoeol(); ++ ++ line %= (getmaxy(stdscr) - logoffset); ++ if (line < logoffset) { ++ line = logoffset; ++ } ++ ++ wmove(stdscr, line, 0); ++ wprintw(stdscr, ">"); ++ clrtoeol(); ++ return line; ++} ++ ++static void ++usage(void) ++{ ++ static const char *msg[] = ++ { ++ "Usage: test_mouse [options]", ++ "", ++ "Test mouse events. These examples for $TERM demonstrate xterm" ++ "features:", ++ " xterm", ++ " xterm-1002", ++ " xterm-1003", ++ "", ++ "Options:", ++ " -r show raw input stream, injecting a new line before every ESC", ++ " -i n set mouse interval to n; default is 0", ++ " -h show this message", ++ " -T term use terminal description other than $TERM" ++ }; ++ unsigned n; ++ for (n = 0; n < sizeof(msg) / sizeof(char *); ++n) { ++ fprintf(stderr, "%s\n", msg[n]); ++ } ++} ++ ++int ++main(int argc, char *argv[]) ++{ ++ bool rawmode = FALSE; ++ int interval = 0; ++ int curline; ++ int c; ++ MEVENT event; ++ char *my_environ; ++ const char *term_format = "TERM=%s"; ++ ++ while ((c = getopt(argc, argv, "hi:rT:")) != -1) { ++ switch (c) { ++ case 'h': ++ usage(); ++ ExitProgram(EXIT_SUCCESS); ++ case 'i': ++ interval = atoi(optarg); ++ break; ++ case 'r': ++ rawmode = TRUE; ++ break; ++ case 'T': ++ my_environ = malloc(strlen(term_format) + strlen(optarg)); ++ sprintf(my_environ, term_format, optarg); ++ putenv(my_environ); ++ break; ++ default: ++ usage(); ++ ExitProgram(EXIT_FAILURE); ++ } ++ } ++ if (optind < argc) { ++ usage(); ++ ExitProgram(EXIT_FAILURE); ++ } ++ ++ if (rawmode) { ++ printf("Entering raw mode. Ctrl-c to quit.\n"); ++ return raw_loop(); ++ } ++ ++ initscr(); ++ clear(); ++ noecho(); ++ cbreak(); /* Line buffering disabled; pass everything */ ++ nonl(); ++ keypad(stdscr, TRUE); ++ ++ /* Get all the mouse events */ ++ mousemask(ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION, NULL); ++ mouseinterval(interval); ++ ++ logoffset = logw(logoffset, "Ctrl-c to quit"); ++ logoffset = logw(logoffset, "--------------"); ++ ++ curline = logoffset; ++ ++ while (1) { ++ c = getch(); ++ ++ switch (c) { ++ case KEY_MOUSE: ++ if (getmouse(&event) == OK) { ++ unsigned btn; ++ mmask_t events; ++#if NCURSES_MOUSE_VERSION > 1 ++ const int max_btn = 5; ++#else ++ const int max_btn = 4; ++#endif ++ for (btn = 1; btn <= max_btn; btn++) { ++ events = (mmask_t) (event.bstate ++ & NCURSES_MOUSE_MASK(btn, ++ NCURSES_BUTTON_RELEASED | ++ NCURSES_BUTTON_PRESSED | ++ NCURSES_BUTTON_CLICKED | ++ NCURSES_DOUBLE_CLICKED | ++ NCURSES_TRIPLE_CLICKED)); ++ if (events == 0) ++ continue; ++#define Show(btn,name) ((event.bstate & NCURSES_MOUSE_MASK(btn, name)) != 0) ? #name : "" ++ curline = logw(curline, ++ "button %d %s %s %s %s %s %d[%x] @ %d, %d", ++ btn, ++ Show(btn, NCURSES_BUTTON_RELEASED), ++ Show(btn, NCURSES_BUTTON_PRESSED), ++ Show(btn, NCURSES_BUTTON_CLICKED), ++ Show(btn, NCURSES_DOUBLE_CLICKED), ++ Show(btn, NCURSES_TRIPLE_CLICKED), ++ (event.bstate & REPORT_MOUSE_POSITION) != 0, ++ events, ++ event.y, event.x); ++ } ++ } ++ break; ++ case '\003': ++ goto end; ++ default: ++ curline = logw(curline, "got another char: 0x%x", c); ++ } ++ refresh(); ++ } ++ end: ++ endwin(); ++ ExitProgram(EXIT_SUCCESS); ++} ++#else ++int ++main(void) ++{ ++ printf("This program requires the ncurses library\n"); ++ ExitProgram(EXIT_FAILURE); ++} ++#endif +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220521.patch b/ncurses-6.3-patch-20220521.patch new file mode 100644 index 0000000..59a3a35 --- /dev/null +++ b/ncurses-6.3-patch-20220521.patch @@ -0,0 +1,959 @@ +From 1ddfa997c0965852dbdc738aa6d92c0cd0975f3b Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 22 May 2022 00:12:22 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220521 + ++ improve memory-leak checking in several test-programs. ++ set trailing null on string passed from winsnstr() to wins_nwstr(). ++ modify del_curterm() to fix memory-leak introduced by change to + copy_termtype(). +--- + NEWS | 8 ++- + VERSION | 2 +- + dist.mk | 4 +- + ncurses/base/lib_insnstr.c | 5 +- + ncurses/tinfo/free_ttype.c | 6 +-- + ncurses/tinfo/lib_cur_term.c | 8 ++- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/color_content.c | 3 +- + test/combine.c | 7 ++- + test/demo_menus.c | 33 ++++++------ + test/demo_tabs.c | 5 +- + test/dup_field.c | 89 ++++++++++++++++++++------------ + test/move_field.c | 24 +++------ + test/padview.c | 10 ++-- + test/pair_content.c | 15 ++++-- + test/test.priv.h | 10 ++-- + test/test_mouse.c | 6 +-- + test/test_setupterm.c | 50 ++++++++++++++++-- + test/test_termattrs.c | 5 +- + 25 files changed, 200 insertions(+), 112 deletions(-) + +diff --git a/NEWS b/NEWS +index 364490a7..fd3e7b06 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3807 2022/05/14 22:56:52 tom Exp $ ++-- $Id: NEWS,v 1.3809 2022/05/21 21:10:54 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,12 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220521 ++ + improve memory-leak checking in several test-programs. ++ + set trailing null on string passed from winsnstr() to wins_nwstr(). ++ + modify del_curterm() to fix memory-leak introduced by change to ++ copy_termtype(). ++ + 20220514 + + further improvements to test/test_mouse.c; compare with ncurses test + program menu A/a. +diff --git a/VERSION b/VERSION +index ba8e643a..c8bff0a0 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220514 ++5:0:10 6.3 20220521 +diff --git a/dist.mk b/dist.mk +index d5a51323..b517ae41 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1480 2022/05/14 13:23:05 tom Exp $ ++# $Id: dist.mk,v 1.1481 2022/05/21 15:40:09 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220514 ++NCURSES_PATCH = 20220521 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/base/lib_insnstr.c b/ncurses/base/lib_insnstr.c +index ff1ae573..dd51a9cd 100644 +--- a/ncurses/base/lib_insnstr.c ++++ b/ncurses/base/lib_insnstr.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2018,2020 Thomas E. Dickey * ++ * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2004-2009,2016 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -41,7 +41,7 @@ + #include + #include + +-MODULE_ID("$Id: lib_insnstr.c,v 1.7 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: lib_insnstr.c,v 1.8 2022/05/21 17:35:15 tom Exp $") + + NCURSES_EXPORT(int) + winsnstr(WINDOW *win, const char *s, int n) +@@ -70,6 +70,7 @@ winsnstr(WINDOW *win, const char *s, int n) + init_mb(state); + n3 = mbstowcs(buffer, s, nn); + if (n3 != (size_t) (-1)) { ++ buffer[n3] = '\0'; + code = wins_nwstr(win, buffer, (int) n3); + } + free(buffer); +diff --git a/ncurses/tinfo/free_ttype.c b/ncurses/tinfo/free_ttype.c +index 7f0fbcc3..97357763 100644 +--- a/ncurses/tinfo/free_ttype.c ++++ b/ncurses/tinfo/free_ttype.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 1999-2011,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -43,12 +43,12 @@ + + #include + +-MODULE_ID("$Id: free_ttype.c,v 1.19 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: free_ttype.c,v 1.20 2022/05/15 12:42:13 tom Exp $") + + static void + really_free_termtype(TERMTYPE2 *ptr, bool freeStrings) + { +- T(("_nc_free_termtype(%s)", ptr->term_names)); ++ T(("really_free_termtype(%s) %d", ptr->term_names, freeStrings)); + + if (freeStrings) { + FreeIfNeeded(ptr->str_table); +diff --git a/ncurses/tinfo/lib_cur_term.c b/ncurses/tinfo/lib_cur_term.c +index 6ef62cb2..7d7e7f15 100644 +--- a/ncurses/tinfo/lib_cur_term.c ++++ b/ncurses/tinfo/lib_cur_term.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++,* Copyright 2020-2021,2022 Thomas E. Dickey * + * Copyright 1998-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -41,7 +41,7 @@ + #include /* ospeed */ + #include /* VALID_STRING */ + +-MODULE_ID("$Id: lib_cur_term.c,v 1.45 2021/11/20 23:19:41 tom Exp $") ++MODULE_ID("$Id: lib_cur_term.c,v 1.48 2022/05/21 22:58:20 tom Exp $") + + #undef CUR + #define CUR TerminalType(termp). +@@ -147,7 +147,11 @@ NCURSES_SP_NAME(del_curterm) (NCURSES_SP_DCLx TERMINAL *termp) + ); + + #if NCURSES_EXT_NUMBERS ++#if NCURSES_EXT_COLORS + _nc_free_termtype(&termp->type); ++#else ++ _nc_free_termtype2(&termp->type); ++#endif + #endif + _nc_free_termtype2(&TerminalType(termp)); + if (termp == cur) +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 13d69d31..bfb228b8 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 13d69d31..bfb228b8 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 733d47ad..c13c624f 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 88e6a314..0d5bec04 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.520 2022/05/14 13:23:05 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.521 2022/05/21 15:40:09 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0514" ++!define VERSION_MMDD "0521" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 681da256..5d12868e 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index b775866e..ff86a976 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index dd8f8afb..e765d604 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/color_content.c b/test/color_content.c +index 6ed0ecf2..99627546 100644 +--- a/test/color_content.c ++++ b/test/color_content.c +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: color_content.c,v 1.13 2022/04/16 18:26:40 tom Exp $ ++ * $Id: color_content.c,v 1.14 2022/05/21 20:00:04 tom Exp $ + */ + + #define NEED_TIME_H +@@ -328,5 +328,6 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + finish_test(); + } + ++ free(expected); + ExitProgram(EXIT_SUCCESS); + } +diff --git a/test/combine.c b/test/combine.c +index 1025c9f2..7bc90974 100644 +--- a/test/combine.c ++++ b/test/combine.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2021 Thomas E. Dickey * ++ * Copyright 2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,13 +26,14 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: combine.c,v 1.17 2021/12/18 21:04:00 tom Exp $ ++ * $Id: combine.c,v 1.19 2022/05/21 23:19:31 tom Exp $ + */ + + #include + + #if USE_WIDEC_SUPPORT + ++#include + #include + #include + +@@ -252,8 +253,10 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + case 'd': + if (log_option) + dump_window(stdscr); ++#if HAVE_SCR_DUMP + else + scr_dump(dump_log); ++#endif + break; + case 'h': + if (left_at > ' ') +diff --git a/test/demo_menus.c b/test/demo_menus.c +index 9f3b4d22..e0e4852e 100644 +--- a/test/demo_menus.c ++++ b/test/demo_menus.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2003-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -27,7 +27,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: demo_menus.c,v 1.73 2021/05/08 19:41:08 tom Exp $ ++ * $Id: demo_menus.c,v 1.76 2022/05/15 13:54:48 tom Exp $ + * + * Demonstrate a variety of functions from the menu library. + * Thomas Dickey - 2005/4/9 +@@ -308,7 +308,7 @@ menu_create(ITEM ** items, int count, int ncols, MenuNo number) + } + + static void +-menu_destroy(MENU * m) ++menu_destroy(MENU * m, int itemsToo) + { + Trace(("menu_destroy %p", (void *) m)); + if (m != 0) { +@@ -331,18 +331,18 @@ menu_destroy(MENU * m) + Trace(("freeing blob %p", blob)); + free((void *) blob); + } +- free(items); +- items = 0; + } +-#ifdef TRACE +- if ((count > 0) && (m == mpTrace)) { +- ITEM **ip = items; +- if (ip != 0) { +- while (*ip) +- free(*ip++); ++ if (count > 0 && itemsToo) { ++ if (itemsToo & 1) { ++ ITEM **ip = items; ++ if (ip != 0) { ++ while (*ip) ++ free_item(*ip++); ++ } + } ++ if (itemsToo & 2) ++ free(items); + } +-#endif + } + } + +@@ -932,12 +932,12 @@ perform_menus(void) + static void + destroy_menus(void) + { +- menu_destroy(mpFile); +- menu_destroy(mpSelect); ++ menu_destroy(mpFile, 1); ++ menu_destroy(mpSelect, 3); + #ifdef TRACE +- menu_destroy(mpTrace); ++ menu_destroy(mpTrace, 1); + #endif +- menu_destroy(mpBanner); ++ menu_destroy(mpBanner, 1); + } + + #if HAVE_RIPOFFLINE +@@ -1004,6 +1004,7 @@ main(int argc, char *argv[]) + int c; + + setlocale(LC_ALL, ""); ++ START_TRACE(); + + while ((c = getopt(argc, argv, "fht:")) != -1) { + switch (c) { +diff --git a/test/demo_tabs.c b/test/demo_tabs.c +index f63850df..6bd067ea 100644 +--- a/test/demo_tabs.c ++++ b/test/demo_tabs.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019,2020 Thomas E. Dickey * ++ * Copyright 2019-2020,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -29,10 +29,11 @@ + /* + * Author: Thomas E. Dickey + * +- * $Id: demo_tabs.c,v 1.5 2020/02/02 23:34:34 tom Exp $ ++ * $Id: demo_tabs.c,v 1.6 2022/05/15 13:04:57 tom Exp $ + * + * A simple demo of tabs in curses. + */ ++#define USE_CURSES + #define USE_TINFO + #include "test.priv.h" + +diff --git a/test/dup_field.c b/test/dup_field.c +index eb87c90c..05444f43 100644 +--- a/test/dup_field.c ++++ b/test/dup_field.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++ * Copyright 2020-2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,9 +26,9 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: dup_field.c,v 1.2 2021/03/27 23:41:57 tom Exp $ ++ * $Id: dup_field.c,v 1.6 2022/05/21 20:59:26 tom Exp $ + * +- * Demonstrate move_field(). ++ * Demonstrate dup_field(). + */ + + #include +@@ -38,7 +38,8 @@ + #include + #include + +-#define MY_DEMO EDIT_FIELD('f') ++#define DO_DEMO CTRL('F') /* actual key for toggling demo-mode */ ++#define MY_DEMO EDIT_FIELD('f') /* internal request-code */ + + static char empty[] = ""; + static FIELD *all_fields[100]; +@@ -51,7 +52,6 @@ static struct { + { CTRL('A'), REQ_BEG_FIELD, "go to beginning of field" }, + { CTRL('D'), REQ_DOWN_FIELD, "move downward to field" }, + { CTRL('E'), REQ_END_FIELD, "go to end of field" }, +- { CTRL('G'), MY_DEMO, "move current field with cursor keys" }, + { CTRL('H'), REQ_DEL_PREV, "delete previous character" }, + { CTRL('I'), REQ_NEXT_FIELD, "go to next field" }, + { CTRL('K'), REQ_CLR_EOF, "clear to end of field" }, +@@ -72,7 +72,8 @@ static struct { + { KEY_NEXT, REQ_NEXT_FIELD, "go to next field" }, + { KEY_PREVIOUS, REQ_PREV_FIELD, "go to previous field" }, + { KEY_RIGHT, REQ_RIGHT_CHAR, "move right 1 character" }, +- { KEY_UP, REQ_UP_CHAR, "move up 1 character" } ++ { KEY_UP, REQ_UP_CHAR, "move up 1 character" }, ++ { DO_DEMO, MY_DEMO, "duplicate current field" } + }; + /* *INDENT-ON* */ + +@@ -108,11 +109,6 @@ my_help_edit_field(void) + free(msgs); + } + +-static void +-do_demo(FORM *form) +-{ +-} +- + static FIELD * + make_label(const char *label, int frow, int fcol) + { +@@ -147,28 +143,6 @@ erase_form(FORM *f) + werase(w); + wrefresh(w); + delwin(s); +- delwin(w); +-} +- +-static int +-my_form_driver(FORM *form, int c) +-{ +- switch (c) { +- case MY_QUIT: +- if (form_driver(form, REQ_VALIDATION) == E_OK) +- return (TRUE); +- break; +- case MY_HELP: +- my_help_edit_field(); +- break; +- case MY_DEMO: +- do_demo(form); +- break; +- default: +- beep(); +- break; +- } +- return (FALSE); + } + + static FieldAttrs * +@@ -291,6 +265,55 @@ my_edit_field(FORM *form, int *result) + return status; + } + ++static FIELD ** ++copy_fields(FIELD **source, FIELD *extra, size_t length) ++{ ++ FIELD **target = typeCalloc(FIELD *, length + 1); ++ memcpy(target, source, length * sizeof(FIELD *)); ++ target[length] = extra; ++ return target; ++} ++ ++static void ++do_demo(FORM *form) ++{ ++ int count = field_count(form); ++ FIELD *my_field = current_field(form); ++ FIELD **old_fields = form_fields(form); ++ ++ if (count > 0 && old_fields != NULL && my_field != NULL) { ++ FIELD **new_fields = copy_fields(old_fields, ++ dup_field(my_field, ++ form_field_row(my_field) ++ + 1, ++ form_field_col(my_field)), ++ (size_t) count); ++ if (new_fields != NULL) ++ set_form_fields(form, new_fields); ++ } ++} ++ ++static int ++my_form_driver(FORM *form, int c) ++{ ++ switch (c) { ++ case MY_QUIT: ++ if (form_driver(form, REQ_VALIDATION) == E_OK) ++ return (TRUE); ++ break; ++ case MY_HELP: ++ my_help_edit_field(); ++ break; ++ case MY_DEMO: ++ do_demo(form); ++ break; ++ default: ++ beep(); ++ break; ++ } ++ return (FALSE); ++} ++ + static void + demo_forms(void) + { +diff --git a/test/move_field.c b/test/move_field.c +index b5ec9438..874b189b 100644 +--- a/test/move_field.c ++++ b/test/move_field.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++ * Copyright 2020-2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: move_field.c,v 1.9 2021/06/12 21:30:34 tom Exp $ ++ * $Id: move_field.c,v 1.13 2022/05/21 20:59:46 tom Exp $ + * + * Demonstrate move_field(). + */ +@@ -38,14 +38,6 @@ + #include + #include + +-#ifdef HAVE_NETBSD_FORM_H +-#define form_field_row(field) (field)->form_row +-#define form_field_col(field) (field)->form_col +-#else /* e.g., SVr4, ncurses */ +-#define form_field_row(field) (field)->frow +-#define form_field_col(field) (field)->fcol +-#endif +- + #define DO_DEMO CTRL('F') /* actual key for toggling demo-mode */ + #define MY_DEMO EDIT_FIELD('f') /* internal request-code */ + +@@ -151,7 +143,6 @@ erase_form(FORM *f) + werase(w); + wrefresh(w); + delwin(s); +- delwin(w); + } + + static FieldAttrs * +@@ -277,7 +268,7 @@ my_edit_field(FORM *form, int *result) + static FIELD ** + copy_fields(FIELD **source, size_t length) + { +- FIELD **target = calloc(length + 1, sizeof(FIELD *)); ++ FIELD **target = typeCalloc(FIELD *, length + 1); + memcpy(target, source, length * sizeof(FIELD *)); + return target; + } +@@ -309,13 +300,13 @@ do_demo(FORM *form) + { + int count = field_count(form); + FIELD *my_field = current_field(form); ++ FIELD **old_fields = form_fields(form); + +- if (count > 0 && my_field != NULL) { ++ if (count > 0 && old_fields != NULL && my_field != NULL) { + size_t needed = (size_t) count; +- FIELD **old_fields = copy_fields(form_fields(form), needed); +- FIELD **new_fields = copy_fields(form_fields(form), needed); ++ FIELD **new_fields = copy_fields(old_fields, needed); + +- if (old_fields != NULL && new_fields != NULL) { ++ if (new_fields != NULL) { + bool found = FALSE; + int ch; + +@@ -395,7 +386,6 @@ do_demo(FORM *form) + refresh(); + } + } +- free(old_fields); + free(new_fields); + } + } +diff --git a/test/padview.c b/test/padview.c +index fb1d9fca..868dbfed 100644 +--- a/test/padview.c ++++ b/test/padview.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -29,7 +29,7 @@ + /* + * clone of view.c, using pads + * +- * $Id: padview.c,v 1.18 2021/06/12 23:16:31 tom Exp $ ++ * $Id: padview.c,v 1.19 2022/05/15 14:36:23 tom Exp $ + */ + + #include +@@ -45,6 +45,7 @@ static GCC_NORETURN void finish(int sig); + + #define my_pair 1 + ++static WINDOW *global_pad; + static int shift = 0; + static bool try_color = FALSE; + +@@ -69,6 +70,8 @@ static void + finish(int sig) + { + endwin(); ++ if (global_pad != NULL) ++ delwin(global_pad); + ExitProgram(sig != 0 ? EXIT_FAILURE : EXIT_SUCCESS); + } + +@@ -372,7 +375,8 @@ main(int argc, char *argv[]) + * Do this after starting color, otherwise the pad's background will be + * uncolored after the ncurses 6.1.20181208 fixes. + */ +- my_pad = read_file(fname = argv[optind]); ++ global_pad = ++ my_pad = read_file(fname = argv[optind]); + + my_row = 0; + while (!done) { +diff --git a/test/pair_content.c b/test/pair_content.c +index adbd0829..35e2fc4b 100644 +--- a/test/pair_content.c ++++ b/test/pair_content.c +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: pair_content.c,v 1.15 2022/04/16 18:27:24 tom Exp $ ++ * $Id: pair_content.c,v 1.16 2022/05/15 15:46:28 tom Exp $ + */ + + #define NEED_TIME_H +@@ -62,13 +62,20 @@ static struct timeval initial_time; + static struct timeval finish_time; + #endif + ++static void ++finish(int code) ++{ ++ free(expected); ++ ExitProgram(code); ++} ++ + static void + failed(const char *msg) + { + printw("%s", msg); + getch(); + endwin(); +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + #if USE_EXTENDED_COLOR +@@ -231,7 +238,7 @@ usage(void) + size_t n; + for (n = 0; n < SIZEOF(msg); n++) + fprintf(stderr, "%s\n", msg[n]); +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + int +@@ -314,5 +321,5 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + finish_test(); + } + +- ExitProgram(EXIT_SUCCESS); ++ finish(EXIT_SUCCESS); + } +diff --git a/test/test.priv.h b/test/test.priv.h +index 8874d335..125477f1 100644 +--- a/test/test.priv.h ++++ b/test/test.priv.h +@@ -30,7 +30,7 @@ + /**************************************************************************** + * Author: Thomas E. Dickey 1996-on * + ****************************************************************************/ +-/* $Id: test.priv.h,v 1.199 2022/04/09 21:32:05 tom Exp $ */ ++/* $Id: test.priv.h,v 1.201 2022/05/21 20:37:38 tom Exp $ */ + + #ifndef __TEST_PRIV_H + #define __TEST_PRIV_H 1 +@@ -553,8 +553,12 @@ extern int optind; + /* workaround, to build against NetBSD's variant of the form library */ + #ifdef HAVE_NETBSD_FORM_H + #define form_getyx(form, y, x) y = (int)current_field(form)->cursor_ypos, x = (int)current_field(form)->cursor_xpos +-#else ++#define form_field_row(field) (field)->form_row ++#define form_field_col(field) (field)->form_col ++#else /* e.g., SVr4, ncurses */ + #define form_getyx(form, y, x) y = (int)(form)->currow, x = (int)(form)->curcol ++#define form_field_row(field) (field)->frow ++#define form_field_col(field) (field)->fcol + #endif + + /* workaround, to build against NetBSD's variant of the form library */ +@@ -928,7 +932,7 @@ extern int TABSIZE; + + #if defined(NCURSES_VERSION) && HAVE_NC_ALLOC_H + #include +-#if HAVE_EXIT_TERMINFO && (defined(USE_TERMINFO) || defined(USE_TINFO)) ++#if HAVE_EXIT_TERMINFO && !defined(USE_CURSES) && (defined(USE_TERMINFO) || defined(USE_TINFO)) + #undef ExitProgram + #define ExitProgram(code) exit_terminfo(code) + #elif HAVE_EXIT_CURSES +diff --git a/test/test_mouse.c b/test/test_mouse.c +index 8cb12d9f..b24903d5 100644 +--- a/test/test_mouse.c ++++ b/test/test_mouse.c +@@ -22,7 +22,7 @@ + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + ****************************************************************************/ + /* +- * $Id: test_mouse.c,v 1.18 2022/05/15 00:20:27 tom Exp $ ++ * $Id: test_mouse.c,v 1.19 2022/05/15 16:41:20 tom Exp $ + * + * Author: Leonid S Usov + * +@@ -194,9 +194,9 @@ main(int argc, char *argv[]) + unsigned btn; + mmask_t events; + #if NCURSES_MOUSE_VERSION > 1 +- const int max_btn = 5; ++ const unsigned max_btn = 5; + #else +- const int max_btn = 4; ++ const unsigned max_btn = 4; + #endif + const mmask_t btn_mask = (NCURSES_BUTTON_RELEASED | + NCURSES_BUTTON_PRESSED | +diff --git a/test/test_setupterm.c b/test/test_setupterm.c +index 9d582aa0..0dc7494b 100644 +--- a/test/test_setupterm.c ++++ b/test/test_setupterm.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 2015,2016 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -30,7 +30,7 @@ + /* + * Author: Thomas E. Dickey + * +- * $Id: test_setupterm.c,v 1.10 2020/02/02 23:34:34 tom Exp $ ++ * $Id: test_setupterm.c,v 1.12 2022/05/15 16:36:00 tom Exp $ + * + * A simple demo of setupterm/restartterm. + */ +@@ -43,6 +43,46 @@ static bool f_opt = FALSE; + static bool n_opt = FALSE; + static bool r_opt = FALSE; + ++#if NO_LEAKS ++static TERMINAL **saved_terminals; ++static size_t num_saved; ++static size_t max_saved; ++ ++static void ++finish(int code) ++{ ++ size_t n; ++ for (n = 0; n < num_saved; ++n) ++ del_curterm(saved_terminals[n]); ++ free(saved_terminals); ++ ExitProgram(code); ++} ++ ++static void ++save_curterm(void) ++{ ++ size_t n; ++ bool found = FALSE; ++ for (n = 0; n < num_saved; ++n) { ++ if (saved_terminals[n] == cur_term) { ++ found = TRUE; ++ break; ++ } ++ } ++ if (!found) { ++ if (num_saved + 1 >= max_saved) { ++ max_saved += 100; ++ saved_terminals = typeRealloc(TERMINAL *, max_saved, saved_terminals); ++ } ++ saved_terminals[num_saved++] = cur_term; ++ } ++} ++ ++#else ++#define finish(code) ExitProgram(code) ++#define save_curterm() /* nothing */ ++#endif ++ + static void + test_rc(NCURSES_CONST char *name, int actual_rc, int actual_err) + { +@@ -104,6 +144,7 @@ test_setupterm(NCURSES_CONST char *name) + #endif + rc = setupterm(name, 0, f_opt ? NULL : &err); + test_rc(name, rc, err); ++ save_curterm(); + } + + static void +@@ -128,7 +169,7 @@ usage(void) + for (n = 0; n < SIZEOF(msg); ++n) { + fprintf(stderr, "%s\n", msg[n]); + } +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + int +@@ -182,6 +223,7 @@ main(int argc, char *argv[]) + if (r_opt) { + newterm("ansi", stdout, stdin); + reset_shell_mode(); ++ save_curterm(); + } + + if (a_opt) { +@@ -203,7 +245,7 @@ main(int argc, char *argv[]) + } + } + +- ExitProgram(EXIT_SUCCESS); ++ finish(EXIT_SUCCESS); + } + + #else /* !HAVE_TIGETSTR */ +diff --git a/test/test_termattrs.c b/test/test_termattrs.c +index fc22216a..2464ddea 100644 +--- a/test/test_termattrs.c ++++ b/test/test_termattrs.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -27,11 +27,12 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: test_termattrs.c,v 1.3 2020/02/02 23:34:34 tom Exp $ ++ * $Id: test_termattrs.c,v 1.4 2022/05/15 15:55:30 tom Exp $ + * + * Demonstrate the termattrs and term_attrs functions. + */ + ++#define USE_CURSES + #define USE_TINFO + #include + +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220924.patch b/ncurses-6.3-patch-20220924.patch new file mode 100644 index 0000000..4493f77 --- /dev/null +++ b/ncurses-6.3-patch-20220924.patch @@ -0,0 +1,22144 @@ +From b5d80765d2da2bcc9d9f71cafd081ad4453cd365 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 25 Sep 2022 00:12:05 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220924 + ++ modify configure macro CF_BUILD_CC to check if the build-compiler + works, rather than that it is different from the cross-compiler, e.g., + to accommodate a compiler which can be used for either purpose with + different flags (report by Mikhail Korolev). ++ fix another memory-leak in tic. ++ correct change for cppcheck in menu library (report/analysis by + "tuxway", cf: 20220903). ++ update config.guess, config.sub +--- + Ada95/aclocal.m4 | 29 +- + Ada95/configure | 2265 ++++++++-------- + NEWS | 12 +- + VERSION | 2 +- + aclocal.m4 | 29 +- + config.guess | 4 +- + config.sub | 4 +- + configure | 4191 +++++++++++++++--------------- + dist.mk | 4 +- + include/term_entry.h | 3 +- + menu/m_post.c | 5 +- + ncurses/tinfo/comp_parse.c | 14 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + progs/infocmp.c | 4 +- + 20 files changed, 3368 insertions(+), 3220 deletions(-) + +diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 +index dcaada8b..5f7c5a6e 100644 +--- a/Ada95/aclocal.m4 ++++ b/Ada95/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.194 2022/09/10 19:25:56 tom Exp $ ++dnl $Id: aclocal.m4,v 1.195 2022/09/24 20:42:30 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -477,7 +477,7 @@ fi + AC_SUBST(ARFLAGS) + ]) + dnl --------------------------------------------------------------------------- +-dnl CF_BUILD_CC version: 9 updated: 2021/01/02 09:31:20 ++dnl CF_BUILD_CC version: 10 updated: 2022/09/24 16:36:41 + dnl ----------- + dnl If we're cross-compiling, allow the user to override the tools and their + dnl options. The configure script is oriented toward identifying the host +@@ -543,7 +543,30 @@ if test "$cross_compiling" = yes ; then + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then ++ AC_MSG_CHECKING(if the build-compiler "$BUILD_CC" works) ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&AS_MESSAGE_LOG_FD' ++ ++ AC_TRY_RUN([#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ], ++ cf_ok_build_cc=yes, ++ cf_ok_build_cc=no, ++ cf_ok_build_cc=unknown) ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ AC_MSG_RESULT($cf_ok_build_cc) ++ ++ if test "$cf_ok_build_cc" != yes ++ then + AC_MSG_ERROR([Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler.]) + fi +diff --git a/Ada95/configure b/Ada95/configure +index f36c5fc3..aa0dfc1c 100755 +--- a/Ada95/configure ++++ b/Ada95/configure +@@ -4289,8 +4289,57 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then +- { { echo "$as_me:4293: error: Cross-build requires two compilers. ++ echo "$as_me:4292: checking if the build-compiler \"$BUILD_CC\" works" >&5 ++echo $ECHO_N "checking if the build-compiler \"$BUILD_CC\" works... $ECHO_C" >&6 ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&5' ++ ++ if test "$cross_compiling" = yes; then ++ cf_ok_build_cc=unknown ++else ++ cat >"conftest.$ac_ext" <<_ACEOF ++#line 4304 "configure" ++#include "confdefs.h" ++#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ++_ACEOF ++rm -f "conftest$ac_exeext" ++if { (eval echo "$as_me:4314: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ echo "$as_me:4317: \$? = $ac_status" >&5 ++ (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' ++ { (eval echo "$as_me:4319: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:4322: \$? = $ac_status" >&5 ++ (exit "$ac_status"); }; }; then ++ cf_ok_build_cc=yes ++else ++ echo "$as_me: program exited with status $ac_status" >&5 ++echo "$as_me: failed program was:" >&5 ++cat "conftest.$ac_ext" >&5 ++cf_ok_build_cc=no ++fi ++rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" ++fi ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ echo "$as_me:4337: result: $cf_ok_build_cc" >&5 ++echo "${ECHO_T}$cf_ok_build_cc" >&6 ++ ++ if test "$cf_ok_build_cc" != yes ++ then ++ { { echo "$as_me:4342: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&5 + echo "$as_me: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&2;} +@@ -4315,7 +4364,7 @@ fi + ### shared, for example. + cf_list_models="" + +-echo "$as_me:4318: checking if you want to build shared C-objects" >&5 ++echo "$as_me:4367: checking if you want to build shared C-objects" >&5 + echo $ECHO_N "checking if you want to build shared C-objects... $ECHO_C" >&6 + + # Check whether --with-shared or --without-shared was given. +@@ -4325,27 +4374,27 @@ if test "${with_shared+set}" = set; then + else + with_shared=no + fi; +-echo "$as_me:4328: result: $with_shared" >&5 ++echo "$as_me:4377: result: $with_shared" >&5 + echo "${ECHO_T}$with_shared" >&6 + test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared" + +-echo "$as_me:4332: checking for specified models" >&5 ++echo "$as_me:4381: checking for specified models" >&5 + echo $ECHO_N "checking for specified models... $ECHO_C" >&6 + test -z "$cf_list_models" && cf_list_models=normal +-echo "$as_me:4335: result: $cf_list_models" >&5 ++echo "$as_me:4384: result: $cf_list_models" >&5 + echo "${ECHO_T}$cf_list_models" >&6 + + ### Use the first model as the default, and save its suffix for use in building + ### up test-applications. +-echo "$as_me:4340: checking for default model" >&5 ++echo "$as_me:4389: checking for default model" >&5 + echo $ECHO_N "checking for default model... $ECHO_C" >&6 + DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` +-echo "$as_me:4343: result: $DFT_LWR_MODEL" >&5 ++echo "$as_me:4392: result: $DFT_LWR_MODEL" >&5 + echo "${ECHO_T}$DFT_LWR_MODEL" >&6 + + DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` + +-echo "$as_me:4348: checking for specific curses-directory" >&5 ++echo "$as_me:4397: 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. +@@ -4355,7 +4404,7 @@ if test "${with_curses_dir+set}" = set; then + else + cf_cv_curses_dir=no + fi; +-echo "$as_me:4358: result: $cf_cv_curses_dir" >&5 ++echo "$as_me:4407: 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" +@@ -4386,7 +4435,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:4389: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:4438: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -4422,7 +4471,7 @@ if test -n "$cf_cv_curses_dir/include" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4425 "configure" ++#line 4474 "configure" + #include "confdefs.h" + #include + int +@@ -4434,16 +4483,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:4437: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:4486: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:4440: \$? = $ac_status" >&5 ++ echo "$as_me:4489: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:4443: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4492: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4446: \$? = $ac_status" >&5 ++ echo "$as_me:4495: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -4460,7 +4509,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:4463: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:4512: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -4496,7 +4545,7 @@ if test -n "$cf_cv_curses_dir/lib" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:4499: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:4548: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -4511,13 +4560,13 @@ cf_ncuconfig_root=ncurses + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:4514: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:4563: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:4517: result: yes" >&5 ++ echo "$as_me:4566: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:4520: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:4569: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -4650,7 +4699,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4653 "configure" ++#line 4702 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -4662,37 +4711,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:4665: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4714: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4668: \$? = $ac_status" >&5 ++ echo "$as_me:4717: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:4671: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4720: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4674: \$? = $ac_status" >&5 ++ echo "$as_me:4723: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4680 "configure" ++#line 4729 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:4687: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4736: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4690: \$? = $ac_status" >&5 ++ echo "$as_me:4739: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:4692: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4741: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4695: \$? = $ac_status" >&5 ++ echo "$as_me:4744: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -4866,7 +4915,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4869 "configure" ++#line 4918 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -4878,37 +4927,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:4881: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4930: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4884: \$? = $ac_status" >&5 ++ echo "$as_me:4933: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:4887: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4936: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4890: \$? = $ac_status" >&5 ++ echo "$as_me:4939: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4896 "configure" ++#line 4945 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:4903: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4952: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4906: \$? = $ac_status" >&5 ++ echo "$as_me:4955: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:4908: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4957: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4911: \$? = $ac_status" >&5 ++ echo "$as_me:4960: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -4925,7 +4974,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:4928: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:4977: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -4941,7 +4990,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:4944: checking for terminfo header" >&5 ++echo "$as_me:4993: 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 +@@ -4959,7 +5008,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4962 "configure" ++#line 5011 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -4974,16 +5023,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:4977: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5026: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:4980: \$? = $ac_status" >&5 ++ echo "$as_me:5029: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:4983: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5032: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4986: \$? = $ac_status" >&5 ++ echo "$as_me:5035: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -4999,7 +5048,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5002: result: $cf_cv_term_header" >&5 ++echo "$as_me:5051: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -5034,7 +5083,7 @@ esac + fi + + else +- echo "$as_me:5037: result: no" >&5 ++ echo "$as_me:5086: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -5050,7 +5099,7 @@ if test -n "$ac_tool_prefix"; then + 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:5053: checking for $ac_word" >&5 ++echo "$as_me:5102: 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 +@@ -5065,7 +5114,7 @@ for ac_dir in $ac_dummy; do + 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:5068: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5117: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5073,10 +5122,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:5076: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:5125: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:5079: result: no" >&5 ++ echo "$as_me:5128: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5089,7 +5138,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:5092: checking for $ac_word" >&5 ++echo "$as_me:5141: 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 +@@ -5104,7 +5153,7 @@ for ac_dir in $ac_dummy; do + 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:5107: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5156: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5112,10 +5161,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:5115: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:5164: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:5118: result: no" >&5 ++ echo "$as_me:5167: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5272,7 +5321,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:5275: checking if we have identified curses headers" >&5 ++echo "$as_me:5324: 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 +@@ -5284,7 +5333,7 @@ for cf_header in \ + curses.h ncurses/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5287 "configure" ++#line 5336 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -5296,16 +5345,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5299: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5348: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5302: \$? = $ac_status" >&5 ++ echo "$as_me:5351: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5305: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5354: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5308: \$? = $ac_status" >&5 ++ echo "$as_me:5357: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -5316,11 +5365,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5319: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:5368: 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:5323: error: No curses header-files found" >&5 ++ { { echo "$as_me:5372: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5330,23 +5379,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:5333: checking for $ac_header" >&5 ++echo "$as_me:5382: 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 5339 "configure" ++#line 5388 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:5343: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:5392: \"$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:5349: \$? = $ac_status" >&5 ++ echo "$as_me:5398: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -5365,7 +5414,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:5368: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:5417: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 5424 "configure" ++#line 5473 "configure" + #include "confdefs.h" + #include + int +@@ -5433,16 +5482,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5436: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5485: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5439: \$? = $ac_status" >&5 ++ echo "$as_me:5488: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5442: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5491: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5445: \$? = $ac_status" >&5 ++ echo "$as_me:5494: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5459,7 +5508,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5462: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5511: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5478,7 +5527,7 @@ fi + + } + +-echo "$as_me:5481: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:5530: 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 +@@ -5490,7 +5539,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5493 "configure" ++#line 5542 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -5514,16 +5563,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5517: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5566: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5520: \$? = $ac_status" >&5 ++ echo "$as_me:5569: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5523: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5572: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5526: \$? = $ac_status" >&5 ++ echo "$as_me:5575: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -5538,14 +5587,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5541: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:5590: 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:5548: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:5597: 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 +@@ -5666,7 +5715,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5669 "configure" ++#line 5718 "configure" + #include "confdefs.h" + #include + int +@@ -5678,16 +5727,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5681: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5730: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5684: \$? = $ac_status" >&5 ++ echo "$as_me:5733: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5687: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5736: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5690: \$? = $ac_status" >&5 ++ echo "$as_me:5739: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5704,7 +5753,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5707: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5756: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5727,7 +5776,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5730 "configure" ++#line 5779 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -5751,16 +5800,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5754: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5803: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5757: \$? = $ac_status" >&5 ++ echo "$as_me:5806: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5760: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5809: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5763: \$? = $ac_status" >&5 ++ echo "$as_me:5812: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -5781,12 +5830,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5784: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5833: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:5789: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:5838: 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%/[^/]*$%%'` +@@ -5822,7 +5871,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5825 "configure" ++#line 5874 "configure" + #include "confdefs.h" + #include + int +@@ -5834,16 +5883,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5837: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5886: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5840: \$? = $ac_status" >&5 ++ echo "$as_me:5889: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5843: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5892: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5846: \$? = $ac_status" >&5 ++ echo "$as_me:5895: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5860,7 +5909,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5863: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5912: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5908,7 +5957,7 @@ EOF + ;; + esac + +-echo "$as_me:5911: checking for terminfo header" >&5 ++echo "$as_me:5960: 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 +@@ -5926,7 +5975,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5929 "configure" ++#line 5978 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -5941,16 +5990,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5944: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5993: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5947: \$? = $ac_status" >&5 ++ echo "$as_me:5996: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5950: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5999: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5953: \$? = $ac_status" >&5 ++ echo "$as_me:6002: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -5966,7 +6015,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5969: result: $cf_cv_term_header" >&5 ++echo "$as_me:6018: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -6004,7 +6053,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:6007: checking for ncurses version" >&5 ++echo "$as_me:6056: 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 +@@ -6030,10 +6079,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:6033: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:6082: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:6036: \$? = $ac_status" >&5 ++ echo "$as_me:6085: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -6043,7 +6092,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6046 "configure" ++#line 6095 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -6068,15 +6117,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:6071: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6120: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6074: \$? = $ac_status" >&5 ++ echo "$as_me:6123: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:6076: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6125: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6079: \$? = $ac_status" >&5 ++ echo "$as_me:6128: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -6090,7 +6139,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:6093: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:6142: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -6103,7 +6152,7 @@ cf_nculib_root=ncurses + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:6106: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:6155: 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 +@@ -6111,7 +6160,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6114 "configure" ++#line 6163 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6130,16 +6179,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6133: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6182: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6136: \$? = $ac_status" >&5 ++ echo "$as_me:6185: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6139: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6188: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6142: \$? = $ac_status" >&5 ++ echo "$as_me:6191: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -6150,10 +6199,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6153: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:6202: 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:6156: checking for initscr in -lgpm" >&5 ++ echo "$as_me:6205: 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 +@@ -6161,7 +6210,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6164 "configure" ++#line 6213 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6180,16 +6229,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6183: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6232: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6186: \$? = $ac_status" >&5 ++ echo "$as_me:6235: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6189: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6238: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6192: \$? = $ac_status" >&5 ++ echo "$as_me:6241: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -6200,7 +6249,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6203: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:6252: 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" +@@ -6215,7 +6264,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:6218: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:6267: 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 +@@ -6223,7 +6272,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6226 "configure" ++#line 6275 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6242,16 +6291,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6245: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6294: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6248: \$? = $ac_status" >&5 ++ echo "$as_me:6297: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6251: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6300: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6254: \$? = $ac_status" >&5 ++ echo "$as_me:6303: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -6262,7 +6311,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6265: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:6314: 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" +@@ -6311,13 +6360,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:6314: checking for initscr" >&5 ++ echo "$as_me:6363: 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 6320 "configure" ++#line 6369 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -6348,16 +6397,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6351: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6400: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6354: \$? = $ac_status" >&5 ++ echo "$as_me:6403: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6357: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6406: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6360: \$? = $ac_status" >&5 ++ echo "$as_me:6409: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -6367,18 +6416,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:6370: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:6419: 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:6377: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:6426: 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 6381 "configure" ++#line 6430 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6390,25 +6439,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6393: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6442: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6396: \$? = $ac_status" >&5 ++ echo "$as_me:6445: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6399: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6448: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6402: \$? = $ac_status" >&5 ++ echo "$as_me:6451: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6404: result: yes" >&5 ++ echo "$as_me:6453: 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:6411: result: no" >&5 ++echo "$as_me:6460: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -6476,11 +6525,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:6479: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:6528: 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 6483 "configure" ++#line 6532 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6492,25 +6541,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6495: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6544: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6498: \$? = $ac_status" >&5 ++ echo "$as_me:6547: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6501: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6550: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6504: \$? = $ac_status" >&5 ++ echo "$as_me:6553: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6506: result: yes" >&5 ++ echo "$as_me:6555: 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:6513: result: no" >&5 ++echo "$as_me:6562: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -6525,7 +6574,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:6528: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:6577: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -6533,7 +6582,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:6536: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:6585: 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 +@@ -6543,7 +6592,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6546 "configure" ++#line 6595 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6555,23 +6604,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6558: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6607: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6561: \$? = $ac_status" >&5 ++ echo "$as_me:6610: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6564: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6613: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6567: \$? = $ac_status" >&5 ++ echo "$as_me:6616: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6569: result: yes" >&5 ++ echo "$as_me:6618: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:6574: result: no" >&5 ++echo "$as_me:6623: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -6589,7 +6638,7 @@ else + NCURSES_CONFIG=none + fi + +-echo "$as_me:6592: checking if you want wide-character code" >&5 ++echo "$as_me:6641: checking if you want wide-character code" >&5 + echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 + + # Check whether --enable-widec or --disable-widec was given. +@@ -6599,30 +6648,30 @@ if test "${enable_widec+set}" = set; then + else + with_widec=no + fi; +-echo "$as_me:6602: result: $with_widec" >&5 ++echo "$as_me:6651: result: $with_widec" >&5 + echo "${ECHO_T}$with_widec" >&6 + if test "$with_widec" = yes ; then + + for ac_header in wchar.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:6609: checking for $ac_header" >&5 ++echo "$as_me:6658: 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 6615 "configure" ++#line 6664 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:6619: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:6668: \"$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:6625: \$? = $ac_status" >&5 ++ echo "$as_me:6674: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -6641,7 +6690,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:6644: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:6693: 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 <&5 ++echo "$as_me:6703: 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 +@@ -6659,7 +6708,7 @@ else + + cf_save_LIBS="$LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6662 "configure" ++#line 6711 "configure" + #include "confdefs.h" + + #include +@@ -6677,16 +6726,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6680: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6729: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6683: \$? = $ac_status" >&5 ++ echo "$as_me:6732: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6686: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6735: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6689: \$? = $ac_status" >&5 ++ echo "$as_me:6738: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_utf8_lib=yes + else +@@ -6698,12 +6747,12 @@ cat "conftest.$ac_ext" >&5 + cf_cv_header_path_utf8= + cf_cv_library_path_utf8= + +-echo "${as_me:-configure}:6701: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6750: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6706 "configure" ++#line 6755 "configure" + #include "confdefs.h" + + #include +@@ -6716,16 +6765,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6719: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6768: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6722: \$? = $ac_status" >&5 ++ echo "$as_me:6771: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6725: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6774: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6728: \$? = $ac_status" >&5 ++ echo "$as_me:6777: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -6739,7 +6788,7 @@ cat "conftest.$ac_ext" >&5 + LIBS="-lutf8 $cf_save_LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6742 "configure" ++#line 6791 "configure" + #include "confdefs.h" + + #include +@@ -6752,16 +6801,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6755: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6804: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6758: \$? = $ac_status" >&5 ++ echo "$as_me:6807: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6761: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6810: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6764: \$? = $ac_status" >&5 ++ echo "$as_me:6813: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -6778,9 +6827,9 @@ cat "conftest.$ac_ext" >&5 + + test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 + +-echo "${as_me:-configure}:6781: testing find linkage for utf8 library ..." 1>&5 ++echo "${as_me:-configure}:6830: testing find linkage for utf8 library ..." 1>&5 + +-echo "${as_me:-configure}:6783: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6832: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_CPPFLAGS="$CPPFLAGS" + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -6871,7 +6920,7 @@ cf_search="$cf_search $cf_header_path_list" + 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}:6874: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:6923: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_save_CPPFLAGS" + +@@ -6879,7 +6928,7 @@ echo "${as_me:-configure}:6874: testing ... testing $cf_cv_header_path_utf8 ..." + CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6882 "configure" ++#line 6931 "configure" + #include "confdefs.h" + + #include +@@ -6892,21 +6941,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6898: \$? = $ac_status" >&5 ++ echo "$as_me:6947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6904: \$? = $ac_status" >&5 ++ echo "$as_me:6953: \$? = $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}:6909: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:6958: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=maybe + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -6924,7 +6973,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + if test "$cf_cv_find_linkage_utf8" = maybe ; then + +-echo "${as_me:-configure}:6927: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6976: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + cf_save_LDFLAGS="$LDFLAGS" +@@ -6999,13 +7048,13 @@ cf_search="$cf_library_path_list $cf_search" + 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}:7002: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7051: 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 7008 "configure" ++#line 7057 "configure" + #include "confdefs.h" + + #include +@@ -7018,21 +7067,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7021: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7070: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7024: \$? = $ac_status" >&5 ++ echo "$as_me:7073: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7027: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7076: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7030: \$? = $ac_status" >&5 ++ echo "$as_me:7079: \$? = $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}:7035: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7084: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=yes + cf_cv_library_file_utf8="-lutf8" +@@ -7074,7 +7123,7 @@ fi + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:7077: result: $cf_cv_utf8_lib" >&5 ++echo "$as_me:7126: 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 +@@ -7112,7 +7161,7 @@ if test -n "$cf_cv_header_path_utf8" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7115 "configure" ++#line 7164 "configure" + #include "confdefs.h" + #include + int +@@ -7124,16 +7173,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7127: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7176: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7130: \$? = $ac_status" >&5 ++ echo "$as_me:7179: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7133: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7182: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7136: \$? = $ac_status" >&5 ++ echo "$as_me:7185: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -7150,7 +7199,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:7153: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:7202: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -7186,7 +7235,7 @@ if test -n "$cf_cv_library_path_utf8" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:7189: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:7238: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -7216,13 +7265,13 @@ cf_ncuconfig_root=ncursesw + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:7219: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:7268: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:7222: result: yes" >&5 ++ echo "$as_me:7271: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:7225: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:7274: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -7355,7 +7404,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7358 "configure" ++#line 7407 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -7367,37 +7416,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7370: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7419: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7373: \$? = $ac_status" >&5 ++ echo "$as_me:7422: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7376: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7425: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7379: \$? = $ac_status" >&5 ++ echo "$as_me:7428: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7385 "configure" ++#line 7434 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:7392: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7441: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7395: \$? = $ac_status" >&5 ++ echo "$as_me:7444: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:7397: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7446: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7400: \$? = $ac_status" >&5 ++ echo "$as_me:7449: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -7571,7 +7620,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7574 "configure" ++#line 7623 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -7583,37 +7632,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7586: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7635: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7589: \$? = $ac_status" >&5 ++ echo "$as_me:7638: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7592: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7641: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7595: \$? = $ac_status" >&5 ++ echo "$as_me:7644: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7601 "configure" ++#line 7650 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:7608: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7657: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7611: \$? = $ac_status" >&5 ++ echo "$as_me:7660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:7613: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7662: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7616: \$? = $ac_status" >&5 ++ echo "$as_me:7665: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -7630,7 +7679,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:7633: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:7682: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -7646,7 +7695,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:7649: checking for terminfo header" >&5 ++echo "$as_me:7698: 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 +@@ -7664,7 +7713,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7667 "configure" ++#line 7716 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -7679,16 +7728,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7682: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7731: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7685: \$? = $ac_status" >&5 ++ echo "$as_me:7734: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7688: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7737: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7691: \$? = $ac_status" >&5 ++ echo "$as_me:7740: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -7704,7 +7753,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:7707: result: $cf_cv_term_header" >&5 ++echo "$as_me:7756: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -7739,7 +7788,7 @@ esac + fi + + else +- echo "$as_me:7742: result: no" >&5 ++ echo "$as_me:7791: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -7755,7 +7804,7 @@ if test -n "$ac_tool_prefix"; then + 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:7758: checking for $ac_word" >&5 ++echo "$as_me:7807: 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 +@@ -7770,7 +7819,7 @@ for ac_dir in $ac_dummy; do + 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:7773: found $ac_dir/$ac_word" >&5 ++echo "$as_me:7822: found $ac_dir/$ac_word" >&5 + break + done + +@@ -7778,10 +7827,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:7781: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:7830: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:7784: result: no" >&5 ++ echo "$as_me:7833: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -7794,7 +7843,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:7797: checking for $ac_word" >&5 ++echo "$as_me:7846: 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 +@@ -7809,7 +7858,7 @@ for ac_dir in $ac_dummy; do + 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:7812: found $ac_dir/$ac_word" >&5 ++echo "$as_me:7861: found $ac_dir/$ac_word" >&5 + break + done + +@@ -7817,10 +7866,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:7820: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:7869: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:7823: result: no" >&5 ++ echo "$as_me:7872: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -7977,7 +8026,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:7980: checking if we have identified curses headers" >&5 ++echo "$as_me:8029: 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 +@@ -7989,7 +8038,7 @@ for cf_header in \ + curses.h ncursesw/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7992 "configure" ++#line 8041 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -8001,16 +8050,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8004: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8053: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8007: \$? = $ac_status" >&5 ++ echo "$as_me:8056: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8010: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8059: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8013: \$? = $ac_status" >&5 ++ echo "$as_me:8062: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -8021,11 +8070,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8024: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:8073: 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:8028: error: No curses header-files found" >&5 ++ { { echo "$as_me:8077: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -8035,23 +8084,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:8038: checking for $ac_header" >&5 ++echo "$as_me:8087: 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 8044 "configure" ++#line 8093 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:8048: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:8097: \"$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:8054: \$? = $ac_status" >&5 ++ echo "$as_me:8103: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -8070,7 +8119,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:8073: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:8122: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 8129 "configure" ++#line 8178 "configure" + #include "confdefs.h" + #include + int +@@ -8138,16 +8187,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8141: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8190: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8144: \$? = $ac_status" >&5 ++ echo "$as_me:8193: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8147: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8196: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8150: \$? = $ac_status" >&5 ++ echo "$as_me:8199: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8164,7 +8213,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8167: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8216: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8183,7 +8232,7 @@ fi + + } + +-echo "$as_me:8186: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:8235: 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 +@@ -8195,7 +8244,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8198 "configure" ++#line 8247 "configure" + #include "confdefs.h" + + #define _XOPEN_SOURCE_EXTENDED +@@ -8227,16 +8276,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8230: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8279: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8233: \$? = $ac_status" >&5 ++ echo "$as_me:8282: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8236: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8285: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8239: \$? = $ac_status" >&5 ++ echo "$as_me:8288: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -8251,14 +8300,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8254: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:8303: 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:8261: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:8310: 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 +@@ -8379,7 +8428,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8382 "configure" ++#line 8431 "configure" + #include "confdefs.h" + #include + int +@@ -8391,16 +8440,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8394: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8443: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8397: \$? = $ac_status" >&5 ++ echo "$as_me:8446: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8400: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8449: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8403: \$? = $ac_status" >&5 ++ echo "$as_me:8452: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8417,7 +8466,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8420: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8469: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8440,7 +8489,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8443 "configure" ++#line 8492 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -8464,16 +8513,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8467: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8516: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8470: \$? = $ac_status" >&5 ++ echo "$as_me:8519: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8473: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8522: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8476: \$? = $ac_status" >&5 ++ echo "$as_me:8525: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -8494,12 +8543,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8497: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8546: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:8502: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:8551: 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%/[^/]*$%%'` +@@ -8535,7 +8584,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8538 "configure" ++#line 8587 "configure" + #include "confdefs.h" + #include + int +@@ -8547,16 +8596,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8550: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8599: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8553: \$? = $ac_status" >&5 ++ echo "$as_me:8602: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8556: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8605: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8559: \$? = $ac_status" >&5 ++ echo "$as_me:8608: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8573,7 +8622,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8576: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8625: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8621,7 +8670,7 @@ EOF + ;; + esac + +-echo "$as_me:8624: checking for terminfo header" >&5 ++echo "$as_me:8673: 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 +@@ -8639,7 +8688,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8642 "configure" ++#line 8691 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -8654,16 +8703,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8657: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8706: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8660: \$? = $ac_status" >&5 ++ echo "$as_me:8709: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8663: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8712: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8666: \$? = $ac_status" >&5 ++ echo "$as_me:8715: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -8679,7 +8728,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8682: result: $cf_cv_term_header" >&5 ++echo "$as_me:8731: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -8717,7 +8766,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:8720: checking for ncurses version" >&5 ++echo "$as_me:8769: 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 +@@ -8743,10 +8792,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:8746: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:8795: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:8749: \$? = $ac_status" >&5 ++ echo "$as_me:8798: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -8756,7 +8805,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8759 "configure" ++#line 8808 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -8781,15 +8830,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:8784: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8833: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8787: \$? = $ac_status" >&5 ++ echo "$as_me:8836: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:8789: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8838: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8792: \$? = $ac_status" >&5 ++ echo "$as_me:8841: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -8803,7 +8852,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:8806: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:8855: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -8816,7 +8865,7 @@ cf_nculib_root=ncursesw + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:8819: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:8868: 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 +@@ -8824,7 +8873,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8827 "configure" ++#line 8876 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8843,16 +8892,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8846: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8895: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8849: \$? = $ac_status" >&5 ++ echo "$as_me:8898: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8852: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8901: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8855: \$? = $ac_status" >&5 ++ echo "$as_me:8904: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -8863,10 +8912,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8866: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:8915: 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:8869: checking for initscr in -lgpm" >&5 ++ echo "$as_me:8918: 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 +@@ -8874,7 +8923,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8877 "configure" ++#line 8926 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8893,16 +8942,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8896: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8945: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8899: \$? = $ac_status" >&5 ++ echo "$as_me:8948: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8902: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8951: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8905: \$? = $ac_status" >&5 ++ echo "$as_me:8954: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -8913,7 +8962,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8916: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:8965: 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" +@@ -8928,7 +8977,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:8931: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:8980: 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 +@@ -8936,7 +8985,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8939 "configure" ++#line 8988 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8955,16 +9004,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8958: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9007: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8961: \$? = $ac_status" >&5 ++ echo "$as_me:9010: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8964: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9013: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8967: \$? = $ac_status" >&5 ++ echo "$as_me:9016: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -8975,7 +9024,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8978: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:9027: 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" +@@ -9024,13 +9073,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:9027: checking for initscr" >&5 ++ echo "$as_me:9076: 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 9033 "configure" ++#line 9082 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9061,16 +9110,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9064: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9113: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9067: \$? = $ac_status" >&5 ++ echo "$as_me:9116: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9070: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9119: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9073: \$? = $ac_status" >&5 ++ echo "$as_me:9122: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -9080,18 +9129,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9083: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:9132: 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:9090: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:9139: 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 9094 "configure" ++#line 9143 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9103,25 +9152,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9106: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9155: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9109: \$? = $ac_status" >&5 ++ echo "$as_me:9158: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9112: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9161: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9115: \$? = $ac_status" >&5 ++ echo "$as_me:9164: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9117: result: yes" >&5 ++ echo "$as_me:9166: 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:9124: result: no" >&5 ++echo "$as_me:9173: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -9189,11 +9238,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:9192: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:9241: 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 9196 "configure" ++#line 9245 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9205,25 +9254,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9208: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9257: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9211: \$? = $ac_status" >&5 ++ echo "$as_me:9260: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9214: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9263: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9217: \$? = $ac_status" >&5 ++ echo "$as_me:9266: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9219: result: yes" >&5 ++ echo "$as_me:9268: 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:9226: result: no" >&5 ++echo "$as_me:9275: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -9238,7 +9287,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:9241: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:9290: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -9246,7 +9295,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:9249: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:9298: 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 +@@ -9256,7 +9305,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9259 "configure" ++#line 9308 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9268,23 +9317,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9271: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9320: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9274: \$? = $ac_status" >&5 ++ echo "$as_me:9323: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9277: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9326: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9280: \$? = $ac_status" >&5 ++ echo "$as_me:9329: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9282: result: yes" >&5 ++ echo "$as_me:9331: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:9287: result: no" >&5 ++echo "$as_me:9336: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -9308,13 +9357,13 @@ cf_ncuconfig_root=ncurses + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:9311: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:9360: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:9314: result: yes" >&5 ++ echo "$as_me:9363: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:9317: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:9366: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -9447,7 +9496,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9450 "configure" ++#line 9499 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9459,37 +9508,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9462: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9511: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9465: \$? = $ac_status" >&5 ++ echo "$as_me:9514: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9468: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9517: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9471: \$? = $ac_status" >&5 ++ echo "$as_me:9520: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9477 "configure" ++#line 9526 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9484: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9533: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9487: \$? = $ac_status" >&5 ++ echo "$as_me:9536: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9489: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9538: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9492: \$? = $ac_status" >&5 ++ echo "$as_me:9541: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -9663,7 +9712,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9666 "configure" ++#line 9715 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9675,37 +9724,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9678: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9727: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9681: \$? = $ac_status" >&5 ++ echo "$as_me:9730: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9684: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9733: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9687: \$? = $ac_status" >&5 ++ echo "$as_me:9736: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9693 "configure" ++#line 9742 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9700: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9749: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9703: \$? = $ac_status" >&5 ++ echo "$as_me:9752: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9705: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9754: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9708: \$? = $ac_status" >&5 ++ echo "$as_me:9757: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -9722,7 +9771,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:9725: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:9774: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -9738,7 +9787,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:9741: checking for terminfo header" >&5 ++echo "$as_me:9790: 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 +@@ -9756,7 +9805,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9759 "configure" ++#line 9808 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -9771,16 +9820,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9774: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:9823: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9777: \$? = $ac_status" >&5 ++ echo "$as_me:9826: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9780: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9829: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9783: \$? = $ac_status" >&5 ++ echo "$as_me:9832: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -9796,7 +9845,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:9799: result: $cf_cv_term_header" >&5 ++echo "$as_me:9848: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -9831,7 +9880,7 @@ esac + fi + + else +- echo "$as_me:9834: result: no" >&5 ++ echo "$as_me:9883: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -9847,7 +9896,7 @@ if test -n "$ac_tool_prefix"; then + 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:9850: checking for $ac_word" >&5 ++echo "$as_me:9899: 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 +@@ -9862,7 +9911,7 @@ for ac_dir in $ac_dummy; do + 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:9865: found $ac_dir/$ac_word" >&5 ++echo "$as_me:9914: found $ac_dir/$ac_word" >&5 + break + done + +@@ -9870,10 +9919,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:9873: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:9922: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:9876: result: no" >&5 ++ echo "$as_me:9925: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -9886,7 +9935,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:9889: checking for $ac_word" >&5 ++echo "$as_me:9938: 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 +@@ -9901,7 +9950,7 @@ for ac_dir in $ac_dummy; do + 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:9904: found $ac_dir/$ac_word" >&5 ++echo "$as_me:9953: found $ac_dir/$ac_word" >&5 + break + done + +@@ -9909,10 +9958,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:9912: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:9961: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:9915: result: no" >&5 ++ echo "$as_me:9964: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -10069,7 +10118,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:10072: checking if we have identified curses headers" >&5 ++echo "$as_me:10121: 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 +@@ -10081,7 +10130,7 @@ for cf_header in \ + curses.h ncurses/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10084 "configure" ++#line 10133 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -10093,16 +10142,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10096: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10145: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10099: \$? = $ac_status" >&5 ++ echo "$as_me:10148: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10102: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10151: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10105: \$? = $ac_status" >&5 ++ echo "$as_me:10154: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -10113,11 +10162,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10116: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:10165: 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:10120: error: No curses header-files found" >&5 ++ { { echo "$as_me:10169: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -10127,23 +10176,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:10130: checking for $ac_header" >&5 ++echo "$as_me:10179: 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 10136 "configure" ++#line 10185 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:10140: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:10189: \"$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:10146: \$? = $ac_status" >&5 ++ echo "$as_me:10195: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -10162,7 +10211,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:10165: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:10214: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 10221 "configure" ++#line 10270 "configure" + #include "confdefs.h" + #include + int +@@ -10230,16 +10279,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10233: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10282: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10236: \$? = $ac_status" >&5 ++ echo "$as_me:10285: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10239: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10288: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10242: \$? = $ac_status" >&5 ++ echo "$as_me:10291: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10256,7 +10305,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10259: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10308: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10275,7 +10324,7 @@ fi + + } + +-echo "$as_me:10278: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:10327: 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 +@@ -10287,7 +10336,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10290 "configure" ++#line 10339 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10311,16 +10360,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10314: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10363: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10317: \$? = $ac_status" >&5 ++ echo "$as_me:10366: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10320: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10369: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10323: \$? = $ac_status" >&5 ++ echo "$as_me:10372: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -10335,14 +10384,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10338: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:10387: 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:10345: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:10394: 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 +@@ -10463,7 +10512,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10466 "configure" ++#line 10515 "configure" + #include "confdefs.h" + #include + int +@@ -10475,16 +10524,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10478: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10527: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10481: \$? = $ac_status" >&5 ++ echo "$as_me:10530: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10484: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10533: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10487: \$? = $ac_status" >&5 ++ echo "$as_me:10536: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10501,7 +10550,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10504: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10553: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10524,7 +10573,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10527 "configure" ++#line 10576 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10548,16 +10597,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10551: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10600: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10554: \$? = $ac_status" >&5 ++ echo "$as_me:10603: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10557: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10606: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10560: \$? = $ac_status" >&5 ++ echo "$as_me:10609: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -10578,12 +10627,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10581: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10630: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:10586: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:10635: 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%/[^/]*$%%'` +@@ -10619,7 +10668,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10622 "configure" ++#line 10671 "configure" + #include "confdefs.h" + #include + int +@@ -10631,16 +10680,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10634: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10683: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10637: \$? = $ac_status" >&5 ++ echo "$as_me:10686: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10640: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10689: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10643: \$? = $ac_status" >&5 ++ echo "$as_me:10692: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10657,7 +10706,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10660: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10709: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10705,7 +10754,7 @@ EOF + ;; + esac + +-echo "$as_me:10708: checking for terminfo header" >&5 ++echo "$as_me:10757: 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 +@@ -10723,7 +10772,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10726 "configure" ++#line 10775 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -10738,16 +10787,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10741: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10790: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10744: \$? = $ac_status" >&5 ++ echo "$as_me:10793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10747: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10796: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10750: \$? = $ac_status" >&5 ++ echo "$as_me:10799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -10763,7 +10812,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10766: result: $cf_cv_term_header" >&5 ++echo "$as_me:10815: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -10801,7 +10850,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:10804: checking for ncurses version" >&5 ++echo "$as_me:10853: 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 +@@ -10827,10 +10876,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:10830: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:10879: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:10833: \$? = $ac_status" >&5 ++ echo "$as_me:10882: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -10840,7 +10889,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10843 "configure" ++#line 10892 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -10865,15 +10914,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:10868: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10917: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10871: \$? = $ac_status" >&5 ++ echo "$as_me:10920: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:10873: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10922: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10876: \$? = $ac_status" >&5 ++ echo "$as_me:10925: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -10887,7 +10936,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:10890: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:10939: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -10900,7 +10949,7 @@ cf_nculib_root=ncurses + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:10903: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:10952: 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 +@@ -10908,7 +10957,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10911 "configure" ++#line 10960 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -10927,16 +10976,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:10930: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10979: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10933: \$? = $ac_status" >&5 ++ echo "$as_me:10982: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:10936: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10985: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10939: \$? = $ac_status" >&5 ++ echo "$as_me:10988: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -10947,10 +10996,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:10950: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:10999: 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:10953: checking for initscr in -lgpm" >&5 ++ echo "$as_me:11002: 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 +@@ -10958,7 +11007,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10961 "configure" ++#line 11010 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -10977,16 +11026,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:10980: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11029: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10983: \$? = $ac_status" >&5 ++ echo "$as_me:11032: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:10986: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11035: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10989: \$? = $ac_status" >&5 ++ echo "$as_me:11038: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -10997,7 +11046,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11000: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:11049: 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" +@@ -11012,7 +11061,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:11015: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:11064: 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 +@@ -11020,7 +11069,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11023 "configure" ++#line 11072 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -11039,16 +11088,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11042: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11091: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11045: \$? = $ac_status" >&5 ++ echo "$as_me:11094: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11048: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11097: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11051: \$? = $ac_status" >&5 ++ echo "$as_me:11100: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -11059,7 +11108,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11062: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:11111: 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" +@@ -11108,13 +11157,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:11111: checking for initscr" >&5 ++ echo "$as_me:11160: 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 11117 "configure" ++#line 11166 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -11145,16 +11194,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11148: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11197: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11151: \$? = $ac_status" >&5 ++ echo "$as_me:11200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11154: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11203: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11157: \$? = $ac_status" >&5 ++ echo "$as_me:11206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -11164,18 +11213,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:11167: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:11216: 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:11174: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:11223: 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 11178 "configure" ++#line 11227 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11187,25 +11236,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11190: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11239: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11193: \$? = $ac_status" >&5 ++ echo "$as_me:11242: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11196: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11245: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11199: \$? = $ac_status" >&5 ++ echo "$as_me:11248: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11201: result: yes" >&5 ++ echo "$as_me:11250: 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:11208: result: no" >&5 ++echo "$as_me:11257: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -11273,11 +11322,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:11276: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:11325: 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 11280 "configure" ++#line 11329 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11289,25 +11338,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11292: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11341: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11295: \$? = $ac_status" >&5 ++ echo "$as_me:11344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11301: \$? = $ac_status" >&5 ++ echo "$as_me:11350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11303: result: yes" >&5 ++ echo "$as_me:11352: 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:11310: result: no" >&5 ++echo "$as_me:11359: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -11322,7 +11371,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:11325: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:11374: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -11330,7 +11379,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:11333: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:11382: 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 +@@ -11340,7 +11389,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11343 "configure" ++#line 11392 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11352,23 +11401,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11355: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11404: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11358: \$? = $ac_status" >&5 ++ echo "$as_me:11407: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11361: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11410: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11364: \$? = $ac_status" >&5 ++ echo "$as_me:11413: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11366: result: yes" >&5 ++ echo "$as_me:11415: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:11371: result: no" >&5 ++echo "$as_me:11420: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -11421,10 +11470,10 @@ else + AUTOCONF_$cf_name NCURSES_VERSION_$cf_name + CF_EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | fgrep AUTOCONF_$cf_name >conftest.out" +- { (eval echo "$as_me:11424: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:11473: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:11427: \$? = $ac_status" >&5 ++ echo "$as_me:11476: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_result=`sed -e "s/^.*AUTOCONF_${cf_name}[ ][ ]*//" conftest.out` +@@ -11442,10 +11491,10 @@ cf_cv_rel_version=${NCURSES_MAJOR}.${NCURSES_MINOR} + + cf_cv_timestamp=`date` + +-echo "$as_me:11445: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 ++echo "$as_me:11494: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 + echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6 + +-echo "$as_me:11448: checking if you want to have a library-prefix" >&5 ++echo "$as_me:11497: checking if you want to have a library-prefix" >&5 + echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 + + # Check whether --with-lib-prefix or --without-lib-prefix was given. +@@ -11455,7 +11504,7 @@ if test "${with_lib_prefix+set}" = set; then + else + with_lib_prefix=auto + fi; +-echo "$as_me:11458: result: $with_lib_prefix" >&5 ++echo "$as_me:11507: result: $with_lib_prefix" >&5 + echo "${ECHO_T}$with_lib_prefix" >&6 + + if test "$with_lib_prefix" = auto +@@ -11493,7 +11542,7 @@ if test X"$CC_G_OPT" = X"" ; then + test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT='' + fi + +-echo "$as_me:11496: checking for default loader flags" >&5 ++echo "$as_me:11545: checking for default loader flags" >&5 + echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 + case $DFT_LWR_MODEL in + (normal) LD_MODEL='' ;; +@@ -11501,13 +11550,13 @@ case $DFT_LWR_MODEL in + (profile) LD_MODEL='-pg';; + (shared) LD_MODEL='' ;; + esac +-echo "$as_me:11504: result: $LD_MODEL" >&5 ++echo "$as_me:11553: result: $LD_MODEL" >&5 + echo "${ECHO_T}$LD_MODEL" >&6 + + LD_RPATH_OPT= + if test "x$cf_cv_enable_rpath" != xno + then +- echo "$as_me:11510: checking for an rpath option" >&5 ++ echo "$as_me:11559: checking for an rpath option" >&5 + echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + case "$cf_cv_system_name" in + (irix*) +@@ -11538,12 +11587,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + (*) + ;; + esac +- echo "$as_me:11541: result: $LD_RPATH_OPT" >&5 ++ echo "$as_me:11590: result: $LD_RPATH_OPT" >&5 + echo "${ECHO_T}$LD_RPATH_OPT" >&6 + + case "x$LD_RPATH_OPT" in + (x-R*) +- echo "$as_me:11546: checking if we need a space after rpath option" >&5 ++ echo "$as_me:11595: 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" + +@@ -11564,7 +11613,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11567 "configure" ++#line 11616 "configure" + #include "confdefs.h" + + int +@@ -11576,16 +11625,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11579: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11628: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11582: \$? = $ac_status" >&5 ++ echo "$as_me:11631: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11585: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11634: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11588: \$? = $ac_status" >&5 ++ echo "$as_me:11637: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_space=no + else +@@ -11595,7 +11644,7 @@ cf_rpath_space=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:11598: result: $cf_rpath_space" >&5 ++ echo "$as_me:11647: result: $cf_rpath_space" >&5 + echo "${ECHO_T}$cf_rpath_space" >&6 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " + ;; +@@ -11617,7 +11666,7 @@ fi + cf_ld_rpath_opt= + test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" + +- echo "$as_me:11620: checking if release/abi version should be used for shared libs" >&5 ++ echo "$as_me:11669: checking if release/abi version should be used for shared libs" >&5 + echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 + + # Check whether --with-shlib-version or --without-shlib-version was given. +@@ -11632,9 +11681,9 @@ if test "${with_shlib_version+set}" = set; then + cf_cv_shlib_version=$withval + ;; + (*) +- echo "$as_me:11635: result: $withval" >&5 ++ echo "$as_me:11684: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- { { echo "$as_me:11637: error: option value must be one of: rel, abi, or auto" >&5 ++ { { echo "$as_me:11686: error: option value must be one of: rel, abi, or auto" >&5 + echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -11643,7 +11692,7 @@ echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + else + cf_cv_shlib_version=auto + fi; +- echo "$as_me:11646: result: $cf_cv_shlib_version" >&5 ++ echo "$as_me:11695: result: $cf_cv_shlib_version" >&5 + echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + cf_cv_rm_so_locs=no +@@ -11666,14 +11715,14 @@ echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + if test "$cf_try_fPIC" = yes + then +- echo "$as_me:11669: checking which $CC option to use" >&5 ++ echo "$as_me:11718: checking which $CC option to use" >&5 + echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + for CC_SHARED_OPTS in -fPIC -fpic '' + do + CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11676 "configure" ++#line 11725 "configure" + #include "confdefs.h" + #include + int +@@ -11685,16 +11734,16 @@ int x = 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11688: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11737: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11691: \$? = $ac_status" >&5 ++ echo "$as_me:11740: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11694: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11743: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11697: \$? = $ac_status" >&5 ++ echo "$as_me:11746: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -11703,7 +11752,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done +- echo "$as_me:11706: result: $CC_SHARED_OPTS" >&5 ++ echo "$as_me:11755: result: $CC_SHARED_OPTS" >&5 + echo "${ECHO_T}$CC_SHARED_OPTS" >&6 + CFLAGS="$cf_save_CFLAGS" + fi +@@ -11774,7 +11823,7 @@ CF_EOF + MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' + test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi + cf_cv_shlib_version_infix=yes +- echo "$as_me:11777: checking if ld -search_paths_first works" >&5 ++ echo "$as_me:11826: checking if ld -search_paths_first works" >&5 + echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 + if test "${cf_cv_ldflags_search_paths_first+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11783,7 +11832,7 @@ else + cf_save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11786 "configure" ++#line 11835 "configure" + #include "confdefs.h" + + int +@@ -11795,16 +11844,16 @@ int i; + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11798: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11847: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11801: \$? = $ac_status" >&5 ++ echo "$as_me:11850: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11804: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11853: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11807: \$? = $ac_status" >&5 ++ echo "$as_me:11856: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ldflags_search_paths_first=yes + else +@@ -11815,7 +11864,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LDFLAGS=$cf_save_LDFLAGS + fi +-echo "$as_me:11818: result: $cf_cv_ldflags_search_paths_first" >&5 ++echo "$as_me:11867: result: $cf_cv_ldflags_search_paths_first" >&5 + echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 + if test "$cf_cv_ldflags_search_paths_first" = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" +@@ -12165,7 +12214,7 @@ CF_EOF + do + CFLAGS="$cf_shared_opts $cf_save_CFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12168 "configure" ++#line 12217 "configure" + #include "confdefs.h" + #include + int +@@ -12177,16 +12226,16 @@ printf("Hello\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12180: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12229: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12183: \$? = $ac_status" >&5 ++ echo "$as_me:12232: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12186: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12235: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12189: \$? = $ac_status" >&5 ++ echo "$as_me:12238: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -12223,7 +12272,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes + ;; + (*) +- { echo "$as_me:12226: WARNING: ignored --with-shlib-version" >&5 ++ { echo "$as_me:12275: WARNING: ignored --with-shlib-version" >&5 + echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + ;; + esac +@@ -12233,7 +12282,7 @@ echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + if test -n "$cf_try_cflags" + then + cat > conftest.$ac_ext < + int main(int argc, char *argv[]) + { +@@ -12245,18 +12294,18 @@ EOF + for cf_opt in $cf_try_cflags + do + CFLAGS="$cf_save_CFLAGS -$cf_opt" +- echo "$as_me:12248: checking if CFLAGS option -$cf_opt works" >&5 ++ echo "$as_me:12297: checking if CFLAGS option -$cf_opt works" >&5 + echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6 +- if { (eval echo "$as_me:12250: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:12299: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12253: \$? = $ac_status" >&5 ++ echo "$as_me:12302: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- echo "$as_me:12255: result: yes" >&5 ++ echo "$as_me:12304: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + cf_save_CFLAGS="$CFLAGS" + else +- echo "$as_me:12259: result: no" >&5 ++ echo "$as_me:12308: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + done +@@ -12271,17 +12320,17 @@ echo "${ECHO_T}no" >&6 + + test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6 + +-echo "${as_me:-configure}:12274: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 ++echo "${as_me:-configure}:12323: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 + + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:12278: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:12327: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + # The test/sample programs in the original tree link using rpath option. + # Make it optional for packagers. + if test -n "$LOCAL_LDFLAGS" + then +- echo "$as_me:12284: checking if you want to link sample programs with rpath option" >&5 ++ echo "$as_me:12333: checking if you want to link sample programs with rpath option" >&5 + echo $ECHO_N "checking if you want to link sample programs with rpath option... $ECHO_C" >&6 + + # Check whether --enable-rpath-link or --disable-rpath-link was given. +@@ -12291,7 +12340,7 @@ if test "${enable_rpath_link+set}" = set; then + else + with_rpath_link=yes + fi; +- echo "$as_me:12294: result: $with_rpath_link" >&5 ++ echo "$as_me:12343: result: $with_rpath_link" >&5 + echo "${ECHO_T}$with_rpath_link" >&6 + if test "$with_rpath_link" = no + then +@@ -12304,7 +12353,7 @@ fi + + ### use option --enable-broken-linker to force on use of broken-linker support + +-echo "$as_me:12307: checking if you want broken-linker support code" >&5 ++echo "$as_me:12356: checking if you want broken-linker support code" >&5 + echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 + + # Check whether --enable-broken_linker or --disable-broken_linker was given. +@@ -12314,7 +12363,7 @@ if test "${enable_broken_linker+set}" = set; then + else + with_broken_linker=no + fi; +-echo "$as_me:12317: result: $with_broken_linker" >&5 ++echo "$as_me:12366: result: $with_broken_linker" >&5 + echo "${ECHO_T}$with_broken_linker" >&6 + + : "${BROKEN_LINKER:=0}" +@@ -12329,14 +12378,14 @@ fi + + # Check to define _XOPEN_SOURCE "automatically" + +-echo "$as_me:12332: checking if the POSIX test-macros are already defined" >&5 ++echo "$as_me:12381: checking if the POSIX test-macros are already defined" >&5 + echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 + if test "${cf_cv_posix_visible+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12339 "configure" ++#line 12388 "configure" + #include "confdefs.h" + #include + int +@@ -12355,16 +12404,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12358: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12407: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12361: \$? = $ac_status" >&5 ++ echo "$as_me:12410: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12364: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12413: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12367: \$? = $ac_status" >&5 ++ echo "$as_me:12416: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_visible=no + else +@@ -12375,7 +12424,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12378: result: $cf_cv_posix_visible" >&5 ++echo "$as_me:12427: result: $cf_cv_posix_visible" >&5 + echo "${ECHO_T}$cf_cv_posix_visible" >&6 + + if test "$cf_cv_posix_visible" = no; then +@@ -12420,14 +12469,14 @@ case "$host_os" in + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-echo "$as_me:12423: checking if this is the GNU C library" >&5 ++echo "$as_me:12472: checking if this is the GNU C library" >&5 + echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 + if test "${cf_cv_gnu_library+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12430 "configure" ++#line 12479 "configure" + #include "confdefs.h" + #include + int +@@ -12446,16 +12495,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12449: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12498: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12452: \$? = $ac_status" >&5 ++ echo "$as_me:12501: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12455: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12504: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12458: \$? = $ac_status" >&5 ++ echo "$as_me:12507: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library=yes + else +@@ -12466,7 +12515,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12469: result: $cf_cv_gnu_library" >&5 ++echo "$as_me:12518: result: $cf_cv_gnu_library" >&5 + echo "${ECHO_T}$cf_cv_gnu_library" >&6 + + if test x$cf_cv_gnu_library = xyes; then +@@ -12474,7 +12523,7 @@ if test x$cf_cv_gnu_library = xyes; then + # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE + # was changed to help a little. newlib incorporated the change about 4 + # years later. +- echo "$as_me:12477: checking if _DEFAULT_SOURCE can be used as a basis" >&5 ++ echo "$as_me:12526: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 + if test "${cf_cv_gnu_library_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12486,7 +12535,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12489 "configure" ++#line 12538 "configure" + #include "confdefs.h" + #include + int +@@ -12505,16 +12554,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12508: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12557: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12511: \$? = $ac_status" >&5 ++ echo "$as_me:12560: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12514: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12563: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12517: \$? = $ac_status" >&5 ++ echo "$as_me:12566: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library_219=yes + else +@@ -12526,12 +12575,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save" + + fi +-echo "$as_me:12529: result: $cf_cv_gnu_library_219" >&5 ++echo "$as_me:12578: result: $cf_cv_gnu_library_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 + + if test "x$cf_cv_gnu_library_219" = xyes; then + cf_save="$CPPFLAGS" +- echo "$as_me:12534: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 ++ echo "$as_me:12583: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_dftsrc_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12636,7 +12685,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12639 "configure" ++#line 12688 "configure" + #include "confdefs.h" + + #include +@@ -12656,16 +12705,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12659: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12708: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12662: \$? = $ac_status" >&5 ++ echo "$as_me:12711: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12665: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12714: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12668: \$? = $ac_status" >&5 ++ echo "$as_me:12717: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_dftsrc_219=yes + else +@@ -12676,7 +12725,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12679: result: $cf_cv_gnu_dftsrc_219" >&5 ++echo "$as_me:12728: result: $cf_cv_gnu_dftsrc_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" + else +@@ -12685,14 +12734,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + + if test "x$cf_cv_gnu_dftsrc_219" != xyes; then + +- echo "$as_me:12688: checking if we must define _GNU_SOURCE" >&5 ++ echo "$as_me:12737: 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 12695 "configure" ++#line 12744 "configure" + #include "confdefs.h" + #include + int +@@ -12707,16 +12756,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12710: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12759: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12713: \$? = $ac_status" >&5 ++ echo "$as_me:12762: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12716: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12765: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12719: \$? = $ac_status" >&5 ++ echo "$as_me:12768: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -12823,7 +12872,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12826 "configure" ++#line 12875 "configure" + #include "confdefs.h" + #include + int +@@ -12838,16 +12887,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12841: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12890: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12844: \$? = $ac_status" >&5 ++ echo "$as_me:12893: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12847: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12896: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12850: \$? = $ac_status" >&5 ++ echo "$as_me:12899: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -12862,12 +12911,12 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12865: result: $cf_cv_gnu_source" >&5 ++echo "$as_me:12914: result: $cf_cv_gnu_source" >&5 + echo "${ECHO_T}$cf_cv_gnu_source" >&6 + + if test "$cf_cv_gnu_source" = yes + then +- echo "$as_me:12870: checking if we should also define _DEFAULT_SOURCE" >&5 ++ echo "$as_me:12919: checking if we should also define _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_default_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12877,7 +12926,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12880 "configure" ++#line 12929 "configure" + #include "confdefs.h" + #include + int +@@ -12892,16 +12941,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12898: \$? = $ac_status" >&5 ++ echo "$as_me:12947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12904: \$? = $ac_status" >&5 ++ echo "$as_me:12953: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_default_source=no + else +@@ -12912,7 +12961,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12915: result: $cf_cv_default_source" >&5 ++echo "$as_me:12964: result: $cf_cv_default_source" >&5 + echo "${ECHO_T}$cf_cv_default_source" >&6 + if test "$cf_cv_default_source" = yes + then +@@ -12949,16 +12998,16 @@ 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:12952: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13001: 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}:12958: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13007: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12961 "configure" ++#line 13010 "configure" + #include "confdefs.h" + #include + int +@@ -12973,16 +13022,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12976: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13025: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12979: \$? = $ac_status" >&5 ++ echo "$as_me:13028: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12982: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13031: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12985: \$? = $ac_status" >&5 ++ echo "$as_me:13034: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13003,7 +13052,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13006 "configure" ++#line 13055 "configure" + #include "confdefs.h" + #include + int +@@ -13018,16 +13067,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13021: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13070: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13024: \$? = $ac_status" >&5 ++ echo "$as_me:13073: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13027: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13076: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13030: \$? = $ac_status" >&5 ++ echo "$as_me:13079: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13038,7 +13087,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:13041: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:13090: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -13046,10 +13095,10 @@ echo "${as_me:-configure}:13041: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:13049: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:13098: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13052 "configure" ++#line 13101 "configure" + #include "confdefs.h" + #include + int +@@ -13064,16 +13113,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13067: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13116: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13070: \$? = $ac_status" >&5 ++ echo "$as_me:13119: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13073: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13122: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13076: \$? = $ac_status" >&5 ++ echo "$as_me:13125: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13089,7 +13138,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13092: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:13141: 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 +@@ -13206,7 +13255,7 @@ fi # cf_cv_posix_visible + # OpenBSD 6.x has broken locale support, both compile-time and runtime. + # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html + # Abusing the conformance level is a workaround. +- { echo "$as_me:13209: WARNING: this system does not provide usable locale support" >&5 ++ { echo "$as_me:13258: WARNING: this system does not provide usable locale support" >&5 + echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + cf_xopen_source="-D_BSD_SOURCE" + cf_XOPEN_SOURCE=700 +@@ -13238,14 +13287,14 @@ echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + ;; + (*) + +-echo "$as_me:13241: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:13290: 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 13248 "configure" ++#line 13297 "configure" + #include "confdefs.h" + + #include +@@ -13265,16 +13314,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13268: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13317: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13271: \$? = $ac_status" >&5 ++ echo "$as_me:13320: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13274: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13323: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13277: \$? = $ac_status" >&5 ++ echo "$as_me:13326: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13286,7 +13335,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13289 "configure" ++#line 13338 "configure" + #include "confdefs.h" + + #include +@@ -13306,16 +13355,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13309: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13358: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13312: \$? = $ac_status" >&5 ++ echo "$as_me:13361: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13315: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13364: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13318: \$? = $ac_status" >&5 ++ echo "$as_me:13367: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13330,7 +13379,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13333: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:13382: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -13490,16 +13539,16 @@ 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:13493: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13542: 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}:13499: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13548: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13502 "configure" ++#line 13551 "configure" + #include "confdefs.h" + #include + int +@@ -13514,16 +13563,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13517: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13566: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13520: \$? = $ac_status" >&5 ++ echo "$as_me:13569: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13523: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13572: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13526: \$? = $ac_status" >&5 ++ echo "$as_me:13575: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13544,7 +13593,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13547 "configure" ++#line 13596 "configure" + #include "confdefs.h" + #include + int +@@ -13559,16 +13608,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13562: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13611: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13565: \$? = $ac_status" >&5 ++ echo "$as_me:13614: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13568: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13617: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13571: \$? = $ac_status" >&5 ++ echo "$as_me:13620: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13579,7 +13628,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:13582: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:13631: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -13587,10 +13636,10 @@ echo "${as_me:-configure}:13582: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:13590: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:13639: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13593 "configure" ++#line 13642 "configure" + #include "confdefs.h" + #include + int +@@ -13605,16 +13654,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13608: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13657: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13611: \$? = $ac_status" >&5 ++ echo "$as_me:13660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13614: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13663: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13617: \$? = $ac_status" >&5 ++ echo "$as_me:13666: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13630,7 +13679,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13633: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:13682: 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 +@@ -13742,10 +13791,10 @@ fi # cf_cv_posix_visible + # Some of these niche implementations use copy/paste, double-check... + test -n "$verbose" && echo " checking if _POSIX_C_SOURCE inteferes" 1>&6 + +-echo "${as_me:-configure}:13745: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 ++echo "${as_me:-configure}:13794: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13748 "configure" ++#line 13797 "configure" + #include "confdefs.h" + + #include +@@ -13765,23 +13814,23 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13768: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13817: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13771: \$? = $ac_status" >&5 ++ echo "$as_me:13820: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13774: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13823: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13777: \$? = $ac_status" >&5 ++ echo "$as_me:13826: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { echo "$as_me:13784: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 ++ { echo "$as_me:13833: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} + CPPFLAGS="$cf_save_xopen_cppflags" + fi +@@ -13803,7 +13852,7 @@ do + test "$CFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 + +-echo "${as_me:-configure}:13806: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:13855: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 + + CFLAGS="$cf_old_cflag" + done +@@ -13815,7 +13864,7 @@ do + test "$CPPFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:13818: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:13867: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_old_cflag" + done +@@ -13903,7 +13952,7 @@ done + if test -n "$cf_new_cflags" ; then + test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 + +-echo "${as_me:-configure}:13906: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 ++echo "${as_me:-configure}:13955: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_new_cflags" +@@ -13913,7 +13962,7 @@ fi + if test -n "$cf_new_cppflags" ; then + test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 + +-echo "${as_me:-configure}:13916: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 ++echo "${as_me:-configure}:13965: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" +@@ -13923,7 +13972,7 @@ fi + if test -n "$cf_new_extra_cppflags" ; then + test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 + +-echo "${as_me:-configure}:13926: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 ++echo "${as_me:-configure}:13975: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 + + test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " + EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" +@@ -13935,10 +13984,10 @@ done + fi + + if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then +- echo "$as_me:13938: checking if _XOPEN_SOURCE really is set" >&5 ++ echo "$as_me:13987: 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 13941 "configure" ++#line 13990 "configure" + #include "confdefs.h" + #include + int +@@ -13953,16 +14002,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13956: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14005: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13959: \$? = $ac_status" >&5 ++ echo "$as_me:14008: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13962: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14011: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13965: \$? = $ac_status" >&5 ++ echo "$as_me:14014: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set=yes + else +@@ -13971,12 +14020,12 @@ cat "conftest.$ac_ext" >&5 + cf_XOPEN_SOURCE_set=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:13974: result: $cf_XOPEN_SOURCE_set" >&5 ++ echo "$as_me:14023: 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 13979 "configure" ++#line 14028 "configure" + #include "confdefs.h" + #include + int +@@ -13991,16 +14040,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13994: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14043: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13997: \$? = $ac_status" >&5 ++ echo "$as_me:14046: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14000: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14049: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14003: \$? = $ac_status" >&5 ++ echo "$as_me:14052: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set_ok=yes + else +@@ -14011,19 +14060,19 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no + then +- { echo "$as_me:14014: WARNING: _XOPEN_SOURCE is lower than requested" >&5 ++ { echo "$as_me:14063: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} + fi + else + +-echo "$as_me:14019: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:14068: 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 14026 "configure" ++#line 14075 "configure" + #include "confdefs.h" + + #include +@@ -14043,16 +14092,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14046: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14095: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14049: \$? = $ac_status" >&5 ++ echo "$as_me:14098: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14052: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14101: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14055: \$? = $ac_status" >&5 ++ echo "$as_me:14104: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14064,7 +14113,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14067 "configure" ++#line 14116 "configure" + #include "confdefs.h" + + #include +@@ -14084,16 +14133,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14087: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14136: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14090: \$? = $ac_status" >&5 ++ echo "$as_me:14139: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14093: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14142: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14096: \$? = $ac_status" >&5 ++ echo "$as_me:14145: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14108,7 +14157,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14111: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:14160: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -14262,7 +14311,7 @@ if test "${enable_largefile+set}" = set; then + fi; + if test "$enable_largefile" != no; then + +- echo "$as_me:14265: checking for special C compiler options needed for large files" >&5 ++ echo "$as_me:14314: 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 +@@ -14274,7 +14323,7 @@ else + # 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 14277 "configure" ++#line 14326 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14294,16 +14343,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14297: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14346: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14300: \$? = $ac_status" >&5 ++ echo "$as_me:14349: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14303: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14352: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14306: \$? = $ac_status" >&5 ++ echo "$as_me:14355: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14313,16 +14362,16 @@ fi + rm -f "conftest.$ac_objext" + CC="$CC -n32" + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14316: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14365: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14319: \$? = $ac_status" >&5 ++ echo "$as_me:14368: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14322: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14371: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14325: \$? = $ac_status" >&5 ++ echo "$as_me:14374: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break + else +@@ -14336,13 +14385,13 @@ rm -f "conftest.$ac_objext" + rm -f "conftest.$ac_ext" + fi + fi +-echo "$as_me:14339: result: $ac_cv_sys_largefile_CC" >&5 ++echo "$as_me:14388: 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:14345: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ echo "$as_me:14394: 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 +@@ -14350,7 +14399,7 @@ else + while :; do + ac_cv_sys_file_offset_bits=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14353 "configure" ++#line 14402 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14370,16 +14419,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14373: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14422: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14376: \$? = $ac_status" >&5 ++ echo "$as_me:14425: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14379: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14428: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14382: \$? = $ac_status" >&5 ++ echo "$as_me:14431: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14388,7 +14437,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14391 "configure" ++#line 14440 "configure" + #include "confdefs.h" + #define _FILE_OFFSET_BITS 64 + #include +@@ -14409,16 +14458,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14412: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14461: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14415: \$? = $ac_status" >&5 ++ echo "$as_me:14464: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14418: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14467: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14421: \$? = $ac_status" >&5 ++ echo "$as_me:14470: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_file_offset_bits=64; break + else +@@ -14429,7 +14478,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14432: result: $ac_cv_sys_file_offset_bits" >&5 ++echo "$as_me:14481: 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 + +@@ -14439,7 +14488,7 @@ EOF + + fi + rm -rf conftest* +- echo "$as_me:14442: checking for _LARGE_FILES value needed for large files" >&5 ++ echo "$as_me:14491: 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 +@@ -14447,7 +14496,7 @@ else + while :; do + ac_cv_sys_large_files=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14450 "configure" ++#line 14499 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14467,16 +14516,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14470: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14519: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14473: \$? = $ac_status" >&5 ++ echo "$as_me:14522: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14476: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14525: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14479: \$? = $ac_status" >&5 ++ echo "$as_me:14528: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14485,7 +14534,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14488 "configure" ++#line 14537 "configure" + #include "confdefs.h" + #define _LARGE_FILES 1 + #include +@@ -14506,16 +14555,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14509: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14558: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14512: \$? = $ac_status" >&5 ++ echo "$as_me:14561: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14515: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14564: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14518: \$? = $ac_status" >&5 ++ echo "$as_me:14567: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_large_files=1; break + else +@@ -14526,7 +14575,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14529: result: $ac_cv_sys_large_files" >&5 ++echo "$as_me:14578: 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 + +@@ -14539,7 +14588,7 @@ rm -rf conftest* + fi + + if test "$enable_largefile" != no ; then +- echo "$as_me:14542: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++ echo "$as_me:14591: 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 +@@ -14547,7 +14596,7 @@ else + while :; do + ac_cv_sys_largefile_source=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14550 "configure" ++#line 14599 "configure" + #include "confdefs.h" + #include + int +@@ -14559,16 +14608,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14562: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14611: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14565: \$? = $ac_status" >&5 ++ echo "$as_me:14614: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14568: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14617: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14571: \$? = $ac_status" >&5 ++ echo "$as_me:14620: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14577,7 +14626,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14580 "configure" ++#line 14629 "configure" + #include "confdefs.h" + #define _LARGEFILE_SOURCE 1 + #include +@@ -14590,16 +14639,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14593: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14642: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14596: \$? = $ac_status" >&5 ++ echo "$as_me:14645: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14599: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14648: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14602: \$? = $ac_status" >&5 ++ echo "$as_me:14651: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_source=1; break + else +@@ -14610,7 +14659,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14613: result: $ac_cv_sys_largefile_source" >&5 ++echo "$as_me:14662: 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 + +@@ -14624,13 +14673,13 @@ 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:14627: checking for fseeko" >&5 ++echo "$as_me:14676: 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 14633 "configure" ++#line 14682 "configure" + #include "confdefs.h" + #include + int +@@ -14642,16 +14691,16 @@ return fseeko && fseeko (stdin, 0, 0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:14645: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14694: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14648: \$? = $ac_status" >&5 ++ echo "$as_me:14697: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:14651: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14700: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14654: \$? = $ac_status" >&5 ++ echo "$as_me:14703: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fseeko=yes + else +@@ -14661,7 +14710,7 @@ ac_cv_func_fseeko=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:14664: result: $ac_cv_func_fseeko" >&5 ++echo "$as_me:14713: result: $ac_cv_func_fseeko" >&5 + echo "${ECHO_T}$ac_cv_func_fseeko" >&6 + if test $ac_cv_func_fseeko = yes; then + +@@ -14700,14 +14749,14 @@ fi + + fi + +- echo "$as_me:14703: checking whether to use struct dirent64" >&5 ++ echo "$as_me:14752: 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 14710 "configure" ++#line 14759 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types" +@@ -14730,16 +14779,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14733: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14782: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14736: \$? = $ac_status" >&5 ++ echo "$as_me:14785: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14739: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14788: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14742: \$? = $ac_status" >&5 ++ echo "$as_me:14791: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_struct_dirent64=yes + else +@@ -14750,7 +14799,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14753: result: $cf_cv_struct_dirent64" >&5 ++echo "$as_me:14802: result: $cf_cv_struct_dirent64" >&5 + echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 + test "$cf_cv_struct_dirent64" = yes && + cat >>confdefs.h <<\EOF +@@ -14760,7 +14809,7 @@ EOF + fi + + ### Enable compiling-in rcs id's +-echo "$as_me:14763: checking if RCS identifiers should be compiled-in" >&5 ++echo "$as_me:14812: checking if RCS identifiers should be compiled-in" >&5 + echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 + + # Check whether --with-rcs-ids or --without-rcs-ids was given. +@@ -14770,7 +14819,7 @@ if test "${with_rcs_ids+set}" = set; then + else + with_rcs_ids=no + fi; +-echo "$as_me:14773: result: $with_rcs_ids" >&5 ++echo "$as_me:14822: result: $with_rcs_ids" >&5 + echo "${ECHO_T}$with_rcs_ids" >&6 + test "$with_rcs_ids" = yes && + cat >>confdefs.h <<\EOF +@@ -14780,7 +14829,7 @@ EOF + ############################################################################### + + ### Note that some functions (such as const) are normally disabled anyway. +-echo "$as_me:14783: checking if you want to build with function extensions" >&5 ++echo "$as_me:14832: checking if you want to build with function extensions" >&5 + echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 + + # Check whether --enable-ext-funcs or --disable-ext-funcs was given. +@@ -14790,7 +14839,7 @@ if test "${enable_ext_funcs+set}" = set; then + else + with_ext_funcs=yes + fi; +-echo "$as_me:14793: result: $with_ext_funcs" >&5 ++echo "$as_me:14842: result: $with_ext_funcs" >&5 + echo "${ECHO_T}$with_ext_funcs" >&6 + if test "$with_ext_funcs" = yes ; then + NCURSES_EXT_FUNCS=1 +@@ -14808,7 +14857,7 @@ else + fi + + ### use option --enable-const to turn on use of const beyond that in XSI. +-echo "$as_me:14811: checking for extended use of const keyword" >&5 ++echo "$as_me:14860: checking for extended use of const keyword" >&5 + echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 + + # Check whether --enable-const or --disable-const was given. +@@ -14818,7 +14867,7 @@ if test "${enable_const+set}" = set; then + else + with_ext_const=no + fi; +-echo "$as_me:14821: result: $with_ext_const" >&5 ++echo "$as_me:14870: result: $with_ext_const" >&5 + echo "${ECHO_T}$with_ext_const" >&6 + NCURSES_CONST='/*nothing*/' + if test "$with_ext_const" = yes ; then +@@ -14828,7 +14877,7 @@ fi + ############################################################################### + # These options are relatively safe to experiment with. + +-echo "$as_me:14831: checking if you want all development code" >&5 ++echo "$as_me:14880: checking if you want all development code" >&5 + echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 + + # Check whether --with-develop or --without-develop was given. +@@ -14838,7 +14887,7 @@ if test "${with_develop+set}" = set; then + else + with_develop=no + fi; +-echo "$as_me:14841: result: $with_develop" >&5 ++echo "$as_me:14890: result: $with_develop" >&5 + echo "${ECHO_T}$with_develop" >&6 + + ############################################################################### +@@ -14847,7 +14896,7 @@ echo "${ECHO_T}$with_develop" >&6 + # This is still experimental (20080329), but should ultimately be moved to + # the script-block --with-normal, etc. + +-echo "$as_me:14850: checking if you want to link with the pthread library" >&5 ++echo "$as_me:14899: checking if you want to link with the pthread library" >&5 + echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 + + # Check whether --with-pthread or --without-pthread was given. +@@ -14857,27 +14906,27 @@ if test "${with_pthread+set}" = set; then + else + with_pthread=no + fi; +-echo "$as_me:14860: result: $with_pthread" >&5 ++echo "$as_me:14909: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + + if test "$with_pthread" != no ; then +- echo "$as_me:14864: checking for pthread.h" >&5 ++ echo "$as_me:14913: checking for pthread.h" >&5 + echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 + if test "${ac_cv_header_pthread_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14870 "configure" ++#line 14919 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:14874: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:14923: \"$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:14880: \$? = $ac_status" >&5 ++ echo "$as_me:14929: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -14896,7 +14945,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:14899: result: $ac_cv_header_pthread_h" >&5 ++echo "$as_me:14948: result: $ac_cv_header_pthread_h" >&5 + echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 + if test "$ac_cv_header_pthread_h" = yes; then + +@@ -14906,7 +14955,7 @@ EOF + + for cf_lib_pthread in pthread c_r + do +- echo "$as_me:14909: checking if we can link with the $cf_lib_pthread library" >&5 ++ echo "$as_me:14958: checking if we can link with the $cf_lib_pthread library" >&5 + echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 + cf_save_LIBS="$LIBS" + +@@ -14927,7 +14976,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14930 "configure" ++#line 14979 "configure" + #include "confdefs.h" + + #include +@@ -14944,16 +14993,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:14947: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14996: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14950: \$? = $ac_status" >&5 ++ echo "$as_me:14999: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:14953: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15002: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14956: \$? = $ac_status" >&5 ++ echo "$as_me:15005: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_pthread=yes + else +@@ -14963,7 +15012,7 @@ with_pthread=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:14966: result: $with_pthread" >&5 ++ echo "$as_me:15015: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + test "$with_pthread" = yes && break + done +@@ -14991,7 +15040,7 @@ cat >>confdefs.h <<\EOF + EOF + + else +- { { echo "$as_me:14994: error: Cannot link with pthread library" >&5 ++ { { echo "$as_me:15043: error: Cannot link with pthread library" >&5 + echo "$as_me: error: Cannot link with pthread library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -15000,7 +15049,7 @@ fi + + fi + +-echo "$as_me:15003: checking if you want to use weak-symbols for pthreads" >&5 ++echo "$as_me:15052: checking if you want to use weak-symbols for pthreads" >&5 + echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 + + # Check whether --enable-weak-symbols or --disable-weak-symbols was given. +@@ -15010,18 +15059,18 @@ if test "${enable_weak_symbols+set}" = set; then + else + use_weak_symbols=no + fi; +-echo "$as_me:15013: result: $use_weak_symbols" >&5 ++echo "$as_me:15062: result: $use_weak_symbols" >&5 + echo "${ECHO_T}$use_weak_symbols" >&6 + if test "$use_weak_symbols" = yes ; then + +-echo "$as_me:15017: checking if $CC supports weak symbols" >&5 ++echo "$as_me:15066: checking if $CC supports weak symbols" >&5 + echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 + if test "${cf_cv_weak_symbols+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15024 "configure" ++#line 15073 "configure" + #include "confdefs.h" + + #include +@@ -15047,16 +15096,16 @@ weak_symbol(fopen); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15050: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15099: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15053: \$? = $ac_status" >&5 ++ echo "$as_me:15102: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15056: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15105: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15059: \$? = $ac_status" >&5 ++ echo "$as_me:15108: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_weak_symbols=yes + else +@@ -15067,7 +15116,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15070: result: $cf_cv_weak_symbols" >&5 ++echo "$as_me:15119: result: $cf_cv_weak_symbols" >&5 + echo "${ECHO_T}$cf_cv_weak_symbols" >&6 + + else +@@ -15096,13 +15145,13 @@ EOF + fi + + # OpenSUSE is installing ncurses6, using reentrant option. +-echo "$as_me:15099: checking for _nc_TABSIZE" >&5 ++echo "$as_me:15148: checking for _nc_TABSIZE" >&5 + echo $ECHO_N "checking for _nc_TABSIZE... $ECHO_C" >&6 + if test "${ac_cv_func__nc_TABSIZE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15105 "configure" ++#line 15154 "configure" + #include "confdefs.h" + #define _nc_TABSIZE autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -15133,16 +15182,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15136: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15185: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15139: \$? = $ac_status" >&5 ++ echo "$as_me:15188: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15142: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15191: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15145: \$? = $ac_status" >&5 ++ echo "$as_me:15194: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func__nc_TABSIZE=yes + else +@@ -15152,7 +15201,7 @@ ac_cv_func__nc_TABSIZE=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15155: result: $ac_cv_func__nc_TABSIZE" >&5 ++echo "$as_me:15204: result: $ac_cv_func__nc_TABSIZE" >&5 + echo "${ECHO_T}$ac_cv_func__nc_TABSIZE" >&6 + if test "$ac_cv_func__nc_TABSIZE" = yes; then + assume_reentrant=yes +@@ -15164,7 +15213,7 @@ fi + # opaque outside of that, so there is no --enable-opaque option. We can use + # this option without --with-pthreads, but this will be always set for + # pthreads. +-echo "$as_me:15167: checking if you want experimental reentrant code" >&5 ++echo "$as_me:15216: checking if you want experimental reentrant code" >&5 + echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6 + + # Check whether --enable-reentrant or --disable-reentrant was given. +@@ -15174,7 +15223,7 @@ if test "${enable_reentrant+set}" = set; then + else + with_reentrant=$assume_reentrant + fi; +-echo "$as_me:15177: result: $with_reentrant" >&5 ++echo "$as_me:15226: result: $with_reentrant" >&5 + echo "${ECHO_T}$with_reentrant" >&6 + if test "$with_reentrant" = yes ; then + cf_cv_enable_reentrant=1 +@@ -15197,7 +15246,7 @@ fi + + ### Allow using a different wrap-prefix + if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then +- echo "$as_me:15200: checking for prefix used to wrap public variables" >&5 ++ echo "$as_me:15249: checking for prefix used to wrap public variables" >&5 + echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 + + # Check whether --with-wrap-prefix or --without-wrap-prefix was given. +@@ -15207,7 +15256,7 @@ if test "${with_wrap_prefix+set}" = set; then + else + NCURSES_WRAP_PREFIX=_nc_ + fi; +- echo "$as_me:15210: result: $NCURSES_WRAP_PREFIX" >&5 ++ echo "$as_me:15259: result: $NCURSES_WRAP_PREFIX" >&5 + echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 + else + NCURSES_WRAP_PREFIX=_nc_ +@@ -15221,7 +15270,7 @@ EOF + + ### use option --disable-echo to suppress full display compiling commands + +-echo "$as_me:15224: checking if you want to see long compiling messages" >&5 ++echo "$as_me:15273: 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. +@@ -15255,10 +15304,10 @@ else + ECHO_CC='' + + fi; +-echo "$as_me:15258: result: $enableval" >&5 ++echo "$as_me:15307: result: $enableval" >&5 + echo "${ECHO_T}$enableval" >&6 + +-echo "$as_me:15261: checking if you want to use C11 _Noreturn feature" >&5 ++echo "$as_me:15310: checking if you want to use C11 _Noreturn feature" >&5 + echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 + + # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. +@@ -15275,17 +15324,17 @@ else + enable_stdnoreturn=no + + fi; +-echo "$as_me:15278: result: $enable_stdnoreturn" >&5 ++echo "$as_me:15327: result: $enable_stdnoreturn" >&5 + echo "${ECHO_T}$enable_stdnoreturn" >&6 + + if test $enable_stdnoreturn = yes; then +-echo "$as_me:15282: checking for C11 _Noreturn feature" >&5 ++echo "$as_me:15331: checking for C11 _Noreturn feature" >&5 + echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 + if test "${cf_cv_c11_noreturn+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15288 "configure" ++#line 15337 "configure" + #include "confdefs.h" + + #include +@@ -15302,16 +15351,16 @@ if (feof(stdin)) giveup() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15305: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15308: \$? = $ac_status" >&5 ++ echo "$as_me:15357: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15311: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15360: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15314: \$? = $ac_status" >&5 ++ echo "$as_me:15363: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes + else +@@ -15322,7 +15371,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15325: result: $cf_cv_c11_noreturn" >&5 ++echo "$as_me:15374: result: $cf_cv_c11_noreturn" >&5 + echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 + else + cf_cv_c11_noreturn=no, +@@ -15378,16 +15427,16 @@ then + then + test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15381: testing repairing CFLAGS: $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15430: testing repairing CFLAGS: $CFLAGS ..." 1>&5 + + CFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15386: testing ... fixed $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15435: testing ... fixed $CFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15390: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15439: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -15426,16 +15475,16 @@ then + then + test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:15429: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15478: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:15434: testing ... fixed $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15483: testing ... fixed $CPPFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15438: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15487: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -15474,23 +15523,23 @@ then + then + test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:15477: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15526: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 + + LDFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:15482: testing ... fixed $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15531: testing ... fixed $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15486: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15535: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; + esac + fi + +-echo "$as_me:15493: checking if you want to turn on gcc warnings" >&5 ++echo "$as_me:15542: checking if you want to turn on gcc warnings" >&5 + echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 + + # Check whether --enable-warnings or --disable-warnings was given. +@@ -15507,7 +15556,7 @@ else + enable_warnings=no + + fi; +-echo "$as_me:15510: result: $enable_warnings" >&5 ++echo "$as_me:15559: result: $enable_warnings" >&5 + echo "${ECHO_T}$enable_warnings" >&6 + if test "$enable_warnings" = "yes" + then +@@ -15531,7 +15580,7 @@ do + done + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15534 "configure" ++#line 15583 "configure" + #include "confdefs.h" + + #include +@@ -15546,26 +15595,26 @@ String foo = malloc(1); free((void*)foo) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15549: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15598: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15552: \$? = $ac_status" >&5 ++ echo "$as_me:15601: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15555: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15604: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15558: \$? = $ac_status" >&5 ++ echo "$as_me:15607: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + +-echo "$as_me:15561: checking for X11/Xt const-feature" >&5 ++echo "$as_me:15610: checking for X11/Xt const-feature" >&5 + echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 + if test "${cf_cv_const_x_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15568 "configure" ++#line 15617 "configure" + #include "confdefs.h" + + #define _CONST_X_STRING /* X11R7.8 (perhaps) */ +@@ -15582,16 +15631,16 @@ String foo = malloc(1); *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15585: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15634: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15588: \$? = $ac_status" >&5 ++ echo "$as_me:15637: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15591: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15640: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15594: \$? = $ac_status" >&5 ++ echo "$as_me:15643: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_const_x_string=no +@@ -15606,7 +15655,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15609: result: $cf_cv_const_x_string" >&5 ++echo "$as_me:15658: result: $cf_cv_const_x_string" >&5 + echo "${ECHO_T}$cf_cv_const_x_string" >&6 + + LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +@@ -15635,7 +15684,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + cat > "conftest.$ac_ext" <&5 ++ { echo "$as_me:15703: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" +@@ -15667,12 +15716,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:15670: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:15719: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15673: \$? = $ac_status" >&5 ++ echo "$as_me:15722: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15675: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:15724: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi +@@ -15680,7 +15729,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + CFLAGS="$cf_save_CFLAGS" + elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" + then +- { echo "$as_me:15683: checking for $CC warning options..." >&5 ++ { echo "$as_me:15732: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + cf_warn_CONST="" +@@ -15703,12 +15752,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:15706: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:15755: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15709: \$? = $ac_status" >&5 ++ echo "$as_me:15758: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15711: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:15760: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + case "$cf_opt" in + (Winline) +@@ -15716,7 +15765,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + ([34].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:15719: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:15768: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -15726,7 +15775,7 @@ echo "${as_me:-configure}:15719: testing feature is broken in gcc $GCC_VERSION . + ([12].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:15729: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:15778: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -15759,10 +15808,10 @@ cat > conftest.i <&5 ++ { echo "$as_me:15811: checking for $CC __attribute__ directives..." >&5 + echo "$as_me: checking for $CC __attribute__ directives..." >&6;} + cat > "conftest.$ac_ext" <&5 ++ if { (eval echo "$as_me:15863: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15817: \$? = $ac_status" >&5 ++ echo "$as_me:15866: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15819: result: ... $cf_attribute" >&5 ++ test -n "$verbose" && echo "$as_me:15868: result: ... $cf_attribute" >&5 + echo "${ECHO_T}... $cf_attribute" >&6 + cat conftest.h >>confdefs.h + case "$cf_attribute" in +@@ -15884,7 +15933,7 @@ if test "x$enable_warnings" = "xyes"; then + fi + + ### use option --enable-assertions to turn on generation of assertion code +-echo "$as_me:15887: checking if you want to enable runtime assertions" >&5 ++echo "$as_me:15936: checking if you want to enable runtime assertions" >&5 + echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 + + # Check whether --enable-assertions or --disable-assertions was given. +@@ -15894,7 +15943,7 @@ if test "${enable_assertions+set}" = set; then + else + with_assertions=no + fi; +-echo "$as_me:15897: result: $with_assertions" >&5 ++echo "$as_me:15946: result: $with_assertions" >&5 + echo "${ECHO_T}$with_assertions" >&6 + if test -n "$GCC" + then +@@ -15947,7 +15996,7 @@ case "$CFLAGS $CPPFLAGS" in + ;; + esac + +-echo "$as_me:15950: checking whether to add trace feature to all models" >&5 ++echo "$as_me:15999: checking whether to add trace feature to all models" >&5 + echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 + + # Check whether --with-trace or --without-trace was given. +@@ -15957,7 +16006,7 @@ if test "${with_trace+set}" = set; then + else + cf_with_trace=$cf_all_traces + fi; +-echo "$as_me:15960: result: $cf_with_trace" >&5 ++echo "$as_me:16009: result: $cf_with_trace" >&5 + echo "${ECHO_T}$cf_with_trace" >&6 + + if test "$cf_with_trace" = yes ; then +@@ -16065,7 +16114,7 @@ else + ADA_TRACE=FALSE + fi + +-echo "$as_me:16068: checking if we want to use GNAT projects" >&5 ++echo "$as_me:16117: checking if we want to use GNAT projects" >&5 + echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 + + # Check whether --enable-gnat-projects or --disable-gnat-projects was given. +@@ -16082,21 +16131,21 @@ else + enable_gnat_projects=yes + + fi; +-echo "$as_me:16085: result: $enable_gnat_projects" >&5 ++echo "$as_me:16134: result: $enable_gnat_projects" >&5 + echo "${ECHO_T}$enable_gnat_projects" >&6 + + ### Checks for libraries. + case $cf_cv_system_name in + (*mingw32*) + +-echo "$as_me:16092: checking if ssp library is needed" >&5 ++echo "$as_me:16141: checking if ssp library is needed" >&5 + echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6 + if test "${cf_cv_need_libssp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16099 "configure" ++#line 16148 "configure" + #include "confdefs.h" + + #include +@@ -16113,16 +16162,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16116: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16165: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16119: \$? = $ac_status" >&5 ++ echo "$as_me:16168: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16122: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16171: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16125: \$? = $ac_status" >&5 ++ echo "$as_me:16174: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=no + else +@@ -16132,7 +16181,7 @@ cat "conftest.$ac_ext" >&5 + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lssp" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16135 "configure" ++#line 16184 "configure" + #include "confdefs.h" + + #include +@@ -16149,16 +16198,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16152: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16201: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16155: \$? = $ac_status" >&5 ++ echo "$as_me:16204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16158: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16207: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16161: \$? = $ac_status" >&5 ++ echo "$as_me:16210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=yes + else +@@ -16172,7 +16221,7 @@ 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:16175: result: $cf_cv_need_libssp" >&5 ++echo "$as_me:16224: result: $cf_cv_need_libssp" >&5 + echo "${ECHO_T}$cf_cv_need_libssp" >&6 + + if test "x$cf_cv_need_libssp" = xyes +@@ -16198,13 +16247,13 @@ fi + + ;; + (*) +-echo "$as_me:16201: checking for gettimeofday" >&5 ++echo "$as_me:16250: checking for gettimeofday" >&5 + echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 + if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16207 "configure" ++#line 16256 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -16235,16 +16284,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16238: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16287: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16241: \$? = $ac_status" >&5 ++ echo "$as_me:16290: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16244: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16293: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16247: \$? = $ac_status" >&5 ++ echo "$as_me:16296: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -16254,7 +16303,7 @@ ac_cv_func_gettimeofday=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:16257: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:16306: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + cat >>confdefs.h <<\EOF +@@ -16263,7 +16312,7 @@ EOF + + else + +-echo "$as_me:16266: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:16315: checking for gettimeofday in -lbsd" >&5 + echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16271,7 +16320,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16274 "configure" ++#line 16323 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -16290,16 +16339,16 @@ gettimeofday (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16293: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16342: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16296: \$? = $ac_status" >&5 ++ echo "$as_me:16345: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16299: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16348: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16302: \$? = $ac_status" >&5 ++ echo "$as_me:16351: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -16310,7 +16359,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:16313: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:16362: result: $ac_cv_lib_bsd_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 + if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +@@ -16326,13 +16375,13 @@ fi + esac + + ### Checks for header files. +-echo "$as_me:16329: checking for ANSI C header files" >&5 ++echo "$as_me:16378: 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 16335 "configure" ++#line 16384 "configure" + #include "confdefs.h" + #include + #include +@@ -16340,13 +16389,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:16343: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:16392: \"$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:16349: \$? = $ac_status" >&5 ++ echo "$as_me:16398: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -16368,7 +16417,7 @@ 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 16371 "configure" ++#line 16420 "configure" + #include "confdefs.h" + #include + +@@ -16386,7 +16435,7 @@ 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 16389 "configure" ++#line 16438 "configure" + #include "confdefs.h" + #include + +@@ -16407,7 +16456,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16410 "configure" ++#line 16459 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -16433,15 +16482,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16436: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16485: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16439: \$? = $ac_status" >&5 ++ echo "$as_me:16488: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16441: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16490: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16444: \$? = $ac_status" >&5 ++ echo "$as_me:16493: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -16454,7 +16503,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:16457: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:16506: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -16470,28 +16519,28 @@ 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:16473: checking for $ac_header" >&5 ++echo "$as_me:16522: 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 16479 "configure" ++#line 16528 "configure" + #include "confdefs.h" + $ac_includes_default + #include <$ac_header> + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16485: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16534: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16488: \$? = $ac_status" >&5 ++ echo "$as_me:16537: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16491: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16540: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16494: \$? = $ac_status" >&5 ++ echo "$as_me:16543: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -16501,7 +16550,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16504: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:16553: 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 <&5 ++echo "$as_me:16563: checking for signed char" >&5 + echo $ECHO_N "checking for signed char... $ECHO_C" >&6 + if test "${ac_cv_type_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16520 "configure" ++#line 16569 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16532,16 +16581,16 @@ if (sizeof (signed char)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16535: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16584: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16538: \$? = $ac_status" >&5 ++ echo "$as_me:16587: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16541: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16590: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16544: \$? = $ac_status" >&5 ++ echo "$as_me:16593: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_signed_char=yes + else +@@ -16551,10 +16600,10 @@ ac_cv_type_signed_char=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16554: result: $ac_cv_type_signed_char" >&5 ++echo "$as_me:16603: result: $ac_cv_type_signed_char" >&5 + echo "${ECHO_T}$ac_cv_type_signed_char" >&6 + +-echo "$as_me:16557: checking size of signed char" >&5 ++echo "$as_me:16606: checking size of signed char" >&5 + echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + if test "${ac_cv_sizeof_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16563,7 +16612,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16566 "configure" ++#line 16615 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16575,21 +16624,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16578: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16627: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16581: \$? = $ac_status" >&5 ++ echo "$as_me:16630: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16584: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16633: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16587: \$? = $ac_status" >&5 ++ echo "$as_me:16636: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16592 "configure" ++#line 16641 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16601,16 +16650,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16604: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16653: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16607: \$? = $ac_status" >&5 ++ echo "$as_me:16656: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16610: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16659: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16613: \$? = $ac_status" >&5 ++ echo "$as_me:16662: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -16626,7 +16675,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16629 "configure" ++#line 16678 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16638,16 +16687,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16641: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16690: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16644: \$? = $ac_status" >&5 ++ echo "$as_me:16693: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16647: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16696: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16650: \$? = $ac_status" >&5 ++ echo "$as_me:16699: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -16663,7 +16712,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16666 "configure" ++#line 16715 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16675,16 +16724,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16678: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16727: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16681: \$? = $ac_status" >&5 ++ echo "$as_me:16730: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16684: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16733: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16687: \$? = $ac_status" >&5 ++ echo "$as_me:16736: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -16697,12 +16746,12 @@ done + ac_cv_sizeof_signed_char=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:16700: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:16749: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16705 "configure" ++#line 16754 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16718,15 +16767,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16721: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16770: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16724: \$? = $ac_status" >&5 ++ echo "$as_me:16773: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16726: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16775: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16729: \$? = $ac_status" >&5 ++ echo "$as_me:16778: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_signed_char=`cat conftest.val` + else +@@ -16742,19 +16791,19 @@ else + ac_cv_sizeof_signed_char=0 + fi + fi +-echo "$as_me:16745: result: $ac_cv_sizeof_signed_char" >&5 ++echo "$as_me:16794: result: $ac_cv_sizeof_signed_char" >&5 + echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:16800: 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 16757 "configure" ++#line 16806 "configure" + #include "confdefs.h" + #include + #include +@@ -16762,13 +16811,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:16765: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:16814: \"$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:16771: \$? = $ac_status" >&5 ++ echo "$as_me:16820: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -16790,7 +16839,7 @@ 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 16793 "configure" ++#line 16842 "configure" + #include "confdefs.h" + #include + +@@ -16808,7 +16857,7 @@ 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 16811 "configure" ++#line 16860 "configure" + #include "confdefs.h" + #include + +@@ -16829,7 +16878,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16832 "configure" ++#line 16881 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -16855,15 +16904,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16858: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16907: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16861: \$? = $ac_status" >&5 ++ echo "$as_me:16910: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16863: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16912: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16866: \$? = $ac_status" >&5 ++ echo "$as_me:16915: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -16876,7 +16925,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:16879: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:16928: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -16889,13 +16938,13 @@ 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:16892: checking for $ac_hdr that defines DIR" >&5 ++echo "$as_me:16941: 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 16898 "configure" ++#line 16947 "configure" + #include "confdefs.h" + #include + #include <$ac_hdr> +@@ -16910,16 +16959,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16913: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16962: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16916: \$? = $ac_status" >&5 ++ echo "$as_me:16965: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16919: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16968: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16922: \$? = $ac_status" >&5 ++ echo "$as_me:16971: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -16929,7 +16978,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16932: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:16981: 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 <&5 ++ echo "$as_me:16994: 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 +@@ -16950,7 +16999,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldir $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16953 "configure" ++#line 17002 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -16969,16 +17018,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16972: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17021: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16975: \$? = $ac_status" >&5 ++ echo "$as_me:17024: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16978: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17027: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16981: \$? = $ac_status" >&5 ++ echo "$as_me:17030: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dir_opendir=yes + else +@@ -16989,14 +17038,14 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:16992: result: $ac_cv_lib_dir_opendir" >&5 ++echo "$as_me:17041: 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:16999: checking for opendir in -lx" >&5 ++ echo "$as_me:17048: 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 +@@ -17004,7 +17053,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17007 "configure" ++#line 17056 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17023,16 +17072,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17026: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17075: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17029: \$? = $ac_status" >&5 ++ echo "$as_me:17078: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17032: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17081: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17035: \$? = $ac_status" >&5 ++ echo "$as_me:17084: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_x_opendir=yes + else +@@ -17043,7 +17092,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17046: result: $ac_cv_lib_x_opendir" >&5 ++echo "$as_me:17095: 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" +@@ -17051,13 +17100,13 @@ fi + + fi + +-echo "$as_me:17054: checking whether time.h and sys/time.h may both be included" >&5 ++echo "$as_me:17103: 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 17060 "configure" ++#line 17109 "configure" + #include "confdefs.h" + #include + #include +@@ -17073,16 +17122,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17076: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17125: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17079: \$? = $ac_status" >&5 ++ echo "$as_me:17128: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17082: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17131: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17085: \$? = $ac_status" >&5 ++ echo "$as_me:17134: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_header_time=yes + else +@@ -17092,7 +17141,7 @@ ac_cv_header_time=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17095: result: $ac_cv_header_time" >&5 ++echo "$as_me:17144: result: $ac_cv_header_time" >&5 + echo "${ECHO_T}$ac_cv_header_time" >&6 + if test $ac_cv_header_time = yes; then + +@@ -17110,13 +17159,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:17113: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:17162: 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 17119 "configure" ++#line 17168 "configure" + #include "confdefs.h" + + int +@@ -17174,16 +17223,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17177: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17226: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17180: \$? = $ac_status" >&5 ++ echo "$as_me:17229: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17183: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17232: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17186: \$? = $ac_status" >&5 ++ echo "$as_me:17235: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -17193,7 +17242,7 @@ ac_cv_c_const=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17196: result: $ac_cv_c_const" >&5 ++echo "$as_me:17245: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -17205,7 +17254,7 @@ fi + + ### Checks for external-data + +-echo "$as_me:17208: checking if data-only library module links" >&5 ++echo "$as_me:17257: checking if data-only library module links" >&5 + echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 + if test "${cf_cv_link_dataonly+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17213,20 +17262,20 @@ else + + rm -f conftest.a + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:17268: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17222: \$? = $ac_status" >&5 ++ echo "$as_me:17271: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + mv conftest.o data.o && \ + ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null + fi + rm -f conftest.$ac_ext data.o + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:17291: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17245: \$? = $ac_status" >&5 ++ echo "$as_me:17294: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -17255,7 +17304,7 @@ EOF + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17258 "configure" ++#line 17307 "configure" + #include "confdefs.h" + + int main(void) +@@ -17266,15 +17315,15 @@ else + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17269: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17318: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17272: \$? = $ac_status" >&5 ++ echo "$as_me:17321: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17274: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17323: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17277: \$? = $ac_status" >&5 ++ echo "$as_me:17326: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -17289,7 +17338,7 @@ fi + + fi + +-echo "$as_me:17292: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:17341: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -17308,23 +17357,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:17311: checking for $ac_header" >&5 ++echo "$as_me:17360: 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 17317 "configure" ++#line 17366 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:17321: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:17370: \"$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:17327: \$? = $ac_status" >&5 ++ echo "$as_me:17376: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -17343,7 +17392,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:17346: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17395: 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 <&5 ++echo "$as_me:17405: checking for working mkstemp" >&5 + echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 + if test "${cf_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17364,7 +17413,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17367 "configure" ++#line 17416 "configure" + #include "confdefs.h" + + #include +@@ -17405,15 +17454,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17408: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17457: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17411: \$? = $ac_status" >&5 ++ echo "$as_me:17460: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17413: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17462: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17416: \$? = $ac_status" >&5 ++ echo "$as_me:17465: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -17428,16 +17477,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:17431: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:17480: result: $cf_cv_func_mkstemp" >&5 + echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 + if test "x$cf_cv_func_mkstemp" = xmaybe ; then +- echo "$as_me:17434: checking for mkstemp" >&5 ++ echo "$as_me:17483: checking for mkstemp" >&5 + echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 + if test "${ac_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17440 "configure" ++#line 17489 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17468,16 +17517,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17471: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17520: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17474: \$? = $ac_status" >&5 ++ echo "$as_me:17523: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17477: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17526: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17480: \$? = $ac_status" >&5 ++ echo "$as_me:17529: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -17487,7 +17536,7 @@ ac_cv_func_mkstemp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17490: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:17539: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -17516,7 +17565,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- + unset cf_TEMP_gnat + # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. + set dummy $cf_prog_gnat; ac_word=$2 +-echo "$as_me:17519: checking for $ac_word" >&5 ++echo "$as_me:17568: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17533,7 +17582,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" +- echo "$as_me:17536: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:17585: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -17545,10 +17594,10 @@ fi + cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat + + if test -n "$cf_TEMP_gnat"; then +- echo "$as_me:17548: result: $cf_TEMP_gnat" >&5 ++ echo "$as_me:17597: result: $cf_TEMP_gnat" >&5 + echo "${ECHO_T}$cf_TEMP_gnat" >&6 + else +- echo "$as_me:17551: result: no" >&5 ++ echo "$as_me:17600: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -17558,7 +17607,7 @@ fi + unset cf_cv_gnat_version + unset cf_TEMP_gnat + +-echo "$as_me:17561: checking for $cf_prog_gnat version" >&5 ++echo "$as_me:17610: checking for $cf_prog_gnat version" >&5 + echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17569,7 +17618,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:17572: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:17621: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version +@@ -17598,7 +17647,7 @@ else + cd conftest.src + for cf_gprconfig in Ada C + do +- echo "$as_me:17601: checking for gprconfig name for $cf_gprconfig" >&5 ++ echo "$as_me:17650: checking for gprconfig name for $cf_gprconfig" >&5 + echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test "$cf_gprconfig" = C + then +@@ -17617,10 +17666,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test -n "$cf_gprconfig_value" + then + eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" +- echo "$as_me:17620: result: $cf_gprconfig_value" >&5 ++ echo "$as_me:17669: result: $cf_gprconfig_value" >&5 + echo "${ECHO_T}$cf_gprconfig_value" >&6 + else +- echo "$as_me:17623: result: missing" >&5 ++ echo "$as_me:17672: result: missing" >&5 + echo "${ECHO_T}missing" >&6 + cf_ada_config="#" + break +@@ -17633,7 +17682,7 @@ echo "${ECHO_T}missing" >&6 + if test "x$cf_ada_config" != "x#" + then + +-echo "$as_me:17636: checking for gnat version" >&5 ++echo "$as_me:17685: checking for gnat version" >&5 + echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17644,7 +17693,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:17647: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:17696: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + +@@ -17653,7 +17702,7 @@ case "$cf_cv_gnat_version" in + cf_cv_prog_gnat_correct=yes + ;; + (*) +- { echo "$as_me:17656: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 ++ { echo "$as_me:17705: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} + cf_cv_prog_gnat_correct=no + ;; +@@ -17661,7 +17710,7 @@ esac + + # Extract the first word of "m4", so it can be a program name with args. + set dummy m4; ac_word=$2 +-echo "$as_me:17664: checking for $ac_word" >&5 ++echo "$as_me:17713: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_M4_exists+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17676,7 +17725,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_M4_exists="yes" +-echo "$as_me:17679: found $ac_dir/$ac_word" >&5 ++echo "$as_me:17728: found $ac_dir/$ac_word" >&5 + break + done + +@@ -17685,20 +17734,20 @@ fi + fi + M4_exists=$ac_cv_prog_M4_exists + if test -n "$M4_exists"; then +- echo "$as_me:17688: result: $M4_exists" >&5 ++ echo "$as_me:17737: result: $M4_exists" >&5 + echo "${ECHO_T}$M4_exists" >&6 + else +- echo "$as_me:17691: result: no" >&5 ++ echo "$as_me:17740: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + + if test "$ac_cv_prog_M4_exists" = no; then + cf_cv_prog_gnat_correct=no +- { echo "$as_me:17697: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 ++ { echo "$as_me:17746: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} + fi + if test "$cf_cv_prog_gnat_correct" = yes; then +- echo "$as_me:17701: checking if GNAT works" >&5 ++ echo "$as_me:17750: checking if GNAT works" >&5 + echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 + + rm -rf ./conftest* ./*~conftest* +@@ -17726,7 +17775,7 @@ else + fi + rm -rf ./conftest* ./*~conftest* + +- echo "$as_me:17729: result: $cf_cv_prog_gnat_correct" >&5 ++ echo "$as_me:17778: result: $cf_cv_prog_gnat_correct" >&5 + echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 + fi + else +@@ -17736,7 +17785,7 @@ fi + + if test "$cf_cv_prog_gnat_correct" = yes; then + +- echo "$as_me:17739: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:17788: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -17753,10 +17802,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + + ;; + esac +- echo "$as_me:17756: result: $ADAFLAGS" >&5 ++ echo "$as_me:17805: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:17759: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:17808: checking if GNATPREP supports -T option" >&5 + echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 + if test "${cf_cv_gnatprep_opt_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17766,11 +17815,11 @@ cf_cv_gnatprep_opt_t=no + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:17769: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:17818: result: $cf_cv_gnatprep_opt_t" >&5 + echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 + test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" + +-echo "$as_me:17773: checking if GNAT supports generics" >&5 ++echo "$as_me:17822: checking if GNAT supports generics" >&5 + echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) +@@ -17780,7 +17829,7 @@ case "$cf_cv_gnat_version" in + cf_gnat_generics=no + ;; + esac +-echo "$as_me:17783: result: $cf_gnat_generics" >&5 ++echo "$as_me:17832: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -17792,7 +17841,7 @@ else + cf_generic_objects= + fi + +-echo "$as_me:17795: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:17844: checking if GNAT supports SIGINT" >&5 + echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 + if test "${cf_cv_gnat_sigint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17840,7 +17889,7 @@ fi + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:17843: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:17892: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -17853,7 +17902,7 @@ cf_gnat_libraries=no + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:17856: checking if GNAT supports project files" >&5 ++echo "$as_me:17905: checking if GNAT supports project files" >&5 + echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.[0-9]*) +@@ -17916,15 +17965,15 @@ CF_EOF + esac + ;; + esac +-echo "$as_me:17919: result: $cf_gnat_projects" >&5 ++echo "$as_me:17968: result: $cf_gnat_projects" >&5 + echo "${ECHO_T}$cf_gnat_projects" >&6 + fi # enable_gnat_projects + + if test "$cf_gnat_projects" = yes + then +- echo "$as_me:17925: checking if GNAT supports libraries" >&5 ++ echo "$as_me:17974: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:17927: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:17976: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -17944,7 +17993,7 @@ then + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:17947: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:17996: WARNING: use old makefile rules since tools are missing" >&5 + echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} + fi + fi +@@ -17956,7 +18005,7 @@ else + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:17959: checking for ada-compiler" >&5 ++echo "$as_me:18008: checking for ada-compiler" >&5 + echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 + + # Check whether --with-ada-compiler or --without-ada-compiler was given. +@@ -17967,12 +18016,12 @@ else + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:17970: result: $cf_ada_compiler" >&5 ++echo "$as_me:18019: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:17975: checking for ada-include" >&5 ++echo "$as_me:18024: checking for ada-include" >&5 + echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 + + # Check whether --with-ada-include or --without-ada-include was given. +@@ -18008,7 +18057,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18011: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18060: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18017,10 +18066,10 @@ esac + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:18020: result: $ADA_INCLUDE" >&5 ++echo "$as_me:18069: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:18023: checking for ada-objects" >&5 ++echo "$as_me:18072: checking for ada-objects" >&5 + echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 + + # Check whether --with-ada-objects or --without-ada-objects was given. +@@ -18056,7 +18105,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18059: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18108: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18065,10 +18114,10 @@ esac + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:18068: result: $ADA_OBJECTS" >&5 ++echo "$as_me:18117: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:18071: checking if an Ada95 shared-library should be built" >&5 ++echo "$as_me:18120: checking if an Ada95 shared-library should be built" >&5 + echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 + + # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. +@@ -18078,14 +18127,14 @@ if test "${with_ada_sharedlib+set}" = set; then + else + with_ada_sharedlib=no + fi; +-echo "$as_me:18081: result: $with_ada_sharedlib" >&5 ++echo "$as_me:18130: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + + if test "x$with_ada_sharedlib" != xno + then + if test "x$cf_gnat_projects" != xyes + then +- { echo "$as_me:18088: WARNING: disabling shared-library since GNAT projects are not supported" >&5 ++ { echo "$as_me:18137: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} + with_ada_sharedlib=no + fi +@@ -18105,7 +18154,7 @@ fi + + # allow the Ada binding to be renamed + +-echo "$as_me:18108: checking for ada-libname" >&5 ++echo "$as_me:18157: checking for ada-libname" >&5 + echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 + + # Check whether --with-ada-libname or --without-ada-libname was given. +@@ -18121,16 +18170,16 @@ case "x$ADA_LIBNAME" in + ;; + esac + +-echo "$as_me:18124: result: $ADA_LIBNAME" >&5 ++echo "$as_me:18173: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + else +- { { echo "$as_me:18128: error: No usable Ada compiler found" >&5 ++ { { echo "$as_me:18177: error: No usable Ada compiler found" >&5 + echo "$as_me: error: No usable Ada compiler found" >&2;} + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:18133: error: The Ada compiler is needed for this package" >&5 ++ { { echo "$as_me:18182: error: The Ada compiler is needed for this package" >&5 + echo "$as_me: error: The Ada compiler is needed for this package" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -18170,7 +18219,7 @@ elif test "$includedir" != "/usr/include"; then + fi + + ### Build up pieces for makefile rules +-echo "$as_me:18173: checking default library suffix" >&5 ++echo "$as_me:18222: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18181,10 +18230,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:18184: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:18233: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:18187: checking default library-dependency suffix" >&5 ++echo "$as_me:18236: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -18267,10 +18316,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" + DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" + fi +-echo "$as_me:18270: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:18319: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:18273: checking default object directory" >&5 ++echo "$as_me:18322: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18286,7 +18335,7 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:18289: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:18338: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + ### Set up low-level terminfo dependencies for makefiles. +@@ -18428,7 +18477,7 @@ 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:18431: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:18480: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -18607,7 +18656,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:18610: error: ambiguous option: $1 ++ { { echo "$as_me:18659: 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;} +@@ -18626,7 +18675,7 @@ Try \`$0 --help' for more information." >&2;} + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:18629: error: unrecognized option: $1 ++ -*) { { echo "$as_me:18678: 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;} +@@ -18700,7 +18749,7 @@ do + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; +- *) { { echo "$as_me:18703: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:18752: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -19060,7 +19109,7 @@ done; } + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:19063: creating $ac_file" >&5 ++ { echo "$as_me:19112: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -19078,7 +19127,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19081: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19130: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -19091,7 +19140,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19094: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19143: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19107,7 +19156,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:19110: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:19159: 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;} +@@ -19116,7 +19165,7 @@ $ac_seen" >&2;} + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:19119: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:19168: 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;} +@@ -19153,7 +19202,7 @@ s,@INSTALL@,$ac_INSTALL,;t t + ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` + if test -z "$ac_init"; then + ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` +- { echo "$as_me:19156: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:19205: 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;} +@@ -19164,7 +19213,7 @@ $ac_seen" >&2;} + ${EGREP-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:19167: WARNING: Some variables may not be substituted: ++ { echo "$as_me:19216: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -19213,7 +19262,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:19216: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:19265: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -19224,7 +19273,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19227: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19276: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -19237,7 +19286,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19240: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19289: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19295,7 +19344,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + 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:19298: $ac_file is unchanged" >&5 ++ { echo "$as_me:19347: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +diff --git a/NEWS b/NEWS +index 241c6188..2fc4c83d 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3858 2022/09/17 20:49:10 tom Exp $ ++-- $Id: NEWS,v 1.3860 2022/09/24 20:40:35 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,16 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220924 ++ + modify configure macro CF_BUILD_CC to check if the build-compiler ++ works, rather than that it is different from the cross-compiler, e.g., ++ to accommodate a compiler which can be used for either purpose with ++ different flags (report by Mikhail Korolev). ++ + fix another memory-leak in tic. ++ + correct change for cppcheck in menu library (report/analysis by ++ "tuxway", cf: 20220903). ++ + update config.guess, config.sub ++ + 20220917 + + reduce memory-leak in tic by separating allocations for struct entry + from TERMTYPE2 (cf: 20220430). +diff --git a/VERSION b/VERSION +index cecc2752..9345ed3d 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220917 ++5:0:10 6.3 20220924 +diff --git a/aclocal.m4 b/aclocal.m4 +index 15631bb4..73637796 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: aclocal.m4,v 1.1011 2022/09/10 19:23:45 tom Exp $ ++dnl $Id: aclocal.m4,v 1.1012 2022/09/24 20:41:12 tom Exp $ + dnl Macros used in NCURSES auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -739,7 +739,7 @@ if test "$cf_cv_type_of_bool" = unknown ; then + fi + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_BUILD_CC version: 9 updated: 2021/01/02 09:31:20 ++dnl CF_BUILD_CC version: 10 updated: 2022/09/24 16:36:41 + dnl ----------- + dnl If we're cross-compiling, allow the user to override the tools and their + dnl options. The configure script is oriented toward identifying the host +@@ -805,7 +805,30 @@ if test "$cross_compiling" = yes ; then + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then ++ AC_MSG_CHECKING(if the build-compiler "$BUILD_CC" works) ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&AS_MESSAGE_LOG_FD' ++ ++ AC_TRY_RUN([#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ], ++ cf_ok_build_cc=yes, ++ cf_ok_build_cc=no, ++ cf_ok_build_cc=unknown) ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ AC_MSG_RESULT($cf_ok_build_cc) ++ ++ if test "$cf_ok_build_cc" != yes ++ then + AC_MSG_ERROR([Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler.]) + fi +diff --git a/config.guess b/config.guess +index 1817bdce..a419d864 100755 +--- a/config.guess ++++ b/config.guess +@@ -4,7 +4,7 @@ + + # shellcheck disable=SC2006,SC2268 # see below for rationale + +-timestamp='2022-05-25' ++timestamp='2022-08-01' + + # This file is free software; you can redistribute it and/or modify it + # under the terms of the GNU General Public License as published by +@@ -1036,7 +1036,7 @@ EOF + k1om:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; +- loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) ++ loongarch32:Linux:*:* | loongarch64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + m32r*:Linux:*:*) +diff --git a/config.sub b/config.sub +index dba16e84..fbaa37f2 100755 +--- a/config.sub ++++ b/config.sub +@@ -4,7 +4,7 @@ + + # shellcheck disable=SC2006,SC2268 # see below for rationale + +-timestamp='2022-01-03' ++timestamp='2022-08-01' + + # This file is free software; you can redistribute it and/or modify it + # under the terms of the GNU General Public License as published by +@@ -1207,7 +1207,7 @@ case $cpu-$vendor in + | k1om \ + | le32 | le64 \ + | lm32 \ +- | loongarch32 | loongarch64 | loongarchx32 \ ++ | loongarch32 | loongarch64 \ + | m32c | m32r | m32rle \ + | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ + | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ +diff --git a/configure b/configure +index 47a4c8ec..4c87cd54 100755 +--- a/configure ++++ b/configure +@@ -5314,8 +5314,57 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then +- { { echo "$as_me:5318: error: Cross-build requires two compilers. ++ echo "$as_me:5317: checking if the build-compiler \"$BUILD_CC\" works" >&5 ++echo $ECHO_N "checking if the build-compiler \"$BUILD_CC\" works... $ECHO_C" >&6 ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&5' ++ ++ if test "$cross_compiling" = yes; then ++ cf_ok_build_cc=unknown ++else ++ cat >"conftest.$ac_ext" <<_ACEOF ++#line 5329 "configure" ++#include "confdefs.h" ++#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ++_ACEOF ++rm -f "conftest$ac_exeext" ++if { (eval echo "$as_me:5339: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ echo "$as_me:5342: \$? = $ac_status" >&5 ++ (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' ++ { (eval echo "$as_me:5344: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:5347: \$? = $ac_status" >&5 ++ (exit "$ac_status"); }; }; then ++ cf_ok_build_cc=yes ++else ++ echo "$as_me: program exited with status $ac_status" >&5 ++echo "$as_me: failed program was:" >&5 ++cat "conftest.$ac_ext" >&5 ++cf_ok_build_cc=no ++fi ++rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" ++fi ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ echo "$as_me:5362: result: $cf_ok_build_cc" >&5 ++echo "${ECHO_T}$cf_ok_build_cc" >&6 ++ ++ if test "$cf_ok_build_cc" != yes ++ then ++ { { echo "$as_me:5367: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&5 + echo "$as_me: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&2;} +@@ -5340,7 +5389,7 @@ fi + ### shared, for example. + cf_list_models="" + +-echo "$as_me:5343: checking if libtool -version-number should be used" >&5 ++echo "$as_me:5392: 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. +@@ -5357,7 +5406,7 @@ else + cf_libtool_version=yes + + fi; +-echo "$as_me:5360: result: $cf_libtool_version" >&5 ++echo "$as_me:5409: result: $cf_libtool_version" >&5 + echo "${ECHO_T}$cf_libtool_version" >&6 + + if test "$cf_libtool_version" = yes ; then +@@ -5366,25 +5415,25 @@ else + LIBTOOL_VERSION="-version-info" + case "x$VERSION" in + (x) +- { echo "$as_me:5369: WARNING: VERSION was not set" >&5 ++ { echo "$as_me:5418: WARNING: VERSION was not set" >&5 + echo "$as_me: WARNING: VERSION was not set" >&2;} + ;; + (x*.*.*) + ABI_VERSION="$VERSION" + test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6 + +-echo "${as_me:-configure}:5376: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 ++echo "${as_me:-configure}:5425: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 + + ;; + (x*:*:*) + ABI_VERSION=`echo "$VERSION" | sed -e 's/:/./g'` + test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6 + +-echo "${as_me:-configure}:5383: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 ++echo "${as_me:-configure}:5432: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 + + ;; + (*) +- { echo "$as_me:5387: WARNING: unexpected VERSION value: $VERSION" >&5 ++ { echo "$as_me:5436: WARNING: unexpected VERSION value: $VERSION" >&5 + echo "$as_me: WARNING: unexpected VERSION value: $VERSION" >&2;} + ;; + esac +@@ -5406,7 +5455,7 @@ LIB_LINK='${CC}' + LIB_INSTALL= + LIB_UNINSTALL= + +-echo "$as_me:5409: checking if you want to build libraries with libtool" >&5 ++echo "$as_me:5458: 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. +@@ -5416,7 +5465,7 @@ if test "${with_libtool+set}" = set; then + else + with_libtool=no + fi; +-echo "$as_me:5419: result: $with_libtool" >&5 ++echo "$as_me:5468: result: $with_libtool" >&5 + echo "${ECHO_T}$with_libtool" >&6 + if test "$with_libtool" != "no"; then + +@@ -5447,7 +5496,7 @@ case ".$with_libtool" in + with_libtool=`echo "$with_libtool" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:5450: error: expected a pathname, not \"$with_libtool\"" >&5 ++ { { echo "$as_me:5499: error: expected a pathname, not \"$with_libtool\"" >&5 + echo "$as_me: error: expected a pathname, not \"$with_libtool\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -5460,7 +5509,7 @@ esac + 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:5463: checking for $ac_word" >&5 ++echo "$as_me:5512: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5475,7 +5524,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_LIBTOOL="$ac_tool_prefix$ac_prog" +-echo "$as_me:5478: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5527: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5483,10 +5532,10 @@ fi + fi + LIBTOOL=$ac_cv_prog_LIBTOOL + if test -n "$LIBTOOL"; then +- echo "$as_me:5486: result: $LIBTOOL" >&5 ++ echo "$as_me:5535: result: $LIBTOOL" >&5 + echo "${ECHO_T}$LIBTOOL" >&6 + else +- echo "$as_me:5489: result: no" >&5 ++ echo "$as_me:5538: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5499,7 +5548,7 @@ if test -z "$LIBTOOL"; then + 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:5502: checking for $ac_word" >&5 ++echo "$as_me:5551: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5514,7 +5563,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_LIBTOOL="$ac_prog" +-echo "$as_me:5517: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5566: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5522,10 +5571,10 @@ fi + fi + ac_ct_LIBTOOL=$ac_cv_prog_ac_ct_LIBTOOL + if test -n "$ac_ct_LIBTOOL"; then +- echo "$as_me:5525: result: $ac_ct_LIBTOOL" >&5 ++ echo "$as_me:5574: result: $ac_ct_LIBTOOL" >&5 + echo "${ECHO_T}$ac_ct_LIBTOOL" >&6 + else +- echo "$as_me:5528: result: no" >&5 ++ echo "$as_me:5577: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5556,7 +5605,7 @@ unset LIBTOOL + 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:5559: checking for $ac_word" >&5 ++echo "$as_me:5608: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5571,7 +5620,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_LIBTOOL="$ac_tool_prefix$ac_prog" +-echo "$as_me:5574: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5623: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5579,10 +5628,10 @@ fi + fi + LIBTOOL=$ac_cv_prog_LIBTOOL + if test -n "$LIBTOOL"; then +- echo "$as_me:5582: result: $LIBTOOL" >&5 ++ echo "$as_me:5631: result: $LIBTOOL" >&5 + echo "${ECHO_T}$LIBTOOL" >&6 + else +- echo "$as_me:5585: result: no" >&5 ++ echo "$as_me:5634: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5595,7 +5644,7 @@ if test -z "$LIBTOOL"; then + 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:5598: checking for $ac_word" >&5 ++echo "$as_me:5647: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5610,7 +5659,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_LIBTOOL="$ac_prog" +-echo "$as_me:5613: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5662: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5618,10 +5667,10 @@ fi + fi + ac_ct_LIBTOOL=$ac_cv_prog_ac_ct_LIBTOOL + if test -n "$ac_ct_LIBTOOL"; then +- echo "$as_me:5621: result: $ac_ct_LIBTOOL" >&5 ++ echo "$as_me:5670: result: $ac_ct_LIBTOOL" >&5 + echo "${ECHO_T}$ac_ct_LIBTOOL" >&6 + else +- echo "$as_me:5624: result: no" >&5 ++ echo "$as_me:5673: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5643,7 +5692,7 @@ test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version + fi + fi + if test -z "$LIBTOOL" ; then +- { { echo "$as_me:5646: error: Cannot find libtool" >&5 ++ { { echo "$as_me:5695: error: Cannot find libtool" >&5 + echo "$as_me: error: Cannot find libtool" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5659,7 +5708,7 @@ echo "$as_me: error: Cannot find libtool" >&2;} + + if test -n "$LIBTOOL" && test "$LIBTOOL" != none + then +- echo "$as_me:5662: checking version of $LIBTOOL" >&5 ++ echo "$as_me:5711: checking version of $LIBTOOL" >&5 + echo $ECHO_N "checking version of $LIBTOOL... $ECHO_C" >&6 + + if test -n "$LIBTOOL" && test "$LIBTOOL" != none +@@ -5670,7 +5719,7 @@ else + fi + test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version + +- echo "$as_me:5673: result: $cf_cv_libtool_version" >&5 ++ echo "$as_me:5722: result: $cf_cv_libtool_version" >&5 + echo "${ECHO_T}$cf_cv_libtool_version" >&6 + if test -n "$cf_cv_libtool_version" + then +@@ -5679,18 +5728,18 @@ echo "${ECHO_T}$cf_cv_libtool_version" >&6 + (*...GNU-libtool...*) + ;; + (*) +- { { echo "$as_me:5682: error: This is not GNU libtool" >&5 ++ { { echo "$as_me:5731: error: This is not GNU libtool" >&5 + echo "$as_me: error: This is not GNU libtool" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + else +- { { echo "$as_me:5688: error: No version found for $LIBTOOL" >&5 ++ { { echo "$as_me:5737: error: No version found for $LIBTOOL" >&5 + echo "$as_me: error: No version found for $LIBTOOL" >&2;} + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:5693: error: GNU libtool has not been found" >&5 ++ { { echo "$as_me:5742: error: GNU libtool has not been found" >&5 + echo "$as_me: error: GNU libtool has not been found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5726,7 +5775,7 @@ cf_list_models="$cf_list_models libtool" + + else + +-echo "$as_me:5729: checking if you want to build shared libraries" >&5 ++echo "$as_me:5778: checking if you want to build shared libraries" >&5 + echo $ECHO_N "checking if you want to build shared libraries... $ECHO_C" >&6 + + # Check whether --with-shared or --without-shared was given. +@@ -5736,11 +5785,11 @@ if test "${with_shared+set}" = set; then + else + with_shared=no + fi; +-echo "$as_me:5739: result: $with_shared" >&5 ++echo "$as_me:5788: result: $with_shared" >&5 + echo "${ECHO_T}$with_shared" >&6 + test "x$with_shared" = "xyes" && cf_list_models="$cf_list_models shared" + +-echo "$as_me:5743: checking if you want to build static libraries" >&5 ++echo "$as_me:5792: checking if you want to build static libraries" >&5 + echo $ECHO_N "checking if you want to build static libraries... $ECHO_C" >&6 + + # Check whether --with-normal or --without-normal was given. +@@ -5750,11 +5799,11 @@ if test "${with_normal+set}" = set; then + else + with_normal=yes + fi; +-echo "$as_me:5753: result: $with_normal" >&5 ++echo "$as_me:5802: result: $with_normal" >&5 + echo "${ECHO_T}$with_normal" >&6 + test "x$with_normal" = "xyes" && cf_list_models="$cf_list_models normal" + +-echo "$as_me:5757: checking if you want to build debug libraries" >&5 ++echo "$as_me:5806: checking if you want to build debug libraries" >&5 + echo $ECHO_N "checking if you want to build debug libraries... $ECHO_C" >&6 + + # Check whether --with-debug or --without-debug was given. +@@ -5764,11 +5813,11 @@ if test "${with_debug+set}" = set; then + else + with_debug=yes + fi; +-echo "$as_me:5767: result: $with_debug" >&5 ++echo "$as_me:5816: result: $with_debug" >&5 + echo "${ECHO_T}$with_debug" >&6 + test "x$with_debug" = "xyes" && cf_list_models="$cf_list_models debug" + +-echo "$as_me:5771: checking if you want to build profiling libraries" >&5 ++echo "$as_me:5820: checking if you want to build profiling libraries" >&5 + echo $ECHO_N "checking if you want to build profiling libraries... $ECHO_C" >&6 + + # Check whether --with-profile or --without-profile was given. +@@ -5778,7 +5827,7 @@ if test "${with_profile+set}" = set; then + else + with_profile=no + fi; +-echo "$as_me:5781: result: $with_profile" >&5 ++echo "$as_me:5830: result: $with_profile" >&5 + echo "${ECHO_T}$with_profile" >&6 + test "x$with_profile" = "xyes" && cf_list_models="$cf_list_models profile" + +@@ -5786,7 +5835,7 @@ fi + + if test "X$cf_with_cxx_binding" != Xno; then + if test "x$with_shared" = "xyes"; then +-echo "$as_me:5789: checking if you want to build C++ shared libraries" >&5 ++echo "$as_me:5838: checking if you want to build C++ shared libraries" >&5 + echo $ECHO_N "checking if you want to build C++ shared libraries... $ECHO_C" >&6 + + # Check whether --with-cxx-shared or --without-cxx-shared was given. +@@ -5796,26 +5845,26 @@ if test "${with_cxx_shared+set}" = set; then + else + with_shared_cxx=no + fi; +-echo "$as_me:5799: result: $with_shared_cxx" >&5 ++echo "$as_me:5848: result: $with_shared_cxx" >&5 + echo "${ECHO_T}$with_shared_cxx" >&6 + fi + fi + + ############################################################################### + +-echo "$as_me:5806: checking for specified models" >&5 ++echo "$as_me:5855: checking for specified models" >&5 + echo $ECHO_N "checking for specified models... $ECHO_C" >&6 + test -z "$cf_list_models" && cf_list_models=normal + test "$with_libtool" != "no" && cf_list_models=libtool +-echo "$as_me:5810: result: $cf_list_models" >&5 ++echo "$as_me:5859: result: $cf_list_models" >&5 + echo "${ECHO_T}$cf_list_models" >&6 + + ### Use the first model as the default, and save its suffix for use in building + ### up test-applications. +-echo "$as_me:5815: checking for default model" >&5 ++echo "$as_me:5864: checking for default model" >&5 + echo $ECHO_N "checking for default model... $ECHO_C" >&6 + DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` +-echo "$as_me:5818: result: $DFT_LWR_MODEL" >&5 ++echo "$as_me:5867: result: $DFT_LWR_MODEL" >&5 + echo "${ECHO_T}$DFT_LWR_MODEL" >&6 + + DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` +@@ -5829,7 +5878,7 @@ LIB_NAME=ncurses + LIB_DIR=../lib + LIB_2ND=../../lib + +-echo "$as_me:5832: checking if you want to have a library-prefix" >&5 ++echo "$as_me:5881: checking if you want to have a library-prefix" >&5 + echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 + + # Check whether --with-lib-prefix or --without-lib-prefix was given. +@@ -5839,7 +5888,7 @@ if test "${with_lib_prefix+set}" = set; then + else + with_lib_prefix=auto + fi; +-echo "$as_me:5842: result: $with_lib_prefix" >&5 ++echo "$as_me:5891: result: $with_lib_prefix" >&5 + echo "${ECHO_T}$with_lib_prefix" >&6 + + if test "$with_lib_prefix" = auto +@@ -5870,19 +5919,19 @@ fi + + LIB_SUFFIX= + +- echo "$as_me:5873: checking for PATH separator" >&5 ++ echo "$as_me:5922: 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:5880: result: $PATH_SEPARATOR" >&5 ++ echo "$as_me:5929: result: $PATH_SEPARATOR" >&5 + echo "${ECHO_T}$PATH_SEPARATOR" >&6 + + ############################################################################### + +-echo "$as_me:5885: checking if you want to build a separate terminfo library" >&5 ++echo "$as_me:5934: checking if you want to build a separate terminfo library" >&5 + echo $ECHO_N "checking if you want to build a separate terminfo library... $ECHO_C" >&6 + + # Check whether --with-termlib or --without-termlib was given. +@@ -5892,10 +5941,10 @@ if test "${with_termlib+set}" = set; then + else + with_termlib=no + fi; +-echo "$as_me:5895: result: $with_termlib" >&5 ++echo "$as_me:5944: result: $with_termlib" >&5 + echo "${ECHO_T}$with_termlib" >&6 + +-echo "$as_me:5898: checking if you want to build a separate tic library" >&5 ++echo "$as_me:5947: checking if you want to build a separate tic library" >&5 + echo $ECHO_N "checking if you want to build a separate tic library... $ECHO_C" >&6 + + # Check whether --with-ticlib or --without-ticlib was given. +@@ -5905,7 +5954,7 @@ if test "${with_ticlib+set}" = set; then + else + with_ticlib=no + fi; +-echo "$as_me:5908: result: $with_ticlib" >&5 ++echo "$as_me:5957: result: $with_ticlib" >&5 + echo "${ECHO_T}$with_ticlib" >&6 + + if test X"$CC_G_OPT" = X"" ; then +@@ -5918,7 +5967,7 @@ if test X"$CXX_G_OPT" = X"" ; then + test -n "$GXX" && test "x${ac_cv_prog_cxx_g}" != xyes && CXX_G_OPT='' + fi + +-echo "$as_me:5921: checking for default loader flags" >&5 ++echo "$as_me:5970: checking for default loader flags" >&5 + echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 + case "$DFT_LWR_MODEL" in + (libtool) LD_MODEL='' ;; +@@ -5927,13 +5976,13 @@ case "$DFT_LWR_MODEL" in + (profile) LD_MODEL='-pg';; + (shared) LD_MODEL='' ;; + esac +-echo "$as_me:5930: result: $LD_MODEL" >&5 ++echo "$as_me:5979: result: $LD_MODEL" >&5 + echo "${ECHO_T}$LD_MODEL" >&6 + + case "$DFT_LWR_MODEL" in + (shared) + +-echo "$as_me:5936: checking if rpath option should be used" >&5 ++echo "$as_me:5985: checking if rpath option should be used" >&5 + echo $ECHO_N "checking if rpath option should be used... $ECHO_C" >&6 + + # Check whether --enable-rpath or --disable-rpath was given. +@@ -5943,10 +5992,10 @@ if test "${enable_rpath+set}" = set; then + else + cf_cv_enable_rpath=no + fi; +-echo "$as_me:5946: result: $cf_cv_enable_rpath" >&5 ++echo "$as_me:5995: result: $cf_cv_enable_rpath" >&5 + echo "${ECHO_T}$cf_cv_enable_rpath" >&6 + +-echo "$as_me:5949: checking if shared libraries should be relinked during install" >&5 ++echo "$as_me:5998: checking if shared libraries should be relinked during install" >&5 + echo $ECHO_N "checking if shared libraries should be relinked during install... $ECHO_C" >&6 + + # Check whether --enable-relink or --disable-relink was given. +@@ -5956,7 +6005,7 @@ if test "${enable_relink+set}" = set; then + else + cf_cv_do_relink=yes + fi; +-echo "$as_me:5959: result: $cf_cv_do_relink" >&5 ++echo "$as_me:6008: result: $cf_cv_do_relink" >&5 + echo "${ECHO_T}$cf_cv_do_relink" >&6 + ;; + esac +@@ -5967,7 +6016,7 @@ rel_builddir=.. + LD_RPATH_OPT= + if test "x$cf_cv_enable_rpath" != xno + then +- echo "$as_me:5970: checking for an rpath option" >&5 ++ echo "$as_me:6019: checking for an rpath option" >&5 + echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + case "$cf_cv_system_name" in + (irix*) +@@ -5998,12 +6047,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + (*) + ;; + esac +- echo "$as_me:6001: result: $LD_RPATH_OPT" >&5 ++ echo "$as_me:6050: result: $LD_RPATH_OPT" >&5 + echo "${ECHO_T}$LD_RPATH_OPT" >&6 + + case "x$LD_RPATH_OPT" in + (x-R*) +- echo "$as_me:6006: checking if we need a space after rpath option" >&5 ++ echo "$as_me:6055: 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" + +@@ -6024,7 +6073,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6027 "configure" ++#line 6076 "configure" + #include "confdefs.h" + + int +@@ -6036,16 +6085,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6039: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6088: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6042: \$? = $ac_status" >&5 ++ echo "$as_me:6091: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6045: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6094: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6048: \$? = $ac_status" >&5 ++ echo "$as_me:6097: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_space=no + else +@@ -6055,7 +6104,7 @@ cf_rpath_space=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:6058: result: $cf_rpath_space" >&5 ++ echo "$as_me:6107: result: $cf_rpath_space" >&5 + echo "${ECHO_T}$cf_rpath_space" >&6 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " + ;; +@@ -6077,7 +6126,7 @@ fi + cf_ld_rpath_opt= + test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" + +- echo "$as_me:6080: checking if release/abi version should be used for shared libs" >&5 ++ echo "$as_me:6129: checking if release/abi version should be used for shared libs" >&5 + echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 + + # Check whether --with-shlib-version or --without-shlib-version was given. +@@ -6092,9 +6141,9 @@ if test "${with_shlib_version+set}" = set; then + cf_cv_shlib_version=$withval + ;; + (*) +- echo "$as_me:6095: result: $withval" >&5 ++ echo "$as_me:6144: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- { { echo "$as_me:6097: error: option value must be one of: rel, abi, or auto" >&5 ++ { { echo "$as_me:6146: error: option value must be one of: rel, abi, or auto" >&5 + echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -6103,7 +6152,7 @@ echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + else + cf_cv_shlib_version=auto + fi; +- echo "$as_me:6106: result: $cf_cv_shlib_version" >&5 ++ echo "$as_me:6155: result: $cf_cv_shlib_version" >&5 + echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + cf_cv_rm_so_locs=no +@@ -6126,14 +6175,14 @@ echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + if test "$cf_try_fPIC" = yes + then +- echo "$as_me:6129: checking which $CC option to use" >&5 ++ echo "$as_me:6178: checking which $CC option to use" >&5 + echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + for CC_SHARED_OPTS in -fPIC -fpic '' + do + CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6136 "configure" ++#line 6185 "configure" + #include "confdefs.h" + #include + int +@@ -6145,16 +6194,16 @@ int x = 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6148: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6197: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6151: \$? = $ac_status" >&5 ++ echo "$as_me:6200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6154: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6203: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6157: \$? = $ac_status" >&5 ++ echo "$as_me:6206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -6163,7 +6212,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done +- echo "$as_me:6166: result: $CC_SHARED_OPTS" >&5 ++ echo "$as_me:6215: result: $CC_SHARED_OPTS" >&5 + echo "${ECHO_T}$CC_SHARED_OPTS" >&6 + CFLAGS="$cf_save_CFLAGS" + fi +@@ -6234,7 +6283,7 @@ CF_EOF + MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' + test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi + cf_cv_shlib_version_infix=yes +- echo "$as_me:6237: checking if ld -search_paths_first works" >&5 ++ echo "$as_me:6286: checking if ld -search_paths_first works" >&5 + echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 + if test "${cf_cv_ldflags_search_paths_first+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -6243,7 +6292,7 @@ else + cf_save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6246 "configure" ++#line 6295 "configure" + #include "confdefs.h" + + int +@@ -6255,16 +6304,16 @@ int i; + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6258: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6307: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6261: \$? = $ac_status" >&5 ++ echo "$as_me:6310: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6264: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6313: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6267: \$? = $ac_status" >&5 ++ echo "$as_me:6316: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ldflags_search_paths_first=yes + else +@@ -6275,7 +6324,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LDFLAGS=$cf_save_LDFLAGS + fi +-echo "$as_me:6278: result: $cf_cv_ldflags_search_paths_first" >&5 ++echo "$as_me:6327: result: $cf_cv_ldflags_search_paths_first" >&5 + echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 + if test "$cf_cv_ldflags_search_paths_first" = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" +@@ -6625,7 +6674,7 @@ CF_EOF + do + CFLAGS="$cf_shared_opts $cf_save_CFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6628 "configure" ++#line 6677 "configure" + #include "confdefs.h" + #include + int +@@ -6637,16 +6686,16 @@ printf("Hello\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6640: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6689: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6643: \$? = $ac_status" >&5 ++ echo "$as_me:6692: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6646: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6695: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6649: \$? = $ac_status" >&5 ++ echo "$as_me:6698: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -6683,7 +6732,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes + ;; + (*) +- { echo "$as_me:6686: WARNING: ignored --with-shlib-version" >&5 ++ { echo "$as_me:6735: WARNING: ignored --with-shlib-version" >&5 + echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + ;; + esac +@@ -6693,7 +6742,7 @@ echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + if test -n "$cf_try_cflags" + then + cat > conftest.$ac_ext < + int main(int argc, char *argv[]) + { +@@ -6705,18 +6754,18 @@ EOF + for cf_opt in $cf_try_cflags + do + CFLAGS="$cf_save_CFLAGS -$cf_opt" +- echo "$as_me:6708: checking if CFLAGS option -$cf_opt works" >&5 ++ echo "$as_me:6757: checking if CFLAGS option -$cf_opt works" >&5 + echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6 +- if { (eval echo "$as_me:6710: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:6759: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6713: \$? = $ac_status" >&5 ++ echo "$as_me:6762: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- echo "$as_me:6715: result: yes" >&5 ++ echo "$as_me:6764: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + cf_save_CFLAGS="$CFLAGS" + else +- echo "$as_me:6719: result: no" >&5 ++ echo "$as_me:6768: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + done +@@ -6731,17 +6780,17 @@ echo "${ECHO_T}no" >&6 + + test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6 + +-echo "${as_me:-configure}:6734: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 ++echo "${as_me:-configure}:6783: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 + + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6738: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6787: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + for model in $cf_list_models ; do + case "$model" in + (libtool) + +-echo "$as_me:6744: checking for additional libtool options" >&5 ++echo "$as_me:6793: 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. +@@ -6751,7 +6800,7 @@ if test "${with_libtool_opts+set}" = set; then + else + with_libtool_opts=no + fi; +-echo "$as_me:6754: result: $with_libtool_opts" >&5 ++echo "$as_me:6803: result: $with_libtool_opts" >&5 + echo "${ECHO_T}$with_libtool_opts" >&6 + + case .$with_libtool_opts in +@@ -6762,7 +6811,7 @@ case .$with_libtool_opts in + ;; + esac + +-echo "$as_me:6765: checking if exported-symbols file should be used" >&5 ++echo "$as_me:6814: checking if exported-symbols file should be used" >&5 + echo $ECHO_N "checking if exported-symbols file should be used... $ECHO_C" >&6 + + # Check whether --with-export-syms or --without-export-syms was given. +@@ -6777,7 +6826,7 @@ then + with_export_syms='${top_srcdir}/package/${PACKAGE}.sym' + + fi +-echo "$as_me:6780: result: $with_export_syms" >&5 ++echo "$as_me:6829: result: $with_export_syms" >&5 + echo "${ECHO_T}$with_export_syms" >&6 + if test "x$with_export_syms" != xno + then +@@ -6788,15 +6837,15 @@ fi + ;; + (shared) + if test "$CC_SHARED_OPTS" = "unknown"; then +- { { echo "$as_me:6791: error: Shared libraries are not supported in this version" >&5 ++ { { echo "$as_me:6840: error: Shared libraries are not supported in this version" >&5 + echo "$as_me: error: Shared libraries are not supported in this version" >&2;} + { (exit 1); exit 1; }; } + fi + # workaround for inept transition to PIE vs PIC... +- echo "$as_me:6796: checking if current CFLAGS link properly" >&5 ++ echo "$as_me:6845: checking if current CFLAGS link properly" >&5 + echo $ECHO_N "checking if current CFLAGS link properly... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6799 "configure" ++#line 6848 "configure" + #include "confdefs.h" + #include + int +@@ -6808,16 +6857,16 @@ printf("Hello work\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6811: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6860: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6814: \$? = $ac_status" >&5 ++ echo "$as_me:6863: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6817: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6866: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6820: \$? = $ac_status" >&5 ++ echo "$as_me:6869: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cflags_work=yes + else +@@ -6826,18 +6875,18 @@ cat "conftest.$ac_ext" >&5 + cf_cflags_work=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:6829: result: $cf_cflags_work" >&5 ++ echo "$as_me:6878: result: $cf_cflags_work" >&5 + echo "${ECHO_T}$cf_cflags_work" >&6 + if test "$cf_cflags_work" = no + then + test -n "$verbose" && echo " try to work around by appending shared-options" 1>&6 + +-echo "${as_me:-configure}:6835: testing try to work around by appending shared-options ..." 1>&5 ++echo "${as_me:-configure}:6884: testing try to work around by appending shared-options ..." 1>&5 + + CFLAGS="$CFLAGS $CC_SHARED_OPTS" + fi + +-echo "$as_me:6840: checking if versioned-symbols file should be used" >&5 ++echo "$as_me:6889: checking if versioned-symbols file should be used" >&5 + echo $ECHO_N "checking if versioned-symbols file should be used... $ECHO_C" >&6 + + # Check whether --with-versioned-syms or --without-versioned-syms was given. +@@ -6855,18 +6904,18 @@ case "x$with_versioned_syms" in + (xno) + ;; + (x/*) +- test -f "$with_versioned_syms" || { { echo "$as_me:6858: error: expected a filename: $with_versioned_syms" >&5 ++ test -f "$with_versioned_syms" || { { echo "$as_me:6907: error: expected a filename: $with_versioned_syms" >&5 + echo "$as_me: error: expected a filename: $with_versioned_syms" >&2;} + { (exit 1); exit 1; }; } + ;; + (*) +- test -f "$with_versioned_syms" || { { echo "$as_me:6863: error: expected a filename: $with_versioned_syms" >&5 ++ test -f "$with_versioned_syms" || { { echo "$as_me:6912: error: expected a filename: $with_versioned_syms" >&5 + echo "$as_me: error: expected a filename: $with_versioned_syms" >&2;} + { (exit 1); exit 1; }; } + with_versioned_syms=`pwd`/"$with_versioned_syms" + ;; + esac +-echo "$as_me:6869: result: $with_versioned_syms" >&5 ++echo "$as_me:6918: result: $with_versioned_syms" >&5 + echo "${ECHO_T}$with_versioned_syms" >&6 + + RESULTING_SYMS= +@@ -6882,7 +6931,7 @@ then + MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-Wl,%\\${VERSIONED_SYMS} -Wl,%"` + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6885: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6934: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + ;; + (*-dy\ *) +@@ -6890,11 +6939,11 @@ echo "${as_me:-configure}:6885: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-dy%\\${VERSIONED_SYMS} -dy%"` + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6893: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6942: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + ;; + (*) +- { echo "$as_me:6897: WARNING: this system does not support versioned-symbols" >&5 ++ { echo "$as_me:6946: WARNING: this system does not support versioned-symbols" >&5 + echo "$as_me: WARNING: this system does not support versioned-symbols" >&2;} + ;; + esac +@@ -6906,7 +6955,7 @@ echo "$as_me: WARNING: this system does not support versioned-symbols" >&2;} + # symbols. + if test "x$VERSIONED_SYMS" != "x" + then +- echo "$as_me:6909: checking if wildcards can be used to selectively omit symbols" >&5 ++ echo "$as_me:6958: checking if wildcards can be used to selectively omit symbols" >&5 + echo $ECHO_N "checking if wildcards can be used to selectively omit symbols... $ECHO_C" >&6 + WILDCARD_SYMS=no + +@@ -6943,7 +6992,7 @@ local: + } submodule_1.0; + EOF + cat >conftest.$ac_ext <&5 ++ echo "$as_me:7026: result: $WILDCARD_SYMS" >&5 + echo "${ECHO_T}$WILDCARD_SYMS" >&6 + rm -f conftest.* + fi +@@ -6987,7 +7036,7 @@ done + ### Checks for special libraries, must be done up-front. + SHLIB_LIST="" + +-echo "$as_me:6990: checking if you want to link with the GPM mouse library" >&5 ++echo "$as_me:7039: checking if you want to link with the GPM mouse library" >&5 + echo $ECHO_N "checking if you want to link with the GPM mouse library... $ECHO_C" >&6 + + # Check whether --with-gpm or --without-gpm was given. +@@ -6997,27 +7046,27 @@ if test "${with_gpm+set}" = set; then + else + with_gpm=maybe + fi; +-echo "$as_me:7000: result: $with_gpm" >&5 ++echo "$as_me:7049: result: $with_gpm" >&5 + echo "${ECHO_T}$with_gpm" >&6 + + if test "$with_gpm" != no ; then +- echo "$as_me:7004: checking for gpm.h" >&5 ++ echo "$as_me:7053: checking for gpm.h" >&5 + echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6 + if test "${ac_cv_header_gpm_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7010 "configure" ++#line 7059 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:7014: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:7063: \"$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:7020: \$? = $ac_status" >&5 ++ echo "$as_me:7069: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -7036,7 +7085,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:7039: result: $ac_cv_header_gpm_h" >&5 ++echo "$as_me:7088: result: $ac_cv_header_gpm_h" >&5 + echo "${ECHO_T}$ac_cv_header_gpm_h" >&6 + if test "$ac_cv_header_gpm_h" = yes; then + +@@ -7047,7 +7096,7 @@ EOF + if test "$with_gpm" != yes && test "$with_gpm" != maybe ; then + test -n "$verbose" && echo " assuming we really have GPM library" 1>&6 + +-echo "${as_me:-configure}:7050: testing assuming we really have GPM library ..." 1>&5 ++echo "${as_me:-configure}:7099: testing assuming we really have GPM library ..." 1>&5 + + cat >>confdefs.h <<\EOF + #define HAVE_LIBGPM 1 +@@ -7055,7 +7104,7 @@ EOF + + with_gpm=yes + else +- echo "$as_me:7058: checking for Gpm_Open in -lgpm" >&5 ++ echo "$as_me:7107: 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 +@@ -7063,7 +7112,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7066 "configure" ++#line 7115 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7082,16 +7131,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7085: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7134: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7088: \$? = $ac_status" >&5 ++ echo "$as_me:7137: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7091: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7140: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7094: \$? = $ac_status" >&5 ++ echo "$as_me:7143: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -7102,18 +7151,18 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7105: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:7154: 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 + with_gpm=yes + else + + if test "$with_gpm" = maybe; then +- { echo "$as_me:7112: WARNING: Cannot link with GPM library" >&5 ++ { echo "$as_me:7161: WARNING: Cannot link with GPM library" >&5 + echo "$as_me: WARNING: Cannot link with GPM library" >&2;} + with_gpm=no + else +- { { echo "$as_me:7116: error: Cannot link with GPM library" >&5 ++ { { echo "$as_me:7165: error: Cannot link with GPM library" >&5 + echo "$as_me: error: Cannot link with GPM library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7124,7 +7173,7 @@ fi + + else + +- test "$with_gpm" != maybe && { echo "$as_me:7127: WARNING: Cannot find GPM header" >&5 ++ test "$with_gpm" != maybe && { echo "$as_me:7176: WARNING: Cannot find GPM header" >&5 + echo "$as_me: WARNING: Cannot find GPM header" >&2;} + with_gpm=no + +@@ -7133,7 +7182,7 @@ fi + fi + + if test "$with_gpm" != no ; then +- echo "$as_me:7136: checking if you want to load GPM dynamically" >&5 ++ echo "$as_me:7185: checking if you want to load GPM dynamically" >&5 + echo $ECHO_N "checking if you want to load GPM dynamically... $ECHO_C" >&6 + + # Check whether --with-dlsym or --without-dlsym was given. +@@ -7143,18 +7192,18 @@ if test "${with_dlsym+set}" = set; then + else + with_dlsym=yes + fi; +- echo "$as_me:7146: result: $with_dlsym" >&5 ++ echo "$as_me:7195: result: $with_dlsym" >&5 + echo "${ECHO_T}$with_dlsym" >&6 + if test "x$with_dlsym" = xyes ; then + + cf_have_dlsym=no +-echo "$as_me:7151: checking for dlsym" >&5 ++echo "$as_me:7200: checking for dlsym" >&5 + echo $ECHO_N "checking for dlsym... $ECHO_C" >&6 + if test "${ac_cv_func_dlsym+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7157 "configure" ++#line 7206 "configure" + #include "confdefs.h" + #define dlsym autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -7185,16 +7234,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7188: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7237: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7191: \$? = $ac_status" >&5 ++ echo "$as_me:7240: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7194: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7243: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7197: \$? = $ac_status" >&5 ++ echo "$as_me:7246: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_dlsym=yes + else +@@ -7204,14 +7253,14 @@ ac_cv_func_dlsym=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:7207: result: $ac_cv_func_dlsym" >&5 ++echo "$as_me:7256: result: $ac_cv_func_dlsym" >&5 + echo "${ECHO_T}$ac_cv_func_dlsym" >&6 + if test "$ac_cv_func_dlsym" = yes; then + cf_have_dlsym=yes + else + + cf_have_libdl=no +-echo "$as_me:7214: checking for dlsym in -ldl" >&5 ++echo "$as_me:7263: checking for dlsym in -ldl" >&5 + echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 + if test "${ac_cv_lib_dl_dlsym+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7219,7 +7268,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7222 "configure" ++#line 7271 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7238,16 +7287,16 @@ dlsym (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7241: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7290: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7244: \$? = $ac_status" >&5 ++ echo "$as_me:7293: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7247: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7296: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7250: \$? = $ac_status" >&5 ++ echo "$as_me:7299: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dl_dlsym=yes + else +@@ -7258,7 +7307,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7261: result: $ac_cv_lib_dl_dlsym" >&5 ++echo "$as_me:7310: result: $ac_cv_lib_dl_dlsym" >&5 + echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 + if test "$ac_cv_lib_dl_dlsym" = yes; then + +@@ -7287,10 +7336,10 @@ done + LIBS="$cf_add_libs" + } + +- echo "$as_me:7290: checking whether able to link to dl*() functions" >&5 ++ echo "$as_me:7339: checking whether able to link to dl*() functions" >&5 + echo $ECHO_N "checking whether able to link to dl*() functions... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7293 "configure" ++#line 7342 "configure" + #include "confdefs.h" + #include + int +@@ -7308,16 +7357,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7311: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7360: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7314: \$? = $ac_status" >&5 ++ echo "$as_me:7363: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7317: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7366: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7320: \$? = $ac_status" >&5 ++ echo "$as_me:7369: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cat >>confdefs.h <<\EOF +@@ -7328,15 +7377,15 @@ else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { { echo "$as_me:7331: error: Cannot link test program for libdl" >&5 ++ { { echo "$as_me:7380: error: Cannot link test program for libdl" >&5 + echo "$as_me: error: Cannot link test program for libdl" >&2;} + { (exit 1); exit 1; }; } + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:7336: result: ok" >&5 ++ echo "$as_me:7385: result: ok" >&5 + echo "${ECHO_T}ok" >&6 + else +- { { echo "$as_me:7339: error: Cannot find dlsym function" >&5 ++ { { echo "$as_me:7388: error: Cannot find dlsym function" >&5 + echo "$as_me: error: Cannot find dlsym function" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7344,12 +7393,12 @@ fi + if test "x$with_gpm" != xyes ; then + test -n "$verbose" && echo " assuming soname for gpm is $with_gpm" 1>&6 + +-echo "${as_me:-configure}:7347: testing assuming soname for gpm is $with_gpm ..." 1>&5 ++echo "${as_me:-configure}:7396: testing assuming soname for gpm is $with_gpm ..." 1>&5 + + cf_cv_gpm_soname="$with_gpm" + else + +-echo "$as_me:7352: checking for soname of gpm library" >&5 ++echo "$as_me:7401: checking for soname of gpm library" >&5 + echo $ECHO_N "checking for soname of gpm library... $ECHO_C" >&6 + if test "${cf_cv_gpm_soname+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7383,15 +7432,15 @@ for cf_add_1lib in $cf_add_0lib; do + done + LIBS="$cf_add_libs" + +- if { (eval echo "$as_me:7386: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:7435: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7389: \$? = $ac_status" >&5 ++ echo "$as_me:7438: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then +- if { (eval echo "$as_me:7391: \"$ac_link\"") >&5 ++ if { (eval echo "$as_me:7440: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7394: \$? = $ac_status" >&5 ++ echo "$as_me:7443: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + cf_cv_gpm_soname="`ldd \"conftest$ac_exeext\" 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | ${FGREP-fgrep} libgpm.`" + test -z "$cf_cv_gpm_soname" && cf_cv_gpm_soname=unknown +@@ -7402,7 +7451,7 @@ LIBS="$cf_save_LIBS" + fi + + fi +-echo "$as_me:7405: result: $cf_cv_gpm_soname" >&5 ++echo "$as_me:7454: result: $cf_cv_gpm_soname" >&5 + echo "${ECHO_T}$cf_cv_gpm_soname" >&6 + + fi +@@ -7470,7 +7519,7 @@ cat >>confdefs.h <<\EOF + #define HAVE_LIBGPM 1 + EOF + +-echo "$as_me:7473: checking for Gpm_Wgetch in -lgpm" >&5 ++echo "$as_me:7522: checking for Gpm_Wgetch in -lgpm" >&5 + echo $ECHO_N "checking for Gpm_Wgetch in -lgpm... $ECHO_C" >&6 + if test "${ac_cv_lib_gpm_Gpm_Wgetch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7478,7 +7527,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7481 "configure" ++#line 7530 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7497,16 +7546,16 @@ Gpm_Wgetch (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7500: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7549: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7503: \$? = $ac_status" >&5 ++ echo "$as_me:7552: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7506: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7555: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7509: \$? = $ac_status" >&5 ++ echo "$as_me:7558: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Wgetch=yes + else +@@ -7517,11 +7566,11 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7520: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 ++echo "$as_me:7569: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 + echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Wgetch" >&6 + if test "$ac_cv_lib_gpm_Gpm_Wgetch" = yes; then + +-echo "$as_me:7524: checking if GPM is weakly bound to curses library" >&5 ++echo "$as_me:7573: checking if GPM is weakly bound to curses library" >&5 + echo $ECHO_N "checking if GPM is weakly bound to curses library... $ECHO_C" >&6 + if test "${cf_cv_check_gpm_wgetch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7545,15 +7594,15 @@ CF_EOF + # to rely on the static library, noting that some packagers may not + # include it. + LIBS="-static -lgpm -dynamic $LIBS" +- if { (eval echo "$as_me:7548: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:7597: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7551: \$? = $ac_status" >&5 ++ echo "$as_me:7600: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then +- if { (eval echo "$as_me:7553: \"$ac_link\"") >&5 ++ if { (eval echo "$as_me:7602: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7556: \$? = $ac_status" >&5 ++ echo "$as_me:7605: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + cf_cv_check_gpm_wgetch="`nm \"conftest$ac_exeext\" | ${EGREP-egrep} '\' | ${EGREP-egrep} '\<[vVwW]\>'`" + test -n "$cf_cv_check_gpm_wgetch" && cf_cv_check_gpm_wgetch=yes +@@ -7565,11 +7614,11 @@ CF_EOF + fi + + fi +-echo "$as_me:7568: result: $cf_cv_check_gpm_wgetch" >&5 ++echo "$as_me:7617: result: $cf_cv_check_gpm_wgetch" >&5 + echo "${ECHO_T}$cf_cv_check_gpm_wgetch" >&6 + + if test "$cf_cv_check_gpm_wgetch" != yes ; then +- { echo "$as_me:7572: WARNING: GPM library is already linked with curses - read the FAQ" >&5 ++ { echo "$as_me:7621: WARNING: GPM library is already linked with curses - read the FAQ" >&5 + echo "$as_me: WARNING: GPM library is already linked with curses - read the FAQ" >&2;} + fi + +@@ -7577,7 +7626,7 @@ fi + + fi + +-echo "$as_me:7580: checking if you want to use PCRE2 for regular-expressions" >&5 ++echo "$as_me:7629: checking if you want to use PCRE2 for regular-expressions" >&5 + echo $ECHO_N "checking if you want to use PCRE2 for regular-expressions... $ECHO_C" >&6 + + # Check whether --with-pcre2 or --without-pcre2 was given. +@@ -7586,7 +7635,7 @@ if test "${with_pcre2+set}" = set; then + + fi; + test -z "$with_pcre2" && with_pcre2=no +-echo "$as_me:7589: result: $with_pcre2" >&5 ++echo "$as_me:7638: result: $with_pcre2" >&5 + echo "${ECHO_T}$with_pcre2" >&6 + + if test "x$with_pcre2" != xno ; then +@@ -7597,17 +7646,17 @@ if test "x$with_pcre2" != xno ; then + if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$cf_with_pcre2"; then + test -n "$verbose" && echo " found package $cf_with_pcre2" 1>&6 + +-echo "${as_me:-configure}:7600: testing found package $cf_with_pcre2 ..." 1>&5 ++echo "${as_me:-configure}:7649: testing found package $cf_with_pcre2 ..." 1>&5 + + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "$cf_with_pcre2" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "$cf_with_pcre2" 2>/dev/null`" + test -n "$verbose" && echo " package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs" 1>&6 + +-echo "${as_me:-configure}:7606: testing package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 ++echo "${as_me:-configure}:7655: testing package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 + + test -n "$verbose" && echo " package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs" 1>&6 + +-echo "${as_me:-configure}:7610: testing package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs ..." 1>&5 ++echo "${as_me:-configure}:7659: testing package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs ..." 1>&5 + + cf_fix_cppflags=no + cf_new_cflags= +@@ -7731,7 +7780,7 @@ else + fi + + done +- cf_with_pcre2_ok=yes || { { echo "$as_me:7734: error: Cannot find PCRE2 library" >&5 ++ cf_with_pcre2_ok=yes || { { echo "$as_me:7783: error: Cannot find PCRE2 library" >&5 + echo "$as_me: error: Cannot find PCRE2 library" >&2;} + { (exit 1); exit 1; }; } + +@@ -7744,7 +7793,7 @@ EOF + (*pcre2-posix*|*pcreposix*) + ;; + (*) +- echo "$as_me:7747: checking for regcomp in -lpcre2-posix" >&5 ++ echo "$as_me:7796: checking for regcomp in -lpcre2-posix" >&5 + echo $ECHO_N "checking for regcomp in -lpcre2-posix... $ECHO_C" >&6 + if test "${ac_cv_lib_pcre2_posix_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7752,7 +7801,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpcre2-posix $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7755 "configure" ++#line 7804 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7771,16 +7820,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7774: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7823: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7777: \$? = $ac_status" >&5 ++ echo "$as_me:7826: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7780: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7829: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7783: \$? = $ac_status" >&5 ++ echo "$as_me:7832: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_pcre2_posix_regcomp=yes + else +@@ -7791,7 +7840,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7794: result: $ac_cv_lib_pcre2_posix_regcomp" >&5 ++echo "$as_me:7843: result: $ac_cv_lib_pcre2_posix_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_pcre2_posix_regcomp" >&6 + if test "$ac_cv_lib_pcre2_posix_regcomp" = yes; then + +@@ -7812,7 +7861,7 @@ done + LIBS="$cf_add_libs" + + else +- echo "$as_me:7815: checking for regcomp in -lpcreposix" >&5 ++ echo "$as_me:7864: checking for regcomp in -lpcreposix" >&5 + echo $ECHO_N "checking for regcomp in -lpcreposix... $ECHO_C" >&6 + if test "${ac_cv_lib_pcreposix_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7820,7 +7869,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpcreposix $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7823 "configure" ++#line 7872 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7839,16 +7888,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7842: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7891: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7845: \$? = $ac_status" >&5 ++ echo "$as_me:7894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7848: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7851: \$? = $ac_status" >&5 ++ echo "$as_me:7900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_pcreposix_regcomp=yes + else +@@ -7859,7 +7908,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7862: result: $ac_cv_lib_pcreposix_regcomp" >&5 ++echo "$as_me:7911: result: $ac_cv_lib_pcreposix_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_pcreposix_regcomp" >&6 + if test "$ac_cv_lib_pcreposix_regcomp" = yes; then + +@@ -7880,7 +7929,7 @@ done + LIBS="$cf_add_libs" + + else +- { { echo "$as_me:7883: error: Cannot find PCRE2 POSIX library" >&5 ++ { { echo "$as_me:7932: error: Cannot find PCRE2 POSIX library" >&5 + echo "$as_me: error: Cannot find PCRE2 POSIX library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7895,23 +7944,23 @@ fi + for ac_header in pcre2posix.h pcreposix.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:7898: checking for $ac_header" >&5 ++echo "$as_me:7947: 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 7904 "configure" ++#line 7953 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:7908: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:7957: \"$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:7914: \$? = $ac_status" >&5 ++ echo "$as_me:7963: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -7930,7 +7979,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:7933: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:7982: 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 <&5 ++echo "$as_me:7995: 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 7952 "configure" ++#line 8001 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -7980,16 +8029,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7983: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8032: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7986: \$? = $ac_status" >&5 ++ echo "$as_me:8035: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7989: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8038: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7992: \$? = $ac_status" >&5 ++ echo "$as_me:8041: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -7999,7 +8048,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:8002: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:8051: 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 </dev/null ; then +-echo "$as_me:8016: checking if you want to use sysmouse" >&5 ++echo "$as_me:8065: checking if you want to use sysmouse" >&5 + echo $ECHO_N "checking if you want to use sysmouse... $ECHO_C" >&6 + + # Check whether --with-sysmouse or --without-sysmouse was given. +@@ -8025,7 +8074,7 @@ else + fi; + if test "$cf_with_sysmouse" != no ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8028 "configure" ++#line 8077 "configure" + #include "confdefs.h" + + #include +@@ -8048,16 +8097,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8051: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8100: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8054: \$? = $ac_status" >&5 ++ echo "$as_me:8103: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8057: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8106: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8060: \$? = $ac_status" >&5 ++ echo "$as_me:8109: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_with_sysmouse=yes + else +@@ -8067,7 +8116,7 @@ cf_with_sysmouse=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:8070: result: $cf_with_sysmouse" >&5 ++echo "$as_me:8119: result: $cf_with_sysmouse" >&5 + echo "${ECHO_T}$cf_with_sysmouse" >&6 + test "$cf_with_sysmouse" = yes && + cat >>confdefs.h <<\EOF +@@ -8077,7 +8126,7 @@ EOF + fi + + # pretend that ncurses==ncursesw==ncursest +-echo "$as_me:8080: checking if you want to disable library suffixes" >&5 ++echo "$as_me:8129: checking if you want to disable library suffixes" >&5 + echo $ECHO_N "checking if you want to disable library suffixes... $ECHO_C" >&6 + + # Check whether --enable-lib-suffixes or --disable-lib-suffixes was given. +@@ -8094,13 +8143,13 @@ else + disable_lib_suffixes=no + + fi; +-echo "$as_me:8097: result: $disable_lib_suffixes" >&5 ++echo "$as_me:8146: result: $disable_lib_suffixes" >&5 + echo "${ECHO_T}$disable_lib_suffixes" >&6 + + ### If we're building with rpath, try to link non-standard libs that way too. + if test "$DFT_LWR_MODEL" = "shared" && test "x$cf_cv_enable_rpath" != xno; then + +-echo "$as_me:8103: checking if rpath-hack should be disabled" >&5 ++echo "$as_me:8152: 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. +@@ -8118,22 +8167,22 @@ else + + fi; + if test "x$enable_rpath_hack" = xno; then cf_disable_rpath_hack=yes; else cf_disable_rpath_hack=no; fi +-echo "$as_me:8121: result: $cf_disable_rpath_hack" >&5 ++echo "$as_me:8170: result: $cf_disable_rpath_hack" >&5 + echo "${ECHO_T}$cf_disable_rpath_hack" >&6 + + if test "$enable_rpath_hack" = yes ; then + +-echo "$as_me:8126: checking for updated LDFLAGS" >&5 ++echo "$as_me:8175: 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:8129: result: maybe" >&5 ++ echo "$as_me:8178: 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:8136: checking for $ac_word" >&5 ++echo "$as_me:8185: 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 +@@ -8148,7 +8197,7 @@ for ac_dir in $ac_dummy; do + 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:8151: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8200: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8156,10 +8205,10 @@ fi + fi + cf_ldd_prog=$ac_cv_prog_cf_ldd_prog + if test -n "$cf_ldd_prog"; then +- echo "$as_me:8159: result: $cf_ldd_prog" >&5 ++ echo "$as_me:8208: result: $cf_ldd_prog" >&5 + echo "${ECHO_T}$cf_ldd_prog" >&6 + else +- echo "$as_me:8162: result: no" >&5 ++ echo "$as_me:8211: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8173,7 +8222,7 @@ test -n "$cf_ldd_prog" || cf_ldd_prog="no" + cf_rpath_oops= + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8176 "configure" ++#line 8225 "configure" + #include "confdefs.h" + #include + int +@@ -8185,16 +8234,16 @@ printf("Hello"); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8188: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8237: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8191: \$? = $ac_status" >&5 ++ echo "$as_me:8240: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8194: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8243: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8197: \$? = $ac_status" >&5 ++ echo "$as_me:8246: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_oops=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} ' not found' | sed -e 's% =>.*$%%' |sort | uniq` + cf_rpath_list=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort | uniq` +@@ -8222,7 +8271,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + then + test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6 + +-echo "${as_me:-configure}:8225: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 ++echo "${as_me:-configure}:8274: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 + + LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" + break +@@ -8234,11 +8283,11 @@ echo "${as_me:-configure}:8225: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS + + test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8237: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8286: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8241: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8290: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 + + cf_rpath_dst= + for cf_rpath_src in $LDFLAGS +@@ -8275,7 +8324,7 @@ do + then + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 + +-echo "${as_me:-configure}:8278: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 ++echo "${as_me:-configure}:8327: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 + + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" + fi +@@ -8288,11 +8337,11 @@ LDFLAGS=$cf_rpath_dst + + test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8291: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8340: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 + +-echo "${as_me:-configure}:8295: testing ...checking LIBS $LIBS ..." 1>&5 ++echo "${as_me:-configure}:8344: testing ...checking LIBS $LIBS ..." 1>&5 + + cf_rpath_dst= + for cf_rpath_src in $LIBS +@@ -8329,7 +8378,7 @@ do + then + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 + +-echo "${as_me:-configure}:8332: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 ++echo "${as_me:-configure}:8381: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 + + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" + fi +@@ -8342,14 +8391,14 @@ LIBS=$cf_rpath_dst + + test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 + +-echo "${as_me:-configure}:8345: testing ...checked LIBS $LIBS ..." 1>&5 ++echo "${as_me:-configure}:8394: testing ...checked LIBS $LIBS ..." 1>&5 + + test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8349: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8398: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 + + else +- echo "$as_me:8352: result: no" >&5 ++ echo "$as_me:8401: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8363,7 +8412,7 @@ fi + EXTRA_PKG_LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" + if test -n "$EXTRA_PKG_LDFLAGS" + then +- echo "$as_me:8366: checking if you want to disable extra LDFLAGS for package-scripts" >&5 ++ echo "$as_me:8415: checking if you want to disable extra LDFLAGS for package-scripts" >&5 + echo $ECHO_N "checking if you want to disable extra LDFLAGS for package-scripts... $ECHO_C" >&6 + + # Check whether --enable-pkg-ldflags or --disable-pkg-ldflags was given. +@@ -8380,7 +8429,7 @@ else + disable_pkg_ldflags=no + + fi; +- echo "$as_me:8383: result: $disable_pkg_ldflags" >&5 ++ echo "$as_me:8432: result: $disable_pkg_ldflags" >&5 + echo "${ECHO_T}$disable_pkg_ldflags" >&6 + test "$disable_pkg_ldflags" = yes && EXTRA_PKG_LDFLAGS= + fi +@@ -8388,7 +8437,7 @@ fi + ############################################################################### + + ### use option --with-extra-suffix to append suffix to headers and libraries +-echo "$as_me:8391: checking if you wish to append extra suffix to header/library paths" >&5 ++echo "$as_me:8440: checking if you wish to append extra suffix to header/library paths" >&5 + echo $ECHO_N "checking if you wish to append extra suffix to header/library paths... $ECHO_C" >&6 + EXTRA_SUFFIX= + +@@ -8407,11 +8456,11 @@ if test "${with_extra_suffix+set}" = set; then + esac + + fi; +-echo "$as_me:8410: result: $EXTRA_SUFFIX" >&5 ++echo "$as_me:8459: result: $EXTRA_SUFFIX" >&5 + echo "${ECHO_T}$EXTRA_SUFFIX" >&6 + + ### use option --disable-overwrite to leave out the link to -lcurses +-echo "$as_me:8414: checking if you wish to install ncurses overwriting curses" >&5 ++echo "$as_me:8463: checking if you wish to install ncurses overwriting curses" >&5 + echo $ECHO_N "checking if you wish to install ncurses overwriting curses... $ECHO_C" >&6 + + # Check whether --enable-overwrite or --disable-overwrite was given. +@@ -8421,10 +8470,10 @@ if test "${enable_overwrite+set}" = set; then + else + if test "$prefix" = "/usr" ; then with_overwrite=yes; else with_overwrite=no; fi + fi; +-echo "$as_me:8424: result: $with_overwrite" >&5 ++echo "$as_me:8473: result: $with_overwrite" >&5 + echo "${ECHO_T}$with_overwrite" >&6 + +-echo "$as_me:8427: checking if external terminfo-database is used" >&5 ++echo "$as_me:8476: checking if external terminfo-database is used" >&5 + echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6 + + # Check whether --enable-database or --disable-database was given. +@@ -8434,7 +8483,7 @@ if test "${enable_database+set}" = set; then + else + use_database=yes + fi; +-echo "$as_me:8437: result: $use_database" >&5 ++echo "$as_me:8486: result: $use_database" >&5 + echo "${ECHO_T}$use_database" >&6 + + case "$host_os" in +@@ -8450,7 +8499,7 @@ NCURSES_USE_DATABASE=0 + if test "$use_database" != no ; then + NCURSES_USE_DATABASE=1 + +- echo "$as_me:8453: checking which terminfo source-file will be installed" >&5 ++ echo "$as_me:8502: checking which terminfo source-file will be installed" >&5 + echo $ECHO_N "checking which terminfo source-file will be installed... $ECHO_C" >&6 + + # Check whether --with-database or --without-database was given. +@@ -8458,10 +8507,10 @@ if test "${with_database+set}" = set; then + withval="$with_database" + TERMINFO_SRC=$withval + fi; +- echo "$as_me:8461: result: $TERMINFO_SRC" >&5 ++ echo "$as_me:8510: result: $TERMINFO_SRC" >&5 + echo "${ECHO_T}$TERMINFO_SRC" >&6 + +- echo "$as_me:8464: checking whether to use hashed database instead of directory/tree" >&5 ++ echo "$as_me:8513: checking whether to use hashed database instead of directory/tree" >&5 + echo $ECHO_N "checking whether to use hashed database instead of directory/tree... $ECHO_C" >&6 + + # Check whether --with-hashed-db or --without-hashed-db was given. +@@ -8471,13 +8520,13 @@ if test "${with_hashed_db+set}" = set; then + else + with_hashed_db=no + fi; +- echo "$as_me:8474: result: $with_hashed_db" >&5 ++ echo "$as_me:8523: result: $with_hashed_db" >&5 + echo "${ECHO_T}$with_hashed_db" >&6 + else + with_hashed_db=no + fi + +-echo "$as_me:8480: checking for list of fallback descriptions" >&5 ++echo "$as_me:8529: checking for list of fallback descriptions" >&5 + echo $ECHO_N "checking for list of fallback descriptions... $ECHO_C" >&6 + + # Check whether --with-fallbacks or --without-fallbacks was given. +@@ -8487,7 +8536,7 @@ if test "${with_fallbacks+set}" = set; then + else + with_fallback= + fi; +-echo "$as_me:8490: result: $with_fallback" >&5 ++echo "$as_me:8539: result: $with_fallback" >&5 + echo "${ECHO_T}$with_fallback" >&6 + + case ".$with_fallback" in +@@ -8495,7 +8544,7 @@ case ".$with_fallback" in + FALLBACK_LIST= + ;; + (.yes) +- { echo "$as_me:8498: WARNING: expected a list of terminal descriptions" >&5 ++ { echo "$as_me:8547: WARNING: expected a list of terminal descriptions" >&5 + echo "$as_me: WARNING: expected a list of terminal descriptions" >&2;} + ;; + (*) +@@ -8511,7 +8560,7 @@ esac + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}tic", so it can be a program name with args. + set dummy ${ac_tool_prefix}tic; ac_word=$2 +-echo "$as_me:8514: checking for $ac_word" >&5 ++echo "$as_me:8563: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8526,7 +8575,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_TIC="${ac_tool_prefix}tic" +-echo "$as_me:8529: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8578: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8534,10 +8583,10 @@ fi + fi + TIC=$ac_cv_prog_TIC + if test -n "$TIC"; then +- echo "$as_me:8537: result: $TIC" >&5 ++ echo "$as_me:8586: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + else +- echo "$as_me:8540: result: no" >&5 ++ echo "$as_me:8589: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8546,7 +8595,7 @@ if test -z "$ac_cv_prog_TIC"; then + ac_ct_TIC=$TIC + # Extract the first word of "tic", so it can be a program name with args. + set dummy tic; ac_word=$2 +-echo "$as_me:8549: checking for $ac_word" >&5 ++echo "$as_me:8598: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8561,7 +8610,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_TIC="tic" +-echo "$as_me:8564: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8613: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8569,10 +8618,10 @@ fi + fi + ac_ct_TIC=$ac_cv_prog_ac_ct_TIC + if test -n "$ac_ct_TIC"; then +- echo "$as_me:8572: result: $ac_ct_TIC" >&5 ++ echo "$as_me:8621: result: $ac_ct_TIC" >&5 + echo "${ECHO_T}$ac_ct_TIC" >&6 + else +- echo "$as_me:8575: result: no" >&5 ++ echo "$as_me:8624: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8584,7 +8633,7 @@ fi + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}infocmp", so it can be a program name with args. + set dummy ${ac_tool_prefix}infocmp; ac_word=$2 +-echo "$as_me:8587: checking for $ac_word" >&5 ++echo "$as_me:8636: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8599,7 +8648,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_INFOCMP="${ac_tool_prefix}infocmp" +-echo "$as_me:8602: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8651: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8607,10 +8656,10 @@ fi + fi + INFOCMP=$ac_cv_prog_INFOCMP + if test -n "$INFOCMP"; then +- echo "$as_me:8610: result: $INFOCMP" >&5 ++ echo "$as_me:8659: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + else +- echo "$as_me:8613: result: no" >&5 ++ echo "$as_me:8662: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8619,7 +8668,7 @@ if test -z "$ac_cv_prog_INFOCMP"; then + ac_ct_INFOCMP=$INFOCMP + # Extract the first word of "infocmp", so it can be a program name with args. + set dummy infocmp; ac_word=$2 +-echo "$as_me:8622: checking for $ac_word" >&5 ++echo "$as_me:8671: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8634,7 +8683,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_INFOCMP="infocmp" +-echo "$as_me:8637: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8686: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8642,10 +8691,10 @@ fi + fi + ac_ct_INFOCMP=$ac_cv_prog_ac_ct_INFOCMP + if test -n "$ac_ct_INFOCMP"; then +- echo "$as_me:8645: result: $ac_ct_INFOCMP" >&5 ++ echo "$as_me:8694: result: $ac_ct_INFOCMP" >&5 + echo "${ECHO_T}$ac_ct_INFOCMP" >&6 + else +- echo "$as_me:8648: result: no" >&5 ++ echo "$as_me:8697: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8660,10 +8709,10 @@ then + # Check whether --with-tic-path or --without-tic-path was given. + if test "${with_tic_path+set}" = set; then + withval="$with_tic_path" +- echo "$as_me:8663: checking for tic program for fallbacks" >&5 ++ echo "$as_me:8712: checking for tic program for fallbacks" >&5 + echo $ECHO_N "checking for tic program for fallbacks... $ECHO_C" >&6 + TIC=$withval +- echo "$as_me:8666: result: $TIC" >&5 ++ echo "$as_me:8715: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + + if test "x$prefix" != xNONE; then +@@ -8691,7 +8740,7 @@ case ".$TIC" in + TIC=`echo "$TIC" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:8694: error: expected a pathname, not \"$TIC\"" >&5 ++ { { echo "$as_me:8743: error: expected a pathname, not \"$TIC\"" >&5 + echo "$as_me: error: expected a pathname, not \"$TIC\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -8704,7 +8753,7 @@ for ac_prog in $TIC tic + 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:8707: checking for $ac_word" >&5 ++echo "$as_me:8756: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8721,7 +8770,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_TIC="$ac_dir/$ac_word" +- echo "$as_me:8724: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:8773: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -8732,10 +8781,10 @@ fi + TIC=$ac_cv_path_TIC + + if test -n "$TIC"; then +- echo "$as_me:8735: result: $TIC" >&5 ++ echo "$as_me:8784: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + else +- echo "$as_me:8738: result: no" >&5 ++ echo "$as_me:8787: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8794,7 +8843,7 @@ IFS="$cf_save_ifs" + + if test -n "$cf_path_prog" ; then + +-echo "${as_me:-configure}:8797: testing defining path for ${cf_path_prog} ..." 1>&5 ++echo "${as_me:-configure}:8846: testing defining path for ${cf_path_prog} ..." 1>&5 + + cat >>confdefs.h <&5 ++ { echo "$as_me:8861: WARNING: no tic program found for fallbacks" >&5 + echo "$as_me: WARNING: no tic program found for fallbacks" >&2;} + fi + +@@ -8818,10 +8867,10 @@ fi; + # Check whether --with-infocmp-path or --without-infocmp-path was given. + if test "${with_infocmp_path+set}" = set; then + withval="$with_infocmp_path" +- echo "$as_me:8821: checking for infocmp program for fallbacks" >&5 ++ echo "$as_me:8870: checking for infocmp program for fallbacks" >&5 + echo $ECHO_N "checking for infocmp program for fallbacks... $ECHO_C" >&6 + INFOCMP=$withval +- echo "$as_me:8824: result: $INFOCMP" >&5 ++ echo "$as_me:8873: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + + if test "x$prefix" != xNONE; then +@@ -8849,7 +8898,7 @@ case ".$INFOCMP" in + INFOCMP=`echo "$INFOCMP" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:8852: error: expected a pathname, not \"$INFOCMP\"" >&5 ++ { { echo "$as_me:8901: error: expected a pathname, not \"$INFOCMP\"" >&5 + echo "$as_me: error: expected a pathname, not \"$INFOCMP\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -8862,7 +8911,7 @@ for ac_prog in $INFOCMP infocmp + 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:8865: checking for $ac_word" >&5 ++echo "$as_me:8914: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8879,7 +8928,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_INFOCMP="$ac_dir/$ac_word" +- echo "$as_me:8882: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:8931: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -8890,10 +8939,10 @@ fi + INFOCMP=$ac_cv_path_INFOCMP + + if test -n "$INFOCMP"; then +- echo "$as_me:8893: result: $INFOCMP" >&5 ++ echo "$as_me:8942: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + else +- echo "$as_me:8896: result: no" >&5 ++ echo "$as_me:8945: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8952,7 +9001,7 @@ IFS="$cf_save_ifs" + + if test -n "$cf_path_prog" ; then + +-echo "${as_me:-configure}:8955: testing defining path for ${cf_path_prog} ..." 1>&5 ++echo "${as_me:-configure}:9004: testing defining path for ${cf_path_prog} ..." 1>&5 + + cat >>confdefs.h <&5 ++ { echo "$as_me:9019: WARNING: no infocmp program found for fallbacks" >&5 + echo "$as_me: WARNING: no infocmp program found for fallbacks" >&2;} + fi + +@@ -8977,7 +9026,7 @@ fi; + test -z "$INFOCMP" && FALLBACK_LIST= + if test -z "$FALLBACK_LIST" + then +- { echo "$as_me:8980: WARNING: ignoring fallback option because tic/infocmp are not available" >&5 ++ { echo "$as_me:9029: WARNING: ignoring fallback option because tic/infocmp are not available" >&5 + echo "$as_me: WARNING: ignoring fallback option because tic/infocmp are not available" >&2;} + fi + fi +@@ -8985,7 +9034,7 @@ fi + USE_FALLBACKS= + test -z "$FALLBACK_LIST" && USE_FALLBACKS="#" + +-echo "$as_me:8988: checking if you want modern xterm or antique" >&5 ++echo "$as_me:9037: checking if you want modern xterm or antique" >&5 + echo $ECHO_N "checking if you want modern xterm or antique... $ECHO_C" >&6 + + # Check whether --with-xterm-new or --without-xterm-new was given. +@@ -8999,7 +9048,7 @@ case "$with_xterm_new" in + (no) with_xterm_new=xterm-old;; + (*) with_xterm_new=xterm-new;; + esac +-echo "$as_me:9002: result: $with_xterm_new" >&5 ++echo "$as_me:9051: result: $with_xterm_new" >&5 + echo "${ECHO_T}$with_xterm_new" >&6 + WHICH_XTERM=$with_xterm_new + +@@ -9012,7 +9061,7 @@ case $host_os in + ;; + esac + +-echo "$as_me:9015: checking if xterm backspace sends BS or DEL" >&5 ++echo "$as_me:9064: checking if xterm backspace sends BS or DEL" >&5 + echo $ECHO_N "checking if xterm backspace sends BS or DEL... $ECHO_C" >&6 + + # Check whether --with-xterm-kbs or --without-xterm-kbs was given. +@@ -9033,13 +9082,13 @@ case x$with_xterm_kbs in + with_xterm_kbs=$withval + ;; + esac +-echo "$as_me:9036: result: $with_xterm_kbs" >&5 ++echo "$as_me:9085: result: $with_xterm_kbs" >&5 + echo "${ECHO_T}$with_xterm_kbs" >&6 + XTERM_KBS=$with_xterm_kbs + + if test "x$with_xterm_kbs" != "x$want_xterm_kbs" + then +- { echo "$as_me:9042: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&5 ++ { echo "$as_me:9091: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&5 + echo "$as_me: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&2;} + fi + +@@ -9049,7 +9098,7 @@ if test "$use_database" = no ; then + MAKE_TERMINFO="#" + else + +-echo "$as_me:9052: checking for list of terminfo directories" >&5 ++echo "$as_me:9101: checking for list of terminfo directories" >&5 + echo $ECHO_N "checking for list of terminfo directories... $ECHO_C" >&6 + + # Check whether --with-terminfo-dirs or --without-terminfo-dirs was given. +@@ -9089,7 +9138,7 @@ case ".$cf_src_path" in + cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9092: error: expected a pathname, not \"$cf_src_path\"" >&5 ++ { { echo "$as_me:9141: error: expected a pathname, not \"$cf_src_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9112,7 +9161,7 @@ case "x$cf_dst_eval" in + ;; + esac + +-echo "$as_me:9115: result: $TERMINFO_DIRS" >&5 ++echo "$as_me:9164: result: $TERMINFO_DIRS" >&5 + echo "${ECHO_T}$TERMINFO_DIRS" >&6 + test -n "$TERMINFO_DIRS" && + cat >>confdefs.h <&5 ++ { echo "$as_me:9173: WARNING: ignoring non-directory/file TERMINFO value" >&5 + echo "$as_me: WARNING: ignoring non-directory/file TERMINFO value" >&2;} + unset TERMINFO + ;; + esac + +-echo "$as_me:9130: checking for default terminfo directory" >&5 ++echo "$as_me:9179: checking for default terminfo directory" >&5 + echo $ECHO_N "checking for default terminfo directory... $ECHO_C" >&6 + + # Check whether --with-default-terminfo-dir or --without-default-terminfo-dir was given. +@@ -9163,7 +9212,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9166: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:9215: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9172,7 +9221,7 @@ esac + fi + eval TERMINFO="$withval" + +-echo "$as_me:9175: result: $TERMINFO" >&5 ++echo "$as_me:9224: result: $TERMINFO" >&5 + echo "${ECHO_T}$TERMINFO" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:9235: checking if big-core option selected" >&5 + echo $ECHO_N "checking if big-core option selected... $ECHO_C" >&6 + + # Check whether --enable-big-core or --disable-big-core was given. +@@ -9195,7 +9244,7 @@ else + with_big_core=no + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9198 "configure" ++#line 9247 "configure" + #include "confdefs.h" + + #include +@@ -9209,15 +9258,15 @@ int main() { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9212: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9261: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9215: \$? = $ac_status" >&5 ++ echo "$as_me:9264: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9217: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9266: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9220: \$? = $ac_status" >&5 ++ echo "$as_me:9269: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_big_core=yes + else +@@ -9229,7 +9278,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi; +-echo "$as_me:9232: result: $with_big_core" >&5 ++echo "$as_me:9281: result: $with_big_core" >&5 + echo "${ECHO_T}$with_big_core" >&6 + test "x$with_big_core" = "xyes" && + cat >>confdefs.h <<\EOF +@@ -9239,7 +9288,7 @@ EOF + ### ISO C only guarantees 512-char strings, we have tables which load faster + ### when constructed using "big" strings. More than the C compiler, the awk + ### program is a limit on most vendor UNIX systems. Check that we can build. +-echo "$as_me:9242: checking if big-strings option selected" >&5 ++echo "$as_me:9291: checking if big-strings option selected" >&5 + echo $ECHO_N "checking if big-strings option selected... $ECHO_C" >&6 + + # Check whether --enable-big-strings or --disable-big-strings was given. +@@ -9263,14 +9312,14 @@ else + esac + + fi; +-echo "$as_me:9266: result: $with_big_strings" >&5 ++echo "$as_me:9315: result: $with_big_strings" >&5 + echo "${ECHO_T}$with_big_strings" >&6 + + USE_BIG_STRINGS=0 + test "x$with_big_strings" = "xyes" && USE_BIG_STRINGS=1 + + ### use option --enable-termcap to compile in the termcap fallback support +-echo "$as_me:9273: checking if you want termcap-fallback support" >&5 ++echo "$as_me:9322: checking if you want termcap-fallback support" >&5 + echo $ECHO_N "checking if you want termcap-fallback support... $ECHO_C" >&6 + + # Check whether --enable-termcap or --disable-termcap was given. +@@ -9280,14 +9329,14 @@ if test "${enable_termcap+set}" = set; then + else + with_termcap=no + fi; +-echo "$as_me:9283: result: $with_termcap" >&5 ++echo "$as_me:9332: result: $with_termcap" >&5 + echo "${ECHO_T}$with_termcap" >&6 + + NCURSES_USE_TERMCAP=0 + if test "x$with_termcap" != "xyes" ; then + if test "$use_database" = no ; then + if test -z "$with_fallback" ; then +- { { echo "$as_me:9290: error: You have disabled the database w/o specifying fallbacks" >&5 ++ { { echo "$as_me:9339: error: You have disabled the database w/o specifying fallbacks" >&5 + echo "$as_me: error: You have disabled the database w/o specifying fallbacks" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -9300,13 +9349,13 @@ EOF + else + + if test "$with_ticlib" != no ; then +- { { echo "$as_me:9303: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 ++ { { echo "$as_me:9352: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 + echo "$as_me: error: Options --with-ticlib and --enable-termcap cannot be combined" >&2;} + { (exit 1); exit 1; }; } + fi + + NCURSES_USE_TERMCAP=1 +- echo "$as_me:9309: checking for list of termcap files" >&5 ++ echo "$as_me:9358: checking for list of termcap files" >&5 + echo $ECHO_N "checking for list of termcap files... $ECHO_C" >&6 + + # Check whether --with-termpath or --without-termpath was given. +@@ -9346,7 +9395,7 @@ case ".$cf_src_path" in + cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9349: error: expected a pathname, not \"$cf_src_path\"" >&5 ++ { { echo "$as_me:9398: error: expected a pathname, not \"$cf_src_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9369,7 +9418,7 @@ case "x$cf_dst_eval" in + ;; + esac + +- echo "$as_me:9372: result: $TERMPATH" >&5 ++ echo "$as_me:9421: result: $TERMPATH" >&5 + echo "${ECHO_T}$TERMPATH" >&6 + test -n "$TERMPATH" && + cat >>confdefs.h <>confdefs.h <&5 ++ echo "$as_me:9429: checking if fast termcap-loader is needed" >&5 + echo $ECHO_N "checking if fast termcap-loader is needed... $ECHO_C" >&6 + + # Check whether --enable-getcap or --disable-getcap was given. +@@ -9387,14 +9436,14 @@ if test "${enable_getcap+set}" = set; then + else + with_getcap=no + fi; +- echo "$as_me:9390: result: $with_getcap" >&5 ++ echo "$as_me:9439: result: $with_getcap" >&5 + echo "${ECHO_T}$with_getcap" >&6 + test "x$with_getcap" = "xyes" && + cat >>confdefs.h <<\EOF + #define USE_GETCAP 1 + EOF + +- echo "$as_me:9397: checking if translated termcaps will be cached in ~/.terminfo" >&5 ++ echo "$as_me:9446: checking if translated termcaps will be cached in ~/.terminfo" >&5 + echo $ECHO_N "checking if translated termcaps will be cached in ~/.terminfo... $ECHO_C" >&6 + + # Check whether --enable-getcap-cache or --disable-getcap-cache was given. +@@ -9404,7 +9453,7 @@ if test "${enable_getcap_cache+set}" = set; then + else + with_getcap_cache=no + fi; +- echo "$as_me:9407: result: $with_getcap_cache" >&5 ++ echo "$as_me:9456: result: $with_getcap_cache" >&5 + echo "${ECHO_T}$with_getcap_cache" >&6 + test "x$with_getcap_cache" = "xyes" && + cat >>confdefs.h <<\EOF +@@ -9414,7 +9463,7 @@ EOF + fi + + ### Use option --disable-home-terminfo to completely remove ~/.terminfo +-echo "$as_me:9417: checking if ~/.terminfo is wanted" >&5 ++echo "$as_me:9466: checking if ~/.terminfo is wanted" >&5 + echo $ECHO_N "checking if ~/.terminfo is wanted... $ECHO_C" >&6 + + # Check whether --enable-home-terminfo or --disable-home-terminfo was given. +@@ -9424,14 +9473,14 @@ if test "${enable_home_terminfo+set}" = set; then + else + with_home_terminfo=yes + fi; +-echo "$as_me:9427: result: $with_home_terminfo" >&5 ++echo "$as_me:9476: result: $with_home_terminfo" >&5 + echo "${ECHO_T}$with_home_terminfo" >&6 + test "x$with_home_terminfo" = "xyes" && + cat >>confdefs.h <<\EOF + #define USE_HOME_TERMINFO 1 + EOF + +-echo "$as_me:9434: checking if you want to permit root to use ncurses environment variables" >&5 ++echo "$as_me:9483: checking if you want to permit root to use ncurses environment variables" >&5 + echo $ECHO_N "checking if you want to permit root to use ncurses environment variables... $ECHO_C" >&6 + + # Check whether --enable-root-environ or --disable-root-environ was given. +@@ -9441,14 +9490,14 @@ if test "${enable_root_environ+set}" = set; then + else + with_root_environ=yes + fi; +-echo "$as_me:9444: result: $with_root_environ" >&5 ++echo "$as_me:9493: result: $with_root_environ" >&5 + echo "${ECHO_T}$with_root_environ" >&6 + test "x$with_root_environ" = xyes && + cat >>confdefs.h <<\EOF + #define USE_ROOT_ENVIRON 1 + EOF + +-echo "$as_me:9451: checking if you want to permit setuid programs to access all files" >&5 ++echo "$as_me:9500: checking if you want to permit setuid programs to access all files" >&5 + echo $ECHO_N "checking if you want to permit setuid programs to access all files... $ECHO_C" >&6 + + # Check whether --enable-root-environ or --disable-root-environ was given. +@@ -9458,7 +9507,7 @@ if test "${enable_root_environ+set}" = set; then + else + with_root_access=yes + fi; +-echo "$as_me:9461: result: $with_root_access" >&5 ++echo "$as_me:9510: result: $with_root_access" >&5 + echo "${ECHO_T}$with_root_access" >&6 + test "x$with_root_access" = xyes && + cat >>confdefs.h <<\EOF +@@ -9473,23 +9522,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:9476: checking for $ac_header" >&5 ++echo "$as_me:9525: 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 9482 "configure" ++#line 9531 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:9486: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:9535: \"$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:9492: \$? = $ac_status" >&5 ++ echo "$as_me:9541: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -9508,7 +9557,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:9511: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:9560: 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 <&5 ++echo "$as_me:9575: 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 9532 "configure" ++#line 9581 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9560,16 +9609,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9563: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9612: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9566: \$? = $ac_status" >&5 ++ echo "$as_me:9615: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9569: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9618: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9572: \$? = $ac_status" >&5 ++ echo "$as_me:9621: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -9579,7 +9628,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9582: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:9631: 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 <&5 ++echo "$as_me:9648: 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 9605 "configure" ++#line 9654 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9633,16 +9682,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9636: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9685: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9639: \$? = $ac_status" >&5 ++ echo "$as_me:9688: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9642: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9691: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9645: \$? = $ac_status" >&5 ++ echo "$as_me:9694: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -9652,7 +9701,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9655: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:9704: 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 <&5 ++ echo "$as_me:9715: checking if link/symlink functions work" >&5 + echo $ECHO_N "checking if link/symlink functions work... $ECHO_C" >&6 + if test "${cf_cv_link_funcs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9676,7 +9725,7 @@ else + eval 'ac_cv_func_'$cf_func'=error' + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9679 "configure" ++#line 9728 "configure" + #include "confdefs.h" + + #include +@@ -9714,15 +9763,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9717: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9766: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9720: \$? = $ac_status" >&5 ++ echo "$as_me:9769: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9722: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9771: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9725: \$? = $ac_status" >&5 ++ echo "$as_me:9774: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_link_funcs="$cf_cv_link_funcs $cf_func" +@@ -9740,7 +9789,7 @@ fi + test -z "$cf_cv_link_funcs" && cf_cv_link_funcs=no + + fi +-echo "$as_me:9743: result: $cf_cv_link_funcs" >&5 ++echo "$as_me:9792: result: $cf_cv_link_funcs" >&5 + echo "${ECHO_T}$cf_cv_link_funcs" >&6 + test "$ac_cv_func_link" = yes && + cat >>confdefs.h <<\EOF +@@ -9760,7 +9809,7 @@ with_symlinks=no + # soft links (symbolic links) are useful for some systems where hard links do + # not work, or to make it simpler to copy terminfo trees around. + if test "x$ac_cv_func_symlink" = xyes ; then +- echo "$as_me:9763: checking if tic should use symbolic links" >&5 ++ echo "$as_me:9812: checking if tic should use symbolic links" >&5 + echo $ECHO_N "checking if tic should use symbolic links... $ECHO_C" >&6 + + # Check whether --enable-symlinks or --disable-symlinks was given. +@@ -9770,21 +9819,21 @@ if test "${enable_symlinks+set}" = set; then + else + with_symlinks=no + fi; +- echo "$as_me:9773: result: $with_symlinks" >&5 ++ echo "$as_me:9822: result: $with_symlinks" >&5 + echo "${ECHO_T}$with_symlinks" >&6 + fi + + # If we have hard links and did not choose to use soft links instead, there is + # no reason to make this choice optional - use the hard links. + if test "$with_symlinks" = no ; then +- echo "$as_me:9780: checking if tic should use hard links" >&5 ++ echo "$as_me:9829: checking if tic should use hard links" >&5 + echo $ECHO_N "checking if tic should use hard links... $ECHO_C" >&6 + if test "x$ac_cv_func_link" = xyes ; then + with_links=yes + else + with_links=no + fi +- echo "$as_me:9787: result: $with_links" >&5 ++ echo "$as_me:9836: result: $with_links" >&5 + echo "${ECHO_T}$with_links" >&6 + fi + +@@ -9800,7 +9849,7 @@ EOF + + ### use option --enable-broken-linker to force on use of broken-linker support + +-echo "$as_me:9803: checking if you want broken-linker support code" >&5 ++echo "$as_me:9852: checking if you want broken-linker support code" >&5 + echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 + + # Check whether --enable-broken_linker or --disable-broken_linker was given. +@@ -9810,7 +9859,7 @@ if test "${enable_broken_linker+set}" = set; then + else + with_broken_linker=no + fi; +-echo "$as_me:9813: result: $with_broken_linker" >&5 ++echo "$as_me:9862: result: $with_broken_linker" >&5 + echo "${ECHO_T}$with_broken_linker" >&6 + + : "${BROKEN_LINKER:=0}" +@@ -9824,7 +9873,7 @@ EOF + fi + + ### use option --enable-bsdpad to have tputs process BSD-style prefix padding +-echo "$as_me:9827: checking if tputs should process BSD-style prefix padding" >&5 ++echo "$as_me:9876: checking if tputs should process BSD-style prefix padding" >&5 + echo $ECHO_N "checking if tputs should process BSD-style prefix padding... $ECHO_C" >&6 + + # Check whether --enable-bsdpad or --disable-bsdpad was given. +@@ -9834,7 +9883,7 @@ if test "${enable_bsdpad+set}" = set; then + else + with_bsdpad=no + fi; +-echo "$as_me:9837: result: $with_bsdpad" >&5 ++echo "$as_me:9886: result: $with_bsdpad" >&5 + echo "${ECHO_T}$with_bsdpad" >&6 + test "x$with_bsdpad" = xyes && + cat >>confdefs.h <<\EOF +@@ -9853,14 +9902,14 @@ NCURSES_WINT_T=0 + # Check to define _XOPEN_SOURCE "automatically" + CPPFLAGS_before_XOPEN="$CPPFLAGS" + +-echo "$as_me:9856: checking if the POSIX test-macros are already defined" >&5 ++echo "$as_me:9905: checking if the POSIX test-macros are already defined" >&5 + echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 + if test "${cf_cv_posix_visible+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9863 "configure" ++#line 9912 "configure" + #include "confdefs.h" + #include + int +@@ -9879,16 +9928,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9882: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:9931: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9885: \$? = $ac_status" >&5 ++ echo "$as_me:9934: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9888: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9937: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9891: \$? = $ac_status" >&5 ++ echo "$as_me:9940: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_visible=no + else +@@ -9899,7 +9948,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:9902: result: $cf_cv_posix_visible" >&5 ++echo "$as_me:9951: result: $cf_cv_posix_visible" >&5 + echo "${ECHO_T}$cf_cv_posix_visible" >&6 + + if test "$cf_cv_posix_visible" = no; then +@@ -9944,14 +9993,14 @@ case "$host_os" in + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-echo "$as_me:9947: checking if this is the GNU C library" >&5 ++echo "$as_me:9996: checking if this is the GNU C library" >&5 + echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 + if test "${cf_cv_gnu_library+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9954 "configure" ++#line 10003 "configure" + #include "confdefs.h" + #include + int +@@ -9970,16 +10019,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9973: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10022: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9976: \$? = $ac_status" >&5 ++ echo "$as_me:10025: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9979: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10028: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9982: \$? = $ac_status" >&5 ++ echo "$as_me:10031: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library=yes + else +@@ -9990,7 +10039,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:9993: result: $cf_cv_gnu_library" >&5 ++echo "$as_me:10042: result: $cf_cv_gnu_library" >&5 + echo "${ECHO_T}$cf_cv_gnu_library" >&6 + + if test x$cf_cv_gnu_library = xyes; then +@@ -9998,7 +10047,7 @@ if test x$cf_cv_gnu_library = xyes; then + # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE + # was changed to help a little. newlib incorporated the change about 4 + # years later. +- echo "$as_me:10001: checking if _DEFAULT_SOURCE can be used as a basis" >&5 ++ echo "$as_me:10050: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 + if test "${cf_cv_gnu_library_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10010,7 +10059,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10013 "configure" ++#line 10062 "configure" + #include "confdefs.h" + #include + int +@@ -10029,16 +10078,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10032: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10081: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10035: \$? = $ac_status" >&5 ++ echo "$as_me:10084: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10038: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10087: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10041: \$? = $ac_status" >&5 ++ echo "$as_me:10090: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library_219=yes + else +@@ -10050,12 +10099,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save" + + fi +-echo "$as_me:10053: result: $cf_cv_gnu_library_219" >&5 ++echo "$as_me:10102: result: $cf_cv_gnu_library_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 + + if test "x$cf_cv_gnu_library_219" = xyes; then + cf_save="$CPPFLAGS" +- echo "$as_me:10058: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 ++ echo "$as_me:10107: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_dftsrc_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10160,7 +10209,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10163 "configure" ++#line 10212 "configure" + #include "confdefs.h" + + #include +@@ -10180,16 +10229,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10183: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10232: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10186: \$? = $ac_status" >&5 ++ echo "$as_me:10235: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10189: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10238: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10192: \$? = $ac_status" >&5 ++ echo "$as_me:10241: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_dftsrc_219=yes + else +@@ -10200,7 +10249,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10203: result: $cf_cv_gnu_dftsrc_219" >&5 ++echo "$as_me:10252: result: $cf_cv_gnu_dftsrc_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" + else +@@ -10209,14 +10258,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + + if test "x$cf_cv_gnu_dftsrc_219" != xyes; then + +- echo "$as_me:10212: checking if we must define _GNU_SOURCE" >&5 ++ echo "$as_me:10261: 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 10219 "configure" ++#line 10268 "configure" + #include "confdefs.h" + #include + int +@@ -10231,16 +10280,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10234: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10283: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10237: \$? = $ac_status" >&5 ++ echo "$as_me:10286: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10240: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10289: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10243: \$? = $ac_status" >&5 ++ echo "$as_me:10292: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -10347,7 +10396,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10350 "configure" ++#line 10399 "configure" + #include "confdefs.h" + #include + int +@@ -10362,16 +10411,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10365: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10414: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10368: \$? = $ac_status" >&5 ++ echo "$as_me:10417: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10371: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10420: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10374: \$? = $ac_status" >&5 ++ echo "$as_me:10423: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -10386,12 +10435,12 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10389: result: $cf_cv_gnu_source" >&5 ++echo "$as_me:10438: result: $cf_cv_gnu_source" >&5 + echo "${ECHO_T}$cf_cv_gnu_source" >&6 + + if test "$cf_cv_gnu_source" = yes + then +- echo "$as_me:10394: checking if we should also define _DEFAULT_SOURCE" >&5 ++ echo "$as_me:10443: checking if we should also define _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_default_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10401,7 +10450,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10404 "configure" ++#line 10453 "configure" + #include "confdefs.h" + #include + int +@@ -10416,16 +10465,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10419: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10468: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10422: \$? = $ac_status" >&5 ++ echo "$as_me:10471: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10425: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10474: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10428: \$? = $ac_status" >&5 ++ echo "$as_me:10477: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_default_source=no + else +@@ -10436,7 +10485,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10439: result: $cf_cv_default_source" >&5 ++echo "$as_me:10488: result: $cf_cv_default_source" >&5 + echo "${ECHO_T}$cf_cv_default_source" >&6 + if test "$cf_cv_default_source" = yes + then +@@ -10473,16 +10522,16 @@ 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:10476: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:10525: 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}:10482: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:10531: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10485 "configure" ++#line 10534 "configure" + #include "confdefs.h" + #include + int +@@ -10497,16 +10546,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10500: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10549: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10503: \$? = $ac_status" >&5 ++ echo "$as_me:10552: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10506: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10555: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10509: \$? = $ac_status" >&5 ++ echo "$as_me:10558: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -10527,7 +10576,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10530 "configure" ++#line 10579 "configure" + #include "confdefs.h" + #include + int +@@ -10542,16 +10591,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10545: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10594: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10548: \$? = $ac_status" >&5 ++ echo "$as_me:10597: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10551: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10600: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10554: \$? = $ac_status" >&5 ++ echo "$as_me:10603: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10562,7 +10611,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:10565: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:10614: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -10570,10 +10619,10 @@ echo "${as_me:-configure}:10565: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:10573: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:10622: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10576 "configure" ++#line 10625 "configure" + #include "confdefs.h" + #include + int +@@ -10588,16 +10637,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10591: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10640: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10594: \$? = $ac_status" >&5 ++ echo "$as_me:10643: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10597: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10646: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10600: \$? = $ac_status" >&5 ++ echo "$as_me:10649: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10613,7 +10662,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10616: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:10665: 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 +@@ -10730,7 +10779,7 @@ fi # cf_cv_posix_visible + # OpenBSD 6.x has broken locale support, both compile-time and runtime. + # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html + # Abusing the conformance level is a workaround. +- { echo "$as_me:10733: WARNING: this system does not provide usable locale support" >&5 ++ { echo "$as_me:10782: WARNING: this system does not provide usable locale support" >&5 + echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + cf_xopen_source="-D_BSD_SOURCE" + cf_XOPEN_SOURCE=700 +@@ -10762,14 +10811,14 @@ echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + ;; + (*) + +-echo "$as_me:10765: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:10814: 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 10772 "configure" ++#line 10821 "configure" + #include "confdefs.h" + + #include +@@ -10789,16 +10838,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10792: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10841: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10795: \$? = $ac_status" >&5 ++ echo "$as_me:10844: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10798: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10847: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10801: \$? = $ac_status" >&5 ++ echo "$as_me:10850: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -10810,7 +10859,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10813 "configure" ++#line 10862 "configure" + #include "confdefs.h" + + #include +@@ -10830,16 +10879,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10833: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10882: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10836: \$? = $ac_status" >&5 ++ echo "$as_me:10885: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10839: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10888: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10842: \$? = $ac_status" >&5 ++ echo "$as_me:10891: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -10854,7 +10903,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10857: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:10906: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -11014,16 +11063,16 @@ 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:11017: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:11066: 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}:11023: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:11072: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11026 "configure" ++#line 11075 "configure" + #include "confdefs.h" + #include + int +@@ -11038,16 +11087,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11041: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11090: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11044: \$? = $ac_status" >&5 ++ echo "$as_me:11093: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11047: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11096: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11050: \$? = $ac_status" >&5 ++ echo "$as_me:11099: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -11068,7 +11117,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11071 "configure" ++#line 11120 "configure" + #include "confdefs.h" + #include + int +@@ -11083,16 +11132,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11086: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11135: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11089: \$? = $ac_status" >&5 ++ echo "$as_me:11138: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11092: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11141: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11095: \$? = $ac_status" >&5 ++ echo "$as_me:11144: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -11103,7 +11152,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:11106: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:11155: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -11111,10 +11160,10 @@ echo "${as_me:-configure}:11106: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:11114: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:11163: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11117 "configure" ++#line 11166 "configure" + #include "confdefs.h" + #include + int +@@ -11129,16 +11178,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11132: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11181: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11135: \$? = $ac_status" >&5 ++ echo "$as_me:11184: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11138: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11187: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11141: \$? = $ac_status" >&5 ++ echo "$as_me:11190: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -11154,7 +11203,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11157: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:11206: 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 +@@ -11266,10 +11315,10 @@ fi # cf_cv_posix_visible + # Some of these niche implementations use copy/paste, double-check... + test -n "$verbose" && echo " checking if _POSIX_C_SOURCE inteferes" 1>&6 + +-echo "${as_me:-configure}:11269: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 ++echo "${as_me:-configure}:11318: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11272 "configure" ++#line 11321 "configure" + #include "confdefs.h" + + #include +@@ -11289,23 +11338,23 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11292: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11341: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11295: \$? = $ac_status" >&5 ++ echo "$as_me:11344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11301: \$? = $ac_status" >&5 ++ echo "$as_me:11350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { echo "$as_me:11308: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 ++ { echo "$as_me:11357: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} + CPPFLAGS="$cf_save_xopen_cppflags" + fi +@@ -11327,7 +11376,7 @@ do + test "$CFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 + +-echo "${as_me:-configure}:11330: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:11379: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 + + CFLAGS="$cf_old_cflag" + done +@@ -11339,7 +11388,7 @@ do + test "$CPPFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:11342: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:11391: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_old_cflag" + done +@@ -11427,7 +11476,7 @@ done + if test -n "$cf_new_cflags" ; then + test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 + +-echo "${as_me:-configure}:11430: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 ++echo "${as_me:-configure}:11479: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_new_cflags" +@@ -11437,7 +11486,7 @@ fi + if test -n "$cf_new_cppflags" ; then + test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 + +-echo "${as_me:-configure}:11440: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 ++echo "${as_me:-configure}:11489: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" +@@ -11447,7 +11496,7 @@ fi + if test -n "$cf_new_extra_cppflags" ; then + test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 + +-echo "${as_me:-configure}:11450: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 ++echo "${as_me:-configure}:11499: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 + + test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " + EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" +@@ -11459,10 +11508,10 @@ done + fi + + if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then +- echo "$as_me:11462: checking if _XOPEN_SOURCE really is set" >&5 ++ echo "$as_me:11511: 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 11465 "configure" ++#line 11514 "configure" + #include "confdefs.h" + #include + int +@@ -11477,16 +11526,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11480: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11529: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11483: \$? = $ac_status" >&5 ++ echo "$as_me:11532: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11486: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11535: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11489: \$? = $ac_status" >&5 ++ echo "$as_me:11538: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set=yes + else +@@ -11495,12 +11544,12 @@ cat "conftest.$ac_ext" >&5 + cf_XOPEN_SOURCE_set=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:11498: result: $cf_XOPEN_SOURCE_set" >&5 ++ echo "$as_me:11547: 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 11503 "configure" ++#line 11552 "configure" + #include "confdefs.h" + #include + int +@@ -11515,16 +11564,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11518: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11567: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11521: \$? = $ac_status" >&5 ++ echo "$as_me:11570: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11524: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11573: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11527: \$? = $ac_status" >&5 ++ echo "$as_me:11576: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set_ok=yes + else +@@ -11535,19 +11584,19 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no + then +- { echo "$as_me:11538: WARNING: _XOPEN_SOURCE is lower than requested" >&5 ++ { echo "$as_me:11587: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} + fi + else + +-echo "$as_me:11543: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:11592: 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 11550 "configure" ++#line 11599 "configure" + #include "confdefs.h" + + #include +@@ -11567,16 +11616,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11570: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11619: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11573: \$? = $ac_status" >&5 ++ echo "$as_me:11622: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11576: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11625: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11579: \$? = $ac_status" >&5 ++ echo "$as_me:11628: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -11588,7 +11637,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11591 "configure" ++#line 11640 "configure" + #include "confdefs.h" + + #include +@@ -11608,16 +11657,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11611: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11660: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11614: \$? = $ac_status" >&5 ++ echo "$as_me:11663: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11617: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11666: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11620: \$? = $ac_status" >&5 ++ echo "$as_me:11669: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -11632,7 +11681,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11635: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:11684: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -11783,14 +11832,14 @@ CPPFLAGS_after_XOPEN="$CPPFLAGS" + + # Work around breakage on OS X + +-echo "$as_me:11786: checking if SIGWINCH is defined" >&5 ++echo "$as_me:11835: checking if SIGWINCH is defined" >&5 + echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6 + if test "${cf_cv_define_sigwinch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11793 "configure" ++#line 11842 "configure" + #include "confdefs.h" + + #include +@@ -11805,23 +11854,23 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11808: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11857: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11811: \$? = $ac_status" >&5 ++ echo "$as_me:11860: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11814: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11863: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11817: \$? = $ac_status" >&5 ++ echo "$as_me:11866: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_define_sigwinch=yes + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11824 "configure" ++#line 11873 "configure" + #include "confdefs.h" + + #undef _XOPEN_SOURCE +@@ -11839,16 +11888,16 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11842: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11891: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11845: \$? = $ac_status" >&5 ++ echo "$as_me:11894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11848: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11851: \$? = $ac_status" >&5 ++ echo "$as_me:11900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_define_sigwinch=maybe + else +@@ -11862,11 +11911,11 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11865: result: $cf_cv_define_sigwinch" >&5 ++echo "$as_me:11914: result: $cf_cv_define_sigwinch" >&5 + echo "${ECHO_T}$cf_cv_define_sigwinch" >&6 + + if test "$cf_cv_define_sigwinch" = maybe ; then +-echo "$as_me:11869: checking for actual SIGWINCH definition" >&5 ++echo "$as_me:11918: checking for actual SIGWINCH definition" >&5 + echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6 + if test "${cf_cv_fixup_sigwinch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11877,7 +11926,7 @@ cf_sigwinch=32 + while test "$cf_sigwinch" != 1 + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11880 "configure" ++#line 11929 "configure" + #include "confdefs.h" + + #undef _XOPEN_SOURCE +@@ -11899,16 +11948,16 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11902: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11951: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11905: \$? = $ac_status" >&5 ++ echo "$as_me:11954: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11908: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11957: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11911: \$? = $ac_status" >&5 ++ echo "$as_me:11960: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fixup_sigwinch=$cf_sigwinch + break +@@ -11922,7 +11971,7 @@ cf_sigwinch="`expr "$cf_sigwinch" - 1`" + done + + fi +-echo "$as_me:11925: result: $cf_cv_fixup_sigwinch" >&5 ++echo "$as_me:11974: result: $cf_cv_fixup_sigwinch" >&5 + echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6 + + if test "$cf_cv_fixup_sigwinch" != unknown ; then +@@ -11932,13 +11981,13 @@ fi + + # Checks for CODESET support. + +-echo "$as_me:11935: checking for nl_langinfo and CODESET" >&5 ++echo "$as_me:11984: 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 11941 "configure" ++#line 11990 "configure" + #include "confdefs.h" + #include + int +@@ -11950,16 +11999,16 @@ char* cs = nl_langinfo(CODESET); (void)cs + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11953: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12002: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11956: \$? = $ac_status" >&5 ++ echo "$as_me:12005: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11959: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12008: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11962: \$? = $ac_status" >&5 ++ echo "$as_me:12011: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + am_cv_langinfo_codeset=yes + else +@@ -11970,7 +12019,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:11973: result: $am_cv_langinfo_codeset" >&5 ++echo "$as_me:12022: result: $am_cv_langinfo_codeset" >&5 + echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 + if test "$am_cv_langinfo_codeset" = yes; then + +@@ -11984,7 +12033,7 @@ EOF + NCURSES_OK_WCHAR_T= + NCURSES_OK_WINT_T= + +-echo "$as_me:11987: checking if you want wide-character code" >&5 ++echo "$as_me:12036: checking if you want wide-character code" >&5 + echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 + + # Check whether --enable-widec or --disable-widec was given. +@@ -11994,7 +12043,7 @@ if test "${enable_widec+set}" = set; then + else + with_widec=no + fi; +-echo "$as_me:11997: result: $with_widec" >&5 ++echo "$as_me:12046: result: $with_widec" >&5 + echo "${ECHO_T}$with_widec" >&6 + + NCURSES_WCWIDTH_GRAPHICS=1 +@@ -12016,7 +12065,7 @@ EOF + (*_XOPEN_SOURCE=*) + ;; + (*) +- { echo "$as_me:12019: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&5 ++ { echo "$as_me:12068: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&2;} + # CPPFLAGS="$CPPFLAGS -DNCURSES_WIDECHAR" + CPPFLAGS_after_XOPEN="$CPPFLAGS_after_XOPEN -DNCURSES_WIDECHAR" +@@ -12029,23 +12078,23 @@ wctype.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:12032: checking for $ac_header" >&5 ++echo "$as_me:12081: 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 12038 "configure" ++#line 12087 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:12042: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:12091: \"$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:12048: \$? = $ac_status" >&5 ++ echo "$as_me:12097: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -12064,7 +12113,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:12067: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:12116: 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 <&5 ++echo "$as_me:12126: checking if wchar.h can be used as is" >&5 + echo $ECHO_N "checking if wchar.h can be used as is... $ECHO_C" >&6 + if test "${cf_cv_wchar_h_okay+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12084 "configure" ++#line 12133 "configure" + #include "confdefs.h" + + #include +@@ -12103,16 +12152,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12106: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12155: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12109: \$? = $ac_status" >&5 ++ echo "$as_me:12158: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12112: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12161: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12115: \$? = $ac_status" >&5 ++ echo "$as_me:12164: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_h_okay=yes + else +@@ -12122,16 +12171,16 @@ cf_cv_wchar_h_okay=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:12125: result: $cf_cv_wchar_h_okay" >&5 ++echo "$as_me:12174: result: $cf_cv_wchar_h_okay" >&5 + echo "${ECHO_T}$cf_cv_wchar_h_okay" >&6 + + if test "$cf_cv_wchar_h_okay" = no + then + +-echo "$as_me:12131: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 ++echo "$as_me:12180: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 + echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12134 "configure" ++#line 12183 "configure" + #include "confdefs.h" + #include + +@@ -12147,16 +12196,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12150: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12199: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12153: \$? = $ac_status" >&5 ++ echo "$as_me:12202: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12156: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12205: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12159: \$? = $ac_status" >&5 ++ echo "$as_me:12208: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_result=no + else +@@ -12165,16 +12214,16 @@ cat "conftest.$ac_ext" >&5 + cf_result=yes + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-echo "$as_me:12168: result: $cf_result" >&5 ++echo "$as_me:12217: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + + if test "$cf_result" = yes ; then + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" + elif test "x" != "x" ; then +- echo "$as_me:12174: checking checking for compatible value versus " >&5 ++ echo "$as_me:12223: checking checking for compatible value versus " >&5 + echo $ECHO_N "checking checking for compatible value versus ... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12177 "configure" ++#line 12226 "configure" + #include "confdefs.h" + #include + +@@ -12190,16 +12239,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12193: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12242: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12196: \$? = $ac_status" >&5 ++ echo "$as_me:12245: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12199: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12248: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12202: \$? = $ac_status" >&5 ++ echo "$as_me:12251: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_result=yes + else +@@ -12208,7 +12257,7 @@ cat "conftest.$ac_ext" >&5 + cf_result=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:12211: result: $cf_result" >&5 ++ echo "$as_me:12260: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + if test "$cf_result" = no ; then + # perhaps we can override it - try... +@@ -12218,7 +12267,7 @@ fi + + fi + +-echo "$as_me:12221: checking if wcwidth agrees graphics are single-width" >&5 ++echo "$as_me:12270: checking if wcwidth agrees graphics are single-width" >&5 + echo $ECHO_N "checking if wcwidth agrees graphics are single-width... $ECHO_C" >&6 + if test "${cf_cv_wcwidth_graphics+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12289,7 +12338,7 @@ if test "$cross_compiling" = yes; then + cf_cv_wcwidth_graphics=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12292 "configure" ++#line 12341 "configure" + #include "confdefs.h" + + #include +@@ -12333,15 +12382,15 @@ main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:12336: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12385: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12339: \$? = $ac_status" >&5 ++ echo "$as_me:12388: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:12341: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12390: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12344: \$? = $ac_status" >&5 ++ echo "$as_me:12393: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wcwidth_graphics=yes + else +@@ -12354,7 +12403,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:12357: result: $cf_cv_wcwidth_graphics" >&5 ++echo "$as_me:12406: result: $cf_cv_wcwidth_graphics" >&5 + echo "${ECHO_T}$cf_cv_wcwidth_graphics" >&6 + + test "$cf_cv_wcwidth_graphics" = no && NCURSES_WCWIDTH_GRAPHICS=0 +@@ -12365,13 +12414,13 @@ echo "${ECHO_T}$cf_cv_wcwidth_graphics" >&6 + for ac_func in putwc btowc wctob wmemchr mbtowc wctomb mblen mbrlen mbrtowc wcsrtombs mbsrtowcs wcstombs mbstowcs + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:12368: checking for $ac_func" >&5 ++echo "$as_me:12417: 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 12374 "configure" ++#line 12423 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -12402,16 +12451,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12405: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12454: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12408: \$? = $ac_status" >&5 ++ echo "$as_me:12457: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12411: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12460: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12414: \$? = $ac_status" >&5 ++ echo "$as_me:12463: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -12421,7 +12470,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:12424: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:12473: 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 <&5 ++echo "$as_me:12488: 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 12445 "configure" ++#line 12494 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:12449: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:12498: \"$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:12455: \$? = $ac_status" >&5 ++ echo "$as_me:12504: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -12471,7 +12520,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:12474: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:12523: 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 <&5 ++echo "$as_me:12533: 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 +@@ -12489,7 +12538,7 @@ else + + cf_save_LIBS="$LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12492 "configure" ++#line 12541 "configure" + #include "confdefs.h" + + #include +@@ -12507,16 +12556,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12510: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12559: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12513: \$? = $ac_status" >&5 ++ echo "$as_me:12562: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12516: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12565: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12519: \$? = $ac_status" >&5 ++ echo "$as_me:12568: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_utf8_lib=yes + else +@@ -12528,12 +12577,12 @@ cat "conftest.$ac_ext" >&5 + cf_cv_header_path_utf8= + cf_cv_library_path_utf8= + +-echo "${as_me:-configure}:12531: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12580: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12536 "configure" ++#line 12585 "configure" + #include "confdefs.h" + + #include +@@ -12546,16 +12595,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12549: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12598: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12552: \$? = $ac_status" >&5 ++ echo "$as_me:12601: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12555: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12604: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12558: \$? = $ac_status" >&5 ++ echo "$as_me:12607: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -12569,7 +12618,7 @@ cat "conftest.$ac_ext" >&5 + LIBS="-lutf8 $cf_save_LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12572 "configure" ++#line 12621 "configure" + #include "confdefs.h" + + #include +@@ -12582,16 +12631,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12585: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12634: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12588: \$? = $ac_status" >&5 ++ echo "$as_me:12637: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12591: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12640: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12594: \$? = $ac_status" >&5 ++ echo "$as_me:12643: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -12608,9 +12657,9 @@ cat "conftest.$ac_ext" >&5 + + test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 + +-echo "${as_me:-configure}:12611: testing find linkage for utf8 library ..." 1>&5 ++echo "${as_me:-configure}:12660: testing find linkage for utf8 library ..." 1>&5 + +-echo "${as_me:-configure}:12613: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12662: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_CPPFLAGS="$CPPFLAGS" + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -12701,7 +12750,7 @@ cf_search="$cf_search $cf_header_path_list" + 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}:12704: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12753: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_save_CPPFLAGS" + +@@ -12709,7 +12758,7 @@ echo "${as_me:-configure}:12704: testing ... testing $cf_cv_header_path_utf8 ... + CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12712 "configure" ++#line 12761 "configure" + #include "confdefs.h" + + #include +@@ -12722,21 +12771,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12725: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12774: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12728: \$? = $ac_status" >&5 ++ echo "$as_me:12777: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12731: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12780: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12734: \$? = $ac_status" >&5 ++ echo "$as_me:12783: \$? = $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}:12739: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12788: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=maybe + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -12754,7 +12803,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + if test "$cf_cv_find_linkage_utf8" = maybe ; then + +-echo "${as_me:-configure}:12757: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12806: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + cf_save_LDFLAGS="$LDFLAGS" +@@ -12829,13 +12878,13 @@ cf_search="$cf_library_path_list $cf_search" + 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}:12832: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12881: 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 12838 "configure" ++#line 12887 "configure" + #include "confdefs.h" + + #include +@@ -12848,21 +12897,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12851: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12900: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12854: \$? = $ac_status" >&5 ++ echo "$as_me:12903: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12857: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12906: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12860: \$? = $ac_status" >&5 ++ echo "$as_me:12909: \$? = $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}:12865: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12914: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=yes + cf_cv_library_file_utf8="-lutf8" +@@ -12904,7 +12953,7 @@ fi + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:12907: result: $cf_cv_utf8_lib" >&5 ++echo "$as_me:12956: 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 +@@ -12942,7 +12991,7 @@ if test -n "$cf_cv_header_path_utf8" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12945 "configure" ++#line 12994 "configure" + #include "confdefs.h" + #include + int +@@ -12954,16 +13003,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12957: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13006: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12960: \$? = $ac_status" >&5 ++ echo "$as_me:13009: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12963: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13012: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12966: \$? = $ac_status" >&5 ++ echo "$as_me:13015: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -12980,7 +13029,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:12983: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:13032: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -13016,7 +13065,7 @@ if test -n "$cf_cv_library_path_utf8" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:13019: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:13068: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -13048,14 +13097,14 @@ fi + fi + + # This is needed on Tru64 5.0 to declare mbstate_t +-echo "$as_me:13051: checking if we must include wchar.h to declare mbstate_t" >&5 ++echo "$as_me:13100: 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 13058 "configure" ++#line 13107 "configure" + #include "confdefs.h" + + #include +@@ -13073,23 +13122,23 @@ mbstate_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13076: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13125: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13079: \$? = $ac_status" >&5 ++ echo "$as_me:13128: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13082: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13131: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13085: \$? = $ac_status" >&5 ++ echo "$as_me:13134: \$? = $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 13092 "configure" ++#line 13141 "configure" + #include "confdefs.h" + + #include +@@ -13108,16 +13157,16 @@ mbstate_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13111: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13160: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13114: \$? = $ac_status" >&5 ++ echo "$as_me:13163: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13117: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13166: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13120: \$? = $ac_status" >&5 ++ echo "$as_me:13169: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_mbstate_t=yes + else +@@ -13129,7 +13178,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13132: result: $cf_cv_mbstate_t" >&5 ++echo "$as_me:13181: result: $cf_cv_mbstate_t" >&5 + echo "${ECHO_T}$cf_cv_mbstate_t" >&6 + + if test "$cf_cv_mbstate_t" = yes ; then +@@ -13147,14 +13196,14 @@ if test "$cf_cv_mbstate_t" = unknown ; then + fi + + # This is needed on Tru64 5.0 to declare wchar_t +-echo "$as_me:13150: checking if we must include wchar.h to declare wchar_t" >&5 ++echo "$as_me:13199: checking if we must include wchar.h to declare wchar_t" >&5 + echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6 + if test "${cf_cv_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13157 "configure" ++#line 13206 "configure" + #include "confdefs.h" + + #include +@@ -13172,23 +13221,23 @@ wchar_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13175: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13224: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13178: \$? = $ac_status" >&5 ++ echo "$as_me:13227: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13181: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13230: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13184: \$? = $ac_status" >&5 ++ echo "$as_me:13233: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_t=no + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13191 "configure" ++#line 13240 "configure" + #include "confdefs.h" + + #include +@@ -13207,16 +13256,16 @@ wchar_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13210: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13259: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13213: \$? = $ac_status" >&5 ++ echo "$as_me:13262: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13216: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13265: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13219: \$? = $ac_status" >&5 ++ echo "$as_me:13268: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_t=yes + else +@@ -13228,7 +13277,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13231: result: $cf_cv_wchar_t" >&5 ++echo "$as_me:13280: result: $cf_cv_wchar_t" >&5 + echo "${ECHO_T}$cf_cv_wchar_t" >&6 + + if test "$cf_cv_wchar_t" = yes ; then +@@ -13251,14 +13300,14 @@ if test "$cf_cv_wchar_t" != unknown ; then + fi + + # This is needed on Tru64 5.0 to declare wint_t +-echo "$as_me:13254: checking if we must include wchar.h to declare wint_t" >&5 ++echo "$as_me:13303: checking if we must include wchar.h to declare wint_t" >&5 + echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6 + if test "${cf_cv_wint_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13261 "configure" ++#line 13310 "configure" + #include "confdefs.h" + + #include +@@ -13276,23 +13325,23 @@ wint_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13279: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13328: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13282: \$? = $ac_status" >&5 ++ echo "$as_me:13331: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13285: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13334: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13288: \$? = $ac_status" >&5 ++ echo "$as_me:13337: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wint_t=no + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13295 "configure" ++#line 13344 "configure" + #include "confdefs.h" + + #include +@@ -13311,16 +13360,16 @@ wint_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13314: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13363: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13317: \$? = $ac_status" >&5 ++ echo "$as_me:13366: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13320: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13369: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13323: \$? = $ac_status" >&5 ++ echo "$as_me:13372: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wint_t=yes + else +@@ -13332,7 +13381,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13335: result: $cf_cv_wint_t" >&5 ++echo "$as_me:13384: result: $cf_cv_wint_t" >&5 + echo "${ECHO_T}$cf_cv_wint_t" >&6 + + if test "$cf_cv_wint_t" = yes ; then +@@ -13364,7 +13413,7 @@ EOF + fi + + ### use option --disable-lp64 to allow long chtype +-echo "$as_me:13367: checking whether to enable _LP64 definition in curses.h" >&5 ++echo "$as_me:13416: checking whether to enable _LP64 definition in curses.h" >&5 + echo $ECHO_N "checking whether to enable _LP64 definition in curses.h... $ECHO_C" >&6 + + # Check whether --enable-lp64 or --disable-lp64 was given. +@@ -13374,7 +13423,7 @@ if test "${enable_lp64+set}" = set; then + else + with_lp64=$cf_dft_with_lp64 + fi; +-echo "$as_me:13377: result: $with_lp64" >&5 ++echo "$as_me:13426: result: $with_lp64" >&5 + echo "${ECHO_T}$with_lp64" >&6 + + if test "x$with_lp64" = xyes ; then +@@ -13390,7 +13439,7 @@ if test "${enable_largefile+set}" = set; then + fi; + if test "$enable_largefile" != no; then + +- echo "$as_me:13393: checking for special C compiler options needed for large files" >&5 ++ echo "$as_me:13442: 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 +@@ -13402,7 +13451,7 @@ else + # 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 13405 "configure" ++#line 13454 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13422,16 +13471,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13425: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13474: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13428: \$? = $ac_status" >&5 ++ echo "$as_me:13477: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13431: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13480: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13434: \$? = $ac_status" >&5 ++ echo "$as_me:13483: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13441,16 +13490,16 @@ fi + rm -f "conftest.$ac_objext" + CC="$CC -n32" + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13444: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13493: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13447: \$? = $ac_status" >&5 ++ echo "$as_me:13496: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13450: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13499: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13453: \$? = $ac_status" >&5 ++ echo "$as_me:13502: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break + else +@@ -13464,13 +13513,13 @@ rm -f "conftest.$ac_objext" + rm -f "conftest.$ac_ext" + fi + fi +-echo "$as_me:13467: result: $ac_cv_sys_largefile_CC" >&5 ++echo "$as_me:13516: 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:13473: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ echo "$as_me:13522: 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 +@@ -13478,7 +13527,7 @@ else + while :; do + ac_cv_sys_file_offset_bits=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13481 "configure" ++#line 13530 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13498,16 +13547,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13501: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13550: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13504: \$? = $ac_status" >&5 ++ echo "$as_me:13553: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13507: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13556: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13510: \$? = $ac_status" >&5 ++ echo "$as_me:13559: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13516,7 +13565,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13519 "configure" ++#line 13568 "configure" + #include "confdefs.h" + #define _FILE_OFFSET_BITS 64 + #include +@@ -13537,16 +13586,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13540: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13589: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13543: \$? = $ac_status" >&5 ++ echo "$as_me:13592: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13546: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13595: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13549: \$? = $ac_status" >&5 ++ echo "$as_me:13598: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_file_offset_bits=64; break + else +@@ -13557,7 +13606,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13560: result: $ac_cv_sys_file_offset_bits" >&5 ++echo "$as_me:13609: 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 + +@@ -13567,7 +13616,7 @@ EOF + + fi + rm -rf conftest* +- echo "$as_me:13570: checking for _LARGE_FILES value needed for large files" >&5 ++ echo "$as_me:13619: 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 +@@ -13575,7 +13624,7 @@ else + while :; do + ac_cv_sys_large_files=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13578 "configure" ++#line 13627 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13595,16 +13644,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13598: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13647: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13601: \$? = $ac_status" >&5 ++ echo "$as_me:13650: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13604: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13653: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13607: \$? = $ac_status" >&5 ++ echo "$as_me:13656: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13613,7 +13662,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13616 "configure" ++#line 13665 "configure" + #include "confdefs.h" + #define _LARGE_FILES 1 + #include +@@ -13634,16 +13683,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13637: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13686: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13640: \$? = $ac_status" >&5 ++ echo "$as_me:13689: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13643: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13692: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13646: \$? = $ac_status" >&5 ++ echo "$as_me:13695: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_large_files=1; break + else +@@ -13654,7 +13703,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13657: result: $ac_cv_sys_large_files" >&5 ++echo "$as_me:13706: 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 + +@@ -13667,7 +13716,7 @@ rm -rf conftest* + fi + + if test "$enable_largefile" != no ; then +- echo "$as_me:13670: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++ echo "$as_me:13719: 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 +@@ -13675,7 +13724,7 @@ else + while :; do + ac_cv_sys_largefile_source=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13678 "configure" ++#line 13727 "configure" + #include "confdefs.h" + #include + int +@@ -13687,16 +13736,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13690: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13739: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13693: \$? = $ac_status" >&5 ++ echo "$as_me:13742: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13696: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13745: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13699: \$? = $ac_status" >&5 ++ echo "$as_me:13748: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13705,7 +13754,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13708 "configure" ++#line 13757 "configure" + #include "confdefs.h" + #define _LARGEFILE_SOURCE 1 + #include +@@ -13718,16 +13767,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13721: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13770: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13724: \$? = $ac_status" >&5 ++ echo "$as_me:13773: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13727: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13776: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13730: \$? = $ac_status" >&5 ++ echo "$as_me:13779: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_source=1; break + else +@@ -13738,7 +13787,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13741: result: $ac_cv_sys_largefile_source" >&5 ++echo "$as_me:13790: 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 + +@@ -13752,13 +13801,13 @@ 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:13755: checking for fseeko" >&5 ++echo "$as_me:13804: 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 13761 "configure" ++#line 13810 "configure" + #include "confdefs.h" + #include + int +@@ -13770,16 +13819,16 @@ return fseeko && fseeko (stdin, 0, 0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:13773: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:13822: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:13776: \$? = $ac_status" >&5 ++ echo "$as_me:13825: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:13779: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13828: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13782: \$? = $ac_status" >&5 ++ echo "$as_me:13831: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fseeko=yes + else +@@ -13789,7 +13838,7 @@ ac_cv_func_fseeko=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:13792: result: $ac_cv_func_fseeko" >&5 ++echo "$as_me:13841: result: $ac_cv_func_fseeko" >&5 + echo "${ECHO_T}$ac_cv_func_fseeko" >&6 + if test $ac_cv_func_fseeko = yes; then + +@@ -13828,14 +13877,14 @@ fi + + fi + +- echo "$as_me:13831: checking whether to use struct dirent64" >&5 ++ echo "$as_me:13880: 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 13838 "configure" ++#line 13887 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types" +@@ -13858,16 +13907,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13861: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13910: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13864: \$? = $ac_status" >&5 ++ echo "$as_me:13913: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13867: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13916: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13870: \$? = $ac_status" >&5 ++ echo "$as_me:13919: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_struct_dirent64=yes + else +@@ -13878,7 +13927,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13881: result: $cf_cv_struct_dirent64" >&5 ++echo "$as_me:13930: result: $cf_cv_struct_dirent64" >&5 + echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 + test "$cf_cv_struct_dirent64" = yes && + cat >>confdefs.h <<\EOF +@@ -13888,7 +13937,7 @@ EOF + fi + + ### use option --disable-tparm-varargs to make tparm() conform to X/Open +-echo "$as_me:13891: checking if you want tparm not to use X/Open fixed-parameter list" >&5 ++echo "$as_me:13940: checking if you want tparm not to use X/Open fixed-parameter list" >&5 + echo $ECHO_N "checking if you want tparm not to use X/Open fixed-parameter list... $ECHO_C" >&6 + + # Check whether --enable-tparm-varargs or --disable-tparm-varargs was given. +@@ -13898,14 +13947,14 @@ if test "${enable_tparm_varargs+set}" = set; then + else + with_tparm_varargs=yes + fi; +-echo "$as_me:13901: result: $with_tparm_varargs" >&5 ++echo "$as_me:13950: result: $with_tparm_varargs" >&5 + echo "${ECHO_T}$with_tparm_varargs" >&6 + NCURSES_TPARM_VARARGS=0 + test "x$with_tparm_varargs" = xyes && NCURSES_TPARM_VARARGS=1 + + ### use option --disable-tic-depends to make libtic not explicitly depend on ncurses/ncursesw + if test "$with_ticlib" != no ; then +-echo "$as_me:13908: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 ++echo "$as_me:13957: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 + echo $ECHO_N "checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library... $ECHO_C" >&6 + + # Check whether --enable-tic-depends or --disable-tic-depends was given. +@@ -13915,14 +13964,14 @@ if test "${enable_tic_depends+set}" = set; then + else + with_tic_depends=yes + fi; +-echo "$as_me:13918: result: $with_tic_depends" >&5 ++echo "$as_me:13967: result: $with_tic_depends" >&5 + echo "${ECHO_T}$with_tic_depends" >&6 + else + with_tic_depends=no + fi + + ### use option --enable-wattr-macros to enable wattr* macros in curses.h +-echo "$as_me:13925: checking if you want to enable wattr* macros" >&5 ++echo "$as_me:13974: checking if you want to enable wattr* macros" >&5 + echo $ECHO_N "checking if you want to enable wattr* macros... $ECHO_C" >&6 + + # Check whether --enable-wattr-macros or --disable-wattr-macros was given. +@@ -13934,15 +13983,15 @@ else + fi; + if [ "x$with_wattr_macros" != xyes ]; then + NCURSES_WATTR_MACROS=0 +- echo "$as_me:13937: result: no" >&5 ++ echo "$as_me:13986: result: no" >&5 + echo "${ECHO_T}no" >&6 + else + NCURSES_WATTR_MACROS=1 +- echo "$as_me:13941: result: yes" >&5 ++ echo "$as_me:13990: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + fi + +-echo "$as_me:13945: checking for X11 rgb file" >&5 ++echo "$as_me:13994: checking for X11 rgb file" >&5 + echo $ECHO_N "checking for X11 rgb file... $ECHO_C" >&6 + + # Check whether --with-x11-rgb or --without-x11-rgb was given. +@@ -14006,7 +14055,7 @@ case ".$cf_path" in + cf_path=`echo "$cf_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:14009: error: expected a pathname, not \"$cf_path\"" >&5 ++ { { echo "$as_me:14058: error: expected a pathname, not \"$cf_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -14014,7 +14063,7 @@ esac + + fi + +-echo "$as_me:14017: result: $RGB_PATH" >&5 ++echo "$as_me:14066: result: $RGB_PATH" >&5 + echo "${ECHO_T}$RGB_PATH" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:14080: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + + # Check whether --with-bool or --without-bool was given. +@@ -14038,10 +14087,10 @@ if test "${with_bool+set}" = set; then + else + NCURSES_BOOL=auto + fi; +-echo "$as_me:14041: result: $NCURSES_BOOL" >&5 ++echo "$as_me:14090: result: $NCURSES_BOOL" >&5 + echo "${ECHO_T}$NCURSES_BOOL" >&6 + +-echo "$as_me:14044: checking for alternate terminal capabilities file" >&5 ++echo "$as_me:14093: checking for alternate terminal capabilities file" >&5 + echo $ECHO_N "checking for alternate terminal capabilities file... $ECHO_C" >&6 + + # Check whether --with-caps or --without-caps was given. +@@ -14053,15 +14102,15 @@ else + fi; + if test ! -f "${srcdir}/include/${TERMINFO_CAPS}" + then +- { echo "$as_me:14056: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&5 ++ { echo "$as_me:14105: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&5 + echo "$as_me: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&2;} + TERMINFO_CAPS=Caps + fi +-echo "$as_me:14060: result: $TERMINFO_CAPS" >&5 ++echo "$as_me:14109: result: $TERMINFO_CAPS" >&5 + echo "${ECHO_T}$TERMINFO_CAPS" >&6 + + ### use option --with-chtype to override chtype's type +-echo "$as_me:14064: checking for type of chtype" >&5 ++echo "$as_me:14113: checking for type of chtype" >&5 + echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 + + # Check whether --with-chtype or --without-chtype was given. +@@ -14071,11 +14120,11 @@ if test "${with_chtype+set}" = set; then + else + NCURSES_CHTYPE=$cf_dft_chtype + fi; +-echo "$as_me:14074: result: $NCURSES_CHTYPE" >&5 ++echo "$as_me:14123: result: $NCURSES_CHTYPE" >&5 + echo "${ECHO_T}$NCURSES_CHTYPE" >&6 + + ### use option --with-ospeed to override ospeed's type +-echo "$as_me:14078: checking for type of ospeed" >&5 ++echo "$as_me:14127: checking for type of ospeed" >&5 + echo $ECHO_N "checking for type of ospeed... $ECHO_C" >&6 + + # Check whether --with-ospeed or --without-ospeed was given. +@@ -14085,11 +14134,11 @@ if test "${with_ospeed+set}" = set; then + else + NCURSES_OSPEED=short + fi; +-echo "$as_me:14088: result: $NCURSES_OSPEED" >&5 ++echo "$as_me:14137: result: $NCURSES_OSPEED" >&5 + echo "${ECHO_T}$NCURSES_OSPEED" >&6 + + ### use option --with-mmask-t to override mmask_t's type +-echo "$as_me:14092: checking for type of mmask_t" >&5 ++echo "$as_me:14141: checking for type of mmask_t" >&5 + echo $ECHO_N "checking for type of mmask_t... $ECHO_C" >&6 + + # Check whether --with-mmask-t or --without-mmask-t was given. +@@ -14099,11 +14148,11 @@ if test "${with_mmask_t+set}" = set; then + else + NCURSES_MMASK_T=$cf_dft_mmask_t + fi; +-echo "$as_me:14102: result: $NCURSES_MMASK_T" >&5 ++echo "$as_me:14151: result: $NCURSES_MMASK_T" >&5 + echo "${ECHO_T}$NCURSES_MMASK_T" >&6 + + ### use option --with-ccharw-max to override CCHARW_MAX size +-echo "$as_me:14106: checking for size CCHARW_MAX" >&5 ++echo "$as_me:14155: checking for size CCHARW_MAX" >&5 + echo $ECHO_N "checking for size CCHARW_MAX... $ECHO_C" >&6 + + # Check whether --with-ccharw-max or --without-ccharw-max was given. +@@ -14113,16 +14162,16 @@ if test "${with_ccharw_max+set}" = set; then + else + NCURSES_CCHARW_MAX=$cf_dft_ccharw_max + fi; +-echo "$as_me:14116: result: $NCURSES_CCHARW_MAX" >&5 ++echo "$as_me:14165: result: $NCURSES_CCHARW_MAX" >&5 + echo "${ECHO_T}$NCURSES_CCHARW_MAX" >&6 + +-echo "$as_me:14119: checking for ANSI C header files" >&5 ++echo "$as_me:14168: 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 14125 "configure" ++#line 14174 "configure" + #include "confdefs.h" + #include + #include +@@ -14130,13 +14179,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:14133: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:14182: \"$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:14139: \$? = $ac_status" >&5 ++ echo "$as_me:14188: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -14158,7 +14207,7 @@ 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 14161 "configure" ++#line 14210 "configure" + #include "confdefs.h" + #include + +@@ -14176,7 +14225,7 @@ 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 14179 "configure" ++#line 14228 "configure" + #include "confdefs.h" + #include + +@@ -14197,7 +14246,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14200 "configure" ++#line 14249 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -14223,15 +14272,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:14226: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14275: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14229: \$? = $ac_status" >&5 ++ echo "$as_me:14278: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:14231: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14280: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14234: \$? = $ac_status" >&5 ++ echo "$as_me:14283: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -14244,7 +14293,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:14247: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:14296: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -14260,28 +14309,28 @@ 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:14263: checking for $ac_header" >&5 ++echo "$as_me:14312: 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 14269 "configure" ++#line 14318 "configure" + #include "confdefs.h" + $ac_includes_default + #include <$ac_header> + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14275: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14324: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14278: \$? = $ac_status" >&5 ++ echo "$as_me:14327: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14281: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14330: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14284: \$? = $ac_status" >&5 ++ echo "$as_me:14333: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -14291,7 +14340,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14294: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:14343: 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 <&5 ++echo "$as_me:14353: checking for signed char" >&5 + echo $ECHO_N "checking for signed char... $ECHO_C" >&6 + if test "${ac_cv_type_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14310 "configure" ++#line 14359 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14322,16 +14371,16 @@ if (sizeof (signed char)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14325: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14374: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14328: \$? = $ac_status" >&5 ++ echo "$as_me:14377: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14331: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14380: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14334: \$? = $ac_status" >&5 ++ echo "$as_me:14383: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_signed_char=yes + else +@@ -14341,10 +14390,10 @@ ac_cv_type_signed_char=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14344: result: $ac_cv_type_signed_char" >&5 ++echo "$as_me:14393: result: $ac_cv_type_signed_char" >&5 + echo "${ECHO_T}$ac_cv_type_signed_char" >&6 + +-echo "$as_me:14347: checking size of signed char" >&5 ++echo "$as_me:14396: checking size of signed char" >&5 + echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + if test "${ac_cv_sizeof_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -14353,7 +14402,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14356 "configure" ++#line 14405 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14365,21 +14414,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14368: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14417: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14371: \$? = $ac_status" >&5 ++ echo "$as_me:14420: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14374: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14423: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14377: \$? = $ac_status" >&5 ++ echo "$as_me:14426: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14382 "configure" ++#line 14431 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14391,16 +14440,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14394: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14443: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14397: \$? = $ac_status" >&5 ++ echo "$as_me:14446: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14400: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14449: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14403: \$? = $ac_status" >&5 ++ echo "$as_me:14452: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -14416,7 +14465,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14419 "configure" ++#line 14468 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14428,16 +14477,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14431: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14480: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14434: \$? = $ac_status" >&5 ++ echo "$as_me:14483: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14437: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14486: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14440: \$? = $ac_status" >&5 ++ echo "$as_me:14489: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -14453,7 +14502,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14456 "configure" ++#line 14505 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14465,16 +14514,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14468: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14517: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14471: \$? = $ac_status" >&5 ++ echo "$as_me:14520: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14474: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14523: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14477: \$? = $ac_status" >&5 ++ echo "$as_me:14526: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -14487,12 +14536,12 @@ done + ac_cv_sizeof_signed_char=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:14490: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:14539: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14495 "configure" ++#line 14544 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14508,15 +14557,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:14511: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14560: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14514: \$? = $ac_status" >&5 ++ echo "$as_me:14563: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:14516: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14565: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14519: \$? = $ac_status" >&5 ++ echo "$as_me:14568: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_signed_char=`cat conftest.val` + else +@@ -14532,7 +14581,7 @@ else + ac_cv_sizeof_signed_char=0 + fi + fi +-echo "$as_me:14535: result: $ac_cv_sizeof_signed_char" >&5 ++echo "$as_me:14584: result: $ac_cv_sizeof_signed_char" >&5 + echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:14595: checking if you want to use signed Boolean array in term.h" >&5 + echo $ECHO_N "checking if you want to use signed Boolean array in term.h... $ECHO_C" >&6 + + # Check whether --enable-signed-char or --disable-signed-char was given. +@@ -14553,12 +14602,12 @@ if test "${enable_signed_char+set}" = set; then + else + with_signed_char=$cf_dft_signed_char + fi; +-echo "$as_me:14556: result: $with_signed_char" >&5 ++echo "$as_me:14605: result: $with_signed_char" >&5 + echo "${ECHO_T}$with_signed_char" >&6 + test "x$with_signed_char" != xyes && NCURSES_SBOOL="char" + + ### use option --with-tparm-arg to override tparm's argument type +-echo "$as_me:14561: checking for type of tparm args" >&5 ++echo "$as_me:14610: checking for type of tparm args" >&5 + echo $ECHO_N "checking for type of tparm args... $ECHO_C" >&6 + + # Check whether --with-tparm-arg or --without-tparm-arg was given. +@@ -14568,11 +14617,11 @@ if test "${with_tparm_arg+set}" = set; then + else + NCURSES_TPARM_ARG=$cf_dft_tparm_arg + fi; +-echo "$as_me:14571: result: $NCURSES_TPARM_ARG" >&5 ++echo "$as_me:14620: result: $NCURSES_TPARM_ARG" >&5 + echo "${ECHO_T}$NCURSES_TPARM_ARG" >&6 + + ### Enable compiling-in rcs id's +-echo "$as_me:14575: checking if RCS identifiers should be compiled-in" >&5 ++echo "$as_me:14624: checking if RCS identifiers should be compiled-in" >&5 + echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 + + # Check whether --with-rcs-ids or --without-rcs-ids was given. +@@ -14582,7 +14631,7 @@ if test "${with_rcs_ids+set}" = set; then + else + with_rcs_ids=no + fi; +-echo "$as_me:14585: result: $with_rcs_ids" >&5 ++echo "$as_me:14634: result: $with_rcs_ids" >&5 + echo "${ECHO_T}$with_rcs_ids" >&6 + test "x$with_rcs_ids" = xyes && + cat >>confdefs.h <<\EOF +@@ -14591,7 +14640,7 @@ EOF + + ############################################################################### + +-echo "$as_me:14594: checking format of man-pages" >&5 ++echo "$as_me:14643: checking format of man-pages" >&5 + echo $ECHO_N "checking format of man-pages... $ECHO_C" >&6 + + # Check whether --with-manpage-format or --without-manpage-format was given. +@@ -14680,14 +14729,14 @@ case "$MANPAGE_FORMAT" in + ;; + esac + +-echo "$as_me:14683: result: $MANPAGE_FORMAT" >&5 ++echo "$as_me:14732: result: $MANPAGE_FORMAT" >&5 + echo "${ECHO_T}$MANPAGE_FORMAT" >&6 + if test -n "$cf_unknown" ; then +- { echo "$as_me:14686: WARNING: Unexpected manpage-format $cf_unknown" >&5 ++ { echo "$as_me:14735: WARNING: Unexpected manpage-format $cf_unknown" >&5 + echo "$as_me: WARNING: Unexpected manpage-format $cf_unknown" >&2;} + fi + +-echo "$as_me:14690: checking for manpage renaming" >&5 ++echo "$as_me:14739: checking for manpage renaming" >&5 + echo $ECHO_N "checking for manpage renaming... $ECHO_C" >&6 + + # Check whether --with-manpage-renames or --without-manpage-renames was given. +@@ -14715,7 +14764,7 @@ if test "$MANPAGE_RENAMES" != no ; then + if test -f "$srcdir/man/$MANPAGE_RENAMES" ; then + MANPAGE_RENAMES=`cd "$srcdir/man" && pwd`/$MANPAGE_RENAMES + elif test ! -f "$MANPAGE_RENAMES" ; then +- { { echo "$as_me:14718: error: not a filename: $MANPAGE_RENAMES" >&5 ++ { { echo "$as_me:14767: error: not a filename: $MANPAGE_RENAMES" >&5 + echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -14729,10 +14778,10 @@ echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;} + fi + fi + +-echo "$as_me:14732: result: $MANPAGE_RENAMES" >&5 ++echo "$as_me:14781: result: $MANPAGE_RENAMES" >&5 + echo "${ECHO_T}$MANPAGE_RENAMES" >&6 + +-echo "$as_me:14735: checking if manpage aliases will be installed" >&5 ++echo "$as_me:14784: checking if manpage aliases will be installed" >&5 + echo $ECHO_N "checking if manpage aliases will be installed... $ECHO_C" >&6 + + # Check whether --with-manpage-aliases or --without-manpage-aliases was given. +@@ -14743,7 +14792,7 @@ else + MANPAGE_ALIASES=yes + fi; + +-echo "$as_me:14746: result: $MANPAGE_ALIASES" >&5 ++echo "$as_me:14795: result: $MANPAGE_ALIASES" >&5 + echo "${ECHO_T}$MANPAGE_ALIASES" >&6 + + case "x$LN_S" in +@@ -14757,7 +14806,7 @@ esac + + MANPAGE_SYMLINKS=no + if test "$MANPAGE_ALIASES" = yes ; then +-echo "$as_me:14760: checking if manpage symlinks should be used" >&5 ++echo "$as_me:14809: checking if manpage symlinks should be used" >&5 + echo $ECHO_N "checking if manpage symlinks should be used... $ECHO_C" >&6 + + # Check whether --with-manpage-symlinks or --without-manpage-symlinks was given. +@@ -14770,17 +14819,17 @@ fi; + + if test "$$cf_use_symlinks" = no; then + if test "$MANPAGE_SYMLINKS" = yes ; then +- { echo "$as_me:14773: WARNING: cannot make symlinks" >&5 ++ { echo "$as_me:14822: WARNING: cannot make symlinks" >&5 + echo "$as_me: WARNING: cannot make symlinks" >&2;} + MANPAGE_SYMLINKS=no + fi + fi + +-echo "$as_me:14779: result: $MANPAGE_SYMLINKS" >&5 ++echo "$as_me:14828: result: $MANPAGE_SYMLINKS" >&5 + echo "${ECHO_T}$MANPAGE_SYMLINKS" >&6 + fi + +-echo "$as_me:14783: checking for manpage tbl" >&5 ++echo "$as_me:14832: checking for manpage tbl" >&5 + echo $ECHO_N "checking for manpage tbl... $ECHO_C" >&6 + + # Check whether --with-manpage-tbl or --without-manpage-tbl was given. +@@ -14791,7 +14840,7 @@ else + MANPAGE_TBL=no + fi; + +-echo "$as_me:14794: result: $MANPAGE_TBL" >&5 ++echo "$as_me:14843: result: $MANPAGE_TBL" >&5 + echo "${ECHO_T}$MANPAGE_TBL" >&6 + + if test "$prefix" = "NONE" ; then +@@ -15125,7 +15174,7 @@ chmod 755 "$cf_edit_man" + ############################################################################### + + ### Note that some functions (such as const) are normally disabled anyway. +-echo "$as_me:15128: checking if you want to build with function extensions" >&5 ++echo "$as_me:15177: checking if you want to build with function extensions" >&5 + echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 + + # Check whether --enable-ext-funcs or --disable-ext-funcs was given. +@@ -15135,7 +15184,7 @@ if test "${enable_ext_funcs+set}" = set; then + else + with_ext_funcs=yes + fi; +-echo "$as_me:15138: result: $with_ext_funcs" >&5 ++echo "$as_me:15187: result: $with_ext_funcs" >&5 + echo "${ECHO_T}$with_ext_funcs" >&6 + if test "x$with_ext_funcs" = xyes ; then + NCURSES_EXT_FUNCS=1 +@@ -15195,7 +15244,7 @@ else + GENERATED_EXT_FUNCS= + fi + +-echo "$as_me:15198: checking if you want to build with SCREEN extensions" >&5 ++echo "$as_me:15247: checking if you want to build with SCREEN extensions" >&5 + echo $ECHO_N "checking if you want to build with SCREEN extensions... $ECHO_C" >&6 + + # Check whether --enable-sp-funcs or --disable-sp-funcs was given. +@@ -15205,7 +15254,7 @@ if test "${enable_sp_funcs+set}" = set; then + else + with_sp_funcs=$cf_dft_ext_spfuncs + fi; +-echo "$as_me:15208: result: $with_sp_funcs" >&5 ++echo "$as_me:15257: result: $with_sp_funcs" >&5 + echo "${ECHO_T}$with_sp_funcs" >&6 + if test "x$with_sp_funcs" = xyes ; then + NCURSES_SP_FUNCS=1 +@@ -15224,7 +15273,7 @@ else + GENERATED_SP_FUNCS= + fi + +-echo "$as_me:15227: checking if you want to build with terminal-driver" >&5 ++echo "$as_me:15276: checking if you want to build with terminal-driver" >&5 + echo $ECHO_N "checking if you want to build with terminal-driver... $ECHO_C" >&6 + + # Check whether --enable-term-driver or --disable-term-driver was given. +@@ -15234,7 +15283,7 @@ if test "${enable_term_driver+set}" = set; then + else + with_term_driver=no + fi; +-echo "$as_me:15237: result: $with_term_driver" >&5 ++echo "$as_me:15286: result: $with_term_driver" >&5 + echo "${ECHO_T}$with_term_driver" >&6 + if test "x$with_term_driver" = xyes ; then + +@@ -15243,19 +15292,19 @@ cat >>confdefs.h <<\EOF + EOF + + if test "x$with_termlib" != xno ; then +- { { echo "$as_me:15246: error: The term-driver option conflicts with the termlib option" >&5 ++ { { echo "$as_me:15295: error: The term-driver option conflicts with the termlib option" >&5 + echo "$as_me: error: The term-driver option conflicts with the termlib option" >&2;} + { (exit 1); exit 1; }; } + fi + if test "x$with_sp_funcs" != xyes ; then +- { { echo "$as_me:15251: error: The term-driver option relies upon sp-funcs" >&5 ++ { { echo "$as_me:15300: error: The term-driver option relies upon sp-funcs" >&5 + echo "$as_me: error: The term-driver option relies upon sp-funcs" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + ### use option --enable-const to turn on use of const beyond that in XSI. +-echo "$as_me:15258: checking for extended use of const keyword" >&5 ++echo "$as_me:15307: checking for extended use of const keyword" >&5 + echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 + + # Check whether --enable-const or --disable-const was given. +@@ -15265,7 +15314,7 @@ if test "${enable_const+set}" = set; then + else + with_ext_const=$cf_dft_ext_const + fi; +-echo "$as_me:15268: result: $with_ext_const" >&5 ++echo "$as_me:15317: result: $with_ext_const" >&5 + echo "${ECHO_T}$with_ext_const" >&6 + NCURSES_CONST='/*nothing*/' + if test "x$with_ext_const" = xyes ; then +@@ -15273,7 +15322,7 @@ if test "x$with_ext_const" = xyes ; then + fi + + ### use option --enable-ext-colors to turn on use of colors beyond 16. +-echo "$as_me:15276: checking if you want to use extended colors" >&5 ++echo "$as_me:15325: checking if you want to use extended colors" >&5 + echo $ECHO_N "checking if you want to use extended colors... $ECHO_C" >&6 + + # Check whether --enable-ext-colors or --disable-ext-colors was given. +@@ -15283,12 +15332,12 @@ if test "${enable_ext_colors+set}" = set; then + else + with_ext_colors=$cf_dft_ext_colors + fi; +-echo "$as_me:15286: result: $with_ext_colors" >&5 ++echo "$as_me:15335: result: $with_ext_colors" >&5 + echo "${ECHO_T}$with_ext_colors" >&6 + NCURSES_EXT_COLORS=0 + if test "x$with_ext_colors" = xyes ; then + if test "x$with_widec" != xyes ; then +- { echo "$as_me:15291: WARNING: This option applies only to wide-character library" >&5 ++ { echo "$as_me:15340: WARNING: This option applies only to wide-character library" >&5 + echo "$as_me: WARNING: This option applies only to wide-character library" >&2;} + else + # cannot be ABI 5 since it changes sizeof(cchar_t) +@@ -15298,7 +15347,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15301: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15350: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15326,7 +15375,7 @@ EOF + fi + + ### use option --enable-ext-mouse to modify coding to support 5-button mice +-echo "$as_me:15329: checking if you want to use extended mouse encoding" >&5 ++echo "$as_me:15378: checking if you want to use extended mouse encoding" >&5 + echo $ECHO_N "checking if you want to use extended mouse encoding... $ECHO_C" >&6 + + # Check whether --enable-ext-mouse or --disable-ext-mouse was given. +@@ -15336,7 +15385,7 @@ if test "${enable_ext_mouse+set}" = set; then + else + with_ext_mouse=$cf_dft_ext_mouse + fi; +-echo "$as_me:15339: result: $with_ext_mouse" >&5 ++echo "$as_me:15388: result: $with_ext_mouse" >&5 + echo "${ECHO_T}$with_ext_mouse" >&6 + if test "x$with_ext_mouse" = xyes ; then + +@@ -15345,7 +15394,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15348: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15397: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15366,7 +15415,7 @@ case $cf_cv_abi_version in + esac + + ### use option --enable-ext-putwin to turn on extended screendumps +-echo "$as_me:15369: checking if you want to use extended putwin/screendump" >&5 ++echo "$as_me:15418: checking if you want to use extended putwin/screendump" >&5 + echo $ECHO_N "checking if you want to use extended putwin/screendump... $ECHO_C" >&6 + + # Check whether --enable-ext-putwin or --disable-ext-putwin was given. +@@ -15376,7 +15425,7 @@ if test "${enable_ext_putwin+set}" = set; then + else + with_ext_putwin=$cf_dft_ext_putwin + fi; +-echo "$as_me:15379: result: $with_ext_putwin" >&5 ++echo "$as_me:15428: result: $with_ext_putwin" >&5 + echo "${ECHO_T}$with_ext_putwin" >&6 + if test "x$with_ext_putwin" = xyes ; then + +@@ -15386,7 +15435,7 @@ EOF + + fi + +-echo "$as_me:15389: checking if you want \$NCURSES_NO_PADDING code" >&5 ++echo "$as_me:15438: checking if you want \$NCURSES_NO_PADDING code" >&5 + echo $ECHO_N "checking if you want \$NCURSES_NO_PADDING code... $ECHO_C" >&6 + + # Check whether --enable-no-padding or --disable-no-padding was given. +@@ -15396,7 +15445,7 @@ if test "${enable_no_padding+set}" = set; then + else + with_no_padding=$with_ext_funcs + fi; +-echo "$as_me:15399: result: $with_no_padding" >&5 ++echo "$as_me:15448: result: $with_no_padding" >&5 + echo "${ECHO_T}$with_no_padding" >&6 + test "x$with_no_padding" = xyes && + cat >>confdefs.h <<\EOF +@@ -15404,7 +15453,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-sigwinch to turn on use of SIGWINCH logic +-echo "$as_me:15407: checking if you want SIGWINCH handler" >&5 ++echo "$as_me:15456: checking if you want SIGWINCH handler" >&5 + echo $ECHO_N "checking if you want SIGWINCH handler... $ECHO_C" >&6 + + # Check whether --enable-sigwinch or --disable-sigwinch was given. +@@ -15414,7 +15463,7 @@ if test "${enable_sigwinch+set}" = set; then + else + with_sigwinch=$with_ext_funcs + fi; +-echo "$as_me:15417: result: $with_sigwinch" >&5 ++echo "$as_me:15466: result: $with_sigwinch" >&5 + echo "${ECHO_T}$with_sigwinch" >&6 + test "x$with_sigwinch" = xyes && + cat >>confdefs.h <<\EOF +@@ -15422,7 +15471,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-tcap-names to allow user to define new capabilities +-echo "$as_me:15425: checking if you want user-definable terminal capabilities like termcap" >&5 ++echo "$as_me:15474: checking if you want user-definable terminal capabilities like termcap" >&5 + echo $ECHO_N "checking if you want user-definable terminal capabilities like termcap... $ECHO_C" >&6 + + # Check whether --enable-tcap-names or --disable-tcap-names was given. +@@ -15432,14 +15481,14 @@ if test "${enable_tcap_names+set}" = set; then + else + with_tcap_names=$with_ext_funcs + fi; +-echo "$as_me:15435: result: $with_tcap_names" >&5 ++echo "$as_me:15484: result: $with_tcap_names" >&5 + echo "${ECHO_T}$with_tcap_names" >&6 + NCURSES_XNAMES=0 + test "x$with_tcap_names" = xyes && NCURSES_XNAMES=1 + + ############################################################################## + +-echo "$as_me:15442: checking if you want to link with the pthread library" >&5 ++echo "$as_me:15491: checking if you want to link with the pthread library" >&5 + echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 + + # Check whether --with-pthread or --without-pthread was given. +@@ -15449,27 +15498,27 @@ if test "${with_pthread+set}" = set; then + else + with_pthread=no + fi; +-echo "$as_me:15452: result: $with_pthread" >&5 ++echo "$as_me:15501: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + + if test "$with_pthread" != no ; then +- echo "$as_me:15456: checking for pthread.h" >&5 ++ echo "$as_me:15505: checking for pthread.h" >&5 + echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 + if test "${ac_cv_header_pthread_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15462 "configure" ++#line 15511 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:15466: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:15515: \"$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:15472: \$? = $ac_status" >&5 ++ echo "$as_me:15521: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -15488,7 +15537,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:15491: result: $ac_cv_header_pthread_h" >&5 ++echo "$as_me:15540: result: $ac_cv_header_pthread_h" >&5 + echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 + if test "$ac_cv_header_pthread_h" = yes; then + +@@ -15498,7 +15547,7 @@ EOF + + for cf_lib_pthread in pthread c_r + do +- echo "$as_me:15501: checking if we can link with the $cf_lib_pthread library" >&5 ++ echo "$as_me:15550: checking if we can link with the $cf_lib_pthread library" >&5 + echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 + cf_save_LIBS="$LIBS" + +@@ -15519,7 +15568,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15522 "configure" ++#line 15571 "configure" + #include "confdefs.h" + + #include +@@ -15536,16 +15585,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15539: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15588: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15542: \$? = $ac_status" >&5 ++ echo "$as_me:15591: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15545: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15594: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15548: \$? = $ac_status" >&5 ++ echo "$as_me:15597: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_pthread=yes + else +@@ -15555,7 +15604,7 @@ with_pthread=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:15558: result: $with_pthread" >&5 ++ echo "$as_me:15607: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + test "$with_pthread" = yes && break + done +@@ -15583,7 +15632,7 @@ cat >>confdefs.h <<\EOF + EOF + + else +- { { echo "$as_me:15586: error: Cannot link with pthread library" >&5 ++ { { echo "$as_me:15635: error: Cannot link with pthread library" >&5 + echo "$as_me: error: Cannot link with pthread library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -15593,13 +15642,13 @@ fi + fi + + if test "x$with_pthread" != xno; then +- echo "$as_me:15596: checking for pthread_kill" >&5 ++ echo "$as_me:15645: checking for pthread_kill" >&5 + echo $ECHO_N "checking for pthread_kill... $ECHO_C" >&6 + if test "${ac_cv_func_pthread_kill+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15602 "configure" ++#line 15651 "configure" + #include "confdefs.h" + #define pthread_kill autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -15630,16 +15679,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15633: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15682: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15636: \$? = $ac_status" >&5 ++ echo "$as_me:15685: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15639: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15688: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15642: \$? = $ac_status" >&5 ++ echo "$as_me:15691: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_pthread_kill=yes + else +@@ -15649,11 +15698,11 @@ ac_cv_func_pthread_kill=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15652: result: $ac_cv_func_pthread_kill" >&5 ++echo "$as_me:15701: result: $ac_cv_func_pthread_kill" >&5 + echo "${ECHO_T}$ac_cv_func_pthread_kill" >&6 + if test "$ac_cv_func_pthread_kill" = yes; then + +- echo "$as_me:15656: checking if you want to allow EINTR in wgetch with pthreads" >&5 ++ echo "$as_me:15705: checking if you want to allow EINTR in wgetch with pthreads" >&5 + echo $ECHO_N "checking if you want to allow EINTR in wgetch with pthreads... $ECHO_C" >&6 + + # Check whether --enable-pthreads-eintr or --disable-pthreads-eintr was given. +@@ -15663,7 +15712,7 @@ if test "${enable_pthreads_eintr+set}" = set; then + else + use_pthreads_eintr=no + fi; +- echo "$as_me:15666: result: $use_pthreads_eintr" >&5 ++ echo "$as_me:15715: result: $use_pthreads_eintr" >&5 + echo "${ECHO_T}$use_pthreads_eintr" >&6 + if test "x$use_pthreads_eintr" = xyes ; then + +@@ -15674,7 +15723,7 @@ EOF + fi + fi + +- echo "$as_me:15677: checking if you want to use weak-symbols for pthreads" >&5 ++ echo "$as_me:15726: checking if you want to use weak-symbols for pthreads" >&5 + echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 + + # Check whether --enable-weak-symbols or --disable-weak-symbols was given. +@@ -15684,18 +15733,18 @@ if test "${enable_weak_symbols+set}" = set; then + else + use_weak_symbols=no + fi; +- echo "$as_me:15687: result: $use_weak_symbols" >&5 ++ echo "$as_me:15736: result: $use_weak_symbols" >&5 + echo "${ECHO_T}$use_weak_symbols" >&6 + if test "x$use_weak_symbols" = xyes ; then + +-echo "$as_me:15691: checking if $CC supports weak symbols" >&5 ++echo "$as_me:15740: checking if $CC supports weak symbols" >&5 + echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 + if test "${cf_cv_weak_symbols+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15698 "configure" ++#line 15747 "configure" + #include "confdefs.h" + + #include +@@ -15721,16 +15770,16 @@ weak_symbol(fopen); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15724: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15773: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15727: \$? = $ac_status" >&5 ++ echo "$as_me:15776: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15730: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15779: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15733: \$? = $ac_status" >&5 ++ echo "$as_me:15782: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_weak_symbols=yes + else +@@ -15741,7 +15790,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15744: result: $cf_cv_weak_symbols" >&5 ++echo "$as_me:15793: result: $cf_cv_weak_symbols" >&5 + echo "${ECHO_T}$cf_cv_weak_symbols" >&6 + + else +@@ -15791,7 +15840,7 @@ fi + # opaque outside of that, so there is no --enable-opaque option. We can use + # this option without --with-pthreads, but this will be always set for + # pthreads. +-echo "$as_me:15794: checking if you want reentrant code" >&5 ++echo "$as_me:15843: checking if you want reentrant code" >&5 + echo $ECHO_N "checking if you want reentrant code... $ECHO_C" >&6 + + # Check whether --enable-reentrant or --disable-reentrant was given. +@@ -15801,7 +15850,7 @@ if test "${enable_reentrant+set}" = set; then + else + with_reentrant=no + fi; +-echo "$as_me:15804: result: $with_reentrant" >&5 ++echo "$as_me:15853: result: $with_reentrant" >&5 + echo "${ECHO_T}$with_reentrant" >&6 + if test "x$with_reentrant" = xyes ; then + cf_cv_enable_reentrant=1 +@@ -15889,7 +15938,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15892: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15941: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15901,7 +15950,7 @@ else + NCURSES_SIZE_T=$cf_dft_ordinate_type + fi + +-echo "$as_me:15904: checking if you want opaque curses-library structures" >&5 ++echo "$as_me:15953: checking if you want opaque curses-library structures" >&5 + echo $ECHO_N "checking if you want opaque curses-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-curses or --disable-opaque-curses was given. +@@ -15923,16 +15972,16 @@ else + test "$cf_cv_enable_reentrant" = 1 || enable_opaque_curses=$cf_dft_opaque_curses + + fi; +-echo "$as_me:15926: result: $enable_opaque_curses" >&5 ++echo "$as_me:15975: result: $enable_opaque_curses" >&5 + echo "${ECHO_T}$enable_opaque_curses" >&6 + + test "$cf_cv_enable_reentrant" = 1 && \ + test "$enable_opaque_curses" = no && \ +-{ { echo "$as_me:15931: error: reentrant configuration requires opaque library" >&5 ++{ { echo "$as_me:15980: error: reentrant configuration requires opaque library" >&5 + echo "$as_me: error: reentrant configuration requires opaque library" >&2;} + { (exit 1); exit 1; }; } + +-echo "$as_me:15935: checking if you want opaque form-library structures" >&5 ++echo "$as_me:15984: checking if you want opaque form-library structures" >&5 + echo $ECHO_N "checking if you want opaque form-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-form or --disable-opaque-form was given. +@@ -15942,10 +15991,10 @@ if test "${enable_opaque_form+set}" = set; then + else + enable_opaque_form=no + fi; +-echo "$as_me:15945: result: $enable_opaque_form" >&5 ++echo "$as_me:15994: result: $enable_opaque_form" >&5 + echo "${ECHO_T}$enable_opaque_form" >&6 + +-echo "$as_me:15948: checking if you want opaque menu-library structures" >&5 ++echo "$as_me:15997: checking if you want opaque menu-library structures" >&5 + echo $ECHO_N "checking if you want opaque menu-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-menu or --disable-opaque-menu was given. +@@ -15955,10 +16004,10 @@ if test "${enable_opaque_menu+set}" = set; then + else + enable_opaque_menu=no + fi; +-echo "$as_me:15958: result: $enable_opaque_menu" >&5 ++echo "$as_me:16007: result: $enable_opaque_menu" >&5 + echo "${ECHO_T}$enable_opaque_menu" >&6 + +-echo "$as_me:15961: checking if you want opaque panel-library structures" >&5 ++echo "$as_me:16010: checking if you want opaque panel-library structures" >&5 + echo $ECHO_N "checking if you want opaque panel-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-panel or --disable-opaque-panel was given. +@@ -15968,7 +16017,7 @@ if test "${enable_opaque_panel+set}" = set; then + else + enable_opaque_panel=no + fi; +-echo "$as_me:15971: result: $enable_opaque_panel" >&5 ++echo "$as_me:16020: result: $enable_opaque_panel" >&5 + echo "${ECHO_T}$enable_opaque_panel" >&6 + + NCURSES_OPAQUE=0; test "$enable_opaque_curses" = yes && NCURSES_OPAQUE=1 +@@ -15978,7 +16027,7 @@ NCURSES_OPAQUE_PANEL=0; test "$enable_opaque_panel" = yes && NCURSES_OPAQUE_PAN + + ### Allow using a different wrap-prefix + if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then +- echo "$as_me:15981: checking for prefix used to wrap public variables" >&5 ++ echo "$as_me:16030: checking for prefix used to wrap public variables" >&5 + echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 + + # Check whether --with-wrap-prefix or --without-wrap-prefix was given. +@@ -15988,7 +16037,7 @@ if test "${with_wrap_prefix+set}" = set; then + else + NCURSES_WRAP_PREFIX=_nc_ + fi; +- echo "$as_me:15991: result: $NCURSES_WRAP_PREFIX" >&5 ++ echo "$as_me:16040: result: $NCURSES_WRAP_PREFIX" >&5 + echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 + else + NCURSES_WRAP_PREFIX=_nc_ +@@ -16001,7 +16050,7 @@ EOF + ############################################################################### + # These options are relatively safe to experiment with. + +-echo "$as_me:16004: checking if you want all development code" >&5 ++echo "$as_me:16053: checking if you want all development code" >&5 + echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 + + # Check whether --with-develop or --without-develop was given. +@@ -16011,11 +16060,11 @@ if test "${with_develop+set}" = set; then + else + with_develop=no + fi; +-echo "$as_me:16014: result: $with_develop" >&5 ++echo "$as_me:16063: result: $with_develop" >&5 + echo "${ECHO_T}$with_develop" >&6 + + ### use option --enable-hard-tabs to turn on use of hard-tabs optimize +-echo "$as_me:16018: checking if you want hard-tabs code" >&5 ++echo "$as_me:16067: checking if you want hard-tabs code" >&5 + echo $ECHO_N "checking if you want hard-tabs code... $ECHO_C" >&6 + + # Check whether --enable-hard-tabs or --disable-hard-tabs was given. +@@ -16025,7 +16074,7 @@ if test "${enable_hard_tabs+set}" = set; then + else + enable_hard_tabs=$with_develop + fi; +-echo "$as_me:16028: result: $enable_hard_tabs" >&5 ++echo "$as_me:16077: result: $enable_hard_tabs" >&5 + echo "${ECHO_T}$enable_hard_tabs" >&6 + test "x$enable_hard_tabs" = xyes && + cat >>confdefs.h <<\EOF +@@ -16033,7 +16082,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-xmc-glitch to turn on use of magic-cookie optimize +-echo "$as_me:16036: checking if you want limited support for xmc" >&5 ++echo "$as_me:16085: checking if you want limited support for xmc" >&5 + echo $ECHO_N "checking if you want limited support for xmc... $ECHO_C" >&6 + + # Check whether --enable-xmc-glitch or --disable-xmc-glitch was given. +@@ -16043,7 +16092,7 @@ if test "${enable_xmc_glitch+set}" = set; then + else + enable_xmc_glitch=$with_develop + fi; +-echo "$as_me:16046: result: $enable_xmc_glitch" >&5 ++echo "$as_me:16095: result: $enable_xmc_glitch" >&5 + echo "${ECHO_T}$enable_xmc_glitch" >&6 + test "x$enable_xmc_glitch" = xyes && + cat >>confdefs.h <<\EOF +@@ -16053,7 +16102,7 @@ EOF + ############################################################################### + # These are just experimental, probably should not be in a package: + +-echo "$as_me:16056: checking if you do not want to assume colors are white-on-black" >&5 ++echo "$as_me:16105: checking if you do not want to assume colors are white-on-black" >&5 + echo $ECHO_N "checking if you do not want to assume colors are white-on-black... $ECHO_C" >&6 + + # Check whether --enable-assumed-color or --disable-assumed-color was given. +@@ -16063,7 +16112,7 @@ if test "${enable_assumed_color+set}" = set; then + else + with_assumed_color=yes + fi; +-echo "$as_me:16066: result: $with_assumed_color" >&5 ++echo "$as_me:16115: result: $with_assumed_color" >&5 + echo "${ECHO_T}$with_assumed_color" >&6 + test "x$with_assumed_color" = xyes && + cat >>confdefs.h <<\EOF +@@ -16071,7 +16120,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-hashmap to turn on use of hashmap scrolling logic +-echo "$as_me:16074: checking if you want hashmap scrolling-optimization code" >&5 ++echo "$as_me:16123: checking if you want hashmap scrolling-optimization code" >&5 + echo $ECHO_N "checking if you want hashmap scrolling-optimization code... $ECHO_C" >&6 + + # Check whether --enable-hashmap or --disable-hashmap was given. +@@ -16081,7 +16130,7 @@ if test "${enable_hashmap+set}" = set; then + else + with_hashmap=yes + fi; +-echo "$as_me:16084: result: $with_hashmap" >&5 ++echo "$as_me:16133: result: $with_hashmap" >&5 + echo "${ECHO_T}$with_hashmap" >&6 + test "x$with_hashmap" = xyes && + cat >>confdefs.h <<\EOF +@@ -16089,7 +16138,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-colorfgbg to turn on use of $COLORFGBG environment +-echo "$as_me:16092: checking if you want colorfgbg code" >&5 ++echo "$as_me:16141: checking if you want colorfgbg code" >&5 + echo $ECHO_N "checking if you want colorfgbg code... $ECHO_C" >&6 + + # Check whether --enable-colorfgbg or --disable-colorfgbg was given. +@@ -16099,7 +16148,7 @@ if test "${enable_colorfgbg+set}" = set; then + else + with_colorfgbg=no + fi; +-echo "$as_me:16102: result: $with_colorfgbg" >&5 ++echo "$as_me:16151: result: $with_colorfgbg" >&5 + echo "${ECHO_T}$with_colorfgbg" >&6 + test "x$with_colorfgbg" = xyes && + cat >>confdefs.h <<\EOF +@@ -16107,7 +16156,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-fvisibility to turn on use of gcc-specific feature +-echo "$as_me:16110: checking if you want to use gcc -fvisibility option" >&5 ++echo "$as_me:16159: checking if you want to use gcc -fvisibility option" >&5 + echo $ECHO_N "checking if you want to use gcc -fvisibility option... $ECHO_C" >&6 + + # Check whether --enable-fvisibility or --disable-fvisibility was given. +@@ -16117,14 +16166,14 @@ if test "${enable_fvisibility+set}" = set; then + else + cf_with_fvisibility=no + fi; +-echo "$as_me:16120: result: $cf_with_fvisibility" >&5 ++echo "$as_me:16169: result: $cf_with_fvisibility" >&5 + echo "${ECHO_T}$cf_with_fvisibility" >&6 + + NCURSES_IMPEXP= + NCURSES_CXX_IMPEXP= + if test "x$cf_with_fvisibility" = xyes; then + +-echo "$as_me:16127: checking if $CC -fvisibility=hidden option works" >&5 ++echo "$as_me:16176: checking if $CC -fvisibility=hidden option works" >&5 + echo $ECHO_N "checking if $CC -fvisibility=hidden option works... $ECHO_C" >&6 + if test "${cf_cv_fvisibility_hidden+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16133,7 +16182,7 @@ else + cf_save_cflags="$CFLAGS" + CFLAGS="$CFLAGS -fvisibility=hidden" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16136 "configure" ++#line 16185 "configure" + #include "confdefs.h" + + __attribute__ ((visibility("default"))) int somefunc() {return 42;} +@@ -16149,16 +16198,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16152: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16201: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16155: \$? = $ac_status" >&5 ++ echo "$as_me:16204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16158: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16207: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16161: \$? = $ac_status" >&5 ++ echo "$as_me:16210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fvisibility_hidden=yes + else +@@ -16170,7 +16219,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + CFLAGS=$cf_save_cflags + + fi +-echo "$as_me:16173: result: $cf_cv_fvisibility_hidden" >&5 ++echo "$as_me:16222: result: $cf_cv_fvisibility_hidden" >&5 + echo "${ECHO_T}$cf_cv_fvisibility_hidden" >&6 + + if test "x$cf_cv_fvisibility_hidden" = xyes +@@ -16285,7 +16334,7 @@ ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + +-echo "$as_me:16288: checking if $CXX -fvisibility=hidden option works" >&5 ++echo "$as_me:16337: checking if $CXX -fvisibility=hidden option works" >&5 + echo $ECHO_N "checking if $CXX -fvisibility=hidden option works... $ECHO_C" >&6 + if test "${cf_cv_fvisibility_hidden2+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16294,7 +16343,7 @@ else + cf_save_cflags="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16297 "configure" ++#line 16346 "configure" + #include "confdefs.h" + + __attribute__ ((visibility("default"))) int somefunc() {return 42;} +@@ -16310,16 +16359,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16313: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16362: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16316: \$? = $ac_status" >&5 ++ echo "$as_me:16365: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16319: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16368: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16322: \$? = $ac_status" >&5 ++ echo "$as_me:16371: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fvisibility_hidden2=yes + else +@@ -16331,7 +16380,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + CXXFLAGS=$cf_save_cflags + + fi +-echo "$as_me:16334: result: $cf_cv_fvisibility_hidden2" >&5 ++echo "$as_me:16383: result: $cf_cv_fvisibility_hidden2" >&5 + echo "${ECHO_T}$cf_cv_fvisibility_hidden2" >&6 + + if test "x$cf_cv_fvisibility_hidden2" = xyes +@@ -16454,7 +16503,7 @@ ac_main_return="return" + fi + + ### use option --enable-interop to turn on use of bindings used for interop +-echo "$as_me:16457: checking if you want interop bindings" >&5 ++echo "$as_me:16506: checking if you want interop bindings" >&5 + echo $ECHO_N "checking if you want interop bindings... $ECHO_C" >&6 + + # Check whether --enable-interop or --disable-interop was given. +@@ -16464,13 +16513,13 @@ if test "${enable_interop+set}" = set; then + else + with_exp_interop=$cf_dft_interop + fi; +-echo "$as_me:16467: result: $with_exp_interop" >&5 ++echo "$as_me:16516: result: $with_exp_interop" >&5 + echo "${ECHO_T}$with_exp_interop" >&6 + + NCURSES_INTEROP_FUNCS=0 + test "x$with_exp_interop" = xyes && NCURSES_INTEROP_FUNCS=1 + +-echo "$as_me:16473: checking if you want experimental safe-sprintf code" >&5 ++echo "$as_me:16522: checking if you want experimental safe-sprintf code" >&5 + echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6 + + # Check whether --enable-safe-sprintf or --disable-safe-sprintf was given. +@@ -16480,13 +16529,13 @@ if test "${enable_safe_sprintf+set}" = set; then + else + with_safe_sprintf=no + fi; +-echo "$as_me:16483: result: $with_safe_sprintf" >&5 ++echo "$as_me:16532: result: $with_safe_sprintf" >&5 + echo "${ECHO_T}$with_safe_sprintf" >&6 + + ### use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic + # when hashmap is used scroll hints are useless + if test "$with_hashmap" = no ; then +-echo "$as_me:16489: checking if you want to experiment without scrolling-hints code" >&5 ++echo "$as_me:16538: checking if you want to experiment without scrolling-hints code" >&5 + echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6 + + # Check whether --enable-scroll-hints or --disable-scroll-hints was given. +@@ -16496,7 +16545,7 @@ if test "${enable_scroll_hints+set}" = set; then + else + with_scroll_hints=yes + fi; +-echo "$as_me:16499: result: $with_scroll_hints" >&5 ++echo "$as_me:16548: result: $with_scroll_hints" >&5 + echo "${ECHO_T}$with_scroll_hints" >&6 + test "x$with_scroll_hints" = xyes && + cat >>confdefs.h <<\EOF +@@ -16505,7 +16554,7 @@ EOF + + fi + +-echo "$as_me:16508: checking if you want wgetch-events code" >&5 ++echo "$as_me:16557: checking if you want wgetch-events code" >&5 + echo $ECHO_N "checking if you want wgetch-events code... $ECHO_C" >&6 + + # Check whether --enable-wgetch-events or --disable-wgetch-events was given. +@@ -16515,7 +16564,7 @@ if test "${enable_wgetch_events+set}" = set; then + else + with_wgetch_events=no + fi; +-echo "$as_me:16518: result: $with_wgetch_events" >&5 ++echo "$as_me:16567: result: $with_wgetch_events" >&5 + echo "${ECHO_T}$with_wgetch_events" >&6 + if test "x$with_wgetch_events" = xyes ; then + +@@ -16530,7 +16579,7 @@ fi + + case "$cf_cv_system_name" in + (*mingw32*|*mingw64*|*-msvc*) +- echo "$as_me:16533: checking if you want experimental-Windows driver" >&5 ++ echo "$as_me:16582: checking if you want experimental-Windows driver" >&5 + echo $ECHO_N "checking if you want experimental-Windows driver... $ECHO_C" >&6 + + # Check whether --enable-exp-win32 or --disable-exp-win32 was given. +@@ -16540,7 +16589,7 @@ if test "${enable_exp_win32+set}" = set; then + else + with_exp_win32=no + fi; +- echo "$as_me:16543: result: $with_exp_win32" >&5 ++ echo "$as_me:16592: result: $with_exp_win32" >&5 + echo "${ECHO_T}$with_exp_win32" >&6 + if test "x$with_exp_win32" = xyes + then +@@ -16566,7 +16615,7 @@ esac + + ### use option --disable-echo to suppress full display compiling commands + +-echo "$as_me:16569: checking if you want to see long compiling messages" >&5 ++echo "$as_me:16618: 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. +@@ -16600,7 +16649,7 @@ else + ECHO_CC='' + + fi; +-echo "$as_me:16603: result: $enableval" >&5 ++echo "$as_me:16652: result: $enableval" >&5 + echo "${ECHO_T}$enableval" >&6 + + if test "x$enable_echo" = xyes; then +@@ -16613,7 +16662,7 @@ fi + + # --disable-stripping is used for debugging + +-echo "$as_me:16616: checking if you want to install stripped executables" >&5 ++echo "$as_me:16665: checking if you want to install stripped executables" >&5 + echo $ECHO_N "checking if you want to install stripped executables... $ECHO_C" >&6 + + # Check whether --enable-stripping or --disable-stripping was given. +@@ -16630,7 +16679,7 @@ else + enable_stripping=yes + + fi; +-echo "$as_me:16633: result: $enable_stripping" >&5 ++echo "$as_me:16682: result: $enable_stripping" >&5 + echo "${ECHO_T}$enable_stripping" >&6 + + if test "$enable_stripping" = yes +@@ -16641,7 +16690,7 @@ else + fi + + : "${INSTALL:=install}" +-echo "$as_me:16644: checking if install accepts -p option" >&5 ++echo "$as_me:16693: checking if install accepts -p option" >&5 + echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6 + if test "${cf_cv_install_p+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16672,10 +16721,10 @@ else + rm -rf ./conftest* + + fi +-echo "$as_me:16675: result: $cf_cv_install_p" >&5 ++echo "$as_me:16724: result: $cf_cv_install_p" >&5 + echo "${ECHO_T}$cf_cv_install_p" >&6 + +-echo "$as_me:16678: checking if install needs to be told about ownership" >&5 ++echo "$as_me:16727: checking if install needs to be told about ownership" >&5 + echo $ECHO_N "checking if install needs to be told about ownership... $ECHO_C" >&6 + case `$ac_config_guess` in + (*minix) +@@ -16686,7 +16735,7 @@ case `$ac_config_guess` in + ;; + esac + +-echo "$as_me:16689: result: $with_install_o" >&5 ++echo "$as_me:16738: result: $with_install_o" >&5 + echo "${ECHO_T}$with_install_o" >&6 + if test "x$with_install_o" = xyes + then +@@ -16711,7 +16760,7 @@ fi + + ### use option --enable-warnings to turn on all gcc warnings + +-echo "$as_me:16714: checking if you want to use C11 _Noreturn feature" >&5 ++echo "$as_me:16763: checking if you want to use C11 _Noreturn feature" >&5 + echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 + + # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. +@@ -16728,17 +16777,17 @@ else + enable_stdnoreturn=no + + fi; +-echo "$as_me:16731: result: $enable_stdnoreturn" >&5 ++echo "$as_me:16780: result: $enable_stdnoreturn" >&5 + echo "${ECHO_T}$enable_stdnoreturn" >&6 + + if test $enable_stdnoreturn = yes; then +-echo "$as_me:16735: checking for C11 _Noreturn feature" >&5 ++echo "$as_me:16784: checking for C11 _Noreturn feature" >&5 + echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 + if test "${cf_cv_c11_noreturn+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16741 "configure" ++#line 16790 "configure" + #include "confdefs.h" + + #include +@@ -16755,16 +16804,16 @@ if (feof(stdin)) giveup() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16758: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16807: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16761: \$? = $ac_status" >&5 ++ echo "$as_me:16810: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16764: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16813: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16767: \$? = $ac_status" >&5 ++ echo "$as_me:16816: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes + else +@@ -16775,7 +16824,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:16778: result: $cf_cv_c11_noreturn" >&5 ++echo "$as_me:16827: result: $cf_cv_c11_noreturn" >&5 + echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 + else + cf_cv_c11_noreturn=no, +@@ -16831,16 +16880,16 @@ then + then + test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16834: testing repairing CFLAGS: $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16883: testing repairing CFLAGS: $CFLAGS ..." 1>&5 + + CFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16839: testing ... fixed $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16888: testing ... fixed $CFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16843: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16892: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16879,16 +16928,16 @@ then + then + test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16882: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16931: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16887: testing ... fixed $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16936: testing ... fixed $CPPFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16891: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16940: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16927,23 +16976,23 @@ then + then + test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16930: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16979: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 + + LDFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16935: testing ... fixed $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16984: testing ... fixed $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16939: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16988: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; + esac + fi + +-echo "$as_me:16946: checking if you want to turn on gcc warnings" >&5 ++echo "$as_me:16995: checking if you want to turn on gcc warnings" >&5 + echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 + + # Check whether --enable-warnings or --disable-warnings was given. +@@ -16960,7 +17009,7 @@ else + enable_warnings=no + + fi; +-echo "$as_me:16963: result: $enable_warnings" >&5 ++echo "$as_me:17012: result: $enable_warnings" >&5 + echo "${ECHO_T}$enable_warnings" >&6 + if test "$enable_warnings" = "yes" + then +@@ -16984,7 +17033,7 @@ do + done + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16987 "configure" ++#line 17036 "configure" + #include "confdefs.h" + + #include +@@ -16999,26 +17048,26 @@ String foo = malloc(1); free((void*)foo) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17002: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17051: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17005: \$? = $ac_status" >&5 ++ echo "$as_me:17054: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17008: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17057: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17011: \$? = $ac_status" >&5 ++ echo "$as_me:17060: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + +-echo "$as_me:17014: checking for X11/Xt const-feature" >&5 ++echo "$as_me:17063: checking for X11/Xt const-feature" >&5 + echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 + if test "${cf_cv_const_x_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17021 "configure" ++#line 17070 "configure" + #include "confdefs.h" + + #define _CONST_X_STRING /* X11R7.8 (perhaps) */ +@@ -17035,16 +17084,16 @@ String foo = malloc(1); *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17038: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17087: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17041: \$? = $ac_status" >&5 ++ echo "$as_me:17090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17044: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17093: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17047: \$? = $ac_status" >&5 ++ echo "$as_me:17096: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_const_x_string=no +@@ -17059,7 +17108,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:17062: result: $cf_cv_const_x_string" >&5 ++echo "$as_me:17111: result: $cf_cv_const_x_string" >&5 + echo "${ECHO_T}$cf_cv_const_x_string" >&6 + + LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +@@ -17088,7 +17137,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + cat > "conftest.$ac_ext" <&5 ++ { echo "$as_me:17156: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" +@@ -17120,12 +17169,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:17123: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17172: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17126: \$? = $ac_status" >&5 ++ echo "$as_me:17175: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17128: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17177: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi +@@ -17133,7 +17182,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + CFLAGS="$cf_save_CFLAGS" + elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" + then +- { echo "$as_me:17136: checking for $CC warning options..." >&5 ++ { echo "$as_me:17185: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + cf_warn_CONST="" +@@ -17156,12 +17205,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:17159: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17208: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17162: \$? = $ac_status" >&5 ++ echo "$as_me:17211: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17164: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17213: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + case "$cf_opt" in + (Winline) +@@ -17169,7 +17218,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + ([34].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:17172: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:17221: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -17179,7 +17228,7 @@ echo "${as_me:-configure}:17172: testing feature is broken in gcc $GCC_VERSION . + ([12].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:17182: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:17231: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -17212,10 +17261,10 @@ cat > conftest.i <&5 ++ { echo "$as_me:17264: checking for $CC __attribute__ directives..." >&5 + echo "$as_me: checking for $CC __attribute__ directives..." >&6;} + cat > "conftest.$ac_ext" <&5 ++ if { (eval echo "$as_me:17316: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17270: \$? = $ac_status" >&5 ++ echo "$as_me:17319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17272: result: ... $cf_attribute" >&5 ++ test -n "$verbose" && echo "$as_me:17321: result: ... $cf_attribute" >&5 + echo "${ECHO_T}... $cf_attribute" >&6 + cat conftest.h >>confdefs.h + case "$cf_attribute" in +@@ -17341,12 +17390,12 @@ INTEL_CPLUSPLUS=no + if test "$GCC" = yes ; then + case "$host_os" in + (linux*|gnu*) +- echo "$as_me:17344: checking if this is really Intel C++ compiler" >&5 ++ echo "$as_me:17393: 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="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -no-gcc" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17349 "configure" ++#line 17398 "configure" + #include "confdefs.h" + + int +@@ -17363,16 +17412,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17366: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17415: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17369: \$? = $ac_status" >&5 ++ echo "$as_me:17418: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17372: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17421: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17375: \$? = $ac_status" >&5 ++ echo "$as_me:17424: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + INTEL_CPLUSPLUS=yes + cf_save_CFLAGS="$cf_save_CFLAGS -we147" +@@ -17383,7 +17432,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CXXFLAGS="$cf_save_CFLAGS" +- echo "$as_me:17386: result: $INTEL_CPLUSPLUS" >&5 ++ echo "$as_me:17435: result: $INTEL_CPLUSPLUS" >&5 + echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6 + ;; + esac +@@ -17392,11 +17441,11 @@ fi + CLANG_CPLUSPLUS=no + + if test "$GCC" = yes ; then +- echo "$as_me:17395: checking if this is really Clang C++ compiler" >&5 ++ echo "$as_me:17444: 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="$CXXFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17399 "configure" ++#line 17448 "configure" + #include "confdefs.h" + + int +@@ -17413,16 +17462,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17416: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17465: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17419: \$? = $ac_status" >&5 ++ echo "$as_me:17468: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17422: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17471: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17425: \$? = $ac_status" >&5 ++ echo "$as_me:17474: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + CLANG_CPLUSPLUS=yes + +@@ -17432,7 +17481,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CXXFLAGS="$cf_save_CFLAGS" +- echo "$as_me:17435: result: $CLANG_CPLUSPLUS" >&5 ++ echo "$as_me:17484: result: $CLANG_CPLUSPLUS" >&5 + echo "${ECHO_T}$CLANG_CPLUSPLUS" >&6 + fi + +@@ -17441,30 +17490,30 @@ CLANG_VERSION=none + if test "x$CLANG_CPLUSPLUS" = "xyes" ; then + case "$CC" in + (c[1-9][0-9]|*/c[1-9][0-9]) +- { echo "$as_me:17444: WARNING: replacing broken compiler alias $CC" >&5 ++ { echo "$as_me:17493: WARNING: replacing broken compiler alias $CC" >&5 + echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;} + CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`" + CC=clang + ;; + esac + +- echo "$as_me:17451: checking version of $CC" >&5 ++ echo "$as_me:17500: checking version of $CC" >&5 + echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 + CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" + test -z "$CLANG_VERSION" && CLANG_VERSION=unknown +- echo "$as_me:17455: result: $CLANG_VERSION" >&5 ++ echo "$as_me:17504: result: $CLANG_VERSION" >&5 + echo "${ECHO_T}$CLANG_VERSION" >&6 + + for cf_clang_opt in \ + -Qunused-arguments \ + -Wno-error=implicit-function-declaration + do +- echo "$as_me:17462: checking if option $cf_clang_opt works" >&5 ++ echo "$as_me:17511: checking if option $cf_clang_opt works" >&5 + echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $cf_clang_opt" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17467 "configure" ++#line 17516 "configure" + #include "confdefs.h" + + #include +@@ -17478,16 +17527,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17481: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17530: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17484: \$? = $ac_status" >&5 ++ echo "$as_me:17533: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17487: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17536: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17490: \$? = $ac_status" >&5 ++ echo "$as_me:17539: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_clang_optok=yes +@@ -17498,13 +17547,13 @@ cat "conftest.$ac_ext" >&5 + cf_clang_optok=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:17501: result: $cf_clang_optok" >&5 ++ echo "$as_me:17550: result: $cf_clang_optok" >&5 + echo "${ECHO_T}$cf_clang_optok" >&6 + CFLAGS="$cf_save_CFLAGS" + if test "$cf_clang_optok" = yes; then + test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6 + +-echo "${as_me:-configure}:17507: testing adding option $cf_clang_opt ..." 1>&5 ++echo "${as_me:-configure}:17556: testing adding option $cf_clang_opt ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_clang_opt" +@@ -17521,7 +17570,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + cat > conftest.$ac_ext <&5 ++ { echo "$as_me:17591: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CXXFLAGS="$CXXFLAGS" + EXTRA_CXXFLAGS="-Wall" +@@ -17556,12 +17605,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt" +- if { (eval echo "$as_me:17559: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17608: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17562: \$? = $ac_status" >&5 ++ echo "$as_me:17611: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17564: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17613: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" + fi +@@ -17570,7 +17619,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + + elif test "$GXX" = yes + then +- { echo "$as_me:17573: checking for $CXX warning options..." >&5 ++ { echo "$as_me:17622: checking for $CXX warning options..." >&5 + echo "$as_me: checking for $CXX warning options..." >&6;} + cf_save_CXXFLAGS="$CXXFLAGS" + EXTRA_CXXFLAGS="-W -Wall" +@@ -17600,16 +17649,16 @@ echo "$as_me: checking for $CXX warning options..." >&6;} + Wundef $cf_gxx_extra_warnings Wno-unused + do + CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt" +- if { (eval echo "$as_me:17603: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17652: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17606: \$? = $ac_status" >&5 ++ echo "$as_me:17655: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17608: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17657: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" + else +- test -n "$verbose" && echo "$as_me:17612: result: ... no -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17661: result: ... no -$cf_opt" >&5 + echo "${ECHO_T}... no -$cf_opt" >&6 + fi + done +@@ -17627,7 +17676,7 @@ ac_main_return="return" + fi + fi + +-echo "$as_me:17630: checking if you want to work around bogus compiler/loader warnings" >&5 ++echo "$as_me:17679: checking if you want to work around bogus compiler/loader warnings" >&5 + echo $ECHO_N "checking if you want to work around bogus compiler/loader warnings... $ECHO_C" >&6 + + # Check whether --enable-string-hacks or --disable-string-hacks was given. +@@ -17637,7 +17686,7 @@ if test "${enable_string_hacks+set}" = set; then + else + enable_string_hacks=no + fi; +-echo "$as_me:17640: result: $enable_string_hacks" >&5 ++echo "$as_me:17689: result: $enable_string_hacks" >&5 + echo "${ECHO_T}$enable_string_hacks" >&6 + + if test "x$enable_string_hacks" = "xyes"; then +@@ -17646,15 +17695,15 @@ cat >>confdefs.h <<\EOF + #define USE_STRING_HACKS 1 + EOF + +- { echo "$as_me:17649: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5 ++ { echo "$as_me:17698: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5 + echo "$as_me: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&2;} +- echo "$as_me:17651: checking for strlcat" >&5 ++ echo "$as_me:17700: checking for strlcat" >&5 + echo $ECHO_N "checking for strlcat... $ECHO_C" >&6 + if test "${ac_cv_func_strlcat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17657 "configure" ++#line 17706 "configure" + #include "confdefs.h" + #define strlcat autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17685,16 +17734,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17688: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17737: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17691: \$? = $ac_status" >&5 ++ echo "$as_me:17740: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17694: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17743: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17697: \$? = $ac_status" >&5 ++ echo "$as_me:17746: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_strlcat=yes + else +@@ -17704,7 +17753,7 @@ ac_cv_func_strlcat=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17707: result: $ac_cv_func_strlcat" >&5 ++echo "$as_me:17756: result: $ac_cv_func_strlcat" >&5 + echo "${ECHO_T}$ac_cv_func_strlcat" >&6 + if test "$ac_cv_func_strlcat" = yes; then + +@@ -17714,7 +17763,7 @@ EOF + + else + +- echo "$as_me:17717: checking for strlcat in -lbsd" >&5 ++ echo "$as_me:17766: checking for strlcat in -lbsd" >&5 + echo $ECHO_N "checking for strlcat in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_strlcat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17722,7 +17771,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17725 "configure" ++#line 17774 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17741,16 +17790,16 @@ strlcat (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17744: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17793: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17747: \$? = $ac_status" >&5 ++ echo "$as_me:17796: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17750: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17799: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17753: \$? = $ac_status" >&5 ++ echo "$as_me:17802: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_strlcat=yes + else +@@ -17761,7 +17810,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17764: result: $ac_cv_lib_bsd_strlcat" >&5 ++echo "$as_me:17813: result: $ac_cv_lib_bsd_strlcat" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_strlcat" >&6 + if test "$ac_cv_lib_bsd_strlcat" = yes; then + +@@ -17784,23 +17833,23 @@ LIBS="$cf_add_libs" + for ac_header in bsd/string.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:17787: checking for $ac_header" >&5 ++echo "$as_me:17836: 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 17793 "configure" ++#line 17842 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:17797: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:17846: \"$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:17803: \$? = $ac_status" >&5 ++ echo "$as_me:17852: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -17819,7 +17868,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:17822: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17871: 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 <&5 ++echo "$as_me:17892: 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 17849 "configure" ++#line 17898 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17877,16 +17926,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17880: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17929: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17883: \$? = $ac_status" >&5 ++ echo "$as_me:17932: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17886: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17935: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17889: \$? = $ac_status" >&5 ++ echo "$as_me:17938: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -17896,7 +17945,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17899: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:17948: 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 <&5 ++echo "$as_me:17961: checking if you want to enable runtime assertions" >&5 + echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 + + # Check whether --enable-assertions or --disable-assertions was given. +@@ -17919,7 +17968,7 @@ if test "${enable_assertions+set}" = set; then + else + with_assertions=no + fi; +-echo "$as_me:17922: result: $with_assertions" >&5 ++echo "$as_me:17971: result: $with_assertions" >&5 + echo "${ECHO_T}$with_assertions" >&6 + if test -n "$GCC" + then +@@ -17935,7 +17984,7 @@ fi + + ### use option --disable-leaks to suppress "permanent" leaks, for testing + +-echo "$as_me:17938: checking if you want to use dmalloc for testing" >&5 ++echo "$as_me:17987: 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. +@@ -17957,7 +18006,7 @@ EOF + else + with_dmalloc= + fi; +-echo "$as_me:17960: result: ${with_dmalloc:-no}" >&5 ++echo "$as_me:18009: result: ${with_dmalloc:-no}" >&5 + echo "${ECHO_T}${with_dmalloc:-no}" >&6 + + case ".$with_cflags" in +@@ -18071,23 +18120,23 @@ fi + esac + + if test "$with_dmalloc" = yes ; then +- echo "$as_me:18074: checking for dmalloc.h" >&5 ++ echo "$as_me:18123: 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 18080 "configure" ++#line 18129 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:18084: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:18133: \"$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:18090: \$? = $ac_status" >&5 ++ echo "$as_me:18139: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -18106,11 +18155,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:18109: result: $ac_cv_header_dmalloc_h" >&5 ++echo "$as_me:18158: 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:18113: checking for dmalloc_debug in -ldmalloc" >&5 ++echo "$as_me:18162: 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 +@@ -18118,7 +18167,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldmalloc $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18121 "configure" ++#line 18170 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18137,16 +18186,16 @@ dmalloc_debug (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18140: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18189: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18143: \$? = $ac_status" >&5 ++ echo "$as_me:18192: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18146: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18195: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18149: \$? = $ac_status" >&5 ++ echo "$as_me:18198: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dmalloc_dmalloc_debug=yes + else +@@ -18157,7 +18206,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18160: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 ++echo "$as_me:18209: 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 <&5 ++echo "$as_me:18224: 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. +@@ -18194,7 +18243,7 @@ EOF + else + with_dbmalloc= + fi; +-echo "$as_me:18197: result: ${with_dbmalloc:-no}" >&5 ++echo "$as_me:18246: result: ${with_dbmalloc:-no}" >&5 + echo "${ECHO_T}${with_dbmalloc:-no}" >&6 + + case ".$with_cflags" in +@@ -18308,23 +18357,23 @@ fi + esac + + if test "$with_dbmalloc" = yes ; then +- echo "$as_me:18311: checking for dbmalloc.h" >&5 ++ echo "$as_me:18360: 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 18317 "configure" ++#line 18366 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:18321: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:18370: \"$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:18327: \$? = $ac_status" >&5 ++ echo "$as_me:18376: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -18343,11 +18392,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:18346: result: $ac_cv_header_dbmalloc_h" >&5 ++echo "$as_me:18395: 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:18350: checking for debug_malloc in -ldbmalloc" >&5 ++echo "$as_me:18399: 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 +@@ -18355,7 +18404,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldbmalloc $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18358 "configure" ++#line 18407 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18374,16 +18423,16 @@ debug_malloc (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18377: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18426: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18380: \$? = $ac_status" >&5 ++ echo "$as_me:18429: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18383: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18432: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18386: \$? = $ac_status" >&5 ++ echo "$as_me:18435: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dbmalloc_debug_malloc=yes + else +@@ -18394,7 +18443,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18397: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 ++echo "$as_me:18446: 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 <&5 ++echo "$as_me:18461: 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. +@@ -18431,7 +18480,7 @@ EOF + else + with_valgrind= + fi; +-echo "$as_me:18434: result: ${with_valgrind:-no}" >&5 ++echo "$as_me:18483: result: ${with_valgrind:-no}" >&5 + echo "${ECHO_T}${with_valgrind:-no}" >&6 + + case ".$with_cflags" in +@@ -18544,7 +18593,7 @@ fi + ;; + esac + +-echo "$as_me:18547: checking if you want to perform memory-leak testing" >&5 ++echo "$as_me:18596: 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 --enable-leaks or --disable-leaks was given. +@@ -18555,7 +18604,7 @@ else + enable_leaks=yes + fi; + if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi +-echo "$as_me:18558: result: $with_no_leaks" >&5 ++echo "$as_me:18607: result: $with_no_leaks" >&5 + echo "${ECHO_T}$with_no_leaks" >&6 + + if test "$enable_leaks" = no ; then +@@ -18607,7 +18656,7 @@ case "$CFLAGS $CPPFLAGS" in + ;; + esac + +-echo "$as_me:18610: checking whether to add trace feature to all models" >&5 ++echo "$as_me:18659: checking whether to add trace feature to all models" >&5 + echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 + + # Check whether --with-trace or --without-trace was given. +@@ -18617,7 +18666,7 @@ if test "${with_trace+set}" = set; then + else + cf_with_trace=$cf_all_traces + fi; +-echo "$as_me:18620: result: $cf_with_trace" >&5 ++echo "$as_me:18669: result: $cf_with_trace" >&5 + echo "${ECHO_T}$cf_with_trace" >&6 + + if test "x$cf_with_trace" = xyes ; then +@@ -18731,7 +18780,7 @@ else + ADA_TRACE=FALSE + fi + +-echo "$as_me:18734: checking if we want to use GNAT projects" >&5 ++echo "$as_me:18783: checking if we want to use GNAT projects" >&5 + echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 + + # Check whether --enable-gnat-projects or --disable-gnat-projects was given. +@@ -18748,7 +18797,7 @@ else + enable_gnat_projects=yes + + fi; +-echo "$as_me:18751: result: $enable_gnat_projects" >&5 ++echo "$as_me:18800: result: $enable_gnat_projects" >&5 + echo "${ECHO_T}$enable_gnat_projects" >&6 + + ### Checks for libraries. +@@ -18761,14 +18810,14 @@ case "$cf_cv_system_name" in + CPPFLAGS="$CPPFLAGS -DWINVER=0x0501 -DWIN32_LEAN_AND_MEAN" + fi + +-echo "$as_me:18764: checking if ssp library is needed" >&5 ++echo "$as_me:18813: checking if ssp library is needed" >&5 + echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6 + if test "${cf_cv_need_libssp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18771 "configure" ++#line 18820 "configure" + #include "confdefs.h" + + #include +@@ -18785,16 +18834,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18788: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18837: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18791: \$? = $ac_status" >&5 ++ echo "$as_me:18840: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18794: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18843: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18797: \$? = $ac_status" >&5 ++ echo "$as_me:18846: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=no + else +@@ -18804,7 +18853,7 @@ cat "conftest.$ac_ext" >&5 + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lssp" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18807 "configure" ++#line 18856 "configure" + #include "confdefs.h" + + #include +@@ -18821,16 +18870,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18824: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18873: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18827: \$? = $ac_status" >&5 ++ echo "$as_me:18876: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18830: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18879: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18833: \$? = $ac_status" >&5 ++ echo "$as_me:18882: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=yes + else +@@ -18844,7 +18893,7 @@ 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:18847: result: $cf_cv_need_libssp" >&5 ++echo "$as_me:18896: result: $cf_cv_need_libssp" >&5 + echo "${ECHO_T}$cf_cv_need_libssp" >&6 + + if test "x$cf_cv_need_libssp" = xyes +@@ -18870,13 +18919,13 @@ fi + + ;; + (*) +-echo "$as_me:18873: checking for gettimeofday" >&5 ++echo "$as_me:18922: checking for gettimeofday" >&5 + echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 + if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18879 "configure" ++#line 18928 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -18907,16 +18956,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18910: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18959: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18913: \$? = $ac_status" >&5 ++ echo "$as_me:18962: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18916: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18965: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18919: \$? = $ac_status" >&5 ++ echo "$as_me:18968: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -18926,7 +18975,7 @@ ac_cv_func_gettimeofday=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:18929: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:18978: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + +@@ -18936,7 +18985,7 @@ EOF + + else + +-echo "$as_me:18939: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:18988: checking for gettimeofday in -lbsd" >&5 + echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -18944,7 +18993,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18947 "configure" ++#line 18996 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18963,16 +19012,16 @@ gettimeofday (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18966: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19015: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18969: \$? = $ac_status" >&5 ++ echo "$as_me:19018: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18972: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19021: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18975: \$? = $ac_status" >&5 ++ echo "$as_me:19024: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -18983,7 +19032,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18986: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:19035: result: $ac_cv_lib_bsd_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 + if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +@@ -19013,14 +19062,14 @@ fi + ;; + esac + +-echo "$as_me:19016: checking if -lm needed for math functions" >&5 ++echo "$as_me:19065: 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 19023 "configure" ++#line 19072 "configure" + #include "confdefs.h" + + #include +@@ -19036,16 +19085,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19039: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19088: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19042: \$? = $ac_status" >&5 ++ echo "$as_me:19091: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19045: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19094: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19048: \$? = $ac_status" >&5 ++ echo "$as_me:19097: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libm=no + else +@@ -19055,7 +19104,7 @@ cf_cv_need_libm=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19058: result: $cf_cv_need_libm" >&5 ++echo "$as_me:19107: result: $cf_cv_need_libm" >&5 + echo "${ECHO_T}$cf_cv_need_libm" >&6 + + if test "$cf_cv_need_libm" = yes +@@ -19063,14 +19112,14 @@ then + + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lm" +- echo "$as_me:19066: checking if -lm is available for math functions" >&5 ++ echo "$as_me:19115: checking if -lm is available for math functions" >&5 + echo $ECHO_N "checking if -lm is available for math functions... $ECHO_C" >&6 + if test "${cf_cv_have_libm+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19073 "configure" ++#line 19122 "configure" + #include "confdefs.h" + + #include +@@ -19086,16 +19135,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19089: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19138: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19092: \$? = $ac_status" >&5 ++ echo "$as_me:19141: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19095: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19144: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19098: \$? = $ac_status" >&5 ++ echo "$as_me:19147: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_libm=yes + else +@@ -19105,7 +19154,7 @@ cf_cv_have_libm=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19108: result: $cf_cv_have_libm" >&5 ++echo "$as_me:19157: result: $cf_cv_have_libm" >&5 + echo "${ECHO_T}$cf_cv_have_libm" >&6 + LIBS="$cf_save_LIBS" + +@@ -19127,13 +19176,13 @@ EOF + fi + + ### Checks for header files. +-echo "$as_me:19130: checking for ANSI C header files" >&5 ++echo "$as_me:19179: 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 19136 "configure" ++#line 19185 "configure" + #include "confdefs.h" + #include + #include +@@ -19141,13 +19190,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:19144: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:19193: \"$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:19150: \$? = $ac_status" >&5 ++ echo "$as_me:19199: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -19169,7 +19218,7 @@ 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 19172 "configure" ++#line 19221 "configure" + #include "confdefs.h" + #include + +@@ -19187,7 +19236,7 @@ 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 19190 "configure" ++#line 19239 "configure" + #include "confdefs.h" + #include + +@@ -19208,7 +19257,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19211 "configure" ++#line 19260 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -19234,15 +19283,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:19237: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19286: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19240: \$? = $ac_status" >&5 ++ echo "$as_me:19289: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:19242: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19291: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19245: \$? = $ac_status" >&5 ++ echo "$as_me:19294: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -19255,7 +19304,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:19258: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:19307: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -19268,13 +19317,13 @@ 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:19271: checking for $ac_hdr that defines DIR" >&5 ++echo "$as_me:19320: 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 19277 "configure" ++#line 19326 "configure" + #include "confdefs.h" + #include + #include <$ac_hdr> +@@ -19289,16 +19338,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:19292: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:19341: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:19295: \$? = $ac_status" >&5 ++ echo "$as_me:19344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:19298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19301: \$? = $ac_status" >&5 ++ echo "$as_me:19350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -19308,7 +19357,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:19311: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:19360: 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 <&5 ++ echo "$as_me:19373: 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 +@@ -19329,7 +19378,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldir $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19332 "configure" ++#line 19381 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19348,16 +19397,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19351: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19400: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19354: \$? = $ac_status" >&5 ++ echo "$as_me:19403: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19357: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19406: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19360: \$? = $ac_status" >&5 ++ echo "$as_me:19409: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dir_opendir=yes + else +@@ -19368,14 +19417,14 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19371: result: $ac_cv_lib_dir_opendir" >&5 ++echo "$as_me:19420: 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:19378: checking for opendir in -lx" >&5 ++ echo "$as_me:19427: 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 +@@ -19383,7 +19432,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19386 "configure" ++#line 19435 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19402,16 +19451,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19405: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19454: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19408: \$? = $ac_status" >&5 ++ echo "$as_me:19457: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19411: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19460: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19414: \$? = $ac_status" >&5 ++ echo "$as_me:19463: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_x_opendir=yes + else +@@ -19422,7 +19471,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19425: result: $ac_cv_lib_x_opendir" >&5 ++echo "$as_me:19474: 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" +@@ -19430,13 +19479,13 @@ fi + + fi + +-echo "$as_me:19433: checking whether time.h and sys/time.h may both be included" >&5 ++echo "$as_me:19482: 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 19439 "configure" ++#line 19488 "configure" + #include "confdefs.h" + #include + #include +@@ -19452,16 +19501,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:19455: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:19504: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:19458: \$? = $ac_status" >&5 ++ echo "$as_me:19507: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:19461: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19510: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19464: \$? = $ac_status" >&5 ++ echo "$as_me:19513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_header_time=yes + else +@@ -19471,7 +19520,7 @@ ac_cv_header_time=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:19474: result: $ac_cv_header_time" >&5 ++echo "$as_me:19523: result: $ac_cv_header_time" >&5 + echo "${ECHO_T}$ac_cv_header_time" >&6 + if test $ac_cv_header_time = yes; then + +@@ -19486,7 +19535,7 @@ cf_regex_libs= + case "$host_os" in + (mingw*) + # -lsystre -ltre -lintl -liconv +- echo "$as_me:19489: checking for regcomp in -lsystre" >&5 ++ echo "$as_me:19538: checking for regcomp in -lsystre" >&5 + echo $ECHO_N "checking for regcomp in -lsystre... $ECHO_C" >&6 + if test "${ac_cv_lib_systre_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19494,7 +19543,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsystre $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19497 "configure" ++#line 19546 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19513,16 +19562,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19516: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19565: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19519: \$? = $ac_status" >&5 ++ echo "$as_me:19568: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19522: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19571: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19525: \$? = $ac_status" >&5 ++ echo "$as_me:19574: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_systre_regcomp=yes + else +@@ -19533,11 +19582,11 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19536: result: $ac_cv_lib_systre_regcomp" >&5 ++echo "$as_me:19585: result: $ac_cv_lib_systre_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_systre_regcomp" >&6 + if test "$ac_cv_lib_systre_regcomp" = yes; then + +- echo "$as_me:19540: checking for libiconv_open in -liconv" >&5 ++ echo "$as_me:19589: checking for libiconv_open in -liconv" >&5 + echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6 + if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19545,7 +19594,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-liconv $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19548 "configure" ++#line 19597 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19564,16 +19613,16 @@ libiconv_open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19567: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19616: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19570: \$? = $ac_status" >&5 ++ echo "$as_me:19619: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19573: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19622: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19576: \$? = $ac_status" >&5 ++ echo "$as_me:19625: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_iconv_libiconv_open=yes + else +@@ -19584,7 +19633,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19587: result: $ac_cv_lib_iconv_libiconv_open" >&5 ++echo "$as_me:19636: result: $ac_cv_lib_iconv_libiconv_open" >&5 + echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6 + if test "$ac_cv_lib_iconv_libiconv_open" = yes; then + +@@ -19606,7 +19655,7 @@ LIBS="$cf_add_libs" + + fi + +- echo "$as_me:19609: checking for libintl_gettext in -lintl" >&5 ++ echo "$as_me:19658: checking for libintl_gettext in -lintl" >&5 + echo $ECHO_N "checking for libintl_gettext in -lintl... $ECHO_C" >&6 + if test "${ac_cv_lib_intl_libintl_gettext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19614,7 +19663,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lintl $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19617 "configure" ++#line 19666 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19633,16 +19682,16 @@ libintl_gettext (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19636: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19685: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19639: \$? = $ac_status" >&5 ++ echo "$as_me:19688: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19642: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19691: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19645: \$? = $ac_status" >&5 ++ echo "$as_me:19694: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_intl_libintl_gettext=yes + else +@@ -19653,7 +19702,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19656: result: $ac_cv_lib_intl_libintl_gettext" >&5 ++echo "$as_me:19705: result: $ac_cv_lib_intl_libintl_gettext" >&5 + echo "${ECHO_T}$ac_cv_lib_intl_libintl_gettext" >&6 + if test "$ac_cv_lib_intl_libintl_gettext" = yes; then + +@@ -19675,7 +19724,7 @@ LIBS="$cf_add_libs" + + fi + +- echo "$as_me:19678: checking for tre_regcomp in -ltre" >&5 ++ echo "$as_me:19727: checking for tre_regcomp in -ltre" >&5 + echo $ECHO_N "checking for tre_regcomp in -ltre... $ECHO_C" >&6 + if test "${ac_cv_lib_tre_tre_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19683,7 +19732,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ltre $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19686 "configure" ++#line 19735 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19702,16 +19751,16 @@ tre_regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19705: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19754: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19708: \$? = $ac_status" >&5 ++ echo "$as_me:19757: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19711: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19760: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19714: \$? = $ac_status" >&5 ++ echo "$as_me:19763: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_tre_tre_regcomp=yes + else +@@ -19722,7 +19771,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19725: result: $ac_cv_lib_tre_tre_regcomp" >&5 ++echo "$as_me:19774: result: $ac_cv_lib_tre_tre_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_tre_tre_regcomp" >&6 + if test "$ac_cv_lib_tre_tre_regcomp" = yes; then + +@@ -19764,7 +19813,7 @@ LIBS="$cf_add_libs" + + else + +- echo "$as_me:19767: checking for regcomp in -lgnurx" >&5 ++ echo "$as_me:19816: checking for regcomp in -lgnurx" >&5 + echo $ECHO_N "checking for regcomp in -lgnurx... $ECHO_C" >&6 + if test "${ac_cv_lib_gnurx_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19772,7 +19821,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgnurx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19775 "configure" ++#line 19824 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19791,16 +19840,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19794: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19843: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19797: \$? = $ac_status" >&5 ++ echo "$as_me:19846: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19800: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19849: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19803: \$? = $ac_status" >&5 ++ echo "$as_me:19852: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gnurx_regcomp=yes + else +@@ -19811,7 +19860,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19814: result: $ac_cv_lib_gnurx_regcomp" >&5 ++echo "$as_me:19863: result: $ac_cv_lib_gnurx_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_gnurx_regcomp" >&6 + if test "$ac_cv_lib_gnurx_regcomp" = yes; then + +@@ -19839,13 +19888,13 @@ fi + ;; + (*) + cf_regex_libs="regex re" +- echo "$as_me:19842: checking for regcomp" >&5 ++ echo "$as_me:19891: checking for regcomp" >&5 + echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 + if test "${ac_cv_func_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19848 "configure" ++#line 19897 "configure" + #include "confdefs.h" + #define regcomp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -19876,16 +19925,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19879: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19928: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19882: \$? = $ac_status" >&5 ++ echo "$as_me:19931: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19885: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19934: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19888: \$? = $ac_status" >&5 ++ echo "$as_me:19937: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_regcomp=yes + else +@@ -19895,7 +19944,7 @@ ac_cv_func_regcomp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19898: result: $ac_cv_func_regcomp" >&5 ++echo "$as_me:19947: result: $ac_cv_func_regcomp" >&5 + echo "${ECHO_T}$ac_cv_func_regcomp" >&6 + if test "$ac_cv_func_regcomp" = yes; then + cf_regex_func=regcomp +@@ -19904,7 +19953,7 @@ else + for cf_regex_lib in $cf_regex_libs + do + as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh` +-echo "$as_me:19907: checking for regcomp in -l$cf_regex_lib" >&5 ++echo "$as_me:19956: checking for regcomp in -l$cf_regex_lib" >&5 + echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6 + if eval "test \"\${$as_ac_Lib+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19912,7 +19961,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-l$cf_regex_lib $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19915 "configure" ++#line 19964 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19931,16 +19980,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19934: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19983: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19937: \$? = $ac_status" >&5 ++ echo "$as_me:19986: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19940: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19989: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19943: \$? = $ac_status" >&5 ++ echo "$as_me:19992: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Lib=yes" + else +@@ -19951,7 +20000,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19954: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5 ++echo "$as_me:20003: 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 + +@@ -19983,13 +20032,13 @@ fi + esac + + if test "$cf_regex_func" = no ; then +- echo "$as_me:19986: checking for compile" >&5 ++ echo "$as_me:20035: checking for compile" >&5 + echo $ECHO_N "checking for compile... $ECHO_C" >&6 + if test "${ac_cv_func_compile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19992 "configure" ++#line 20041 "configure" + #include "confdefs.h" + #define compile autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20020,16 +20069,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20023: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20072: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20026: \$? = $ac_status" >&5 ++ echo "$as_me:20075: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20029: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20078: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20032: \$? = $ac_status" >&5 ++ echo "$as_me:20081: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_compile=yes + else +@@ -20039,13 +20088,13 @@ ac_cv_func_compile=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20042: result: $ac_cv_func_compile" >&5 ++echo "$as_me:20091: result: $ac_cv_func_compile" >&5 + echo "${ECHO_T}$ac_cv_func_compile" >&6 + if test "$ac_cv_func_compile" = yes; then + cf_regex_func=compile + else + +- echo "$as_me:20048: checking for compile in -lgen" >&5 ++ echo "$as_me:20097: checking for compile in -lgen" >&5 + echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6 + if test "${ac_cv_lib_gen_compile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20053,7 +20102,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgen $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20056 "configure" ++#line 20105 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -20072,16 +20121,16 @@ compile (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20075: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20124: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20078: \$? = $ac_status" >&5 ++ echo "$as_me:20127: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20081: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20130: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20084: \$? = $ac_status" >&5 ++ echo "$as_me:20133: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gen_compile=yes + else +@@ -20092,7 +20141,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:20095: result: $ac_cv_lib_gen_compile" >&5 ++echo "$as_me:20144: result: $ac_cv_lib_gen_compile" >&5 + echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6 + if test "$ac_cv_lib_gen_compile" = yes; then + +@@ -20120,11 +20169,11 @@ fi + fi + + if test "$cf_regex_func" = no ; then +- { echo "$as_me:20123: WARNING: cannot find regular expression library" >&5 ++ { echo "$as_me:20172: WARNING: cannot find regular expression library" >&5 + echo "$as_me: WARNING: cannot find regular expression library" >&2;} + fi + +-echo "$as_me:20127: checking for regular-expression headers" >&5 ++echo "$as_me:20176: checking for regular-expression headers" >&5 + echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6 + if test "${cf_cv_regex_hdrs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20136,7 +20185,7 @@ case "$cf_regex_func" in + for cf_regex_hdr in regexp.h regexpr.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20139 "configure" ++#line 20188 "configure" + #include "confdefs.h" + #include <$cf_regex_hdr> + int +@@ -20153,16 +20202,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20156: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20205: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20159: \$? = $ac_status" >&5 ++ echo "$as_me:20208: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20162: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20211: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20165: \$? = $ac_status" >&5 ++ echo "$as_me:20214: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_regex_hdrs=$cf_regex_hdr +@@ -20179,7 +20228,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + for cf_regex_hdr in regex.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20182 "configure" ++#line 20231 "configure" + #include "confdefs.h" + #include + #include <$cf_regex_hdr> +@@ -20199,16 +20248,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20202: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20251: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20205: \$? = $ac_status" >&5 ++ echo "$as_me:20254: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20208: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20257: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20211: \$? = $ac_status" >&5 ++ echo "$as_me:20260: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_regex_hdrs=$cf_regex_hdr +@@ -20224,11 +20273,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + esac + + fi +-echo "$as_me:20227: result: $cf_cv_regex_hdrs" >&5 ++echo "$as_me:20276: result: $cf_cv_regex_hdrs" >&5 + echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 + + case "$cf_cv_regex_hdrs" in +- (no) { echo "$as_me:20231: WARNING: no regular expression header found" >&5 ++ (no) { echo "$as_me:20280: WARNING: no regular expression header found" >&5 + echo "$as_me: WARNING: no regular expression header found" >&2;} ;; + (regex.h) + cat >>confdefs.h <<\EOF +@@ -20265,23 +20314,23 @@ wctype.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:20268: checking for $ac_header" >&5 ++echo "$as_me:20317: 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 20274 "configure" ++#line 20323 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20278: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20327: \"$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:20284: \$? = $ac_status" >&5 ++ echo "$as_me:20333: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20300,7 +20349,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20303: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20352: 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 <&5 ++echo "$as_me:20365: 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 20322 "configure" ++#line 20371 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20326: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20375: \"$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:20332: \$? = $ac_status" >&5 ++ echo "$as_me:20381: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20348,7 +20397,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20351: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20400: 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 <&5 ++echo "$as_me:20410: checking for header declaring getopt variables" >&5 + echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 + if test "${cf_cv_getopt_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20368,7 +20417,7 @@ cf_cv_getopt_header=none + for cf_header in stdio.h stdlib.h unistd.h getopt.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20371 "configure" ++#line 20420 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -20381,16 +20430,16 @@ int x = optind; char *y = optarg; (void)x; (void)y + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20384: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20433: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20387: \$? = $ac_status" >&5 ++ echo "$as_me:20436: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20390: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20439: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20393: \$? = $ac_status" >&5 ++ echo "$as_me:20442: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_getopt_header=$cf_header + break +@@ -20402,7 +20451,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:20405: result: $cf_cv_getopt_header" >&5 ++echo "$as_me:20454: result: $cf_cv_getopt_header" >&5 + echo "${ECHO_T}$cf_cv_getopt_header" >&6 + if test "$cf_cv_getopt_header" != none ; then + +@@ -20419,14 +20468,14 @@ EOF + + fi + +-echo "$as_me:20422: checking if external environ is declared" >&5 ++echo "$as_me:20471: checking if external environ is declared" >&5 + echo $ECHO_N "checking if external environ is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20429 "configure" ++#line 20478 "configure" + #include "confdefs.h" + + #ifdef HAVE_STDLIB_H +@@ -20442,16 +20491,16 @@ int x = (int) environ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20445: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20494: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20448: \$? = $ac_status" >&5 ++ echo "$as_me:20497: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20451: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20500: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20454: \$? = $ac_status" >&5 ++ echo "$as_me:20503: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_environ=yes + else +@@ -20462,7 +20511,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:20465: result: $cf_cv_dcl_environ" >&5 ++echo "$as_me:20514: result: $cf_cv_dcl_environ" >&5 + echo "${ECHO_T}$cf_cv_dcl_environ" >&6 + + if test "$cf_cv_dcl_environ" = no ; then +@@ -20477,14 +20526,14 @@ fi + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:20480: checking if external environ exists" >&5 ++echo "$as_me:20529: checking if external environ exists" >&5 + echo $ECHO_N "checking if external environ exists... $ECHO_C" >&6 + if test "${cf_cv_have_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20487 "configure" ++#line 20536 "configure" + #include "confdefs.h" + + #undef environ +@@ -20499,16 +20548,16 @@ environ = 2 + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20502: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20551: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20505: \$? = $ac_status" >&5 ++ echo "$as_me:20554: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20508: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20557: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20511: \$? = $ac_status" >&5 ++ echo "$as_me:20560: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_environ=yes + else +@@ -20519,7 +20568,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:20522: result: $cf_cv_have_environ" >&5 ++echo "$as_me:20571: result: $cf_cv_have_environ" >&5 + echo "${ECHO_T}$cf_cv_have_environ" >&6 + + if test "$cf_cv_have_environ" = yes ; then +@@ -20532,13 +20581,13 @@ EOF + + fi + +-echo "$as_me:20535: checking for getenv" >&5 ++echo "$as_me:20584: checking for getenv" >&5 + echo $ECHO_N "checking for getenv... $ECHO_C" >&6 + if test "${ac_cv_func_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20541 "configure" ++#line 20590 "configure" + #include "confdefs.h" + #define getenv autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20569,16 +20618,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20572: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20621: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20575: \$? = $ac_status" >&5 ++ echo "$as_me:20624: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20578: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20627: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20581: \$? = $ac_status" >&5 ++ echo "$as_me:20630: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_getenv=yes + else +@@ -20588,19 +20637,19 @@ ac_cv_func_getenv=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20591: result: $ac_cv_func_getenv" >&5 ++echo "$as_me:20640: result: $ac_cv_func_getenv" >&5 + echo "${ECHO_T}$ac_cv_func_getenv" >&6 + + for ac_func in putenv setenv strdup + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:20597: checking for $ac_func" >&5 ++echo "$as_me:20646: 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 20603 "configure" ++#line 20652 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20631,16 +20680,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20634: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20683: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20637: \$? = $ac_status" >&5 ++ echo "$as_me:20686: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20640: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20689: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20643: \$? = $ac_status" >&5 ++ echo "$as_me:20692: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -20650,7 +20699,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20653: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:20702: 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 <&5 ++echo "$as_me:20712: checking if getenv returns consistent values" >&5 + echo $ECHO_N "checking if getenv returns consistent values... $ECHO_C" >&6 + if test "${cf_cv_consistent_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20670,7 +20719,7 @@ if test "$cross_compiling" = yes; then + cf_cv_consistent_getenv=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20673 "configure" ++#line 20722 "configure" + #include "confdefs.h" + + #include +@@ -20779,15 +20828,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:20782: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20831: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20785: \$? = $ac_status" >&5 ++ echo "$as_me:20834: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:20787: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20836: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20790: \$? = $ac_status" >&5 ++ echo "$as_me:20839: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_consistent_getenv=yes + else +@@ -20800,7 +20849,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:20803: result: $cf_cv_consistent_getenv" >&5 ++echo "$as_me:20852: result: $cf_cv_consistent_getenv" >&5 + echo "${ECHO_T}$cf_cv_consistent_getenv" >&6 + + if test "x$cf_cv_consistent_getenv" = xno +@@ -20815,18 +20864,18 @@ fi + if test "x$cf_cv_consistent_getenv" = xno && \ + test "x$cf_with_trace" = xyes + then +- { echo "$as_me:20818: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 ++ { echo "$as_me:20867: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 + echo "$as_me: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&2;} + fi + +-echo "$as_me:20822: checking if sys/time.h works with sys/select.h" >&5 ++echo "$as_me:20871: checking if sys/time.h works with sys/select.h" >&5 + echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 + if test "${cf_cv_sys_time_select+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20829 "configure" ++#line 20878 "configure" + #include "confdefs.h" + + #include +@@ -20846,16 +20895,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20849: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20898: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20852: \$? = $ac_status" >&5 ++ echo "$as_me:20901: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20855: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20904: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20858: \$? = $ac_status" >&5 ++ echo "$as_me:20907: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sys_time_select=yes + else +@@ -20867,7 +20916,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:20870: result: $cf_cv_sys_time_select" >&5 ++echo "$as_me:20919: result: $cf_cv_sys_time_select" >&5 + echo "${ECHO_T}$cf_cv_sys_time_select" >&6 + test "$cf_cv_sys_time_select" = yes && + cat >>confdefs.h <<\EOF +@@ -20882,13 +20931,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:20885: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:20934: 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 20891 "configure" ++#line 20940 "configure" + #include "confdefs.h" + + int +@@ -20946,16 +20995,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20949: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20998: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20952: \$? = $ac_status" >&5 ++ echo "$as_me:21001: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20955: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21004: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20958: \$? = $ac_status" >&5 ++ echo "$as_me:21007: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -20965,7 +21014,7 @@ ac_cv_c_const=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:20968: result: $ac_cv_c_const" >&5 ++echo "$as_me:21017: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -20975,7 +21024,7 @@ EOF + + fi + +-echo "$as_me:20978: checking for inline" >&5 ++echo "$as_me:21027: 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 +@@ -20983,7 +21032,7 @@ else + ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20986 "configure" ++#line 21035 "configure" + #include "confdefs.h" + #ifndef __cplusplus + static $ac_kw int static_foo () {return 0; } +@@ -20992,16 +21041,16 @@ $ac_kw int foo () {return 0; } + + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20995: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21044: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20998: \$? = $ac_status" >&5 ++ echo "$as_me:21047: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21001: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21050: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21004: \$? = $ac_status" >&5 ++ echo "$as_me:21053: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_inline=$ac_kw; break + else +@@ -21012,7 +21061,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:21015: result: $ac_cv_c_inline" >&5 ++echo "$as_me:21064: result: $ac_cv_c_inline" >&5 + echo "${ECHO_T}$ac_cv_c_inline" >&6 + case $ac_cv_c_inline in + inline | yes) ;; +@@ -21038,7 +21087,7 @@ if test "$ac_cv_c_inline" != no ; then + : + elif test "$GCC" = yes + then +- echo "$as_me:21041: checking if $CC supports options to tune inlining" >&5 ++ echo "$as_me:21090: checking if $CC supports options to tune inlining" >&5 + echo $ECHO_N "checking if $CC supports options to tune inlining... $ECHO_C" >&6 + if test "${cf_cv_gcc_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21047,7 +21096,7 @@ else + cf_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS --param max-inline-insns-single=1200" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21050 "configure" ++#line 21099 "configure" + #include "confdefs.h" + inline int foo(void) { return 1; } + int +@@ -21059,16 +21108,16 @@ ${cf_cv_main_return:-return} foo() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21062: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21111: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21065: \$? = $ac_status" >&5 ++ echo "$as_me:21114: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21068: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21117: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21071: \$? = $ac_status" >&5 ++ echo "$as_me:21120: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gcc_inline=yes + else +@@ -21080,7 +21129,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CFLAGS=$cf_save_CFLAGS + + fi +-echo "$as_me:21083: result: $cf_cv_gcc_inline" >&5 ++echo "$as_me:21132: result: $cf_cv_gcc_inline" >&5 + echo "${ECHO_T}$cf_cv_gcc_inline" >&6 + if test "$cf_cv_gcc_inline" = yes ; then + +@@ -21186,7 +21235,7 @@ fi + fi + fi + +-echo "$as_me:21189: checking for signal global datatype" >&5 ++echo "$as_me:21238: checking for signal global datatype" >&5 + echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6 + if test "${cf_cv_sig_atomic_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21198,7 +21247,7 @@ else + "int" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21201 "configure" ++#line 21250 "configure" + #include "confdefs.h" + + #include +@@ -21222,16 +21271,16 @@ signal(SIGINT, handler); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21225: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21274: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21228: \$? = $ac_status" >&5 ++ echo "$as_me:21277: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21231: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21280: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21234: \$? = $ac_status" >&5 ++ echo "$as_me:21283: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sig_atomic_t=$cf_type + else +@@ -21245,7 +21294,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:21248: result: $cf_cv_sig_atomic_t" >&5 ++echo "$as_me:21297: result: $cf_cv_sig_atomic_t" >&5 + echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6 + test "$cf_cv_sig_atomic_t" != no && + cat >>confdefs.h <&5 ++echo "$as_me:21306: checking for type of chtype" >&5 + echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 + if test "${cf_cv_typeof_chtype+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21264,7 +21313,7 @@ else + cf_cv_typeof_chtype=long + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21267 "configure" ++#line 21316 "configure" + #include "confdefs.h" + + #define WANT_BITS 31 +@@ -21299,15 +21348,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21302: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21351: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21305: \$? = $ac_status" >&5 ++ echo "$as_me:21354: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21307: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21356: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21310: \$? = $ac_status" >&5 ++ echo "$as_me:21359: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_typeof_chtype=`cat cf_test.out` + else +@@ -21322,7 +21371,7 @@ fi + + fi + +-echo "$as_me:21325: result: $cf_cv_typeof_chtype" >&5 ++echo "$as_me:21374: result: $cf_cv_typeof_chtype" >&5 + echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:21386: checking if unsigned literals are legal" >&5 + echo $ECHO_N "checking if unsigned literals are legal... $ECHO_C" >&6 + if test "${cf_cv_unsigned_literals+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21344 "configure" ++#line 21393 "configure" + #include "confdefs.h" + + int +@@ -21353,16 +21402,16 @@ long x = 1L + 1UL + 1U + 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21356: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21405: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21359: \$? = $ac_status" >&5 ++ echo "$as_me:21408: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21362: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21411: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21365: \$? = $ac_status" >&5 ++ echo "$as_me:21414: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_unsigned_literals=yes + else +@@ -21374,7 +21423,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:21377: result: $cf_cv_unsigned_literals" >&5 ++echo "$as_me:21426: result: $cf_cv_unsigned_literals" >&5 + echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 + + cf_cv_1UL="1" +@@ -21390,14 +21439,14 @@ test "$cf_cv_typeof_mmask_t" = unsigned && cf_cv_typeof_mmask_t="" + + ### Checks for external-data + +-echo "$as_me:21393: checking if external errno is declared" >&5 ++echo "$as_me:21442: checking if external errno is declared" >&5 + echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21400 "configure" ++#line 21449 "configure" + #include "confdefs.h" + + #ifdef HAVE_STDLIB_H +@@ -21415,16 +21464,16 @@ int x = (int) errno; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21418: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21467: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21421: \$? = $ac_status" >&5 ++ echo "$as_me:21470: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21424: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21473: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21427: \$? = $ac_status" >&5 ++ echo "$as_me:21476: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_errno=yes + else +@@ -21435,7 +21484,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:21438: result: $cf_cv_dcl_errno" >&5 ++echo "$as_me:21487: result: $cf_cv_dcl_errno" >&5 + echo "${ECHO_T}$cf_cv_dcl_errno" >&6 + + if test "$cf_cv_dcl_errno" = no ; then +@@ -21450,14 +21499,14 @@ fi + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:21453: checking if external errno exists" >&5 ++echo "$as_me:21502: checking if external errno exists" >&5 + echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6 + if test "${cf_cv_have_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21460 "configure" ++#line 21509 "configure" + #include "confdefs.h" + + #undef errno +@@ -21472,16 +21521,16 @@ errno = 2 + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21475: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21524: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21478: \$? = $ac_status" >&5 ++ echo "$as_me:21527: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21481: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21530: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21484: \$? = $ac_status" >&5 ++ echo "$as_me:21533: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_errno=yes + else +@@ -21492,7 +21541,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21495: result: $cf_cv_have_errno" >&5 ++echo "$as_me:21544: result: $cf_cv_have_errno" >&5 + echo "${ECHO_T}$cf_cv_have_errno" >&6 + + if test "$cf_cv_have_errno" = yes ; then +@@ -21505,7 +21554,7 @@ EOF + + fi + +-echo "$as_me:21508: checking if data-only library module links" >&5 ++echo "$as_me:21557: checking if data-only library module links" >&5 + echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 + if test "${cf_cv_link_dataonly+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21513,20 +21562,20 @@ else + + rm -f conftest.a + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:21568: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21522: \$? = $ac_status" >&5 ++ echo "$as_me:21571: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + mv conftest.o data.o && \ + ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null + fi + rm -f conftest.$ac_ext data.o + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:21591: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21545: \$? = $ac_status" >&5 ++ echo "$as_me:21594: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -21555,7 +21604,7 @@ EOF + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21558 "configure" ++#line 21607 "configure" + #include "confdefs.h" + + int main(void) +@@ -21566,15 +21615,15 @@ else + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21569: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21618: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21572: \$? = $ac_status" >&5 ++ echo "$as_me:21621: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21574: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21623: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21577: \$? = $ac_status" >&5 ++ echo "$as_me:21626: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -21589,7 +21638,7 @@ fi + + fi + +-echo "$as_me:21592: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:21641: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -21633,13 +21682,13 @@ vsnprintf \ + + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:21636: checking for $ac_func" >&5 ++echo "$as_me:21685: 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 21642 "configure" ++#line 21691 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -21670,16 +21719,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21673: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21722: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21676: \$? = $ac_status" >&5 ++ echo "$as_me:21725: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21679: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21728: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21682: \$? = $ac_status" >&5 ++ echo "$as_me:21731: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -21689,7 +21738,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:21692: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:21741: 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 <&5 ++echo "$as_me:21751: checking if _PATH_TTYS is defined in ttyent.h" >&5 + echo $ECHO_N "checking if _PATH_TTYS is defined in ttyent.h... $ECHO_C" >&6 + if test "${cf_cv_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21709 "configure" ++#line 21758 "configure" + #include "confdefs.h" + + #include +@@ -21721,16 +21770,16 @@ FILE *fp = fopen(_PATH_TTYS, "r"); (void)fp + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21724: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21773: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21727: \$? = $ac_status" >&5 ++ echo "$as_me:21776: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21730: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21779: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21733: \$? = $ac_status" >&5 ++ echo "$as_me:21782: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_PATH_TTYS=yes + else +@@ -21740,7 +21789,7 @@ cf_cv_PATH_TTYS=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:21743: result: $cf_cv_PATH_TTYS" >&5 ++echo "$as_me:21792: result: $cf_cv_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_PATH_TTYS" >&6 + + if test $cf_cv_PATH_TTYS = no +@@ -21762,7 +21811,7 @@ fi + + if test $cf_cv_PATH_TTYS != no + then +- echo "$as_me:21765: checking if _PATH_TTYS file exists" >&5 ++ echo "$as_me:21814: checking if _PATH_TTYS file exists" >&5 + echo $ECHO_N "checking if _PATH_TTYS file exists... $ECHO_C" >&6 + if test "${cf_cv_have_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21772,7 +21821,7 @@ else + cf_cv_have_PATH_TTYS=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21775 "configure" ++#line 21824 "configure" + #include "confdefs.h" + + #include +@@ -21783,15 +21832,15 @@ int main(void) { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21786: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21835: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21789: \$? = $ac_status" >&5 ++ echo "$as_me:21838: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21791: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21840: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21794: \$? = $ac_status" >&5 ++ echo "$as_me:21843: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_PATH_TTYS=yes + else +@@ -21803,7 +21852,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:21806: result: $cf_cv_have_PATH_TTYS" >&5 ++echo "$as_me:21855: result: $cf_cv_have_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_have_PATH_TTYS" >&6 + test "$cf_cv_have_PATH_TTYS" = no && cf_cv_PATH_TTYS=no + fi +@@ -21815,14 +21864,14 @@ cat >>confdefs.h <<\EOF + #define HAVE_PATH_TTYS 1 + EOF + +- echo "$as_me:21818: checking for getttynam" >&5 ++ echo "$as_me:21867: checking for getttynam" >&5 + echo $ECHO_N "checking for getttynam... $ECHO_C" >&6 + if test "${cf_cv_func_getttynam+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21825 "configure" ++#line 21874 "configure" + #include "confdefs.h" + #include + int +@@ -21834,16 +21883,16 @@ struct ttyent *fp = getttynam("/dev/tty"); (void)fp + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21837: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21886: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21840: \$? = $ac_status" >&5 ++ echo "$as_me:21889: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21843: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21892: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21846: \$? = $ac_status" >&5 ++ echo "$as_me:21895: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_getttynam=yes + else +@@ -21853,7 +21902,7 @@ cf_cv_func_getttynam=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:21856: result: $cf_cv_func_getttynam" >&5 ++echo "$as_me:21905: result: $cf_cv_func_getttynam" >&5 + echo "${ECHO_T}$cf_cv_func_getttynam" >&6 + test "$cf_cv_func_getttynam" = yes && cat >>confdefs.h <<\EOF + #define HAVE_GETTTYNAM 1 +@@ -21863,7 +21912,7 @@ fi + + if test "x$ac_cv_func_getopt" = xno && \ + test "x$cf_with_progs$cf_with_tests" != xnono; then +- { { echo "$as_me:21866: error: getopt is required for building programs" >&5 ++ { { echo "$as_me:21915: error: getopt is required for building programs" >&5 + echo "$as_me: error: getopt is required for building programs" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -21872,7 +21921,7 @@ if test "x$with_safe_sprintf" = xyes + then + if test "x$ac_cv_func_vsnprintf" = xyes + then +- { echo "$as_me:21875: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 ++ { echo "$as_me:21924: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 + echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;} + else + +@@ -21885,14 +21934,14 @@ fi + + if test "x$with_getcap" = "xyes" ; then + +-echo "$as_me:21888: checking for terminal-capability database functions" >&5 ++echo "$as_me:21937: checking for terminal-capability database functions" >&5 + echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6 + if test "${cf_cv_cgetent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21895 "configure" ++#line 21944 "configure" + #include "confdefs.h" + + #include +@@ -21912,16 +21961,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21915: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21964: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21918: \$? = $ac_status" >&5 ++ echo "$as_me:21967: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21921: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21970: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21924: \$? = $ac_status" >&5 ++ echo "$as_me:21973: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent=yes + else +@@ -21932,7 +21981,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21935: result: $cf_cv_cgetent" >&5 ++echo "$as_me:21984: result: $cf_cv_cgetent" >&5 + echo "${ECHO_T}$cf_cv_cgetent" >&6 + + if test "$cf_cv_cgetent" = yes +@@ -21942,14 +21991,14 @@ cat >>confdefs.h <<\EOF + #define HAVE_BSD_CGETENT 1 + EOF + +-echo "$as_me:21945: checking if cgetent uses const parameter" >&5 ++echo "$as_me:21994: checking if cgetent uses const parameter" >&5 + echo $ECHO_N "checking if cgetent uses const parameter... $ECHO_C" >&6 + if test "${cf_cv_cgetent_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21952 "configure" ++#line 22001 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers" +@@ -21972,16 +22021,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21975: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22024: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21978: \$? = $ac_status" >&5 ++ echo "$as_me:22027: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21981: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22030: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21984: \$? = $ac_status" >&5 ++ echo "$as_me:22033: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent_const=yes + else +@@ -21992,7 +22041,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21995: result: $cf_cv_cgetent_const" >&5 ++echo "$as_me:22044: result: $cf_cv_cgetent_const" >&5 + echo "${ECHO_T}$cf_cv_cgetent_const" >&6 + if test "$cf_cv_cgetent_const" = yes + then +@@ -22006,14 +22055,14 @@ fi + + fi + +-echo "$as_me:22009: checking for isascii" >&5 ++echo "$as_me:22058: checking for isascii" >&5 + echo $ECHO_N "checking for isascii... $ECHO_C" >&6 + if test "${cf_cv_have_isascii+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22016 "configure" ++#line 22065 "configure" + #include "confdefs.h" + #include + int +@@ -22025,16 +22074,16 @@ int x = isascii(' ') + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22028: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22077: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22031: \$? = $ac_status" >&5 ++ echo "$as_me:22080: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22034: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22083: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22037: \$? = $ac_status" >&5 ++ echo "$as_me:22086: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_isascii=yes + else +@@ -22045,7 +22094,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:22048: result: $cf_cv_have_isascii" >&5 ++echo "$as_me:22097: result: $cf_cv_have_isascii" >&5 + echo "${ECHO_T}$cf_cv_have_isascii" >&6 + test "$cf_cv_have_isascii" = yes && + cat >>confdefs.h <<\EOF +@@ -22053,10 +22102,10 @@ cat >>confdefs.h <<\EOF + EOF + + if test "$ac_cv_func_sigaction" = yes; then +-echo "$as_me:22056: checking whether sigaction needs _POSIX_SOURCE" >&5 ++echo "$as_me:22105: checking whether sigaction needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether sigaction needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22059 "configure" ++#line 22108 "configure" + #include "confdefs.h" + + #include +@@ -22070,16 +22119,16 @@ struct sigaction act + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22073: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22122: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22076: \$? = $ac_status" >&5 ++ echo "$as_me:22125: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22079: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22128: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22082: \$? = $ac_status" >&5 ++ echo "$as_me:22131: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=no + else +@@ -22087,7 +22136,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22090 "configure" ++#line 22139 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22102,16 +22151,16 @@ struct sigaction act + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22105: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22154: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22108: \$? = $ac_status" >&5 ++ echo "$as_me:22157: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22111: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22160: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22114: \$? = $ac_status" >&5 ++ echo "$as_me:22163: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=yes + +@@ -22127,11 +22176,11 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-echo "$as_me:22130: result: $sigact_bad" >&5 ++echo "$as_me:22179: result: $sigact_bad" >&5 + echo "${ECHO_T}$sigact_bad" >&6 + fi + +-echo "$as_me:22134: checking if nanosleep really works" >&5 ++echo "$as_me:22183: checking if nanosleep really works" >&5 + echo $ECHO_N "checking if nanosleep really works... $ECHO_C" >&6 + if test "${cf_cv_func_nanosleep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22141,7 +22190,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_nanosleep=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22144 "configure" ++#line 22193 "configure" + #include "confdefs.h" + + #include +@@ -22166,15 +22215,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22169: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22218: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22172: \$? = $ac_status" >&5 ++ echo "$as_me:22221: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22174: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22223: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22177: \$? = $ac_status" >&5 ++ echo "$as_me:22226: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_nanosleep=yes + else +@@ -22186,7 +22235,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:22189: result: $cf_cv_func_nanosleep" >&5 ++echo "$as_me:22238: result: $cf_cv_func_nanosleep" >&5 + echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 + + test "$cf_cv_func_nanosleep" = "yes" && +@@ -22203,23 +22252,23 @@ sys/termio.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:22206: checking for $ac_header" >&5 ++echo "$as_me:22255: 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 22212 "configure" ++#line 22261 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:22216: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:22265: \"$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:22222: \$? = $ac_status" >&5 ++ echo "$as_me:22271: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -22238,7 +22287,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:22241: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:22290: 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 <&5 ++ echo "$as_me:22307: checking whether termios.h needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22261 "configure" ++#line 22310 "configure" + #include "confdefs.h" + #include + int +@@ -22270,16 +22319,16 @@ struct termios foo; int x = foo.c_iflag = 1; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22273: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22322: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22276: \$? = $ac_status" >&5 ++ echo "$as_me:22325: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22279: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22328: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22282: \$? = $ac_status" >&5 ++ echo "$as_me:22331: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=no + else +@@ -22287,7 +22336,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22290 "configure" ++#line 22339 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22301,16 +22350,16 @@ struct termios foo; int x = foo.c_iflag = 2; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22304: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22353: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22307: \$? = $ac_status" >&5 ++ echo "$as_me:22356: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22310: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22359: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22313: \$? = $ac_status" >&5 ++ echo "$as_me:22362: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=unknown + else +@@ -22326,19 +22375,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:22329: result: $termios_bad" >&5 ++ echo "$as_me:22378: result: $termios_bad" >&5 + echo "${ECHO_T}$termios_bad" >&6 + fi + fi + +-echo "$as_me:22334: checking for tcgetattr" >&5 ++echo "$as_me:22383: checking for tcgetattr" >&5 + echo $ECHO_N "checking for tcgetattr... $ECHO_C" >&6 + if test "${cf_cv_have_tcgetattr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22341 "configure" ++#line 22390 "configure" + #include "confdefs.h" + + #include +@@ -22366,16 +22415,16 @@ tcgetattr(1, &foo); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22369: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22418: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22372: \$? = $ac_status" >&5 ++ echo "$as_me:22421: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22375: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22424: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22378: \$? = $ac_status" >&5 ++ echo "$as_me:22427: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_tcgetattr=yes + else +@@ -22385,21 +22434,21 @@ cf_cv_have_tcgetattr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22388: result: $cf_cv_have_tcgetattr" >&5 ++echo "$as_me:22437: result: $cf_cv_have_tcgetattr" >&5 + echo "${ECHO_T}$cf_cv_have_tcgetattr" >&6 + test "$cf_cv_have_tcgetattr" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TCGETATTR 1 + EOF + +-echo "$as_me:22395: checking for vsscanf function or workaround" >&5 ++echo "$as_me:22444: checking for vsscanf function or workaround" >&5 + echo $ECHO_N "checking for vsscanf function or workaround... $ECHO_C" >&6 + if test "${cf_cv_func_vsscanf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22402 "configure" ++#line 22451 "configure" + #include "confdefs.h" + + #include +@@ -22415,16 +22464,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22418: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22467: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22421: \$? = $ac_status" >&5 ++ echo "$as_me:22470: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22424: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22473: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22427: \$? = $ac_status" >&5 ++ echo "$as_me:22476: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vsscanf + else +@@ -22432,7 +22481,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22435 "configure" ++#line 22484 "configure" + #include "confdefs.h" + + #include +@@ -22454,16 +22503,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22457: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22506: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22460: \$? = $ac_status" >&5 ++ echo "$as_me:22509: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22463: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22512: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22466: \$? = $ac_status" >&5 ++ echo "$as_me:22515: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vfscanf + else +@@ -22471,7 +22520,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22474 "configure" ++#line 22523 "configure" + #include "confdefs.h" + + #include +@@ -22493,16 +22542,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22496: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22545: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22499: \$? = $ac_status" >&5 ++ echo "$as_me:22548: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22502: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22551: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22505: \$? = $ac_status" >&5 ++ echo "$as_me:22554: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=_doscan + else +@@ -22517,7 +22566,7 @@ 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:22520: result: $cf_cv_func_vsscanf" >&5 ++echo "$as_me:22569: result: $cf_cv_func_vsscanf" >&5 + echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 + + case "$cf_cv_func_vsscanf" in +@@ -22543,23 +22592,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:22546: checking for $ac_header" >&5 ++echo "$as_me:22595: 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 22552 "configure" ++#line 22601 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:22556: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:22605: \"$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:22562: \$? = $ac_status" >&5 ++ echo "$as_me:22611: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -22578,7 +22627,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:22581: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:22630: 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 <&5 ++echo "$as_me:22640: checking for working mkstemp" >&5 + echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 + if test "${cf_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22599,7 +22648,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22602 "configure" ++#line 22651 "configure" + #include "confdefs.h" + + #include +@@ -22640,15 +22689,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22643: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22692: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22646: \$? = $ac_status" >&5 ++ echo "$as_me:22695: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22648: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22697: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22651: \$? = $ac_status" >&5 ++ echo "$as_me:22700: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -22663,16 +22712,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:22666: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:22715: result: $cf_cv_func_mkstemp" >&5 + echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 + if test "x$cf_cv_func_mkstemp" = xmaybe ; then +- echo "$as_me:22669: checking for mkstemp" >&5 ++ echo "$as_me:22718: checking for mkstemp" >&5 + echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 + if test "${ac_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22675 "configure" ++#line 22724 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -22703,16 +22752,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22706: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22755: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22709: \$? = $ac_status" >&5 ++ echo "$as_me:22758: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22712: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22761: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22715: \$? = $ac_status" >&5 ++ echo "$as_me:22764: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -22722,7 +22771,7 @@ ac_cv_func_mkstemp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22725: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:22774: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -22743,21 +22792,21 @@ else + fi + + if test "x$cross_compiling" = xyes ; then +- { echo "$as_me:22746: WARNING: cross compiling: assume setvbuf params not reversed" >&5 ++ { echo "$as_me:22795: WARNING: cross compiling: assume setvbuf params not reversed" >&5 + echo "$as_me: WARNING: cross compiling: assume setvbuf params not reversed" >&2;} + else +- echo "$as_me:22749: checking whether setvbuf arguments are reversed" >&5 ++ echo "$as_me:22798: checking whether setvbuf arguments are reversed" >&5 + echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6 + if test "${ac_cv_func_setvbuf_reversed+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:22755: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:22804: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22760 "configure" ++#line 22809 "configure" + #include "confdefs.h" + #include + /* If setvbuf has the reversed format, exit 0. */ +@@ -22774,15 +22823,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22777: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22826: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22780: \$? = $ac_status" >&5 ++ echo "$as_me:22829: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22782: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22831: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22785: \$? = $ac_status" >&5 ++ echo "$as_me:22834: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_setvbuf_reversed=yes + else +@@ -22795,7 +22844,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + rm -f core ./core.* ./*.core + fi +-echo "$as_me:22798: result: $ac_cv_func_setvbuf_reversed" >&5 ++echo "$as_me:22847: result: $ac_cv_func_setvbuf_reversed" >&5 + echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6 + if test $ac_cv_func_setvbuf_reversed = yes; then + +@@ -22806,13 +22855,13 @@ EOF + fi + + fi +-echo "$as_me:22809: checking for intptr_t" >&5 ++echo "$as_me:22858: checking for intptr_t" >&5 + echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 + if test "${ac_cv_type_intptr_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22815 "configure" ++#line 22864 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -22827,16 +22876,16 @@ if (sizeof (intptr_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22830: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22879: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22833: \$? = $ac_status" >&5 ++ echo "$as_me:22882: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22836: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22885: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22839: \$? = $ac_status" >&5 ++ echo "$as_me:22888: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_intptr_t=yes + else +@@ -22846,7 +22895,7 @@ ac_cv_type_intptr_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:22849: result: $ac_cv_type_intptr_t" >&5 ++echo "$as_me:22898: result: $ac_cv_type_intptr_t" >&5 + echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 + if test "$ac_cv_type_intptr_t" = yes; then + : +@@ -22858,13 +22907,13 @@ EOF + + fi + +-echo "$as_me:22861: checking for ssize_t" >&5 ++echo "$as_me:22910: checking for ssize_t" >&5 + echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 + if test "${ac_cv_type_ssize_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22867 "configure" ++#line 22916 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -22879,16 +22928,16 @@ if (sizeof (ssize_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22882: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22931: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22885: \$? = $ac_status" >&5 ++ echo "$as_me:22934: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22888: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22937: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22891: \$? = $ac_status" >&5 ++ echo "$as_me:22940: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_ssize_t=yes + else +@@ -22898,7 +22947,7 @@ ac_cv_type_ssize_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:22901: result: $ac_cv_type_ssize_t" >&5 ++echo "$as_me:22950: result: $ac_cv_type_ssize_t" >&5 + echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 + if test "$ac_cv_type_ssize_t" = yes; then + : +@@ -22910,14 +22959,14 @@ EOF + + fi + +-echo "$as_me:22913: checking for type sigaction_t" >&5 ++echo "$as_me:22962: checking for type sigaction_t" >&5 + echo $ECHO_N "checking for type sigaction_t... $ECHO_C" >&6 + if test "${cf_cv_type_sigaction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22920 "configure" ++#line 22969 "configure" + #include "confdefs.h" + + #include +@@ -22930,16 +22979,16 @@ sigaction_t x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22933: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22982: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22936: \$? = $ac_status" >&5 ++ echo "$as_me:22985: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22939: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22988: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22942: \$? = $ac_status" >&5 ++ echo "$as_me:22991: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_sigaction=yes + else +@@ -22950,14 +22999,14 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "$as_me:22953: result: $cf_cv_type_sigaction" >&5 ++echo "$as_me:23002: result: $cf_cv_type_sigaction" >&5 + echo "${ECHO_T}$cf_cv_type_sigaction" >&6 + test "$cf_cv_type_sigaction" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TYPE_SIGACTION 1 + EOF + +-echo "$as_me:22960: checking declaration of size-change" >&5 ++echo "$as_me:23009: checking declaration of size-change" >&5 + echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 + if test "${cf_cv_sizechange+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22978,7 +23027,7 @@ do + + fi + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22981 "configure" ++#line 23030 "configure" + #include "confdefs.h" + #include + #ifdef HAVE_TERMIOS_H +@@ -23028,16 +23077,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23031: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23080: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23034: \$? = $ac_status" >&5 ++ echo "$as_me:23083: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23037: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23086: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23040: \$? = $ac_status" >&5 ++ echo "$as_me:23089: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sizechange=yes + else +@@ -23056,7 +23105,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:23059: result: $cf_cv_sizechange" >&5 ++echo "$as_me:23108: result: $cf_cv_sizechange" >&5 + echo "${ECHO_T}$cf_cv_sizechange" >&6 + if test "$cf_cv_sizechange" != no ; then + +@@ -23074,13 +23123,13 @@ EOF + esac + fi + +-echo "$as_me:23077: checking for memmove" >&5 ++echo "$as_me:23126: checking for memmove" >&5 + echo $ECHO_N "checking for memmove... $ECHO_C" >&6 + if test "${ac_cv_func_memmove+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23083 "configure" ++#line 23132 "configure" + #include "confdefs.h" + #define memmove autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23111,16 +23160,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23114: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23163: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23117: \$? = $ac_status" >&5 ++ echo "$as_me:23166: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23120: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23169: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23123: \$? = $ac_status" >&5 ++ echo "$as_me:23172: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_memmove=yes + else +@@ -23130,19 +23179,19 @@ ac_cv_func_memmove=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23133: result: $ac_cv_func_memmove" >&5 ++echo "$as_me:23182: result: $ac_cv_func_memmove" >&5 + echo "${ECHO_T}$ac_cv_func_memmove" >&6 + if test "$ac_cv_func_memmove" = yes; then + : + else + +-echo "$as_me:23139: checking for bcopy" >&5 ++echo "$as_me:23188: checking for bcopy" >&5 + echo $ECHO_N "checking for bcopy... $ECHO_C" >&6 + if test "${ac_cv_func_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23145 "configure" ++#line 23194 "configure" + #include "confdefs.h" + #define bcopy autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23173,16 +23222,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23176: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23225: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23179: \$? = $ac_status" >&5 ++ echo "$as_me:23228: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23182: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23231: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23185: \$? = $ac_status" >&5 ++ echo "$as_me:23234: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_bcopy=yes + else +@@ -23192,11 +23241,11 @@ ac_cv_func_bcopy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23195: result: $ac_cv_func_bcopy" >&5 ++echo "$as_me:23244: result: $ac_cv_func_bcopy" >&5 + echo "${ECHO_T}$ac_cv_func_bcopy" >&6 + if test "$ac_cv_func_bcopy" = yes; then + +- echo "$as_me:23199: checking if bcopy does overlapping moves" >&5 ++ echo "$as_me:23248: checking if bcopy does overlapping moves" >&5 + echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6 + if test "${cf_cv_good_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23206,7 +23255,7 @@ else + cf_cv_good_bcopy=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23209 "configure" ++#line 23258 "configure" + #include "confdefs.h" + + int main(void) { +@@ -23220,15 +23269,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23223: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23272: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23226: \$? = $ac_status" >&5 ++ echo "$as_me:23275: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23228: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23277: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23231: \$? = $ac_status" >&5 ++ echo "$as_me:23280: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_good_bcopy=yes + else +@@ -23241,7 +23290,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:23244: result: $cf_cv_good_bcopy" >&5 ++echo "$as_me:23293: result: $cf_cv_good_bcopy" >&5 + echo "${ECHO_T}$cf_cv_good_bcopy" >&6 + + else +@@ -23268,13 +23317,13 @@ tty >/dev/null 2>&1 || { + for ac_func in posix_openpt + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:23271: checking for $ac_func" >&5 ++echo "$as_me:23320: 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 23277 "configure" ++#line 23326 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23305,16 +23354,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23308: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23357: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23311: \$? = $ac_status" >&5 ++ echo "$as_me:23360: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23314: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23363: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23317: \$? = $ac_status" >&5 ++ echo "$as_me:23366: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -23324,7 +23373,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23327: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:23376: 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 <&5 ++echo "$as_me:23386: checking if poll really works" >&5 + echo $ECHO_N "checking if poll really works... $ECHO_C" >&6 + if test "${cf_cv_working_poll+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23344,7 +23393,7 @@ if test "$cross_compiling" = yes; then + cf_cv_working_poll=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23347 "configure" ++#line 23396 "configure" + #include "confdefs.h" + + #include +@@ -23396,15 +23445,15 @@ int main(void) { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23399: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23448: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23402: \$? = $ac_status" >&5 ++ echo "$as_me:23451: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23404: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23453: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23407: \$? = $ac_status" >&5 ++ echo "$as_me:23456: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_working_poll=yes + else +@@ -23416,21 +23465,21 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:23419: result: $cf_cv_working_poll" >&5 ++echo "$as_me:23468: result: $cf_cv_working_poll" >&5 + echo "${ECHO_T}$cf_cv_working_poll" >&6 + test "$cf_cv_working_poll" = "yes" && + cat >>confdefs.h <<\EOF + #define HAVE_WORKING_POLL 1 + EOF + +-echo "$as_me:23426: checking for va_copy" >&5 ++echo "$as_me:23475: checking for va_copy" >&5 + echo $ECHO_N "checking for va_copy... $ECHO_C" >&6 + if test "${cf_cv_have_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23433 "configure" ++#line 23482 "configure" + #include "confdefs.h" + + #include +@@ -23447,16 +23496,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23450: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23499: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23453: \$? = $ac_status" >&5 ++ echo "$as_me:23502: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23456: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23505: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23459: \$? = $ac_status" >&5 ++ echo "$as_me:23508: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_va_copy=yes + else +@@ -23466,7 +23515,7 @@ cf_cv_have_va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23469: result: $cf_cv_have_va_copy" >&5 ++echo "$as_me:23518: result: $cf_cv_have_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have_va_copy" >&6 + + if test "$cf_cv_have_va_copy" = yes; +@@ -23478,14 +23527,14 @@ EOF + + else # !cf_cv_have_va_copy + +-echo "$as_me:23481: checking for __va_copy" >&5 ++echo "$as_me:23530: checking for __va_copy" >&5 + echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23488 "configure" ++#line 23537 "configure" + #include "confdefs.h" + + #include +@@ -23502,16 +23551,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23505: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23554: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23508: \$? = $ac_status" >&5 ++ echo "$as_me:23557: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23511: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23560: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23514: \$? = $ac_status" >&5 ++ echo "$as_me:23563: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___va_copy=yes + else +@@ -23521,7 +23570,7 @@ cf_cv_have___va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23524: result: $cf_cv_have___va_copy" >&5 ++echo "$as_me:23573: result: $cf_cv_have___va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___va_copy" >&6 + + if test "$cf_cv_have___va_copy" = yes +@@ -23533,14 +23582,14 @@ EOF + + else # !cf_cv_have___va_copy + +-echo "$as_me:23536: checking for __builtin_va_copy" >&5 ++echo "$as_me:23585: checking for __builtin_va_copy" >&5 + echo $ECHO_N "checking for __builtin_va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___builtin_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23543 "configure" ++#line 23592 "configure" + #include "confdefs.h" + + #include +@@ -23557,16 +23606,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23560: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23609: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23563: \$? = $ac_status" >&5 ++ echo "$as_me:23612: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23566: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23615: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23569: \$? = $ac_status" >&5 ++ echo "$as_me:23618: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___builtin_va_copy=yes + else +@@ -23576,7 +23625,7 @@ cf_cv_have___builtin_va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23579: result: $cf_cv_have___builtin_va_copy" >&5 ++echo "$as_me:23628: result: $cf_cv_have___builtin_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___builtin_va_copy" >&6 + + test "$cf_cv_have___builtin_va_copy" = yes && +@@ -23594,14 +23643,14 @@ case "${cf_cv_have_va_copy}${cf_cv_have___va_copy}${cf_cv_have___builtin_va_copy + ;; + + (*) +- echo "$as_me:23597: checking if we can simply copy va_list" >&5 ++ echo "$as_me:23646: checking if we can simply copy va_list" >&5 + echo $ECHO_N "checking if we can simply copy va_list... $ECHO_C" >&6 + if test "${cf_cv_pointer_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23604 "configure" ++#line 23653 "configure" + #include "confdefs.h" + + #include +@@ -23618,16 +23667,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23621: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23670: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23624: \$? = $ac_status" >&5 ++ echo "$as_me:23673: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23627: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23676: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23630: \$? = $ac_status" >&5 ++ echo "$as_me:23679: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_pointer_va_list=yes + else +@@ -23637,19 +23686,19 @@ cf_cv_pointer_va_list=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23640: result: $cf_cv_pointer_va_list" >&5 ++echo "$as_me:23689: result: $cf_cv_pointer_va_list" >&5 + echo "${ECHO_T}$cf_cv_pointer_va_list" >&6 + + if test "$cf_cv_pointer_va_list" = no + then +- echo "$as_me:23645: checking if we can copy va_list indirectly" >&5 ++ echo "$as_me:23694: checking if we can copy va_list indirectly" >&5 + echo $ECHO_N "checking if we can copy va_list indirectly... $ECHO_C" >&6 + if test "${cf_cv_array_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23652 "configure" ++#line 23701 "configure" + #include "confdefs.h" + + #include +@@ -23666,16 +23715,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23669: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23718: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23672: \$? = $ac_status" >&5 ++ echo "$as_me:23721: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23675: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23724: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23678: \$? = $ac_status" >&5 ++ echo "$as_me:23727: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_array_va_list=yes + else +@@ -23685,7 +23734,7 @@ cf_cv_array_va_list=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23688: result: $cf_cv_array_va_list" >&5 ++echo "$as_me:23737: result: $cf_cv_array_va_list" >&5 + echo "${ECHO_T}$cf_cv_array_va_list" >&6 + test "$cf_cv_array_va_list" = yes && + cat >>confdefs.h <<\EOF +@@ -23696,13 +23745,13 @@ EOF + ;; + esac + +-echo "$as_me:23699: checking for pid_t" >&5 ++echo "$as_me:23748: checking for pid_t" >&5 + echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 + if test "${ac_cv_type_pid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23705 "configure" ++#line 23754 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -23717,16 +23766,16 @@ if (sizeof (pid_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23720: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23769: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23723: \$? = $ac_status" >&5 ++ echo "$as_me:23772: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23726: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23775: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23729: \$? = $ac_status" >&5 ++ echo "$as_me:23778: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_pid_t=yes + else +@@ -23736,7 +23785,7 @@ ac_cv_type_pid_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:23739: result: $ac_cv_type_pid_t" >&5 ++echo "$as_me:23788: result: $ac_cv_type_pid_t" >&5 + echo "${ECHO_T}$ac_cv_type_pid_t" >&6 + if test "$ac_cv_type_pid_t" = yes; then + : +@@ -23751,23 +23800,23 @@ fi + for ac_header in unistd.h vfork.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:23754: checking for $ac_header" >&5 ++echo "$as_me:23803: 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 23760 "configure" ++#line 23809 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:23764: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:23813: \"$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:23770: \$? = $ac_status" >&5 ++ echo "$as_me:23819: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -23786,7 +23835,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:23789: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:23838: 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 <&5 ++echo "$as_me:23851: 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 23808 "configure" ++#line 23857 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23836,16 +23885,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23839: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23888: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23842: \$? = $ac_status" >&5 ++ echo "$as_me:23891: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23845: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23894: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23848: \$? = $ac_status" >&5 ++ echo "$as_me:23897: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -23855,7 +23904,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23858: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:23907: 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 <&5 ++ echo "$as_me:23919: checking for working fork" >&5 + echo $ECHO_N "checking for working fork... $ECHO_C" >&6 + if test "${ac_cv_func_fork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23890,15 +23939,15 @@ else + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23893: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23942: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23896: \$? = $ac_status" >&5 ++ echo "$as_me:23945: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23898: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23947: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23901: \$? = $ac_status" >&5 ++ echo "$as_me:23950: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fork_works=yes + else +@@ -23910,7 +23959,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:23913: result: $ac_cv_func_fork_works" >&5 ++echo "$as_me:23962: result: $ac_cv_func_fork_works" >&5 + echo "${ECHO_T}$ac_cv_func_fork_works" >&6 + + fi +@@ -23924,12 +23973,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_fork_works=yes + ;; + esac +- { echo "$as_me:23927: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:23976: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} + fi + ac_cv_func_vfork_works=$ac_cv_func_vfork + if test "x$ac_cv_func_vfork" = xyes; then +- echo "$as_me:23932: checking for working vfork" >&5 ++ echo "$as_me:23981: checking for working vfork" >&5 + echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 + if test "${ac_cv_func_vfork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23938,7 +23987,7 @@ else + ac_cv_func_vfork_works=cross + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23941 "configure" ++#line 23990 "configure" + #include "confdefs.h" + /* Thanks to Paul Eggert for this test. */ + #include +@@ -24035,15 +24084,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24038: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24087: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24041: \$? = $ac_status" >&5 ++ echo "$as_me:24090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24043: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24092: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24046: \$? = $ac_status" >&5 ++ echo "$as_me:24095: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_vfork_works=yes + else +@@ -24055,13 +24104,13 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:24058: result: $ac_cv_func_vfork_works" >&5 ++echo "$as_me:24107: result: $ac_cv_func_vfork_works" >&5 + echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 + + fi; + if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_vfork_works=ac_cv_func_vfork +- { echo "$as_me:24064: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:24113: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} + fi + +@@ -24086,7 +24135,7 @@ EOF + + fi + +-echo "$as_me:24089: checking if fopen accepts explicit binary mode" >&5 ++echo "$as_me:24138: checking if fopen accepts explicit binary mode" >&5 + echo $ECHO_N "checking if fopen accepts explicit binary mode... $ECHO_C" >&6 + if test "${cf_cv_fopen_bin_r+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24096,7 +24145,7 @@ else + cf_cv_fopen_bin_r=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24099 "configure" ++#line 24148 "configure" + #include "confdefs.h" + + #include +@@ -24129,15 +24178,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24132: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24181: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24135: \$? = $ac_status" >&5 ++ echo "$as_me:24184: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24137: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24186: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24140: \$? = $ac_status" >&5 ++ echo "$as_me:24189: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fopen_bin_r=yes + else +@@ -24150,7 +24199,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:24153: result: $cf_cv_fopen_bin_r" >&5 ++echo "$as_me:24202: result: $cf_cv_fopen_bin_r" >&5 + echo "${ECHO_T}$cf_cv_fopen_bin_r" >&6 + test "x$cf_cv_fopen_bin_r" != xno && + cat >>confdefs.h <<\EOF +@@ -24159,7 +24208,7 @@ EOF + + # special check for test/ditto.c + +-echo "$as_me:24162: checking for openpty in -lutil" >&5 ++echo "$as_me:24211: checking for openpty in -lutil" >&5 + echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 + if test "${ac_cv_lib_util_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24167,7 +24216,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lutil $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24170 "configure" ++#line 24219 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -24186,16 +24235,16 @@ openpty (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24189: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24238: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24192: \$? = $ac_status" >&5 ++ echo "$as_me:24241: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24195: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24244: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24198: \$? = $ac_status" >&5 ++ echo "$as_me:24247: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_util_openpty=yes + else +@@ -24206,7 +24255,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:24209: result: $ac_cv_lib_util_openpty" >&5 ++echo "$as_me:24258: result: $ac_cv_lib_util_openpty" >&5 + echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 + if test "$ac_cv_lib_util_openpty" = yes; then + cf_cv_lib_util=yes +@@ -24214,7 +24263,7 @@ else + cf_cv_lib_util=no + fi + +-echo "$as_me:24217: checking for openpty header" >&5 ++echo "$as_me:24266: checking for openpty header" >&5 + echo $ECHO_N "checking for openpty header... $ECHO_C" >&6 + if test "${cf_cv_func_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24241,7 +24290,7 @@ LIBS="$cf_add_libs" + for cf_header in pty.h libutil.h util.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24244 "configure" ++#line 24293 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -24258,16 +24307,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24261: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24310: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24264: \$? = $ac_status" >&5 ++ echo "$as_me:24313: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24267: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24316: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24270: \$? = $ac_status" >&5 ++ echo "$as_me:24319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_func_openpty=$cf_header +@@ -24285,7 +24334,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" + + fi +-echo "$as_me:24288: result: $cf_cv_func_openpty" >&5 ++echo "$as_me:24337: result: $cf_cv_func_openpty" >&5 + echo "${ECHO_T}$cf_cv_func_openpty" >&6 + + if test "$cf_cv_func_openpty" != no ; then +@@ -24358,7 +24407,7 @@ if test -n "$with_hashed_db/include" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24361 "configure" ++#line 24410 "configure" + #include "confdefs.h" + #include + int +@@ -24370,16 +24419,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24373: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24422: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24376: \$? = $ac_status" >&5 ++ echo "$as_me:24425: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24379: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24428: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24382: \$? = $ac_status" >&5 ++ echo "$as_me:24431: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -24396,7 +24445,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:24399: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:24448: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -24432,7 +24481,7 @@ if test -n "$with_hashed_db/lib" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:24435: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:24484: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -24443,7 +24492,7 @@ fi + else + case "$with_hashed_db" in + (./*|../*|/*) +- { echo "$as_me:24446: WARNING: no such directory $with_hashed_db" >&5 ++ { echo "$as_me:24495: WARNING: no such directory $with_hashed_db" >&5 + echo "$as_me: WARNING: no such directory $with_hashed_db" >&2;} + ;; + (*) +@@ -24515,7 +24564,7 @@ if test -n "$cf_item" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24518 "configure" ++#line 24567 "configure" + #include "confdefs.h" + #include + int +@@ -24527,16 +24576,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24530: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24579: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24533: \$? = $ac_status" >&5 ++ echo "$as_me:24582: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24536: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24585: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24539: \$? = $ac_status" >&5 ++ echo "$as_me:24588: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -24553,7 +24602,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:24556: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:24605: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -24633,7 +24682,7 @@ if test -n "$cf_item" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:24636: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:24685: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -24650,23 +24699,23 @@ fi + fi + esac + +-echo "$as_me:24653: checking for db.h" >&5 ++echo "$as_me:24702: checking for db.h" >&5 + echo $ECHO_N "checking for db.h... $ECHO_C" >&6 + if test "${ac_cv_header_db_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24659 "configure" ++#line 24708 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:24663: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:24712: \"$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:24669: \$? = $ac_status" >&5 ++ echo "$as_me:24718: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -24685,11 +24734,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:24688: result: $ac_cv_header_db_h" >&5 ++echo "$as_me:24737: result: $ac_cv_header_db_h" >&5 + echo "${ECHO_T}$ac_cv_header_db_h" >&6 + if test "$ac_cv_header_db_h" = yes; then + +-echo "$as_me:24692: checking for version of db" >&5 ++echo "$as_me:24741: checking for version of db" >&5 + echo $ECHO_N "checking for version of db... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24700,10 +24749,10 @@ cf_cv_hashed_db_version=unknown + for cf_db_version in 1 2 3 4 5 6 + do + +-echo "${as_me:-configure}:24703: testing checking for db version $cf_db_version ..." 1>&5 ++echo "${as_me:-configure}:24752: testing checking for db version $cf_db_version ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24706 "configure" ++#line 24755 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24733,16 +24782,16 @@ DBT *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24736: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24785: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24739: \$? = $ac_status" >&5 ++ echo "$as_me:24788: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24742: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24791: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24745: \$? = $ac_status" >&5 ++ echo "$as_me:24794: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_hashed_db_version=$cf_db_version +@@ -24756,16 +24805,16 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:24759: result: $cf_cv_hashed_db_version" >&5 ++echo "$as_me:24808: result: $cf_cv_hashed_db_version" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_version" >&6 + + if test "$cf_cv_hashed_db_version" = unknown ; then +- { { echo "$as_me:24763: error: Cannot determine version of db" >&5 ++ { { echo "$as_me:24812: error: Cannot determine version of db" >&5 + echo "$as_me: error: Cannot determine version of db" >&2;} + { (exit 1); exit 1; }; } + else + +-echo "$as_me:24768: checking for db libraries" >&5 ++echo "$as_me:24817: checking for db libraries" >&5 + echo $ECHO_N "checking for db libraries... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24795,10 +24844,10 @@ LIBS="$cf_add_libs" + + fi + +-echo "${as_me:-configure}:24798: testing checking for library $cf_db_libs ..." 1>&5 ++echo "${as_me:-configure}:24847: testing checking for library $cf_db_libs ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24801 "configure" ++#line 24850 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24853,16 +24902,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24856: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24905: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24859: \$? = $ac_status" >&5 ++ echo "$as_me:24908: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24862: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24911: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24865: \$? = $ac_status" >&5 ++ echo "$as_me:24914: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + if test -n "$cf_db_libs" ; then +@@ -24882,11 +24931,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:24885: result: $cf_cv_hashed_db_libs" >&5 ++echo "$as_me:24934: result: $cf_cv_hashed_db_libs" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_libs" >&6 + + if test "$cf_cv_hashed_db_libs" = unknown ; then +- { { echo "$as_me:24889: error: Cannot determine library for db" >&5 ++ { { echo "$as_me:24938: error: Cannot determine library for db" >&5 + echo "$as_me: error: Cannot determine library for db" >&2;} + { (exit 1); exit 1; }; } + elif test "$cf_cv_hashed_db_libs" != default ; then +@@ -24912,7 +24961,7 @@ fi + + else + +- { { echo "$as_me:24915: error: Cannot find db.h" >&5 ++ { { echo "$as_me:24964: error: Cannot find db.h" >&5 + echo "$as_me: error: Cannot find db.h" >&2;} + { (exit 1); exit 1; }; } + +@@ -24927,7 +24976,7 @@ fi + + # Just in case, check if the C compiler has a bool type. + +-echo "$as_me:24930: checking if we should include stdbool.h" >&5 ++echo "$as_me:24979: checking if we should include stdbool.h" >&5 + echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 + + if test "${cf_cv_header_stdbool_h+set}" = set; then +@@ -24935,7 +24984,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24938 "configure" ++#line 24987 "configure" + #include "confdefs.h" + + int +@@ -24947,23 +24996,23 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24950: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24999: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24953: \$? = $ac_status" >&5 ++ echo "$as_me:25002: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24956: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25005: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24959: \$? = $ac_status" >&5 ++ echo "$as_me:25008: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=0 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24966 "configure" ++#line 25015 "configure" + #include "confdefs.h" + + #ifndef __BEOS__ +@@ -24979,16 +25028,16 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24982: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25031: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24985: \$? = $ac_status" >&5 ++ echo "$as_me:25034: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24988: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25037: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24991: \$? = $ac_status" >&5 ++ echo "$as_me:25040: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=1 + else +@@ -25002,13 +25051,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:25005: result: yes" >&5 ++then echo "$as_me:25054: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25007: result: no" >&5 ++else echo "$as_me:25056: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25011: checking for builtin bool type" >&5 ++echo "$as_me:25060: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 + + if test "${cf_cv_cc_bool_type+set}" = set; then +@@ -25016,7 +25065,7 @@ if test "${cf_cv_cc_bool_type+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25019 "configure" ++#line 25068 "configure" + #include "confdefs.h" + + #include +@@ -25031,16 +25080,16 @@ bool x = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25034: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25083: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25037: \$? = $ac_status" >&5 ++ echo "$as_me:25086: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25040: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25089: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25043: \$? = $ac_status" >&5 ++ echo "$as_me:25092: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cc_bool_type=1 + else +@@ -25053,9 +25102,9 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_cc_bool_type" = 1 +-then echo "$as_me:25056: result: yes" >&5 ++then echo "$as_me:25105: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25058: result: no" >&5 ++else echo "$as_me:25107: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -25072,10 +25121,10 @@ if test -n "$GXX" ; then + + cf_save="$LIBS" + LIBS="$LIBS $CXXLIBS" +- echo "$as_me:25075: checking if we already have C++ library" >&5 ++ echo "$as_me:25124: checking if we already have C++ library" >&5 + echo $ECHO_N "checking if we already have C++ library... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25078 "configure" ++#line 25127 "configure" + #include "confdefs.h" + + #include +@@ -25089,16 +25138,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25092: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25141: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25095: \$? = $ac_status" >&5 ++ echo "$as_me:25144: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25098: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25147: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25101: \$? = $ac_status" >&5 ++ echo "$as_me:25150: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_libstdcpp=yes + else +@@ -25107,7 +25156,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_libstdcpp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:25110: result: $cf_have_libstdcpp" >&5 ++ echo "$as_me:25159: result: $cf_have_libstdcpp" >&5 + echo "${ECHO_T}$cf_have_libstdcpp" >&6 + LIBS="$cf_save" + +@@ -25126,7 +25175,7 @@ echo "${ECHO_T}$cf_have_libstdcpp" >&6 + ;; + esac + +- echo "$as_me:25129: checking for library $cf_stdcpp_libname" >&5 ++ echo "$as_me:25178: checking for library $cf_stdcpp_libname" >&5 + echo $ECHO_N "checking for library $cf_stdcpp_libname... $ECHO_C" >&6 + if test "${cf_cv_libstdcpp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25152,7 +25201,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25155 "configure" ++#line 25204 "configure" + #include "confdefs.h" + + #include +@@ -25166,16 +25215,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25169: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25218: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25172: \$? = $ac_status" >&5 ++ echo "$as_me:25221: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25175: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25224: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25178: \$? = $ac_status" >&5 ++ echo "$as_me:25227: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_libstdcpp=yes + else +@@ -25187,7 +25236,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save" + + fi +-echo "$as_me:25190: result: $cf_cv_libstdcpp" >&5 ++echo "$as_me:25239: result: $cf_cv_libstdcpp" >&5 + echo "${ECHO_T}$cf_cv_libstdcpp" >&6 + test "$cf_cv_libstdcpp" = yes && { + cf_add_libs="$CXXLIBS" +@@ -25209,7 +25258,7 @@ CXXLIBS="$cf_add_libs" + fi + fi + +- echo "$as_me:25212: checking whether $CXX understands -c and -o together" >&5 ++ echo "$as_me:25261: checking whether $CXX understands -c and -o together" >&5 + echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6 + if test "${cf_cv_prog_CXX_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25224,15 +25273,15 @@ CF_EOF + # We do the test twice because some compilers refuse to overwrite an + # existing .o file with -o, though they will create one. + ac_try='$CXX $CXXFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +-if { (eval echo "$as_me:25227: \"$ac_try\"") >&5 ++if { (eval echo "$as_me:25276: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25230: \$? = $ac_status" >&5 ++ echo "$as_me:25279: \$? = $ac_status" >&5 + (exit "$ac_status"); } && +- test -f conftest2.$ac_objext && { (eval echo "$as_me:25232: \"$ac_try\"") >&5 ++ test -f conftest2.$ac_objext && { (eval echo "$as_me:25281: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25235: \$? = $ac_status" >&5 ++ echo "$as_me:25284: \$? = $ac_status" >&5 + (exit "$ac_status"); }; + then + eval cf_cv_prog_CXX_c_o=yes +@@ -25243,10 +25292,10 @@ rm -rf ./conftest* + + fi + if test "$cf_cv_prog_CXX_c_o" = yes; then +- echo "$as_me:25246: result: yes" >&5 ++ echo "$as_me:25295: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else +- echo "$as_me:25249: result: no" >&5 ++ echo "$as_me:25298: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -25266,7 +25315,7 @@ case "$cf_cv_system_name" in + ;; + esac + if test "$GXX" = yes; then +- echo "$as_me:25269: checking for lib$cf_gpp_libname" >&5 ++ echo "$as_me:25318: checking for lib$cf_gpp_libname" >&5 + echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 + cf_save="$LIBS" + +@@ -25287,7 +25336,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25290 "configure" ++#line 25339 "configure" + #include "confdefs.h" + + #include <$cf_gpp_libname/builtin.h> +@@ -25301,16 +25350,16 @@ two_arg_error_handler_t foo2 = lib_error_handler + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25304: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25353: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25307: \$? = $ac_status" >&5 ++ echo "$as_me:25356: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25310: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25359: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25313: \$? = $ac_status" >&5 ++ echo "$as_me:25362: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -25347,7 +25396,7 @@ else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25350 "configure" ++#line 25399 "configure" + #include "confdefs.h" + + #include +@@ -25361,16 +25410,16 @@ two_arg_error_handler_t foo2 = lib_error_handler + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25364: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25413: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25367: \$? = $ac_status" >&5 ++ echo "$as_me:25416: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25370: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25419: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25373: \$? = $ac_status" >&5 ++ echo "$as_me:25422: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -25403,7 +25452,7 @@ 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" +- echo "$as_me:25406: result: $cf_cxx_library" >&5 ++ echo "$as_me:25455: result: $cf_cxx_library" >&5 + echo "${ECHO_T}$cf_cxx_library" >&6 + fi + +@@ -25419,7 +25468,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' + ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" +-echo "$as_me:25422: checking how to run the C++ preprocessor" >&5 ++echo "$as_me:25471: checking how to run the C++ preprocessor" >&5 + echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 + if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then +@@ -25436,18 +25485,18 @@ do + # 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 25439 "configure" ++#line 25488 "configure" + #include "confdefs.h" + #include + Syntax error + _ACEOF +-if { (eval echo "$as_me:25444: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25493: \"$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:25450: \$? = $ac_status" >&5 ++ echo "$as_me:25499: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25470,17 +25519,17 @@ 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 25473 "configure" ++#line 25522 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:25477: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25526: \"$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:25483: \$? = $ac_status" >&5 ++ echo "$as_me:25532: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25517,7 +25566,7 @@ fi + else + ac_cv_prog_CXXCPP=$CXXCPP + fi +-echo "$as_me:25520: result: $CXXCPP" >&5 ++echo "$as_me:25569: result: $CXXCPP" >&5 + echo "${ECHO_T}$CXXCPP" >&6 + ac_preproc_ok=false + for ac_cxx_preproc_warn_flag in '' yes +@@ -25527,18 +25576,18 @@ do + # 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 25530 "configure" ++#line 25579 "configure" + #include "confdefs.h" + #include + Syntax error + _ACEOF +-if { (eval echo "$as_me:25535: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25584: \"$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:25541: \$? = $ac_status" >&5 ++ echo "$as_me:25590: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25561,17 +25610,17 @@ 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 25564 "configure" ++#line 25613 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:25568: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25617: \"$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:25574: \$? = $ac_status" >&5 ++ echo "$as_me:25623: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25599,7 +25648,7 @@ rm -f conftest.err "conftest.$ac_ext" + if $ac_preproc_ok; then + : + else +- { { echo "$as_me:25602: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 ++ { { echo "$as_me:25651: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 + echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -25614,23 +25663,23 @@ ac_main_return="return" + for ac_header in typeinfo + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:25617: checking for $ac_header" >&5 ++echo "$as_me:25666: 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 25623 "configure" ++#line 25672 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:25627: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25676: \"$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:25633: \$? = $ac_status" >&5 ++ echo "$as_me:25682: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25649,7 +25698,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:25652: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:25701: 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 <&5 ++echo "$as_me:25714: 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 25671 "configure" ++#line 25720 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:25675: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25724: \"$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:25681: \$? = $ac_status" >&5 ++ echo "$as_me:25730: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25697,7 +25746,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:25700: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:25749: 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 <&5 ++ echo "$as_me:25760: checking if iostream uses std-namespace" >&5 + echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25714 "configure" ++#line 25763 "configure" + #include "confdefs.h" + + #include +@@ -25728,16 +25777,16 @@ cerr << "testing" << endl; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25731: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25780: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25734: \$? = $ac_status" >&5 ++ echo "$as_me:25783: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25737: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25786: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25740: \$? = $ac_status" >&5 ++ echo "$as_me:25789: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_iostream_namespace=yes + else +@@ -25746,7 +25795,7 @@ cat "conftest.$ac_ext" >&5 + cf_iostream_namespace=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:25749: result: $cf_iostream_namespace" >&5 ++ echo "$as_me:25798: result: $cf_iostream_namespace" >&5 + echo "${ECHO_T}$cf_iostream_namespace" >&6 + if test "$cf_iostream_namespace" = yes ; then + +@@ -25757,7 +25806,7 @@ EOF + fi + fi + +-echo "$as_me:25760: checking if we should include stdbool.h" >&5 ++echo "$as_me:25809: checking if we should include stdbool.h" >&5 + echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 + + if test "${cf_cv_header_stdbool_h+set}" = set; then +@@ -25765,7 +25814,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25768 "configure" ++#line 25817 "configure" + #include "confdefs.h" + + int +@@ -25777,23 +25826,23 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25780: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25829: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25783: \$? = $ac_status" >&5 ++ echo "$as_me:25832: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25786: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25835: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25789: \$? = $ac_status" >&5 ++ echo "$as_me:25838: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=0 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25796 "configure" ++#line 25845 "configure" + #include "confdefs.h" + + #ifndef __BEOS__ +@@ -25809,16 +25858,16 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25812: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25861: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25815: \$? = $ac_status" >&5 ++ echo "$as_me:25864: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25818: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25867: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25821: \$? = $ac_status" >&5 ++ echo "$as_me:25870: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=1 + else +@@ -25832,13 +25881,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:25835: result: yes" >&5 ++then echo "$as_me:25884: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25837: result: no" >&5 ++else echo "$as_me:25886: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25841: checking for builtin bool type" >&5 ++echo "$as_me:25890: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 + + if test "${cf_cv_builtin_bool+set}" = set; then +@@ -25846,7 +25895,7 @@ if test "${cf_cv_builtin_bool+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25849 "configure" ++#line 25898 "configure" + #include "confdefs.h" + + #include +@@ -25861,16 +25910,16 @@ bool x = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25864: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25913: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25867: \$? = $ac_status" >&5 ++ echo "$as_me:25916: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25870: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25919: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25873: \$? = $ac_status" >&5 ++ echo "$as_me:25922: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_builtin_bool=1 + else +@@ -25883,19 +25932,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_builtin_bool" = 1 +-then echo "$as_me:25886: result: yes" >&5 ++then echo "$as_me:25935: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25888: result: no" >&5 ++else echo "$as_me:25937: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25892: checking for bool" >&5 ++echo "$as_me:25941: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25898 "configure" ++#line 25947 "configure" + #include "confdefs.h" + + #include +@@ -25931,16 +25980,16 @@ if (sizeof (bool)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25934: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25983: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25937: \$? = $ac_status" >&5 ++ echo "$as_me:25986: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25940: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25989: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25943: \$? = $ac_status" >&5 ++ echo "$as_me:25992: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -25950,10 +25999,10 @@ ac_cv_type_bool=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:25953: result: $ac_cv_type_bool" >&5 ++echo "$as_me:26002: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:25956: checking size of bool" >&5 ++echo "$as_me:26005: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25962,7 +26011,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25965 "configure" ++#line 26014 "configure" + #include "confdefs.h" + + #include +@@ -25995,21 +26044,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25998: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26047: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26001: \$? = $ac_status" >&5 ++ echo "$as_me:26050: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26004: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26053: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26007: \$? = $ac_status" >&5 ++ echo "$as_me:26056: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26012 "configure" ++#line 26061 "configure" + #include "confdefs.h" + + #include +@@ -26042,16 +26091,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26045: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26094: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26048: \$? = $ac_status" >&5 ++ echo "$as_me:26097: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26051: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26100: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26054: \$? = $ac_status" >&5 ++ echo "$as_me:26103: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -26067,7 +26116,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26070 "configure" ++#line 26119 "configure" + #include "confdefs.h" + + #include +@@ -26100,16 +26149,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26103: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26152: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26106: \$? = $ac_status" >&5 ++ echo "$as_me:26155: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26109: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26158: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26112: \$? = $ac_status" >&5 ++ echo "$as_me:26161: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -26125,7 +26174,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26128 "configure" ++#line 26177 "configure" + #include "confdefs.h" + + #include +@@ -26158,16 +26207,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26161: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26210: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26164: \$? = $ac_status" >&5 ++ echo "$as_me:26213: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26167: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26216: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26170: \$? = $ac_status" >&5 ++ echo "$as_me:26219: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -26180,12 +26229,12 @@ done + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:26183: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:26232: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26188 "configure" ++#line 26237 "configure" + #include "confdefs.h" + + #include +@@ -26222,15 +26271,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26225: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26274: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26228: \$? = $ac_status" >&5 ++ echo "$as_me:26277: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26230: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26279: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26233: \$? = $ac_status" >&5 ++ echo "$as_me:26282: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -26246,13 +26295,13 @@ else + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:26249: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:26298: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:26304: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26271,7 +26320,7 @@ else + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26274 "configure" ++#line 26323 "configure" + #include "confdefs.h" + + #include +@@ -26313,15 +26362,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26316: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26365: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26319: \$? = $ac_status" >&5 ++ echo "$as_me:26368: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26321: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26370: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26324: \$? = $ac_status" >&5 ++ echo "$as_me:26373: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -26338,19 +26387,19 @@ fi + rm -f cf_test.out + + fi +-echo "$as_me:26341: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:26390: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:26348: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:26397: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi + +-echo "$as_me:26353: checking for special defines needed for etip.h" >&5 ++echo "$as_me:26402: checking for special defines needed for etip.h" >&5 + echo $ECHO_N "checking for special defines needed for etip.h... $ECHO_C" >&6 + cf_save_CXXFLAGS="$CXXFLAGS" + cf_result="none" +@@ -26368,7 +26417,7 @@ do + test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}" + test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26371 "configure" ++#line 26420 "configure" + #include "confdefs.h" + + #include +@@ -26382,16 +26431,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26385: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26434: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26388: \$? = $ac_status" >&5 ++ echo "$as_me:26437: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26391: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26440: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26394: \$? = $ac_status" >&5 ++ echo "$as_me:26443: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + test -n "$cf_math" && cat >>confdefs.h <&5 ++echo "$as_me:26464: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + CXXFLAGS="$cf_save_CXXFLAGS" + + if test -n "$CXX"; then +-echo "$as_me:26420: checking if $CXX accepts override keyword" >&5 ++echo "$as_me:26469: checking if $CXX accepts override keyword" >&5 + echo $ECHO_N "checking if $CXX accepts override keyword... $ECHO_C" >&6 + if test "${cf_cv_cpp_override+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26434,7 +26483,7 @@ ac_main_return="return" + cf_cv_cpp_override=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26437 "configure" ++#line 26486 "configure" + #include "confdefs.h" + + class base +@@ -26453,15 +26502,15 @@ int main(void) { } + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26456: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26505: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26459: \$? = $ac_status" >&5 ++ echo "$as_me:26508: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26461: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26510: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26464: \$? = $ac_status" >&5 ++ echo "$as_me:26513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_override=yes + else +@@ -26480,7 +26529,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26483: result: $cf_cv_cpp_override" >&5 ++echo "$as_me:26532: result: $cf_cv_cpp_override" >&5 + echo "${ECHO_T}$cf_cv_cpp_override" >&6 + fi + test "$cf_cv_cpp_override" = yes && +@@ -26489,7 +26538,7 @@ cat >>confdefs.h <<\EOF + EOF + + if test -n "$CXX"; then +-echo "$as_me:26492: checking if $CXX accepts parameter initialization" >&5 ++echo "$as_me:26541: checking if $CXX accepts parameter initialization" >&5 + echo $ECHO_N "checking if $CXX accepts parameter initialization... $ECHO_C" >&6 + if test "${cf_cv_cpp_param_init+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26506,7 +26555,7 @@ ac_main_return="return" + cf_cv_cpp_param_init=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26509 "configure" ++#line 26558 "configure" + #include "confdefs.h" + + class TEST { +@@ -26525,15 +26574,15 @@ int main(void) { } + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26528: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26577: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26531: \$? = $ac_status" >&5 ++ echo "$as_me:26580: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26533: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26582: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26536: \$? = $ac_status" >&5 ++ echo "$as_me:26585: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_param_init=yes + else +@@ -26552,7 +26601,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26555: result: $cf_cv_cpp_param_init" >&5 ++echo "$as_me:26604: result: $cf_cv_cpp_param_init" >&5 + echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 + fi + test "$cf_cv_cpp_param_init" = yes && +@@ -26562,7 +26611,7 @@ EOF + + if test -n "$CXX"; then + +-echo "$as_me:26565: checking if $CXX accepts static_cast" >&5 ++echo "$as_me:26614: checking if $CXX accepts static_cast" >&5 + echo $ECHO_N "checking if $CXX accepts static_cast... $ECHO_C" >&6 + if test "${cf_cv_cpp_static_cast+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26576,7 +26625,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26579 "configure" ++#line 26628 "configure" + #include "confdefs.h" + + class NCursesPanel +@@ -26620,16 +26669,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26623: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26672: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26626: \$? = $ac_status" >&5 ++ echo "$as_me:26675: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26629: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26678: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26632: \$? = $ac_status" >&5 ++ echo "$as_me:26681: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_static_cast=yes + else +@@ -26647,7 +26696,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26650: result: $cf_cv_cpp_static_cast" >&5 ++echo "$as_me:26699: result: $cf_cv_cpp_static_cast" >&5 + echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 + + fi +@@ -26696,13 +26745,13 @@ else + else + if test "$cf_cv_header_stdbool_h" = 1 ; then + +-echo "$as_me:26699: checking for bool" >&5 ++echo "$as_me:26748: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26705 "configure" ++#line 26754 "configure" + #include "confdefs.h" + + #include +@@ -26738,16 +26787,16 @@ if (sizeof (bool)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26741: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26790: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26744: \$? = $ac_status" >&5 ++ echo "$as_me:26793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26747: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26796: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26750: \$? = $ac_status" >&5 ++ echo "$as_me:26799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -26757,10 +26806,10 @@ ac_cv_type_bool=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:26760: result: $ac_cv_type_bool" >&5 ++echo "$as_me:26809: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:26763: checking size of bool" >&5 ++echo "$as_me:26812: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26769,7 +26818,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26772 "configure" ++#line 26821 "configure" + #include "confdefs.h" + + #include +@@ -26802,21 +26851,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26805: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26854: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26808: \$? = $ac_status" >&5 ++ echo "$as_me:26857: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26811: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26860: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26814: \$? = $ac_status" >&5 ++ echo "$as_me:26863: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26819 "configure" ++#line 26868 "configure" + #include "confdefs.h" + + #include +@@ -26849,16 +26898,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26852: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26901: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26855: \$? = $ac_status" >&5 ++ echo "$as_me:26904: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26858: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26907: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26861: \$? = $ac_status" >&5 ++ echo "$as_me:26910: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -26874,7 +26923,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26877 "configure" ++#line 26926 "configure" + #include "confdefs.h" + + #include +@@ -26907,16 +26956,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26910: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26959: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26913: \$? = $ac_status" >&5 ++ echo "$as_me:26962: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26916: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26965: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26919: \$? = $ac_status" >&5 ++ echo "$as_me:26968: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -26932,7 +26981,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26935 "configure" ++#line 26984 "configure" + #include "confdefs.h" + + #include +@@ -26965,16 +27014,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26968: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27017: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26971: \$? = $ac_status" >&5 ++ echo "$as_me:27020: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26974: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27023: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26977: \$? = $ac_status" >&5 ++ echo "$as_me:27026: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -26987,12 +27036,12 @@ done + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:26990: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:27039: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26995 "configure" ++#line 27044 "configure" + #include "confdefs.h" + + #include +@@ -27029,15 +27078,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27032: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27081: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27035: \$? = $ac_status" >&5 ++ echo "$as_me:27084: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27037: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27086: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27040: \$? = $ac_status" >&5 ++ echo "$as_me:27089: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -27053,13 +27102,13 @@ else + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:27056: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:27105: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:27111: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27078,7 +27127,7 @@ else + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27081 "configure" ++#line 27130 "configure" + #include "confdefs.h" + + #include +@@ -27120,15 +27169,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27123: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27172: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27126: \$? = $ac_status" >&5 ++ echo "$as_me:27175: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27128: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27177: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27131: \$? = $ac_status" >&5 ++ echo "$as_me:27180: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -27145,26 +27194,26 @@ fi + rm -f cf_test.out + + fi +-echo "$as_me:27148: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:27197: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:27155: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:27204: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi + + else +- echo "$as_me:27161: checking for fallback type of bool" >&5 ++ echo "$as_me:27210: checking for fallback type of bool" >&5 + echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6 + case "$host_cpu" in + (i?86) cf_cv_type_of_bool=char ;; + (*) cf_cv_type_of_bool=int ;; + esac +- echo "$as_me:27167: result: $cf_cv_type_of_bool" >&5 ++ echo "$as_me:27216: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + fi + fi +@@ -27193,7 +27242,7 @@ if test -f "${srcdir}/Ada95/Makefile.in" ; then + + if test "$cf_with_ada" != "no" ; then + if test "$with_libtool" != "no"; then +- { echo "$as_me:27196: WARNING: libtool does not support Ada - disabling feature" >&5 ++ { echo "$as_me:27245: WARNING: libtool does not support Ada - disabling feature" >&5 + echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;} + cf_with_ada=no + fi +@@ -27210,7 +27259,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- + unset cf_TEMP_gnat + # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. + set dummy $cf_prog_gnat; ac_word=$2 +-echo "$as_me:27213: checking for $ac_word" >&5 ++echo "$as_me:27262: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27227,7 +27276,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" +- echo "$as_me:27230: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:27279: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -27239,10 +27288,10 @@ fi + cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat + + if test -n "$cf_TEMP_gnat"; then +- echo "$as_me:27242: result: $cf_TEMP_gnat" >&5 ++ echo "$as_me:27291: result: $cf_TEMP_gnat" >&5 + echo "${ECHO_T}$cf_TEMP_gnat" >&6 + else +- echo "$as_me:27245: result: no" >&5 ++ echo "$as_me:27294: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -27252,7 +27301,7 @@ fi + unset cf_cv_gnat_version + unset cf_TEMP_gnat + +-echo "$as_me:27255: checking for $cf_prog_gnat version" >&5 ++echo "$as_me:27304: checking for $cf_prog_gnat version" >&5 + echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27263,7 +27312,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:27266: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:27315: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version +@@ -27292,7 +27341,7 @@ else + cd conftest.src + for cf_gprconfig in Ada C + do +- echo "$as_me:27295: checking for gprconfig name for $cf_gprconfig" >&5 ++ echo "$as_me:27344: checking for gprconfig name for $cf_gprconfig" >&5 + echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test "$cf_gprconfig" = C + then +@@ -27311,10 +27360,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test -n "$cf_gprconfig_value" + then + eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" +- echo "$as_me:27314: result: $cf_gprconfig_value" >&5 ++ echo "$as_me:27363: result: $cf_gprconfig_value" >&5 + echo "${ECHO_T}$cf_gprconfig_value" >&6 + else +- echo "$as_me:27317: result: missing" >&5 ++ echo "$as_me:27366: result: missing" >&5 + echo "${ECHO_T}missing" >&6 + cf_ada_config="#" + break +@@ -27327,7 +27376,7 @@ echo "${ECHO_T}missing" >&6 + if test "x$cf_ada_config" != "x#" + then + +-echo "$as_me:27330: checking for gnat version" >&5 ++echo "$as_me:27379: checking for gnat version" >&5 + echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27338,7 +27387,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:27341: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:27390: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + +@@ -27347,7 +27396,7 @@ case "$cf_cv_gnat_version" in + cf_cv_prog_gnat_correct=yes + ;; + (*) +- { echo "$as_me:27350: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 ++ { echo "$as_me:27399: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} + cf_cv_prog_gnat_correct=no + ;; +@@ -27355,7 +27404,7 @@ esac + + # Extract the first word of "m4", so it can be a program name with args. + set dummy m4; ac_word=$2 +-echo "$as_me:27358: checking for $ac_word" >&5 ++echo "$as_me:27407: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_M4_exists+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27370,7 +27419,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_M4_exists="yes" +-echo "$as_me:27373: found $ac_dir/$ac_word" >&5 ++echo "$as_me:27422: found $ac_dir/$ac_word" >&5 + break + done + +@@ -27379,20 +27428,20 @@ fi + fi + M4_exists=$ac_cv_prog_M4_exists + if test -n "$M4_exists"; then +- echo "$as_me:27382: result: $M4_exists" >&5 ++ echo "$as_me:27431: result: $M4_exists" >&5 + echo "${ECHO_T}$M4_exists" >&6 + else +- echo "$as_me:27385: result: no" >&5 ++ echo "$as_me:27434: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + + if test "$ac_cv_prog_M4_exists" = no; then + cf_cv_prog_gnat_correct=no +- { echo "$as_me:27391: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 ++ { echo "$as_me:27440: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} + fi + if test "$cf_cv_prog_gnat_correct" = yes; then +- echo "$as_me:27395: checking if GNAT works" >&5 ++ echo "$as_me:27444: checking if GNAT works" >&5 + echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 + + rm -rf ./conftest* ./*~conftest* +@@ -27420,7 +27469,7 @@ else + fi + rm -rf ./conftest* ./*~conftest* + +- echo "$as_me:27423: result: $cf_cv_prog_gnat_correct" >&5 ++ echo "$as_me:27472: result: $cf_cv_prog_gnat_correct" >&5 + echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 + fi + else +@@ -27432,7 +27481,7 @@ fi + + ADAFLAGS="$ADAFLAGS -gnatpn" + +- echo "$as_me:27435: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:27484: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -27449,10 +27498,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + + ;; + esac +- echo "$as_me:27452: result: $ADAFLAGS" >&5 ++ echo "$as_me:27501: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:27455: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:27504: checking if GNATPREP supports -T option" >&5 + echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 + if test "${cf_cv_gnatprep_opt_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27462,11 +27511,11 @@ cf_cv_gnatprep_opt_t=no + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:27465: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:27514: result: $cf_cv_gnatprep_opt_t" >&5 + echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 + test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" + +-echo "$as_me:27469: checking if GNAT supports generics" >&5 ++echo "$as_me:27518: checking if GNAT supports generics" >&5 + echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) +@@ -27476,7 +27525,7 @@ case "$cf_cv_gnat_version" in + cf_gnat_generics=no + ;; + esac +-echo "$as_me:27479: result: $cf_gnat_generics" >&5 ++echo "$as_me:27528: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -27488,7 +27537,7 @@ else + cf_generic_objects= + fi + +-echo "$as_me:27491: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:27540: checking if GNAT supports SIGINT" >&5 + echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 + if test "${cf_cv_gnat_sigint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27536,7 +27585,7 @@ fi + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:27539: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:27588: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -27549,7 +27598,7 @@ cf_gnat_libraries=no + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:27552: checking if GNAT supports project files" >&5 ++echo "$as_me:27601: checking if GNAT supports project files" >&5 + echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.[0-9]*) +@@ -27612,15 +27661,15 @@ CF_EOF + esac + ;; + esac +-echo "$as_me:27615: result: $cf_gnat_projects" >&5 ++echo "$as_me:27664: result: $cf_gnat_projects" >&5 + echo "${ECHO_T}$cf_gnat_projects" >&6 + fi # enable_gnat_projects + + if test "$cf_gnat_projects" = yes + then +- echo "$as_me:27621: checking if GNAT supports libraries" >&5 ++ echo "$as_me:27670: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:27623: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:27672: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -27640,7 +27689,7 @@ then + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:27643: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:27692: WARNING: use old makefile rules since tools are missing" >&5 + echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} + fi + fi +@@ -27652,7 +27701,7 @@ else + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:27655: checking for ada-compiler" >&5 ++echo "$as_me:27704: checking for ada-compiler" >&5 + echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 + + # Check whether --with-ada-compiler or --without-ada-compiler was given. +@@ -27663,12 +27712,12 @@ else + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:27666: result: $cf_ada_compiler" >&5 ++echo "$as_me:27715: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:27671: checking for ada-include" >&5 ++echo "$as_me:27720: checking for ada-include" >&5 + echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 + + # Check whether --with-ada-include or --without-ada-include was given. +@@ -27704,7 +27753,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:27707: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:27756: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -27713,10 +27762,10 @@ esac + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:27716: result: $ADA_INCLUDE" >&5 ++echo "$as_me:27765: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:27719: checking for ada-objects" >&5 ++echo "$as_me:27768: checking for ada-objects" >&5 + echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 + + # Check whether --with-ada-objects or --without-ada-objects was given. +@@ -27752,7 +27801,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:27755: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:27804: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -27761,10 +27810,10 @@ esac + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:27764: result: $ADA_OBJECTS" >&5 ++echo "$as_me:27813: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:27767: checking if an Ada95 shared-library should be built" >&5 ++echo "$as_me:27816: checking if an Ada95 shared-library should be built" >&5 + echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 + + # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. +@@ -27774,14 +27823,14 @@ if test "${with_ada_sharedlib+set}" = set; then + else + with_ada_sharedlib=no + fi; +-echo "$as_me:27777: result: $with_ada_sharedlib" >&5 ++echo "$as_me:27826: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + + if test "x$with_ada_sharedlib" != xno + then + if test "x$cf_gnat_projects" != xyes + then +- { echo "$as_me:27784: WARNING: disabling shared-library since GNAT projects are not supported" >&5 ++ { echo "$as_me:27833: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} + with_ada_sharedlib=no + fi +@@ -27801,7 +27850,7 @@ fi + + # allow the Ada binding to be renamed + +-echo "$as_me:27804: checking for ada-libname" >&5 ++echo "$as_me:27853: checking for ada-libname" >&5 + echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 + + # Check whether --with-ada-libname or --without-ada-libname was given. +@@ -27817,7 +27866,7 @@ case "x$ADA_LIBNAME" in + ;; + esac + +-echo "$as_me:27820: result: $ADA_LIBNAME" >&5 ++echo "$as_me:27869: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + fi +@@ -27828,13 +27877,13 @@ fi + + # do this "late" to avoid conflict with header-checks + if test "x$with_widec" = xyes ; then +- echo "$as_me:27831: checking for wchar_t" >&5 ++ echo "$as_me:27880: checking for wchar_t" >&5 + echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6 + if test "${ac_cv_type_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27837 "configure" ++#line 27886 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27849,16 +27898,16 @@ if (sizeof (wchar_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27852: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27901: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27855: \$? = $ac_status" >&5 ++ echo "$as_me:27904: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27858: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27907: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27861: \$? = $ac_status" >&5 ++ echo "$as_me:27910: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_wchar_t=yes + else +@@ -27868,10 +27917,10 @@ ac_cv_type_wchar_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:27871: result: $ac_cv_type_wchar_t" >&5 ++echo "$as_me:27920: result: $ac_cv_type_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_type_wchar_t" >&6 + +-echo "$as_me:27874: checking size of wchar_t" >&5 ++echo "$as_me:27923: checking size of wchar_t" >&5 + echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6 + if test "${ac_cv_sizeof_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27880,7 +27929,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27883 "configure" ++#line 27932 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27892,21 +27941,21 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27898: \$? = $ac_status" >&5 ++ echo "$as_me:27947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27904: \$? = $ac_status" >&5 ++ echo "$as_me:27953: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27909 "configure" ++#line 27958 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27918,16 +27967,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27921: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27970: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27924: \$? = $ac_status" >&5 ++ echo "$as_me:27973: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27927: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27976: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27930: \$? = $ac_status" >&5 ++ echo "$as_me:27979: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -27943,7 +27992,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27946 "configure" ++#line 27995 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27955,16 +28004,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27958: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28007: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27961: \$? = $ac_status" >&5 ++ echo "$as_me:28010: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27964: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28013: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27967: \$? = $ac_status" >&5 ++ echo "$as_me:28016: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -27980,7 +28029,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27983 "configure" ++#line 28032 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27992,16 +28041,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27995: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28044: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27998: \$? = $ac_status" >&5 ++ echo "$as_me:28047: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28001: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28050: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28004: \$? = $ac_status" >&5 ++ echo "$as_me:28053: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -28014,12 +28063,12 @@ done + ac_cv_sizeof_wchar_t=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:28017: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:28066: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28022 "configure" ++#line 28071 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28035,15 +28084,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:28038: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:28087: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28041: \$? = $ac_status" >&5 ++ echo "$as_me:28090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:28043: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28092: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28046: \$? = $ac_status" >&5 ++ echo "$as_me:28095: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_wchar_t=`cat conftest.val` + else +@@ -28059,7 +28108,7 @@ else + ac_cv_sizeof_wchar_t=0 + fi + fi +-echo "$as_me:28062: result: $ac_cv_sizeof_wchar_t" >&5 ++echo "$as_me:28111: result: $ac_cv_sizeof_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6 + cat >>confdefs.h <&6 + +-echo "${as_me:-configure}:28075: testing test failed (assume 2) ..." 1>&5 ++echo "${as_me:-configure}:28124: testing test failed (assume 2) ..." 1>&5 + + sed /SIZEOF_WCHAR_T/d confdefs.h >confdefs.tmp + mv confdefs.tmp confdefs.h +@@ -28090,7 +28139,7 @@ fi + ### chooses to split module lists into libraries. + ### + ### (see CF_LIB_RULES). +-echo "$as_me:28093: checking for library subsets" >&5 ++echo "$as_me:28142: checking for library subsets" >&5 + echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 + LIB_SUBSETS= + +@@ -28144,7 +28193,7 @@ fi + test "x$with_widec" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+widechar" + test "x$with_ext_funcs" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs" + +-echo "$as_me:28147: result: $LIB_SUBSETS" >&5 ++echo "$as_me:28196: result: $LIB_SUBSETS" >&5 + echo "${ECHO_T}$LIB_SUBSETS" >&6 + + ### Construct the list of include-directories to be generated +@@ -28175,7 +28224,7 @@ elif test "$includedir" != "/usr/include"; then + fi + + ### Build up pieces for makefile rules +-echo "$as_me:28178: checking default library suffix" >&5 ++echo "$as_me:28227: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28186,10 +28235,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:28189: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:28238: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:28192: checking default library-dependency suffix" >&5 ++echo "$as_me:28241: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -28272,10 +28321,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" + DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" + fi +-echo "$as_me:28275: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:28324: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:28278: checking default object directory" >&5 ++echo "$as_me:28327: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28291,11 +28340,11 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:28294: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:28343: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + if test "x$cf_with_cxx" = xyes ; then +-echo "$as_me:28298: checking c++ library-dependency suffix" >&5 ++echo "$as_me:28347: checking c++ library-dependency suffix" >&5 + echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6 + if test "$with_libtool" != "no"; then + # libtool thinks it can make c++ shared libraries (perhaps only g++) +@@ -28388,7 +28437,7 @@ else + fi + + fi +-echo "$as_me:28391: result: $CXX_LIB_SUFFIX" >&5 ++echo "$as_me:28440: result: $CXX_LIB_SUFFIX" >&5 + echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 + + fi +@@ -28564,19 +28613,19 @@ fi + + if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED" + then +- echo "$as_me:28567: checking if linker supports switching between static/dynamic" >&5 ++ echo "$as_me:28616: checking if linker supports switching between static/dynamic" >&5 + echo $ECHO_N "checking if linker supports switching between static/dynamic... $ECHO_C" >&6 + + rm -f libconftest.a + cat >conftest.$ac_ext < + int cf_ldflags_static(FILE *fp) { return fflush(fp); } + EOF +- if { (eval echo "$as_me:28576: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:28625: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28579: \$? = $ac_status" >&5 ++ echo "$as_me:28628: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + ( $AR $ARFLAGS libconftest.a conftest.o ) 2>&5 1>/dev/null + ( eval $RANLIB libconftest.a ) 2>&5 >/dev/null +@@ -28587,10 +28636,10 @@ EOF + + LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28590 "configure" ++#line 28639 "configure" + #include "confdefs.h" + +-#line 28593 "configure" ++#line 28642 "configure" + #include + int cf_ldflags_static(FILE *fp); + +@@ -28605,16 +28654,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:28608: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:28657: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28611: \$? = $ac_status" >&5 ++ echo "$as_me:28660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:28614: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28663: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28617: \$? = $ac_status" >&5 ++ echo "$as_me:28666: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + # some linkers simply ignore the -dynamic +@@ -28637,7 +28686,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + rm -f libconftest.* + LIBS="$cf_save_LIBS" + +- echo "$as_me:28640: result: $cf_ldflags_static" >&5 ++ echo "$as_me:28689: result: $cf_ldflags_static" >&5 + echo "${ECHO_T}$cf_ldflags_static" >&6 + + if test "$cf_ldflags_static" != yes +@@ -28653,7 +28702,7 @@ fi + ;; + esac + +-echo "$as_me:28656: checking where we will install curses.h" >&5 ++echo "$as_me:28705: checking where we will install curses.h" >&5 + echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 + + includesubdir= +@@ -28663,7 +28712,7 @@ if test "$with_overwrite" = no && \ + then + includesubdir="/ncurses${USE_LIB_SUFFIX}" + fi +-echo "$as_me:28666: result: ${includedir}${includesubdir}" >&5 ++echo "$as_me:28715: result: ${includedir}${includesubdir}" >&5 + echo "${ECHO_T}${includedir}${includesubdir}" >&6 + + ### Resolve a conflict between normal and wide-curses by forcing applications +@@ -28671,7 +28720,7 @@ echo "${ECHO_T}${includedir}${includesubdir}" >&6 + if test "$with_overwrite" != no ; then + if test "$NCURSES_LIBUTF8" = 1 ; then + NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' +- { echo "$as_me:28674: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 ++ { echo "$as_me:28723: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 + echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&2;} + fi + fi +@@ -28699,7 +28748,7 @@ EOF + + # pkgsrc uses these + +-echo "$as_me:28702: checking for desired basename for form library" >&5 ++echo "$as_me:28751: checking for desired basename for form library" >&5 + echo $ECHO_N "checking for desired basename for form library... $ECHO_C" >&6 + + # Check whether --with-form-libname or --without-form-libname was given. +@@ -28719,10 +28768,10 @@ case "x$FORM_NAME" in + ;; + esac + +-echo "$as_me:28722: result: $FORM_NAME" >&5 ++echo "$as_me:28771: result: $FORM_NAME" >&5 + echo "${ECHO_T}$FORM_NAME" >&6 + +-echo "$as_me:28725: checking for desired basename for menu library" >&5 ++echo "$as_me:28774: checking for desired basename for menu library" >&5 + echo $ECHO_N "checking for desired basename for menu library... $ECHO_C" >&6 + + # Check whether --with-menu-libname or --without-menu-libname was given. +@@ -28742,10 +28791,10 @@ case "x$MENU_NAME" in + ;; + esac + +-echo "$as_me:28745: result: $MENU_NAME" >&5 ++echo "$as_me:28794: result: $MENU_NAME" >&5 + echo "${ECHO_T}$MENU_NAME" >&6 + +-echo "$as_me:28748: checking for desired basename for panel library" >&5 ++echo "$as_me:28797: checking for desired basename for panel library" >&5 + echo $ECHO_N "checking for desired basename for panel library... $ECHO_C" >&6 + + # Check whether --with-panel-libname or --without-panel-libname was given. +@@ -28765,10 +28814,10 @@ case "x$PANEL_NAME" in + ;; + esac + +-echo "$as_me:28768: result: $PANEL_NAME" >&5 ++echo "$as_me:28817: result: $PANEL_NAME" >&5 + echo "${ECHO_T}$PANEL_NAME" >&6 + +-echo "$as_me:28771: checking for desired basename for cxx library" >&5 ++echo "$as_me:28820: checking for desired basename for cxx library" >&5 + echo $ECHO_N "checking for desired basename for cxx library... $ECHO_C" >&6 + + # Check whether --with-cxx-libname or --without-cxx-libname was given. +@@ -28788,13 +28837,13 @@ case "x$CXX_NAME" in + ;; + esac + +-echo "$as_me:28791: result: $CXX_NAME" >&5 ++echo "$as_me:28840: result: $CXX_NAME" >&5 + echo "${ECHO_T}$CXX_NAME" >&6 + + ### Construct the list of subdirectories for which we'll customize makefiles + ### with the appropriate compile-rules. + +-echo "$as_me:28797: checking for src modules" >&5 ++echo "$as_me:28846: checking for src modules" >&5 + echo $ECHO_N "checking for src modules... $ECHO_C" >&6 + + # dependencies and linker-arguments for test-programs +@@ -28863,7 +28912,7 @@ eval TEST_ROOT="\$${cf_map_lib_basename}_NAME" + fi + fi + done +-echo "$as_me:28866: result: $cf_cv_src_modules" >&5 ++echo "$as_me:28915: result: $cf_cv_src_modules" >&5 + echo "${ECHO_T}$cf_cv_src_modules" >&6 + + TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" +@@ -29024,7 +29073,7 @@ case "$cf_cv_system_name" in + (*-D_XOPEN_SOURCE_EXTENDED*) + test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6 + +-echo "${as_me:-configure}:29027: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 ++echo "${as_me:-configure}:29076: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 + + CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED" + CPPFLAGS=`echo "x$CPPFLAGS" | sed -e 's/^.//' -e 's/-D_XOPEN_SOURCE_EXTENDED//'` +@@ -29035,7 +29084,7 @@ esac + + # Help to automatically enable the extended curses features when using either + # the *-config or the ".pc" files by adding defines. +-echo "$as_me:29038: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 ++echo "$as_me:29087: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 + echo $ECHO_N "checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script... $ECHO_C" >&6 + PKG_CFLAGS= + for cf_loop1 in $CPPFLAGS_after_XOPEN +@@ -29051,7 +29100,7 @@ do + done + test "$cf_found" = no && PKG_CFLAGS="$PKG_CFLAGS $cf_loop1" + done +-echo "$as_me:29054: result: $PKG_CFLAGS" >&5 ++echo "$as_me:29103: result: $PKG_CFLAGS" >&5 + echo "${ECHO_T}$PKG_CFLAGS" >&6 + + # AC_CHECK_SIZEOF demands a literal parameter, no variables. So we do this. +@@ -29112,7 +29161,7 @@ then + cf_filter_syms=$cf_dft_filter_syms + test -n "$verbose" && echo " will map symbols to ABI=$cf_cv_abi_version" 1>&6 + +-echo "${as_me:-configure}:29115: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 ++echo "${as_me:-configure}:29164: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 + + fi + +@@ -29139,7 +29188,7 @@ fi + + # This is used for the *-config script and *.pc data files. + +-echo "$as_me:29142: checking for linker search path" >&5 ++echo "$as_me:29191: checking for linker search path" >&5 + echo $ECHO_N "checking for linker search path... $ECHO_C" >&6 + if test "${cf_cv_ld_searchpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -29187,7 +29236,7 @@ then + cf_pathlist="$cf_pathlist /lib /usr/lib" + ;; + (*) +- { echo "$as_me:29190: WARNING: problem with Solaris architecture" >&5 ++ { echo "$as_me:29239: WARNING: problem with Solaris architecture" >&5 + echo "$as_me: WARNING: problem with Solaris architecture" >&2;} + ;; + esac +@@ -29228,7 +29277,7 @@ done + test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib + + fi +-echo "$as_me:29231: result: $cf_cv_ld_searchpath" >&5 ++echo "$as_me:29280: result: $cf_cv_ld_searchpath" >&5 + echo "${ECHO_T}$cf_cv_ld_searchpath" >&6 + + LD_SEARCHPATH=`echo "$cf_cv_ld_searchpath"|sed -e 's/ /|/g'` +@@ -29318,7 +29367,7 @@ 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:29321: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:29370: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -29497,7 +29546,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:29500: error: ambiguous option: $1 ++ { { echo "$as_me:29549: 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;} +@@ -29516,7 +29565,7 @@ Try \`$0 --help' for more information." >&2;} + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:29519: error: unrecognized option: $1 ++ -*) { { echo "$as_me:29568: 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;} +@@ -29642,7 +29691,7 @@ do + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; +- *) { { echo "$as_me:29645: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:29694: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -30155,7 +30204,7 @@ done; } + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:30158: creating $ac_file" >&5 ++ { echo "$as_me:30207: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -30173,7 +30222,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30176: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30225: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -30186,7 +30235,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30189: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30238: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -30202,7 +30251,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:30205: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:30254: 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;} +@@ -30211,7 +30260,7 @@ $ac_seen" >&2;} + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:30214: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:30263: 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;} +@@ -30248,7 +30297,7 @@ s,@INSTALL@,$ac_INSTALL,;t t + ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` + if test -z "$ac_init"; then + ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` +- { echo "$as_me:30251: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:30300: 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;} +@@ -30259,7 +30308,7 @@ $ac_seen" >&2;} + ${EGREP-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:30262: WARNING: Some variables may not be substituted: ++ { echo "$as_me:30311: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -30308,7 +30357,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:30311: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:30360: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -30319,7 +30368,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30322: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30371: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -30332,7 +30381,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30335: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30384: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -30390,7 +30439,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + 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:30393: $ac_file is unchanged" >&5 ++ { echo "$as_me:30442: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +@@ -30777,7 +30826,7 @@ cf_ITEM=`echo "$cf_item" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQ + (cygdll|msysdll|mingw|msvcdll) + test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6 + +-echo "${as_me:-configure}:30780: testing overriding CXX_MODEL to SHARED ..." 1>&5 ++echo "${as_me:-configure}:30829: testing overriding CXX_MODEL to SHARED ..." 1>&5 + + with_shared_cxx=yes + ;; +diff --git a/dist.mk b/dist.mk +index 3f682b53..1c29d8a3 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1502 2022/09/17 10:53:30 tom Exp $ ++# $Id: dist.mk,v 1.1503 2022/09/24 08:24:58 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220917 ++NCURSES_PATCH = 20220924 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/include/term_entry.h b/include/term_entry.h +index 503e4b8e..7425a76b 100644 +--- a/include/term_entry.h ++++ b/include/term_entry.h +@@ -33,7 +33,7 @@ + * and: Thomas E. Dickey 1998-on * + ****************************************************************************/ + +-/* $Id: term_entry.h,v 1.62 2022/05/28 17:59:42 tom Exp $ */ ++/* $Id: term_entry.h,v 1.63 2022/09/24 15:04:59 tom Exp $ */ + + /* + * term_entry.h -- interface to entry-manipulation code +@@ -135,6 +135,7 @@ struct entry { + extern NCURSES_EXPORT_VAR(ENTRY *) _nc_head; + extern NCURSES_EXPORT_VAR(ENTRY *) _nc_tail; + #define for_entry_list(qp) for (qp = _nc_head; qp; qp = qp->next) ++#define for_entry_list2(qp,q0) for (qp = q0; qp; qp = qp->next) + + #define MAX_LINE 132 + +diff --git a/menu/m_post.c b/menu/m_post.c +index 85da64b6..cb802304 100644 +--- a/menu/m_post.c ++++ b/menu/m_post.c +@@ -38,7 +38,7 @@ + + #include "menu.priv.h" + +-MODULE_ID("$Id: m_post.c,v 1.37 2022/09/03 21:40:27 tom Exp $") ++MODULE_ID("$Id: m_post.c,v 1.38 2022/09/24 09:38:44 tom Exp $") + + /*--------------------------------------------------------------------------- + | Facility : libnmenu +@@ -216,9 +216,10 @@ _nc_Draw_Menu(const MENU *menu) + + if (item != NULL) + { ++ int y = 0; ++ + do + { +- int y = 0; + ITEM *lasthor; + + wmove(menu->win, y, 0); +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index ff8d5657..1c71eddc 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.124 2022/09/10 19:54:59 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.127 2022/09/24 15:24:15 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -412,8 +412,8 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + for_entry_list(qp) { + int matchcount = 0; + +- for_entry_list(rp) { +- if (qp > rp // FIXME - pointer-comparison is wrong... ++ for_entry_list2(rp, qp->next) { ++ if (qp > rp + && check_collisions(qp->tterm.term_names, + rp->tterm.term_names, + matchcount + 1)) { +@@ -575,6 +575,7 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + qp->uses[qp->nuses - 1].link); + _nc_merge_entry(&merged, + qp->uses[qp->nuses - 1].link); ++ free(qp->uses[qp->nuses - 1].name); + } + + /* +@@ -612,13 +613,6 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + DEBUG(2, ("MERGES COMPLETED OK")); + } + +- /* +- * We'd like to free entries read in off disk at this point, but can't. +- * The merge_entry() code doesn't copy the strings in the use entries, +- * it just aliases them. If this ever changes, do a +- * free_entries(lastread) here. +- */ +- + DEBUG(2, ("RESOLUTION FINISHED")); + + if (fullresolve) { +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 3fee82a9..48c7f6d4 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 3fee82a9..48c7f6d4 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index aacb3e52..f1407649 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index c291ccf5..eb13c675 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.542 2022/09/17 10:53:30 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.543 2022/09/24 08:24:58 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0917" ++!define VERSION_MMDD "0924" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 9b8ce6af..87fa86ea 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 27e87998..4ba3b994 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index 0141bc16..dc26c4e1 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/progs/infocmp.c b/progs/infocmp.c +index c1b95088..171d794d 100644 +--- a/progs/infocmp.c ++++ b/progs/infocmp.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: infocmp.c,v 1.155 2022/09/03 23:28:48 tom Exp $") ++MODULE_ID("$Id: infocmp.c,v 1.156 2022/09/24 10:13:06 tom Exp $") + + #define MAX_STRING 1024 /* maximum formatted string */ + +@@ -905,7 +905,6 @@ analyze_string(const char *name, const char *cap, TERMTYPE2 *tp) + sizeof(buf2)); + _nc_STRNCPY(buf3, sp + csi, len); + buf3[len] = '\0'; +- len += (size_t) csi + 1; + + expansion = lookup_params(std_modes, buf2, buf3); + } +@@ -926,7 +925,6 @@ analyze_string(const char *name, const char *cap, TERMTYPE2 *tp) + sizeof(buf2)); + _nc_STRNCPY(buf3, sp + csi + 1, len); + buf3[len] = '\0'; +- len += (size_t) csi + 2; + + expansion = lookup_params(private_modes, buf2, buf3); + } +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20221015.patch b/ncurses-6.3-patch-20221015.patch new file mode 100644 index 0000000..bff6f61 --- /dev/null +++ b/ncurses-6.3-patch-20221015.patch @@ -0,0 +1,1253 @@ +From aaa5142e4bdde469fbc59d1c91455cbd0c45281a Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sat, 15 Oct 2022 23:52:49 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20221015 + ++ fix another memory-leak in tic. ++ update install-sh script from autoconf, to fix install problem for + Ada95 with Arch; as noted in + https://lists.gnu.org/archive/html/automake/2018-09/msg00005.html + there are unaddressed issues. ++ update CF_XOPEN_SOURCE, adding GNU libc suffixes for abi64, abin32, + x32 (report by Sven Joachim): ++ correct ifdef's for _nc_set_read_thread() (patch by Mikhail Korolev, + cf: 20220813). +--- + Ada95/aclocal.m4 | 6 +- + Ada95/configure | 4 +- + NEWS | 13 +- + VERSION | 2 +- + aclocal.m4 | 6 +- + configure | 2 +- + dist.mk | 4 +- + install-sh | 671 +++++++++++++++++++++---------- + ncurses/curses.priv.h | 4 +- + ncurses/tinfo/alloc_entry.c | 56 ++- + ncurses/tinfo/comp_parse.c | 11 +- + ncurses/tty/lib_tstp.c | 6 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/aclocal.m4 | 6 +- + test/configure | 2 +- + 21 files changed, 556 insertions(+), 259 deletions(-) + +diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 +index 5f7c5a6e..5636b3cd 100644 +--- a/Ada95/aclocal.m4 ++++ b/Ada95/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.195 2022/09/24 20:42:30 tom Exp $ ++dnl $Id: aclocal.m4,v 1.196 2022/10/02 23:55:56 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -5014,7 +5014,7 @@ AC_ARG_WITH(system-type, + ]) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 60 updated: 2022/09/10 15:16:16 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -5065,7 +5065,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/Ada95/configure b/Ada95/configure +index ee43a442..a3561fe1 100755 +--- a/Ada95/configure ++++ b/Ada95/configure +@@ -1,5 +1,5 @@ + #! /bin/sh +-# From configure.in Revision: 1.85 . ++# From configure.in Revision: 1.86 . + # Guess values for system-dependent variables and create Makefiles. + # Generated by Autoconf 2.52.20210509. + # +@@ -12465,7 +12465,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +diff --git a/NEWS b/NEWS +index 1c0ee42b..d387afe3 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3864 2022/10/08 16:50:03 tom Exp $ ++-- $Id: NEWS,v 1.3868 2022/10/15 19:45:12 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,17 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20221015 ++ + fix another memory-leak in tic. ++ + update install-sh script from autoconf, to fix install problem for ++ Ada95 with Arch; as noted in ++ https://lists.gnu.org/archive/html/automake/2018-09/msg00005.html ++ there are unaddressed issues. ++ + update CF_XOPEN_SOURCE, adding GNU libc suffixes for abi64, abin32, ++ x32 (report by Sven Joachim): ++ + correct ifdef's for _nc_set_read_thread() (patch by Mikhail Korolev, ++ cf: 20220813). ++ + 20221008 + + correct a switch-statement case in configure script to allow for test + builds with ABI=7. +diff --git a/VERSION b/VERSION +index 5c043d13..1b3acc0c 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20221008 ++5:0:10 6.3 20221015 +diff --git a/aclocal.m4 b/aclocal.m4 +index bf806578..4478ba88 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: aclocal.m4,v 1.1014 2022/10/01 13:24:04 tom Exp $ ++dnl $Id: aclocal.m4,v 1.1015 2022/10/02 23:55:56 tom Exp $ + dnl Macros used in NCURSES auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -9873,7 +9873,7 @@ fi + AC_SUBST(no_x11_rgb) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 61 updated: 2022/09/30 04:05:55 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -9924,7 +9924,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|linux*gnueabi|linux*gnueabihf|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/configure b/configure +index 128cca2a..b7a2d9a5 100755 +--- a/configure ++++ b/configure +@@ -9989,7 +9989,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|linux*gnueabi|linux*gnueabihf|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +diff --git a/dist.mk b/dist.mk +index fd35b793..dbb55b2c 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1506 2022/10/08 10:25:44 tom Exp $ ++# $Id: dist.mk,v 1.1507 2022/10/15 11:57:10 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20221008 ++NCURSES_PATCH = 20221015 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/install-sh b/install-sh +index 462fa9c3..ec298b53 100755 +--- a/install-sh ++++ b/install-sh +@@ -1,7 +1,8 @@ +-#! /bin/sh +-# ++#!/bin/sh + # install - install a program, script, or datafile +-# ++ ++scriptversion=2020-11-14.01; # UTC ++ + # This originates from X11R5 (mit/util/scripts/install.sh), which was + # later released in X11R6 (xc/config/util/install.sh) with the + # following copyright and license. +@@ -34,261 +35,507 @@ + # FSF changes to this file are in the public domain. + # + # Calling this script install-sh is preferred over install.sh, to prevent +-# `make' implicit rules from creating a file called install from it ++# 'make' implicit rules from creating a file called install from it + # when there is no Makefile. + # + # This script is compatible with the BSD install script, but was written +-# from scratch. It can only install one file at a time, a restriction +-# shared with many OS's install programs. ++# from scratch. ++ ++tab=' ' ++nl=' ++' ++IFS=" $tab$nl" ++ ++# Set DOITPROG to "echo" to test this script. + ++doit=${DOITPROG-} ++doit_exec=${doit:-exec} + +-# set DOITPROG to echo to test this script ++# Put in absolute file names if you don't have them in your path; ++# or use environment vars. + +-# Don't use :- since 4.3BSD and earlier shells don't like it. +-doit="${DOITPROG-}" ++chgrpprog=${CHGRPPROG-chgrp} ++chmodprog=${CHMODPROG-chmod} ++chownprog=${CHOWNPROG-chown} ++cmpprog=${CMPPROG-cmp} ++cpprog=${CPPROG-cp} ++mkdirprog=${MKDIRPROG-mkdir} ++mvprog=${MVPROG-mv} ++rmprog=${RMPROG-rm} ++stripprog=${STRIPPROG-strip} + ++posix_mkdir= + +-# put in absolute paths if you don't have them in your path; or use env. vars. ++# Desired mode of installed file. ++mode=0755 + +-mvprog="${MVPROG-mv}" +-cpprog="${CPPROG-cp}" +-chmodprog="${CHMODPROG-chmod}" +-chownprog="${CHOWNPROG-chown}" +-chgrpprog="${CHGRPPROG-chgrp}" +-stripprog="${STRIPPROG-strip}" +-rmprog="${RMPROG-rm}" +-mkdirprog="${MKDIRPROG-mkdir}" ++# Create dirs (including intermediate dirs) using mode 755. ++# This is like GNU 'install' as of coreutils 8.32 (2020). ++mkdir_umask=22 + +-transformbasename="" +-transform_arg="" +-instcmd="$mvprog" +-chmodcmd="$chmodprog 0755" +-chowncmd="" +-chgrpcmd="" +-stripcmd="" ++backupsuffix= ++chgrpcmd= ++chmodcmd=$chmodprog ++chowncmd= ++mvcmd=$mvprog + rmcmd="$rmprog -f" +-mvcmd="$mvprog" +-src="" +-dst="" +-dir_arg="" +- +-while [ x"$1" != x ]; do +- case $1 in +- -c) instcmd=$cpprog +- shift +- continue;; +- +- -d) dir_arg=true +- shift +- continue;; +- +- -m) chmodcmd="$chmodprog $2" +- shift +- shift +- continue;; +- +- -o) chowncmd="$chownprog $2" +- shift +- shift +- continue;; +- +- -g) chgrpcmd="$chgrpprog $2" +- shift +- shift +- continue;; +- +- -s) stripcmd=$stripprog +- shift +- continue;; +- +- -t=*) transformarg=`echo $1 | sed 's/-t=//'` +- shift +- continue;; +- +- -b=*) transformbasename=`echo $1 | sed 's/-b=//'` +- shift +- continue;; +- +- *) if [ x"$src" = x ] +- then +- src=$1 +- else +- # this colon is to work around a 386BSD /bin/sh bug +- : +- dst=$1 +- fi +- shift +- continue;; +- esac +-done ++stripcmd= + +-if [ x"$src" = x ] +-then +- echo "$0: no input file specified" >&2 +- exit 1 +-else +- : +-fi ++src= ++dst= ++dir_arg= ++dst_arg= + +-if [ x"$dir_arg" != x ]; then +- dst=$src +- src="" ++copy_on_change=false ++is_target_a_directory=possibly + +- if [ -d "$dst" ]; then +- instcmd=: +- chmodcmd="" +- else +- instcmd=$mkdirprog +- fi +-else ++usage="\ ++Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ++ or: $0 [OPTION]... SRCFILES... DIRECTORY ++ or: $0 [OPTION]... -t DIRECTORY SRCFILES... ++ or: $0 [OPTION]... -d DIRECTORIES... + +-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +-# might cause directories to be created, which would be especially bad +-# if $src (and thus $dsttmp) contains '*'. ++In the 1st form, copy SRCFILE to DSTFILE. ++In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. ++In the 4th, create DIRECTORIES. + +- if [ -f "$src" ] || [ -d "$src" ] +- then +- : +- else +- echo "$0: $src does not exist" >&2 +- exit 1 +- fi ++Options: ++ --help display this help and exit. ++ --version display version info and exit. + +- if [ x"$dst" = x ] +- then +- echo "$0: no destination specified" >&2 +- exit 1 +- else +- : +- fi ++ -c (ignored) ++ -C install only if different (preserve data modification time) ++ -d create directories instead of installing files. ++ -g GROUP $chgrpprog installed files to GROUP. ++ -m MODE $chmodprog installed files to MODE. ++ -o USER $chownprog installed files to USER. ++ -p pass -p to $cpprog. ++ -s $stripprog installed files. ++ -S SUFFIX attempt to back up existing files, with suffix SUFFIX. ++ -t DIRECTORY install into DIRECTORY. ++ -T report an error if DSTFILE is a directory. + +-# If destination is a directory, append the input filename; if your system +-# does not like double slashes in filenames, you may need to add some logic ++Environment variables override the default commands: ++ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG ++ RMPROG STRIPPROG + +- if [ -d "$dst" ] +- then +- dst=$dst/`basename "$src"` +- else +- : +- fi +-fi ++By default, rm is invoked with -f; when overridden with RMPROG, ++it's up to you to specify -f if you want it. + +-## this sed command emulates the dirname command +-dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` ++If -S is not specified, no backups are attempted. + +-# Make sure that the destination directory exists. +-# this part is taken from Noah Friedman's mkinstalldirs script ++Email bug reports to bug-automake@gnu.org. ++Automake home page: https://www.gnu.org/software/automake/ ++" + +-# Skip lots of stat calls in the usual case. +-if [ ! -d "$dstdir" ]; then +-defaultIFS=' +- ' +-IFS="${IFS-$defaultIFS}" ++while test $# -ne 0; do ++ case $1 in ++ -c) ;; + +-oIFS=$IFS +-# Some sh's can't handle IFS=/ for some reason. +-IFS='%' +-set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` +-IFS=$oIFS ++ -C) copy_on_change=true;; + +-pathcomp='' ++ -d) dir_arg=true;; + +-while [ $# -ne 0 ] ; do +- pathcomp=$pathcomp$1 +- shift ++ -g) chgrpcmd="$chgrpprog $2" ++ shift;; + +- if [ ! -d "$pathcomp" ] ; +- then +- $mkdirprog "$pathcomp" +- else +- : +- fi ++ --help) echo "$usage"; exit $?;; + +- pathcomp=$pathcomp/ +-done +-fi ++ -m) mode=$2 ++ case $mode in ++ *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) ++ echo "$0: invalid mode: $mode" >&2 ++ exit 1;; ++ esac ++ shift;; + +-if [ x"$dir_arg" != x ] +-then +- $doit $instcmd "$dst" && ++ -o) chowncmd="$chownprog $2" ++ shift;; + +- if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi && +- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi && +- if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi && +- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi +-else ++ -p) cpprog="$cpprog -p";; + +-# If we're going to rename the final executable, determine the name now. ++ -s) stripcmd=$stripprog;; + +- if [ x"$transformarg" = x ] +- then +- dstfile=`basename "$dst"` +- else +- dstfile=`basename "$dst" $transformbasename | +- sed $transformarg`$transformbasename +- fi ++ -S) backupsuffix="$2" ++ shift;; + +-# don't allow the sed command to completely eliminate the filename ++ -t) ++ is_target_a_directory=always ++ dst_arg=$2 ++ # Protect names problematic for 'test' and other utilities. ++ case $dst_arg in ++ -* | [=\(\)!]) dst_arg=./$dst_arg;; ++ esac ++ shift;; + +- if [ x"$dstfile" = x ] +- then +- dstfile=`basename "$dst"` +- else +- : +- fi ++ -T) is_target_a_directory=never;; + +-# Make a couple of temp file names in the proper directory. ++ --version) echo "$0 $scriptversion"; exit $?;; + +- dsttmp=$dstdir/#inst.$$# +- rmtmp=$dstdir/#rm.$$# ++ --) shift ++ break;; + +-# Trap to clean up temp files at exit. ++ -*) echo "$0: invalid option: $1" >&2 ++ exit 1;; + +- trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 +- trap '(exit $?); exit' 1 2 13 15 ++ *) break;; ++ esac ++ shift ++done + +-# Move or copy the file name to the temp name ++# We allow the use of options -d and -T together, by making -d ++# take the precedence; this is for compatibility with GNU install. + +- $doit $instcmd "$src" "$dsttmp" && ++if test -n "$dir_arg"; then ++ if test -n "$dst_arg"; then ++ echo "$0: target directory not allowed when installing a directory." >&2 ++ exit 1 ++ fi ++fi + +-# and set any options; do chmod last to preserve setuid bits ++if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then ++ # When -d is used, all remaining arguments are directories to create. ++ # When -t is used, the destination is already specified. ++ # Otherwise, the last argument is the destination. Remove it from $@. ++ for arg ++ do ++ if test -n "$dst_arg"; then ++ # $@ is not empty: it contains at least $arg. ++ set fnord "$@" "$dst_arg" ++ shift # fnord ++ fi ++ shift # arg ++ dst_arg=$arg ++ # Protect names problematic for 'test' and other utilities. ++ case $dst_arg in ++ -* | [=\(\)!]) dst_arg=./$dst_arg;; ++ esac ++ done ++fi + +-# If any of these fail, we abort the whole thing. If we want to +-# ignore errors from any of these, just make sure not to ignore +-# errors from the above "$doit $instcmd $src $dsttmp" command. ++if test $# -eq 0; then ++ if test -z "$dir_arg"; then ++ echo "$0: no input file specified." >&2 ++ exit 1 ++ fi ++ # It's OK to call 'install-sh -d' without argument. ++ # This can happen when creating conditional directories. ++ exit 0 ++fi + +- if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi && +- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi && +- if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi && +- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi && ++if test -z "$dir_arg"; then ++ if test $# -gt 1 || test "$is_target_a_directory" = always; then ++ if test ! -d "$dst_arg"; then ++ echo "$0: $dst_arg: Is not a directory." >&2 ++ exit 1 ++ fi ++ fi ++fi + +-# Now remove or move aside any old file at destination location. We try this +-# two ways since rm can't unlink itself on some systems and the destination +-# file might be busy for other reasons. In this case, the final cleanup +-# might fail but the new file should still install successfully. ++if test -z "$dir_arg"; then ++ do_exit='(exit $ret); exit $ret' ++ trap "ret=129; $do_exit" 1 ++ trap "ret=130; $do_exit" 2 ++ trap "ret=141; $do_exit" 13 ++ trap "ret=143; $do_exit" 15 ++ ++ # Set umask so as not to create temps with too-generous modes. ++ # However, 'strip' requires both read and write access to temps. ++ case $mode in ++ # Optimize common cases. ++ *644) cp_umask=133;; ++ *755) cp_umask=22;; ++ ++ *[0-7]) ++ if test -z "$stripcmd"; then ++ u_plus_rw= ++ else ++ u_plus_rw='% 200' ++ fi ++ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; ++ *) ++ if test -z "$stripcmd"; then ++ u_plus_rw= ++ else ++ u_plus_rw=,u+rw ++ fi ++ cp_umask=$mode$u_plus_rw;; ++ esac ++fi + +-{ +- if [ -f "$dstdir/$dstfile" ] ++for src ++do ++ # Protect names problematic for 'test' and other utilities. ++ case $src in ++ -* | [=\(\)!]) src=./$src;; ++ esac ++ ++ if test -n "$dir_arg"; then ++ dst=$src ++ dstdir=$dst ++ test -d "$dstdir" ++ dstdir_status=$? ++ # Don't chown directories that already exist. ++ if test $dstdir_status = 0; then ++ chowncmd="" ++ fi ++ else ++ ++ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ++ # might cause directories to be created, which would be especially bad ++ # if $src (and thus $dsttmp) contains '*'. ++ if test ! -f "$src" && test ! -d "$src"; then ++ echo "$0: $src does not exist." >&2 ++ exit 1 ++ fi ++ ++ if test -z "$dst_arg"; then ++ echo "$0: no destination specified." >&2 ++ exit 1 ++ fi ++ dst=$dst_arg ++ ++ # If destination is a directory, append the input filename. ++ if test -d "$dst"; then ++ if test "$is_target_a_directory" = never; then ++ echo "$0: $dst_arg: Is a directory" >&2 ++ exit 1 ++ fi ++ dstdir=$dst ++ dstbase=`basename "$src"` ++ case $dst in ++ */) dst=$dst$dstbase;; ++ *) dst=$dst/$dstbase;; ++ esac ++ dstdir_status=0 ++ else ++ dstdir=`dirname "$dst"` ++ test -d "$dstdir" ++ dstdir_status=$? ++ fi ++ fi ++ ++ case $dstdir in ++ */) dstdirslash=$dstdir;; ++ *) dstdirslash=$dstdir/;; ++ esac ++ ++ obsolete_mkdir_used=false ++ ++ if test $dstdir_status != 0; then ++ case $posix_mkdir in ++ '') ++ # With -d, create the new directory with the user-specified mode. ++ # Otherwise, rely on $mkdir_umask. ++ if test -n "$dir_arg"; then ++ mkdir_mode=-m$mode ++ else ++ mkdir_mode= ++ fi ++ ++ posix_mkdir=false ++ # The $RANDOM variable is not portable (e.g., dash). Use it ++ # here however when possible just to lower collision chance. ++ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ ++ ++ trap ' ++ ret=$? ++ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null ++ exit $ret ++ ' 0 ++ ++ # Because "mkdir -p" follows existing symlinks and we likely work ++ # directly in world-writeable /tmp, make sure that the '$tmpdir' ++ # directory is successfully created first before we actually test ++ # 'mkdir -p'. ++ if (umask $mkdir_umask && ++ $mkdirprog $mkdir_mode "$tmpdir" && ++ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then +- $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null || +- $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null || +- { +- echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 +- (exit 1); exit +- } ++ if test -z "$dir_arg" || { ++ # Check for POSIX incompatibilities with -m. ++ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or ++ # other-writable bit of parent directory when it shouldn't. ++ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ++ test_tmpdir="$tmpdir/a" ++ ls_ld_tmpdir=`ls -ld "$test_tmpdir"` ++ case $ls_ld_tmpdir in ++ d????-?r-*) different_mode=700;; ++ d????-?--*) different_mode=755;; ++ *) false;; ++ esac && ++ $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ++ ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` ++ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" ++ } ++ } ++ then posix_mkdir=: ++ fi ++ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else +- : ++ # Remove any dirs left behind by ancient mkdir implementations. ++ rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi +-} && +- +-# Now rename the file to the real destination. +- +- $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" +- +-fi && ++ trap '' 0;; ++ esac + +-# The final little trick to "correctly" pass the exit status to the exit trap. ++ if ++ $posix_mkdir && ( ++ umask $mkdir_umask && ++ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ++ ) ++ then : ++ else ++ ++ # mkdir does not conform to POSIX, ++ # or it failed possibly due to a race condition. Create the ++ # directory the slow way, step by step, checking for races as we go. ++ ++ case $dstdir in ++ /*) prefix='/';; ++ [-=\(\)!]*) prefix='./';; ++ *) prefix='';; ++ esac ++ ++ oIFS=$IFS ++ IFS=/ ++ set -f ++ set fnord $dstdir ++ shift ++ set +f ++ IFS=$oIFS ++ ++ prefixes= ++ ++ for d ++ do ++ test X"$d" = X && continue ++ ++ prefix=$prefix$d ++ if test -d "$prefix"; then ++ prefixes= ++ else ++ if $posix_mkdir; then ++ (umask $mkdir_umask && ++ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break ++ # Don't fail if two instances are running concurrently. ++ test -d "$prefix" || exit 1 ++ else ++ case $prefix in ++ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; ++ *) qprefix=$prefix;; ++ esac ++ prefixes="$prefixes '$qprefix'" ++ fi ++ fi ++ prefix=$prefix/ ++ done ++ ++ if test -n "$prefixes"; then ++ # Don't fail if two instances are running concurrently. ++ (umask $mkdir_umask && ++ eval "\$doit_exec \$mkdirprog $prefixes") || ++ test -d "$dstdir" || exit 1 ++ obsolete_mkdir_used=true ++ fi ++ fi ++ fi ++ ++ if test -n "$dir_arg"; then ++ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && ++ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && ++ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || ++ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 ++ else ++ ++ # Make a couple of temp file names in the proper directory. ++ dsttmp=${dstdirslash}_inst.$$_ ++ rmtmp=${dstdirslash}_rm.$$_ ++ ++ # Trap to clean up those temp files at exit. ++ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 ++ ++ # Copy the file name to the temp name. ++ (umask $cp_umask && ++ { test -z "$stripcmd" || { ++ # Create $dsttmp read-write so that cp doesn't create it read-only, ++ # which would cause strip to fail. ++ if test -z "$doit"; then ++ : >"$dsttmp" # No need to fork-exec 'touch'. ++ else ++ $doit touch "$dsttmp" ++ fi ++ } ++ } && ++ $doit_exec $cpprog "$src" "$dsttmp") && ++ ++ # and set any options; do chmod last to preserve setuid bits. ++ # ++ # If any of these fail, we abort the whole thing. If we want to ++ # ignore errors from any of these, just make sure not to ignore ++ # errors from the above "$doit $cpprog $src $dsttmp" command. ++ # ++ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && ++ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && ++ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && ++ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && ++ ++ # If -C, don't bother to copy if it wouldn't change the file. ++ if $copy_on_change && ++ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && ++ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && ++ set -f && ++ set X $old && old=:$2:$4:$5:$6 && ++ set X $new && new=:$2:$4:$5:$6 && ++ set +f && ++ test "$old" = "$new" && ++ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 ++ then ++ rm -f "$dsttmp" ++ else ++ # If $backupsuffix is set, and the file being installed ++ # already exists, attempt a backup. Don't worry if it fails, ++ # e.g., if mv doesn't support -f. ++ if test -n "$backupsuffix" && test -f "$dst"; then ++ $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null ++ fi ++ ++ # Rename the file to the real destination. ++ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || ++ ++ # The rename failed, perhaps because mv can't rename something else ++ # to itself, or perhaps because mv is so ancient that it does not ++ # support -f. ++ { ++ # Now remove or move aside any old file at destination location. ++ # We try this two ways since rm can't unlink itself on some ++ # systems and the destination file might be busy for other ++ # reasons. In this case, the final cleanup might fail but the new ++ # file should still install successfully. ++ { ++ test ! -f "$dst" || ++ $doit $rmcmd "$dst" 2>/dev/null || ++ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && ++ { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } ++ } || ++ { echo "$0: cannot unlink or rename $dst" >&2 ++ (exit 1); exit 1 ++ } ++ } && ++ ++ # Now rename the file to the real destination. ++ $doit $mvcmd "$dsttmp" "$dst" ++ } ++ fi || exit 1 ++ ++ trap '' 0 ++ fi ++done + +-{ +- (exit 0); exit +-} ++# Local variables: ++# eval: (add-hook 'before-save-hook 'time-stamp) ++# time-stamp-start: "scriptversion=" ++# time-stamp-format: "%:y-%02m-%02d.%02H" ++# time-stamp-time-zone: "UTC0" ++# time-stamp-end: "; # UTC" ++# End: +diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h +index 1e8ec70b..e33fd711 100644 +--- a/ncurses/curses.priv.h ++++ b/ncurses/curses.priv.h +@@ -35,7 +35,7 @@ + ****************************************************************************/ + + /* +- * $Id: curses.priv.h,v 1.651 2022/08/13 14:35:01 tom Exp $ ++ * $Id: curses.priv.h,v 1.652 2022/10/15 13:09:05 Mikhail.Korolev Exp $ + * + * curses.priv.h + * +@@ -674,7 +674,7 @@ extern NCURSES_EXPORT(int) _nc_sigprocmask(int, const sigset_t *, sigset_t *); + #define _nc_unlock_global(name) /* nothing */ + #endif /* USE_PTHREADS */ + +-#if USE_PTHREADS_EINTR || defined(EXP_WIN32_DRIVER) ++#if USE_PTHREADS_EINTR + extern NCURSES_EXPORT(void) _nc_set_read_thread(bool); + #else + #define _nc_set_read_thread(enable) /* nothing */ +diff --git a/ncurses/tinfo/alloc_entry.c b/ncurses/tinfo/alloc_entry.c +index 90febbbd..d5148ca6 100644 +--- a/ncurses/tinfo/alloc_entry.c ++++ b/ncurses/tinfo/alloc_entry.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: alloc_entry.c,v 1.76 2022/09/17 21:45:44 tom Exp $") ++MODULE_ID("$Id: alloc_entry.c,v 1.77 2022/10/15 19:37:33 tom Exp $") + + #define ABSENT_OFFSET -1 + #define CANCELLED_OFFSET -2 +@@ -251,8 +251,8 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + TERMTYPE2 *from = &(source->tterm); + #if NCURSES_XNAMES + TERMTYPE2 copy; +- size_t str_size = 0; +- char *str_table = NULL; ++ size_t str_size; ++ char *str_table; + #endif + unsigned i; + +@@ -263,7 +263,10 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + _nc_copy_termtype2(©, from); + from = © + _nc_align_termtype(to, from); +- str_size += strlen(to->term_names) + 1; ++ /* ++ * compute the maximum size of the string-table. ++ */ ++ str_size = strlen(to->term_names) + 1; + for_each_string(i, from) { + if (VALID_STRING(from->Strings[i])) + str_size += strlen(from->Strings[i]) + 1; +@@ -303,6 +306,46 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + to->str_table = str_table; + free(from->str_table); + } ++ /* ++ * Do the same for the extended-strings (i.e., lists of capabilities). ++ */ ++ str_size = 0; ++ for (i = 0; i < NUM_EXT_NAMES(from); ++i) { ++ if (VALID_STRING(from->ext_Names[i])) ++ str_size += strlen(from->ext_Names[i]) + 1; ++ } ++ for (i = 0; i < NUM_EXT_NAMES(to); ++i) { ++ if (VALID_STRING(to->ext_Names[i])) ++ str_size += strlen(to->ext_Names[i]) + 1; ++ } ++ /* allocate a string-table large enough for both source/target, and ++ * copy all of the strings into that table. In the merge, we will ++ * select from the original source/target lists to construct a new ++ * target list. ++ */ ++ if (str_size != 0) { ++ char *str_copied; ++ if ((str_table = malloc(str_size)) == NULL) ++ _nc_err_abort(MSG_NO_MEMORY); ++ str_copied = str_table; ++ for (i = 0; i < NUM_EXT_NAMES(from); ++i) { ++ if (VALID_STRING(from->ext_Names[i])) { ++ strcpy(str_copied, from->ext_Names[i]); ++ from->ext_Names[i] = str_copied; ++ str_copied += strlen(str_copied) + 1; ++ } ++ } ++ for (i = 0; i < NUM_EXT_NAMES(to); ++i) { ++ if (VALID_STRING(to->ext_Names[i])) { ++ strcpy(str_copied, to->ext_Names[i]); ++ to->ext_Names[i] = str_copied; ++ str_copied += strlen(str_copied) + 1; ++ } ++ } ++ free(to->ext_str_table); ++ to->ext_str_table = str_table; ++ free(from->ext_str_table); ++ } + #endif + for_each_boolean(i, from) { + if (to->Booleans[i] != (NCURSES_SBOOL) CANCELLED_BOOLEAN) { +@@ -342,10 +385,7 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + } + } + #if NCURSES_XNAMES +- /* Discard the data allocated in _nc_copy_termtype2, but do not use +- * _nc_free_termtype2 because that frees the string-table (which is +- * not allocated by _nc_copy_termtype2). +- */ ++ /* cleanup */ + free(copy.Booleans); + free(copy.Numbers); + free(copy.Strings); +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 1c71eddc..c86cf59d 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.127 2022/09/24 15:24:15 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.128 2022/10/15 19:31:00 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -571,11 +571,10 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + * (reverse) order. + */ + for (; qp->nuses; qp->nuses--) { +- validate_merge(&merged, +- qp->uses[qp->nuses - 1].link); +- _nc_merge_entry(&merged, +- qp->uses[qp->nuses - 1].link); +- free(qp->uses[qp->nuses - 1].name); ++ int n = qp->nuses - 1; ++ validate_merge(&merged, qp->uses[n].link); ++ _nc_merge_entry(&merged, qp->uses[n].link); ++ free(qp->uses[n].name); + } + + /* +diff --git a/ncurses/tty/lib_tstp.c b/ncurses/tty/lib_tstp.c +index ec086ca7..f228f72b 100644 +--- a/ncurses/tty/lib_tstp.c ++++ b/ncurses/tty/lib_tstp.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: lib_tstp.c,v 1.52 2022/08/13 14:36:43 tom Exp $") ++MODULE_ID("$Id: lib_tstp.c,v 1.53 2022/10/15 13:09:05 Mikhail.Korolev Exp $") + + #if defined(SIGTSTP) && (HAVE_SIGACTION || HAVE_SIGVEC) + #define USE_SIGTSTP 1 +@@ -283,8 +283,6 @@ handle_SIGINT(int sig) + _exit(EXIT_FAILURE); + } + +-#if USE_SIGWINCH +- + # ifndef _nc_set_read_thread + NCURSES_EXPORT(void) + _nc_set_read_thread(bool enable) +@@ -300,6 +298,8 @@ _nc_set_read_thread(bool enable) + } + # endif + ++#if USE_SIGWINCH ++ + static void + handle_SIGWINCH(int sig GCC_UNUSED) + { +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 75a6e552..38bf5616 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 75a6e552..38bf5616 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 31b14a14..f0a4cea0 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 02acf867..5e966c7b 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.545 2022/10/08 10:25:44 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.546 2022/10/15 11:57:10 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "1008" ++!define VERSION_MMDD "1015" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 7645a57c..b5e6e7ce 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 20f06a1a..4ee4da1a 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index af9e0dfa..a9b645ff 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/aclocal.m4 b/test/aclocal.m4 +index fac04b27..88df01a2 100644 +--- a/test/aclocal.m4 ++++ b/test/aclocal.m4 +@@ -27,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written * + dnl authorization. * + dnl*************************************************************************** + dnl +-dnl $Id: aclocal.m4,v 1.207 2022/09/10 19:31:11 tom Exp $ ++dnl $Id: aclocal.m4,v 1.208 2022/10/02 23:55:56 tom Exp $ + dnl + dnl Author: Thomas E. Dickey + dnl +@@ -4347,7 +4347,7 @@ esac + + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 60 updated: 2022/09/10 15:16:16 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -4398,7 +4398,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/test/configure b/test/configure +index 6cc12021..e9ac6030 100755 +--- a/test/configure ++++ b/test/configure +@@ -4044,7 +4044,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-- +2.27.0 + diff --git a/ncurses.spec b/ncurses.spec index 46f662c..867956d 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,6 +1,6 @@ Name: ncurses Version: 6.3 -Release: 5 +Release: 6 Summary: Terminal control library License: MIT URL: https://invisible-island.net/ncurses/ncurses.html @@ -11,6 +11,11 @@ Patch9: ncurses-libs.patch Patch11: ncurses-urxvt.patch Patch12: ncurses-kbs.patch Patch13: backport-CVE-2022-29458.patch +Patch14: ncurses-6.3-patch-20220423.patch +Patch15: ncurses-6.3-patch-20220507.patch +Patch16: ncurses-6.3-patch-20220521.patch +Patch17: ncurses-6.3-patch-20220924.patch +Patch18: ncurses-6.3-patch-20221015.patch BuildRequires: gcc gcc-c++ gpm-devel pkgconfig -- Gitee From 44c3606d08980a35e356eb78acf30c6687a4176c Mon Sep 17 00:00:00 2001 From: Eibz-Chan Date: Fri, 18 Nov 2022 11:31:36 +0800 Subject: [PATCH 2/3] Intergrate the memory leakage patch from the upstream community. --- ncurses-6.3-patch-20220423.patch | 328 + ncurses-6.3-patch-20220507.patch | 842 ++ ncurses-6.3-patch-20220521.patch | 959 ++ ncurses-6.3-patch-20220924.patch | 22144 +++++++++++++++++++++++++++++ ncurses-6.3-patch-20221015.patch | 1253 ++ ncurses.spec | 13 +- 6 files changed, 25538 insertions(+), 1 deletion(-) create mode 100644 ncurses-6.3-patch-20220423.patch create mode 100644 ncurses-6.3-patch-20220507.patch create mode 100644 ncurses-6.3-patch-20220521.patch create mode 100644 ncurses-6.3-patch-20220924.patch create mode 100644 ncurses-6.3-patch-20221015.patch diff --git a/ncurses-6.3-patch-20220423.patch b/ncurses-6.3-patch-20220423.patch new file mode 100644 index 0000000..d31b389 --- /dev/null +++ b/ncurses-6.3-patch-20220423.patch @@ -0,0 +1,328 @@ +From 20db1fb41ec91cd8a1f528e770362092c5403378 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 24 Apr 2022 00:17:21 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220423 + ++ in-progress work on invalid_merge(), disable it (cf: 20220402). ++ fix memory leak in _nc_tic_dir() when called from _nc_set_writedir(). ++ fix memory leak in tic when "-c" option is used. +--- + NEWS | 7 ++++++- + VERSION | 2 +- + dist.mk | 4 ++-- + ncurses/tinfo/comp_parse.c | 12 ++++++++++-- + ncurses/tinfo/db_iterator.c | 17 +++++++++++++---- + ncurses/tinfo/write_entry.c | 4 ++-- + package/debian-mingw/changelog | 4 ++-- + package/debian-mingw64/changelog | 4 ++-- + package/debian/changelog | 4 ++-- + package/mingw-ncurses.nsi | 4 ++-- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + progs/tic.c | 6 +++--- + 14 files changed, 48 insertions(+), 26 deletions(-) + +diff --git a/NEWS b/NEWS +index 4e47245a..0c1a85a3 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3796 2022/04/16 23:31:41 tom Exp $ ++-- $Id: NEWS,v 1.3798 2022/04/23 23:26:44 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,11 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220423 ++ + in-progress work on invalid_merge(), disable it (cf: 20220402). ++ + fix memory leak in _nc_tic_dir() when called from _nc_set_writedir(). ++ + fix memory leak in tic when "-c" option is used. ++ + 20220416 + + add a limit-check to guard against corrupt terminfo data + (report/testcase by NCNIPC of China). +diff --git a/VERSION b/VERSION +index 687f5313..d25d1348 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220416 ++5:0:10 6.3 20220423 +diff --git a/dist.mk b/dist.mk +index bc97ee6a..28d52954 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1475 2022/04/16 12:59:30 tom Exp $ ++# $Id: dist.mk,v 1.1476 2022/04/23 12:44:18 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220416 ++NCURSES_PATCH = 20220423 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 7d02a90c..4951377f 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.114 2022/04/02 22:13:54 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.116 2022/04/23 23:23:38 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -266,7 +266,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + _nc_suppress_warnings = oldsuppress; + } + +-#if NCURSES_XNAMES ++#if 0 && NCURSES_XNAMES + static unsigned + find_capname(TERMTYPE2 *p, const char *name) + { +@@ -631,6 +631,14 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + + _nc_check_termtype2(&qp->tterm, literal); + ++ /* ++ * Checking calls tparm, which can allocate memory. Fix leaks. ++ */ ++#define TPS(name) fake_tm.tparm_state.name ++ FreeAndNull(TPS(out_buff)); ++ FreeAndNull(TPS(fmt_buff)); ++#undef TPS ++ + _nc_set_screen(save_SP); + set_curterm(save_tm); + } else { +diff --git a/ncurses/tinfo/db_iterator.c b/ncurses/tinfo/db_iterator.c +index f0726682..e69e0f34 100644 +--- a/ncurses/tinfo/db_iterator.c ++++ b/ncurses/tinfo/db_iterator.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2018,2020 Thomas E. Dickey * ++ * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2006-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -44,7 +44,7 @@ + #include + #endif + +-MODULE_ID("$Id: db_iterator.c,v 1.48 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: db_iterator.c,v 1.49 2022/04/23 20:03:15 tom Exp $") + + #define HaveTicDirectory _nc_globals.have_tic_directory + #define KeepTicDirectory _nc_globals.keep_tic_directory +@@ -202,6 +202,13 @@ free_cache(void) + FreeAndNull(my_list); + } + ++static void ++update_tic_dir(const char *update) ++{ ++ free((char *) TicDirectory); ++ TicDirectory = update; ++} ++ + /* + * Record the "official" location of the terminfo directory, according to + * the place where we're writing to, or the normal default, if not. +@@ -211,8 +218,9 @@ _nc_tic_dir(const char *path) + { + T(("_nc_tic_dir %s", NonNull(path))); + if (!KeepTicDirectory) { +- if (path != 0) { +- TicDirectory = path; ++ if (path != NULL) { ++ if (path != TicDirectory) ++ update_tic_dir(strdup(path)); + HaveTicDirectory = TRUE; + } else if (HaveTicDirectory == 0) { + if (use_terminfo_vars()) { +@@ -444,5 +452,6 @@ _nc_db_iterator_leaks(void) + FreeIfNeeded(my_vars[which].value); + my_vars[which].value = 0; + } ++ update_tic_dir(NULL); + } + #endif +diff --git a/ncurses/tinfo/write_entry.c b/ncurses/tinfo/write_entry.c +index 05fea946..e1baf9e2 100644 +--- a/ncurses/tinfo/write_entry.c ++++ b/ncurses/tinfo/write_entry.c +@@ -51,7 +51,7 @@ + #define TRACE_NUM(n) /* nothing */ + #endif + +-MODULE_ID("$Id: write_entry.c,v 1.119 2022/02/26 20:59:58 tom Exp $") ++MODULE_ID("$Id: write_entry.c,v 1.120 2022/04/23 19:59:10 tom Exp $") + + static int total_written; + static int total_parts; +@@ -248,7 +248,7 @@ _nc_set_writedir(const char *dir) + || getcwd(actual, sizeof(actual)) == 0) + _nc_err_abort("%s: not a directory", destination); + #endif +- _nc_keep_tic_dir(strdup(actual)); ++ _nc_keep_tic_dir(actual); + } + + /* +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 03bde704..2a2f2312 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 03bde704..2a2f2312 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 3ac34a1e..8847c82c 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 6dd8ba23..b92882c3 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.515 2022/04/16 12:59:30 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.516 2022/04/23 12:44:18 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0416" ++!define VERSION_MMDD "0423" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 1028ce58..9537593d 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 43c39805..e9e42a11 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index 8a57c8c8..d5529f16 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/progs/tic.c b/progs/tic.c +index c8736c30..152010d2 100644 +--- a/progs/tic.c ++++ b/progs/tic.c +@@ -49,7 +49,7 @@ + #include + #include + +-MODULE_ID("$Id: tic.c,v 1.310 2022/04/09 22:17:45 tom Exp $") ++MODULE_ID("$Id: tic.c,v 1.311 2022/04/23 19:47:57 tom Exp $") + + #define STDIN_NAME "" + +@@ -644,7 +644,7 @@ show_databases(const char *outdir) + const char *tried = 0; + + if (outdir == NULL) { +- outdir = _nc_tic_dir(0); ++ outdir = _nc_tic_dir(NULL); + } + if ((result = valid_db_path(outdir)) != 0) { + printf("%s\n", result); +@@ -1081,7 +1081,7 @@ main(int argc, char *argv[]) + if (total != 0) + fprintf(log_fp, "%d entries written to %s\n", + total, +- _nc_tic_dir((char *) 0)); ++ _nc_tic_dir(NULL)); + else + fprintf(log_fp, "No entries written\n"); + } +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220507.patch b/ncurses-6.3-patch-20220507.patch new file mode 100644 index 0000000..bb06617 --- /dev/null +++ b/ncurses-6.3-patch-20220507.patch @@ -0,0 +1,842 @@ +From f8401f5e8669eadd551fde12da7de661c18fa4f2 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 8 May 2022 00:52:05 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220507 + ++ add test/test_mouse.c (patch by Leonid S Usov). ++ add a few debug-traces for tic, fix a couple of memory-leaks. +--- + MANIFEST | 1 + + NEWS | 6 +- + VERSION | 2 +- + dist.mk | 4 +- + ncurses/tinfo/alloc_entry.c | 11 +- + ncurses/tinfo/alloc_ttype.c | 25 +++- + ncurses/tinfo/comp_parse.c | 14 +- + ncurses/tinfo/comp_scan.c | 4 +- + ncurses/tinfo/entries.c | 8 +- + ncurses/tinfo/parse_entry.c | 8 +- + ncurses/tinfo/read_entry.c | 4 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/modules | 3 +- + test/programs | 3 +- + test/test_mouse.c | 244 +++++++++++++++++++++++++++++++ + 21 files changed, 316 insertions(+), 43 deletions(-) + create mode 100644 test/test_mouse.c + +diff --git a/MANIFEST b/MANIFEST +index ff14eb8e..8c3a1dc1 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -1220,6 +1220,7 @@ + ./test/test_getstr.c + ./test/test_instr.c + ./test/test_inwstr.c ++./test/test_mouse.c + ./test/test_opaque.c + ./test/test_setupterm.c + ./test/test_sgr.c +diff --git a/NEWS b/NEWS +index aad5f0d4..bc881eb7 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3803 2022/05/01 15:16:36 tom Exp $ ++-- $Id: NEWS,v 1.3805 2022/05/07 22:42:19 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,10 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220507 ++ + add test/test_mouse.c (patch by Leonid S Usov). ++ + add a few debug-traces for tic, fix a couple of memory-leaks. ++ + 20220501 + + build-fix for debug-traces (report/patch by Chris Clayton). + +diff --git a/VERSION b/VERSION +index 7996e30d..59123a31 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220501 ++5:0:10 6.3 20220507 +diff --git a/dist.mk b/dist.mk +index 85c204db..5c0e01ad 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1478 2022/05/01 10:28:56 tom Exp $ ++# $Id: dist.mk,v 1.1479 2022/05/07 11:09:45 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220501 ++NCURSES_PATCH = 20220507 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/tinfo/alloc_entry.c b/ncurses/tinfo/alloc_entry.c +index 48df0fd6..10c4fc75 100644 +--- a/ncurses/tinfo/alloc_entry.c ++++ b/ncurses/tinfo/alloc_entry.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: alloc_entry.c,v 1.71 2022/04/30 18:36:01 tom Exp $") ++MODULE_ID("$Id: alloc_entry.c,v 1.73 2022/05/08 00:11:44 tom Exp $") + + #define ABSENT_OFFSET -1 + #define CANCELLED_OFFSET -2 +@@ -60,7 +60,7 @@ NCURSES_EXPORT(void) + _nc_init_entry(ENTRY * const tp) + /* initialize a terminal type data block */ + { +- DEBUG(2, (T_CALLED("_nc_init_entry(tp=%p)"), tp)); ++ DEBUG(2, (T_CALLED("_nc_init_entry(tp=%p)"), (void *) tp)); + + if (tp == NULL) { + #if NO_LEAKS +@@ -88,7 +88,7 @@ _nc_copy_entry(ENTRY * oldp) + { + ENTRY *newp; + +- DEBUG(2, (T_CALLED("_nc_copy_entry(oldp=%p)"), oldp)); ++ DEBUG(2, (T_CALLED("_nc_copy_entry(oldp=%p)"), (void *) oldp)); + + newp = typeCalloc(ENTRY, 1); + if (newp != NULL) { +@@ -96,7 +96,7 @@ _nc_copy_entry(ENTRY * oldp) + _nc_copy_termtype2(&(newp->tterm), &(oldp->tterm)); + } + +- DEBUG(2, (T_RETURN("%p"), newp)); ++ DEBUG(2, (T_RETURN("%p"), (void *) newp)); + return (newp); + } + +@@ -144,6 +144,8 @@ _nc_wrap_entry(ENTRY * const ep, bool copy_strings) + unsigned nuses; + TERMTYPE2 *tp; + ++ DEBUG(2, (T_CALLED("_nc_wrap_entry(ep=%p, copy_strings=%d)"), (void *) ++ ep, copy_strings)); + if (ep == NULL || stringbuf == NULL) + _nc_err_abort("_nc_wrap_entry called without initialization"); + +@@ -236,6 +238,7 @@ _nc_wrap_entry(ENTRY * const ep, bool copy_strings) + else + ep->uses[i].name = (tp->str_table + useoffsets[i]); + } ++ DEBUG(2, (T_RETURN(""))); + } + + NCURSES_EXPORT(void) +diff --git a/ncurses/tinfo/alloc_ttype.c b/ncurses/tinfo/alloc_ttype.c +index eef8170c..9f866323 100644 +--- a/ncurses/tinfo/alloc_ttype.c ++++ b/ncurses/tinfo/alloc_ttype.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: alloc_ttype.c,v 1.37 2022/04/30 17:00:05 tom Exp $") ++MODULE_ID("$Id: alloc_ttype.c,v 1.40 2022/05/08 00:11:44 tom Exp $") + + #if NCURSES_XNAMES + /* +@@ -429,7 +429,7 @@ _nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from) + na = to ? ((int) NUM_EXT_NAMES(to)) : 0; + nb = from ? ((int) NUM_EXT_NAMES(from)) : 0; + +- DEBUG(2, (T_CALLED("align_termtype to(%d:%s), from(%d:%s)"), ++ DEBUG(2, (T_CALLED("_nc_align_termtype to(%d:%s), from(%d:%s)"), + na, to ? NonNull(to->term_names) : "?", + nb, from ? NonNull(from->term_names) : "?")); + +@@ -450,8 +450,10 @@ _nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from) + break; + } + } +- if (same) ++ if (same) { ++ DEBUG(2, (T_RETURN(""))); + return; ++ } + } + /* + * This is where we pay for having a simple extension representation. +@@ -533,7 +535,8 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + int *newptr = 0; + #endif + +- DEBUG(2, (T_CALLED("copy_termtype(dst=%p, src=%p, mode=%d)"), dst, src, mode)); ++ DEBUG(2, (T_CALLED("copy_termtype(dst=%p, src=%p, mode=%d)"), (void *) ++ dst, (const void *) src, mode)); + *dst = *src; /* ...to copy the sizes and string-tables */ + + TYPE_MALLOC(NCURSES_SBOOL, NUM_BOOLEANS(dst), dst->Booleans); +@@ -549,6 +552,11 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + new_table = NULL; + for (pass = 0; pass < 2; ++pass) { + size_t str_size = 0; ++ if (pass) { ++ dst->term_names = new_table + str_size; ++ strcpy(dst->term_names + str_size, src->term_names); ++ } ++ str_size += strlen(src->term_names) + 1; + for (i = 0; i < NUM_STRINGS(dst); ++i) { + if (VALID_STRING(src->Strings[i])) { + if (pass) { +@@ -646,7 +654,8 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + NCURSES_EXPORT(void) + _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) + { +- DEBUG(2, (T_CALLED("_nc_copy_termtype(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_copy_termtype(dst=%p, src=%p)"), (void *) dst, ++ (const void *) src)); + copy_termtype((TERMTYPE2 *) dst, (const TERMTYPE2 *) src, 0); + DEBUG(2, (T_RETURN(""))); + } +@@ -655,7 +664,8 @@ _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) + NCURSES_EXPORT(void) + _nc_copy_termtype2(TERMTYPE2 *dst, const TERMTYPE2 *src) + { +- DEBUG(2, (T_CALLED("_nc_copy_termtype2(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_copy_termtype2(dst=%p, src=%p)"), (void *) dst, ++ (const void *) src)); + copy_termtype(dst, src, srcINT | dstINT); + DEBUG(2, (T_RETURN(""))); + } +@@ -667,7 +677,8 @@ _nc_copy_termtype2(TERMTYPE2 *dst, const TERMTYPE2 *src) + NCURSES_EXPORT(void) + _nc_export_termtype2(TERMTYPE *dst, const TERMTYPE2 *src) + { +- DEBUG(2, (T_CALLED("_nc_export_termtype2(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_export_termtype2(dst=%p, src=%p)"), (void *) ++ dst, (const void *) src)); + copy_termtype((TERMTYPE2 *) dst, src, srcINT); + DEBUG(2, (T_RETURN(""))); + } +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 82672fa8..52ebac49 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.117 2022/04/30 15:57:27 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.122 2022/05/08 00:11:44 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -61,7 +61,7 @@ enqueue(ENTRY * ep) + { + ENTRY *newp; + +- DEBUG(1, (T_CALLED("enqueue(ep=%p)"), ep)); ++ DEBUG(1, (T_CALLED("enqueue(ep=%p)"), (void *) ep)); + + newp = _nc_copy_entry(ep); + if (newp == 0) +@@ -73,6 +73,7 @@ enqueue(ENTRY * ep) + newp->next = 0; + if (newp->last) + newp->last->next = newp; ++ DEBUG(1, (T_RETURN(""))); + } + + #define NAMEBUFFER_SIZE (MAX_NAME_SIZE + 2) +@@ -222,7 +223,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + + DEBUG(1, + (T_CALLED("_nc_read_entry_source(file=%p, buf=%p, literal=%d, silent=%d, hook=%p)"), +- fp, buf, literal, silent, hook)); ++ (void *) fp, buf, literal, silent, (void *) hook)); + + if (silent) + _nc_suppress_warnings = TRUE; /* shut the lexer up, too */ +@@ -253,6 +254,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + FreeIfNeeded(thisentry.tterm.Strings); + #if NCURSES_XNAMES + FreeIfNeeded(thisentry.tterm.ext_Names); ++ FreeIfNeeded(thisentry.tterm.ext_str_table); + #endif + } + } +@@ -583,8 +585,10 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + FreeIfNeeded(qp->tterm.Booleans); + FreeIfNeeded(qp->tterm.Numbers); + FreeIfNeeded(qp->tterm.Strings); ++ FreeIfNeeded(qp->tterm.str_table); + #if NCURSES_XNAMES + FreeIfNeeded(qp->tterm.ext_Names); ++ FreeIfNeeded(qp->tterm.ext_str_table); + #endif + qp->tterm = merged.tterm; + _nc_wrap_entry(qp, TRUE); +@@ -745,7 +749,7 @@ sanity_check2(TERMTYPE2 *tp, bool literal) + NCURSES_EXPORT(void) + _nc_leaks_tic(void) + { +- T((T_CALLED("_nc_free_tic()"))); ++ T((T_CALLED("_nc_leaks_tic()"))); + _nc_globals.leak_checking = TRUE; + _nc_alloc_entry_leaks(); + _nc_captoinfo_leaks(); +@@ -755,11 +759,13 @@ _nc_leaks_tic(void) + _nc_codes_leaks(); + #endif + _nc_tic_expand(0, FALSE, 0); ++ T((T_RETURN(""))); + } + + NCURSES_EXPORT(void) + _nc_free_tic(int code) + { ++ T((T_CALLED("_nc_free_tic(%d)"), code)); + _nc_leaks_tic(); + exit_terminfo(code); + } +diff --git a/ncurses/tinfo/comp_scan.c b/ncurses/tinfo/comp_scan.c +index 7f9075c7..1d9a9985 100644 +--- a/ncurses/tinfo/comp_scan.c ++++ b/ncurses/tinfo/comp_scan.c +@@ -51,7 +51,7 @@ + #include + #include + +-MODULE_ID("$Id: comp_scan.c,v 1.115 2022/04/30 16:21:01 tom Exp $") ++MODULE_ID("$Id: comp_scan.c,v 1.116 2022/05/08 00:11:44 tom Exp $") + + /* + * Maximum length of string capability we'll accept before raising an error. +@@ -113,7 +113,7 @@ NCURSES_EXPORT(void) + _nc_reset_input(FILE *fp, char *buf) + { + TR(TRACE_DATABASE, +- (T_CALLED("_nc_reset_input(fp=%p, buf=%p)"), fp, buf)); ++ (T_CALLED("_nc_reset_input(fp=%p, buf=%p)"), (void *) fp, buf)); + + pushtype = NO_PUSHBACK; + if (pushname != 0) +diff --git a/ncurses/tinfo/entries.c b/ncurses/tinfo/entries.c +index c928f7ec..5f49ece9 100644 +--- a/ncurses/tinfo/entries.c ++++ b/ncurses/tinfo/entries.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2006-2012,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -38,7 +38,7 @@ + + #include + +-MODULE_ID("$Id: entries.c,v 1.32 2021/11/20 23:40:57 tom Exp $") ++MODULE_ID("$Id: entries.c,v 1.33 2022/05/07 17:08:11 tom Exp $") + + /**************************************************************************** + * +@@ -119,7 +119,7 @@ _nc_leaks_tinfo(void) + char *s; + #endif + +- T((T_CALLED("_nc_free_tinfo()"))); ++ T((T_CALLED("_nc_leaks_tinfo()"))); + #if NO_LEAKS + _nc_globals.leak_checking = TRUE; + _nc_free_tparm(cur_term); +@@ -161,6 +161,7 @@ _nc_leaks_tinfo(void) + NCURSES_EXPORT(void) + _nc_free_tinfo(int code) + { ++ T((T_CALLED("_nc_free_tinfo(%d)"), code)); + _nc_leaks_tinfo(); + exit(code); + } +@@ -169,6 +170,7 @@ _nc_free_tinfo(int code) + NCURSES_EXPORT(void) + exit_terminfo(int code) + { ++ T((T_CALLED("exit_terminfo(%d)"), code)); + #if NO_LEAKS + _nc_leaks_tinfo(); + #endif +diff --git a/ncurses/tinfo/parse_entry.c b/ncurses/tinfo/parse_entry.c +index e39adade..14bcb67e 100644 +--- a/ncurses/tinfo/parse_entry.c ++++ b/ncurses/tinfo/parse_entry.c +@@ -48,7 +48,7 @@ + #include + #include + +-MODULE_ID("$Id: parse_entry.c,v 1.106 2022/04/30 20:50:06 tom Exp $") ++MODULE_ID("$Id: parse_entry.c,v 1.107 2022/05/08 00:11:44 tom Exp $") + + #ifdef LINT + static short const parametrized[] = +@@ -287,7 +287,7 @@ _nc_parse_entry(ENTRY * entryp, int literal, bool silent) + + TR(TRACE_DATABASE, + (T_CALLED("_nc_parse_entry(entry=%p, literal=%d, silent=%d)"), +- entryp, literal, silent)); ++ (void *) entryp, literal, silent)); + + token_type = _nc_get_token(silent); + +@@ -766,7 +766,7 @@ postprocess_termcap(TERMTYPE2 *tp, bool has_base) + + TR(TRACE_DATABASE, + (T_CALLED("postprocess_termcap(tp=%p, has_base=%d)"), +- tp, has_base)); ++ (void *) tp, has_base)); + + /* + * TERMCAP DEFAULTS AND OBSOLETE-CAPABILITY TRANSLATIONS +@@ -1062,7 +1062,7 @@ postprocess_terminfo(TERMTYPE2 *tp) + { + TR(TRACE_DATABASE, + (T_CALLED("postprocess_terminfo(tp=%p)"), +- tp)); ++ (void *) tp)); + + /* + * TERMINFO-TO-TERMINFO MAPPINGS FOR SOURCE TRANSLATION +diff --git a/ncurses/tinfo/read_entry.c b/ncurses/tinfo/read_entry.c +index d61e577b..2b1875ed 100644 +--- a/ncurses/tinfo/read_entry.c ++++ b/ncurses/tinfo/read_entry.c +@@ -42,7 +42,7 @@ + + #include + +-MODULE_ID("$Id: read_entry.c,v 1.163 2022/04/30 18:35:46 tom Exp $") ++MODULE_ID("$Id: read_entry.c,v 1.164 2022/05/08 00:11:44 tom Exp $") + + #define MyNumber(n) (short) LOW_MSB(n) + +@@ -214,7 +214,7 @@ _nc_init_termtype(TERMTYPE2 *const tp) + { + unsigned i; + +- DEBUG(2, (T_CALLED("_nc_init_termtype(tp=%p)"), tp)); ++ DEBUG(2, (T_CALLED("_nc_init_termtype(tp=%p)"), (void *) tp)); + + #if NCURSES_XNAMES + tp->num_Booleans = BOOLCOUNT; +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index ad22e9c4..4a68d709 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index ad22e9c4..4a68d709 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index b023fe12..1c7bc2e6 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 2fd68b92..19d5c83e 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.518 2022/05/01 10:28:56 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.519 2022/05/07 11:09:45 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0501" ++!define VERSION_MMDD "0507" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 51cb8e61..64364f9a 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 66263223..ad46e5ed 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index e7d42057..a9be86f2 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/modules b/test/modules +index 8ade4d7a..6c5125f7 100644 +--- a/test/modules ++++ b/test/modules +@@ -1,4 +1,4 @@ +-# $Id: modules,v 1.76 2022/04/09 21:27:31 tom Exp $ ++# $Id: modules,v 1.77 2022/05/07 22:39:21 tom Exp $ + ############################################################################## + # Copyright 2018-2021,2022 Thomas E. Dickey # + # Copyright 1998-2016,2017 Free Software Foundation, Inc. # +@@ -105,6 +105,7 @@ test_get_wstr progs $(srcdir) $(HEADER_DEPS) + test_getstr progs $(srcdir) $(HEADER_DEPS) + test_instr progs $(srcdir) $(HEADER_DEPS) + test_inwstr progs $(srcdir) $(HEADER_DEPS) ++test_mouse progs $(srcdir) $(HEADER_DEPS) + test_opaque progs $(srcdir) $(HEADER_DEPS) + test_setupterm progs $(srcdir) $(HEADER_DEPS) + test_sgr progs $(srcdir) $(HEADER_DEPS) +diff --git a/test/programs b/test/programs +index 10c879bb..306a1b07 100644 +--- a/test/programs ++++ b/test/programs +@@ -1,4 +1,4 @@ +-# $Id: programs,v 1.52 2022/04/09 21:27:24 tom Exp $ ++# $Id: programs,v 1.53 2022/05/07 22:39:49 tom Exp $ + ############################################################################## + # Copyright 2018-2021,2022 Thomas E. Dickey # + # Copyright 2006-2016,2017 Free Software Foundation, Inc. # +@@ -100,6 +100,7 @@ test_get_wstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_get_wstr popup_msg + test_getstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_getstr popup_msg + test_instr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_instr + test_inwstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_inwstr ++test_mouse $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_mouse + test_opaque $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_opaque + test_setupterm $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_setupterm + test_sgr $(LDFLAGS_TINFO) $(LOCAL_LIBS) test_sgr +diff --git a/test/test_mouse.c b/test/test_mouse.c +new file mode 100644 +index 00000000..f96d658c +--- /dev/null ++++ b/test/test_mouse.c +@@ -0,0 +1,244 @@ ++/**************************************************************************** ++ * Copyright 2022 Leonid S. Usov * ++ * Copyright 2022 Thomas E. Dickey * ++ * * ++ * Permission is hereby granted, free of charge, to any person obtaining a * ++ * copy of this software and associated documentation files (the * ++ * "Software"), to deal in the Software without restriction, including * ++ * without limitation the rights to use, copy, modify, merge, publish, * ++ * distribute, distribute with modifications, sublicense, and/or sell * ++ * copies of the Software, and to permit persons to whom the Software is * ++ * furnished to do so, subject to the following conditions: * ++ * * ++ * The above copyright notice and this permission notice shall be included * ++ * in all copies or substantial portions of the Software. * ++ * * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * ++ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * ++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * ++ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * ++ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * ++ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * ++ * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ++ ****************************************************************************/ ++/* ++ * $Id: test_mouse.c,v 1.8 2022/05/08 00:36:07 tom Exp $ ++ * ++ * Author: Leonid S Usov ++ * ++ * Observe mouse events in the raw terminal or parsed ncurses modes ++ */ ++ ++#include ++ ++#if defined(NCURSES_MOUSE_VERSION) && !defined(_NC_WINDOWS) ++ ++static int logoffset = 0; ++ ++static int ++raw_loop(void) ++{ ++ struct termios tty; ++ struct termios old; ++ char *xtermcap; ++ ++ tcgetattr(0, &old); ++ cfmakeraw(&tty); ++ ++ setupterm(NULL, 0, 0); ++ xtermcap = tigetstr("XM"); ++ if (xtermcap == 0 || xtermcap == (char *) -1) { ++ fprintf(stderr, "couldn't get XM terminfo"); ++ return 1; ++ } ++ ++ putp(tparm(xtermcap, 1)); ++ fflush(stdout); ++ ++ tcsetattr(0, TCSANOW, &tty); ++ ++ while (true) { ++ int c = getc(stdin); ++ const char *pretty; ++ ++ if (c == ERR || c == '\003') { ++ break; ++ } else if (c == '\033') { ++ printf("\r\n"); ++ } else if ((pretty = unctrl((chtype) c)) != NULL) { ++ printf("%s", pretty); ++ } else if (isprint(c)) { ++ printf("%c", c); ++ } else { ++ printf("{%x}", c); ++ } ++ } ++ ++ putp(tparm(xtermcap, 0)); ++ fflush(stdout); ++ tcsetattr(0, TCSANOW, &old); ++ return 0; ++} ++ ++static int logw(int line, const char *fmt, ...) GCC_PRINTFLIKE(2, 3); ++ ++static int ++logw(int line, const char *fmt, ...) ++{ ++ va_list args; ++ va_start(args, fmt); ++ wmove(stdscr, line++, 0); ++ vw_printw(stdscr, fmt, args); ++ clrtoeol(); ++ ++ line %= (getmaxy(stdscr) - logoffset); ++ if (line < logoffset) { ++ line = logoffset; ++ } ++ ++ wmove(stdscr, line, 0); ++ wprintw(stdscr, ">"); ++ clrtoeol(); ++ return line; ++} ++ ++static void ++usage(void) ++{ ++ static const char *msg[] = ++ { ++ "Usage: test_mouse [options]", ++ "", ++ "Test mouse events. These examples for $TERM demonstrate xterm" ++ "features:", ++ " xterm", ++ " xterm-1002", ++ " xterm-1003", ++ "", ++ "Options:", ++ " -r show raw input stream, injecting a new line before every ESC", ++ " -i n set mouse interval to n; default is 0", ++ " -h show this message", ++ " -T term use terminal description other than $TERM" ++ }; ++ unsigned n; ++ for (n = 0; n < sizeof(msg) / sizeof(char *); ++n) { ++ fprintf(stderr, "%s\n", msg[n]); ++ } ++} ++ ++int ++main(int argc, char *argv[]) ++{ ++ bool rawmode = FALSE; ++ int interval = 0; ++ int curline; ++ int c; ++ MEVENT event; ++ char *my_environ; ++ const char *term_format = "TERM=%s"; ++ ++ while ((c = getopt(argc, argv, "hi:rT:")) != -1) { ++ switch (c) { ++ case 'h': ++ usage(); ++ ExitProgram(EXIT_SUCCESS); ++ case 'i': ++ interval = atoi(optarg); ++ break; ++ case 'r': ++ rawmode = TRUE; ++ break; ++ case 'T': ++ my_environ = malloc(strlen(term_format) + strlen(optarg)); ++ sprintf(my_environ, term_format, optarg); ++ putenv(my_environ); ++ break; ++ default: ++ usage(); ++ ExitProgram(EXIT_FAILURE); ++ } ++ } ++ if (optind < argc) { ++ usage(); ++ ExitProgram(EXIT_FAILURE); ++ } ++ ++ if (rawmode) { ++ printf("Entering raw mode. Ctrl-c to quit.\n"); ++ return raw_loop(); ++ } ++ ++ initscr(); ++ clear(); ++ noecho(); ++ cbreak(); /* Line buffering disabled; pass everything */ ++ nonl(); ++ keypad(stdscr, TRUE); ++ ++ /* Get all the mouse events */ ++ mousemask(ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION, NULL); ++ mouseinterval(interval); ++ ++ logoffset = logw(logoffset, "Ctrl-c to quit"); ++ logoffset = logw(logoffset, "--------------"); ++ ++ curline = logoffset; ++ ++ while (1) { ++ c = getch(); ++ ++ switch (c) { ++ case KEY_MOUSE: ++ if (getmouse(&event) == OK) { ++ unsigned btn; ++ mmask_t events; ++#if NCURSES_MOUSE_VERSION > 1 ++ const int max_btn = 5; ++#else ++ const int max_btn = 4; ++#endif ++ for (btn = 1; btn <= max_btn; btn++) { ++ events = (mmask_t) (event.bstate ++ & NCURSES_MOUSE_MASK(btn, ++ NCURSES_BUTTON_RELEASED | ++ NCURSES_BUTTON_PRESSED | ++ NCURSES_BUTTON_CLICKED | ++ NCURSES_DOUBLE_CLICKED | ++ NCURSES_TRIPLE_CLICKED)); ++ if (events == 0) ++ continue; ++#define Show(btn,name) ((event.bstate & NCURSES_MOUSE_MASK(btn, name)) != 0) ? #name : "" ++ curline = logw(curline, ++ "button %d %s %s %s %s %s %d[%x] @ %d, %d", ++ btn, ++ Show(btn, NCURSES_BUTTON_RELEASED), ++ Show(btn, NCURSES_BUTTON_PRESSED), ++ Show(btn, NCURSES_BUTTON_CLICKED), ++ Show(btn, NCURSES_DOUBLE_CLICKED), ++ Show(btn, NCURSES_TRIPLE_CLICKED), ++ (event.bstate & REPORT_MOUSE_POSITION) != 0, ++ events, ++ event.y, event.x); ++ } ++ } ++ break; ++ case '\003': ++ goto end; ++ default: ++ curline = logw(curline, "got another char: 0x%x", c); ++ } ++ refresh(); ++ } ++ end: ++ endwin(); ++ ExitProgram(EXIT_SUCCESS); ++} ++#else ++int ++main(void) ++{ ++ printf("This program requires the ncurses library\n"); ++ ExitProgram(EXIT_FAILURE); ++} ++#endif +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220521.patch b/ncurses-6.3-patch-20220521.patch new file mode 100644 index 0000000..59a3a35 --- /dev/null +++ b/ncurses-6.3-patch-20220521.patch @@ -0,0 +1,959 @@ +From 1ddfa997c0965852dbdc738aa6d92c0cd0975f3b Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 22 May 2022 00:12:22 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220521 + ++ improve memory-leak checking in several test-programs. ++ set trailing null on string passed from winsnstr() to wins_nwstr(). ++ modify del_curterm() to fix memory-leak introduced by change to + copy_termtype(). +--- + NEWS | 8 ++- + VERSION | 2 +- + dist.mk | 4 +- + ncurses/base/lib_insnstr.c | 5 +- + ncurses/tinfo/free_ttype.c | 6 +-- + ncurses/tinfo/lib_cur_term.c | 8 ++- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/color_content.c | 3 +- + test/combine.c | 7 ++- + test/demo_menus.c | 33 ++++++------ + test/demo_tabs.c | 5 +- + test/dup_field.c | 89 ++++++++++++++++++++------------ + test/move_field.c | 24 +++------ + test/padview.c | 10 ++-- + test/pair_content.c | 15 ++++-- + test/test.priv.h | 10 ++-- + test/test_mouse.c | 6 +-- + test/test_setupterm.c | 50 ++++++++++++++++-- + test/test_termattrs.c | 5 +- + 25 files changed, 200 insertions(+), 112 deletions(-) + +diff --git a/NEWS b/NEWS +index 364490a7..fd3e7b06 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3807 2022/05/14 22:56:52 tom Exp $ ++-- $Id: NEWS,v 1.3809 2022/05/21 21:10:54 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,12 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220521 ++ + improve memory-leak checking in several test-programs. ++ + set trailing null on string passed from winsnstr() to wins_nwstr(). ++ + modify del_curterm() to fix memory-leak introduced by change to ++ copy_termtype(). ++ + 20220514 + + further improvements to test/test_mouse.c; compare with ncurses test + program menu A/a. +diff --git a/VERSION b/VERSION +index ba8e643a..c8bff0a0 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220514 ++5:0:10 6.3 20220521 +diff --git a/dist.mk b/dist.mk +index d5a51323..b517ae41 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1480 2022/05/14 13:23:05 tom Exp $ ++# $Id: dist.mk,v 1.1481 2022/05/21 15:40:09 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220514 ++NCURSES_PATCH = 20220521 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/base/lib_insnstr.c b/ncurses/base/lib_insnstr.c +index ff1ae573..dd51a9cd 100644 +--- a/ncurses/base/lib_insnstr.c ++++ b/ncurses/base/lib_insnstr.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2018,2020 Thomas E. Dickey * ++ * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2004-2009,2016 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -41,7 +41,7 @@ + #include + #include + +-MODULE_ID("$Id: lib_insnstr.c,v 1.7 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: lib_insnstr.c,v 1.8 2022/05/21 17:35:15 tom Exp $") + + NCURSES_EXPORT(int) + winsnstr(WINDOW *win, const char *s, int n) +@@ -70,6 +70,7 @@ winsnstr(WINDOW *win, const char *s, int n) + init_mb(state); + n3 = mbstowcs(buffer, s, nn); + if (n3 != (size_t) (-1)) { ++ buffer[n3] = '\0'; + code = wins_nwstr(win, buffer, (int) n3); + } + free(buffer); +diff --git a/ncurses/tinfo/free_ttype.c b/ncurses/tinfo/free_ttype.c +index 7f0fbcc3..97357763 100644 +--- a/ncurses/tinfo/free_ttype.c ++++ b/ncurses/tinfo/free_ttype.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 1999-2011,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -43,12 +43,12 @@ + + #include + +-MODULE_ID("$Id: free_ttype.c,v 1.19 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: free_ttype.c,v 1.20 2022/05/15 12:42:13 tom Exp $") + + static void + really_free_termtype(TERMTYPE2 *ptr, bool freeStrings) + { +- T(("_nc_free_termtype(%s)", ptr->term_names)); ++ T(("really_free_termtype(%s) %d", ptr->term_names, freeStrings)); + + if (freeStrings) { + FreeIfNeeded(ptr->str_table); +diff --git a/ncurses/tinfo/lib_cur_term.c b/ncurses/tinfo/lib_cur_term.c +index 6ef62cb2..7d7e7f15 100644 +--- a/ncurses/tinfo/lib_cur_term.c ++++ b/ncurses/tinfo/lib_cur_term.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++,* Copyright 2020-2021,2022 Thomas E. Dickey * + * Copyright 1998-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -41,7 +41,7 @@ + #include /* ospeed */ + #include /* VALID_STRING */ + +-MODULE_ID("$Id: lib_cur_term.c,v 1.45 2021/11/20 23:19:41 tom Exp $") ++MODULE_ID("$Id: lib_cur_term.c,v 1.48 2022/05/21 22:58:20 tom Exp $") + + #undef CUR + #define CUR TerminalType(termp). +@@ -147,7 +147,11 @@ NCURSES_SP_NAME(del_curterm) (NCURSES_SP_DCLx TERMINAL *termp) + ); + + #if NCURSES_EXT_NUMBERS ++#if NCURSES_EXT_COLORS + _nc_free_termtype(&termp->type); ++#else ++ _nc_free_termtype2(&termp->type); ++#endif + #endif + _nc_free_termtype2(&TerminalType(termp)); + if (termp == cur) +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 13d69d31..bfb228b8 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 13d69d31..bfb228b8 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 733d47ad..c13c624f 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 88e6a314..0d5bec04 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.520 2022/05/14 13:23:05 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.521 2022/05/21 15:40:09 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0514" ++!define VERSION_MMDD "0521" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 681da256..5d12868e 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index b775866e..ff86a976 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index dd8f8afb..e765d604 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/color_content.c b/test/color_content.c +index 6ed0ecf2..99627546 100644 +--- a/test/color_content.c ++++ b/test/color_content.c +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: color_content.c,v 1.13 2022/04/16 18:26:40 tom Exp $ ++ * $Id: color_content.c,v 1.14 2022/05/21 20:00:04 tom Exp $ + */ + + #define NEED_TIME_H +@@ -328,5 +328,6 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + finish_test(); + } + ++ free(expected); + ExitProgram(EXIT_SUCCESS); + } +diff --git a/test/combine.c b/test/combine.c +index 1025c9f2..7bc90974 100644 +--- a/test/combine.c ++++ b/test/combine.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2021 Thomas E. Dickey * ++ * Copyright 2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,13 +26,14 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: combine.c,v 1.17 2021/12/18 21:04:00 tom Exp $ ++ * $Id: combine.c,v 1.19 2022/05/21 23:19:31 tom Exp $ + */ + + #include + + #if USE_WIDEC_SUPPORT + ++#include + #include + #include + +@@ -252,8 +253,10 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + case 'd': + if (log_option) + dump_window(stdscr); ++#if HAVE_SCR_DUMP + else + scr_dump(dump_log); ++#endif + break; + case 'h': + if (left_at > ' ') +diff --git a/test/demo_menus.c b/test/demo_menus.c +index 9f3b4d22..e0e4852e 100644 +--- a/test/demo_menus.c ++++ b/test/demo_menus.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2003-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -27,7 +27,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: demo_menus.c,v 1.73 2021/05/08 19:41:08 tom Exp $ ++ * $Id: demo_menus.c,v 1.76 2022/05/15 13:54:48 tom Exp $ + * + * Demonstrate a variety of functions from the menu library. + * Thomas Dickey - 2005/4/9 +@@ -308,7 +308,7 @@ menu_create(ITEM ** items, int count, int ncols, MenuNo number) + } + + static void +-menu_destroy(MENU * m) ++menu_destroy(MENU * m, int itemsToo) + { + Trace(("menu_destroy %p", (void *) m)); + if (m != 0) { +@@ -331,18 +331,18 @@ menu_destroy(MENU * m) + Trace(("freeing blob %p", blob)); + free((void *) blob); + } +- free(items); +- items = 0; + } +-#ifdef TRACE +- if ((count > 0) && (m == mpTrace)) { +- ITEM **ip = items; +- if (ip != 0) { +- while (*ip) +- free(*ip++); ++ if (count > 0 && itemsToo) { ++ if (itemsToo & 1) { ++ ITEM **ip = items; ++ if (ip != 0) { ++ while (*ip) ++ free_item(*ip++); ++ } + } ++ if (itemsToo & 2) ++ free(items); + } +-#endif + } + } + +@@ -932,12 +932,12 @@ perform_menus(void) + static void + destroy_menus(void) + { +- menu_destroy(mpFile); +- menu_destroy(mpSelect); ++ menu_destroy(mpFile, 1); ++ menu_destroy(mpSelect, 3); + #ifdef TRACE +- menu_destroy(mpTrace); ++ menu_destroy(mpTrace, 1); + #endif +- menu_destroy(mpBanner); ++ menu_destroy(mpBanner, 1); + } + + #if HAVE_RIPOFFLINE +@@ -1004,6 +1004,7 @@ main(int argc, char *argv[]) + int c; + + setlocale(LC_ALL, ""); ++ START_TRACE(); + + while ((c = getopt(argc, argv, "fht:")) != -1) { + switch (c) { +diff --git a/test/demo_tabs.c b/test/demo_tabs.c +index f63850df..6bd067ea 100644 +--- a/test/demo_tabs.c ++++ b/test/demo_tabs.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019,2020 Thomas E. Dickey * ++ * Copyright 2019-2020,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -29,10 +29,11 @@ + /* + * Author: Thomas E. Dickey + * +- * $Id: demo_tabs.c,v 1.5 2020/02/02 23:34:34 tom Exp $ ++ * $Id: demo_tabs.c,v 1.6 2022/05/15 13:04:57 tom Exp $ + * + * A simple demo of tabs in curses. + */ ++#define USE_CURSES + #define USE_TINFO + #include "test.priv.h" + +diff --git a/test/dup_field.c b/test/dup_field.c +index eb87c90c..05444f43 100644 +--- a/test/dup_field.c ++++ b/test/dup_field.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++ * Copyright 2020-2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,9 +26,9 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: dup_field.c,v 1.2 2021/03/27 23:41:57 tom Exp $ ++ * $Id: dup_field.c,v 1.6 2022/05/21 20:59:26 tom Exp $ + * +- * Demonstrate move_field(). ++ * Demonstrate dup_field(). + */ + + #include +@@ -38,7 +38,8 @@ + #include + #include + +-#define MY_DEMO EDIT_FIELD('f') ++#define DO_DEMO CTRL('F') /* actual key for toggling demo-mode */ ++#define MY_DEMO EDIT_FIELD('f') /* internal request-code */ + + static char empty[] = ""; + static FIELD *all_fields[100]; +@@ -51,7 +52,6 @@ static struct { + { CTRL('A'), REQ_BEG_FIELD, "go to beginning of field" }, + { CTRL('D'), REQ_DOWN_FIELD, "move downward to field" }, + { CTRL('E'), REQ_END_FIELD, "go to end of field" }, +- { CTRL('G'), MY_DEMO, "move current field with cursor keys" }, + { CTRL('H'), REQ_DEL_PREV, "delete previous character" }, + { CTRL('I'), REQ_NEXT_FIELD, "go to next field" }, + { CTRL('K'), REQ_CLR_EOF, "clear to end of field" }, +@@ -72,7 +72,8 @@ static struct { + { KEY_NEXT, REQ_NEXT_FIELD, "go to next field" }, + { KEY_PREVIOUS, REQ_PREV_FIELD, "go to previous field" }, + { KEY_RIGHT, REQ_RIGHT_CHAR, "move right 1 character" }, +- { KEY_UP, REQ_UP_CHAR, "move up 1 character" } ++ { KEY_UP, REQ_UP_CHAR, "move up 1 character" }, ++ { DO_DEMO, MY_DEMO, "duplicate current field" } + }; + /* *INDENT-ON* */ + +@@ -108,11 +109,6 @@ my_help_edit_field(void) + free(msgs); + } + +-static void +-do_demo(FORM *form) +-{ +-} +- + static FIELD * + make_label(const char *label, int frow, int fcol) + { +@@ -147,28 +143,6 @@ erase_form(FORM *f) + werase(w); + wrefresh(w); + delwin(s); +- delwin(w); +-} +- +-static int +-my_form_driver(FORM *form, int c) +-{ +- switch (c) { +- case MY_QUIT: +- if (form_driver(form, REQ_VALIDATION) == E_OK) +- return (TRUE); +- break; +- case MY_HELP: +- my_help_edit_field(); +- break; +- case MY_DEMO: +- do_demo(form); +- break; +- default: +- beep(); +- break; +- } +- return (FALSE); + } + + static FieldAttrs * +@@ -291,6 +265,55 @@ my_edit_field(FORM *form, int *result) + return status; + } + ++static FIELD ** ++copy_fields(FIELD **source, FIELD *extra, size_t length) ++{ ++ FIELD **target = typeCalloc(FIELD *, length + 1); ++ memcpy(target, source, length * sizeof(FIELD *)); ++ target[length] = extra; ++ return target; ++} ++ ++static void ++do_demo(FORM *form) ++{ ++ int count = field_count(form); ++ FIELD *my_field = current_field(form); ++ FIELD **old_fields = form_fields(form); ++ ++ if (count > 0 && old_fields != NULL && my_field != NULL) { ++ FIELD **new_fields = copy_fields(old_fields, ++ dup_field(my_field, ++ form_field_row(my_field) ++ + 1, ++ form_field_col(my_field)), ++ (size_t) count); ++ if (new_fields != NULL) ++ set_form_fields(form, new_fields); ++ } ++} ++ ++static int ++my_form_driver(FORM *form, int c) ++{ ++ switch (c) { ++ case MY_QUIT: ++ if (form_driver(form, REQ_VALIDATION) == E_OK) ++ return (TRUE); ++ break; ++ case MY_HELP: ++ my_help_edit_field(); ++ break; ++ case MY_DEMO: ++ do_demo(form); ++ break; ++ default: ++ beep(); ++ break; ++ } ++ return (FALSE); ++} ++ + static void + demo_forms(void) + { +diff --git a/test/move_field.c b/test/move_field.c +index b5ec9438..874b189b 100644 +--- a/test/move_field.c ++++ b/test/move_field.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++ * Copyright 2020-2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: move_field.c,v 1.9 2021/06/12 21:30:34 tom Exp $ ++ * $Id: move_field.c,v 1.13 2022/05/21 20:59:46 tom Exp $ + * + * Demonstrate move_field(). + */ +@@ -38,14 +38,6 @@ + #include + #include + +-#ifdef HAVE_NETBSD_FORM_H +-#define form_field_row(field) (field)->form_row +-#define form_field_col(field) (field)->form_col +-#else /* e.g., SVr4, ncurses */ +-#define form_field_row(field) (field)->frow +-#define form_field_col(field) (field)->fcol +-#endif +- + #define DO_DEMO CTRL('F') /* actual key for toggling demo-mode */ + #define MY_DEMO EDIT_FIELD('f') /* internal request-code */ + +@@ -151,7 +143,6 @@ erase_form(FORM *f) + werase(w); + wrefresh(w); + delwin(s); +- delwin(w); + } + + static FieldAttrs * +@@ -277,7 +268,7 @@ my_edit_field(FORM *form, int *result) + static FIELD ** + copy_fields(FIELD **source, size_t length) + { +- FIELD **target = calloc(length + 1, sizeof(FIELD *)); ++ FIELD **target = typeCalloc(FIELD *, length + 1); + memcpy(target, source, length * sizeof(FIELD *)); + return target; + } +@@ -309,13 +300,13 @@ do_demo(FORM *form) + { + int count = field_count(form); + FIELD *my_field = current_field(form); ++ FIELD **old_fields = form_fields(form); + +- if (count > 0 && my_field != NULL) { ++ if (count > 0 && old_fields != NULL && my_field != NULL) { + size_t needed = (size_t) count; +- FIELD **old_fields = copy_fields(form_fields(form), needed); +- FIELD **new_fields = copy_fields(form_fields(form), needed); ++ FIELD **new_fields = copy_fields(old_fields, needed); + +- if (old_fields != NULL && new_fields != NULL) { ++ if (new_fields != NULL) { + bool found = FALSE; + int ch; + +@@ -395,7 +386,6 @@ do_demo(FORM *form) + refresh(); + } + } +- free(old_fields); + free(new_fields); + } + } +diff --git a/test/padview.c b/test/padview.c +index fb1d9fca..868dbfed 100644 +--- a/test/padview.c ++++ b/test/padview.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -29,7 +29,7 @@ + /* + * clone of view.c, using pads + * +- * $Id: padview.c,v 1.18 2021/06/12 23:16:31 tom Exp $ ++ * $Id: padview.c,v 1.19 2022/05/15 14:36:23 tom Exp $ + */ + + #include +@@ -45,6 +45,7 @@ static GCC_NORETURN void finish(int sig); + + #define my_pair 1 + ++static WINDOW *global_pad; + static int shift = 0; + static bool try_color = FALSE; + +@@ -69,6 +70,8 @@ static void + finish(int sig) + { + endwin(); ++ if (global_pad != NULL) ++ delwin(global_pad); + ExitProgram(sig != 0 ? EXIT_FAILURE : EXIT_SUCCESS); + } + +@@ -372,7 +375,8 @@ main(int argc, char *argv[]) + * Do this after starting color, otherwise the pad's background will be + * uncolored after the ncurses 6.1.20181208 fixes. + */ +- my_pad = read_file(fname = argv[optind]); ++ global_pad = ++ my_pad = read_file(fname = argv[optind]); + + my_row = 0; + while (!done) { +diff --git a/test/pair_content.c b/test/pair_content.c +index adbd0829..35e2fc4b 100644 +--- a/test/pair_content.c ++++ b/test/pair_content.c +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: pair_content.c,v 1.15 2022/04/16 18:27:24 tom Exp $ ++ * $Id: pair_content.c,v 1.16 2022/05/15 15:46:28 tom Exp $ + */ + + #define NEED_TIME_H +@@ -62,13 +62,20 @@ static struct timeval initial_time; + static struct timeval finish_time; + #endif + ++static void ++finish(int code) ++{ ++ free(expected); ++ ExitProgram(code); ++} ++ + static void + failed(const char *msg) + { + printw("%s", msg); + getch(); + endwin(); +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + #if USE_EXTENDED_COLOR +@@ -231,7 +238,7 @@ usage(void) + size_t n; + for (n = 0; n < SIZEOF(msg); n++) + fprintf(stderr, "%s\n", msg[n]); +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + int +@@ -314,5 +321,5 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + finish_test(); + } + +- ExitProgram(EXIT_SUCCESS); ++ finish(EXIT_SUCCESS); + } +diff --git a/test/test.priv.h b/test/test.priv.h +index 8874d335..125477f1 100644 +--- a/test/test.priv.h ++++ b/test/test.priv.h +@@ -30,7 +30,7 @@ + /**************************************************************************** + * Author: Thomas E. Dickey 1996-on * + ****************************************************************************/ +-/* $Id: test.priv.h,v 1.199 2022/04/09 21:32:05 tom Exp $ */ ++/* $Id: test.priv.h,v 1.201 2022/05/21 20:37:38 tom Exp $ */ + + #ifndef __TEST_PRIV_H + #define __TEST_PRIV_H 1 +@@ -553,8 +553,12 @@ extern int optind; + /* workaround, to build against NetBSD's variant of the form library */ + #ifdef HAVE_NETBSD_FORM_H + #define form_getyx(form, y, x) y = (int)current_field(form)->cursor_ypos, x = (int)current_field(form)->cursor_xpos +-#else ++#define form_field_row(field) (field)->form_row ++#define form_field_col(field) (field)->form_col ++#else /* e.g., SVr4, ncurses */ + #define form_getyx(form, y, x) y = (int)(form)->currow, x = (int)(form)->curcol ++#define form_field_row(field) (field)->frow ++#define form_field_col(field) (field)->fcol + #endif + + /* workaround, to build against NetBSD's variant of the form library */ +@@ -928,7 +932,7 @@ extern int TABSIZE; + + #if defined(NCURSES_VERSION) && HAVE_NC_ALLOC_H + #include +-#if HAVE_EXIT_TERMINFO && (defined(USE_TERMINFO) || defined(USE_TINFO)) ++#if HAVE_EXIT_TERMINFO && !defined(USE_CURSES) && (defined(USE_TERMINFO) || defined(USE_TINFO)) + #undef ExitProgram + #define ExitProgram(code) exit_terminfo(code) + #elif HAVE_EXIT_CURSES +diff --git a/test/test_mouse.c b/test/test_mouse.c +index 8cb12d9f..b24903d5 100644 +--- a/test/test_mouse.c ++++ b/test/test_mouse.c +@@ -22,7 +22,7 @@ + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + ****************************************************************************/ + /* +- * $Id: test_mouse.c,v 1.18 2022/05/15 00:20:27 tom Exp $ ++ * $Id: test_mouse.c,v 1.19 2022/05/15 16:41:20 tom Exp $ + * + * Author: Leonid S Usov + * +@@ -194,9 +194,9 @@ main(int argc, char *argv[]) + unsigned btn; + mmask_t events; + #if NCURSES_MOUSE_VERSION > 1 +- const int max_btn = 5; ++ const unsigned max_btn = 5; + #else +- const int max_btn = 4; ++ const unsigned max_btn = 4; + #endif + const mmask_t btn_mask = (NCURSES_BUTTON_RELEASED | + NCURSES_BUTTON_PRESSED | +diff --git a/test/test_setupterm.c b/test/test_setupterm.c +index 9d582aa0..0dc7494b 100644 +--- a/test/test_setupterm.c ++++ b/test/test_setupterm.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 2015,2016 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -30,7 +30,7 @@ + /* + * Author: Thomas E. Dickey + * +- * $Id: test_setupterm.c,v 1.10 2020/02/02 23:34:34 tom Exp $ ++ * $Id: test_setupterm.c,v 1.12 2022/05/15 16:36:00 tom Exp $ + * + * A simple demo of setupterm/restartterm. + */ +@@ -43,6 +43,46 @@ static bool f_opt = FALSE; + static bool n_opt = FALSE; + static bool r_opt = FALSE; + ++#if NO_LEAKS ++static TERMINAL **saved_terminals; ++static size_t num_saved; ++static size_t max_saved; ++ ++static void ++finish(int code) ++{ ++ size_t n; ++ for (n = 0; n < num_saved; ++n) ++ del_curterm(saved_terminals[n]); ++ free(saved_terminals); ++ ExitProgram(code); ++} ++ ++static void ++save_curterm(void) ++{ ++ size_t n; ++ bool found = FALSE; ++ for (n = 0; n < num_saved; ++n) { ++ if (saved_terminals[n] == cur_term) { ++ found = TRUE; ++ break; ++ } ++ } ++ if (!found) { ++ if (num_saved + 1 >= max_saved) { ++ max_saved += 100; ++ saved_terminals = typeRealloc(TERMINAL *, max_saved, saved_terminals); ++ } ++ saved_terminals[num_saved++] = cur_term; ++ } ++} ++ ++#else ++#define finish(code) ExitProgram(code) ++#define save_curterm() /* nothing */ ++#endif ++ + static void + test_rc(NCURSES_CONST char *name, int actual_rc, int actual_err) + { +@@ -104,6 +144,7 @@ test_setupterm(NCURSES_CONST char *name) + #endif + rc = setupterm(name, 0, f_opt ? NULL : &err); + test_rc(name, rc, err); ++ save_curterm(); + } + + static void +@@ -128,7 +169,7 @@ usage(void) + for (n = 0; n < SIZEOF(msg); ++n) { + fprintf(stderr, "%s\n", msg[n]); + } +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + int +@@ -182,6 +223,7 @@ main(int argc, char *argv[]) + if (r_opt) { + newterm("ansi", stdout, stdin); + reset_shell_mode(); ++ save_curterm(); + } + + if (a_opt) { +@@ -203,7 +245,7 @@ main(int argc, char *argv[]) + } + } + +- ExitProgram(EXIT_SUCCESS); ++ finish(EXIT_SUCCESS); + } + + #else /* !HAVE_TIGETSTR */ +diff --git a/test/test_termattrs.c b/test/test_termattrs.c +index fc22216a..2464ddea 100644 +--- a/test/test_termattrs.c ++++ b/test/test_termattrs.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -27,11 +27,12 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: test_termattrs.c,v 1.3 2020/02/02 23:34:34 tom Exp $ ++ * $Id: test_termattrs.c,v 1.4 2022/05/15 15:55:30 tom Exp $ + * + * Demonstrate the termattrs and term_attrs functions. + */ + ++#define USE_CURSES + #define USE_TINFO + #include + +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220924.patch b/ncurses-6.3-patch-20220924.patch new file mode 100644 index 0000000..4493f77 --- /dev/null +++ b/ncurses-6.3-patch-20220924.patch @@ -0,0 +1,22144 @@ +From b5d80765d2da2bcc9d9f71cafd081ad4453cd365 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 25 Sep 2022 00:12:05 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220924 + ++ modify configure macro CF_BUILD_CC to check if the build-compiler + works, rather than that it is different from the cross-compiler, e.g., + to accommodate a compiler which can be used for either purpose with + different flags (report by Mikhail Korolev). ++ fix another memory-leak in tic. ++ correct change for cppcheck in menu library (report/analysis by + "tuxway", cf: 20220903). ++ update config.guess, config.sub +--- + Ada95/aclocal.m4 | 29 +- + Ada95/configure | 2265 ++++++++-------- + NEWS | 12 +- + VERSION | 2 +- + aclocal.m4 | 29 +- + config.guess | 4 +- + config.sub | 4 +- + configure | 4191 +++++++++++++++--------------- + dist.mk | 4 +- + include/term_entry.h | 3 +- + menu/m_post.c | 5 +- + ncurses/tinfo/comp_parse.c | 14 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + progs/infocmp.c | 4 +- + 20 files changed, 3368 insertions(+), 3220 deletions(-) + +diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 +index dcaada8b..5f7c5a6e 100644 +--- a/Ada95/aclocal.m4 ++++ b/Ada95/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.194 2022/09/10 19:25:56 tom Exp $ ++dnl $Id: aclocal.m4,v 1.195 2022/09/24 20:42:30 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -477,7 +477,7 @@ fi + AC_SUBST(ARFLAGS) + ]) + dnl --------------------------------------------------------------------------- +-dnl CF_BUILD_CC version: 9 updated: 2021/01/02 09:31:20 ++dnl CF_BUILD_CC version: 10 updated: 2022/09/24 16:36:41 + dnl ----------- + dnl If we're cross-compiling, allow the user to override the tools and their + dnl options. The configure script is oriented toward identifying the host +@@ -543,7 +543,30 @@ if test "$cross_compiling" = yes ; then + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then ++ AC_MSG_CHECKING(if the build-compiler "$BUILD_CC" works) ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&AS_MESSAGE_LOG_FD' ++ ++ AC_TRY_RUN([#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ], ++ cf_ok_build_cc=yes, ++ cf_ok_build_cc=no, ++ cf_ok_build_cc=unknown) ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ AC_MSG_RESULT($cf_ok_build_cc) ++ ++ if test "$cf_ok_build_cc" != yes ++ then + AC_MSG_ERROR([Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler.]) + fi +diff --git a/Ada95/configure b/Ada95/configure +index f36c5fc3..aa0dfc1c 100755 +--- a/Ada95/configure ++++ b/Ada95/configure +@@ -4289,8 +4289,57 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then +- { { echo "$as_me:4293: error: Cross-build requires two compilers. ++ echo "$as_me:4292: checking if the build-compiler \"$BUILD_CC\" works" >&5 ++echo $ECHO_N "checking if the build-compiler \"$BUILD_CC\" works... $ECHO_C" >&6 ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&5' ++ ++ if test "$cross_compiling" = yes; then ++ cf_ok_build_cc=unknown ++else ++ cat >"conftest.$ac_ext" <<_ACEOF ++#line 4304 "configure" ++#include "confdefs.h" ++#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ++_ACEOF ++rm -f "conftest$ac_exeext" ++if { (eval echo "$as_me:4314: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ echo "$as_me:4317: \$? = $ac_status" >&5 ++ (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' ++ { (eval echo "$as_me:4319: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:4322: \$? = $ac_status" >&5 ++ (exit "$ac_status"); }; }; then ++ cf_ok_build_cc=yes ++else ++ echo "$as_me: program exited with status $ac_status" >&5 ++echo "$as_me: failed program was:" >&5 ++cat "conftest.$ac_ext" >&5 ++cf_ok_build_cc=no ++fi ++rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" ++fi ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ echo "$as_me:4337: result: $cf_ok_build_cc" >&5 ++echo "${ECHO_T}$cf_ok_build_cc" >&6 ++ ++ if test "$cf_ok_build_cc" != yes ++ then ++ { { echo "$as_me:4342: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&5 + echo "$as_me: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&2;} +@@ -4315,7 +4364,7 @@ fi + ### shared, for example. + cf_list_models="" + +-echo "$as_me:4318: checking if you want to build shared C-objects" >&5 ++echo "$as_me:4367: checking if you want to build shared C-objects" >&5 + echo $ECHO_N "checking if you want to build shared C-objects... $ECHO_C" >&6 + + # Check whether --with-shared or --without-shared was given. +@@ -4325,27 +4374,27 @@ if test "${with_shared+set}" = set; then + else + with_shared=no + fi; +-echo "$as_me:4328: result: $with_shared" >&5 ++echo "$as_me:4377: result: $with_shared" >&5 + echo "${ECHO_T}$with_shared" >&6 + test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared" + +-echo "$as_me:4332: checking for specified models" >&5 ++echo "$as_me:4381: checking for specified models" >&5 + echo $ECHO_N "checking for specified models... $ECHO_C" >&6 + test -z "$cf_list_models" && cf_list_models=normal +-echo "$as_me:4335: result: $cf_list_models" >&5 ++echo "$as_me:4384: result: $cf_list_models" >&5 + echo "${ECHO_T}$cf_list_models" >&6 + + ### Use the first model as the default, and save its suffix for use in building + ### up test-applications. +-echo "$as_me:4340: checking for default model" >&5 ++echo "$as_me:4389: checking for default model" >&5 + echo $ECHO_N "checking for default model... $ECHO_C" >&6 + DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` +-echo "$as_me:4343: result: $DFT_LWR_MODEL" >&5 ++echo "$as_me:4392: result: $DFT_LWR_MODEL" >&5 + echo "${ECHO_T}$DFT_LWR_MODEL" >&6 + + DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` + +-echo "$as_me:4348: checking for specific curses-directory" >&5 ++echo "$as_me:4397: 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. +@@ -4355,7 +4404,7 @@ if test "${with_curses_dir+set}" = set; then + else + cf_cv_curses_dir=no + fi; +-echo "$as_me:4358: result: $cf_cv_curses_dir" >&5 ++echo "$as_me:4407: 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" +@@ -4386,7 +4435,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:4389: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:4438: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -4422,7 +4471,7 @@ if test -n "$cf_cv_curses_dir/include" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4425 "configure" ++#line 4474 "configure" + #include "confdefs.h" + #include + int +@@ -4434,16 +4483,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:4437: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:4486: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:4440: \$? = $ac_status" >&5 ++ echo "$as_me:4489: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:4443: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4492: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4446: \$? = $ac_status" >&5 ++ echo "$as_me:4495: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -4460,7 +4509,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:4463: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:4512: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -4496,7 +4545,7 @@ if test -n "$cf_cv_curses_dir/lib" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:4499: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:4548: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -4511,13 +4560,13 @@ cf_ncuconfig_root=ncurses + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:4514: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:4563: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:4517: result: yes" >&5 ++ echo "$as_me:4566: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:4520: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:4569: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -4650,7 +4699,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4653 "configure" ++#line 4702 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -4662,37 +4711,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:4665: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4714: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4668: \$? = $ac_status" >&5 ++ echo "$as_me:4717: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:4671: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4720: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4674: \$? = $ac_status" >&5 ++ echo "$as_me:4723: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4680 "configure" ++#line 4729 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:4687: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4736: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4690: \$? = $ac_status" >&5 ++ echo "$as_me:4739: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:4692: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4741: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4695: \$? = $ac_status" >&5 ++ echo "$as_me:4744: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -4866,7 +4915,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4869 "configure" ++#line 4918 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -4878,37 +4927,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:4881: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4930: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4884: \$? = $ac_status" >&5 ++ echo "$as_me:4933: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:4887: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4936: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4890: \$? = $ac_status" >&5 ++ echo "$as_me:4939: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4896 "configure" ++#line 4945 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:4903: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4952: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4906: \$? = $ac_status" >&5 ++ echo "$as_me:4955: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:4908: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4957: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4911: \$? = $ac_status" >&5 ++ echo "$as_me:4960: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -4925,7 +4974,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:4928: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:4977: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -4941,7 +4990,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:4944: checking for terminfo header" >&5 ++echo "$as_me:4993: 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 +@@ -4959,7 +5008,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4962 "configure" ++#line 5011 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -4974,16 +5023,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:4977: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5026: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:4980: \$? = $ac_status" >&5 ++ echo "$as_me:5029: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:4983: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5032: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4986: \$? = $ac_status" >&5 ++ echo "$as_me:5035: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -4999,7 +5048,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5002: result: $cf_cv_term_header" >&5 ++echo "$as_me:5051: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -5034,7 +5083,7 @@ esac + fi + + else +- echo "$as_me:5037: result: no" >&5 ++ echo "$as_me:5086: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -5050,7 +5099,7 @@ if test -n "$ac_tool_prefix"; then + 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:5053: checking for $ac_word" >&5 ++echo "$as_me:5102: 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 +@@ -5065,7 +5114,7 @@ for ac_dir in $ac_dummy; do + 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:5068: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5117: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5073,10 +5122,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:5076: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:5125: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:5079: result: no" >&5 ++ echo "$as_me:5128: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5089,7 +5138,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:5092: checking for $ac_word" >&5 ++echo "$as_me:5141: 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 +@@ -5104,7 +5153,7 @@ for ac_dir in $ac_dummy; do + 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:5107: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5156: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5112,10 +5161,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:5115: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:5164: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:5118: result: no" >&5 ++ echo "$as_me:5167: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5272,7 +5321,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:5275: checking if we have identified curses headers" >&5 ++echo "$as_me:5324: 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 +@@ -5284,7 +5333,7 @@ for cf_header in \ + curses.h ncurses/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5287 "configure" ++#line 5336 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -5296,16 +5345,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5299: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5348: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5302: \$? = $ac_status" >&5 ++ echo "$as_me:5351: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5305: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5354: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5308: \$? = $ac_status" >&5 ++ echo "$as_me:5357: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -5316,11 +5365,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5319: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:5368: 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:5323: error: No curses header-files found" >&5 ++ { { echo "$as_me:5372: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5330,23 +5379,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:5333: checking for $ac_header" >&5 ++echo "$as_me:5382: 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 5339 "configure" ++#line 5388 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:5343: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:5392: \"$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:5349: \$? = $ac_status" >&5 ++ echo "$as_me:5398: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -5365,7 +5414,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:5368: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:5417: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 5424 "configure" ++#line 5473 "configure" + #include "confdefs.h" + #include + int +@@ -5433,16 +5482,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5436: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5485: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5439: \$? = $ac_status" >&5 ++ echo "$as_me:5488: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5442: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5491: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5445: \$? = $ac_status" >&5 ++ echo "$as_me:5494: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5459,7 +5508,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5462: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5511: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5478,7 +5527,7 @@ fi + + } + +-echo "$as_me:5481: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:5530: 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 +@@ -5490,7 +5539,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5493 "configure" ++#line 5542 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -5514,16 +5563,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5517: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5566: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5520: \$? = $ac_status" >&5 ++ echo "$as_me:5569: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5523: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5572: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5526: \$? = $ac_status" >&5 ++ echo "$as_me:5575: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -5538,14 +5587,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5541: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:5590: 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:5548: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:5597: 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 +@@ -5666,7 +5715,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5669 "configure" ++#line 5718 "configure" + #include "confdefs.h" + #include + int +@@ -5678,16 +5727,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5681: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5730: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5684: \$? = $ac_status" >&5 ++ echo "$as_me:5733: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5687: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5736: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5690: \$? = $ac_status" >&5 ++ echo "$as_me:5739: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5704,7 +5753,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5707: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5756: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5727,7 +5776,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5730 "configure" ++#line 5779 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -5751,16 +5800,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5754: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5803: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5757: \$? = $ac_status" >&5 ++ echo "$as_me:5806: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5760: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5809: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5763: \$? = $ac_status" >&5 ++ echo "$as_me:5812: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -5781,12 +5830,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5784: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5833: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:5789: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:5838: 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%/[^/]*$%%'` +@@ -5822,7 +5871,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5825 "configure" ++#line 5874 "configure" + #include "confdefs.h" + #include + int +@@ -5834,16 +5883,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5837: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5886: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5840: \$? = $ac_status" >&5 ++ echo "$as_me:5889: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5843: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5892: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5846: \$? = $ac_status" >&5 ++ echo "$as_me:5895: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5860,7 +5909,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5863: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5912: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5908,7 +5957,7 @@ EOF + ;; + esac + +-echo "$as_me:5911: checking for terminfo header" >&5 ++echo "$as_me:5960: 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 +@@ -5926,7 +5975,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5929 "configure" ++#line 5978 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -5941,16 +5990,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5944: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5993: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5947: \$? = $ac_status" >&5 ++ echo "$as_me:5996: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5950: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5999: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5953: \$? = $ac_status" >&5 ++ echo "$as_me:6002: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -5966,7 +6015,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5969: result: $cf_cv_term_header" >&5 ++echo "$as_me:6018: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -6004,7 +6053,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:6007: checking for ncurses version" >&5 ++echo "$as_me:6056: 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 +@@ -6030,10 +6079,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:6033: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:6082: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:6036: \$? = $ac_status" >&5 ++ echo "$as_me:6085: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -6043,7 +6092,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6046 "configure" ++#line 6095 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -6068,15 +6117,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:6071: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6120: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6074: \$? = $ac_status" >&5 ++ echo "$as_me:6123: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:6076: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6125: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6079: \$? = $ac_status" >&5 ++ echo "$as_me:6128: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -6090,7 +6139,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:6093: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:6142: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -6103,7 +6152,7 @@ cf_nculib_root=ncurses + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:6106: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:6155: 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 +@@ -6111,7 +6160,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6114 "configure" ++#line 6163 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6130,16 +6179,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6133: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6182: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6136: \$? = $ac_status" >&5 ++ echo "$as_me:6185: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6139: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6188: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6142: \$? = $ac_status" >&5 ++ echo "$as_me:6191: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -6150,10 +6199,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6153: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:6202: 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:6156: checking for initscr in -lgpm" >&5 ++ echo "$as_me:6205: 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 +@@ -6161,7 +6210,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6164 "configure" ++#line 6213 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6180,16 +6229,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6183: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6232: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6186: \$? = $ac_status" >&5 ++ echo "$as_me:6235: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6189: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6238: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6192: \$? = $ac_status" >&5 ++ echo "$as_me:6241: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -6200,7 +6249,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6203: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:6252: 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" +@@ -6215,7 +6264,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:6218: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:6267: 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 +@@ -6223,7 +6272,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6226 "configure" ++#line 6275 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6242,16 +6291,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6245: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6294: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6248: \$? = $ac_status" >&5 ++ echo "$as_me:6297: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6251: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6300: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6254: \$? = $ac_status" >&5 ++ echo "$as_me:6303: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -6262,7 +6311,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6265: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:6314: 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" +@@ -6311,13 +6360,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:6314: checking for initscr" >&5 ++ echo "$as_me:6363: 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 6320 "configure" ++#line 6369 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -6348,16 +6397,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6351: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6400: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6354: \$? = $ac_status" >&5 ++ echo "$as_me:6403: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6357: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6406: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6360: \$? = $ac_status" >&5 ++ echo "$as_me:6409: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -6367,18 +6416,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:6370: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:6419: 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:6377: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:6426: 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 6381 "configure" ++#line 6430 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6390,25 +6439,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6393: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6442: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6396: \$? = $ac_status" >&5 ++ echo "$as_me:6445: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6399: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6448: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6402: \$? = $ac_status" >&5 ++ echo "$as_me:6451: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6404: result: yes" >&5 ++ echo "$as_me:6453: 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:6411: result: no" >&5 ++echo "$as_me:6460: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -6476,11 +6525,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:6479: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:6528: 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 6483 "configure" ++#line 6532 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6492,25 +6541,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6495: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6544: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6498: \$? = $ac_status" >&5 ++ echo "$as_me:6547: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6501: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6550: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6504: \$? = $ac_status" >&5 ++ echo "$as_me:6553: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6506: result: yes" >&5 ++ echo "$as_me:6555: 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:6513: result: no" >&5 ++echo "$as_me:6562: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -6525,7 +6574,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:6528: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:6577: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -6533,7 +6582,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:6536: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:6585: 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 +@@ -6543,7 +6592,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6546 "configure" ++#line 6595 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6555,23 +6604,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6558: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6607: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6561: \$? = $ac_status" >&5 ++ echo "$as_me:6610: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6564: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6613: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6567: \$? = $ac_status" >&5 ++ echo "$as_me:6616: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6569: result: yes" >&5 ++ echo "$as_me:6618: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:6574: result: no" >&5 ++echo "$as_me:6623: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -6589,7 +6638,7 @@ else + NCURSES_CONFIG=none + fi + +-echo "$as_me:6592: checking if you want wide-character code" >&5 ++echo "$as_me:6641: checking if you want wide-character code" >&5 + echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 + + # Check whether --enable-widec or --disable-widec was given. +@@ -6599,30 +6648,30 @@ if test "${enable_widec+set}" = set; then + else + with_widec=no + fi; +-echo "$as_me:6602: result: $with_widec" >&5 ++echo "$as_me:6651: result: $with_widec" >&5 + echo "${ECHO_T}$with_widec" >&6 + if test "$with_widec" = yes ; then + + for ac_header in wchar.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:6609: checking for $ac_header" >&5 ++echo "$as_me:6658: 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 6615 "configure" ++#line 6664 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:6619: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:6668: \"$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:6625: \$? = $ac_status" >&5 ++ echo "$as_me:6674: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -6641,7 +6690,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:6644: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:6693: 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 <&5 ++echo "$as_me:6703: 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 +@@ -6659,7 +6708,7 @@ else + + cf_save_LIBS="$LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6662 "configure" ++#line 6711 "configure" + #include "confdefs.h" + + #include +@@ -6677,16 +6726,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6680: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6729: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6683: \$? = $ac_status" >&5 ++ echo "$as_me:6732: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6686: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6735: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6689: \$? = $ac_status" >&5 ++ echo "$as_me:6738: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_utf8_lib=yes + else +@@ -6698,12 +6747,12 @@ cat "conftest.$ac_ext" >&5 + cf_cv_header_path_utf8= + cf_cv_library_path_utf8= + +-echo "${as_me:-configure}:6701: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6750: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6706 "configure" ++#line 6755 "configure" + #include "confdefs.h" + + #include +@@ -6716,16 +6765,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6719: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6768: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6722: \$? = $ac_status" >&5 ++ echo "$as_me:6771: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6725: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6774: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6728: \$? = $ac_status" >&5 ++ echo "$as_me:6777: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -6739,7 +6788,7 @@ cat "conftest.$ac_ext" >&5 + LIBS="-lutf8 $cf_save_LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6742 "configure" ++#line 6791 "configure" + #include "confdefs.h" + + #include +@@ -6752,16 +6801,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6755: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6804: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6758: \$? = $ac_status" >&5 ++ echo "$as_me:6807: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6761: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6810: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6764: \$? = $ac_status" >&5 ++ echo "$as_me:6813: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -6778,9 +6827,9 @@ cat "conftest.$ac_ext" >&5 + + test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 + +-echo "${as_me:-configure}:6781: testing find linkage for utf8 library ..." 1>&5 ++echo "${as_me:-configure}:6830: testing find linkage for utf8 library ..." 1>&5 + +-echo "${as_me:-configure}:6783: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6832: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_CPPFLAGS="$CPPFLAGS" + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -6871,7 +6920,7 @@ cf_search="$cf_search $cf_header_path_list" + 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}:6874: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:6923: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_save_CPPFLAGS" + +@@ -6879,7 +6928,7 @@ echo "${as_me:-configure}:6874: testing ... testing $cf_cv_header_path_utf8 ..." + CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6882 "configure" ++#line 6931 "configure" + #include "confdefs.h" + + #include +@@ -6892,21 +6941,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6898: \$? = $ac_status" >&5 ++ echo "$as_me:6947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6904: \$? = $ac_status" >&5 ++ echo "$as_me:6953: \$? = $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}:6909: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:6958: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=maybe + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -6924,7 +6973,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + if test "$cf_cv_find_linkage_utf8" = maybe ; then + +-echo "${as_me:-configure}:6927: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6976: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + cf_save_LDFLAGS="$LDFLAGS" +@@ -6999,13 +7048,13 @@ cf_search="$cf_library_path_list $cf_search" + 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}:7002: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7051: 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 7008 "configure" ++#line 7057 "configure" + #include "confdefs.h" + + #include +@@ -7018,21 +7067,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7021: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7070: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7024: \$? = $ac_status" >&5 ++ echo "$as_me:7073: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7027: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7076: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7030: \$? = $ac_status" >&5 ++ echo "$as_me:7079: \$? = $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}:7035: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7084: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=yes + cf_cv_library_file_utf8="-lutf8" +@@ -7074,7 +7123,7 @@ fi + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:7077: result: $cf_cv_utf8_lib" >&5 ++echo "$as_me:7126: 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 +@@ -7112,7 +7161,7 @@ if test -n "$cf_cv_header_path_utf8" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7115 "configure" ++#line 7164 "configure" + #include "confdefs.h" + #include + int +@@ -7124,16 +7173,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7127: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7176: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7130: \$? = $ac_status" >&5 ++ echo "$as_me:7179: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7133: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7182: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7136: \$? = $ac_status" >&5 ++ echo "$as_me:7185: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -7150,7 +7199,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:7153: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:7202: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -7186,7 +7235,7 @@ if test -n "$cf_cv_library_path_utf8" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:7189: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:7238: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -7216,13 +7265,13 @@ cf_ncuconfig_root=ncursesw + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:7219: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:7268: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:7222: result: yes" >&5 ++ echo "$as_me:7271: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:7225: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:7274: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -7355,7 +7404,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7358 "configure" ++#line 7407 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -7367,37 +7416,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7370: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7419: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7373: \$? = $ac_status" >&5 ++ echo "$as_me:7422: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7376: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7425: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7379: \$? = $ac_status" >&5 ++ echo "$as_me:7428: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7385 "configure" ++#line 7434 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:7392: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7441: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7395: \$? = $ac_status" >&5 ++ echo "$as_me:7444: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:7397: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7446: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7400: \$? = $ac_status" >&5 ++ echo "$as_me:7449: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -7571,7 +7620,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7574 "configure" ++#line 7623 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -7583,37 +7632,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7586: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7635: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7589: \$? = $ac_status" >&5 ++ echo "$as_me:7638: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7592: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7641: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7595: \$? = $ac_status" >&5 ++ echo "$as_me:7644: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7601 "configure" ++#line 7650 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:7608: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7657: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7611: \$? = $ac_status" >&5 ++ echo "$as_me:7660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:7613: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7662: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7616: \$? = $ac_status" >&5 ++ echo "$as_me:7665: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -7630,7 +7679,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:7633: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:7682: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -7646,7 +7695,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:7649: checking for terminfo header" >&5 ++echo "$as_me:7698: 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 +@@ -7664,7 +7713,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7667 "configure" ++#line 7716 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -7679,16 +7728,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7682: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7731: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7685: \$? = $ac_status" >&5 ++ echo "$as_me:7734: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7688: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7737: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7691: \$? = $ac_status" >&5 ++ echo "$as_me:7740: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -7704,7 +7753,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:7707: result: $cf_cv_term_header" >&5 ++echo "$as_me:7756: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -7739,7 +7788,7 @@ esac + fi + + else +- echo "$as_me:7742: result: no" >&5 ++ echo "$as_me:7791: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -7755,7 +7804,7 @@ if test -n "$ac_tool_prefix"; then + 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:7758: checking for $ac_word" >&5 ++echo "$as_me:7807: 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 +@@ -7770,7 +7819,7 @@ for ac_dir in $ac_dummy; do + 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:7773: found $ac_dir/$ac_word" >&5 ++echo "$as_me:7822: found $ac_dir/$ac_word" >&5 + break + done + +@@ -7778,10 +7827,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:7781: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:7830: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:7784: result: no" >&5 ++ echo "$as_me:7833: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -7794,7 +7843,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:7797: checking for $ac_word" >&5 ++echo "$as_me:7846: 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 +@@ -7809,7 +7858,7 @@ for ac_dir in $ac_dummy; do + 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:7812: found $ac_dir/$ac_word" >&5 ++echo "$as_me:7861: found $ac_dir/$ac_word" >&5 + break + done + +@@ -7817,10 +7866,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:7820: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:7869: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:7823: result: no" >&5 ++ echo "$as_me:7872: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -7977,7 +8026,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:7980: checking if we have identified curses headers" >&5 ++echo "$as_me:8029: 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 +@@ -7989,7 +8038,7 @@ for cf_header in \ + curses.h ncursesw/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7992 "configure" ++#line 8041 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -8001,16 +8050,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8004: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8053: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8007: \$? = $ac_status" >&5 ++ echo "$as_me:8056: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8010: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8059: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8013: \$? = $ac_status" >&5 ++ echo "$as_me:8062: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -8021,11 +8070,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8024: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:8073: 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:8028: error: No curses header-files found" >&5 ++ { { echo "$as_me:8077: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -8035,23 +8084,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:8038: checking for $ac_header" >&5 ++echo "$as_me:8087: 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 8044 "configure" ++#line 8093 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:8048: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:8097: \"$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:8054: \$? = $ac_status" >&5 ++ echo "$as_me:8103: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -8070,7 +8119,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:8073: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:8122: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 8129 "configure" ++#line 8178 "configure" + #include "confdefs.h" + #include + int +@@ -8138,16 +8187,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8141: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8190: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8144: \$? = $ac_status" >&5 ++ echo "$as_me:8193: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8147: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8196: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8150: \$? = $ac_status" >&5 ++ echo "$as_me:8199: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8164,7 +8213,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8167: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8216: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8183,7 +8232,7 @@ fi + + } + +-echo "$as_me:8186: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:8235: 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 +@@ -8195,7 +8244,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8198 "configure" ++#line 8247 "configure" + #include "confdefs.h" + + #define _XOPEN_SOURCE_EXTENDED +@@ -8227,16 +8276,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8230: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8279: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8233: \$? = $ac_status" >&5 ++ echo "$as_me:8282: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8236: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8285: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8239: \$? = $ac_status" >&5 ++ echo "$as_me:8288: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -8251,14 +8300,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8254: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:8303: 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:8261: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:8310: 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 +@@ -8379,7 +8428,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8382 "configure" ++#line 8431 "configure" + #include "confdefs.h" + #include + int +@@ -8391,16 +8440,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8394: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8443: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8397: \$? = $ac_status" >&5 ++ echo "$as_me:8446: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8400: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8449: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8403: \$? = $ac_status" >&5 ++ echo "$as_me:8452: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8417,7 +8466,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8420: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8469: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8440,7 +8489,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8443 "configure" ++#line 8492 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -8464,16 +8513,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8467: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8516: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8470: \$? = $ac_status" >&5 ++ echo "$as_me:8519: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8473: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8522: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8476: \$? = $ac_status" >&5 ++ echo "$as_me:8525: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -8494,12 +8543,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8497: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8546: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:8502: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:8551: 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%/[^/]*$%%'` +@@ -8535,7 +8584,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8538 "configure" ++#line 8587 "configure" + #include "confdefs.h" + #include + int +@@ -8547,16 +8596,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8550: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8599: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8553: \$? = $ac_status" >&5 ++ echo "$as_me:8602: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8556: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8605: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8559: \$? = $ac_status" >&5 ++ echo "$as_me:8608: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8573,7 +8622,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8576: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8625: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8621,7 +8670,7 @@ EOF + ;; + esac + +-echo "$as_me:8624: checking for terminfo header" >&5 ++echo "$as_me:8673: 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 +@@ -8639,7 +8688,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8642 "configure" ++#line 8691 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -8654,16 +8703,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8657: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8706: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8660: \$? = $ac_status" >&5 ++ echo "$as_me:8709: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8663: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8712: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8666: \$? = $ac_status" >&5 ++ echo "$as_me:8715: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -8679,7 +8728,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8682: result: $cf_cv_term_header" >&5 ++echo "$as_me:8731: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -8717,7 +8766,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:8720: checking for ncurses version" >&5 ++echo "$as_me:8769: 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 +@@ -8743,10 +8792,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:8746: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:8795: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:8749: \$? = $ac_status" >&5 ++ echo "$as_me:8798: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -8756,7 +8805,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8759 "configure" ++#line 8808 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -8781,15 +8830,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:8784: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8833: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8787: \$? = $ac_status" >&5 ++ echo "$as_me:8836: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:8789: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8838: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8792: \$? = $ac_status" >&5 ++ echo "$as_me:8841: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -8803,7 +8852,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:8806: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:8855: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -8816,7 +8865,7 @@ cf_nculib_root=ncursesw + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:8819: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:8868: 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 +@@ -8824,7 +8873,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8827 "configure" ++#line 8876 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8843,16 +8892,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8846: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8895: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8849: \$? = $ac_status" >&5 ++ echo "$as_me:8898: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8852: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8901: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8855: \$? = $ac_status" >&5 ++ echo "$as_me:8904: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -8863,10 +8912,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8866: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:8915: 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:8869: checking for initscr in -lgpm" >&5 ++ echo "$as_me:8918: 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 +@@ -8874,7 +8923,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8877 "configure" ++#line 8926 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8893,16 +8942,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8896: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8945: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8899: \$? = $ac_status" >&5 ++ echo "$as_me:8948: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8902: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8951: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8905: \$? = $ac_status" >&5 ++ echo "$as_me:8954: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -8913,7 +8962,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8916: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:8965: 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" +@@ -8928,7 +8977,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:8931: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:8980: 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 +@@ -8936,7 +8985,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8939 "configure" ++#line 8988 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8955,16 +9004,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8958: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9007: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8961: \$? = $ac_status" >&5 ++ echo "$as_me:9010: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8964: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9013: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8967: \$? = $ac_status" >&5 ++ echo "$as_me:9016: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -8975,7 +9024,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8978: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:9027: 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" +@@ -9024,13 +9073,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:9027: checking for initscr" >&5 ++ echo "$as_me:9076: 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 9033 "configure" ++#line 9082 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9061,16 +9110,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9064: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9113: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9067: \$? = $ac_status" >&5 ++ echo "$as_me:9116: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9070: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9119: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9073: \$? = $ac_status" >&5 ++ echo "$as_me:9122: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -9080,18 +9129,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9083: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:9132: 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:9090: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:9139: 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 9094 "configure" ++#line 9143 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9103,25 +9152,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9106: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9155: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9109: \$? = $ac_status" >&5 ++ echo "$as_me:9158: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9112: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9161: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9115: \$? = $ac_status" >&5 ++ echo "$as_me:9164: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9117: result: yes" >&5 ++ echo "$as_me:9166: 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:9124: result: no" >&5 ++echo "$as_me:9173: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -9189,11 +9238,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:9192: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:9241: 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 9196 "configure" ++#line 9245 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9205,25 +9254,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9208: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9257: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9211: \$? = $ac_status" >&5 ++ echo "$as_me:9260: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9214: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9263: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9217: \$? = $ac_status" >&5 ++ echo "$as_me:9266: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9219: result: yes" >&5 ++ echo "$as_me:9268: 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:9226: result: no" >&5 ++echo "$as_me:9275: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -9238,7 +9287,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:9241: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:9290: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -9246,7 +9295,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:9249: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:9298: 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 +@@ -9256,7 +9305,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9259 "configure" ++#line 9308 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9268,23 +9317,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9271: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9320: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9274: \$? = $ac_status" >&5 ++ echo "$as_me:9323: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9277: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9326: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9280: \$? = $ac_status" >&5 ++ echo "$as_me:9329: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9282: result: yes" >&5 ++ echo "$as_me:9331: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:9287: result: no" >&5 ++echo "$as_me:9336: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -9308,13 +9357,13 @@ cf_ncuconfig_root=ncurses + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:9311: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:9360: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:9314: result: yes" >&5 ++ echo "$as_me:9363: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:9317: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:9366: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -9447,7 +9496,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9450 "configure" ++#line 9499 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9459,37 +9508,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9462: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9511: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9465: \$? = $ac_status" >&5 ++ echo "$as_me:9514: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9468: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9517: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9471: \$? = $ac_status" >&5 ++ echo "$as_me:9520: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9477 "configure" ++#line 9526 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9484: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9533: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9487: \$? = $ac_status" >&5 ++ echo "$as_me:9536: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9489: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9538: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9492: \$? = $ac_status" >&5 ++ echo "$as_me:9541: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -9663,7 +9712,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9666 "configure" ++#line 9715 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9675,37 +9724,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9678: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9727: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9681: \$? = $ac_status" >&5 ++ echo "$as_me:9730: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9684: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9733: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9687: \$? = $ac_status" >&5 ++ echo "$as_me:9736: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9693 "configure" ++#line 9742 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9700: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9749: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9703: \$? = $ac_status" >&5 ++ echo "$as_me:9752: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9705: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9754: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9708: \$? = $ac_status" >&5 ++ echo "$as_me:9757: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -9722,7 +9771,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:9725: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:9774: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -9738,7 +9787,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:9741: checking for terminfo header" >&5 ++echo "$as_me:9790: 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 +@@ -9756,7 +9805,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9759 "configure" ++#line 9808 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -9771,16 +9820,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9774: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:9823: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9777: \$? = $ac_status" >&5 ++ echo "$as_me:9826: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9780: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9829: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9783: \$? = $ac_status" >&5 ++ echo "$as_me:9832: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -9796,7 +9845,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:9799: result: $cf_cv_term_header" >&5 ++echo "$as_me:9848: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -9831,7 +9880,7 @@ esac + fi + + else +- echo "$as_me:9834: result: no" >&5 ++ echo "$as_me:9883: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -9847,7 +9896,7 @@ if test -n "$ac_tool_prefix"; then + 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:9850: checking for $ac_word" >&5 ++echo "$as_me:9899: 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 +@@ -9862,7 +9911,7 @@ for ac_dir in $ac_dummy; do + 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:9865: found $ac_dir/$ac_word" >&5 ++echo "$as_me:9914: found $ac_dir/$ac_word" >&5 + break + done + +@@ -9870,10 +9919,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:9873: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:9922: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:9876: result: no" >&5 ++ echo "$as_me:9925: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -9886,7 +9935,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:9889: checking for $ac_word" >&5 ++echo "$as_me:9938: 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 +@@ -9901,7 +9950,7 @@ for ac_dir in $ac_dummy; do + 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:9904: found $ac_dir/$ac_word" >&5 ++echo "$as_me:9953: found $ac_dir/$ac_word" >&5 + break + done + +@@ -9909,10 +9958,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:9912: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:9961: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:9915: result: no" >&5 ++ echo "$as_me:9964: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -10069,7 +10118,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:10072: checking if we have identified curses headers" >&5 ++echo "$as_me:10121: 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 +@@ -10081,7 +10130,7 @@ for cf_header in \ + curses.h ncurses/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10084 "configure" ++#line 10133 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -10093,16 +10142,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10096: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10145: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10099: \$? = $ac_status" >&5 ++ echo "$as_me:10148: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10102: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10151: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10105: \$? = $ac_status" >&5 ++ echo "$as_me:10154: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -10113,11 +10162,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10116: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:10165: 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:10120: error: No curses header-files found" >&5 ++ { { echo "$as_me:10169: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -10127,23 +10176,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:10130: checking for $ac_header" >&5 ++echo "$as_me:10179: 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 10136 "configure" ++#line 10185 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:10140: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:10189: \"$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:10146: \$? = $ac_status" >&5 ++ echo "$as_me:10195: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -10162,7 +10211,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:10165: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:10214: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 10221 "configure" ++#line 10270 "configure" + #include "confdefs.h" + #include + int +@@ -10230,16 +10279,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10233: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10282: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10236: \$? = $ac_status" >&5 ++ echo "$as_me:10285: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10239: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10288: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10242: \$? = $ac_status" >&5 ++ echo "$as_me:10291: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10256,7 +10305,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10259: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10308: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10275,7 +10324,7 @@ fi + + } + +-echo "$as_me:10278: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:10327: 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 +@@ -10287,7 +10336,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10290 "configure" ++#line 10339 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10311,16 +10360,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10314: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10363: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10317: \$? = $ac_status" >&5 ++ echo "$as_me:10366: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10320: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10369: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10323: \$? = $ac_status" >&5 ++ echo "$as_me:10372: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -10335,14 +10384,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10338: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:10387: 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:10345: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:10394: 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 +@@ -10463,7 +10512,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10466 "configure" ++#line 10515 "configure" + #include "confdefs.h" + #include + int +@@ -10475,16 +10524,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10478: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10527: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10481: \$? = $ac_status" >&5 ++ echo "$as_me:10530: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10484: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10533: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10487: \$? = $ac_status" >&5 ++ echo "$as_me:10536: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10501,7 +10550,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10504: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10553: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10524,7 +10573,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10527 "configure" ++#line 10576 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10548,16 +10597,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10551: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10600: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10554: \$? = $ac_status" >&5 ++ echo "$as_me:10603: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10557: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10606: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10560: \$? = $ac_status" >&5 ++ echo "$as_me:10609: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -10578,12 +10627,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10581: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10630: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:10586: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:10635: 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%/[^/]*$%%'` +@@ -10619,7 +10668,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10622 "configure" ++#line 10671 "configure" + #include "confdefs.h" + #include + int +@@ -10631,16 +10680,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10634: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10683: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10637: \$? = $ac_status" >&5 ++ echo "$as_me:10686: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10640: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10689: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10643: \$? = $ac_status" >&5 ++ echo "$as_me:10692: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10657,7 +10706,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10660: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10709: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10705,7 +10754,7 @@ EOF + ;; + esac + +-echo "$as_me:10708: checking for terminfo header" >&5 ++echo "$as_me:10757: 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 +@@ -10723,7 +10772,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10726 "configure" ++#line 10775 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -10738,16 +10787,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10741: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10790: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10744: \$? = $ac_status" >&5 ++ echo "$as_me:10793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10747: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10796: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10750: \$? = $ac_status" >&5 ++ echo "$as_me:10799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -10763,7 +10812,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10766: result: $cf_cv_term_header" >&5 ++echo "$as_me:10815: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -10801,7 +10850,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:10804: checking for ncurses version" >&5 ++echo "$as_me:10853: 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 +@@ -10827,10 +10876,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:10830: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:10879: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:10833: \$? = $ac_status" >&5 ++ echo "$as_me:10882: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -10840,7 +10889,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10843 "configure" ++#line 10892 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -10865,15 +10914,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:10868: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10917: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10871: \$? = $ac_status" >&5 ++ echo "$as_me:10920: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:10873: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10922: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10876: \$? = $ac_status" >&5 ++ echo "$as_me:10925: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -10887,7 +10936,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:10890: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:10939: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -10900,7 +10949,7 @@ cf_nculib_root=ncurses + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:10903: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:10952: 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 +@@ -10908,7 +10957,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10911 "configure" ++#line 10960 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -10927,16 +10976,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:10930: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10979: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10933: \$? = $ac_status" >&5 ++ echo "$as_me:10982: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:10936: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10985: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10939: \$? = $ac_status" >&5 ++ echo "$as_me:10988: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -10947,10 +10996,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:10950: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:10999: 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:10953: checking for initscr in -lgpm" >&5 ++ echo "$as_me:11002: 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 +@@ -10958,7 +11007,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10961 "configure" ++#line 11010 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -10977,16 +11026,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:10980: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11029: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10983: \$? = $ac_status" >&5 ++ echo "$as_me:11032: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:10986: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11035: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10989: \$? = $ac_status" >&5 ++ echo "$as_me:11038: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -10997,7 +11046,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11000: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:11049: 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" +@@ -11012,7 +11061,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:11015: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:11064: 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 +@@ -11020,7 +11069,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11023 "configure" ++#line 11072 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -11039,16 +11088,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11042: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11091: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11045: \$? = $ac_status" >&5 ++ echo "$as_me:11094: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11048: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11097: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11051: \$? = $ac_status" >&5 ++ echo "$as_me:11100: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -11059,7 +11108,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11062: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:11111: 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" +@@ -11108,13 +11157,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:11111: checking for initscr" >&5 ++ echo "$as_me:11160: 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 11117 "configure" ++#line 11166 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -11145,16 +11194,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11148: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11197: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11151: \$? = $ac_status" >&5 ++ echo "$as_me:11200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11154: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11203: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11157: \$? = $ac_status" >&5 ++ echo "$as_me:11206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -11164,18 +11213,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:11167: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:11216: 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:11174: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:11223: 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 11178 "configure" ++#line 11227 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11187,25 +11236,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11190: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11239: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11193: \$? = $ac_status" >&5 ++ echo "$as_me:11242: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11196: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11245: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11199: \$? = $ac_status" >&5 ++ echo "$as_me:11248: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11201: result: yes" >&5 ++ echo "$as_me:11250: 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:11208: result: no" >&5 ++echo "$as_me:11257: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -11273,11 +11322,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:11276: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:11325: 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 11280 "configure" ++#line 11329 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11289,25 +11338,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11292: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11341: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11295: \$? = $ac_status" >&5 ++ echo "$as_me:11344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11301: \$? = $ac_status" >&5 ++ echo "$as_me:11350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11303: result: yes" >&5 ++ echo "$as_me:11352: 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:11310: result: no" >&5 ++echo "$as_me:11359: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -11322,7 +11371,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:11325: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:11374: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -11330,7 +11379,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:11333: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:11382: 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 +@@ -11340,7 +11389,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11343 "configure" ++#line 11392 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11352,23 +11401,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11355: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11404: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11358: \$? = $ac_status" >&5 ++ echo "$as_me:11407: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11361: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11410: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11364: \$? = $ac_status" >&5 ++ echo "$as_me:11413: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11366: result: yes" >&5 ++ echo "$as_me:11415: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:11371: result: no" >&5 ++echo "$as_me:11420: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -11421,10 +11470,10 @@ else + AUTOCONF_$cf_name NCURSES_VERSION_$cf_name + CF_EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | fgrep AUTOCONF_$cf_name >conftest.out" +- { (eval echo "$as_me:11424: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:11473: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:11427: \$? = $ac_status" >&5 ++ echo "$as_me:11476: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_result=`sed -e "s/^.*AUTOCONF_${cf_name}[ ][ ]*//" conftest.out` +@@ -11442,10 +11491,10 @@ cf_cv_rel_version=${NCURSES_MAJOR}.${NCURSES_MINOR} + + cf_cv_timestamp=`date` + +-echo "$as_me:11445: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 ++echo "$as_me:11494: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 + echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6 + +-echo "$as_me:11448: checking if you want to have a library-prefix" >&5 ++echo "$as_me:11497: checking if you want to have a library-prefix" >&5 + echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 + + # Check whether --with-lib-prefix or --without-lib-prefix was given. +@@ -11455,7 +11504,7 @@ if test "${with_lib_prefix+set}" = set; then + else + with_lib_prefix=auto + fi; +-echo "$as_me:11458: result: $with_lib_prefix" >&5 ++echo "$as_me:11507: result: $with_lib_prefix" >&5 + echo "${ECHO_T}$with_lib_prefix" >&6 + + if test "$with_lib_prefix" = auto +@@ -11493,7 +11542,7 @@ if test X"$CC_G_OPT" = X"" ; then + test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT='' + fi + +-echo "$as_me:11496: checking for default loader flags" >&5 ++echo "$as_me:11545: checking for default loader flags" >&5 + echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 + case $DFT_LWR_MODEL in + (normal) LD_MODEL='' ;; +@@ -11501,13 +11550,13 @@ case $DFT_LWR_MODEL in + (profile) LD_MODEL='-pg';; + (shared) LD_MODEL='' ;; + esac +-echo "$as_me:11504: result: $LD_MODEL" >&5 ++echo "$as_me:11553: result: $LD_MODEL" >&5 + echo "${ECHO_T}$LD_MODEL" >&6 + + LD_RPATH_OPT= + if test "x$cf_cv_enable_rpath" != xno + then +- echo "$as_me:11510: checking for an rpath option" >&5 ++ echo "$as_me:11559: checking for an rpath option" >&5 + echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + case "$cf_cv_system_name" in + (irix*) +@@ -11538,12 +11587,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + (*) + ;; + esac +- echo "$as_me:11541: result: $LD_RPATH_OPT" >&5 ++ echo "$as_me:11590: result: $LD_RPATH_OPT" >&5 + echo "${ECHO_T}$LD_RPATH_OPT" >&6 + + case "x$LD_RPATH_OPT" in + (x-R*) +- echo "$as_me:11546: checking if we need a space after rpath option" >&5 ++ echo "$as_me:11595: 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" + +@@ -11564,7 +11613,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11567 "configure" ++#line 11616 "configure" + #include "confdefs.h" + + int +@@ -11576,16 +11625,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11579: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11628: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11582: \$? = $ac_status" >&5 ++ echo "$as_me:11631: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11585: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11634: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11588: \$? = $ac_status" >&5 ++ echo "$as_me:11637: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_space=no + else +@@ -11595,7 +11644,7 @@ cf_rpath_space=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:11598: result: $cf_rpath_space" >&5 ++ echo "$as_me:11647: result: $cf_rpath_space" >&5 + echo "${ECHO_T}$cf_rpath_space" >&6 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " + ;; +@@ -11617,7 +11666,7 @@ fi + cf_ld_rpath_opt= + test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" + +- echo "$as_me:11620: checking if release/abi version should be used for shared libs" >&5 ++ echo "$as_me:11669: checking if release/abi version should be used for shared libs" >&5 + echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 + + # Check whether --with-shlib-version or --without-shlib-version was given. +@@ -11632,9 +11681,9 @@ if test "${with_shlib_version+set}" = set; then + cf_cv_shlib_version=$withval + ;; + (*) +- echo "$as_me:11635: result: $withval" >&5 ++ echo "$as_me:11684: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- { { echo "$as_me:11637: error: option value must be one of: rel, abi, or auto" >&5 ++ { { echo "$as_me:11686: error: option value must be one of: rel, abi, or auto" >&5 + echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -11643,7 +11692,7 @@ echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + else + cf_cv_shlib_version=auto + fi; +- echo "$as_me:11646: result: $cf_cv_shlib_version" >&5 ++ echo "$as_me:11695: result: $cf_cv_shlib_version" >&5 + echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + cf_cv_rm_so_locs=no +@@ -11666,14 +11715,14 @@ echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + if test "$cf_try_fPIC" = yes + then +- echo "$as_me:11669: checking which $CC option to use" >&5 ++ echo "$as_me:11718: checking which $CC option to use" >&5 + echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + for CC_SHARED_OPTS in -fPIC -fpic '' + do + CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11676 "configure" ++#line 11725 "configure" + #include "confdefs.h" + #include + int +@@ -11685,16 +11734,16 @@ int x = 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11688: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11737: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11691: \$? = $ac_status" >&5 ++ echo "$as_me:11740: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11694: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11743: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11697: \$? = $ac_status" >&5 ++ echo "$as_me:11746: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -11703,7 +11752,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done +- echo "$as_me:11706: result: $CC_SHARED_OPTS" >&5 ++ echo "$as_me:11755: result: $CC_SHARED_OPTS" >&5 + echo "${ECHO_T}$CC_SHARED_OPTS" >&6 + CFLAGS="$cf_save_CFLAGS" + fi +@@ -11774,7 +11823,7 @@ CF_EOF + MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' + test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi + cf_cv_shlib_version_infix=yes +- echo "$as_me:11777: checking if ld -search_paths_first works" >&5 ++ echo "$as_me:11826: checking if ld -search_paths_first works" >&5 + echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 + if test "${cf_cv_ldflags_search_paths_first+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11783,7 +11832,7 @@ else + cf_save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11786 "configure" ++#line 11835 "configure" + #include "confdefs.h" + + int +@@ -11795,16 +11844,16 @@ int i; + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11798: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11847: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11801: \$? = $ac_status" >&5 ++ echo "$as_me:11850: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11804: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11853: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11807: \$? = $ac_status" >&5 ++ echo "$as_me:11856: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ldflags_search_paths_first=yes + else +@@ -11815,7 +11864,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LDFLAGS=$cf_save_LDFLAGS + fi +-echo "$as_me:11818: result: $cf_cv_ldflags_search_paths_first" >&5 ++echo "$as_me:11867: result: $cf_cv_ldflags_search_paths_first" >&5 + echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 + if test "$cf_cv_ldflags_search_paths_first" = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" +@@ -12165,7 +12214,7 @@ CF_EOF + do + CFLAGS="$cf_shared_opts $cf_save_CFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12168 "configure" ++#line 12217 "configure" + #include "confdefs.h" + #include + int +@@ -12177,16 +12226,16 @@ printf("Hello\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12180: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12229: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12183: \$? = $ac_status" >&5 ++ echo "$as_me:12232: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12186: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12235: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12189: \$? = $ac_status" >&5 ++ echo "$as_me:12238: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -12223,7 +12272,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes + ;; + (*) +- { echo "$as_me:12226: WARNING: ignored --with-shlib-version" >&5 ++ { echo "$as_me:12275: WARNING: ignored --with-shlib-version" >&5 + echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + ;; + esac +@@ -12233,7 +12282,7 @@ echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + if test -n "$cf_try_cflags" + then + cat > conftest.$ac_ext < + int main(int argc, char *argv[]) + { +@@ -12245,18 +12294,18 @@ EOF + for cf_opt in $cf_try_cflags + do + CFLAGS="$cf_save_CFLAGS -$cf_opt" +- echo "$as_me:12248: checking if CFLAGS option -$cf_opt works" >&5 ++ echo "$as_me:12297: checking if CFLAGS option -$cf_opt works" >&5 + echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6 +- if { (eval echo "$as_me:12250: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:12299: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12253: \$? = $ac_status" >&5 ++ echo "$as_me:12302: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- echo "$as_me:12255: result: yes" >&5 ++ echo "$as_me:12304: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + cf_save_CFLAGS="$CFLAGS" + else +- echo "$as_me:12259: result: no" >&5 ++ echo "$as_me:12308: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + done +@@ -12271,17 +12320,17 @@ echo "${ECHO_T}no" >&6 + + test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6 + +-echo "${as_me:-configure}:12274: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 ++echo "${as_me:-configure}:12323: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 + + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:12278: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:12327: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + # The test/sample programs in the original tree link using rpath option. + # Make it optional for packagers. + if test -n "$LOCAL_LDFLAGS" + then +- echo "$as_me:12284: checking if you want to link sample programs with rpath option" >&5 ++ echo "$as_me:12333: checking if you want to link sample programs with rpath option" >&5 + echo $ECHO_N "checking if you want to link sample programs with rpath option... $ECHO_C" >&6 + + # Check whether --enable-rpath-link or --disable-rpath-link was given. +@@ -12291,7 +12340,7 @@ if test "${enable_rpath_link+set}" = set; then + else + with_rpath_link=yes + fi; +- echo "$as_me:12294: result: $with_rpath_link" >&5 ++ echo "$as_me:12343: result: $with_rpath_link" >&5 + echo "${ECHO_T}$with_rpath_link" >&6 + if test "$with_rpath_link" = no + then +@@ -12304,7 +12353,7 @@ fi + + ### use option --enable-broken-linker to force on use of broken-linker support + +-echo "$as_me:12307: checking if you want broken-linker support code" >&5 ++echo "$as_me:12356: checking if you want broken-linker support code" >&5 + echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 + + # Check whether --enable-broken_linker or --disable-broken_linker was given. +@@ -12314,7 +12363,7 @@ if test "${enable_broken_linker+set}" = set; then + else + with_broken_linker=no + fi; +-echo "$as_me:12317: result: $with_broken_linker" >&5 ++echo "$as_me:12366: result: $with_broken_linker" >&5 + echo "${ECHO_T}$with_broken_linker" >&6 + + : "${BROKEN_LINKER:=0}" +@@ -12329,14 +12378,14 @@ fi + + # Check to define _XOPEN_SOURCE "automatically" + +-echo "$as_me:12332: checking if the POSIX test-macros are already defined" >&5 ++echo "$as_me:12381: checking if the POSIX test-macros are already defined" >&5 + echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 + if test "${cf_cv_posix_visible+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12339 "configure" ++#line 12388 "configure" + #include "confdefs.h" + #include + int +@@ -12355,16 +12404,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12358: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12407: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12361: \$? = $ac_status" >&5 ++ echo "$as_me:12410: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12364: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12413: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12367: \$? = $ac_status" >&5 ++ echo "$as_me:12416: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_visible=no + else +@@ -12375,7 +12424,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12378: result: $cf_cv_posix_visible" >&5 ++echo "$as_me:12427: result: $cf_cv_posix_visible" >&5 + echo "${ECHO_T}$cf_cv_posix_visible" >&6 + + if test "$cf_cv_posix_visible" = no; then +@@ -12420,14 +12469,14 @@ case "$host_os" in + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-echo "$as_me:12423: checking if this is the GNU C library" >&5 ++echo "$as_me:12472: checking if this is the GNU C library" >&5 + echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 + if test "${cf_cv_gnu_library+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12430 "configure" ++#line 12479 "configure" + #include "confdefs.h" + #include + int +@@ -12446,16 +12495,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12449: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12498: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12452: \$? = $ac_status" >&5 ++ echo "$as_me:12501: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12455: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12504: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12458: \$? = $ac_status" >&5 ++ echo "$as_me:12507: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library=yes + else +@@ -12466,7 +12515,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12469: result: $cf_cv_gnu_library" >&5 ++echo "$as_me:12518: result: $cf_cv_gnu_library" >&5 + echo "${ECHO_T}$cf_cv_gnu_library" >&6 + + if test x$cf_cv_gnu_library = xyes; then +@@ -12474,7 +12523,7 @@ if test x$cf_cv_gnu_library = xyes; then + # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE + # was changed to help a little. newlib incorporated the change about 4 + # years later. +- echo "$as_me:12477: checking if _DEFAULT_SOURCE can be used as a basis" >&5 ++ echo "$as_me:12526: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 + if test "${cf_cv_gnu_library_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12486,7 +12535,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12489 "configure" ++#line 12538 "configure" + #include "confdefs.h" + #include + int +@@ -12505,16 +12554,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12508: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12557: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12511: \$? = $ac_status" >&5 ++ echo "$as_me:12560: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12514: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12563: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12517: \$? = $ac_status" >&5 ++ echo "$as_me:12566: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library_219=yes + else +@@ -12526,12 +12575,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save" + + fi +-echo "$as_me:12529: result: $cf_cv_gnu_library_219" >&5 ++echo "$as_me:12578: result: $cf_cv_gnu_library_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 + + if test "x$cf_cv_gnu_library_219" = xyes; then + cf_save="$CPPFLAGS" +- echo "$as_me:12534: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 ++ echo "$as_me:12583: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_dftsrc_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12636,7 +12685,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12639 "configure" ++#line 12688 "configure" + #include "confdefs.h" + + #include +@@ -12656,16 +12705,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12659: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12708: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12662: \$? = $ac_status" >&5 ++ echo "$as_me:12711: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12665: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12714: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12668: \$? = $ac_status" >&5 ++ echo "$as_me:12717: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_dftsrc_219=yes + else +@@ -12676,7 +12725,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12679: result: $cf_cv_gnu_dftsrc_219" >&5 ++echo "$as_me:12728: result: $cf_cv_gnu_dftsrc_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" + else +@@ -12685,14 +12734,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + + if test "x$cf_cv_gnu_dftsrc_219" != xyes; then + +- echo "$as_me:12688: checking if we must define _GNU_SOURCE" >&5 ++ echo "$as_me:12737: 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 12695 "configure" ++#line 12744 "configure" + #include "confdefs.h" + #include + int +@@ -12707,16 +12756,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12710: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12759: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12713: \$? = $ac_status" >&5 ++ echo "$as_me:12762: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12716: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12765: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12719: \$? = $ac_status" >&5 ++ echo "$as_me:12768: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -12823,7 +12872,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12826 "configure" ++#line 12875 "configure" + #include "confdefs.h" + #include + int +@@ -12838,16 +12887,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12841: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12890: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12844: \$? = $ac_status" >&5 ++ echo "$as_me:12893: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12847: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12896: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12850: \$? = $ac_status" >&5 ++ echo "$as_me:12899: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -12862,12 +12911,12 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12865: result: $cf_cv_gnu_source" >&5 ++echo "$as_me:12914: result: $cf_cv_gnu_source" >&5 + echo "${ECHO_T}$cf_cv_gnu_source" >&6 + + if test "$cf_cv_gnu_source" = yes + then +- echo "$as_me:12870: checking if we should also define _DEFAULT_SOURCE" >&5 ++ echo "$as_me:12919: checking if we should also define _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_default_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12877,7 +12926,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12880 "configure" ++#line 12929 "configure" + #include "confdefs.h" + #include + int +@@ -12892,16 +12941,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12898: \$? = $ac_status" >&5 ++ echo "$as_me:12947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12904: \$? = $ac_status" >&5 ++ echo "$as_me:12953: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_default_source=no + else +@@ -12912,7 +12961,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12915: result: $cf_cv_default_source" >&5 ++echo "$as_me:12964: result: $cf_cv_default_source" >&5 + echo "${ECHO_T}$cf_cv_default_source" >&6 + if test "$cf_cv_default_source" = yes + then +@@ -12949,16 +12998,16 @@ 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:12952: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13001: 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}:12958: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13007: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12961 "configure" ++#line 13010 "configure" + #include "confdefs.h" + #include + int +@@ -12973,16 +13022,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12976: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13025: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12979: \$? = $ac_status" >&5 ++ echo "$as_me:13028: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12982: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13031: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12985: \$? = $ac_status" >&5 ++ echo "$as_me:13034: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13003,7 +13052,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13006 "configure" ++#line 13055 "configure" + #include "confdefs.h" + #include + int +@@ -13018,16 +13067,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13021: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13070: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13024: \$? = $ac_status" >&5 ++ echo "$as_me:13073: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13027: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13076: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13030: \$? = $ac_status" >&5 ++ echo "$as_me:13079: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13038,7 +13087,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:13041: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:13090: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -13046,10 +13095,10 @@ echo "${as_me:-configure}:13041: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:13049: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:13098: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13052 "configure" ++#line 13101 "configure" + #include "confdefs.h" + #include + int +@@ -13064,16 +13113,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13067: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13116: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13070: \$? = $ac_status" >&5 ++ echo "$as_me:13119: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13073: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13122: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13076: \$? = $ac_status" >&5 ++ echo "$as_me:13125: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13089,7 +13138,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13092: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:13141: 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 +@@ -13206,7 +13255,7 @@ fi # cf_cv_posix_visible + # OpenBSD 6.x has broken locale support, both compile-time and runtime. + # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html + # Abusing the conformance level is a workaround. +- { echo "$as_me:13209: WARNING: this system does not provide usable locale support" >&5 ++ { echo "$as_me:13258: WARNING: this system does not provide usable locale support" >&5 + echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + cf_xopen_source="-D_BSD_SOURCE" + cf_XOPEN_SOURCE=700 +@@ -13238,14 +13287,14 @@ echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + ;; + (*) + +-echo "$as_me:13241: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:13290: 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 13248 "configure" ++#line 13297 "configure" + #include "confdefs.h" + + #include +@@ -13265,16 +13314,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13268: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13317: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13271: \$? = $ac_status" >&5 ++ echo "$as_me:13320: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13274: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13323: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13277: \$? = $ac_status" >&5 ++ echo "$as_me:13326: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13286,7 +13335,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13289 "configure" ++#line 13338 "configure" + #include "confdefs.h" + + #include +@@ -13306,16 +13355,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13309: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13358: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13312: \$? = $ac_status" >&5 ++ echo "$as_me:13361: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13315: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13364: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13318: \$? = $ac_status" >&5 ++ echo "$as_me:13367: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13330,7 +13379,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13333: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:13382: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -13490,16 +13539,16 @@ 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:13493: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13542: 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}:13499: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13548: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13502 "configure" ++#line 13551 "configure" + #include "confdefs.h" + #include + int +@@ -13514,16 +13563,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13517: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13566: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13520: \$? = $ac_status" >&5 ++ echo "$as_me:13569: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13523: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13572: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13526: \$? = $ac_status" >&5 ++ echo "$as_me:13575: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13544,7 +13593,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13547 "configure" ++#line 13596 "configure" + #include "confdefs.h" + #include + int +@@ -13559,16 +13608,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13562: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13611: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13565: \$? = $ac_status" >&5 ++ echo "$as_me:13614: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13568: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13617: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13571: \$? = $ac_status" >&5 ++ echo "$as_me:13620: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13579,7 +13628,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:13582: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:13631: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -13587,10 +13636,10 @@ echo "${as_me:-configure}:13582: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:13590: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:13639: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13593 "configure" ++#line 13642 "configure" + #include "confdefs.h" + #include + int +@@ -13605,16 +13654,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13608: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13657: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13611: \$? = $ac_status" >&5 ++ echo "$as_me:13660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13614: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13663: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13617: \$? = $ac_status" >&5 ++ echo "$as_me:13666: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13630,7 +13679,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13633: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:13682: 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 +@@ -13742,10 +13791,10 @@ fi # cf_cv_posix_visible + # Some of these niche implementations use copy/paste, double-check... + test -n "$verbose" && echo " checking if _POSIX_C_SOURCE inteferes" 1>&6 + +-echo "${as_me:-configure}:13745: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 ++echo "${as_me:-configure}:13794: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13748 "configure" ++#line 13797 "configure" + #include "confdefs.h" + + #include +@@ -13765,23 +13814,23 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13768: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13817: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13771: \$? = $ac_status" >&5 ++ echo "$as_me:13820: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13774: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13823: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13777: \$? = $ac_status" >&5 ++ echo "$as_me:13826: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { echo "$as_me:13784: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 ++ { echo "$as_me:13833: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} + CPPFLAGS="$cf_save_xopen_cppflags" + fi +@@ -13803,7 +13852,7 @@ do + test "$CFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 + +-echo "${as_me:-configure}:13806: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:13855: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 + + CFLAGS="$cf_old_cflag" + done +@@ -13815,7 +13864,7 @@ do + test "$CPPFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:13818: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:13867: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_old_cflag" + done +@@ -13903,7 +13952,7 @@ done + if test -n "$cf_new_cflags" ; then + test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 + +-echo "${as_me:-configure}:13906: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 ++echo "${as_me:-configure}:13955: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_new_cflags" +@@ -13913,7 +13962,7 @@ fi + if test -n "$cf_new_cppflags" ; then + test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 + +-echo "${as_me:-configure}:13916: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 ++echo "${as_me:-configure}:13965: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" +@@ -13923,7 +13972,7 @@ fi + if test -n "$cf_new_extra_cppflags" ; then + test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 + +-echo "${as_me:-configure}:13926: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 ++echo "${as_me:-configure}:13975: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 + + test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " + EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" +@@ -13935,10 +13984,10 @@ done + fi + + if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then +- echo "$as_me:13938: checking if _XOPEN_SOURCE really is set" >&5 ++ echo "$as_me:13987: 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 13941 "configure" ++#line 13990 "configure" + #include "confdefs.h" + #include + int +@@ -13953,16 +14002,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13956: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14005: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13959: \$? = $ac_status" >&5 ++ echo "$as_me:14008: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13962: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14011: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13965: \$? = $ac_status" >&5 ++ echo "$as_me:14014: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set=yes + else +@@ -13971,12 +14020,12 @@ cat "conftest.$ac_ext" >&5 + cf_XOPEN_SOURCE_set=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:13974: result: $cf_XOPEN_SOURCE_set" >&5 ++ echo "$as_me:14023: 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 13979 "configure" ++#line 14028 "configure" + #include "confdefs.h" + #include + int +@@ -13991,16 +14040,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13994: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14043: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13997: \$? = $ac_status" >&5 ++ echo "$as_me:14046: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14000: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14049: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14003: \$? = $ac_status" >&5 ++ echo "$as_me:14052: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set_ok=yes + else +@@ -14011,19 +14060,19 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no + then +- { echo "$as_me:14014: WARNING: _XOPEN_SOURCE is lower than requested" >&5 ++ { echo "$as_me:14063: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} + fi + else + +-echo "$as_me:14019: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:14068: 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 14026 "configure" ++#line 14075 "configure" + #include "confdefs.h" + + #include +@@ -14043,16 +14092,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14046: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14095: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14049: \$? = $ac_status" >&5 ++ echo "$as_me:14098: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14052: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14101: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14055: \$? = $ac_status" >&5 ++ echo "$as_me:14104: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14064,7 +14113,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14067 "configure" ++#line 14116 "configure" + #include "confdefs.h" + + #include +@@ -14084,16 +14133,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14087: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14136: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14090: \$? = $ac_status" >&5 ++ echo "$as_me:14139: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14093: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14142: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14096: \$? = $ac_status" >&5 ++ echo "$as_me:14145: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14108,7 +14157,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14111: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:14160: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -14262,7 +14311,7 @@ if test "${enable_largefile+set}" = set; then + fi; + if test "$enable_largefile" != no; then + +- echo "$as_me:14265: checking for special C compiler options needed for large files" >&5 ++ echo "$as_me:14314: 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 +@@ -14274,7 +14323,7 @@ else + # 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 14277 "configure" ++#line 14326 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14294,16 +14343,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14297: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14346: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14300: \$? = $ac_status" >&5 ++ echo "$as_me:14349: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14303: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14352: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14306: \$? = $ac_status" >&5 ++ echo "$as_me:14355: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14313,16 +14362,16 @@ fi + rm -f "conftest.$ac_objext" + CC="$CC -n32" + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14316: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14365: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14319: \$? = $ac_status" >&5 ++ echo "$as_me:14368: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14322: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14371: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14325: \$? = $ac_status" >&5 ++ echo "$as_me:14374: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break + else +@@ -14336,13 +14385,13 @@ rm -f "conftest.$ac_objext" + rm -f "conftest.$ac_ext" + fi + fi +-echo "$as_me:14339: result: $ac_cv_sys_largefile_CC" >&5 ++echo "$as_me:14388: 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:14345: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ echo "$as_me:14394: 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 +@@ -14350,7 +14399,7 @@ else + while :; do + ac_cv_sys_file_offset_bits=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14353 "configure" ++#line 14402 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14370,16 +14419,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14373: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14422: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14376: \$? = $ac_status" >&5 ++ echo "$as_me:14425: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14379: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14428: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14382: \$? = $ac_status" >&5 ++ echo "$as_me:14431: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14388,7 +14437,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14391 "configure" ++#line 14440 "configure" + #include "confdefs.h" + #define _FILE_OFFSET_BITS 64 + #include +@@ -14409,16 +14458,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14412: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14461: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14415: \$? = $ac_status" >&5 ++ echo "$as_me:14464: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14418: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14467: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14421: \$? = $ac_status" >&5 ++ echo "$as_me:14470: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_file_offset_bits=64; break + else +@@ -14429,7 +14478,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14432: result: $ac_cv_sys_file_offset_bits" >&5 ++echo "$as_me:14481: 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 + +@@ -14439,7 +14488,7 @@ EOF + + fi + rm -rf conftest* +- echo "$as_me:14442: checking for _LARGE_FILES value needed for large files" >&5 ++ echo "$as_me:14491: 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 +@@ -14447,7 +14496,7 @@ else + while :; do + ac_cv_sys_large_files=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14450 "configure" ++#line 14499 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14467,16 +14516,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14470: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14519: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14473: \$? = $ac_status" >&5 ++ echo "$as_me:14522: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14476: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14525: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14479: \$? = $ac_status" >&5 ++ echo "$as_me:14528: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14485,7 +14534,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14488 "configure" ++#line 14537 "configure" + #include "confdefs.h" + #define _LARGE_FILES 1 + #include +@@ -14506,16 +14555,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14509: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14558: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14512: \$? = $ac_status" >&5 ++ echo "$as_me:14561: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14515: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14564: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14518: \$? = $ac_status" >&5 ++ echo "$as_me:14567: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_large_files=1; break + else +@@ -14526,7 +14575,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14529: result: $ac_cv_sys_large_files" >&5 ++echo "$as_me:14578: 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 + +@@ -14539,7 +14588,7 @@ rm -rf conftest* + fi + + if test "$enable_largefile" != no ; then +- echo "$as_me:14542: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++ echo "$as_me:14591: 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 +@@ -14547,7 +14596,7 @@ else + while :; do + ac_cv_sys_largefile_source=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14550 "configure" ++#line 14599 "configure" + #include "confdefs.h" + #include + int +@@ -14559,16 +14608,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14562: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14611: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14565: \$? = $ac_status" >&5 ++ echo "$as_me:14614: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14568: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14617: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14571: \$? = $ac_status" >&5 ++ echo "$as_me:14620: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14577,7 +14626,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14580 "configure" ++#line 14629 "configure" + #include "confdefs.h" + #define _LARGEFILE_SOURCE 1 + #include +@@ -14590,16 +14639,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14593: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14642: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14596: \$? = $ac_status" >&5 ++ echo "$as_me:14645: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14599: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14648: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14602: \$? = $ac_status" >&5 ++ echo "$as_me:14651: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_source=1; break + else +@@ -14610,7 +14659,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14613: result: $ac_cv_sys_largefile_source" >&5 ++echo "$as_me:14662: 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 + +@@ -14624,13 +14673,13 @@ 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:14627: checking for fseeko" >&5 ++echo "$as_me:14676: 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 14633 "configure" ++#line 14682 "configure" + #include "confdefs.h" + #include + int +@@ -14642,16 +14691,16 @@ return fseeko && fseeko (stdin, 0, 0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:14645: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14694: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14648: \$? = $ac_status" >&5 ++ echo "$as_me:14697: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:14651: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14700: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14654: \$? = $ac_status" >&5 ++ echo "$as_me:14703: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fseeko=yes + else +@@ -14661,7 +14710,7 @@ ac_cv_func_fseeko=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:14664: result: $ac_cv_func_fseeko" >&5 ++echo "$as_me:14713: result: $ac_cv_func_fseeko" >&5 + echo "${ECHO_T}$ac_cv_func_fseeko" >&6 + if test $ac_cv_func_fseeko = yes; then + +@@ -14700,14 +14749,14 @@ fi + + fi + +- echo "$as_me:14703: checking whether to use struct dirent64" >&5 ++ echo "$as_me:14752: 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 14710 "configure" ++#line 14759 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types" +@@ -14730,16 +14779,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14733: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14782: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14736: \$? = $ac_status" >&5 ++ echo "$as_me:14785: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14739: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14788: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14742: \$? = $ac_status" >&5 ++ echo "$as_me:14791: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_struct_dirent64=yes + else +@@ -14750,7 +14799,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14753: result: $cf_cv_struct_dirent64" >&5 ++echo "$as_me:14802: result: $cf_cv_struct_dirent64" >&5 + echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 + test "$cf_cv_struct_dirent64" = yes && + cat >>confdefs.h <<\EOF +@@ -14760,7 +14809,7 @@ EOF + fi + + ### Enable compiling-in rcs id's +-echo "$as_me:14763: checking if RCS identifiers should be compiled-in" >&5 ++echo "$as_me:14812: checking if RCS identifiers should be compiled-in" >&5 + echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 + + # Check whether --with-rcs-ids or --without-rcs-ids was given. +@@ -14770,7 +14819,7 @@ if test "${with_rcs_ids+set}" = set; then + else + with_rcs_ids=no + fi; +-echo "$as_me:14773: result: $with_rcs_ids" >&5 ++echo "$as_me:14822: result: $with_rcs_ids" >&5 + echo "${ECHO_T}$with_rcs_ids" >&6 + test "$with_rcs_ids" = yes && + cat >>confdefs.h <<\EOF +@@ -14780,7 +14829,7 @@ EOF + ############################################################################### + + ### Note that some functions (such as const) are normally disabled anyway. +-echo "$as_me:14783: checking if you want to build with function extensions" >&5 ++echo "$as_me:14832: checking if you want to build with function extensions" >&5 + echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 + + # Check whether --enable-ext-funcs or --disable-ext-funcs was given. +@@ -14790,7 +14839,7 @@ if test "${enable_ext_funcs+set}" = set; then + else + with_ext_funcs=yes + fi; +-echo "$as_me:14793: result: $with_ext_funcs" >&5 ++echo "$as_me:14842: result: $with_ext_funcs" >&5 + echo "${ECHO_T}$with_ext_funcs" >&6 + if test "$with_ext_funcs" = yes ; then + NCURSES_EXT_FUNCS=1 +@@ -14808,7 +14857,7 @@ else + fi + + ### use option --enable-const to turn on use of const beyond that in XSI. +-echo "$as_me:14811: checking for extended use of const keyword" >&5 ++echo "$as_me:14860: checking for extended use of const keyword" >&5 + echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 + + # Check whether --enable-const or --disable-const was given. +@@ -14818,7 +14867,7 @@ if test "${enable_const+set}" = set; then + else + with_ext_const=no + fi; +-echo "$as_me:14821: result: $with_ext_const" >&5 ++echo "$as_me:14870: result: $with_ext_const" >&5 + echo "${ECHO_T}$with_ext_const" >&6 + NCURSES_CONST='/*nothing*/' + if test "$with_ext_const" = yes ; then +@@ -14828,7 +14877,7 @@ fi + ############################################################################### + # These options are relatively safe to experiment with. + +-echo "$as_me:14831: checking if you want all development code" >&5 ++echo "$as_me:14880: checking if you want all development code" >&5 + echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 + + # Check whether --with-develop or --without-develop was given. +@@ -14838,7 +14887,7 @@ if test "${with_develop+set}" = set; then + else + with_develop=no + fi; +-echo "$as_me:14841: result: $with_develop" >&5 ++echo "$as_me:14890: result: $with_develop" >&5 + echo "${ECHO_T}$with_develop" >&6 + + ############################################################################### +@@ -14847,7 +14896,7 @@ echo "${ECHO_T}$with_develop" >&6 + # This is still experimental (20080329), but should ultimately be moved to + # the script-block --with-normal, etc. + +-echo "$as_me:14850: checking if you want to link with the pthread library" >&5 ++echo "$as_me:14899: checking if you want to link with the pthread library" >&5 + echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 + + # Check whether --with-pthread or --without-pthread was given. +@@ -14857,27 +14906,27 @@ if test "${with_pthread+set}" = set; then + else + with_pthread=no + fi; +-echo "$as_me:14860: result: $with_pthread" >&5 ++echo "$as_me:14909: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + + if test "$with_pthread" != no ; then +- echo "$as_me:14864: checking for pthread.h" >&5 ++ echo "$as_me:14913: checking for pthread.h" >&5 + echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 + if test "${ac_cv_header_pthread_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14870 "configure" ++#line 14919 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:14874: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:14923: \"$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:14880: \$? = $ac_status" >&5 ++ echo "$as_me:14929: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -14896,7 +14945,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:14899: result: $ac_cv_header_pthread_h" >&5 ++echo "$as_me:14948: result: $ac_cv_header_pthread_h" >&5 + echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 + if test "$ac_cv_header_pthread_h" = yes; then + +@@ -14906,7 +14955,7 @@ EOF + + for cf_lib_pthread in pthread c_r + do +- echo "$as_me:14909: checking if we can link with the $cf_lib_pthread library" >&5 ++ echo "$as_me:14958: checking if we can link with the $cf_lib_pthread library" >&5 + echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 + cf_save_LIBS="$LIBS" + +@@ -14927,7 +14976,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14930 "configure" ++#line 14979 "configure" + #include "confdefs.h" + + #include +@@ -14944,16 +14993,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:14947: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14996: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14950: \$? = $ac_status" >&5 ++ echo "$as_me:14999: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:14953: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15002: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14956: \$? = $ac_status" >&5 ++ echo "$as_me:15005: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_pthread=yes + else +@@ -14963,7 +15012,7 @@ with_pthread=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:14966: result: $with_pthread" >&5 ++ echo "$as_me:15015: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + test "$with_pthread" = yes && break + done +@@ -14991,7 +15040,7 @@ cat >>confdefs.h <<\EOF + EOF + + else +- { { echo "$as_me:14994: error: Cannot link with pthread library" >&5 ++ { { echo "$as_me:15043: error: Cannot link with pthread library" >&5 + echo "$as_me: error: Cannot link with pthread library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -15000,7 +15049,7 @@ fi + + fi + +-echo "$as_me:15003: checking if you want to use weak-symbols for pthreads" >&5 ++echo "$as_me:15052: checking if you want to use weak-symbols for pthreads" >&5 + echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 + + # Check whether --enable-weak-symbols or --disable-weak-symbols was given. +@@ -15010,18 +15059,18 @@ if test "${enable_weak_symbols+set}" = set; then + else + use_weak_symbols=no + fi; +-echo "$as_me:15013: result: $use_weak_symbols" >&5 ++echo "$as_me:15062: result: $use_weak_symbols" >&5 + echo "${ECHO_T}$use_weak_symbols" >&6 + if test "$use_weak_symbols" = yes ; then + +-echo "$as_me:15017: checking if $CC supports weak symbols" >&5 ++echo "$as_me:15066: checking if $CC supports weak symbols" >&5 + echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 + if test "${cf_cv_weak_symbols+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15024 "configure" ++#line 15073 "configure" + #include "confdefs.h" + + #include +@@ -15047,16 +15096,16 @@ weak_symbol(fopen); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15050: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15099: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15053: \$? = $ac_status" >&5 ++ echo "$as_me:15102: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15056: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15105: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15059: \$? = $ac_status" >&5 ++ echo "$as_me:15108: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_weak_symbols=yes + else +@@ -15067,7 +15116,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15070: result: $cf_cv_weak_symbols" >&5 ++echo "$as_me:15119: result: $cf_cv_weak_symbols" >&5 + echo "${ECHO_T}$cf_cv_weak_symbols" >&6 + + else +@@ -15096,13 +15145,13 @@ EOF + fi + + # OpenSUSE is installing ncurses6, using reentrant option. +-echo "$as_me:15099: checking for _nc_TABSIZE" >&5 ++echo "$as_me:15148: checking for _nc_TABSIZE" >&5 + echo $ECHO_N "checking for _nc_TABSIZE... $ECHO_C" >&6 + if test "${ac_cv_func__nc_TABSIZE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15105 "configure" ++#line 15154 "configure" + #include "confdefs.h" + #define _nc_TABSIZE autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -15133,16 +15182,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15136: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15185: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15139: \$? = $ac_status" >&5 ++ echo "$as_me:15188: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15142: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15191: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15145: \$? = $ac_status" >&5 ++ echo "$as_me:15194: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func__nc_TABSIZE=yes + else +@@ -15152,7 +15201,7 @@ ac_cv_func__nc_TABSIZE=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15155: result: $ac_cv_func__nc_TABSIZE" >&5 ++echo "$as_me:15204: result: $ac_cv_func__nc_TABSIZE" >&5 + echo "${ECHO_T}$ac_cv_func__nc_TABSIZE" >&6 + if test "$ac_cv_func__nc_TABSIZE" = yes; then + assume_reentrant=yes +@@ -15164,7 +15213,7 @@ fi + # opaque outside of that, so there is no --enable-opaque option. We can use + # this option without --with-pthreads, but this will be always set for + # pthreads. +-echo "$as_me:15167: checking if you want experimental reentrant code" >&5 ++echo "$as_me:15216: checking if you want experimental reentrant code" >&5 + echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6 + + # Check whether --enable-reentrant or --disable-reentrant was given. +@@ -15174,7 +15223,7 @@ if test "${enable_reentrant+set}" = set; then + else + with_reentrant=$assume_reentrant + fi; +-echo "$as_me:15177: result: $with_reentrant" >&5 ++echo "$as_me:15226: result: $with_reentrant" >&5 + echo "${ECHO_T}$with_reentrant" >&6 + if test "$with_reentrant" = yes ; then + cf_cv_enable_reentrant=1 +@@ -15197,7 +15246,7 @@ fi + + ### Allow using a different wrap-prefix + if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then +- echo "$as_me:15200: checking for prefix used to wrap public variables" >&5 ++ echo "$as_me:15249: checking for prefix used to wrap public variables" >&5 + echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 + + # Check whether --with-wrap-prefix or --without-wrap-prefix was given. +@@ -15207,7 +15256,7 @@ if test "${with_wrap_prefix+set}" = set; then + else + NCURSES_WRAP_PREFIX=_nc_ + fi; +- echo "$as_me:15210: result: $NCURSES_WRAP_PREFIX" >&5 ++ echo "$as_me:15259: result: $NCURSES_WRAP_PREFIX" >&5 + echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 + else + NCURSES_WRAP_PREFIX=_nc_ +@@ -15221,7 +15270,7 @@ EOF + + ### use option --disable-echo to suppress full display compiling commands + +-echo "$as_me:15224: checking if you want to see long compiling messages" >&5 ++echo "$as_me:15273: 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. +@@ -15255,10 +15304,10 @@ else + ECHO_CC='' + + fi; +-echo "$as_me:15258: result: $enableval" >&5 ++echo "$as_me:15307: result: $enableval" >&5 + echo "${ECHO_T}$enableval" >&6 + +-echo "$as_me:15261: checking if you want to use C11 _Noreturn feature" >&5 ++echo "$as_me:15310: checking if you want to use C11 _Noreturn feature" >&5 + echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 + + # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. +@@ -15275,17 +15324,17 @@ else + enable_stdnoreturn=no + + fi; +-echo "$as_me:15278: result: $enable_stdnoreturn" >&5 ++echo "$as_me:15327: result: $enable_stdnoreturn" >&5 + echo "${ECHO_T}$enable_stdnoreturn" >&6 + + if test $enable_stdnoreturn = yes; then +-echo "$as_me:15282: checking for C11 _Noreturn feature" >&5 ++echo "$as_me:15331: checking for C11 _Noreturn feature" >&5 + echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 + if test "${cf_cv_c11_noreturn+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15288 "configure" ++#line 15337 "configure" + #include "confdefs.h" + + #include +@@ -15302,16 +15351,16 @@ if (feof(stdin)) giveup() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15305: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15308: \$? = $ac_status" >&5 ++ echo "$as_me:15357: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15311: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15360: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15314: \$? = $ac_status" >&5 ++ echo "$as_me:15363: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes + else +@@ -15322,7 +15371,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15325: result: $cf_cv_c11_noreturn" >&5 ++echo "$as_me:15374: result: $cf_cv_c11_noreturn" >&5 + echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 + else + cf_cv_c11_noreturn=no, +@@ -15378,16 +15427,16 @@ then + then + test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15381: testing repairing CFLAGS: $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15430: testing repairing CFLAGS: $CFLAGS ..." 1>&5 + + CFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15386: testing ... fixed $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15435: testing ... fixed $CFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15390: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15439: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -15426,16 +15475,16 @@ then + then + test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:15429: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15478: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:15434: testing ... fixed $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15483: testing ... fixed $CPPFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15438: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15487: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -15474,23 +15523,23 @@ then + then + test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:15477: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15526: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 + + LDFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:15482: testing ... fixed $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15531: testing ... fixed $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15486: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15535: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; + esac + fi + +-echo "$as_me:15493: checking if you want to turn on gcc warnings" >&5 ++echo "$as_me:15542: checking if you want to turn on gcc warnings" >&5 + echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 + + # Check whether --enable-warnings or --disable-warnings was given. +@@ -15507,7 +15556,7 @@ else + enable_warnings=no + + fi; +-echo "$as_me:15510: result: $enable_warnings" >&5 ++echo "$as_me:15559: result: $enable_warnings" >&5 + echo "${ECHO_T}$enable_warnings" >&6 + if test "$enable_warnings" = "yes" + then +@@ -15531,7 +15580,7 @@ do + done + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15534 "configure" ++#line 15583 "configure" + #include "confdefs.h" + + #include +@@ -15546,26 +15595,26 @@ String foo = malloc(1); free((void*)foo) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15549: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15598: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15552: \$? = $ac_status" >&5 ++ echo "$as_me:15601: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15555: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15604: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15558: \$? = $ac_status" >&5 ++ echo "$as_me:15607: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + +-echo "$as_me:15561: checking for X11/Xt const-feature" >&5 ++echo "$as_me:15610: checking for X11/Xt const-feature" >&5 + echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 + if test "${cf_cv_const_x_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15568 "configure" ++#line 15617 "configure" + #include "confdefs.h" + + #define _CONST_X_STRING /* X11R7.8 (perhaps) */ +@@ -15582,16 +15631,16 @@ String foo = malloc(1); *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15585: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15634: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15588: \$? = $ac_status" >&5 ++ echo "$as_me:15637: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15591: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15640: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15594: \$? = $ac_status" >&5 ++ echo "$as_me:15643: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_const_x_string=no +@@ -15606,7 +15655,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15609: result: $cf_cv_const_x_string" >&5 ++echo "$as_me:15658: result: $cf_cv_const_x_string" >&5 + echo "${ECHO_T}$cf_cv_const_x_string" >&6 + + LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +@@ -15635,7 +15684,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + cat > "conftest.$ac_ext" <&5 ++ { echo "$as_me:15703: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" +@@ -15667,12 +15716,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:15670: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:15719: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15673: \$? = $ac_status" >&5 ++ echo "$as_me:15722: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15675: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:15724: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi +@@ -15680,7 +15729,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + CFLAGS="$cf_save_CFLAGS" + elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" + then +- { echo "$as_me:15683: checking for $CC warning options..." >&5 ++ { echo "$as_me:15732: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + cf_warn_CONST="" +@@ -15703,12 +15752,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:15706: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:15755: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15709: \$? = $ac_status" >&5 ++ echo "$as_me:15758: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15711: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:15760: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + case "$cf_opt" in + (Winline) +@@ -15716,7 +15765,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + ([34].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:15719: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:15768: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -15726,7 +15775,7 @@ echo "${as_me:-configure}:15719: testing feature is broken in gcc $GCC_VERSION . + ([12].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:15729: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:15778: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -15759,10 +15808,10 @@ cat > conftest.i <&5 ++ { echo "$as_me:15811: checking for $CC __attribute__ directives..." >&5 + echo "$as_me: checking for $CC __attribute__ directives..." >&6;} + cat > "conftest.$ac_ext" <&5 ++ if { (eval echo "$as_me:15863: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15817: \$? = $ac_status" >&5 ++ echo "$as_me:15866: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15819: result: ... $cf_attribute" >&5 ++ test -n "$verbose" && echo "$as_me:15868: result: ... $cf_attribute" >&5 + echo "${ECHO_T}... $cf_attribute" >&6 + cat conftest.h >>confdefs.h + case "$cf_attribute" in +@@ -15884,7 +15933,7 @@ if test "x$enable_warnings" = "xyes"; then + fi + + ### use option --enable-assertions to turn on generation of assertion code +-echo "$as_me:15887: checking if you want to enable runtime assertions" >&5 ++echo "$as_me:15936: checking if you want to enable runtime assertions" >&5 + echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 + + # Check whether --enable-assertions or --disable-assertions was given. +@@ -15894,7 +15943,7 @@ if test "${enable_assertions+set}" = set; then + else + with_assertions=no + fi; +-echo "$as_me:15897: result: $with_assertions" >&5 ++echo "$as_me:15946: result: $with_assertions" >&5 + echo "${ECHO_T}$with_assertions" >&6 + if test -n "$GCC" + then +@@ -15947,7 +15996,7 @@ case "$CFLAGS $CPPFLAGS" in + ;; + esac + +-echo "$as_me:15950: checking whether to add trace feature to all models" >&5 ++echo "$as_me:15999: checking whether to add trace feature to all models" >&5 + echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 + + # Check whether --with-trace or --without-trace was given. +@@ -15957,7 +16006,7 @@ if test "${with_trace+set}" = set; then + else + cf_with_trace=$cf_all_traces + fi; +-echo "$as_me:15960: result: $cf_with_trace" >&5 ++echo "$as_me:16009: result: $cf_with_trace" >&5 + echo "${ECHO_T}$cf_with_trace" >&6 + + if test "$cf_with_trace" = yes ; then +@@ -16065,7 +16114,7 @@ else + ADA_TRACE=FALSE + fi + +-echo "$as_me:16068: checking if we want to use GNAT projects" >&5 ++echo "$as_me:16117: checking if we want to use GNAT projects" >&5 + echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 + + # Check whether --enable-gnat-projects or --disable-gnat-projects was given. +@@ -16082,21 +16131,21 @@ else + enable_gnat_projects=yes + + fi; +-echo "$as_me:16085: result: $enable_gnat_projects" >&5 ++echo "$as_me:16134: result: $enable_gnat_projects" >&5 + echo "${ECHO_T}$enable_gnat_projects" >&6 + + ### Checks for libraries. + case $cf_cv_system_name in + (*mingw32*) + +-echo "$as_me:16092: checking if ssp library is needed" >&5 ++echo "$as_me:16141: checking if ssp library is needed" >&5 + echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6 + if test "${cf_cv_need_libssp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16099 "configure" ++#line 16148 "configure" + #include "confdefs.h" + + #include +@@ -16113,16 +16162,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16116: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16165: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16119: \$? = $ac_status" >&5 ++ echo "$as_me:16168: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16122: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16171: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16125: \$? = $ac_status" >&5 ++ echo "$as_me:16174: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=no + else +@@ -16132,7 +16181,7 @@ cat "conftest.$ac_ext" >&5 + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lssp" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16135 "configure" ++#line 16184 "configure" + #include "confdefs.h" + + #include +@@ -16149,16 +16198,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16152: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16201: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16155: \$? = $ac_status" >&5 ++ echo "$as_me:16204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16158: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16207: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16161: \$? = $ac_status" >&5 ++ echo "$as_me:16210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=yes + else +@@ -16172,7 +16221,7 @@ 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:16175: result: $cf_cv_need_libssp" >&5 ++echo "$as_me:16224: result: $cf_cv_need_libssp" >&5 + echo "${ECHO_T}$cf_cv_need_libssp" >&6 + + if test "x$cf_cv_need_libssp" = xyes +@@ -16198,13 +16247,13 @@ fi + + ;; + (*) +-echo "$as_me:16201: checking for gettimeofday" >&5 ++echo "$as_me:16250: checking for gettimeofday" >&5 + echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 + if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16207 "configure" ++#line 16256 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -16235,16 +16284,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16238: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16287: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16241: \$? = $ac_status" >&5 ++ echo "$as_me:16290: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16244: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16293: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16247: \$? = $ac_status" >&5 ++ echo "$as_me:16296: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -16254,7 +16303,7 @@ ac_cv_func_gettimeofday=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:16257: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:16306: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + cat >>confdefs.h <<\EOF +@@ -16263,7 +16312,7 @@ EOF + + else + +-echo "$as_me:16266: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:16315: checking for gettimeofday in -lbsd" >&5 + echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16271,7 +16320,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16274 "configure" ++#line 16323 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -16290,16 +16339,16 @@ gettimeofday (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16293: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16342: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16296: \$? = $ac_status" >&5 ++ echo "$as_me:16345: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16299: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16348: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16302: \$? = $ac_status" >&5 ++ echo "$as_me:16351: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -16310,7 +16359,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:16313: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:16362: result: $ac_cv_lib_bsd_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 + if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +@@ -16326,13 +16375,13 @@ fi + esac + + ### Checks for header files. +-echo "$as_me:16329: checking for ANSI C header files" >&5 ++echo "$as_me:16378: 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 16335 "configure" ++#line 16384 "configure" + #include "confdefs.h" + #include + #include +@@ -16340,13 +16389,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:16343: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:16392: \"$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:16349: \$? = $ac_status" >&5 ++ echo "$as_me:16398: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -16368,7 +16417,7 @@ 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 16371 "configure" ++#line 16420 "configure" + #include "confdefs.h" + #include + +@@ -16386,7 +16435,7 @@ 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 16389 "configure" ++#line 16438 "configure" + #include "confdefs.h" + #include + +@@ -16407,7 +16456,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16410 "configure" ++#line 16459 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -16433,15 +16482,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16436: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16485: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16439: \$? = $ac_status" >&5 ++ echo "$as_me:16488: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16441: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16490: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16444: \$? = $ac_status" >&5 ++ echo "$as_me:16493: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -16454,7 +16503,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:16457: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:16506: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -16470,28 +16519,28 @@ 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:16473: checking for $ac_header" >&5 ++echo "$as_me:16522: 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 16479 "configure" ++#line 16528 "configure" + #include "confdefs.h" + $ac_includes_default + #include <$ac_header> + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16485: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16534: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16488: \$? = $ac_status" >&5 ++ echo "$as_me:16537: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16491: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16540: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16494: \$? = $ac_status" >&5 ++ echo "$as_me:16543: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -16501,7 +16550,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16504: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:16553: 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 <&5 ++echo "$as_me:16563: checking for signed char" >&5 + echo $ECHO_N "checking for signed char... $ECHO_C" >&6 + if test "${ac_cv_type_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16520 "configure" ++#line 16569 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16532,16 +16581,16 @@ if (sizeof (signed char)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16535: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16584: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16538: \$? = $ac_status" >&5 ++ echo "$as_me:16587: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16541: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16590: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16544: \$? = $ac_status" >&5 ++ echo "$as_me:16593: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_signed_char=yes + else +@@ -16551,10 +16600,10 @@ ac_cv_type_signed_char=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16554: result: $ac_cv_type_signed_char" >&5 ++echo "$as_me:16603: result: $ac_cv_type_signed_char" >&5 + echo "${ECHO_T}$ac_cv_type_signed_char" >&6 + +-echo "$as_me:16557: checking size of signed char" >&5 ++echo "$as_me:16606: checking size of signed char" >&5 + echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + if test "${ac_cv_sizeof_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16563,7 +16612,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16566 "configure" ++#line 16615 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16575,21 +16624,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16578: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16627: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16581: \$? = $ac_status" >&5 ++ echo "$as_me:16630: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16584: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16633: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16587: \$? = $ac_status" >&5 ++ echo "$as_me:16636: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16592 "configure" ++#line 16641 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16601,16 +16650,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16604: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16653: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16607: \$? = $ac_status" >&5 ++ echo "$as_me:16656: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16610: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16659: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16613: \$? = $ac_status" >&5 ++ echo "$as_me:16662: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -16626,7 +16675,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16629 "configure" ++#line 16678 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16638,16 +16687,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16641: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16690: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16644: \$? = $ac_status" >&5 ++ echo "$as_me:16693: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16647: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16696: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16650: \$? = $ac_status" >&5 ++ echo "$as_me:16699: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -16663,7 +16712,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16666 "configure" ++#line 16715 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16675,16 +16724,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16678: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16727: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16681: \$? = $ac_status" >&5 ++ echo "$as_me:16730: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16684: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16733: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16687: \$? = $ac_status" >&5 ++ echo "$as_me:16736: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -16697,12 +16746,12 @@ done + ac_cv_sizeof_signed_char=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:16700: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:16749: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16705 "configure" ++#line 16754 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16718,15 +16767,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16721: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16770: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16724: \$? = $ac_status" >&5 ++ echo "$as_me:16773: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16726: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16775: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16729: \$? = $ac_status" >&5 ++ echo "$as_me:16778: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_signed_char=`cat conftest.val` + else +@@ -16742,19 +16791,19 @@ else + ac_cv_sizeof_signed_char=0 + fi + fi +-echo "$as_me:16745: result: $ac_cv_sizeof_signed_char" >&5 ++echo "$as_me:16794: result: $ac_cv_sizeof_signed_char" >&5 + echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:16800: 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 16757 "configure" ++#line 16806 "configure" + #include "confdefs.h" + #include + #include +@@ -16762,13 +16811,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:16765: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:16814: \"$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:16771: \$? = $ac_status" >&5 ++ echo "$as_me:16820: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -16790,7 +16839,7 @@ 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 16793 "configure" ++#line 16842 "configure" + #include "confdefs.h" + #include + +@@ -16808,7 +16857,7 @@ 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 16811 "configure" ++#line 16860 "configure" + #include "confdefs.h" + #include + +@@ -16829,7 +16878,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16832 "configure" ++#line 16881 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -16855,15 +16904,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16858: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16907: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16861: \$? = $ac_status" >&5 ++ echo "$as_me:16910: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16863: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16912: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16866: \$? = $ac_status" >&5 ++ echo "$as_me:16915: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -16876,7 +16925,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:16879: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:16928: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -16889,13 +16938,13 @@ 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:16892: checking for $ac_hdr that defines DIR" >&5 ++echo "$as_me:16941: 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 16898 "configure" ++#line 16947 "configure" + #include "confdefs.h" + #include + #include <$ac_hdr> +@@ -16910,16 +16959,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16913: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16962: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16916: \$? = $ac_status" >&5 ++ echo "$as_me:16965: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16919: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16968: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16922: \$? = $ac_status" >&5 ++ echo "$as_me:16971: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -16929,7 +16978,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16932: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:16981: 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 <&5 ++ echo "$as_me:16994: 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 +@@ -16950,7 +16999,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldir $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16953 "configure" ++#line 17002 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -16969,16 +17018,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16972: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17021: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16975: \$? = $ac_status" >&5 ++ echo "$as_me:17024: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16978: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17027: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16981: \$? = $ac_status" >&5 ++ echo "$as_me:17030: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dir_opendir=yes + else +@@ -16989,14 +17038,14 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:16992: result: $ac_cv_lib_dir_opendir" >&5 ++echo "$as_me:17041: 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:16999: checking for opendir in -lx" >&5 ++ echo "$as_me:17048: 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 +@@ -17004,7 +17053,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17007 "configure" ++#line 17056 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17023,16 +17072,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17026: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17075: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17029: \$? = $ac_status" >&5 ++ echo "$as_me:17078: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17032: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17081: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17035: \$? = $ac_status" >&5 ++ echo "$as_me:17084: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_x_opendir=yes + else +@@ -17043,7 +17092,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17046: result: $ac_cv_lib_x_opendir" >&5 ++echo "$as_me:17095: 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" +@@ -17051,13 +17100,13 @@ fi + + fi + +-echo "$as_me:17054: checking whether time.h and sys/time.h may both be included" >&5 ++echo "$as_me:17103: 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 17060 "configure" ++#line 17109 "configure" + #include "confdefs.h" + #include + #include +@@ -17073,16 +17122,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17076: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17125: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17079: \$? = $ac_status" >&5 ++ echo "$as_me:17128: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17082: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17131: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17085: \$? = $ac_status" >&5 ++ echo "$as_me:17134: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_header_time=yes + else +@@ -17092,7 +17141,7 @@ ac_cv_header_time=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17095: result: $ac_cv_header_time" >&5 ++echo "$as_me:17144: result: $ac_cv_header_time" >&5 + echo "${ECHO_T}$ac_cv_header_time" >&6 + if test $ac_cv_header_time = yes; then + +@@ -17110,13 +17159,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:17113: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:17162: 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 17119 "configure" ++#line 17168 "configure" + #include "confdefs.h" + + int +@@ -17174,16 +17223,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17177: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17226: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17180: \$? = $ac_status" >&5 ++ echo "$as_me:17229: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17183: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17232: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17186: \$? = $ac_status" >&5 ++ echo "$as_me:17235: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -17193,7 +17242,7 @@ ac_cv_c_const=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17196: result: $ac_cv_c_const" >&5 ++echo "$as_me:17245: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -17205,7 +17254,7 @@ fi + + ### Checks for external-data + +-echo "$as_me:17208: checking if data-only library module links" >&5 ++echo "$as_me:17257: checking if data-only library module links" >&5 + echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 + if test "${cf_cv_link_dataonly+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17213,20 +17262,20 @@ else + + rm -f conftest.a + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:17268: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17222: \$? = $ac_status" >&5 ++ echo "$as_me:17271: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + mv conftest.o data.o && \ + ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null + fi + rm -f conftest.$ac_ext data.o + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:17291: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17245: \$? = $ac_status" >&5 ++ echo "$as_me:17294: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -17255,7 +17304,7 @@ EOF + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17258 "configure" ++#line 17307 "configure" + #include "confdefs.h" + + int main(void) +@@ -17266,15 +17315,15 @@ else + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17269: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17318: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17272: \$? = $ac_status" >&5 ++ echo "$as_me:17321: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17274: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17323: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17277: \$? = $ac_status" >&5 ++ echo "$as_me:17326: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -17289,7 +17338,7 @@ fi + + fi + +-echo "$as_me:17292: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:17341: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -17308,23 +17357,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:17311: checking for $ac_header" >&5 ++echo "$as_me:17360: 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 17317 "configure" ++#line 17366 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:17321: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:17370: \"$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:17327: \$? = $ac_status" >&5 ++ echo "$as_me:17376: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -17343,7 +17392,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:17346: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17395: 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 <&5 ++echo "$as_me:17405: checking for working mkstemp" >&5 + echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 + if test "${cf_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17364,7 +17413,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17367 "configure" ++#line 17416 "configure" + #include "confdefs.h" + + #include +@@ -17405,15 +17454,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17408: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17457: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17411: \$? = $ac_status" >&5 ++ echo "$as_me:17460: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17413: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17462: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17416: \$? = $ac_status" >&5 ++ echo "$as_me:17465: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -17428,16 +17477,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:17431: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:17480: result: $cf_cv_func_mkstemp" >&5 + echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 + if test "x$cf_cv_func_mkstemp" = xmaybe ; then +- echo "$as_me:17434: checking for mkstemp" >&5 ++ echo "$as_me:17483: checking for mkstemp" >&5 + echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 + if test "${ac_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17440 "configure" ++#line 17489 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17468,16 +17517,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17471: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17520: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17474: \$? = $ac_status" >&5 ++ echo "$as_me:17523: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17477: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17526: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17480: \$? = $ac_status" >&5 ++ echo "$as_me:17529: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -17487,7 +17536,7 @@ ac_cv_func_mkstemp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17490: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:17539: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -17516,7 +17565,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- + unset cf_TEMP_gnat + # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. + set dummy $cf_prog_gnat; ac_word=$2 +-echo "$as_me:17519: checking for $ac_word" >&5 ++echo "$as_me:17568: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17533,7 +17582,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" +- echo "$as_me:17536: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:17585: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -17545,10 +17594,10 @@ fi + cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat + + if test -n "$cf_TEMP_gnat"; then +- echo "$as_me:17548: result: $cf_TEMP_gnat" >&5 ++ echo "$as_me:17597: result: $cf_TEMP_gnat" >&5 + echo "${ECHO_T}$cf_TEMP_gnat" >&6 + else +- echo "$as_me:17551: result: no" >&5 ++ echo "$as_me:17600: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -17558,7 +17607,7 @@ fi + unset cf_cv_gnat_version + unset cf_TEMP_gnat + +-echo "$as_me:17561: checking for $cf_prog_gnat version" >&5 ++echo "$as_me:17610: checking for $cf_prog_gnat version" >&5 + echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17569,7 +17618,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:17572: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:17621: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version +@@ -17598,7 +17647,7 @@ else + cd conftest.src + for cf_gprconfig in Ada C + do +- echo "$as_me:17601: checking for gprconfig name for $cf_gprconfig" >&5 ++ echo "$as_me:17650: checking for gprconfig name for $cf_gprconfig" >&5 + echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test "$cf_gprconfig" = C + then +@@ -17617,10 +17666,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test -n "$cf_gprconfig_value" + then + eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" +- echo "$as_me:17620: result: $cf_gprconfig_value" >&5 ++ echo "$as_me:17669: result: $cf_gprconfig_value" >&5 + echo "${ECHO_T}$cf_gprconfig_value" >&6 + else +- echo "$as_me:17623: result: missing" >&5 ++ echo "$as_me:17672: result: missing" >&5 + echo "${ECHO_T}missing" >&6 + cf_ada_config="#" + break +@@ -17633,7 +17682,7 @@ echo "${ECHO_T}missing" >&6 + if test "x$cf_ada_config" != "x#" + then + +-echo "$as_me:17636: checking for gnat version" >&5 ++echo "$as_me:17685: checking for gnat version" >&5 + echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17644,7 +17693,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:17647: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:17696: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + +@@ -17653,7 +17702,7 @@ case "$cf_cv_gnat_version" in + cf_cv_prog_gnat_correct=yes + ;; + (*) +- { echo "$as_me:17656: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 ++ { echo "$as_me:17705: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} + cf_cv_prog_gnat_correct=no + ;; +@@ -17661,7 +17710,7 @@ esac + + # Extract the first word of "m4", so it can be a program name with args. + set dummy m4; ac_word=$2 +-echo "$as_me:17664: checking for $ac_word" >&5 ++echo "$as_me:17713: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_M4_exists+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17676,7 +17725,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_M4_exists="yes" +-echo "$as_me:17679: found $ac_dir/$ac_word" >&5 ++echo "$as_me:17728: found $ac_dir/$ac_word" >&5 + break + done + +@@ -17685,20 +17734,20 @@ fi + fi + M4_exists=$ac_cv_prog_M4_exists + if test -n "$M4_exists"; then +- echo "$as_me:17688: result: $M4_exists" >&5 ++ echo "$as_me:17737: result: $M4_exists" >&5 + echo "${ECHO_T}$M4_exists" >&6 + else +- echo "$as_me:17691: result: no" >&5 ++ echo "$as_me:17740: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + + if test "$ac_cv_prog_M4_exists" = no; then + cf_cv_prog_gnat_correct=no +- { echo "$as_me:17697: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 ++ { echo "$as_me:17746: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} + fi + if test "$cf_cv_prog_gnat_correct" = yes; then +- echo "$as_me:17701: checking if GNAT works" >&5 ++ echo "$as_me:17750: checking if GNAT works" >&5 + echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 + + rm -rf ./conftest* ./*~conftest* +@@ -17726,7 +17775,7 @@ else + fi + rm -rf ./conftest* ./*~conftest* + +- echo "$as_me:17729: result: $cf_cv_prog_gnat_correct" >&5 ++ echo "$as_me:17778: result: $cf_cv_prog_gnat_correct" >&5 + echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 + fi + else +@@ -17736,7 +17785,7 @@ fi + + if test "$cf_cv_prog_gnat_correct" = yes; then + +- echo "$as_me:17739: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:17788: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -17753,10 +17802,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + + ;; + esac +- echo "$as_me:17756: result: $ADAFLAGS" >&5 ++ echo "$as_me:17805: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:17759: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:17808: checking if GNATPREP supports -T option" >&5 + echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 + if test "${cf_cv_gnatprep_opt_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17766,11 +17815,11 @@ cf_cv_gnatprep_opt_t=no + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:17769: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:17818: result: $cf_cv_gnatprep_opt_t" >&5 + echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 + test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" + +-echo "$as_me:17773: checking if GNAT supports generics" >&5 ++echo "$as_me:17822: checking if GNAT supports generics" >&5 + echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) +@@ -17780,7 +17829,7 @@ case "$cf_cv_gnat_version" in + cf_gnat_generics=no + ;; + esac +-echo "$as_me:17783: result: $cf_gnat_generics" >&5 ++echo "$as_me:17832: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -17792,7 +17841,7 @@ else + cf_generic_objects= + fi + +-echo "$as_me:17795: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:17844: checking if GNAT supports SIGINT" >&5 + echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 + if test "${cf_cv_gnat_sigint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17840,7 +17889,7 @@ fi + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:17843: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:17892: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -17853,7 +17902,7 @@ cf_gnat_libraries=no + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:17856: checking if GNAT supports project files" >&5 ++echo "$as_me:17905: checking if GNAT supports project files" >&5 + echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.[0-9]*) +@@ -17916,15 +17965,15 @@ CF_EOF + esac + ;; + esac +-echo "$as_me:17919: result: $cf_gnat_projects" >&5 ++echo "$as_me:17968: result: $cf_gnat_projects" >&5 + echo "${ECHO_T}$cf_gnat_projects" >&6 + fi # enable_gnat_projects + + if test "$cf_gnat_projects" = yes + then +- echo "$as_me:17925: checking if GNAT supports libraries" >&5 ++ echo "$as_me:17974: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:17927: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:17976: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -17944,7 +17993,7 @@ then + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:17947: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:17996: WARNING: use old makefile rules since tools are missing" >&5 + echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} + fi + fi +@@ -17956,7 +18005,7 @@ else + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:17959: checking for ada-compiler" >&5 ++echo "$as_me:18008: checking for ada-compiler" >&5 + echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 + + # Check whether --with-ada-compiler or --without-ada-compiler was given. +@@ -17967,12 +18016,12 @@ else + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:17970: result: $cf_ada_compiler" >&5 ++echo "$as_me:18019: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:17975: checking for ada-include" >&5 ++echo "$as_me:18024: checking for ada-include" >&5 + echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 + + # Check whether --with-ada-include or --without-ada-include was given. +@@ -18008,7 +18057,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18011: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18060: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18017,10 +18066,10 @@ esac + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:18020: result: $ADA_INCLUDE" >&5 ++echo "$as_me:18069: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:18023: checking for ada-objects" >&5 ++echo "$as_me:18072: checking for ada-objects" >&5 + echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 + + # Check whether --with-ada-objects or --without-ada-objects was given. +@@ -18056,7 +18105,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18059: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18108: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18065,10 +18114,10 @@ esac + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:18068: result: $ADA_OBJECTS" >&5 ++echo "$as_me:18117: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:18071: checking if an Ada95 shared-library should be built" >&5 ++echo "$as_me:18120: checking if an Ada95 shared-library should be built" >&5 + echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 + + # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. +@@ -18078,14 +18127,14 @@ if test "${with_ada_sharedlib+set}" = set; then + else + with_ada_sharedlib=no + fi; +-echo "$as_me:18081: result: $with_ada_sharedlib" >&5 ++echo "$as_me:18130: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + + if test "x$with_ada_sharedlib" != xno + then + if test "x$cf_gnat_projects" != xyes + then +- { echo "$as_me:18088: WARNING: disabling shared-library since GNAT projects are not supported" >&5 ++ { echo "$as_me:18137: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} + with_ada_sharedlib=no + fi +@@ -18105,7 +18154,7 @@ fi + + # allow the Ada binding to be renamed + +-echo "$as_me:18108: checking for ada-libname" >&5 ++echo "$as_me:18157: checking for ada-libname" >&5 + echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 + + # Check whether --with-ada-libname or --without-ada-libname was given. +@@ -18121,16 +18170,16 @@ case "x$ADA_LIBNAME" in + ;; + esac + +-echo "$as_me:18124: result: $ADA_LIBNAME" >&5 ++echo "$as_me:18173: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + else +- { { echo "$as_me:18128: error: No usable Ada compiler found" >&5 ++ { { echo "$as_me:18177: error: No usable Ada compiler found" >&5 + echo "$as_me: error: No usable Ada compiler found" >&2;} + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:18133: error: The Ada compiler is needed for this package" >&5 ++ { { echo "$as_me:18182: error: The Ada compiler is needed for this package" >&5 + echo "$as_me: error: The Ada compiler is needed for this package" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -18170,7 +18219,7 @@ elif test "$includedir" != "/usr/include"; then + fi + + ### Build up pieces for makefile rules +-echo "$as_me:18173: checking default library suffix" >&5 ++echo "$as_me:18222: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18181,10 +18230,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:18184: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:18233: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:18187: checking default library-dependency suffix" >&5 ++echo "$as_me:18236: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -18267,10 +18316,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" + DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" + fi +-echo "$as_me:18270: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:18319: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:18273: checking default object directory" >&5 ++echo "$as_me:18322: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18286,7 +18335,7 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:18289: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:18338: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + ### Set up low-level terminfo dependencies for makefiles. +@@ -18428,7 +18477,7 @@ 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:18431: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:18480: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -18607,7 +18656,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:18610: error: ambiguous option: $1 ++ { { echo "$as_me:18659: 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;} +@@ -18626,7 +18675,7 @@ Try \`$0 --help' for more information." >&2;} + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:18629: error: unrecognized option: $1 ++ -*) { { echo "$as_me:18678: 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;} +@@ -18700,7 +18749,7 @@ do + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; +- *) { { echo "$as_me:18703: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:18752: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -19060,7 +19109,7 @@ done; } + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:19063: creating $ac_file" >&5 ++ { echo "$as_me:19112: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -19078,7 +19127,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19081: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19130: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -19091,7 +19140,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19094: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19143: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19107,7 +19156,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:19110: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:19159: 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;} +@@ -19116,7 +19165,7 @@ $ac_seen" >&2;} + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:19119: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:19168: 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;} +@@ -19153,7 +19202,7 @@ s,@INSTALL@,$ac_INSTALL,;t t + ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` + if test -z "$ac_init"; then + ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` +- { echo "$as_me:19156: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:19205: 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;} +@@ -19164,7 +19213,7 @@ $ac_seen" >&2;} + ${EGREP-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:19167: WARNING: Some variables may not be substituted: ++ { echo "$as_me:19216: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -19213,7 +19262,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:19216: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:19265: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -19224,7 +19273,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19227: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19276: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -19237,7 +19286,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19240: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19289: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19295,7 +19344,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + 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:19298: $ac_file is unchanged" >&5 ++ { echo "$as_me:19347: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +diff --git a/NEWS b/NEWS +index 241c6188..2fc4c83d 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3858 2022/09/17 20:49:10 tom Exp $ ++-- $Id: NEWS,v 1.3860 2022/09/24 20:40:35 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,16 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220924 ++ + modify configure macro CF_BUILD_CC to check if the build-compiler ++ works, rather than that it is different from the cross-compiler, e.g., ++ to accommodate a compiler which can be used for either purpose with ++ different flags (report by Mikhail Korolev). ++ + fix another memory-leak in tic. ++ + correct change for cppcheck in menu library (report/analysis by ++ "tuxway", cf: 20220903). ++ + update config.guess, config.sub ++ + 20220917 + + reduce memory-leak in tic by separating allocations for struct entry + from TERMTYPE2 (cf: 20220430). +diff --git a/VERSION b/VERSION +index cecc2752..9345ed3d 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220917 ++5:0:10 6.3 20220924 +diff --git a/aclocal.m4 b/aclocal.m4 +index 15631bb4..73637796 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: aclocal.m4,v 1.1011 2022/09/10 19:23:45 tom Exp $ ++dnl $Id: aclocal.m4,v 1.1012 2022/09/24 20:41:12 tom Exp $ + dnl Macros used in NCURSES auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -739,7 +739,7 @@ if test "$cf_cv_type_of_bool" = unknown ; then + fi + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_BUILD_CC version: 9 updated: 2021/01/02 09:31:20 ++dnl CF_BUILD_CC version: 10 updated: 2022/09/24 16:36:41 + dnl ----------- + dnl If we're cross-compiling, allow the user to override the tools and their + dnl options. The configure script is oriented toward identifying the host +@@ -805,7 +805,30 @@ if test "$cross_compiling" = yes ; then + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then ++ AC_MSG_CHECKING(if the build-compiler "$BUILD_CC" works) ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&AS_MESSAGE_LOG_FD' ++ ++ AC_TRY_RUN([#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ], ++ cf_ok_build_cc=yes, ++ cf_ok_build_cc=no, ++ cf_ok_build_cc=unknown) ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ AC_MSG_RESULT($cf_ok_build_cc) ++ ++ if test "$cf_ok_build_cc" != yes ++ then + AC_MSG_ERROR([Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler.]) + fi +diff --git a/config.guess b/config.guess +index 1817bdce..a419d864 100755 +--- a/config.guess ++++ b/config.guess +@@ -4,7 +4,7 @@ + + # shellcheck disable=SC2006,SC2268 # see below for rationale + +-timestamp='2022-05-25' ++timestamp='2022-08-01' + + # This file is free software; you can redistribute it and/or modify it + # under the terms of the GNU General Public License as published by +@@ -1036,7 +1036,7 @@ EOF + k1om:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; +- loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) ++ loongarch32:Linux:*:* | loongarch64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + m32r*:Linux:*:*) +diff --git a/config.sub b/config.sub +index dba16e84..fbaa37f2 100755 +--- a/config.sub ++++ b/config.sub +@@ -4,7 +4,7 @@ + + # shellcheck disable=SC2006,SC2268 # see below for rationale + +-timestamp='2022-01-03' ++timestamp='2022-08-01' + + # This file is free software; you can redistribute it and/or modify it + # under the terms of the GNU General Public License as published by +@@ -1207,7 +1207,7 @@ case $cpu-$vendor in + | k1om \ + | le32 | le64 \ + | lm32 \ +- | loongarch32 | loongarch64 | loongarchx32 \ ++ | loongarch32 | loongarch64 \ + | m32c | m32r | m32rle \ + | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ + | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ +diff --git a/configure b/configure +index 47a4c8ec..4c87cd54 100755 +--- a/configure ++++ b/configure +@@ -5314,8 +5314,57 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then +- { { echo "$as_me:5318: error: Cross-build requires two compilers. ++ echo "$as_me:5317: checking if the build-compiler \"$BUILD_CC\" works" >&5 ++echo $ECHO_N "checking if the build-compiler \"$BUILD_CC\" works... $ECHO_C" >&6 ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&5' ++ ++ if test "$cross_compiling" = yes; then ++ cf_ok_build_cc=unknown ++else ++ cat >"conftest.$ac_ext" <<_ACEOF ++#line 5329 "configure" ++#include "confdefs.h" ++#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ++_ACEOF ++rm -f "conftest$ac_exeext" ++if { (eval echo "$as_me:5339: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ echo "$as_me:5342: \$? = $ac_status" >&5 ++ (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' ++ { (eval echo "$as_me:5344: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:5347: \$? = $ac_status" >&5 ++ (exit "$ac_status"); }; }; then ++ cf_ok_build_cc=yes ++else ++ echo "$as_me: program exited with status $ac_status" >&5 ++echo "$as_me: failed program was:" >&5 ++cat "conftest.$ac_ext" >&5 ++cf_ok_build_cc=no ++fi ++rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" ++fi ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ echo "$as_me:5362: result: $cf_ok_build_cc" >&5 ++echo "${ECHO_T}$cf_ok_build_cc" >&6 ++ ++ if test "$cf_ok_build_cc" != yes ++ then ++ { { echo "$as_me:5367: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&5 + echo "$as_me: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&2;} +@@ -5340,7 +5389,7 @@ fi + ### shared, for example. + cf_list_models="" + +-echo "$as_me:5343: checking if libtool -version-number should be used" >&5 ++echo "$as_me:5392: 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. +@@ -5357,7 +5406,7 @@ else + cf_libtool_version=yes + + fi; +-echo "$as_me:5360: result: $cf_libtool_version" >&5 ++echo "$as_me:5409: result: $cf_libtool_version" >&5 + echo "${ECHO_T}$cf_libtool_version" >&6 + + if test "$cf_libtool_version" = yes ; then +@@ -5366,25 +5415,25 @@ else + LIBTOOL_VERSION="-version-info" + case "x$VERSION" in + (x) +- { echo "$as_me:5369: WARNING: VERSION was not set" >&5 ++ { echo "$as_me:5418: WARNING: VERSION was not set" >&5 + echo "$as_me: WARNING: VERSION was not set" >&2;} + ;; + (x*.*.*) + ABI_VERSION="$VERSION" + test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6 + +-echo "${as_me:-configure}:5376: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 ++echo "${as_me:-configure}:5425: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 + + ;; + (x*:*:*) + ABI_VERSION=`echo "$VERSION" | sed -e 's/:/./g'` + test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6 + +-echo "${as_me:-configure}:5383: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 ++echo "${as_me:-configure}:5432: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 + + ;; + (*) +- { echo "$as_me:5387: WARNING: unexpected VERSION value: $VERSION" >&5 ++ { echo "$as_me:5436: WARNING: unexpected VERSION value: $VERSION" >&5 + echo "$as_me: WARNING: unexpected VERSION value: $VERSION" >&2;} + ;; + esac +@@ -5406,7 +5455,7 @@ LIB_LINK='${CC}' + LIB_INSTALL= + LIB_UNINSTALL= + +-echo "$as_me:5409: checking if you want to build libraries with libtool" >&5 ++echo "$as_me:5458: 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. +@@ -5416,7 +5465,7 @@ if test "${with_libtool+set}" = set; then + else + with_libtool=no + fi; +-echo "$as_me:5419: result: $with_libtool" >&5 ++echo "$as_me:5468: result: $with_libtool" >&5 + echo "${ECHO_T}$with_libtool" >&6 + if test "$with_libtool" != "no"; then + +@@ -5447,7 +5496,7 @@ case ".$with_libtool" in + with_libtool=`echo "$with_libtool" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:5450: error: expected a pathname, not \"$with_libtool\"" >&5 ++ { { echo "$as_me:5499: error: expected a pathname, not \"$with_libtool\"" >&5 + echo "$as_me: error: expected a pathname, not \"$with_libtool\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -5460,7 +5509,7 @@ esac + 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:5463: checking for $ac_word" >&5 ++echo "$as_me:5512: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5475,7 +5524,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_LIBTOOL="$ac_tool_prefix$ac_prog" +-echo "$as_me:5478: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5527: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5483,10 +5532,10 @@ fi + fi + LIBTOOL=$ac_cv_prog_LIBTOOL + if test -n "$LIBTOOL"; then +- echo "$as_me:5486: result: $LIBTOOL" >&5 ++ echo "$as_me:5535: result: $LIBTOOL" >&5 + echo "${ECHO_T}$LIBTOOL" >&6 + else +- echo "$as_me:5489: result: no" >&5 ++ echo "$as_me:5538: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5499,7 +5548,7 @@ if test -z "$LIBTOOL"; then + 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:5502: checking for $ac_word" >&5 ++echo "$as_me:5551: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5514,7 +5563,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_LIBTOOL="$ac_prog" +-echo "$as_me:5517: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5566: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5522,10 +5571,10 @@ fi + fi + ac_ct_LIBTOOL=$ac_cv_prog_ac_ct_LIBTOOL + if test -n "$ac_ct_LIBTOOL"; then +- echo "$as_me:5525: result: $ac_ct_LIBTOOL" >&5 ++ echo "$as_me:5574: result: $ac_ct_LIBTOOL" >&5 + echo "${ECHO_T}$ac_ct_LIBTOOL" >&6 + else +- echo "$as_me:5528: result: no" >&5 ++ echo "$as_me:5577: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5556,7 +5605,7 @@ unset LIBTOOL + 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:5559: checking for $ac_word" >&5 ++echo "$as_me:5608: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5571,7 +5620,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_LIBTOOL="$ac_tool_prefix$ac_prog" +-echo "$as_me:5574: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5623: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5579,10 +5628,10 @@ fi + fi + LIBTOOL=$ac_cv_prog_LIBTOOL + if test -n "$LIBTOOL"; then +- echo "$as_me:5582: result: $LIBTOOL" >&5 ++ echo "$as_me:5631: result: $LIBTOOL" >&5 + echo "${ECHO_T}$LIBTOOL" >&6 + else +- echo "$as_me:5585: result: no" >&5 ++ echo "$as_me:5634: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5595,7 +5644,7 @@ if test -z "$LIBTOOL"; then + 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:5598: checking for $ac_word" >&5 ++echo "$as_me:5647: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5610,7 +5659,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_LIBTOOL="$ac_prog" +-echo "$as_me:5613: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5662: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5618,10 +5667,10 @@ fi + fi + ac_ct_LIBTOOL=$ac_cv_prog_ac_ct_LIBTOOL + if test -n "$ac_ct_LIBTOOL"; then +- echo "$as_me:5621: result: $ac_ct_LIBTOOL" >&5 ++ echo "$as_me:5670: result: $ac_ct_LIBTOOL" >&5 + echo "${ECHO_T}$ac_ct_LIBTOOL" >&6 + else +- echo "$as_me:5624: result: no" >&5 ++ echo "$as_me:5673: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5643,7 +5692,7 @@ test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version + fi + fi + if test -z "$LIBTOOL" ; then +- { { echo "$as_me:5646: error: Cannot find libtool" >&5 ++ { { echo "$as_me:5695: error: Cannot find libtool" >&5 + echo "$as_me: error: Cannot find libtool" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5659,7 +5708,7 @@ echo "$as_me: error: Cannot find libtool" >&2;} + + if test -n "$LIBTOOL" && test "$LIBTOOL" != none + then +- echo "$as_me:5662: checking version of $LIBTOOL" >&5 ++ echo "$as_me:5711: checking version of $LIBTOOL" >&5 + echo $ECHO_N "checking version of $LIBTOOL... $ECHO_C" >&6 + + if test -n "$LIBTOOL" && test "$LIBTOOL" != none +@@ -5670,7 +5719,7 @@ else + fi + test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version + +- echo "$as_me:5673: result: $cf_cv_libtool_version" >&5 ++ echo "$as_me:5722: result: $cf_cv_libtool_version" >&5 + echo "${ECHO_T}$cf_cv_libtool_version" >&6 + if test -n "$cf_cv_libtool_version" + then +@@ -5679,18 +5728,18 @@ echo "${ECHO_T}$cf_cv_libtool_version" >&6 + (*...GNU-libtool...*) + ;; + (*) +- { { echo "$as_me:5682: error: This is not GNU libtool" >&5 ++ { { echo "$as_me:5731: error: This is not GNU libtool" >&5 + echo "$as_me: error: This is not GNU libtool" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + else +- { { echo "$as_me:5688: error: No version found for $LIBTOOL" >&5 ++ { { echo "$as_me:5737: error: No version found for $LIBTOOL" >&5 + echo "$as_me: error: No version found for $LIBTOOL" >&2;} + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:5693: error: GNU libtool has not been found" >&5 ++ { { echo "$as_me:5742: error: GNU libtool has not been found" >&5 + echo "$as_me: error: GNU libtool has not been found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5726,7 +5775,7 @@ cf_list_models="$cf_list_models libtool" + + else + +-echo "$as_me:5729: checking if you want to build shared libraries" >&5 ++echo "$as_me:5778: checking if you want to build shared libraries" >&5 + echo $ECHO_N "checking if you want to build shared libraries... $ECHO_C" >&6 + + # Check whether --with-shared or --without-shared was given. +@@ -5736,11 +5785,11 @@ if test "${with_shared+set}" = set; then + else + with_shared=no + fi; +-echo "$as_me:5739: result: $with_shared" >&5 ++echo "$as_me:5788: result: $with_shared" >&5 + echo "${ECHO_T}$with_shared" >&6 + test "x$with_shared" = "xyes" && cf_list_models="$cf_list_models shared" + +-echo "$as_me:5743: checking if you want to build static libraries" >&5 ++echo "$as_me:5792: checking if you want to build static libraries" >&5 + echo $ECHO_N "checking if you want to build static libraries... $ECHO_C" >&6 + + # Check whether --with-normal or --without-normal was given. +@@ -5750,11 +5799,11 @@ if test "${with_normal+set}" = set; then + else + with_normal=yes + fi; +-echo "$as_me:5753: result: $with_normal" >&5 ++echo "$as_me:5802: result: $with_normal" >&5 + echo "${ECHO_T}$with_normal" >&6 + test "x$with_normal" = "xyes" && cf_list_models="$cf_list_models normal" + +-echo "$as_me:5757: checking if you want to build debug libraries" >&5 ++echo "$as_me:5806: checking if you want to build debug libraries" >&5 + echo $ECHO_N "checking if you want to build debug libraries... $ECHO_C" >&6 + + # Check whether --with-debug or --without-debug was given. +@@ -5764,11 +5813,11 @@ if test "${with_debug+set}" = set; then + else + with_debug=yes + fi; +-echo "$as_me:5767: result: $with_debug" >&5 ++echo "$as_me:5816: result: $with_debug" >&5 + echo "${ECHO_T}$with_debug" >&6 + test "x$with_debug" = "xyes" && cf_list_models="$cf_list_models debug" + +-echo "$as_me:5771: checking if you want to build profiling libraries" >&5 ++echo "$as_me:5820: checking if you want to build profiling libraries" >&5 + echo $ECHO_N "checking if you want to build profiling libraries... $ECHO_C" >&6 + + # Check whether --with-profile or --without-profile was given. +@@ -5778,7 +5827,7 @@ if test "${with_profile+set}" = set; then + else + with_profile=no + fi; +-echo "$as_me:5781: result: $with_profile" >&5 ++echo "$as_me:5830: result: $with_profile" >&5 + echo "${ECHO_T}$with_profile" >&6 + test "x$with_profile" = "xyes" && cf_list_models="$cf_list_models profile" + +@@ -5786,7 +5835,7 @@ fi + + if test "X$cf_with_cxx_binding" != Xno; then + if test "x$with_shared" = "xyes"; then +-echo "$as_me:5789: checking if you want to build C++ shared libraries" >&5 ++echo "$as_me:5838: checking if you want to build C++ shared libraries" >&5 + echo $ECHO_N "checking if you want to build C++ shared libraries... $ECHO_C" >&6 + + # Check whether --with-cxx-shared or --without-cxx-shared was given. +@@ -5796,26 +5845,26 @@ if test "${with_cxx_shared+set}" = set; then + else + with_shared_cxx=no + fi; +-echo "$as_me:5799: result: $with_shared_cxx" >&5 ++echo "$as_me:5848: result: $with_shared_cxx" >&5 + echo "${ECHO_T}$with_shared_cxx" >&6 + fi + fi + + ############################################################################### + +-echo "$as_me:5806: checking for specified models" >&5 ++echo "$as_me:5855: checking for specified models" >&5 + echo $ECHO_N "checking for specified models... $ECHO_C" >&6 + test -z "$cf_list_models" && cf_list_models=normal + test "$with_libtool" != "no" && cf_list_models=libtool +-echo "$as_me:5810: result: $cf_list_models" >&5 ++echo "$as_me:5859: result: $cf_list_models" >&5 + echo "${ECHO_T}$cf_list_models" >&6 + + ### Use the first model as the default, and save its suffix for use in building + ### up test-applications. +-echo "$as_me:5815: checking for default model" >&5 ++echo "$as_me:5864: checking for default model" >&5 + echo $ECHO_N "checking for default model... $ECHO_C" >&6 + DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` +-echo "$as_me:5818: result: $DFT_LWR_MODEL" >&5 ++echo "$as_me:5867: result: $DFT_LWR_MODEL" >&5 + echo "${ECHO_T}$DFT_LWR_MODEL" >&6 + + DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` +@@ -5829,7 +5878,7 @@ LIB_NAME=ncurses + LIB_DIR=../lib + LIB_2ND=../../lib + +-echo "$as_me:5832: checking if you want to have a library-prefix" >&5 ++echo "$as_me:5881: checking if you want to have a library-prefix" >&5 + echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 + + # Check whether --with-lib-prefix or --without-lib-prefix was given. +@@ -5839,7 +5888,7 @@ if test "${with_lib_prefix+set}" = set; then + else + with_lib_prefix=auto + fi; +-echo "$as_me:5842: result: $with_lib_prefix" >&5 ++echo "$as_me:5891: result: $with_lib_prefix" >&5 + echo "${ECHO_T}$with_lib_prefix" >&6 + + if test "$with_lib_prefix" = auto +@@ -5870,19 +5919,19 @@ fi + + LIB_SUFFIX= + +- echo "$as_me:5873: checking for PATH separator" >&5 ++ echo "$as_me:5922: 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:5880: result: $PATH_SEPARATOR" >&5 ++ echo "$as_me:5929: result: $PATH_SEPARATOR" >&5 + echo "${ECHO_T}$PATH_SEPARATOR" >&6 + + ############################################################################### + +-echo "$as_me:5885: checking if you want to build a separate terminfo library" >&5 ++echo "$as_me:5934: checking if you want to build a separate terminfo library" >&5 + echo $ECHO_N "checking if you want to build a separate terminfo library... $ECHO_C" >&6 + + # Check whether --with-termlib or --without-termlib was given. +@@ -5892,10 +5941,10 @@ if test "${with_termlib+set}" = set; then + else + with_termlib=no + fi; +-echo "$as_me:5895: result: $with_termlib" >&5 ++echo "$as_me:5944: result: $with_termlib" >&5 + echo "${ECHO_T}$with_termlib" >&6 + +-echo "$as_me:5898: checking if you want to build a separate tic library" >&5 ++echo "$as_me:5947: checking if you want to build a separate tic library" >&5 + echo $ECHO_N "checking if you want to build a separate tic library... $ECHO_C" >&6 + + # Check whether --with-ticlib or --without-ticlib was given. +@@ -5905,7 +5954,7 @@ if test "${with_ticlib+set}" = set; then + else + with_ticlib=no + fi; +-echo "$as_me:5908: result: $with_ticlib" >&5 ++echo "$as_me:5957: result: $with_ticlib" >&5 + echo "${ECHO_T}$with_ticlib" >&6 + + if test X"$CC_G_OPT" = X"" ; then +@@ -5918,7 +5967,7 @@ if test X"$CXX_G_OPT" = X"" ; then + test -n "$GXX" && test "x${ac_cv_prog_cxx_g}" != xyes && CXX_G_OPT='' + fi + +-echo "$as_me:5921: checking for default loader flags" >&5 ++echo "$as_me:5970: checking for default loader flags" >&5 + echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 + case "$DFT_LWR_MODEL" in + (libtool) LD_MODEL='' ;; +@@ -5927,13 +5976,13 @@ case "$DFT_LWR_MODEL" in + (profile) LD_MODEL='-pg';; + (shared) LD_MODEL='' ;; + esac +-echo "$as_me:5930: result: $LD_MODEL" >&5 ++echo "$as_me:5979: result: $LD_MODEL" >&5 + echo "${ECHO_T}$LD_MODEL" >&6 + + case "$DFT_LWR_MODEL" in + (shared) + +-echo "$as_me:5936: checking if rpath option should be used" >&5 ++echo "$as_me:5985: checking if rpath option should be used" >&5 + echo $ECHO_N "checking if rpath option should be used... $ECHO_C" >&6 + + # Check whether --enable-rpath or --disable-rpath was given. +@@ -5943,10 +5992,10 @@ if test "${enable_rpath+set}" = set; then + else + cf_cv_enable_rpath=no + fi; +-echo "$as_me:5946: result: $cf_cv_enable_rpath" >&5 ++echo "$as_me:5995: result: $cf_cv_enable_rpath" >&5 + echo "${ECHO_T}$cf_cv_enable_rpath" >&6 + +-echo "$as_me:5949: checking if shared libraries should be relinked during install" >&5 ++echo "$as_me:5998: checking if shared libraries should be relinked during install" >&5 + echo $ECHO_N "checking if shared libraries should be relinked during install... $ECHO_C" >&6 + + # Check whether --enable-relink or --disable-relink was given. +@@ -5956,7 +6005,7 @@ if test "${enable_relink+set}" = set; then + else + cf_cv_do_relink=yes + fi; +-echo "$as_me:5959: result: $cf_cv_do_relink" >&5 ++echo "$as_me:6008: result: $cf_cv_do_relink" >&5 + echo "${ECHO_T}$cf_cv_do_relink" >&6 + ;; + esac +@@ -5967,7 +6016,7 @@ rel_builddir=.. + LD_RPATH_OPT= + if test "x$cf_cv_enable_rpath" != xno + then +- echo "$as_me:5970: checking for an rpath option" >&5 ++ echo "$as_me:6019: checking for an rpath option" >&5 + echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + case "$cf_cv_system_name" in + (irix*) +@@ -5998,12 +6047,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + (*) + ;; + esac +- echo "$as_me:6001: result: $LD_RPATH_OPT" >&5 ++ echo "$as_me:6050: result: $LD_RPATH_OPT" >&5 + echo "${ECHO_T}$LD_RPATH_OPT" >&6 + + case "x$LD_RPATH_OPT" in + (x-R*) +- echo "$as_me:6006: checking if we need a space after rpath option" >&5 ++ echo "$as_me:6055: 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" + +@@ -6024,7 +6073,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6027 "configure" ++#line 6076 "configure" + #include "confdefs.h" + + int +@@ -6036,16 +6085,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6039: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6088: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6042: \$? = $ac_status" >&5 ++ echo "$as_me:6091: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6045: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6094: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6048: \$? = $ac_status" >&5 ++ echo "$as_me:6097: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_space=no + else +@@ -6055,7 +6104,7 @@ cf_rpath_space=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:6058: result: $cf_rpath_space" >&5 ++ echo "$as_me:6107: result: $cf_rpath_space" >&5 + echo "${ECHO_T}$cf_rpath_space" >&6 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " + ;; +@@ -6077,7 +6126,7 @@ fi + cf_ld_rpath_opt= + test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" + +- echo "$as_me:6080: checking if release/abi version should be used for shared libs" >&5 ++ echo "$as_me:6129: checking if release/abi version should be used for shared libs" >&5 + echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 + + # Check whether --with-shlib-version or --without-shlib-version was given. +@@ -6092,9 +6141,9 @@ if test "${with_shlib_version+set}" = set; then + cf_cv_shlib_version=$withval + ;; + (*) +- echo "$as_me:6095: result: $withval" >&5 ++ echo "$as_me:6144: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- { { echo "$as_me:6097: error: option value must be one of: rel, abi, or auto" >&5 ++ { { echo "$as_me:6146: error: option value must be one of: rel, abi, or auto" >&5 + echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -6103,7 +6152,7 @@ echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + else + cf_cv_shlib_version=auto + fi; +- echo "$as_me:6106: result: $cf_cv_shlib_version" >&5 ++ echo "$as_me:6155: result: $cf_cv_shlib_version" >&5 + echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + cf_cv_rm_so_locs=no +@@ -6126,14 +6175,14 @@ echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + if test "$cf_try_fPIC" = yes + then +- echo "$as_me:6129: checking which $CC option to use" >&5 ++ echo "$as_me:6178: checking which $CC option to use" >&5 + echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + for CC_SHARED_OPTS in -fPIC -fpic '' + do + CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6136 "configure" ++#line 6185 "configure" + #include "confdefs.h" + #include + int +@@ -6145,16 +6194,16 @@ int x = 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6148: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6197: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6151: \$? = $ac_status" >&5 ++ echo "$as_me:6200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6154: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6203: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6157: \$? = $ac_status" >&5 ++ echo "$as_me:6206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -6163,7 +6212,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done +- echo "$as_me:6166: result: $CC_SHARED_OPTS" >&5 ++ echo "$as_me:6215: result: $CC_SHARED_OPTS" >&5 + echo "${ECHO_T}$CC_SHARED_OPTS" >&6 + CFLAGS="$cf_save_CFLAGS" + fi +@@ -6234,7 +6283,7 @@ CF_EOF + MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' + test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi + cf_cv_shlib_version_infix=yes +- echo "$as_me:6237: checking if ld -search_paths_first works" >&5 ++ echo "$as_me:6286: checking if ld -search_paths_first works" >&5 + echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 + if test "${cf_cv_ldflags_search_paths_first+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -6243,7 +6292,7 @@ else + cf_save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6246 "configure" ++#line 6295 "configure" + #include "confdefs.h" + + int +@@ -6255,16 +6304,16 @@ int i; + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6258: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6307: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6261: \$? = $ac_status" >&5 ++ echo "$as_me:6310: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6264: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6313: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6267: \$? = $ac_status" >&5 ++ echo "$as_me:6316: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ldflags_search_paths_first=yes + else +@@ -6275,7 +6324,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LDFLAGS=$cf_save_LDFLAGS + fi +-echo "$as_me:6278: result: $cf_cv_ldflags_search_paths_first" >&5 ++echo "$as_me:6327: result: $cf_cv_ldflags_search_paths_first" >&5 + echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 + if test "$cf_cv_ldflags_search_paths_first" = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" +@@ -6625,7 +6674,7 @@ CF_EOF + do + CFLAGS="$cf_shared_opts $cf_save_CFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6628 "configure" ++#line 6677 "configure" + #include "confdefs.h" + #include + int +@@ -6637,16 +6686,16 @@ printf("Hello\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6640: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6689: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6643: \$? = $ac_status" >&5 ++ echo "$as_me:6692: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6646: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6695: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6649: \$? = $ac_status" >&5 ++ echo "$as_me:6698: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -6683,7 +6732,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes + ;; + (*) +- { echo "$as_me:6686: WARNING: ignored --with-shlib-version" >&5 ++ { echo "$as_me:6735: WARNING: ignored --with-shlib-version" >&5 + echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + ;; + esac +@@ -6693,7 +6742,7 @@ echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + if test -n "$cf_try_cflags" + then + cat > conftest.$ac_ext < + int main(int argc, char *argv[]) + { +@@ -6705,18 +6754,18 @@ EOF + for cf_opt in $cf_try_cflags + do + CFLAGS="$cf_save_CFLAGS -$cf_opt" +- echo "$as_me:6708: checking if CFLAGS option -$cf_opt works" >&5 ++ echo "$as_me:6757: checking if CFLAGS option -$cf_opt works" >&5 + echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6 +- if { (eval echo "$as_me:6710: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:6759: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6713: \$? = $ac_status" >&5 ++ echo "$as_me:6762: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- echo "$as_me:6715: result: yes" >&5 ++ echo "$as_me:6764: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + cf_save_CFLAGS="$CFLAGS" + else +- echo "$as_me:6719: result: no" >&5 ++ echo "$as_me:6768: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + done +@@ -6731,17 +6780,17 @@ echo "${ECHO_T}no" >&6 + + test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6 + +-echo "${as_me:-configure}:6734: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 ++echo "${as_me:-configure}:6783: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 + + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6738: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6787: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + for model in $cf_list_models ; do + case "$model" in + (libtool) + +-echo "$as_me:6744: checking for additional libtool options" >&5 ++echo "$as_me:6793: 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. +@@ -6751,7 +6800,7 @@ if test "${with_libtool_opts+set}" = set; then + else + with_libtool_opts=no + fi; +-echo "$as_me:6754: result: $with_libtool_opts" >&5 ++echo "$as_me:6803: result: $with_libtool_opts" >&5 + echo "${ECHO_T}$with_libtool_opts" >&6 + + case .$with_libtool_opts in +@@ -6762,7 +6811,7 @@ case .$with_libtool_opts in + ;; + esac + +-echo "$as_me:6765: checking if exported-symbols file should be used" >&5 ++echo "$as_me:6814: checking if exported-symbols file should be used" >&5 + echo $ECHO_N "checking if exported-symbols file should be used... $ECHO_C" >&6 + + # Check whether --with-export-syms or --without-export-syms was given. +@@ -6777,7 +6826,7 @@ then + with_export_syms='${top_srcdir}/package/${PACKAGE}.sym' + + fi +-echo "$as_me:6780: result: $with_export_syms" >&5 ++echo "$as_me:6829: result: $with_export_syms" >&5 + echo "${ECHO_T}$with_export_syms" >&6 + if test "x$with_export_syms" != xno + then +@@ -6788,15 +6837,15 @@ fi + ;; + (shared) + if test "$CC_SHARED_OPTS" = "unknown"; then +- { { echo "$as_me:6791: error: Shared libraries are not supported in this version" >&5 ++ { { echo "$as_me:6840: error: Shared libraries are not supported in this version" >&5 + echo "$as_me: error: Shared libraries are not supported in this version" >&2;} + { (exit 1); exit 1; }; } + fi + # workaround for inept transition to PIE vs PIC... +- echo "$as_me:6796: checking if current CFLAGS link properly" >&5 ++ echo "$as_me:6845: checking if current CFLAGS link properly" >&5 + echo $ECHO_N "checking if current CFLAGS link properly... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6799 "configure" ++#line 6848 "configure" + #include "confdefs.h" + #include + int +@@ -6808,16 +6857,16 @@ printf("Hello work\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6811: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6860: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6814: \$? = $ac_status" >&5 ++ echo "$as_me:6863: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6817: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6866: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6820: \$? = $ac_status" >&5 ++ echo "$as_me:6869: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cflags_work=yes + else +@@ -6826,18 +6875,18 @@ cat "conftest.$ac_ext" >&5 + cf_cflags_work=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:6829: result: $cf_cflags_work" >&5 ++ echo "$as_me:6878: result: $cf_cflags_work" >&5 + echo "${ECHO_T}$cf_cflags_work" >&6 + if test "$cf_cflags_work" = no + then + test -n "$verbose" && echo " try to work around by appending shared-options" 1>&6 + +-echo "${as_me:-configure}:6835: testing try to work around by appending shared-options ..." 1>&5 ++echo "${as_me:-configure}:6884: testing try to work around by appending shared-options ..." 1>&5 + + CFLAGS="$CFLAGS $CC_SHARED_OPTS" + fi + +-echo "$as_me:6840: checking if versioned-symbols file should be used" >&5 ++echo "$as_me:6889: checking if versioned-symbols file should be used" >&5 + echo $ECHO_N "checking if versioned-symbols file should be used... $ECHO_C" >&6 + + # Check whether --with-versioned-syms or --without-versioned-syms was given. +@@ -6855,18 +6904,18 @@ case "x$with_versioned_syms" in + (xno) + ;; + (x/*) +- test -f "$with_versioned_syms" || { { echo "$as_me:6858: error: expected a filename: $with_versioned_syms" >&5 ++ test -f "$with_versioned_syms" || { { echo "$as_me:6907: error: expected a filename: $with_versioned_syms" >&5 + echo "$as_me: error: expected a filename: $with_versioned_syms" >&2;} + { (exit 1); exit 1; }; } + ;; + (*) +- test -f "$with_versioned_syms" || { { echo "$as_me:6863: error: expected a filename: $with_versioned_syms" >&5 ++ test -f "$with_versioned_syms" || { { echo "$as_me:6912: error: expected a filename: $with_versioned_syms" >&5 + echo "$as_me: error: expected a filename: $with_versioned_syms" >&2;} + { (exit 1); exit 1; }; } + with_versioned_syms=`pwd`/"$with_versioned_syms" + ;; + esac +-echo "$as_me:6869: result: $with_versioned_syms" >&5 ++echo "$as_me:6918: result: $with_versioned_syms" >&5 + echo "${ECHO_T}$with_versioned_syms" >&6 + + RESULTING_SYMS= +@@ -6882,7 +6931,7 @@ then + MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-Wl,%\\${VERSIONED_SYMS} -Wl,%"` + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6885: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6934: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + ;; + (*-dy\ *) +@@ -6890,11 +6939,11 @@ echo "${as_me:-configure}:6885: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-dy%\\${VERSIONED_SYMS} -dy%"` + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6893: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6942: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + ;; + (*) +- { echo "$as_me:6897: WARNING: this system does not support versioned-symbols" >&5 ++ { echo "$as_me:6946: WARNING: this system does not support versioned-symbols" >&5 + echo "$as_me: WARNING: this system does not support versioned-symbols" >&2;} + ;; + esac +@@ -6906,7 +6955,7 @@ echo "$as_me: WARNING: this system does not support versioned-symbols" >&2;} + # symbols. + if test "x$VERSIONED_SYMS" != "x" + then +- echo "$as_me:6909: checking if wildcards can be used to selectively omit symbols" >&5 ++ echo "$as_me:6958: checking if wildcards can be used to selectively omit symbols" >&5 + echo $ECHO_N "checking if wildcards can be used to selectively omit symbols... $ECHO_C" >&6 + WILDCARD_SYMS=no + +@@ -6943,7 +6992,7 @@ local: + } submodule_1.0; + EOF + cat >conftest.$ac_ext <&5 ++ echo "$as_me:7026: result: $WILDCARD_SYMS" >&5 + echo "${ECHO_T}$WILDCARD_SYMS" >&6 + rm -f conftest.* + fi +@@ -6987,7 +7036,7 @@ done + ### Checks for special libraries, must be done up-front. + SHLIB_LIST="" + +-echo "$as_me:6990: checking if you want to link with the GPM mouse library" >&5 ++echo "$as_me:7039: checking if you want to link with the GPM mouse library" >&5 + echo $ECHO_N "checking if you want to link with the GPM mouse library... $ECHO_C" >&6 + + # Check whether --with-gpm or --without-gpm was given. +@@ -6997,27 +7046,27 @@ if test "${with_gpm+set}" = set; then + else + with_gpm=maybe + fi; +-echo "$as_me:7000: result: $with_gpm" >&5 ++echo "$as_me:7049: result: $with_gpm" >&5 + echo "${ECHO_T}$with_gpm" >&6 + + if test "$with_gpm" != no ; then +- echo "$as_me:7004: checking for gpm.h" >&5 ++ echo "$as_me:7053: checking for gpm.h" >&5 + echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6 + if test "${ac_cv_header_gpm_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7010 "configure" ++#line 7059 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:7014: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:7063: \"$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:7020: \$? = $ac_status" >&5 ++ echo "$as_me:7069: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -7036,7 +7085,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:7039: result: $ac_cv_header_gpm_h" >&5 ++echo "$as_me:7088: result: $ac_cv_header_gpm_h" >&5 + echo "${ECHO_T}$ac_cv_header_gpm_h" >&6 + if test "$ac_cv_header_gpm_h" = yes; then + +@@ -7047,7 +7096,7 @@ EOF + if test "$with_gpm" != yes && test "$with_gpm" != maybe ; then + test -n "$verbose" && echo " assuming we really have GPM library" 1>&6 + +-echo "${as_me:-configure}:7050: testing assuming we really have GPM library ..." 1>&5 ++echo "${as_me:-configure}:7099: testing assuming we really have GPM library ..." 1>&5 + + cat >>confdefs.h <<\EOF + #define HAVE_LIBGPM 1 +@@ -7055,7 +7104,7 @@ EOF + + with_gpm=yes + else +- echo "$as_me:7058: checking for Gpm_Open in -lgpm" >&5 ++ echo "$as_me:7107: 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 +@@ -7063,7 +7112,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7066 "configure" ++#line 7115 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7082,16 +7131,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7085: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7134: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7088: \$? = $ac_status" >&5 ++ echo "$as_me:7137: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7091: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7140: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7094: \$? = $ac_status" >&5 ++ echo "$as_me:7143: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -7102,18 +7151,18 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7105: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:7154: 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 + with_gpm=yes + else + + if test "$with_gpm" = maybe; then +- { echo "$as_me:7112: WARNING: Cannot link with GPM library" >&5 ++ { echo "$as_me:7161: WARNING: Cannot link with GPM library" >&5 + echo "$as_me: WARNING: Cannot link with GPM library" >&2;} + with_gpm=no + else +- { { echo "$as_me:7116: error: Cannot link with GPM library" >&5 ++ { { echo "$as_me:7165: error: Cannot link with GPM library" >&5 + echo "$as_me: error: Cannot link with GPM library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7124,7 +7173,7 @@ fi + + else + +- test "$with_gpm" != maybe && { echo "$as_me:7127: WARNING: Cannot find GPM header" >&5 ++ test "$with_gpm" != maybe && { echo "$as_me:7176: WARNING: Cannot find GPM header" >&5 + echo "$as_me: WARNING: Cannot find GPM header" >&2;} + with_gpm=no + +@@ -7133,7 +7182,7 @@ fi + fi + + if test "$with_gpm" != no ; then +- echo "$as_me:7136: checking if you want to load GPM dynamically" >&5 ++ echo "$as_me:7185: checking if you want to load GPM dynamically" >&5 + echo $ECHO_N "checking if you want to load GPM dynamically... $ECHO_C" >&6 + + # Check whether --with-dlsym or --without-dlsym was given. +@@ -7143,18 +7192,18 @@ if test "${with_dlsym+set}" = set; then + else + with_dlsym=yes + fi; +- echo "$as_me:7146: result: $with_dlsym" >&5 ++ echo "$as_me:7195: result: $with_dlsym" >&5 + echo "${ECHO_T}$with_dlsym" >&6 + if test "x$with_dlsym" = xyes ; then + + cf_have_dlsym=no +-echo "$as_me:7151: checking for dlsym" >&5 ++echo "$as_me:7200: checking for dlsym" >&5 + echo $ECHO_N "checking for dlsym... $ECHO_C" >&6 + if test "${ac_cv_func_dlsym+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7157 "configure" ++#line 7206 "configure" + #include "confdefs.h" + #define dlsym autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -7185,16 +7234,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7188: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7237: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7191: \$? = $ac_status" >&5 ++ echo "$as_me:7240: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7194: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7243: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7197: \$? = $ac_status" >&5 ++ echo "$as_me:7246: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_dlsym=yes + else +@@ -7204,14 +7253,14 @@ ac_cv_func_dlsym=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:7207: result: $ac_cv_func_dlsym" >&5 ++echo "$as_me:7256: result: $ac_cv_func_dlsym" >&5 + echo "${ECHO_T}$ac_cv_func_dlsym" >&6 + if test "$ac_cv_func_dlsym" = yes; then + cf_have_dlsym=yes + else + + cf_have_libdl=no +-echo "$as_me:7214: checking for dlsym in -ldl" >&5 ++echo "$as_me:7263: checking for dlsym in -ldl" >&5 + echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 + if test "${ac_cv_lib_dl_dlsym+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7219,7 +7268,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7222 "configure" ++#line 7271 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7238,16 +7287,16 @@ dlsym (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7241: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7290: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7244: \$? = $ac_status" >&5 ++ echo "$as_me:7293: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7247: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7296: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7250: \$? = $ac_status" >&5 ++ echo "$as_me:7299: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dl_dlsym=yes + else +@@ -7258,7 +7307,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7261: result: $ac_cv_lib_dl_dlsym" >&5 ++echo "$as_me:7310: result: $ac_cv_lib_dl_dlsym" >&5 + echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 + if test "$ac_cv_lib_dl_dlsym" = yes; then + +@@ -7287,10 +7336,10 @@ done + LIBS="$cf_add_libs" + } + +- echo "$as_me:7290: checking whether able to link to dl*() functions" >&5 ++ echo "$as_me:7339: checking whether able to link to dl*() functions" >&5 + echo $ECHO_N "checking whether able to link to dl*() functions... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7293 "configure" ++#line 7342 "configure" + #include "confdefs.h" + #include + int +@@ -7308,16 +7357,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7311: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7360: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7314: \$? = $ac_status" >&5 ++ echo "$as_me:7363: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7317: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7366: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7320: \$? = $ac_status" >&5 ++ echo "$as_me:7369: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cat >>confdefs.h <<\EOF +@@ -7328,15 +7377,15 @@ else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { { echo "$as_me:7331: error: Cannot link test program for libdl" >&5 ++ { { echo "$as_me:7380: error: Cannot link test program for libdl" >&5 + echo "$as_me: error: Cannot link test program for libdl" >&2;} + { (exit 1); exit 1; }; } + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:7336: result: ok" >&5 ++ echo "$as_me:7385: result: ok" >&5 + echo "${ECHO_T}ok" >&6 + else +- { { echo "$as_me:7339: error: Cannot find dlsym function" >&5 ++ { { echo "$as_me:7388: error: Cannot find dlsym function" >&5 + echo "$as_me: error: Cannot find dlsym function" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7344,12 +7393,12 @@ fi + if test "x$with_gpm" != xyes ; then + test -n "$verbose" && echo " assuming soname for gpm is $with_gpm" 1>&6 + +-echo "${as_me:-configure}:7347: testing assuming soname for gpm is $with_gpm ..." 1>&5 ++echo "${as_me:-configure}:7396: testing assuming soname for gpm is $with_gpm ..." 1>&5 + + cf_cv_gpm_soname="$with_gpm" + else + +-echo "$as_me:7352: checking for soname of gpm library" >&5 ++echo "$as_me:7401: checking for soname of gpm library" >&5 + echo $ECHO_N "checking for soname of gpm library... $ECHO_C" >&6 + if test "${cf_cv_gpm_soname+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7383,15 +7432,15 @@ for cf_add_1lib in $cf_add_0lib; do + done + LIBS="$cf_add_libs" + +- if { (eval echo "$as_me:7386: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:7435: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7389: \$? = $ac_status" >&5 ++ echo "$as_me:7438: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then +- if { (eval echo "$as_me:7391: \"$ac_link\"") >&5 ++ if { (eval echo "$as_me:7440: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7394: \$? = $ac_status" >&5 ++ echo "$as_me:7443: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + cf_cv_gpm_soname="`ldd \"conftest$ac_exeext\" 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | ${FGREP-fgrep} libgpm.`" + test -z "$cf_cv_gpm_soname" && cf_cv_gpm_soname=unknown +@@ -7402,7 +7451,7 @@ LIBS="$cf_save_LIBS" + fi + + fi +-echo "$as_me:7405: result: $cf_cv_gpm_soname" >&5 ++echo "$as_me:7454: result: $cf_cv_gpm_soname" >&5 + echo "${ECHO_T}$cf_cv_gpm_soname" >&6 + + fi +@@ -7470,7 +7519,7 @@ cat >>confdefs.h <<\EOF + #define HAVE_LIBGPM 1 + EOF + +-echo "$as_me:7473: checking for Gpm_Wgetch in -lgpm" >&5 ++echo "$as_me:7522: checking for Gpm_Wgetch in -lgpm" >&5 + echo $ECHO_N "checking for Gpm_Wgetch in -lgpm... $ECHO_C" >&6 + if test "${ac_cv_lib_gpm_Gpm_Wgetch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7478,7 +7527,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7481 "configure" ++#line 7530 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7497,16 +7546,16 @@ Gpm_Wgetch (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7500: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7549: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7503: \$? = $ac_status" >&5 ++ echo "$as_me:7552: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7506: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7555: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7509: \$? = $ac_status" >&5 ++ echo "$as_me:7558: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Wgetch=yes + else +@@ -7517,11 +7566,11 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7520: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 ++echo "$as_me:7569: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 + echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Wgetch" >&6 + if test "$ac_cv_lib_gpm_Gpm_Wgetch" = yes; then + +-echo "$as_me:7524: checking if GPM is weakly bound to curses library" >&5 ++echo "$as_me:7573: checking if GPM is weakly bound to curses library" >&5 + echo $ECHO_N "checking if GPM is weakly bound to curses library... $ECHO_C" >&6 + if test "${cf_cv_check_gpm_wgetch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7545,15 +7594,15 @@ CF_EOF + # to rely on the static library, noting that some packagers may not + # include it. + LIBS="-static -lgpm -dynamic $LIBS" +- if { (eval echo "$as_me:7548: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:7597: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7551: \$? = $ac_status" >&5 ++ echo "$as_me:7600: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then +- if { (eval echo "$as_me:7553: \"$ac_link\"") >&5 ++ if { (eval echo "$as_me:7602: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7556: \$? = $ac_status" >&5 ++ echo "$as_me:7605: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + cf_cv_check_gpm_wgetch="`nm \"conftest$ac_exeext\" | ${EGREP-egrep} '\' | ${EGREP-egrep} '\<[vVwW]\>'`" + test -n "$cf_cv_check_gpm_wgetch" && cf_cv_check_gpm_wgetch=yes +@@ -7565,11 +7614,11 @@ CF_EOF + fi + + fi +-echo "$as_me:7568: result: $cf_cv_check_gpm_wgetch" >&5 ++echo "$as_me:7617: result: $cf_cv_check_gpm_wgetch" >&5 + echo "${ECHO_T}$cf_cv_check_gpm_wgetch" >&6 + + if test "$cf_cv_check_gpm_wgetch" != yes ; then +- { echo "$as_me:7572: WARNING: GPM library is already linked with curses - read the FAQ" >&5 ++ { echo "$as_me:7621: WARNING: GPM library is already linked with curses - read the FAQ" >&5 + echo "$as_me: WARNING: GPM library is already linked with curses - read the FAQ" >&2;} + fi + +@@ -7577,7 +7626,7 @@ fi + + fi + +-echo "$as_me:7580: checking if you want to use PCRE2 for regular-expressions" >&5 ++echo "$as_me:7629: checking if you want to use PCRE2 for regular-expressions" >&5 + echo $ECHO_N "checking if you want to use PCRE2 for regular-expressions... $ECHO_C" >&6 + + # Check whether --with-pcre2 or --without-pcre2 was given. +@@ -7586,7 +7635,7 @@ if test "${with_pcre2+set}" = set; then + + fi; + test -z "$with_pcre2" && with_pcre2=no +-echo "$as_me:7589: result: $with_pcre2" >&5 ++echo "$as_me:7638: result: $with_pcre2" >&5 + echo "${ECHO_T}$with_pcre2" >&6 + + if test "x$with_pcre2" != xno ; then +@@ -7597,17 +7646,17 @@ if test "x$with_pcre2" != xno ; then + if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$cf_with_pcre2"; then + test -n "$verbose" && echo " found package $cf_with_pcre2" 1>&6 + +-echo "${as_me:-configure}:7600: testing found package $cf_with_pcre2 ..." 1>&5 ++echo "${as_me:-configure}:7649: testing found package $cf_with_pcre2 ..." 1>&5 + + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "$cf_with_pcre2" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "$cf_with_pcre2" 2>/dev/null`" + test -n "$verbose" && echo " package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs" 1>&6 + +-echo "${as_me:-configure}:7606: testing package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 ++echo "${as_me:-configure}:7655: testing package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 + + test -n "$verbose" && echo " package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs" 1>&6 + +-echo "${as_me:-configure}:7610: testing package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs ..." 1>&5 ++echo "${as_me:-configure}:7659: testing package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs ..." 1>&5 + + cf_fix_cppflags=no + cf_new_cflags= +@@ -7731,7 +7780,7 @@ else + fi + + done +- cf_with_pcre2_ok=yes || { { echo "$as_me:7734: error: Cannot find PCRE2 library" >&5 ++ cf_with_pcre2_ok=yes || { { echo "$as_me:7783: error: Cannot find PCRE2 library" >&5 + echo "$as_me: error: Cannot find PCRE2 library" >&2;} + { (exit 1); exit 1; }; } + +@@ -7744,7 +7793,7 @@ EOF + (*pcre2-posix*|*pcreposix*) + ;; + (*) +- echo "$as_me:7747: checking for regcomp in -lpcre2-posix" >&5 ++ echo "$as_me:7796: checking for regcomp in -lpcre2-posix" >&5 + echo $ECHO_N "checking for regcomp in -lpcre2-posix... $ECHO_C" >&6 + if test "${ac_cv_lib_pcre2_posix_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7752,7 +7801,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpcre2-posix $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7755 "configure" ++#line 7804 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7771,16 +7820,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7774: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7823: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7777: \$? = $ac_status" >&5 ++ echo "$as_me:7826: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7780: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7829: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7783: \$? = $ac_status" >&5 ++ echo "$as_me:7832: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_pcre2_posix_regcomp=yes + else +@@ -7791,7 +7840,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7794: result: $ac_cv_lib_pcre2_posix_regcomp" >&5 ++echo "$as_me:7843: result: $ac_cv_lib_pcre2_posix_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_pcre2_posix_regcomp" >&6 + if test "$ac_cv_lib_pcre2_posix_regcomp" = yes; then + +@@ -7812,7 +7861,7 @@ done + LIBS="$cf_add_libs" + + else +- echo "$as_me:7815: checking for regcomp in -lpcreposix" >&5 ++ echo "$as_me:7864: checking for regcomp in -lpcreposix" >&5 + echo $ECHO_N "checking for regcomp in -lpcreposix... $ECHO_C" >&6 + if test "${ac_cv_lib_pcreposix_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7820,7 +7869,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpcreposix $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7823 "configure" ++#line 7872 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7839,16 +7888,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7842: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7891: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7845: \$? = $ac_status" >&5 ++ echo "$as_me:7894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7848: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7851: \$? = $ac_status" >&5 ++ echo "$as_me:7900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_pcreposix_regcomp=yes + else +@@ -7859,7 +7908,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7862: result: $ac_cv_lib_pcreposix_regcomp" >&5 ++echo "$as_me:7911: result: $ac_cv_lib_pcreposix_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_pcreposix_regcomp" >&6 + if test "$ac_cv_lib_pcreposix_regcomp" = yes; then + +@@ -7880,7 +7929,7 @@ done + LIBS="$cf_add_libs" + + else +- { { echo "$as_me:7883: error: Cannot find PCRE2 POSIX library" >&5 ++ { { echo "$as_me:7932: error: Cannot find PCRE2 POSIX library" >&5 + echo "$as_me: error: Cannot find PCRE2 POSIX library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7895,23 +7944,23 @@ fi + for ac_header in pcre2posix.h pcreposix.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:7898: checking for $ac_header" >&5 ++echo "$as_me:7947: 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 7904 "configure" ++#line 7953 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:7908: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:7957: \"$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:7914: \$? = $ac_status" >&5 ++ echo "$as_me:7963: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -7930,7 +7979,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:7933: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:7982: 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 <&5 ++echo "$as_me:7995: 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 7952 "configure" ++#line 8001 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -7980,16 +8029,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7983: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8032: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7986: \$? = $ac_status" >&5 ++ echo "$as_me:8035: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7989: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8038: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7992: \$? = $ac_status" >&5 ++ echo "$as_me:8041: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -7999,7 +8048,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:8002: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:8051: 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 </dev/null ; then +-echo "$as_me:8016: checking if you want to use sysmouse" >&5 ++echo "$as_me:8065: checking if you want to use sysmouse" >&5 + echo $ECHO_N "checking if you want to use sysmouse... $ECHO_C" >&6 + + # Check whether --with-sysmouse or --without-sysmouse was given. +@@ -8025,7 +8074,7 @@ else + fi; + if test "$cf_with_sysmouse" != no ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8028 "configure" ++#line 8077 "configure" + #include "confdefs.h" + + #include +@@ -8048,16 +8097,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8051: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8100: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8054: \$? = $ac_status" >&5 ++ echo "$as_me:8103: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8057: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8106: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8060: \$? = $ac_status" >&5 ++ echo "$as_me:8109: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_with_sysmouse=yes + else +@@ -8067,7 +8116,7 @@ cf_with_sysmouse=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:8070: result: $cf_with_sysmouse" >&5 ++echo "$as_me:8119: result: $cf_with_sysmouse" >&5 + echo "${ECHO_T}$cf_with_sysmouse" >&6 + test "$cf_with_sysmouse" = yes && + cat >>confdefs.h <<\EOF +@@ -8077,7 +8126,7 @@ EOF + fi + + # pretend that ncurses==ncursesw==ncursest +-echo "$as_me:8080: checking if you want to disable library suffixes" >&5 ++echo "$as_me:8129: checking if you want to disable library suffixes" >&5 + echo $ECHO_N "checking if you want to disable library suffixes... $ECHO_C" >&6 + + # Check whether --enable-lib-suffixes or --disable-lib-suffixes was given. +@@ -8094,13 +8143,13 @@ else + disable_lib_suffixes=no + + fi; +-echo "$as_me:8097: result: $disable_lib_suffixes" >&5 ++echo "$as_me:8146: result: $disable_lib_suffixes" >&5 + echo "${ECHO_T}$disable_lib_suffixes" >&6 + + ### If we're building with rpath, try to link non-standard libs that way too. + if test "$DFT_LWR_MODEL" = "shared" && test "x$cf_cv_enable_rpath" != xno; then + +-echo "$as_me:8103: checking if rpath-hack should be disabled" >&5 ++echo "$as_me:8152: 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. +@@ -8118,22 +8167,22 @@ else + + fi; + if test "x$enable_rpath_hack" = xno; then cf_disable_rpath_hack=yes; else cf_disable_rpath_hack=no; fi +-echo "$as_me:8121: result: $cf_disable_rpath_hack" >&5 ++echo "$as_me:8170: result: $cf_disable_rpath_hack" >&5 + echo "${ECHO_T}$cf_disable_rpath_hack" >&6 + + if test "$enable_rpath_hack" = yes ; then + +-echo "$as_me:8126: checking for updated LDFLAGS" >&5 ++echo "$as_me:8175: 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:8129: result: maybe" >&5 ++ echo "$as_me:8178: 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:8136: checking for $ac_word" >&5 ++echo "$as_me:8185: 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 +@@ -8148,7 +8197,7 @@ for ac_dir in $ac_dummy; do + 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:8151: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8200: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8156,10 +8205,10 @@ fi + fi + cf_ldd_prog=$ac_cv_prog_cf_ldd_prog + if test -n "$cf_ldd_prog"; then +- echo "$as_me:8159: result: $cf_ldd_prog" >&5 ++ echo "$as_me:8208: result: $cf_ldd_prog" >&5 + echo "${ECHO_T}$cf_ldd_prog" >&6 + else +- echo "$as_me:8162: result: no" >&5 ++ echo "$as_me:8211: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8173,7 +8222,7 @@ test -n "$cf_ldd_prog" || cf_ldd_prog="no" + cf_rpath_oops= + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8176 "configure" ++#line 8225 "configure" + #include "confdefs.h" + #include + int +@@ -8185,16 +8234,16 @@ printf("Hello"); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8188: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8237: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8191: \$? = $ac_status" >&5 ++ echo "$as_me:8240: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8194: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8243: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8197: \$? = $ac_status" >&5 ++ echo "$as_me:8246: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_oops=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} ' not found' | sed -e 's% =>.*$%%' |sort | uniq` + cf_rpath_list=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort | uniq` +@@ -8222,7 +8271,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + then + test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6 + +-echo "${as_me:-configure}:8225: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 ++echo "${as_me:-configure}:8274: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 + + LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" + break +@@ -8234,11 +8283,11 @@ echo "${as_me:-configure}:8225: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS + + test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8237: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8286: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8241: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8290: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 + + cf_rpath_dst= + for cf_rpath_src in $LDFLAGS +@@ -8275,7 +8324,7 @@ do + then + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 + +-echo "${as_me:-configure}:8278: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 ++echo "${as_me:-configure}:8327: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 + + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" + fi +@@ -8288,11 +8337,11 @@ LDFLAGS=$cf_rpath_dst + + test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8291: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8340: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 + +-echo "${as_me:-configure}:8295: testing ...checking LIBS $LIBS ..." 1>&5 ++echo "${as_me:-configure}:8344: testing ...checking LIBS $LIBS ..." 1>&5 + + cf_rpath_dst= + for cf_rpath_src in $LIBS +@@ -8329,7 +8378,7 @@ do + then + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 + +-echo "${as_me:-configure}:8332: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 ++echo "${as_me:-configure}:8381: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 + + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" + fi +@@ -8342,14 +8391,14 @@ LIBS=$cf_rpath_dst + + test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 + +-echo "${as_me:-configure}:8345: testing ...checked LIBS $LIBS ..." 1>&5 ++echo "${as_me:-configure}:8394: testing ...checked LIBS $LIBS ..." 1>&5 + + test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8349: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8398: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 + + else +- echo "$as_me:8352: result: no" >&5 ++ echo "$as_me:8401: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8363,7 +8412,7 @@ fi + EXTRA_PKG_LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" + if test -n "$EXTRA_PKG_LDFLAGS" + then +- echo "$as_me:8366: checking if you want to disable extra LDFLAGS for package-scripts" >&5 ++ echo "$as_me:8415: checking if you want to disable extra LDFLAGS for package-scripts" >&5 + echo $ECHO_N "checking if you want to disable extra LDFLAGS for package-scripts... $ECHO_C" >&6 + + # Check whether --enable-pkg-ldflags or --disable-pkg-ldflags was given. +@@ -8380,7 +8429,7 @@ else + disable_pkg_ldflags=no + + fi; +- echo "$as_me:8383: result: $disable_pkg_ldflags" >&5 ++ echo "$as_me:8432: result: $disable_pkg_ldflags" >&5 + echo "${ECHO_T}$disable_pkg_ldflags" >&6 + test "$disable_pkg_ldflags" = yes && EXTRA_PKG_LDFLAGS= + fi +@@ -8388,7 +8437,7 @@ fi + ############################################################################### + + ### use option --with-extra-suffix to append suffix to headers and libraries +-echo "$as_me:8391: checking if you wish to append extra suffix to header/library paths" >&5 ++echo "$as_me:8440: checking if you wish to append extra suffix to header/library paths" >&5 + echo $ECHO_N "checking if you wish to append extra suffix to header/library paths... $ECHO_C" >&6 + EXTRA_SUFFIX= + +@@ -8407,11 +8456,11 @@ if test "${with_extra_suffix+set}" = set; then + esac + + fi; +-echo "$as_me:8410: result: $EXTRA_SUFFIX" >&5 ++echo "$as_me:8459: result: $EXTRA_SUFFIX" >&5 + echo "${ECHO_T}$EXTRA_SUFFIX" >&6 + + ### use option --disable-overwrite to leave out the link to -lcurses +-echo "$as_me:8414: checking if you wish to install ncurses overwriting curses" >&5 ++echo "$as_me:8463: checking if you wish to install ncurses overwriting curses" >&5 + echo $ECHO_N "checking if you wish to install ncurses overwriting curses... $ECHO_C" >&6 + + # Check whether --enable-overwrite or --disable-overwrite was given. +@@ -8421,10 +8470,10 @@ if test "${enable_overwrite+set}" = set; then + else + if test "$prefix" = "/usr" ; then with_overwrite=yes; else with_overwrite=no; fi + fi; +-echo "$as_me:8424: result: $with_overwrite" >&5 ++echo "$as_me:8473: result: $with_overwrite" >&5 + echo "${ECHO_T}$with_overwrite" >&6 + +-echo "$as_me:8427: checking if external terminfo-database is used" >&5 ++echo "$as_me:8476: checking if external terminfo-database is used" >&5 + echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6 + + # Check whether --enable-database or --disable-database was given. +@@ -8434,7 +8483,7 @@ if test "${enable_database+set}" = set; then + else + use_database=yes + fi; +-echo "$as_me:8437: result: $use_database" >&5 ++echo "$as_me:8486: result: $use_database" >&5 + echo "${ECHO_T}$use_database" >&6 + + case "$host_os" in +@@ -8450,7 +8499,7 @@ NCURSES_USE_DATABASE=0 + if test "$use_database" != no ; then + NCURSES_USE_DATABASE=1 + +- echo "$as_me:8453: checking which terminfo source-file will be installed" >&5 ++ echo "$as_me:8502: checking which terminfo source-file will be installed" >&5 + echo $ECHO_N "checking which terminfo source-file will be installed... $ECHO_C" >&6 + + # Check whether --with-database or --without-database was given. +@@ -8458,10 +8507,10 @@ if test "${with_database+set}" = set; then + withval="$with_database" + TERMINFO_SRC=$withval + fi; +- echo "$as_me:8461: result: $TERMINFO_SRC" >&5 ++ echo "$as_me:8510: result: $TERMINFO_SRC" >&5 + echo "${ECHO_T}$TERMINFO_SRC" >&6 + +- echo "$as_me:8464: checking whether to use hashed database instead of directory/tree" >&5 ++ echo "$as_me:8513: checking whether to use hashed database instead of directory/tree" >&5 + echo $ECHO_N "checking whether to use hashed database instead of directory/tree... $ECHO_C" >&6 + + # Check whether --with-hashed-db or --without-hashed-db was given. +@@ -8471,13 +8520,13 @@ if test "${with_hashed_db+set}" = set; then + else + with_hashed_db=no + fi; +- echo "$as_me:8474: result: $with_hashed_db" >&5 ++ echo "$as_me:8523: result: $with_hashed_db" >&5 + echo "${ECHO_T}$with_hashed_db" >&6 + else + with_hashed_db=no + fi + +-echo "$as_me:8480: checking for list of fallback descriptions" >&5 ++echo "$as_me:8529: checking for list of fallback descriptions" >&5 + echo $ECHO_N "checking for list of fallback descriptions... $ECHO_C" >&6 + + # Check whether --with-fallbacks or --without-fallbacks was given. +@@ -8487,7 +8536,7 @@ if test "${with_fallbacks+set}" = set; then + else + with_fallback= + fi; +-echo "$as_me:8490: result: $with_fallback" >&5 ++echo "$as_me:8539: result: $with_fallback" >&5 + echo "${ECHO_T}$with_fallback" >&6 + + case ".$with_fallback" in +@@ -8495,7 +8544,7 @@ case ".$with_fallback" in + FALLBACK_LIST= + ;; + (.yes) +- { echo "$as_me:8498: WARNING: expected a list of terminal descriptions" >&5 ++ { echo "$as_me:8547: WARNING: expected a list of terminal descriptions" >&5 + echo "$as_me: WARNING: expected a list of terminal descriptions" >&2;} + ;; + (*) +@@ -8511,7 +8560,7 @@ esac + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}tic", so it can be a program name with args. + set dummy ${ac_tool_prefix}tic; ac_word=$2 +-echo "$as_me:8514: checking for $ac_word" >&5 ++echo "$as_me:8563: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8526,7 +8575,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_TIC="${ac_tool_prefix}tic" +-echo "$as_me:8529: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8578: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8534,10 +8583,10 @@ fi + fi + TIC=$ac_cv_prog_TIC + if test -n "$TIC"; then +- echo "$as_me:8537: result: $TIC" >&5 ++ echo "$as_me:8586: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + else +- echo "$as_me:8540: result: no" >&5 ++ echo "$as_me:8589: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8546,7 +8595,7 @@ if test -z "$ac_cv_prog_TIC"; then + ac_ct_TIC=$TIC + # Extract the first word of "tic", so it can be a program name with args. + set dummy tic; ac_word=$2 +-echo "$as_me:8549: checking for $ac_word" >&5 ++echo "$as_me:8598: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8561,7 +8610,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_TIC="tic" +-echo "$as_me:8564: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8613: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8569,10 +8618,10 @@ fi + fi + ac_ct_TIC=$ac_cv_prog_ac_ct_TIC + if test -n "$ac_ct_TIC"; then +- echo "$as_me:8572: result: $ac_ct_TIC" >&5 ++ echo "$as_me:8621: result: $ac_ct_TIC" >&5 + echo "${ECHO_T}$ac_ct_TIC" >&6 + else +- echo "$as_me:8575: result: no" >&5 ++ echo "$as_me:8624: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8584,7 +8633,7 @@ fi + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}infocmp", so it can be a program name with args. + set dummy ${ac_tool_prefix}infocmp; ac_word=$2 +-echo "$as_me:8587: checking for $ac_word" >&5 ++echo "$as_me:8636: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8599,7 +8648,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_INFOCMP="${ac_tool_prefix}infocmp" +-echo "$as_me:8602: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8651: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8607,10 +8656,10 @@ fi + fi + INFOCMP=$ac_cv_prog_INFOCMP + if test -n "$INFOCMP"; then +- echo "$as_me:8610: result: $INFOCMP" >&5 ++ echo "$as_me:8659: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + else +- echo "$as_me:8613: result: no" >&5 ++ echo "$as_me:8662: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8619,7 +8668,7 @@ if test -z "$ac_cv_prog_INFOCMP"; then + ac_ct_INFOCMP=$INFOCMP + # Extract the first word of "infocmp", so it can be a program name with args. + set dummy infocmp; ac_word=$2 +-echo "$as_me:8622: checking for $ac_word" >&5 ++echo "$as_me:8671: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8634,7 +8683,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_INFOCMP="infocmp" +-echo "$as_me:8637: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8686: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8642,10 +8691,10 @@ fi + fi + ac_ct_INFOCMP=$ac_cv_prog_ac_ct_INFOCMP + if test -n "$ac_ct_INFOCMP"; then +- echo "$as_me:8645: result: $ac_ct_INFOCMP" >&5 ++ echo "$as_me:8694: result: $ac_ct_INFOCMP" >&5 + echo "${ECHO_T}$ac_ct_INFOCMP" >&6 + else +- echo "$as_me:8648: result: no" >&5 ++ echo "$as_me:8697: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8660,10 +8709,10 @@ then + # Check whether --with-tic-path or --without-tic-path was given. + if test "${with_tic_path+set}" = set; then + withval="$with_tic_path" +- echo "$as_me:8663: checking for tic program for fallbacks" >&5 ++ echo "$as_me:8712: checking for tic program for fallbacks" >&5 + echo $ECHO_N "checking for tic program for fallbacks... $ECHO_C" >&6 + TIC=$withval +- echo "$as_me:8666: result: $TIC" >&5 ++ echo "$as_me:8715: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + + if test "x$prefix" != xNONE; then +@@ -8691,7 +8740,7 @@ case ".$TIC" in + TIC=`echo "$TIC" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:8694: error: expected a pathname, not \"$TIC\"" >&5 ++ { { echo "$as_me:8743: error: expected a pathname, not \"$TIC\"" >&5 + echo "$as_me: error: expected a pathname, not \"$TIC\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -8704,7 +8753,7 @@ for ac_prog in $TIC tic + 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:8707: checking for $ac_word" >&5 ++echo "$as_me:8756: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8721,7 +8770,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_TIC="$ac_dir/$ac_word" +- echo "$as_me:8724: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:8773: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -8732,10 +8781,10 @@ fi + TIC=$ac_cv_path_TIC + + if test -n "$TIC"; then +- echo "$as_me:8735: result: $TIC" >&5 ++ echo "$as_me:8784: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + else +- echo "$as_me:8738: result: no" >&5 ++ echo "$as_me:8787: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8794,7 +8843,7 @@ IFS="$cf_save_ifs" + + if test -n "$cf_path_prog" ; then + +-echo "${as_me:-configure}:8797: testing defining path for ${cf_path_prog} ..." 1>&5 ++echo "${as_me:-configure}:8846: testing defining path for ${cf_path_prog} ..." 1>&5 + + cat >>confdefs.h <&5 ++ { echo "$as_me:8861: WARNING: no tic program found for fallbacks" >&5 + echo "$as_me: WARNING: no tic program found for fallbacks" >&2;} + fi + +@@ -8818,10 +8867,10 @@ fi; + # Check whether --with-infocmp-path or --without-infocmp-path was given. + if test "${with_infocmp_path+set}" = set; then + withval="$with_infocmp_path" +- echo "$as_me:8821: checking for infocmp program for fallbacks" >&5 ++ echo "$as_me:8870: checking for infocmp program for fallbacks" >&5 + echo $ECHO_N "checking for infocmp program for fallbacks... $ECHO_C" >&6 + INFOCMP=$withval +- echo "$as_me:8824: result: $INFOCMP" >&5 ++ echo "$as_me:8873: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + + if test "x$prefix" != xNONE; then +@@ -8849,7 +8898,7 @@ case ".$INFOCMP" in + INFOCMP=`echo "$INFOCMP" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:8852: error: expected a pathname, not \"$INFOCMP\"" >&5 ++ { { echo "$as_me:8901: error: expected a pathname, not \"$INFOCMP\"" >&5 + echo "$as_me: error: expected a pathname, not \"$INFOCMP\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -8862,7 +8911,7 @@ for ac_prog in $INFOCMP infocmp + 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:8865: checking for $ac_word" >&5 ++echo "$as_me:8914: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8879,7 +8928,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_INFOCMP="$ac_dir/$ac_word" +- echo "$as_me:8882: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:8931: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -8890,10 +8939,10 @@ fi + INFOCMP=$ac_cv_path_INFOCMP + + if test -n "$INFOCMP"; then +- echo "$as_me:8893: result: $INFOCMP" >&5 ++ echo "$as_me:8942: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + else +- echo "$as_me:8896: result: no" >&5 ++ echo "$as_me:8945: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8952,7 +9001,7 @@ IFS="$cf_save_ifs" + + if test -n "$cf_path_prog" ; then + +-echo "${as_me:-configure}:8955: testing defining path for ${cf_path_prog} ..." 1>&5 ++echo "${as_me:-configure}:9004: testing defining path for ${cf_path_prog} ..." 1>&5 + + cat >>confdefs.h <&5 ++ { echo "$as_me:9019: WARNING: no infocmp program found for fallbacks" >&5 + echo "$as_me: WARNING: no infocmp program found for fallbacks" >&2;} + fi + +@@ -8977,7 +9026,7 @@ fi; + test -z "$INFOCMP" && FALLBACK_LIST= + if test -z "$FALLBACK_LIST" + then +- { echo "$as_me:8980: WARNING: ignoring fallback option because tic/infocmp are not available" >&5 ++ { echo "$as_me:9029: WARNING: ignoring fallback option because tic/infocmp are not available" >&5 + echo "$as_me: WARNING: ignoring fallback option because tic/infocmp are not available" >&2;} + fi + fi +@@ -8985,7 +9034,7 @@ fi + USE_FALLBACKS= + test -z "$FALLBACK_LIST" && USE_FALLBACKS="#" + +-echo "$as_me:8988: checking if you want modern xterm or antique" >&5 ++echo "$as_me:9037: checking if you want modern xterm or antique" >&5 + echo $ECHO_N "checking if you want modern xterm or antique... $ECHO_C" >&6 + + # Check whether --with-xterm-new or --without-xterm-new was given. +@@ -8999,7 +9048,7 @@ case "$with_xterm_new" in + (no) with_xterm_new=xterm-old;; + (*) with_xterm_new=xterm-new;; + esac +-echo "$as_me:9002: result: $with_xterm_new" >&5 ++echo "$as_me:9051: result: $with_xterm_new" >&5 + echo "${ECHO_T}$with_xterm_new" >&6 + WHICH_XTERM=$with_xterm_new + +@@ -9012,7 +9061,7 @@ case $host_os in + ;; + esac + +-echo "$as_me:9015: checking if xterm backspace sends BS or DEL" >&5 ++echo "$as_me:9064: checking if xterm backspace sends BS or DEL" >&5 + echo $ECHO_N "checking if xterm backspace sends BS or DEL... $ECHO_C" >&6 + + # Check whether --with-xterm-kbs or --without-xterm-kbs was given. +@@ -9033,13 +9082,13 @@ case x$with_xterm_kbs in + with_xterm_kbs=$withval + ;; + esac +-echo "$as_me:9036: result: $with_xterm_kbs" >&5 ++echo "$as_me:9085: result: $with_xterm_kbs" >&5 + echo "${ECHO_T}$with_xterm_kbs" >&6 + XTERM_KBS=$with_xterm_kbs + + if test "x$with_xterm_kbs" != "x$want_xterm_kbs" + then +- { echo "$as_me:9042: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&5 ++ { echo "$as_me:9091: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&5 + echo "$as_me: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&2;} + fi + +@@ -9049,7 +9098,7 @@ if test "$use_database" = no ; then + MAKE_TERMINFO="#" + else + +-echo "$as_me:9052: checking for list of terminfo directories" >&5 ++echo "$as_me:9101: checking for list of terminfo directories" >&5 + echo $ECHO_N "checking for list of terminfo directories... $ECHO_C" >&6 + + # Check whether --with-terminfo-dirs or --without-terminfo-dirs was given. +@@ -9089,7 +9138,7 @@ case ".$cf_src_path" in + cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9092: error: expected a pathname, not \"$cf_src_path\"" >&5 ++ { { echo "$as_me:9141: error: expected a pathname, not \"$cf_src_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9112,7 +9161,7 @@ case "x$cf_dst_eval" in + ;; + esac + +-echo "$as_me:9115: result: $TERMINFO_DIRS" >&5 ++echo "$as_me:9164: result: $TERMINFO_DIRS" >&5 + echo "${ECHO_T}$TERMINFO_DIRS" >&6 + test -n "$TERMINFO_DIRS" && + cat >>confdefs.h <&5 ++ { echo "$as_me:9173: WARNING: ignoring non-directory/file TERMINFO value" >&5 + echo "$as_me: WARNING: ignoring non-directory/file TERMINFO value" >&2;} + unset TERMINFO + ;; + esac + +-echo "$as_me:9130: checking for default terminfo directory" >&5 ++echo "$as_me:9179: checking for default terminfo directory" >&5 + echo $ECHO_N "checking for default terminfo directory... $ECHO_C" >&6 + + # Check whether --with-default-terminfo-dir or --without-default-terminfo-dir was given. +@@ -9163,7 +9212,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9166: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:9215: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9172,7 +9221,7 @@ esac + fi + eval TERMINFO="$withval" + +-echo "$as_me:9175: result: $TERMINFO" >&5 ++echo "$as_me:9224: result: $TERMINFO" >&5 + echo "${ECHO_T}$TERMINFO" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:9235: checking if big-core option selected" >&5 + echo $ECHO_N "checking if big-core option selected... $ECHO_C" >&6 + + # Check whether --enable-big-core or --disable-big-core was given. +@@ -9195,7 +9244,7 @@ else + with_big_core=no + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9198 "configure" ++#line 9247 "configure" + #include "confdefs.h" + + #include +@@ -9209,15 +9258,15 @@ int main() { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9212: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9261: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9215: \$? = $ac_status" >&5 ++ echo "$as_me:9264: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9217: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9266: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9220: \$? = $ac_status" >&5 ++ echo "$as_me:9269: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_big_core=yes + else +@@ -9229,7 +9278,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi; +-echo "$as_me:9232: result: $with_big_core" >&5 ++echo "$as_me:9281: result: $with_big_core" >&5 + echo "${ECHO_T}$with_big_core" >&6 + test "x$with_big_core" = "xyes" && + cat >>confdefs.h <<\EOF +@@ -9239,7 +9288,7 @@ EOF + ### ISO C only guarantees 512-char strings, we have tables which load faster + ### when constructed using "big" strings. More than the C compiler, the awk + ### program is a limit on most vendor UNIX systems. Check that we can build. +-echo "$as_me:9242: checking if big-strings option selected" >&5 ++echo "$as_me:9291: checking if big-strings option selected" >&5 + echo $ECHO_N "checking if big-strings option selected... $ECHO_C" >&6 + + # Check whether --enable-big-strings or --disable-big-strings was given. +@@ -9263,14 +9312,14 @@ else + esac + + fi; +-echo "$as_me:9266: result: $with_big_strings" >&5 ++echo "$as_me:9315: result: $with_big_strings" >&5 + echo "${ECHO_T}$with_big_strings" >&6 + + USE_BIG_STRINGS=0 + test "x$with_big_strings" = "xyes" && USE_BIG_STRINGS=1 + + ### use option --enable-termcap to compile in the termcap fallback support +-echo "$as_me:9273: checking if you want termcap-fallback support" >&5 ++echo "$as_me:9322: checking if you want termcap-fallback support" >&5 + echo $ECHO_N "checking if you want termcap-fallback support... $ECHO_C" >&6 + + # Check whether --enable-termcap or --disable-termcap was given. +@@ -9280,14 +9329,14 @@ if test "${enable_termcap+set}" = set; then + else + with_termcap=no + fi; +-echo "$as_me:9283: result: $with_termcap" >&5 ++echo "$as_me:9332: result: $with_termcap" >&5 + echo "${ECHO_T}$with_termcap" >&6 + + NCURSES_USE_TERMCAP=0 + if test "x$with_termcap" != "xyes" ; then + if test "$use_database" = no ; then + if test -z "$with_fallback" ; then +- { { echo "$as_me:9290: error: You have disabled the database w/o specifying fallbacks" >&5 ++ { { echo "$as_me:9339: error: You have disabled the database w/o specifying fallbacks" >&5 + echo "$as_me: error: You have disabled the database w/o specifying fallbacks" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -9300,13 +9349,13 @@ EOF + else + + if test "$with_ticlib" != no ; then +- { { echo "$as_me:9303: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 ++ { { echo "$as_me:9352: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 + echo "$as_me: error: Options --with-ticlib and --enable-termcap cannot be combined" >&2;} + { (exit 1); exit 1; }; } + fi + + NCURSES_USE_TERMCAP=1 +- echo "$as_me:9309: checking for list of termcap files" >&5 ++ echo "$as_me:9358: checking for list of termcap files" >&5 + echo $ECHO_N "checking for list of termcap files... $ECHO_C" >&6 + + # Check whether --with-termpath or --without-termpath was given. +@@ -9346,7 +9395,7 @@ case ".$cf_src_path" in + cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9349: error: expected a pathname, not \"$cf_src_path\"" >&5 ++ { { echo "$as_me:9398: error: expected a pathname, not \"$cf_src_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9369,7 +9418,7 @@ case "x$cf_dst_eval" in + ;; + esac + +- echo "$as_me:9372: result: $TERMPATH" >&5 ++ echo "$as_me:9421: result: $TERMPATH" >&5 + echo "${ECHO_T}$TERMPATH" >&6 + test -n "$TERMPATH" && + cat >>confdefs.h <>confdefs.h <&5 ++ echo "$as_me:9429: checking if fast termcap-loader is needed" >&5 + echo $ECHO_N "checking if fast termcap-loader is needed... $ECHO_C" >&6 + + # Check whether --enable-getcap or --disable-getcap was given. +@@ -9387,14 +9436,14 @@ if test "${enable_getcap+set}" = set; then + else + with_getcap=no + fi; +- echo "$as_me:9390: result: $with_getcap" >&5 ++ echo "$as_me:9439: result: $with_getcap" >&5 + echo "${ECHO_T}$with_getcap" >&6 + test "x$with_getcap" = "xyes" && + cat >>confdefs.h <<\EOF + #define USE_GETCAP 1 + EOF + +- echo "$as_me:9397: checking if translated termcaps will be cached in ~/.terminfo" >&5 ++ echo "$as_me:9446: checking if translated termcaps will be cached in ~/.terminfo" >&5 + echo $ECHO_N "checking if translated termcaps will be cached in ~/.terminfo... $ECHO_C" >&6 + + # Check whether --enable-getcap-cache or --disable-getcap-cache was given. +@@ -9404,7 +9453,7 @@ if test "${enable_getcap_cache+set}" = set; then + else + with_getcap_cache=no + fi; +- echo "$as_me:9407: result: $with_getcap_cache" >&5 ++ echo "$as_me:9456: result: $with_getcap_cache" >&5 + echo "${ECHO_T}$with_getcap_cache" >&6 + test "x$with_getcap_cache" = "xyes" && + cat >>confdefs.h <<\EOF +@@ -9414,7 +9463,7 @@ EOF + fi + + ### Use option --disable-home-terminfo to completely remove ~/.terminfo +-echo "$as_me:9417: checking if ~/.terminfo is wanted" >&5 ++echo "$as_me:9466: checking if ~/.terminfo is wanted" >&5 + echo $ECHO_N "checking if ~/.terminfo is wanted... $ECHO_C" >&6 + + # Check whether --enable-home-terminfo or --disable-home-terminfo was given. +@@ -9424,14 +9473,14 @@ if test "${enable_home_terminfo+set}" = set; then + else + with_home_terminfo=yes + fi; +-echo "$as_me:9427: result: $with_home_terminfo" >&5 ++echo "$as_me:9476: result: $with_home_terminfo" >&5 + echo "${ECHO_T}$with_home_terminfo" >&6 + test "x$with_home_terminfo" = "xyes" && + cat >>confdefs.h <<\EOF + #define USE_HOME_TERMINFO 1 + EOF + +-echo "$as_me:9434: checking if you want to permit root to use ncurses environment variables" >&5 ++echo "$as_me:9483: checking if you want to permit root to use ncurses environment variables" >&5 + echo $ECHO_N "checking if you want to permit root to use ncurses environment variables... $ECHO_C" >&6 + + # Check whether --enable-root-environ or --disable-root-environ was given. +@@ -9441,14 +9490,14 @@ if test "${enable_root_environ+set}" = set; then + else + with_root_environ=yes + fi; +-echo "$as_me:9444: result: $with_root_environ" >&5 ++echo "$as_me:9493: result: $with_root_environ" >&5 + echo "${ECHO_T}$with_root_environ" >&6 + test "x$with_root_environ" = xyes && + cat >>confdefs.h <<\EOF + #define USE_ROOT_ENVIRON 1 + EOF + +-echo "$as_me:9451: checking if you want to permit setuid programs to access all files" >&5 ++echo "$as_me:9500: checking if you want to permit setuid programs to access all files" >&5 + echo $ECHO_N "checking if you want to permit setuid programs to access all files... $ECHO_C" >&6 + + # Check whether --enable-root-environ or --disable-root-environ was given. +@@ -9458,7 +9507,7 @@ if test "${enable_root_environ+set}" = set; then + else + with_root_access=yes + fi; +-echo "$as_me:9461: result: $with_root_access" >&5 ++echo "$as_me:9510: result: $with_root_access" >&5 + echo "${ECHO_T}$with_root_access" >&6 + test "x$with_root_access" = xyes && + cat >>confdefs.h <<\EOF +@@ -9473,23 +9522,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:9476: checking for $ac_header" >&5 ++echo "$as_me:9525: 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 9482 "configure" ++#line 9531 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:9486: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:9535: \"$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:9492: \$? = $ac_status" >&5 ++ echo "$as_me:9541: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -9508,7 +9557,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:9511: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:9560: 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 <&5 ++echo "$as_me:9575: 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 9532 "configure" ++#line 9581 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9560,16 +9609,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9563: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9612: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9566: \$? = $ac_status" >&5 ++ echo "$as_me:9615: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9569: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9618: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9572: \$? = $ac_status" >&5 ++ echo "$as_me:9621: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -9579,7 +9628,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9582: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:9631: 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 <&5 ++echo "$as_me:9648: 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 9605 "configure" ++#line 9654 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9633,16 +9682,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9636: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9685: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9639: \$? = $ac_status" >&5 ++ echo "$as_me:9688: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9642: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9691: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9645: \$? = $ac_status" >&5 ++ echo "$as_me:9694: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -9652,7 +9701,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9655: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:9704: 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 <&5 ++ echo "$as_me:9715: checking if link/symlink functions work" >&5 + echo $ECHO_N "checking if link/symlink functions work... $ECHO_C" >&6 + if test "${cf_cv_link_funcs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9676,7 +9725,7 @@ else + eval 'ac_cv_func_'$cf_func'=error' + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9679 "configure" ++#line 9728 "configure" + #include "confdefs.h" + + #include +@@ -9714,15 +9763,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9717: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9766: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9720: \$? = $ac_status" >&5 ++ echo "$as_me:9769: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9722: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9771: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9725: \$? = $ac_status" >&5 ++ echo "$as_me:9774: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_link_funcs="$cf_cv_link_funcs $cf_func" +@@ -9740,7 +9789,7 @@ fi + test -z "$cf_cv_link_funcs" && cf_cv_link_funcs=no + + fi +-echo "$as_me:9743: result: $cf_cv_link_funcs" >&5 ++echo "$as_me:9792: result: $cf_cv_link_funcs" >&5 + echo "${ECHO_T}$cf_cv_link_funcs" >&6 + test "$ac_cv_func_link" = yes && + cat >>confdefs.h <<\EOF +@@ -9760,7 +9809,7 @@ with_symlinks=no + # soft links (symbolic links) are useful for some systems where hard links do + # not work, or to make it simpler to copy terminfo trees around. + if test "x$ac_cv_func_symlink" = xyes ; then +- echo "$as_me:9763: checking if tic should use symbolic links" >&5 ++ echo "$as_me:9812: checking if tic should use symbolic links" >&5 + echo $ECHO_N "checking if tic should use symbolic links... $ECHO_C" >&6 + + # Check whether --enable-symlinks or --disable-symlinks was given. +@@ -9770,21 +9819,21 @@ if test "${enable_symlinks+set}" = set; then + else + with_symlinks=no + fi; +- echo "$as_me:9773: result: $with_symlinks" >&5 ++ echo "$as_me:9822: result: $with_symlinks" >&5 + echo "${ECHO_T}$with_symlinks" >&6 + fi + + # If we have hard links and did not choose to use soft links instead, there is + # no reason to make this choice optional - use the hard links. + if test "$with_symlinks" = no ; then +- echo "$as_me:9780: checking if tic should use hard links" >&5 ++ echo "$as_me:9829: checking if tic should use hard links" >&5 + echo $ECHO_N "checking if tic should use hard links... $ECHO_C" >&6 + if test "x$ac_cv_func_link" = xyes ; then + with_links=yes + else + with_links=no + fi +- echo "$as_me:9787: result: $with_links" >&5 ++ echo "$as_me:9836: result: $with_links" >&5 + echo "${ECHO_T}$with_links" >&6 + fi + +@@ -9800,7 +9849,7 @@ EOF + + ### use option --enable-broken-linker to force on use of broken-linker support + +-echo "$as_me:9803: checking if you want broken-linker support code" >&5 ++echo "$as_me:9852: checking if you want broken-linker support code" >&5 + echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 + + # Check whether --enable-broken_linker or --disable-broken_linker was given. +@@ -9810,7 +9859,7 @@ if test "${enable_broken_linker+set}" = set; then + else + with_broken_linker=no + fi; +-echo "$as_me:9813: result: $with_broken_linker" >&5 ++echo "$as_me:9862: result: $with_broken_linker" >&5 + echo "${ECHO_T}$with_broken_linker" >&6 + + : "${BROKEN_LINKER:=0}" +@@ -9824,7 +9873,7 @@ EOF + fi + + ### use option --enable-bsdpad to have tputs process BSD-style prefix padding +-echo "$as_me:9827: checking if tputs should process BSD-style prefix padding" >&5 ++echo "$as_me:9876: checking if tputs should process BSD-style prefix padding" >&5 + echo $ECHO_N "checking if tputs should process BSD-style prefix padding... $ECHO_C" >&6 + + # Check whether --enable-bsdpad or --disable-bsdpad was given. +@@ -9834,7 +9883,7 @@ if test "${enable_bsdpad+set}" = set; then + else + with_bsdpad=no + fi; +-echo "$as_me:9837: result: $with_bsdpad" >&5 ++echo "$as_me:9886: result: $with_bsdpad" >&5 + echo "${ECHO_T}$with_bsdpad" >&6 + test "x$with_bsdpad" = xyes && + cat >>confdefs.h <<\EOF +@@ -9853,14 +9902,14 @@ NCURSES_WINT_T=0 + # Check to define _XOPEN_SOURCE "automatically" + CPPFLAGS_before_XOPEN="$CPPFLAGS" + +-echo "$as_me:9856: checking if the POSIX test-macros are already defined" >&5 ++echo "$as_me:9905: checking if the POSIX test-macros are already defined" >&5 + echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 + if test "${cf_cv_posix_visible+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9863 "configure" ++#line 9912 "configure" + #include "confdefs.h" + #include + int +@@ -9879,16 +9928,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9882: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:9931: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9885: \$? = $ac_status" >&5 ++ echo "$as_me:9934: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9888: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9937: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9891: \$? = $ac_status" >&5 ++ echo "$as_me:9940: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_visible=no + else +@@ -9899,7 +9948,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:9902: result: $cf_cv_posix_visible" >&5 ++echo "$as_me:9951: result: $cf_cv_posix_visible" >&5 + echo "${ECHO_T}$cf_cv_posix_visible" >&6 + + if test "$cf_cv_posix_visible" = no; then +@@ -9944,14 +9993,14 @@ case "$host_os" in + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-echo "$as_me:9947: checking if this is the GNU C library" >&5 ++echo "$as_me:9996: checking if this is the GNU C library" >&5 + echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 + if test "${cf_cv_gnu_library+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9954 "configure" ++#line 10003 "configure" + #include "confdefs.h" + #include + int +@@ -9970,16 +10019,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9973: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10022: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9976: \$? = $ac_status" >&5 ++ echo "$as_me:10025: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9979: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10028: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9982: \$? = $ac_status" >&5 ++ echo "$as_me:10031: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library=yes + else +@@ -9990,7 +10039,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:9993: result: $cf_cv_gnu_library" >&5 ++echo "$as_me:10042: result: $cf_cv_gnu_library" >&5 + echo "${ECHO_T}$cf_cv_gnu_library" >&6 + + if test x$cf_cv_gnu_library = xyes; then +@@ -9998,7 +10047,7 @@ if test x$cf_cv_gnu_library = xyes; then + # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE + # was changed to help a little. newlib incorporated the change about 4 + # years later. +- echo "$as_me:10001: checking if _DEFAULT_SOURCE can be used as a basis" >&5 ++ echo "$as_me:10050: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 + if test "${cf_cv_gnu_library_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10010,7 +10059,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10013 "configure" ++#line 10062 "configure" + #include "confdefs.h" + #include + int +@@ -10029,16 +10078,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10032: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10081: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10035: \$? = $ac_status" >&5 ++ echo "$as_me:10084: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10038: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10087: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10041: \$? = $ac_status" >&5 ++ echo "$as_me:10090: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library_219=yes + else +@@ -10050,12 +10099,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save" + + fi +-echo "$as_me:10053: result: $cf_cv_gnu_library_219" >&5 ++echo "$as_me:10102: result: $cf_cv_gnu_library_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 + + if test "x$cf_cv_gnu_library_219" = xyes; then + cf_save="$CPPFLAGS" +- echo "$as_me:10058: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 ++ echo "$as_me:10107: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_dftsrc_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10160,7 +10209,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10163 "configure" ++#line 10212 "configure" + #include "confdefs.h" + + #include +@@ -10180,16 +10229,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10183: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10232: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10186: \$? = $ac_status" >&5 ++ echo "$as_me:10235: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10189: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10238: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10192: \$? = $ac_status" >&5 ++ echo "$as_me:10241: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_dftsrc_219=yes + else +@@ -10200,7 +10249,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10203: result: $cf_cv_gnu_dftsrc_219" >&5 ++echo "$as_me:10252: result: $cf_cv_gnu_dftsrc_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" + else +@@ -10209,14 +10258,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + + if test "x$cf_cv_gnu_dftsrc_219" != xyes; then + +- echo "$as_me:10212: checking if we must define _GNU_SOURCE" >&5 ++ echo "$as_me:10261: 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 10219 "configure" ++#line 10268 "configure" + #include "confdefs.h" + #include + int +@@ -10231,16 +10280,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10234: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10283: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10237: \$? = $ac_status" >&5 ++ echo "$as_me:10286: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10240: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10289: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10243: \$? = $ac_status" >&5 ++ echo "$as_me:10292: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -10347,7 +10396,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10350 "configure" ++#line 10399 "configure" + #include "confdefs.h" + #include + int +@@ -10362,16 +10411,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10365: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10414: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10368: \$? = $ac_status" >&5 ++ echo "$as_me:10417: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10371: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10420: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10374: \$? = $ac_status" >&5 ++ echo "$as_me:10423: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -10386,12 +10435,12 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10389: result: $cf_cv_gnu_source" >&5 ++echo "$as_me:10438: result: $cf_cv_gnu_source" >&5 + echo "${ECHO_T}$cf_cv_gnu_source" >&6 + + if test "$cf_cv_gnu_source" = yes + then +- echo "$as_me:10394: checking if we should also define _DEFAULT_SOURCE" >&5 ++ echo "$as_me:10443: checking if we should also define _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_default_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10401,7 +10450,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10404 "configure" ++#line 10453 "configure" + #include "confdefs.h" + #include + int +@@ -10416,16 +10465,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10419: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10468: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10422: \$? = $ac_status" >&5 ++ echo "$as_me:10471: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10425: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10474: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10428: \$? = $ac_status" >&5 ++ echo "$as_me:10477: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_default_source=no + else +@@ -10436,7 +10485,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10439: result: $cf_cv_default_source" >&5 ++echo "$as_me:10488: result: $cf_cv_default_source" >&5 + echo "${ECHO_T}$cf_cv_default_source" >&6 + if test "$cf_cv_default_source" = yes + then +@@ -10473,16 +10522,16 @@ 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:10476: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:10525: 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}:10482: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:10531: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10485 "configure" ++#line 10534 "configure" + #include "confdefs.h" + #include + int +@@ -10497,16 +10546,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10500: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10549: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10503: \$? = $ac_status" >&5 ++ echo "$as_me:10552: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10506: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10555: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10509: \$? = $ac_status" >&5 ++ echo "$as_me:10558: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -10527,7 +10576,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10530 "configure" ++#line 10579 "configure" + #include "confdefs.h" + #include + int +@@ -10542,16 +10591,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10545: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10594: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10548: \$? = $ac_status" >&5 ++ echo "$as_me:10597: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10551: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10600: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10554: \$? = $ac_status" >&5 ++ echo "$as_me:10603: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10562,7 +10611,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:10565: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:10614: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -10570,10 +10619,10 @@ echo "${as_me:-configure}:10565: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:10573: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:10622: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10576 "configure" ++#line 10625 "configure" + #include "confdefs.h" + #include + int +@@ -10588,16 +10637,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10591: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10640: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10594: \$? = $ac_status" >&5 ++ echo "$as_me:10643: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10597: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10646: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10600: \$? = $ac_status" >&5 ++ echo "$as_me:10649: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10613,7 +10662,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10616: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:10665: 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 +@@ -10730,7 +10779,7 @@ fi # cf_cv_posix_visible + # OpenBSD 6.x has broken locale support, both compile-time and runtime. + # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html + # Abusing the conformance level is a workaround. +- { echo "$as_me:10733: WARNING: this system does not provide usable locale support" >&5 ++ { echo "$as_me:10782: WARNING: this system does not provide usable locale support" >&5 + echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + cf_xopen_source="-D_BSD_SOURCE" + cf_XOPEN_SOURCE=700 +@@ -10762,14 +10811,14 @@ echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + ;; + (*) + +-echo "$as_me:10765: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:10814: 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 10772 "configure" ++#line 10821 "configure" + #include "confdefs.h" + + #include +@@ -10789,16 +10838,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10792: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10841: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10795: \$? = $ac_status" >&5 ++ echo "$as_me:10844: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10798: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10847: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10801: \$? = $ac_status" >&5 ++ echo "$as_me:10850: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -10810,7 +10859,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10813 "configure" ++#line 10862 "configure" + #include "confdefs.h" + + #include +@@ -10830,16 +10879,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10833: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10882: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10836: \$? = $ac_status" >&5 ++ echo "$as_me:10885: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10839: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10888: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10842: \$? = $ac_status" >&5 ++ echo "$as_me:10891: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -10854,7 +10903,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10857: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:10906: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -11014,16 +11063,16 @@ 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:11017: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:11066: 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}:11023: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:11072: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11026 "configure" ++#line 11075 "configure" + #include "confdefs.h" + #include + int +@@ -11038,16 +11087,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11041: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11090: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11044: \$? = $ac_status" >&5 ++ echo "$as_me:11093: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11047: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11096: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11050: \$? = $ac_status" >&5 ++ echo "$as_me:11099: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -11068,7 +11117,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11071 "configure" ++#line 11120 "configure" + #include "confdefs.h" + #include + int +@@ -11083,16 +11132,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11086: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11135: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11089: \$? = $ac_status" >&5 ++ echo "$as_me:11138: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11092: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11141: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11095: \$? = $ac_status" >&5 ++ echo "$as_me:11144: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -11103,7 +11152,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:11106: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:11155: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -11111,10 +11160,10 @@ echo "${as_me:-configure}:11106: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:11114: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:11163: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11117 "configure" ++#line 11166 "configure" + #include "confdefs.h" + #include + int +@@ -11129,16 +11178,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11132: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11181: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11135: \$? = $ac_status" >&5 ++ echo "$as_me:11184: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11138: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11187: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11141: \$? = $ac_status" >&5 ++ echo "$as_me:11190: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -11154,7 +11203,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11157: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:11206: 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 +@@ -11266,10 +11315,10 @@ fi # cf_cv_posix_visible + # Some of these niche implementations use copy/paste, double-check... + test -n "$verbose" && echo " checking if _POSIX_C_SOURCE inteferes" 1>&6 + +-echo "${as_me:-configure}:11269: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 ++echo "${as_me:-configure}:11318: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11272 "configure" ++#line 11321 "configure" + #include "confdefs.h" + + #include +@@ -11289,23 +11338,23 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11292: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11341: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11295: \$? = $ac_status" >&5 ++ echo "$as_me:11344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11301: \$? = $ac_status" >&5 ++ echo "$as_me:11350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { echo "$as_me:11308: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 ++ { echo "$as_me:11357: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} + CPPFLAGS="$cf_save_xopen_cppflags" + fi +@@ -11327,7 +11376,7 @@ do + test "$CFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 + +-echo "${as_me:-configure}:11330: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:11379: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 + + CFLAGS="$cf_old_cflag" + done +@@ -11339,7 +11388,7 @@ do + test "$CPPFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:11342: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:11391: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_old_cflag" + done +@@ -11427,7 +11476,7 @@ done + if test -n "$cf_new_cflags" ; then + test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 + +-echo "${as_me:-configure}:11430: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 ++echo "${as_me:-configure}:11479: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_new_cflags" +@@ -11437,7 +11486,7 @@ fi + if test -n "$cf_new_cppflags" ; then + test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 + +-echo "${as_me:-configure}:11440: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 ++echo "${as_me:-configure}:11489: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" +@@ -11447,7 +11496,7 @@ fi + if test -n "$cf_new_extra_cppflags" ; then + test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 + +-echo "${as_me:-configure}:11450: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 ++echo "${as_me:-configure}:11499: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 + + test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " + EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" +@@ -11459,10 +11508,10 @@ done + fi + + if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then +- echo "$as_me:11462: checking if _XOPEN_SOURCE really is set" >&5 ++ echo "$as_me:11511: 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 11465 "configure" ++#line 11514 "configure" + #include "confdefs.h" + #include + int +@@ -11477,16 +11526,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11480: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11529: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11483: \$? = $ac_status" >&5 ++ echo "$as_me:11532: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11486: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11535: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11489: \$? = $ac_status" >&5 ++ echo "$as_me:11538: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set=yes + else +@@ -11495,12 +11544,12 @@ cat "conftest.$ac_ext" >&5 + cf_XOPEN_SOURCE_set=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:11498: result: $cf_XOPEN_SOURCE_set" >&5 ++ echo "$as_me:11547: 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 11503 "configure" ++#line 11552 "configure" + #include "confdefs.h" + #include + int +@@ -11515,16 +11564,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11518: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11567: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11521: \$? = $ac_status" >&5 ++ echo "$as_me:11570: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11524: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11573: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11527: \$? = $ac_status" >&5 ++ echo "$as_me:11576: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set_ok=yes + else +@@ -11535,19 +11584,19 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no + then +- { echo "$as_me:11538: WARNING: _XOPEN_SOURCE is lower than requested" >&5 ++ { echo "$as_me:11587: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} + fi + else + +-echo "$as_me:11543: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:11592: 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 11550 "configure" ++#line 11599 "configure" + #include "confdefs.h" + + #include +@@ -11567,16 +11616,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11570: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11619: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11573: \$? = $ac_status" >&5 ++ echo "$as_me:11622: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11576: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11625: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11579: \$? = $ac_status" >&5 ++ echo "$as_me:11628: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -11588,7 +11637,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11591 "configure" ++#line 11640 "configure" + #include "confdefs.h" + + #include +@@ -11608,16 +11657,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11611: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11660: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11614: \$? = $ac_status" >&5 ++ echo "$as_me:11663: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11617: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11666: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11620: \$? = $ac_status" >&5 ++ echo "$as_me:11669: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -11632,7 +11681,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11635: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:11684: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -11783,14 +11832,14 @@ CPPFLAGS_after_XOPEN="$CPPFLAGS" + + # Work around breakage on OS X + +-echo "$as_me:11786: checking if SIGWINCH is defined" >&5 ++echo "$as_me:11835: checking if SIGWINCH is defined" >&5 + echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6 + if test "${cf_cv_define_sigwinch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11793 "configure" ++#line 11842 "configure" + #include "confdefs.h" + + #include +@@ -11805,23 +11854,23 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11808: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11857: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11811: \$? = $ac_status" >&5 ++ echo "$as_me:11860: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11814: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11863: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11817: \$? = $ac_status" >&5 ++ echo "$as_me:11866: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_define_sigwinch=yes + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11824 "configure" ++#line 11873 "configure" + #include "confdefs.h" + + #undef _XOPEN_SOURCE +@@ -11839,16 +11888,16 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11842: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11891: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11845: \$? = $ac_status" >&5 ++ echo "$as_me:11894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11848: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11851: \$? = $ac_status" >&5 ++ echo "$as_me:11900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_define_sigwinch=maybe + else +@@ -11862,11 +11911,11 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11865: result: $cf_cv_define_sigwinch" >&5 ++echo "$as_me:11914: result: $cf_cv_define_sigwinch" >&5 + echo "${ECHO_T}$cf_cv_define_sigwinch" >&6 + + if test "$cf_cv_define_sigwinch" = maybe ; then +-echo "$as_me:11869: checking for actual SIGWINCH definition" >&5 ++echo "$as_me:11918: checking for actual SIGWINCH definition" >&5 + echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6 + if test "${cf_cv_fixup_sigwinch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11877,7 +11926,7 @@ cf_sigwinch=32 + while test "$cf_sigwinch" != 1 + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11880 "configure" ++#line 11929 "configure" + #include "confdefs.h" + + #undef _XOPEN_SOURCE +@@ -11899,16 +11948,16 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11902: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11951: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11905: \$? = $ac_status" >&5 ++ echo "$as_me:11954: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11908: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11957: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11911: \$? = $ac_status" >&5 ++ echo "$as_me:11960: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fixup_sigwinch=$cf_sigwinch + break +@@ -11922,7 +11971,7 @@ cf_sigwinch="`expr "$cf_sigwinch" - 1`" + done + + fi +-echo "$as_me:11925: result: $cf_cv_fixup_sigwinch" >&5 ++echo "$as_me:11974: result: $cf_cv_fixup_sigwinch" >&5 + echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6 + + if test "$cf_cv_fixup_sigwinch" != unknown ; then +@@ -11932,13 +11981,13 @@ fi + + # Checks for CODESET support. + +-echo "$as_me:11935: checking for nl_langinfo and CODESET" >&5 ++echo "$as_me:11984: 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 11941 "configure" ++#line 11990 "configure" + #include "confdefs.h" + #include + int +@@ -11950,16 +11999,16 @@ char* cs = nl_langinfo(CODESET); (void)cs + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11953: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12002: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11956: \$? = $ac_status" >&5 ++ echo "$as_me:12005: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11959: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12008: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11962: \$? = $ac_status" >&5 ++ echo "$as_me:12011: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + am_cv_langinfo_codeset=yes + else +@@ -11970,7 +12019,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:11973: result: $am_cv_langinfo_codeset" >&5 ++echo "$as_me:12022: result: $am_cv_langinfo_codeset" >&5 + echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 + if test "$am_cv_langinfo_codeset" = yes; then + +@@ -11984,7 +12033,7 @@ EOF + NCURSES_OK_WCHAR_T= + NCURSES_OK_WINT_T= + +-echo "$as_me:11987: checking if you want wide-character code" >&5 ++echo "$as_me:12036: checking if you want wide-character code" >&5 + echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 + + # Check whether --enable-widec or --disable-widec was given. +@@ -11994,7 +12043,7 @@ if test "${enable_widec+set}" = set; then + else + with_widec=no + fi; +-echo "$as_me:11997: result: $with_widec" >&5 ++echo "$as_me:12046: result: $with_widec" >&5 + echo "${ECHO_T}$with_widec" >&6 + + NCURSES_WCWIDTH_GRAPHICS=1 +@@ -12016,7 +12065,7 @@ EOF + (*_XOPEN_SOURCE=*) + ;; + (*) +- { echo "$as_me:12019: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&5 ++ { echo "$as_me:12068: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&2;} + # CPPFLAGS="$CPPFLAGS -DNCURSES_WIDECHAR" + CPPFLAGS_after_XOPEN="$CPPFLAGS_after_XOPEN -DNCURSES_WIDECHAR" +@@ -12029,23 +12078,23 @@ wctype.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:12032: checking for $ac_header" >&5 ++echo "$as_me:12081: 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 12038 "configure" ++#line 12087 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:12042: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:12091: \"$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:12048: \$? = $ac_status" >&5 ++ echo "$as_me:12097: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -12064,7 +12113,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:12067: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:12116: 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 <&5 ++echo "$as_me:12126: checking if wchar.h can be used as is" >&5 + echo $ECHO_N "checking if wchar.h can be used as is... $ECHO_C" >&6 + if test "${cf_cv_wchar_h_okay+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12084 "configure" ++#line 12133 "configure" + #include "confdefs.h" + + #include +@@ -12103,16 +12152,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12106: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12155: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12109: \$? = $ac_status" >&5 ++ echo "$as_me:12158: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12112: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12161: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12115: \$? = $ac_status" >&5 ++ echo "$as_me:12164: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_h_okay=yes + else +@@ -12122,16 +12171,16 @@ cf_cv_wchar_h_okay=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:12125: result: $cf_cv_wchar_h_okay" >&5 ++echo "$as_me:12174: result: $cf_cv_wchar_h_okay" >&5 + echo "${ECHO_T}$cf_cv_wchar_h_okay" >&6 + + if test "$cf_cv_wchar_h_okay" = no + then + +-echo "$as_me:12131: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 ++echo "$as_me:12180: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 + echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12134 "configure" ++#line 12183 "configure" + #include "confdefs.h" + #include + +@@ -12147,16 +12196,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12150: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12199: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12153: \$? = $ac_status" >&5 ++ echo "$as_me:12202: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12156: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12205: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12159: \$? = $ac_status" >&5 ++ echo "$as_me:12208: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_result=no + else +@@ -12165,16 +12214,16 @@ cat "conftest.$ac_ext" >&5 + cf_result=yes + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-echo "$as_me:12168: result: $cf_result" >&5 ++echo "$as_me:12217: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + + if test "$cf_result" = yes ; then + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" + elif test "x" != "x" ; then +- echo "$as_me:12174: checking checking for compatible value versus " >&5 ++ echo "$as_me:12223: checking checking for compatible value versus " >&5 + echo $ECHO_N "checking checking for compatible value versus ... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12177 "configure" ++#line 12226 "configure" + #include "confdefs.h" + #include + +@@ -12190,16 +12239,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12193: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12242: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12196: \$? = $ac_status" >&5 ++ echo "$as_me:12245: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12199: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12248: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12202: \$? = $ac_status" >&5 ++ echo "$as_me:12251: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_result=yes + else +@@ -12208,7 +12257,7 @@ cat "conftest.$ac_ext" >&5 + cf_result=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:12211: result: $cf_result" >&5 ++ echo "$as_me:12260: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + if test "$cf_result" = no ; then + # perhaps we can override it - try... +@@ -12218,7 +12267,7 @@ fi + + fi + +-echo "$as_me:12221: checking if wcwidth agrees graphics are single-width" >&5 ++echo "$as_me:12270: checking if wcwidth agrees graphics are single-width" >&5 + echo $ECHO_N "checking if wcwidth agrees graphics are single-width... $ECHO_C" >&6 + if test "${cf_cv_wcwidth_graphics+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12289,7 +12338,7 @@ if test "$cross_compiling" = yes; then + cf_cv_wcwidth_graphics=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12292 "configure" ++#line 12341 "configure" + #include "confdefs.h" + + #include +@@ -12333,15 +12382,15 @@ main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:12336: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12385: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12339: \$? = $ac_status" >&5 ++ echo "$as_me:12388: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:12341: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12390: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12344: \$? = $ac_status" >&5 ++ echo "$as_me:12393: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wcwidth_graphics=yes + else +@@ -12354,7 +12403,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:12357: result: $cf_cv_wcwidth_graphics" >&5 ++echo "$as_me:12406: result: $cf_cv_wcwidth_graphics" >&5 + echo "${ECHO_T}$cf_cv_wcwidth_graphics" >&6 + + test "$cf_cv_wcwidth_graphics" = no && NCURSES_WCWIDTH_GRAPHICS=0 +@@ -12365,13 +12414,13 @@ echo "${ECHO_T}$cf_cv_wcwidth_graphics" >&6 + for ac_func in putwc btowc wctob wmemchr mbtowc wctomb mblen mbrlen mbrtowc wcsrtombs mbsrtowcs wcstombs mbstowcs + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:12368: checking for $ac_func" >&5 ++echo "$as_me:12417: 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 12374 "configure" ++#line 12423 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -12402,16 +12451,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12405: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12454: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12408: \$? = $ac_status" >&5 ++ echo "$as_me:12457: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12411: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12460: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12414: \$? = $ac_status" >&5 ++ echo "$as_me:12463: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -12421,7 +12470,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:12424: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:12473: 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 <&5 ++echo "$as_me:12488: 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 12445 "configure" ++#line 12494 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:12449: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:12498: \"$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:12455: \$? = $ac_status" >&5 ++ echo "$as_me:12504: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -12471,7 +12520,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:12474: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:12523: 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 <&5 ++echo "$as_me:12533: 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 +@@ -12489,7 +12538,7 @@ else + + cf_save_LIBS="$LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12492 "configure" ++#line 12541 "configure" + #include "confdefs.h" + + #include +@@ -12507,16 +12556,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12510: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12559: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12513: \$? = $ac_status" >&5 ++ echo "$as_me:12562: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12516: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12565: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12519: \$? = $ac_status" >&5 ++ echo "$as_me:12568: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_utf8_lib=yes + else +@@ -12528,12 +12577,12 @@ cat "conftest.$ac_ext" >&5 + cf_cv_header_path_utf8= + cf_cv_library_path_utf8= + +-echo "${as_me:-configure}:12531: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12580: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12536 "configure" ++#line 12585 "configure" + #include "confdefs.h" + + #include +@@ -12546,16 +12595,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12549: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12598: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12552: \$? = $ac_status" >&5 ++ echo "$as_me:12601: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12555: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12604: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12558: \$? = $ac_status" >&5 ++ echo "$as_me:12607: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -12569,7 +12618,7 @@ cat "conftest.$ac_ext" >&5 + LIBS="-lutf8 $cf_save_LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12572 "configure" ++#line 12621 "configure" + #include "confdefs.h" + + #include +@@ -12582,16 +12631,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12585: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12634: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12588: \$? = $ac_status" >&5 ++ echo "$as_me:12637: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12591: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12640: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12594: \$? = $ac_status" >&5 ++ echo "$as_me:12643: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -12608,9 +12657,9 @@ cat "conftest.$ac_ext" >&5 + + test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 + +-echo "${as_me:-configure}:12611: testing find linkage for utf8 library ..." 1>&5 ++echo "${as_me:-configure}:12660: testing find linkage for utf8 library ..." 1>&5 + +-echo "${as_me:-configure}:12613: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12662: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_CPPFLAGS="$CPPFLAGS" + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -12701,7 +12750,7 @@ cf_search="$cf_search $cf_header_path_list" + 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}:12704: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12753: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_save_CPPFLAGS" + +@@ -12709,7 +12758,7 @@ echo "${as_me:-configure}:12704: testing ... testing $cf_cv_header_path_utf8 ... + CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12712 "configure" ++#line 12761 "configure" + #include "confdefs.h" + + #include +@@ -12722,21 +12771,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12725: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12774: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12728: \$? = $ac_status" >&5 ++ echo "$as_me:12777: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12731: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12780: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12734: \$? = $ac_status" >&5 ++ echo "$as_me:12783: \$? = $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}:12739: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12788: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=maybe + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -12754,7 +12803,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + if test "$cf_cv_find_linkage_utf8" = maybe ; then + +-echo "${as_me:-configure}:12757: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12806: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + cf_save_LDFLAGS="$LDFLAGS" +@@ -12829,13 +12878,13 @@ cf_search="$cf_library_path_list $cf_search" + 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}:12832: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12881: 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 12838 "configure" ++#line 12887 "configure" + #include "confdefs.h" + + #include +@@ -12848,21 +12897,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12851: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12900: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12854: \$? = $ac_status" >&5 ++ echo "$as_me:12903: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12857: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12906: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12860: \$? = $ac_status" >&5 ++ echo "$as_me:12909: \$? = $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}:12865: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12914: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=yes + cf_cv_library_file_utf8="-lutf8" +@@ -12904,7 +12953,7 @@ fi + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:12907: result: $cf_cv_utf8_lib" >&5 ++echo "$as_me:12956: 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 +@@ -12942,7 +12991,7 @@ if test -n "$cf_cv_header_path_utf8" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12945 "configure" ++#line 12994 "configure" + #include "confdefs.h" + #include + int +@@ -12954,16 +13003,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12957: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13006: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12960: \$? = $ac_status" >&5 ++ echo "$as_me:13009: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12963: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13012: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12966: \$? = $ac_status" >&5 ++ echo "$as_me:13015: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -12980,7 +13029,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:12983: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:13032: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -13016,7 +13065,7 @@ if test -n "$cf_cv_library_path_utf8" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:13019: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:13068: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -13048,14 +13097,14 @@ fi + fi + + # This is needed on Tru64 5.0 to declare mbstate_t +-echo "$as_me:13051: checking if we must include wchar.h to declare mbstate_t" >&5 ++echo "$as_me:13100: 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 13058 "configure" ++#line 13107 "configure" + #include "confdefs.h" + + #include +@@ -13073,23 +13122,23 @@ mbstate_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13076: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13125: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13079: \$? = $ac_status" >&5 ++ echo "$as_me:13128: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13082: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13131: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13085: \$? = $ac_status" >&5 ++ echo "$as_me:13134: \$? = $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 13092 "configure" ++#line 13141 "configure" + #include "confdefs.h" + + #include +@@ -13108,16 +13157,16 @@ mbstate_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13111: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13160: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13114: \$? = $ac_status" >&5 ++ echo "$as_me:13163: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13117: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13166: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13120: \$? = $ac_status" >&5 ++ echo "$as_me:13169: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_mbstate_t=yes + else +@@ -13129,7 +13178,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13132: result: $cf_cv_mbstate_t" >&5 ++echo "$as_me:13181: result: $cf_cv_mbstate_t" >&5 + echo "${ECHO_T}$cf_cv_mbstate_t" >&6 + + if test "$cf_cv_mbstate_t" = yes ; then +@@ -13147,14 +13196,14 @@ if test "$cf_cv_mbstate_t" = unknown ; then + fi + + # This is needed on Tru64 5.0 to declare wchar_t +-echo "$as_me:13150: checking if we must include wchar.h to declare wchar_t" >&5 ++echo "$as_me:13199: checking if we must include wchar.h to declare wchar_t" >&5 + echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6 + if test "${cf_cv_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13157 "configure" ++#line 13206 "configure" + #include "confdefs.h" + + #include +@@ -13172,23 +13221,23 @@ wchar_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13175: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13224: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13178: \$? = $ac_status" >&5 ++ echo "$as_me:13227: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13181: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13230: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13184: \$? = $ac_status" >&5 ++ echo "$as_me:13233: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_t=no + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13191 "configure" ++#line 13240 "configure" + #include "confdefs.h" + + #include +@@ -13207,16 +13256,16 @@ wchar_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13210: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13259: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13213: \$? = $ac_status" >&5 ++ echo "$as_me:13262: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13216: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13265: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13219: \$? = $ac_status" >&5 ++ echo "$as_me:13268: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_t=yes + else +@@ -13228,7 +13277,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13231: result: $cf_cv_wchar_t" >&5 ++echo "$as_me:13280: result: $cf_cv_wchar_t" >&5 + echo "${ECHO_T}$cf_cv_wchar_t" >&6 + + if test "$cf_cv_wchar_t" = yes ; then +@@ -13251,14 +13300,14 @@ if test "$cf_cv_wchar_t" != unknown ; then + fi + + # This is needed on Tru64 5.0 to declare wint_t +-echo "$as_me:13254: checking if we must include wchar.h to declare wint_t" >&5 ++echo "$as_me:13303: checking if we must include wchar.h to declare wint_t" >&5 + echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6 + if test "${cf_cv_wint_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13261 "configure" ++#line 13310 "configure" + #include "confdefs.h" + + #include +@@ -13276,23 +13325,23 @@ wint_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13279: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13328: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13282: \$? = $ac_status" >&5 ++ echo "$as_me:13331: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13285: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13334: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13288: \$? = $ac_status" >&5 ++ echo "$as_me:13337: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wint_t=no + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13295 "configure" ++#line 13344 "configure" + #include "confdefs.h" + + #include +@@ -13311,16 +13360,16 @@ wint_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13314: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13363: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13317: \$? = $ac_status" >&5 ++ echo "$as_me:13366: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13320: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13369: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13323: \$? = $ac_status" >&5 ++ echo "$as_me:13372: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wint_t=yes + else +@@ -13332,7 +13381,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13335: result: $cf_cv_wint_t" >&5 ++echo "$as_me:13384: result: $cf_cv_wint_t" >&5 + echo "${ECHO_T}$cf_cv_wint_t" >&6 + + if test "$cf_cv_wint_t" = yes ; then +@@ -13364,7 +13413,7 @@ EOF + fi + + ### use option --disable-lp64 to allow long chtype +-echo "$as_me:13367: checking whether to enable _LP64 definition in curses.h" >&5 ++echo "$as_me:13416: checking whether to enable _LP64 definition in curses.h" >&5 + echo $ECHO_N "checking whether to enable _LP64 definition in curses.h... $ECHO_C" >&6 + + # Check whether --enable-lp64 or --disable-lp64 was given. +@@ -13374,7 +13423,7 @@ if test "${enable_lp64+set}" = set; then + else + with_lp64=$cf_dft_with_lp64 + fi; +-echo "$as_me:13377: result: $with_lp64" >&5 ++echo "$as_me:13426: result: $with_lp64" >&5 + echo "${ECHO_T}$with_lp64" >&6 + + if test "x$with_lp64" = xyes ; then +@@ -13390,7 +13439,7 @@ if test "${enable_largefile+set}" = set; then + fi; + if test "$enable_largefile" != no; then + +- echo "$as_me:13393: checking for special C compiler options needed for large files" >&5 ++ echo "$as_me:13442: 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 +@@ -13402,7 +13451,7 @@ else + # 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 13405 "configure" ++#line 13454 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13422,16 +13471,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13425: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13474: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13428: \$? = $ac_status" >&5 ++ echo "$as_me:13477: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13431: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13480: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13434: \$? = $ac_status" >&5 ++ echo "$as_me:13483: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13441,16 +13490,16 @@ fi + rm -f "conftest.$ac_objext" + CC="$CC -n32" + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13444: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13493: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13447: \$? = $ac_status" >&5 ++ echo "$as_me:13496: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13450: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13499: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13453: \$? = $ac_status" >&5 ++ echo "$as_me:13502: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break + else +@@ -13464,13 +13513,13 @@ rm -f "conftest.$ac_objext" + rm -f "conftest.$ac_ext" + fi + fi +-echo "$as_me:13467: result: $ac_cv_sys_largefile_CC" >&5 ++echo "$as_me:13516: 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:13473: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ echo "$as_me:13522: 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 +@@ -13478,7 +13527,7 @@ else + while :; do + ac_cv_sys_file_offset_bits=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13481 "configure" ++#line 13530 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13498,16 +13547,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13501: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13550: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13504: \$? = $ac_status" >&5 ++ echo "$as_me:13553: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13507: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13556: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13510: \$? = $ac_status" >&5 ++ echo "$as_me:13559: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13516,7 +13565,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13519 "configure" ++#line 13568 "configure" + #include "confdefs.h" + #define _FILE_OFFSET_BITS 64 + #include +@@ -13537,16 +13586,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13540: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13589: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13543: \$? = $ac_status" >&5 ++ echo "$as_me:13592: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13546: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13595: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13549: \$? = $ac_status" >&5 ++ echo "$as_me:13598: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_file_offset_bits=64; break + else +@@ -13557,7 +13606,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13560: result: $ac_cv_sys_file_offset_bits" >&5 ++echo "$as_me:13609: 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 + +@@ -13567,7 +13616,7 @@ EOF + + fi + rm -rf conftest* +- echo "$as_me:13570: checking for _LARGE_FILES value needed for large files" >&5 ++ echo "$as_me:13619: 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 +@@ -13575,7 +13624,7 @@ else + while :; do + ac_cv_sys_large_files=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13578 "configure" ++#line 13627 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13595,16 +13644,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13598: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13647: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13601: \$? = $ac_status" >&5 ++ echo "$as_me:13650: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13604: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13653: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13607: \$? = $ac_status" >&5 ++ echo "$as_me:13656: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13613,7 +13662,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13616 "configure" ++#line 13665 "configure" + #include "confdefs.h" + #define _LARGE_FILES 1 + #include +@@ -13634,16 +13683,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13637: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13686: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13640: \$? = $ac_status" >&5 ++ echo "$as_me:13689: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13643: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13692: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13646: \$? = $ac_status" >&5 ++ echo "$as_me:13695: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_large_files=1; break + else +@@ -13654,7 +13703,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13657: result: $ac_cv_sys_large_files" >&5 ++echo "$as_me:13706: 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 + +@@ -13667,7 +13716,7 @@ rm -rf conftest* + fi + + if test "$enable_largefile" != no ; then +- echo "$as_me:13670: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++ echo "$as_me:13719: 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 +@@ -13675,7 +13724,7 @@ else + while :; do + ac_cv_sys_largefile_source=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13678 "configure" ++#line 13727 "configure" + #include "confdefs.h" + #include + int +@@ -13687,16 +13736,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13690: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13739: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13693: \$? = $ac_status" >&5 ++ echo "$as_me:13742: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13696: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13745: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13699: \$? = $ac_status" >&5 ++ echo "$as_me:13748: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13705,7 +13754,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13708 "configure" ++#line 13757 "configure" + #include "confdefs.h" + #define _LARGEFILE_SOURCE 1 + #include +@@ -13718,16 +13767,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13721: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13770: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13724: \$? = $ac_status" >&5 ++ echo "$as_me:13773: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13727: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13776: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13730: \$? = $ac_status" >&5 ++ echo "$as_me:13779: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_source=1; break + else +@@ -13738,7 +13787,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13741: result: $ac_cv_sys_largefile_source" >&5 ++echo "$as_me:13790: 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 + +@@ -13752,13 +13801,13 @@ 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:13755: checking for fseeko" >&5 ++echo "$as_me:13804: 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 13761 "configure" ++#line 13810 "configure" + #include "confdefs.h" + #include + int +@@ -13770,16 +13819,16 @@ return fseeko && fseeko (stdin, 0, 0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:13773: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:13822: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:13776: \$? = $ac_status" >&5 ++ echo "$as_me:13825: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:13779: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13828: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13782: \$? = $ac_status" >&5 ++ echo "$as_me:13831: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fseeko=yes + else +@@ -13789,7 +13838,7 @@ ac_cv_func_fseeko=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:13792: result: $ac_cv_func_fseeko" >&5 ++echo "$as_me:13841: result: $ac_cv_func_fseeko" >&5 + echo "${ECHO_T}$ac_cv_func_fseeko" >&6 + if test $ac_cv_func_fseeko = yes; then + +@@ -13828,14 +13877,14 @@ fi + + fi + +- echo "$as_me:13831: checking whether to use struct dirent64" >&5 ++ echo "$as_me:13880: 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 13838 "configure" ++#line 13887 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types" +@@ -13858,16 +13907,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13861: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13910: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13864: \$? = $ac_status" >&5 ++ echo "$as_me:13913: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13867: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13916: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13870: \$? = $ac_status" >&5 ++ echo "$as_me:13919: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_struct_dirent64=yes + else +@@ -13878,7 +13927,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13881: result: $cf_cv_struct_dirent64" >&5 ++echo "$as_me:13930: result: $cf_cv_struct_dirent64" >&5 + echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 + test "$cf_cv_struct_dirent64" = yes && + cat >>confdefs.h <<\EOF +@@ -13888,7 +13937,7 @@ EOF + fi + + ### use option --disable-tparm-varargs to make tparm() conform to X/Open +-echo "$as_me:13891: checking if you want tparm not to use X/Open fixed-parameter list" >&5 ++echo "$as_me:13940: checking if you want tparm not to use X/Open fixed-parameter list" >&5 + echo $ECHO_N "checking if you want tparm not to use X/Open fixed-parameter list... $ECHO_C" >&6 + + # Check whether --enable-tparm-varargs or --disable-tparm-varargs was given. +@@ -13898,14 +13947,14 @@ if test "${enable_tparm_varargs+set}" = set; then + else + with_tparm_varargs=yes + fi; +-echo "$as_me:13901: result: $with_tparm_varargs" >&5 ++echo "$as_me:13950: result: $with_tparm_varargs" >&5 + echo "${ECHO_T}$with_tparm_varargs" >&6 + NCURSES_TPARM_VARARGS=0 + test "x$with_tparm_varargs" = xyes && NCURSES_TPARM_VARARGS=1 + + ### use option --disable-tic-depends to make libtic not explicitly depend on ncurses/ncursesw + if test "$with_ticlib" != no ; then +-echo "$as_me:13908: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 ++echo "$as_me:13957: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 + echo $ECHO_N "checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library... $ECHO_C" >&6 + + # Check whether --enable-tic-depends or --disable-tic-depends was given. +@@ -13915,14 +13964,14 @@ if test "${enable_tic_depends+set}" = set; then + else + with_tic_depends=yes + fi; +-echo "$as_me:13918: result: $with_tic_depends" >&5 ++echo "$as_me:13967: result: $with_tic_depends" >&5 + echo "${ECHO_T}$with_tic_depends" >&6 + else + with_tic_depends=no + fi + + ### use option --enable-wattr-macros to enable wattr* macros in curses.h +-echo "$as_me:13925: checking if you want to enable wattr* macros" >&5 ++echo "$as_me:13974: checking if you want to enable wattr* macros" >&5 + echo $ECHO_N "checking if you want to enable wattr* macros... $ECHO_C" >&6 + + # Check whether --enable-wattr-macros or --disable-wattr-macros was given. +@@ -13934,15 +13983,15 @@ else + fi; + if [ "x$with_wattr_macros" != xyes ]; then + NCURSES_WATTR_MACROS=0 +- echo "$as_me:13937: result: no" >&5 ++ echo "$as_me:13986: result: no" >&5 + echo "${ECHO_T}no" >&6 + else + NCURSES_WATTR_MACROS=1 +- echo "$as_me:13941: result: yes" >&5 ++ echo "$as_me:13990: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + fi + +-echo "$as_me:13945: checking for X11 rgb file" >&5 ++echo "$as_me:13994: checking for X11 rgb file" >&5 + echo $ECHO_N "checking for X11 rgb file... $ECHO_C" >&6 + + # Check whether --with-x11-rgb or --without-x11-rgb was given. +@@ -14006,7 +14055,7 @@ case ".$cf_path" in + cf_path=`echo "$cf_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:14009: error: expected a pathname, not \"$cf_path\"" >&5 ++ { { echo "$as_me:14058: error: expected a pathname, not \"$cf_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -14014,7 +14063,7 @@ esac + + fi + +-echo "$as_me:14017: result: $RGB_PATH" >&5 ++echo "$as_me:14066: result: $RGB_PATH" >&5 + echo "${ECHO_T}$RGB_PATH" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:14080: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + + # Check whether --with-bool or --without-bool was given. +@@ -14038,10 +14087,10 @@ if test "${with_bool+set}" = set; then + else + NCURSES_BOOL=auto + fi; +-echo "$as_me:14041: result: $NCURSES_BOOL" >&5 ++echo "$as_me:14090: result: $NCURSES_BOOL" >&5 + echo "${ECHO_T}$NCURSES_BOOL" >&6 + +-echo "$as_me:14044: checking for alternate terminal capabilities file" >&5 ++echo "$as_me:14093: checking for alternate terminal capabilities file" >&5 + echo $ECHO_N "checking for alternate terminal capabilities file... $ECHO_C" >&6 + + # Check whether --with-caps or --without-caps was given. +@@ -14053,15 +14102,15 @@ else + fi; + if test ! -f "${srcdir}/include/${TERMINFO_CAPS}" + then +- { echo "$as_me:14056: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&5 ++ { echo "$as_me:14105: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&5 + echo "$as_me: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&2;} + TERMINFO_CAPS=Caps + fi +-echo "$as_me:14060: result: $TERMINFO_CAPS" >&5 ++echo "$as_me:14109: result: $TERMINFO_CAPS" >&5 + echo "${ECHO_T}$TERMINFO_CAPS" >&6 + + ### use option --with-chtype to override chtype's type +-echo "$as_me:14064: checking for type of chtype" >&5 ++echo "$as_me:14113: checking for type of chtype" >&5 + echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 + + # Check whether --with-chtype or --without-chtype was given. +@@ -14071,11 +14120,11 @@ if test "${with_chtype+set}" = set; then + else + NCURSES_CHTYPE=$cf_dft_chtype + fi; +-echo "$as_me:14074: result: $NCURSES_CHTYPE" >&5 ++echo "$as_me:14123: result: $NCURSES_CHTYPE" >&5 + echo "${ECHO_T}$NCURSES_CHTYPE" >&6 + + ### use option --with-ospeed to override ospeed's type +-echo "$as_me:14078: checking for type of ospeed" >&5 ++echo "$as_me:14127: checking for type of ospeed" >&5 + echo $ECHO_N "checking for type of ospeed... $ECHO_C" >&6 + + # Check whether --with-ospeed or --without-ospeed was given. +@@ -14085,11 +14134,11 @@ if test "${with_ospeed+set}" = set; then + else + NCURSES_OSPEED=short + fi; +-echo "$as_me:14088: result: $NCURSES_OSPEED" >&5 ++echo "$as_me:14137: result: $NCURSES_OSPEED" >&5 + echo "${ECHO_T}$NCURSES_OSPEED" >&6 + + ### use option --with-mmask-t to override mmask_t's type +-echo "$as_me:14092: checking for type of mmask_t" >&5 ++echo "$as_me:14141: checking for type of mmask_t" >&5 + echo $ECHO_N "checking for type of mmask_t... $ECHO_C" >&6 + + # Check whether --with-mmask-t or --without-mmask-t was given. +@@ -14099,11 +14148,11 @@ if test "${with_mmask_t+set}" = set; then + else + NCURSES_MMASK_T=$cf_dft_mmask_t + fi; +-echo "$as_me:14102: result: $NCURSES_MMASK_T" >&5 ++echo "$as_me:14151: result: $NCURSES_MMASK_T" >&5 + echo "${ECHO_T}$NCURSES_MMASK_T" >&6 + + ### use option --with-ccharw-max to override CCHARW_MAX size +-echo "$as_me:14106: checking for size CCHARW_MAX" >&5 ++echo "$as_me:14155: checking for size CCHARW_MAX" >&5 + echo $ECHO_N "checking for size CCHARW_MAX... $ECHO_C" >&6 + + # Check whether --with-ccharw-max or --without-ccharw-max was given. +@@ -14113,16 +14162,16 @@ if test "${with_ccharw_max+set}" = set; then + else + NCURSES_CCHARW_MAX=$cf_dft_ccharw_max + fi; +-echo "$as_me:14116: result: $NCURSES_CCHARW_MAX" >&5 ++echo "$as_me:14165: result: $NCURSES_CCHARW_MAX" >&5 + echo "${ECHO_T}$NCURSES_CCHARW_MAX" >&6 + +-echo "$as_me:14119: checking for ANSI C header files" >&5 ++echo "$as_me:14168: 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 14125 "configure" ++#line 14174 "configure" + #include "confdefs.h" + #include + #include +@@ -14130,13 +14179,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:14133: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:14182: \"$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:14139: \$? = $ac_status" >&5 ++ echo "$as_me:14188: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -14158,7 +14207,7 @@ 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 14161 "configure" ++#line 14210 "configure" + #include "confdefs.h" + #include + +@@ -14176,7 +14225,7 @@ 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 14179 "configure" ++#line 14228 "configure" + #include "confdefs.h" + #include + +@@ -14197,7 +14246,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14200 "configure" ++#line 14249 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -14223,15 +14272,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:14226: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14275: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14229: \$? = $ac_status" >&5 ++ echo "$as_me:14278: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:14231: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14280: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14234: \$? = $ac_status" >&5 ++ echo "$as_me:14283: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -14244,7 +14293,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:14247: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:14296: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -14260,28 +14309,28 @@ 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:14263: checking for $ac_header" >&5 ++echo "$as_me:14312: 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 14269 "configure" ++#line 14318 "configure" + #include "confdefs.h" + $ac_includes_default + #include <$ac_header> + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14275: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14324: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14278: \$? = $ac_status" >&5 ++ echo "$as_me:14327: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14281: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14330: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14284: \$? = $ac_status" >&5 ++ echo "$as_me:14333: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -14291,7 +14340,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14294: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:14343: 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 <&5 ++echo "$as_me:14353: checking for signed char" >&5 + echo $ECHO_N "checking for signed char... $ECHO_C" >&6 + if test "${ac_cv_type_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14310 "configure" ++#line 14359 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14322,16 +14371,16 @@ if (sizeof (signed char)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14325: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14374: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14328: \$? = $ac_status" >&5 ++ echo "$as_me:14377: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14331: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14380: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14334: \$? = $ac_status" >&5 ++ echo "$as_me:14383: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_signed_char=yes + else +@@ -14341,10 +14390,10 @@ ac_cv_type_signed_char=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14344: result: $ac_cv_type_signed_char" >&5 ++echo "$as_me:14393: result: $ac_cv_type_signed_char" >&5 + echo "${ECHO_T}$ac_cv_type_signed_char" >&6 + +-echo "$as_me:14347: checking size of signed char" >&5 ++echo "$as_me:14396: checking size of signed char" >&5 + echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + if test "${ac_cv_sizeof_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -14353,7 +14402,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14356 "configure" ++#line 14405 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14365,21 +14414,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14368: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14417: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14371: \$? = $ac_status" >&5 ++ echo "$as_me:14420: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14374: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14423: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14377: \$? = $ac_status" >&5 ++ echo "$as_me:14426: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14382 "configure" ++#line 14431 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14391,16 +14440,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14394: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14443: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14397: \$? = $ac_status" >&5 ++ echo "$as_me:14446: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14400: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14449: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14403: \$? = $ac_status" >&5 ++ echo "$as_me:14452: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -14416,7 +14465,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14419 "configure" ++#line 14468 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14428,16 +14477,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14431: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14480: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14434: \$? = $ac_status" >&5 ++ echo "$as_me:14483: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14437: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14486: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14440: \$? = $ac_status" >&5 ++ echo "$as_me:14489: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -14453,7 +14502,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14456 "configure" ++#line 14505 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14465,16 +14514,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14468: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14517: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14471: \$? = $ac_status" >&5 ++ echo "$as_me:14520: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14474: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14523: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14477: \$? = $ac_status" >&5 ++ echo "$as_me:14526: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -14487,12 +14536,12 @@ done + ac_cv_sizeof_signed_char=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:14490: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:14539: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14495 "configure" ++#line 14544 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14508,15 +14557,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:14511: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14560: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14514: \$? = $ac_status" >&5 ++ echo "$as_me:14563: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:14516: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14565: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14519: \$? = $ac_status" >&5 ++ echo "$as_me:14568: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_signed_char=`cat conftest.val` + else +@@ -14532,7 +14581,7 @@ else + ac_cv_sizeof_signed_char=0 + fi + fi +-echo "$as_me:14535: result: $ac_cv_sizeof_signed_char" >&5 ++echo "$as_me:14584: result: $ac_cv_sizeof_signed_char" >&5 + echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:14595: checking if you want to use signed Boolean array in term.h" >&5 + echo $ECHO_N "checking if you want to use signed Boolean array in term.h... $ECHO_C" >&6 + + # Check whether --enable-signed-char or --disable-signed-char was given. +@@ -14553,12 +14602,12 @@ if test "${enable_signed_char+set}" = set; then + else + with_signed_char=$cf_dft_signed_char + fi; +-echo "$as_me:14556: result: $with_signed_char" >&5 ++echo "$as_me:14605: result: $with_signed_char" >&5 + echo "${ECHO_T}$with_signed_char" >&6 + test "x$with_signed_char" != xyes && NCURSES_SBOOL="char" + + ### use option --with-tparm-arg to override tparm's argument type +-echo "$as_me:14561: checking for type of tparm args" >&5 ++echo "$as_me:14610: checking for type of tparm args" >&5 + echo $ECHO_N "checking for type of tparm args... $ECHO_C" >&6 + + # Check whether --with-tparm-arg or --without-tparm-arg was given. +@@ -14568,11 +14617,11 @@ if test "${with_tparm_arg+set}" = set; then + else + NCURSES_TPARM_ARG=$cf_dft_tparm_arg + fi; +-echo "$as_me:14571: result: $NCURSES_TPARM_ARG" >&5 ++echo "$as_me:14620: result: $NCURSES_TPARM_ARG" >&5 + echo "${ECHO_T}$NCURSES_TPARM_ARG" >&6 + + ### Enable compiling-in rcs id's +-echo "$as_me:14575: checking if RCS identifiers should be compiled-in" >&5 ++echo "$as_me:14624: checking if RCS identifiers should be compiled-in" >&5 + echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 + + # Check whether --with-rcs-ids or --without-rcs-ids was given. +@@ -14582,7 +14631,7 @@ if test "${with_rcs_ids+set}" = set; then + else + with_rcs_ids=no + fi; +-echo "$as_me:14585: result: $with_rcs_ids" >&5 ++echo "$as_me:14634: result: $with_rcs_ids" >&5 + echo "${ECHO_T}$with_rcs_ids" >&6 + test "x$with_rcs_ids" = xyes && + cat >>confdefs.h <<\EOF +@@ -14591,7 +14640,7 @@ EOF + + ############################################################################### + +-echo "$as_me:14594: checking format of man-pages" >&5 ++echo "$as_me:14643: checking format of man-pages" >&5 + echo $ECHO_N "checking format of man-pages... $ECHO_C" >&6 + + # Check whether --with-manpage-format or --without-manpage-format was given. +@@ -14680,14 +14729,14 @@ case "$MANPAGE_FORMAT" in + ;; + esac + +-echo "$as_me:14683: result: $MANPAGE_FORMAT" >&5 ++echo "$as_me:14732: result: $MANPAGE_FORMAT" >&5 + echo "${ECHO_T}$MANPAGE_FORMAT" >&6 + if test -n "$cf_unknown" ; then +- { echo "$as_me:14686: WARNING: Unexpected manpage-format $cf_unknown" >&5 ++ { echo "$as_me:14735: WARNING: Unexpected manpage-format $cf_unknown" >&5 + echo "$as_me: WARNING: Unexpected manpage-format $cf_unknown" >&2;} + fi + +-echo "$as_me:14690: checking for manpage renaming" >&5 ++echo "$as_me:14739: checking for manpage renaming" >&5 + echo $ECHO_N "checking for manpage renaming... $ECHO_C" >&6 + + # Check whether --with-manpage-renames or --without-manpage-renames was given. +@@ -14715,7 +14764,7 @@ if test "$MANPAGE_RENAMES" != no ; then + if test -f "$srcdir/man/$MANPAGE_RENAMES" ; then + MANPAGE_RENAMES=`cd "$srcdir/man" && pwd`/$MANPAGE_RENAMES + elif test ! -f "$MANPAGE_RENAMES" ; then +- { { echo "$as_me:14718: error: not a filename: $MANPAGE_RENAMES" >&5 ++ { { echo "$as_me:14767: error: not a filename: $MANPAGE_RENAMES" >&5 + echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -14729,10 +14778,10 @@ echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;} + fi + fi + +-echo "$as_me:14732: result: $MANPAGE_RENAMES" >&5 ++echo "$as_me:14781: result: $MANPAGE_RENAMES" >&5 + echo "${ECHO_T}$MANPAGE_RENAMES" >&6 + +-echo "$as_me:14735: checking if manpage aliases will be installed" >&5 ++echo "$as_me:14784: checking if manpage aliases will be installed" >&5 + echo $ECHO_N "checking if manpage aliases will be installed... $ECHO_C" >&6 + + # Check whether --with-manpage-aliases or --without-manpage-aliases was given. +@@ -14743,7 +14792,7 @@ else + MANPAGE_ALIASES=yes + fi; + +-echo "$as_me:14746: result: $MANPAGE_ALIASES" >&5 ++echo "$as_me:14795: result: $MANPAGE_ALIASES" >&5 + echo "${ECHO_T}$MANPAGE_ALIASES" >&6 + + case "x$LN_S" in +@@ -14757,7 +14806,7 @@ esac + + MANPAGE_SYMLINKS=no + if test "$MANPAGE_ALIASES" = yes ; then +-echo "$as_me:14760: checking if manpage symlinks should be used" >&5 ++echo "$as_me:14809: checking if manpage symlinks should be used" >&5 + echo $ECHO_N "checking if manpage symlinks should be used... $ECHO_C" >&6 + + # Check whether --with-manpage-symlinks or --without-manpage-symlinks was given. +@@ -14770,17 +14819,17 @@ fi; + + if test "$$cf_use_symlinks" = no; then + if test "$MANPAGE_SYMLINKS" = yes ; then +- { echo "$as_me:14773: WARNING: cannot make symlinks" >&5 ++ { echo "$as_me:14822: WARNING: cannot make symlinks" >&5 + echo "$as_me: WARNING: cannot make symlinks" >&2;} + MANPAGE_SYMLINKS=no + fi + fi + +-echo "$as_me:14779: result: $MANPAGE_SYMLINKS" >&5 ++echo "$as_me:14828: result: $MANPAGE_SYMLINKS" >&5 + echo "${ECHO_T}$MANPAGE_SYMLINKS" >&6 + fi + +-echo "$as_me:14783: checking for manpage tbl" >&5 ++echo "$as_me:14832: checking for manpage tbl" >&5 + echo $ECHO_N "checking for manpage tbl... $ECHO_C" >&6 + + # Check whether --with-manpage-tbl or --without-manpage-tbl was given. +@@ -14791,7 +14840,7 @@ else + MANPAGE_TBL=no + fi; + +-echo "$as_me:14794: result: $MANPAGE_TBL" >&5 ++echo "$as_me:14843: result: $MANPAGE_TBL" >&5 + echo "${ECHO_T}$MANPAGE_TBL" >&6 + + if test "$prefix" = "NONE" ; then +@@ -15125,7 +15174,7 @@ chmod 755 "$cf_edit_man" + ############################################################################### + + ### Note that some functions (such as const) are normally disabled anyway. +-echo "$as_me:15128: checking if you want to build with function extensions" >&5 ++echo "$as_me:15177: checking if you want to build with function extensions" >&5 + echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 + + # Check whether --enable-ext-funcs or --disable-ext-funcs was given. +@@ -15135,7 +15184,7 @@ if test "${enable_ext_funcs+set}" = set; then + else + with_ext_funcs=yes + fi; +-echo "$as_me:15138: result: $with_ext_funcs" >&5 ++echo "$as_me:15187: result: $with_ext_funcs" >&5 + echo "${ECHO_T}$with_ext_funcs" >&6 + if test "x$with_ext_funcs" = xyes ; then + NCURSES_EXT_FUNCS=1 +@@ -15195,7 +15244,7 @@ else + GENERATED_EXT_FUNCS= + fi + +-echo "$as_me:15198: checking if you want to build with SCREEN extensions" >&5 ++echo "$as_me:15247: checking if you want to build with SCREEN extensions" >&5 + echo $ECHO_N "checking if you want to build with SCREEN extensions... $ECHO_C" >&6 + + # Check whether --enable-sp-funcs or --disable-sp-funcs was given. +@@ -15205,7 +15254,7 @@ if test "${enable_sp_funcs+set}" = set; then + else + with_sp_funcs=$cf_dft_ext_spfuncs + fi; +-echo "$as_me:15208: result: $with_sp_funcs" >&5 ++echo "$as_me:15257: result: $with_sp_funcs" >&5 + echo "${ECHO_T}$with_sp_funcs" >&6 + if test "x$with_sp_funcs" = xyes ; then + NCURSES_SP_FUNCS=1 +@@ -15224,7 +15273,7 @@ else + GENERATED_SP_FUNCS= + fi + +-echo "$as_me:15227: checking if you want to build with terminal-driver" >&5 ++echo "$as_me:15276: checking if you want to build with terminal-driver" >&5 + echo $ECHO_N "checking if you want to build with terminal-driver... $ECHO_C" >&6 + + # Check whether --enable-term-driver or --disable-term-driver was given. +@@ -15234,7 +15283,7 @@ if test "${enable_term_driver+set}" = set; then + else + with_term_driver=no + fi; +-echo "$as_me:15237: result: $with_term_driver" >&5 ++echo "$as_me:15286: result: $with_term_driver" >&5 + echo "${ECHO_T}$with_term_driver" >&6 + if test "x$with_term_driver" = xyes ; then + +@@ -15243,19 +15292,19 @@ cat >>confdefs.h <<\EOF + EOF + + if test "x$with_termlib" != xno ; then +- { { echo "$as_me:15246: error: The term-driver option conflicts with the termlib option" >&5 ++ { { echo "$as_me:15295: error: The term-driver option conflicts with the termlib option" >&5 + echo "$as_me: error: The term-driver option conflicts with the termlib option" >&2;} + { (exit 1); exit 1; }; } + fi + if test "x$with_sp_funcs" != xyes ; then +- { { echo "$as_me:15251: error: The term-driver option relies upon sp-funcs" >&5 ++ { { echo "$as_me:15300: error: The term-driver option relies upon sp-funcs" >&5 + echo "$as_me: error: The term-driver option relies upon sp-funcs" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + ### use option --enable-const to turn on use of const beyond that in XSI. +-echo "$as_me:15258: checking for extended use of const keyword" >&5 ++echo "$as_me:15307: checking for extended use of const keyword" >&5 + echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 + + # Check whether --enable-const or --disable-const was given. +@@ -15265,7 +15314,7 @@ if test "${enable_const+set}" = set; then + else + with_ext_const=$cf_dft_ext_const + fi; +-echo "$as_me:15268: result: $with_ext_const" >&5 ++echo "$as_me:15317: result: $with_ext_const" >&5 + echo "${ECHO_T}$with_ext_const" >&6 + NCURSES_CONST='/*nothing*/' + if test "x$with_ext_const" = xyes ; then +@@ -15273,7 +15322,7 @@ if test "x$with_ext_const" = xyes ; then + fi + + ### use option --enable-ext-colors to turn on use of colors beyond 16. +-echo "$as_me:15276: checking if you want to use extended colors" >&5 ++echo "$as_me:15325: checking if you want to use extended colors" >&5 + echo $ECHO_N "checking if you want to use extended colors... $ECHO_C" >&6 + + # Check whether --enable-ext-colors or --disable-ext-colors was given. +@@ -15283,12 +15332,12 @@ if test "${enable_ext_colors+set}" = set; then + else + with_ext_colors=$cf_dft_ext_colors + fi; +-echo "$as_me:15286: result: $with_ext_colors" >&5 ++echo "$as_me:15335: result: $with_ext_colors" >&5 + echo "${ECHO_T}$with_ext_colors" >&6 + NCURSES_EXT_COLORS=0 + if test "x$with_ext_colors" = xyes ; then + if test "x$with_widec" != xyes ; then +- { echo "$as_me:15291: WARNING: This option applies only to wide-character library" >&5 ++ { echo "$as_me:15340: WARNING: This option applies only to wide-character library" >&5 + echo "$as_me: WARNING: This option applies only to wide-character library" >&2;} + else + # cannot be ABI 5 since it changes sizeof(cchar_t) +@@ -15298,7 +15347,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15301: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15350: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15326,7 +15375,7 @@ EOF + fi + + ### use option --enable-ext-mouse to modify coding to support 5-button mice +-echo "$as_me:15329: checking if you want to use extended mouse encoding" >&5 ++echo "$as_me:15378: checking if you want to use extended mouse encoding" >&5 + echo $ECHO_N "checking if you want to use extended mouse encoding... $ECHO_C" >&6 + + # Check whether --enable-ext-mouse or --disable-ext-mouse was given. +@@ -15336,7 +15385,7 @@ if test "${enable_ext_mouse+set}" = set; then + else + with_ext_mouse=$cf_dft_ext_mouse + fi; +-echo "$as_me:15339: result: $with_ext_mouse" >&5 ++echo "$as_me:15388: result: $with_ext_mouse" >&5 + echo "${ECHO_T}$with_ext_mouse" >&6 + if test "x$with_ext_mouse" = xyes ; then + +@@ -15345,7 +15394,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15348: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15397: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15366,7 +15415,7 @@ case $cf_cv_abi_version in + esac + + ### use option --enable-ext-putwin to turn on extended screendumps +-echo "$as_me:15369: checking if you want to use extended putwin/screendump" >&5 ++echo "$as_me:15418: checking if you want to use extended putwin/screendump" >&5 + echo $ECHO_N "checking if you want to use extended putwin/screendump... $ECHO_C" >&6 + + # Check whether --enable-ext-putwin or --disable-ext-putwin was given. +@@ -15376,7 +15425,7 @@ if test "${enable_ext_putwin+set}" = set; then + else + with_ext_putwin=$cf_dft_ext_putwin + fi; +-echo "$as_me:15379: result: $with_ext_putwin" >&5 ++echo "$as_me:15428: result: $with_ext_putwin" >&5 + echo "${ECHO_T}$with_ext_putwin" >&6 + if test "x$with_ext_putwin" = xyes ; then + +@@ -15386,7 +15435,7 @@ EOF + + fi + +-echo "$as_me:15389: checking if you want \$NCURSES_NO_PADDING code" >&5 ++echo "$as_me:15438: checking if you want \$NCURSES_NO_PADDING code" >&5 + echo $ECHO_N "checking if you want \$NCURSES_NO_PADDING code... $ECHO_C" >&6 + + # Check whether --enable-no-padding or --disable-no-padding was given. +@@ -15396,7 +15445,7 @@ if test "${enable_no_padding+set}" = set; then + else + with_no_padding=$with_ext_funcs + fi; +-echo "$as_me:15399: result: $with_no_padding" >&5 ++echo "$as_me:15448: result: $with_no_padding" >&5 + echo "${ECHO_T}$with_no_padding" >&6 + test "x$with_no_padding" = xyes && + cat >>confdefs.h <<\EOF +@@ -15404,7 +15453,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-sigwinch to turn on use of SIGWINCH logic +-echo "$as_me:15407: checking if you want SIGWINCH handler" >&5 ++echo "$as_me:15456: checking if you want SIGWINCH handler" >&5 + echo $ECHO_N "checking if you want SIGWINCH handler... $ECHO_C" >&6 + + # Check whether --enable-sigwinch or --disable-sigwinch was given. +@@ -15414,7 +15463,7 @@ if test "${enable_sigwinch+set}" = set; then + else + with_sigwinch=$with_ext_funcs + fi; +-echo "$as_me:15417: result: $with_sigwinch" >&5 ++echo "$as_me:15466: result: $with_sigwinch" >&5 + echo "${ECHO_T}$with_sigwinch" >&6 + test "x$with_sigwinch" = xyes && + cat >>confdefs.h <<\EOF +@@ -15422,7 +15471,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-tcap-names to allow user to define new capabilities +-echo "$as_me:15425: checking if you want user-definable terminal capabilities like termcap" >&5 ++echo "$as_me:15474: checking if you want user-definable terminal capabilities like termcap" >&5 + echo $ECHO_N "checking if you want user-definable terminal capabilities like termcap... $ECHO_C" >&6 + + # Check whether --enable-tcap-names or --disable-tcap-names was given. +@@ -15432,14 +15481,14 @@ if test "${enable_tcap_names+set}" = set; then + else + with_tcap_names=$with_ext_funcs + fi; +-echo "$as_me:15435: result: $with_tcap_names" >&5 ++echo "$as_me:15484: result: $with_tcap_names" >&5 + echo "${ECHO_T}$with_tcap_names" >&6 + NCURSES_XNAMES=0 + test "x$with_tcap_names" = xyes && NCURSES_XNAMES=1 + + ############################################################################## + +-echo "$as_me:15442: checking if you want to link with the pthread library" >&5 ++echo "$as_me:15491: checking if you want to link with the pthread library" >&5 + echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 + + # Check whether --with-pthread or --without-pthread was given. +@@ -15449,27 +15498,27 @@ if test "${with_pthread+set}" = set; then + else + with_pthread=no + fi; +-echo "$as_me:15452: result: $with_pthread" >&5 ++echo "$as_me:15501: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + + if test "$with_pthread" != no ; then +- echo "$as_me:15456: checking for pthread.h" >&5 ++ echo "$as_me:15505: checking for pthread.h" >&5 + echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 + if test "${ac_cv_header_pthread_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15462 "configure" ++#line 15511 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:15466: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:15515: \"$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:15472: \$? = $ac_status" >&5 ++ echo "$as_me:15521: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -15488,7 +15537,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:15491: result: $ac_cv_header_pthread_h" >&5 ++echo "$as_me:15540: result: $ac_cv_header_pthread_h" >&5 + echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 + if test "$ac_cv_header_pthread_h" = yes; then + +@@ -15498,7 +15547,7 @@ EOF + + for cf_lib_pthread in pthread c_r + do +- echo "$as_me:15501: checking if we can link with the $cf_lib_pthread library" >&5 ++ echo "$as_me:15550: checking if we can link with the $cf_lib_pthread library" >&5 + echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 + cf_save_LIBS="$LIBS" + +@@ -15519,7 +15568,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15522 "configure" ++#line 15571 "configure" + #include "confdefs.h" + + #include +@@ -15536,16 +15585,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15539: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15588: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15542: \$? = $ac_status" >&5 ++ echo "$as_me:15591: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15545: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15594: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15548: \$? = $ac_status" >&5 ++ echo "$as_me:15597: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_pthread=yes + else +@@ -15555,7 +15604,7 @@ with_pthread=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:15558: result: $with_pthread" >&5 ++ echo "$as_me:15607: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + test "$with_pthread" = yes && break + done +@@ -15583,7 +15632,7 @@ cat >>confdefs.h <<\EOF + EOF + + else +- { { echo "$as_me:15586: error: Cannot link with pthread library" >&5 ++ { { echo "$as_me:15635: error: Cannot link with pthread library" >&5 + echo "$as_me: error: Cannot link with pthread library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -15593,13 +15642,13 @@ fi + fi + + if test "x$with_pthread" != xno; then +- echo "$as_me:15596: checking for pthread_kill" >&5 ++ echo "$as_me:15645: checking for pthread_kill" >&5 + echo $ECHO_N "checking for pthread_kill... $ECHO_C" >&6 + if test "${ac_cv_func_pthread_kill+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15602 "configure" ++#line 15651 "configure" + #include "confdefs.h" + #define pthread_kill autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -15630,16 +15679,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15633: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15682: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15636: \$? = $ac_status" >&5 ++ echo "$as_me:15685: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15639: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15688: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15642: \$? = $ac_status" >&5 ++ echo "$as_me:15691: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_pthread_kill=yes + else +@@ -15649,11 +15698,11 @@ ac_cv_func_pthread_kill=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15652: result: $ac_cv_func_pthread_kill" >&5 ++echo "$as_me:15701: result: $ac_cv_func_pthread_kill" >&5 + echo "${ECHO_T}$ac_cv_func_pthread_kill" >&6 + if test "$ac_cv_func_pthread_kill" = yes; then + +- echo "$as_me:15656: checking if you want to allow EINTR in wgetch with pthreads" >&5 ++ echo "$as_me:15705: checking if you want to allow EINTR in wgetch with pthreads" >&5 + echo $ECHO_N "checking if you want to allow EINTR in wgetch with pthreads... $ECHO_C" >&6 + + # Check whether --enable-pthreads-eintr or --disable-pthreads-eintr was given. +@@ -15663,7 +15712,7 @@ if test "${enable_pthreads_eintr+set}" = set; then + else + use_pthreads_eintr=no + fi; +- echo "$as_me:15666: result: $use_pthreads_eintr" >&5 ++ echo "$as_me:15715: result: $use_pthreads_eintr" >&5 + echo "${ECHO_T}$use_pthreads_eintr" >&6 + if test "x$use_pthreads_eintr" = xyes ; then + +@@ -15674,7 +15723,7 @@ EOF + fi + fi + +- echo "$as_me:15677: checking if you want to use weak-symbols for pthreads" >&5 ++ echo "$as_me:15726: checking if you want to use weak-symbols for pthreads" >&5 + echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 + + # Check whether --enable-weak-symbols or --disable-weak-symbols was given. +@@ -15684,18 +15733,18 @@ if test "${enable_weak_symbols+set}" = set; then + else + use_weak_symbols=no + fi; +- echo "$as_me:15687: result: $use_weak_symbols" >&5 ++ echo "$as_me:15736: result: $use_weak_symbols" >&5 + echo "${ECHO_T}$use_weak_symbols" >&6 + if test "x$use_weak_symbols" = xyes ; then + +-echo "$as_me:15691: checking if $CC supports weak symbols" >&5 ++echo "$as_me:15740: checking if $CC supports weak symbols" >&5 + echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 + if test "${cf_cv_weak_symbols+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15698 "configure" ++#line 15747 "configure" + #include "confdefs.h" + + #include +@@ -15721,16 +15770,16 @@ weak_symbol(fopen); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15724: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15773: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15727: \$? = $ac_status" >&5 ++ echo "$as_me:15776: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15730: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15779: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15733: \$? = $ac_status" >&5 ++ echo "$as_me:15782: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_weak_symbols=yes + else +@@ -15741,7 +15790,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15744: result: $cf_cv_weak_symbols" >&5 ++echo "$as_me:15793: result: $cf_cv_weak_symbols" >&5 + echo "${ECHO_T}$cf_cv_weak_symbols" >&6 + + else +@@ -15791,7 +15840,7 @@ fi + # opaque outside of that, so there is no --enable-opaque option. We can use + # this option without --with-pthreads, but this will be always set for + # pthreads. +-echo "$as_me:15794: checking if you want reentrant code" >&5 ++echo "$as_me:15843: checking if you want reentrant code" >&5 + echo $ECHO_N "checking if you want reentrant code... $ECHO_C" >&6 + + # Check whether --enable-reentrant or --disable-reentrant was given. +@@ -15801,7 +15850,7 @@ if test "${enable_reentrant+set}" = set; then + else + with_reentrant=no + fi; +-echo "$as_me:15804: result: $with_reentrant" >&5 ++echo "$as_me:15853: result: $with_reentrant" >&5 + echo "${ECHO_T}$with_reentrant" >&6 + if test "x$with_reentrant" = xyes ; then + cf_cv_enable_reentrant=1 +@@ -15889,7 +15938,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15892: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15941: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15901,7 +15950,7 @@ else + NCURSES_SIZE_T=$cf_dft_ordinate_type + fi + +-echo "$as_me:15904: checking if you want opaque curses-library structures" >&5 ++echo "$as_me:15953: checking if you want opaque curses-library structures" >&5 + echo $ECHO_N "checking if you want opaque curses-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-curses or --disable-opaque-curses was given. +@@ -15923,16 +15972,16 @@ else + test "$cf_cv_enable_reentrant" = 1 || enable_opaque_curses=$cf_dft_opaque_curses + + fi; +-echo "$as_me:15926: result: $enable_opaque_curses" >&5 ++echo "$as_me:15975: result: $enable_opaque_curses" >&5 + echo "${ECHO_T}$enable_opaque_curses" >&6 + + test "$cf_cv_enable_reentrant" = 1 && \ + test "$enable_opaque_curses" = no && \ +-{ { echo "$as_me:15931: error: reentrant configuration requires opaque library" >&5 ++{ { echo "$as_me:15980: error: reentrant configuration requires opaque library" >&5 + echo "$as_me: error: reentrant configuration requires opaque library" >&2;} + { (exit 1); exit 1; }; } + +-echo "$as_me:15935: checking if you want opaque form-library structures" >&5 ++echo "$as_me:15984: checking if you want opaque form-library structures" >&5 + echo $ECHO_N "checking if you want opaque form-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-form or --disable-opaque-form was given. +@@ -15942,10 +15991,10 @@ if test "${enable_opaque_form+set}" = set; then + else + enable_opaque_form=no + fi; +-echo "$as_me:15945: result: $enable_opaque_form" >&5 ++echo "$as_me:15994: result: $enable_opaque_form" >&5 + echo "${ECHO_T}$enable_opaque_form" >&6 + +-echo "$as_me:15948: checking if you want opaque menu-library structures" >&5 ++echo "$as_me:15997: checking if you want opaque menu-library structures" >&5 + echo $ECHO_N "checking if you want opaque menu-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-menu or --disable-opaque-menu was given. +@@ -15955,10 +16004,10 @@ if test "${enable_opaque_menu+set}" = set; then + else + enable_opaque_menu=no + fi; +-echo "$as_me:15958: result: $enable_opaque_menu" >&5 ++echo "$as_me:16007: result: $enable_opaque_menu" >&5 + echo "${ECHO_T}$enable_opaque_menu" >&6 + +-echo "$as_me:15961: checking if you want opaque panel-library structures" >&5 ++echo "$as_me:16010: checking if you want opaque panel-library structures" >&5 + echo $ECHO_N "checking if you want opaque panel-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-panel or --disable-opaque-panel was given. +@@ -15968,7 +16017,7 @@ if test "${enable_opaque_panel+set}" = set; then + else + enable_opaque_panel=no + fi; +-echo "$as_me:15971: result: $enable_opaque_panel" >&5 ++echo "$as_me:16020: result: $enable_opaque_panel" >&5 + echo "${ECHO_T}$enable_opaque_panel" >&6 + + NCURSES_OPAQUE=0; test "$enable_opaque_curses" = yes && NCURSES_OPAQUE=1 +@@ -15978,7 +16027,7 @@ NCURSES_OPAQUE_PANEL=0; test "$enable_opaque_panel" = yes && NCURSES_OPAQUE_PAN + + ### Allow using a different wrap-prefix + if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then +- echo "$as_me:15981: checking for prefix used to wrap public variables" >&5 ++ echo "$as_me:16030: checking for prefix used to wrap public variables" >&5 + echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 + + # Check whether --with-wrap-prefix or --without-wrap-prefix was given. +@@ -15988,7 +16037,7 @@ if test "${with_wrap_prefix+set}" = set; then + else + NCURSES_WRAP_PREFIX=_nc_ + fi; +- echo "$as_me:15991: result: $NCURSES_WRAP_PREFIX" >&5 ++ echo "$as_me:16040: result: $NCURSES_WRAP_PREFIX" >&5 + echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 + else + NCURSES_WRAP_PREFIX=_nc_ +@@ -16001,7 +16050,7 @@ EOF + ############################################################################### + # These options are relatively safe to experiment with. + +-echo "$as_me:16004: checking if you want all development code" >&5 ++echo "$as_me:16053: checking if you want all development code" >&5 + echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 + + # Check whether --with-develop or --without-develop was given. +@@ -16011,11 +16060,11 @@ if test "${with_develop+set}" = set; then + else + with_develop=no + fi; +-echo "$as_me:16014: result: $with_develop" >&5 ++echo "$as_me:16063: result: $with_develop" >&5 + echo "${ECHO_T}$with_develop" >&6 + + ### use option --enable-hard-tabs to turn on use of hard-tabs optimize +-echo "$as_me:16018: checking if you want hard-tabs code" >&5 ++echo "$as_me:16067: checking if you want hard-tabs code" >&5 + echo $ECHO_N "checking if you want hard-tabs code... $ECHO_C" >&6 + + # Check whether --enable-hard-tabs or --disable-hard-tabs was given. +@@ -16025,7 +16074,7 @@ if test "${enable_hard_tabs+set}" = set; then + else + enable_hard_tabs=$with_develop + fi; +-echo "$as_me:16028: result: $enable_hard_tabs" >&5 ++echo "$as_me:16077: result: $enable_hard_tabs" >&5 + echo "${ECHO_T}$enable_hard_tabs" >&6 + test "x$enable_hard_tabs" = xyes && + cat >>confdefs.h <<\EOF +@@ -16033,7 +16082,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-xmc-glitch to turn on use of magic-cookie optimize +-echo "$as_me:16036: checking if you want limited support for xmc" >&5 ++echo "$as_me:16085: checking if you want limited support for xmc" >&5 + echo $ECHO_N "checking if you want limited support for xmc... $ECHO_C" >&6 + + # Check whether --enable-xmc-glitch or --disable-xmc-glitch was given. +@@ -16043,7 +16092,7 @@ if test "${enable_xmc_glitch+set}" = set; then + else + enable_xmc_glitch=$with_develop + fi; +-echo "$as_me:16046: result: $enable_xmc_glitch" >&5 ++echo "$as_me:16095: result: $enable_xmc_glitch" >&5 + echo "${ECHO_T}$enable_xmc_glitch" >&6 + test "x$enable_xmc_glitch" = xyes && + cat >>confdefs.h <<\EOF +@@ -16053,7 +16102,7 @@ EOF + ############################################################################### + # These are just experimental, probably should not be in a package: + +-echo "$as_me:16056: checking if you do not want to assume colors are white-on-black" >&5 ++echo "$as_me:16105: checking if you do not want to assume colors are white-on-black" >&5 + echo $ECHO_N "checking if you do not want to assume colors are white-on-black... $ECHO_C" >&6 + + # Check whether --enable-assumed-color or --disable-assumed-color was given. +@@ -16063,7 +16112,7 @@ if test "${enable_assumed_color+set}" = set; then + else + with_assumed_color=yes + fi; +-echo "$as_me:16066: result: $with_assumed_color" >&5 ++echo "$as_me:16115: result: $with_assumed_color" >&5 + echo "${ECHO_T}$with_assumed_color" >&6 + test "x$with_assumed_color" = xyes && + cat >>confdefs.h <<\EOF +@@ -16071,7 +16120,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-hashmap to turn on use of hashmap scrolling logic +-echo "$as_me:16074: checking if you want hashmap scrolling-optimization code" >&5 ++echo "$as_me:16123: checking if you want hashmap scrolling-optimization code" >&5 + echo $ECHO_N "checking if you want hashmap scrolling-optimization code... $ECHO_C" >&6 + + # Check whether --enable-hashmap or --disable-hashmap was given. +@@ -16081,7 +16130,7 @@ if test "${enable_hashmap+set}" = set; then + else + with_hashmap=yes + fi; +-echo "$as_me:16084: result: $with_hashmap" >&5 ++echo "$as_me:16133: result: $with_hashmap" >&5 + echo "${ECHO_T}$with_hashmap" >&6 + test "x$with_hashmap" = xyes && + cat >>confdefs.h <<\EOF +@@ -16089,7 +16138,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-colorfgbg to turn on use of $COLORFGBG environment +-echo "$as_me:16092: checking if you want colorfgbg code" >&5 ++echo "$as_me:16141: checking if you want colorfgbg code" >&5 + echo $ECHO_N "checking if you want colorfgbg code... $ECHO_C" >&6 + + # Check whether --enable-colorfgbg or --disable-colorfgbg was given. +@@ -16099,7 +16148,7 @@ if test "${enable_colorfgbg+set}" = set; then + else + with_colorfgbg=no + fi; +-echo "$as_me:16102: result: $with_colorfgbg" >&5 ++echo "$as_me:16151: result: $with_colorfgbg" >&5 + echo "${ECHO_T}$with_colorfgbg" >&6 + test "x$with_colorfgbg" = xyes && + cat >>confdefs.h <<\EOF +@@ -16107,7 +16156,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-fvisibility to turn on use of gcc-specific feature +-echo "$as_me:16110: checking if you want to use gcc -fvisibility option" >&5 ++echo "$as_me:16159: checking if you want to use gcc -fvisibility option" >&5 + echo $ECHO_N "checking if you want to use gcc -fvisibility option... $ECHO_C" >&6 + + # Check whether --enable-fvisibility or --disable-fvisibility was given. +@@ -16117,14 +16166,14 @@ if test "${enable_fvisibility+set}" = set; then + else + cf_with_fvisibility=no + fi; +-echo "$as_me:16120: result: $cf_with_fvisibility" >&5 ++echo "$as_me:16169: result: $cf_with_fvisibility" >&5 + echo "${ECHO_T}$cf_with_fvisibility" >&6 + + NCURSES_IMPEXP= + NCURSES_CXX_IMPEXP= + if test "x$cf_with_fvisibility" = xyes; then + +-echo "$as_me:16127: checking if $CC -fvisibility=hidden option works" >&5 ++echo "$as_me:16176: checking if $CC -fvisibility=hidden option works" >&5 + echo $ECHO_N "checking if $CC -fvisibility=hidden option works... $ECHO_C" >&6 + if test "${cf_cv_fvisibility_hidden+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16133,7 +16182,7 @@ else + cf_save_cflags="$CFLAGS" + CFLAGS="$CFLAGS -fvisibility=hidden" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16136 "configure" ++#line 16185 "configure" + #include "confdefs.h" + + __attribute__ ((visibility("default"))) int somefunc() {return 42;} +@@ -16149,16 +16198,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16152: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16201: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16155: \$? = $ac_status" >&5 ++ echo "$as_me:16204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16158: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16207: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16161: \$? = $ac_status" >&5 ++ echo "$as_me:16210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fvisibility_hidden=yes + else +@@ -16170,7 +16219,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + CFLAGS=$cf_save_cflags + + fi +-echo "$as_me:16173: result: $cf_cv_fvisibility_hidden" >&5 ++echo "$as_me:16222: result: $cf_cv_fvisibility_hidden" >&5 + echo "${ECHO_T}$cf_cv_fvisibility_hidden" >&6 + + if test "x$cf_cv_fvisibility_hidden" = xyes +@@ -16285,7 +16334,7 @@ ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + +-echo "$as_me:16288: checking if $CXX -fvisibility=hidden option works" >&5 ++echo "$as_me:16337: checking if $CXX -fvisibility=hidden option works" >&5 + echo $ECHO_N "checking if $CXX -fvisibility=hidden option works... $ECHO_C" >&6 + if test "${cf_cv_fvisibility_hidden2+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16294,7 +16343,7 @@ else + cf_save_cflags="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16297 "configure" ++#line 16346 "configure" + #include "confdefs.h" + + __attribute__ ((visibility("default"))) int somefunc() {return 42;} +@@ -16310,16 +16359,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16313: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16362: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16316: \$? = $ac_status" >&5 ++ echo "$as_me:16365: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16319: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16368: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16322: \$? = $ac_status" >&5 ++ echo "$as_me:16371: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fvisibility_hidden2=yes + else +@@ -16331,7 +16380,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + CXXFLAGS=$cf_save_cflags + + fi +-echo "$as_me:16334: result: $cf_cv_fvisibility_hidden2" >&5 ++echo "$as_me:16383: result: $cf_cv_fvisibility_hidden2" >&5 + echo "${ECHO_T}$cf_cv_fvisibility_hidden2" >&6 + + if test "x$cf_cv_fvisibility_hidden2" = xyes +@@ -16454,7 +16503,7 @@ ac_main_return="return" + fi + + ### use option --enable-interop to turn on use of bindings used for interop +-echo "$as_me:16457: checking if you want interop bindings" >&5 ++echo "$as_me:16506: checking if you want interop bindings" >&5 + echo $ECHO_N "checking if you want interop bindings... $ECHO_C" >&6 + + # Check whether --enable-interop or --disable-interop was given. +@@ -16464,13 +16513,13 @@ if test "${enable_interop+set}" = set; then + else + with_exp_interop=$cf_dft_interop + fi; +-echo "$as_me:16467: result: $with_exp_interop" >&5 ++echo "$as_me:16516: result: $with_exp_interop" >&5 + echo "${ECHO_T}$with_exp_interop" >&6 + + NCURSES_INTEROP_FUNCS=0 + test "x$with_exp_interop" = xyes && NCURSES_INTEROP_FUNCS=1 + +-echo "$as_me:16473: checking if you want experimental safe-sprintf code" >&5 ++echo "$as_me:16522: checking if you want experimental safe-sprintf code" >&5 + echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6 + + # Check whether --enable-safe-sprintf or --disable-safe-sprintf was given. +@@ -16480,13 +16529,13 @@ if test "${enable_safe_sprintf+set}" = set; then + else + with_safe_sprintf=no + fi; +-echo "$as_me:16483: result: $with_safe_sprintf" >&5 ++echo "$as_me:16532: result: $with_safe_sprintf" >&5 + echo "${ECHO_T}$with_safe_sprintf" >&6 + + ### use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic + # when hashmap is used scroll hints are useless + if test "$with_hashmap" = no ; then +-echo "$as_me:16489: checking if you want to experiment without scrolling-hints code" >&5 ++echo "$as_me:16538: checking if you want to experiment without scrolling-hints code" >&5 + echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6 + + # Check whether --enable-scroll-hints or --disable-scroll-hints was given. +@@ -16496,7 +16545,7 @@ if test "${enable_scroll_hints+set}" = set; then + else + with_scroll_hints=yes + fi; +-echo "$as_me:16499: result: $with_scroll_hints" >&5 ++echo "$as_me:16548: result: $with_scroll_hints" >&5 + echo "${ECHO_T}$with_scroll_hints" >&6 + test "x$with_scroll_hints" = xyes && + cat >>confdefs.h <<\EOF +@@ -16505,7 +16554,7 @@ EOF + + fi + +-echo "$as_me:16508: checking if you want wgetch-events code" >&5 ++echo "$as_me:16557: checking if you want wgetch-events code" >&5 + echo $ECHO_N "checking if you want wgetch-events code... $ECHO_C" >&6 + + # Check whether --enable-wgetch-events or --disable-wgetch-events was given. +@@ -16515,7 +16564,7 @@ if test "${enable_wgetch_events+set}" = set; then + else + with_wgetch_events=no + fi; +-echo "$as_me:16518: result: $with_wgetch_events" >&5 ++echo "$as_me:16567: result: $with_wgetch_events" >&5 + echo "${ECHO_T}$with_wgetch_events" >&6 + if test "x$with_wgetch_events" = xyes ; then + +@@ -16530,7 +16579,7 @@ fi + + case "$cf_cv_system_name" in + (*mingw32*|*mingw64*|*-msvc*) +- echo "$as_me:16533: checking if you want experimental-Windows driver" >&5 ++ echo "$as_me:16582: checking if you want experimental-Windows driver" >&5 + echo $ECHO_N "checking if you want experimental-Windows driver... $ECHO_C" >&6 + + # Check whether --enable-exp-win32 or --disable-exp-win32 was given. +@@ -16540,7 +16589,7 @@ if test "${enable_exp_win32+set}" = set; then + else + with_exp_win32=no + fi; +- echo "$as_me:16543: result: $with_exp_win32" >&5 ++ echo "$as_me:16592: result: $with_exp_win32" >&5 + echo "${ECHO_T}$with_exp_win32" >&6 + if test "x$with_exp_win32" = xyes + then +@@ -16566,7 +16615,7 @@ esac + + ### use option --disable-echo to suppress full display compiling commands + +-echo "$as_me:16569: checking if you want to see long compiling messages" >&5 ++echo "$as_me:16618: 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. +@@ -16600,7 +16649,7 @@ else + ECHO_CC='' + + fi; +-echo "$as_me:16603: result: $enableval" >&5 ++echo "$as_me:16652: result: $enableval" >&5 + echo "${ECHO_T}$enableval" >&6 + + if test "x$enable_echo" = xyes; then +@@ -16613,7 +16662,7 @@ fi + + # --disable-stripping is used for debugging + +-echo "$as_me:16616: checking if you want to install stripped executables" >&5 ++echo "$as_me:16665: checking if you want to install stripped executables" >&5 + echo $ECHO_N "checking if you want to install stripped executables... $ECHO_C" >&6 + + # Check whether --enable-stripping or --disable-stripping was given. +@@ -16630,7 +16679,7 @@ else + enable_stripping=yes + + fi; +-echo "$as_me:16633: result: $enable_stripping" >&5 ++echo "$as_me:16682: result: $enable_stripping" >&5 + echo "${ECHO_T}$enable_stripping" >&6 + + if test "$enable_stripping" = yes +@@ -16641,7 +16690,7 @@ else + fi + + : "${INSTALL:=install}" +-echo "$as_me:16644: checking if install accepts -p option" >&5 ++echo "$as_me:16693: checking if install accepts -p option" >&5 + echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6 + if test "${cf_cv_install_p+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16672,10 +16721,10 @@ else + rm -rf ./conftest* + + fi +-echo "$as_me:16675: result: $cf_cv_install_p" >&5 ++echo "$as_me:16724: result: $cf_cv_install_p" >&5 + echo "${ECHO_T}$cf_cv_install_p" >&6 + +-echo "$as_me:16678: checking if install needs to be told about ownership" >&5 ++echo "$as_me:16727: checking if install needs to be told about ownership" >&5 + echo $ECHO_N "checking if install needs to be told about ownership... $ECHO_C" >&6 + case `$ac_config_guess` in + (*minix) +@@ -16686,7 +16735,7 @@ case `$ac_config_guess` in + ;; + esac + +-echo "$as_me:16689: result: $with_install_o" >&5 ++echo "$as_me:16738: result: $with_install_o" >&5 + echo "${ECHO_T}$with_install_o" >&6 + if test "x$with_install_o" = xyes + then +@@ -16711,7 +16760,7 @@ fi + + ### use option --enable-warnings to turn on all gcc warnings + +-echo "$as_me:16714: checking if you want to use C11 _Noreturn feature" >&5 ++echo "$as_me:16763: checking if you want to use C11 _Noreturn feature" >&5 + echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 + + # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. +@@ -16728,17 +16777,17 @@ else + enable_stdnoreturn=no + + fi; +-echo "$as_me:16731: result: $enable_stdnoreturn" >&5 ++echo "$as_me:16780: result: $enable_stdnoreturn" >&5 + echo "${ECHO_T}$enable_stdnoreturn" >&6 + + if test $enable_stdnoreturn = yes; then +-echo "$as_me:16735: checking for C11 _Noreturn feature" >&5 ++echo "$as_me:16784: checking for C11 _Noreturn feature" >&5 + echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 + if test "${cf_cv_c11_noreturn+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16741 "configure" ++#line 16790 "configure" + #include "confdefs.h" + + #include +@@ -16755,16 +16804,16 @@ if (feof(stdin)) giveup() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16758: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16807: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16761: \$? = $ac_status" >&5 ++ echo "$as_me:16810: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16764: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16813: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16767: \$? = $ac_status" >&5 ++ echo "$as_me:16816: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes + else +@@ -16775,7 +16824,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:16778: result: $cf_cv_c11_noreturn" >&5 ++echo "$as_me:16827: result: $cf_cv_c11_noreturn" >&5 + echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 + else + cf_cv_c11_noreturn=no, +@@ -16831,16 +16880,16 @@ then + then + test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16834: testing repairing CFLAGS: $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16883: testing repairing CFLAGS: $CFLAGS ..." 1>&5 + + CFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16839: testing ... fixed $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16888: testing ... fixed $CFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16843: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16892: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16879,16 +16928,16 @@ then + then + test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16882: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16931: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16887: testing ... fixed $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16936: testing ... fixed $CPPFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16891: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16940: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16927,23 +16976,23 @@ then + then + test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16930: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16979: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 + + LDFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16935: testing ... fixed $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16984: testing ... fixed $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16939: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16988: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; + esac + fi + +-echo "$as_me:16946: checking if you want to turn on gcc warnings" >&5 ++echo "$as_me:16995: checking if you want to turn on gcc warnings" >&5 + echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 + + # Check whether --enable-warnings or --disable-warnings was given. +@@ -16960,7 +17009,7 @@ else + enable_warnings=no + + fi; +-echo "$as_me:16963: result: $enable_warnings" >&5 ++echo "$as_me:17012: result: $enable_warnings" >&5 + echo "${ECHO_T}$enable_warnings" >&6 + if test "$enable_warnings" = "yes" + then +@@ -16984,7 +17033,7 @@ do + done + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16987 "configure" ++#line 17036 "configure" + #include "confdefs.h" + + #include +@@ -16999,26 +17048,26 @@ String foo = malloc(1); free((void*)foo) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17002: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17051: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17005: \$? = $ac_status" >&5 ++ echo "$as_me:17054: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17008: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17057: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17011: \$? = $ac_status" >&5 ++ echo "$as_me:17060: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + +-echo "$as_me:17014: checking for X11/Xt const-feature" >&5 ++echo "$as_me:17063: checking for X11/Xt const-feature" >&5 + echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 + if test "${cf_cv_const_x_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17021 "configure" ++#line 17070 "configure" + #include "confdefs.h" + + #define _CONST_X_STRING /* X11R7.8 (perhaps) */ +@@ -17035,16 +17084,16 @@ String foo = malloc(1); *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17038: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17087: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17041: \$? = $ac_status" >&5 ++ echo "$as_me:17090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17044: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17093: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17047: \$? = $ac_status" >&5 ++ echo "$as_me:17096: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_const_x_string=no +@@ -17059,7 +17108,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:17062: result: $cf_cv_const_x_string" >&5 ++echo "$as_me:17111: result: $cf_cv_const_x_string" >&5 + echo "${ECHO_T}$cf_cv_const_x_string" >&6 + + LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +@@ -17088,7 +17137,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + cat > "conftest.$ac_ext" <&5 ++ { echo "$as_me:17156: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" +@@ -17120,12 +17169,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:17123: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17172: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17126: \$? = $ac_status" >&5 ++ echo "$as_me:17175: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17128: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17177: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi +@@ -17133,7 +17182,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + CFLAGS="$cf_save_CFLAGS" + elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" + then +- { echo "$as_me:17136: checking for $CC warning options..." >&5 ++ { echo "$as_me:17185: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + cf_warn_CONST="" +@@ -17156,12 +17205,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:17159: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17208: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17162: \$? = $ac_status" >&5 ++ echo "$as_me:17211: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17164: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17213: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + case "$cf_opt" in + (Winline) +@@ -17169,7 +17218,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + ([34].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:17172: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:17221: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -17179,7 +17228,7 @@ echo "${as_me:-configure}:17172: testing feature is broken in gcc $GCC_VERSION . + ([12].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:17182: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:17231: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -17212,10 +17261,10 @@ cat > conftest.i <&5 ++ { echo "$as_me:17264: checking for $CC __attribute__ directives..." >&5 + echo "$as_me: checking for $CC __attribute__ directives..." >&6;} + cat > "conftest.$ac_ext" <&5 ++ if { (eval echo "$as_me:17316: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17270: \$? = $ac_status" >&5 ++ echo "$as_me:17319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17272: result: ... $cf_attribute" >&5 ++ test -n "$verbose" && echo "$as_me:17321: result: ... $cf_attribute" >&5 + echo "${ECHO_T}... $cf_attribute" >&6 + cat conftest.h >>confdefs.h + case "$cf_attribute" in +@@ -17341,12 +17390,12 @@ INTEL_CPLUSPLUS=no + if test "$GCC" = yes ; then + case "$host_os" in + (linux*|gnu*) +- echo "$as_me:17344: checking if this is really Intel C++ compiler" >&5 ++ echo "$as_me:17393: 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="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -no-gcc" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17349 "configure" ++#line 17398 "configure" + #include "confdefs.h" + + int +@@ -17363,16 +17412,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17366: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17415: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17369: \$? = $ac_status" >&5 ++ echo "$as_me:17418: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17372: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17421: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17375: \$? = $ac_status" >&5 ++ echo "$as_me:17424: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + INTEL_CPLUSPLUS=yes + cf_save_CFLAGS="$cf_save_CFLAGS -we147" +@@ -17383,7 +17432,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CXXFLAGS="$cf_save_CFLAGS" +- echo "$as_me:17386: result: $INTEL_CPLUSPLUS" >&5 ++ echo "$as_me:17435: result: $INTEL_CPLUSPLUS" >&5 + echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6 + ;; + esac +@@ -17392,11 +17441,11 @@ fi + CLANG_CPLUSPLUS=no + + if test "$GCC" = yes ; then +- echo "$as_me:17395: checking if this is really Clang C++ compiler" >&5 ++ echo "$as_me:17444: 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="$CXXFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17399 "configure" ++#line 17448 "configure" + #include "confdefs.h" + + int +@@ -17413,16 +17462,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17416: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17465: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17419: \$? = $ac_status" >&5 ++ echo "$as_me:17468: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17422: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17471: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17425: \$? = $ac_status" >&5 ++ echo "$as_me:17474: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + CLANG_CPLUSPLUS=yes + +@@ -17432,7 +17481,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CXXFLAGS="$cf_save_CFLAGS" +- echo "$as_me:17435: result: $CLANG_CPLUSPLUS" >&5 ++ echo "$as_me:17484: result: $CLANG_CPLUSPLUS" >&5 + echo "${ECHO_T}$CLANG_CPLUSPLUS" >&6 + fi + +@@ -17441,30 +17490,30 @@ CLANG_VERSION=none + if test "x$CLANG_CPLUSPLUS" = "xyes" ; then + case "$CC" in + (c[1-9][0-9]|*/c[1-9][0-9]) +- { echo "$as_me:17444: WARNING: replacing broken compiler alias $CC" >&5 ++ { echo "$as_me:17493: WARNING: replacing broken compiler alias $CC" >&5 + echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;} + CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`" + CC=clang + ;; + esac + +- echo "$as_me:17451: checking version of $CC" >&5 ++ echo "$as_me:17500: checking version of $CC" >&5 + echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 + CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" + test -z "$CLANG_VERSION" && CLANG_VERSION=unknown +- echo "$as_me:17455: result: $CLANG_VERSION" >&5 ++ echo "$as_me:17504: result: $CLANG_VERSION" >&5 + echo "${ECHO_T}$CLANG_VERSION" >&6 + + for cf_clang_opt in \ + -Qunused-arguments \ + -Wno-error=implicit-function-declaration + do +- echo "$as_me:17462: checking if option $cf_clang_opt works" >&5 ++ echo "$as_me:17511: checking if option $cf_clang_opt works" >&5 + echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $cf_clang_opt" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17467 "configure" ++#line 17516 "configure" + #include "confdefs.h" + + #include +@@ -17478,16 +17527,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17481: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17530: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17484: \$? = $ac_status" >&5 ++ echo "$as_me:17533: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17487: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17536: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17490: \$? = $ac_status" >&5 ++ echo "$as_me:17539: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_clang_optok=yes +@@ -17498,13 +17547,13 @@ cat "conftest.$ac_ext" >&5 + cf_clang_optok=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:17501: result: $cf_clang_optok" >&5 ++ echo "$as_me:17550: result: $cf_clang_optok" >&5 + echo "${ECHO_T}$cf_clang_optok" >&6 + CFLAGS="$cf_save_CFLAGS" + if test "$cf_clang_optok" = yes; then + test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6 + +-echo "${as_me:-configure}:17507: testing adding option $cf_clang_opt ..." 1>&5 ++echo "${as_me:-configure}:17556: testing adding option $cf_clang_opt ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_clang_opt" +@@ -17521,7 +17570,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + cat > conftest.$ac_ext <&5 ++ { echo "$as_me:17591: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CXXFLAGS="$CXXFLAGS" + EXTRA_CXXFLAGS="-Wall" +@@ -17556,12 +17605,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt" +- if { (eval echo "$as_me:17559: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17608: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17562: \$? = $ac_status" >&5 ++ echo "$as_me:17611: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17564: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17613: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" + fi +@@ -17570,7 +17619,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + + elif test "$GXX" = yes + then +- { echo "$as_me:17573: checking for $CXX warning options..." >&5 ++ { echo "$as_me:17622: checking for $CXX warning options..." >&5 + echo "$as_me: checking for $CXX warning options..." >&6;} + cf_save_CXXFLAGS="$CXXFLAGS" + EXTRA_CXXFLAGS="-W -Wall" +@@ -17600,16 +17649,16 @@ echo "$as_me: checking for $CXX warning options..." >&6;} + Wundef $cf_gxx_extra_warnings Wno-unused + do + CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt" +- if { (eval echo "$as_me:17603: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17652: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17606: \$? = $ac_status" >&5 ++ echo "$as_me:17655: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17608: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17657: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" + else +- test -n "$verbose" && echo "$as_me:17612: result: ... no -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17661: result: ... no -$cf_opt" >&5 + echo "${ECHO_T}... no -$cf_opt" >&6 + fi + done +@@ -17627,7 +17676,7 @@ ac_main_return="return" + fi + fi + +-echo "$as_me:17630: checking if you want to work around bogus compiler/loader warnings" >&5 ++echo "$as_me:17679: checking if you want to work around bogus compiler/loader warnings" >&5 + echo $ECHO_N "checking if you want to work around bogus compiler/loader warnings... $ECHO_C" >&6 + + # Check whether --enable-string-hacks or --disable-string-hacks was given. +@@ -17637,7 +17686,7 @@ if test "${enable_string_hacks+set}" = set; then + else + enable_string_hacks=no + fi; +-echo "$as_me:17640: result: $enable_string_hacks" >&5 ++echo "$as_me:17689: result: $enable_string_hacks" >&5 + echo "${ECHO_T}$enable_string_hacks" >&6 + + if test "x$enable_string_hacks" = "xyes"; then +@@ -17646,15 +17695,15 @@ cat >>confdefs.h <<\EOF + #define USE_STRING_HACKS 1 + EOF + +- { echo "$as_me:17649: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5 ++ { echo "$as_me:17698: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5 + echo "$as_me: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&2;} +- echo "$as_me:17651: checking for strlcat" >&5 ++ echo "$as_me:17700: checking for strlcat" >&5 + echo $ECHO_N "checking for strlcat... $ECHO_C" >&6 + if test "${ac_cv_func_strlcat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17657 "configure" ++#line 17706 "configure" + #include "confdefs.h" + #define strlcat autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17685,16 +17734,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17688: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17737: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17691: \$? = $ac_status" >&5 ++ echo "$as_me:17740: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17694: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17743: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17697: \$? = $ac_status" >&5 ++ echo "$as_me:17746: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_strlcat=yes + else +@@ -17704,7 +17753,7 @@ ac_cv_func_strlcat=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17707: result: $ac_cv_func_strlcat" >&5 ++echo "$as_me:17756: result: $ac_cv_func_strlcat" >&5 + echo "${ECHO_T}$ac_cv_func_strlcat" >&6 + if test "$ac_cv_func_strlcat" = yes; then + +@@ -17714,7 +17763,7 @@ EOF + + else + +- echo "$as_me:17717: checking for strlcat in -lbsd" >&5 ++ echo "$as_me:17766: checking for strlcat in -lbsd" >&5 + echo $ECHO_N "checking for strlcat in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_strlcat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17722,7 +17771,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17725 "configure" ++#line 17774 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17741,16 +17790,16 @@ strlcat (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17744: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17793: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17747: \$? = $ac_status" >&5 ++ echo "$as_me:17796: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17750: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17799: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17753: \$? = $ac_status" >&5 ++ echo "$as_me:17802: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_strlcat=yes + else +@@ -17761,7 +17810,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17764: result: $ac_cv_lib_bsd_strlcat" >&5 ++echo "$as_me:17813: result: $ac_cv_lib_bsd_strlcat" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_strlcat" >&6 + if test "$ac_cv_lib_bsd_strlcat" = yes; then + +@@ -17784,23 +17833,23 @@ LIBS="$cf_add_libs" + for ac_header in bsd/string.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:17787: checking for $ac_header" >&5 ++echo "$as_me:17836: 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 17793 "configure" ++#line 17842 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:17797: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:17846: \"$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:17803: \$? = $ac_status" >&5 ++ echo "$as_me:17852: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -17819,7 +17868,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:17822: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17871: 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 <&5 ++echo "$as_me:17892: 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 17849 "configure" ++#line 17898 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17877,16 +17926,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17880: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17929: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17883: \$? = $ac_status" >&5 ++ echo "$as_me:17932: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17886: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17935: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17889: \$? = $ac_status" >&5 ++ echo "$as_me:17938: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -17896,7 +17945,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17899: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:17948: 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 <&5 ++echo "$as_me:17961: checking if you want to enable runtime assertions" >&5 + echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 + + # Check whether --enable-assertions or --disable-assertions was given. +@@ -17919,7 +17968,7 @@ if test "${enable_assertions+set}" = set; then + else + with_assertions=no + fi; +-echo "$as_me:17922: result: $with_assertions" >&5 ++echo "$as_me:17971: result: $with_assertions" >&5 + echo "${ECHO_T}$with_assertions" >&6 + if test -n "$GCC" + then +@@ -17935,7 +17984,7 @@ fi + + ### use option --disable-leaks to suppress "permanent" leaks, for testing + +-echo "$as_me:17938: checking if you want to use dmalloc for testing" >&5 ++echo "$as_me:17987: 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. +@@ -17957,7 +18006,7 @@ EOF + else + with_dmalloc= + fi; +-echo "$as_me:17960: result: ${with_dmalloc:-no}" >&5 ++echo "$as_me:18009: result: ${with_dmalloc:-no}" >&5 + echo "${ECHO_T}${with_dmalloc:-no}" >&6 + + case ".$with_cflags" in +@@ -18071,23 +18120,23 @@ fi + esac + + if test "$with_dmalloc" = yes ; then +- echo "$as_me:18074: checking for dmalloc.h" >&5 ++ echo "$as_me:18123: 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 18080 "configure" ++#line 18129 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:18084: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:18133: \"$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:18090: \$? = $ac_status" >&5 ++ echo "$as_me:18139: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -18106,11 +18155,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:18109: result: $ac_cv_header_dmalloc_h" >&5 ++echo "$as_me:18158: 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:18113: checking for dmalloc_debug in -ldmalloc" >&5 ++echo "$as_me:18162: 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 +@@ -18118,7 +18167,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldmalloc $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18121 "configure" ++#line 18170 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18137,16 +18186,16 @@ dmalloc_debug (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18140: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18189: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18143: \$? = $ac_status" >&5 ++ echo "$as_me:18192: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18146: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18195: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18149: \$? = $ac_status" >&5 ++ echo "$as_me:18198: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dmalloc_dmalloc_debug=yes + else +@@ -18157,7 +18206,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18160: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 ++echo "$as_me:18209: 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 <&5 ++echo "$as_me:18224: 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. +@@ -18194,7 +18243,7 @@ EOF + else + with_dbmalloc= + fi; +-echo "$as_me:18197: result: ${with_dbmalloc:-no}" >&5 ++echo "$as_me:18246: result: ${with_dbmalloc:-no}" >&5 + echo "${ECHO_T}${with_dbmalloc:-no}" >&6 + + case ".$with_cflags" in +@@ -18308,23 +18357,23 @@ fi + esac + + if test "$with_dbmalloc" = yes ; then +- echo "$as_me:18311: checking for dbmalloc.h" >&5 ++ echo "$as_me:18360: 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 18317 "configure" ++#line 18366 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:18321: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:18370: \"$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:18327: \$? = $ac_status" >&5 ++ echo "$as_me:18376: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -18343,11 +18392,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:18346: result: $ac_cv_header_dbmalloc_h" >&5 ++echo "$as_me:18395: 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:18350: checking for debug_malloc in -ldbmalloc" >&5 ++echo "$as_me:18399: 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 +@@ -18355,7 +18404,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldbmalloc $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18358 "configure" ++#line 18407 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18374,16 +18423,16 @@ debug_malloc (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18377: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18426: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18380: \$? = $ac_status" >&5 ++ echo "$as_me:18429: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18383: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18432: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18386: \$? = $ac_status" >&5 ++ echo "$as_me:18435: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dbmalloc_debug_malloc=yes + else +@@ -18394,7 +18443,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18397: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 ++echo "$as_me:18446: 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 <&5 ++echo "$as_me:18461: 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. +@@ -18431,7 +18480,7 @@ EOF + else + with_valgrind= + fi; +-echo "$as_me:18434: result: ${with_valgrind:-no}" >&5 ++echo "$as_me:18483: result: ${with_valgrind:-no}" >&5 + echo "${ECHO_T}${with_valgrind:-no}" >&6 + + case ".$with_cflags" in +@@ -18544,7 +18593,7 @@ fi + ;; + esac + +-echo "$as_me:18547: checking if you want to perform memory-leak testing" >&5 ++echo "$as_me:18596: 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 --enable-leaks or --disable-leaks was given. +@@ -18555,7 +18604,7 @@ else + enable_leaks=yes + fi; + if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi +-echo "$as_me:18558: result: $with_no_leaks" >&5 ++echo "$as_me:18607: result: $with_no_leaks" >&5 + echo "${ECHO_T}$with_no_leaks" >&6 + + if test "$enable_leaks" = no ; then +@@ -18607,7 +18656,7 @@ case "$CFLAGS $CPPFLAGS" in + ;; + esac + +-echo "$as_me:18610: checking whether to add trace feature to all models" >&5 ++echo "$as_me:18659: checking whether to add trace feature to all models" >&5 + echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 + + # Check whether --with-trace or --without-trace was given. +@@ -18617,7 +18666,7 @@ if test "${with_trace+set}" = set; then + else + cf_with_trace=$cf_all_traces + fi; +-echo "$as_me:18620: result: $cf_with_trace" >&5 ++echo "$as_me:18669: result: $cf_with_trace" >&5 + echo "${ECHO_T}$cf_with_trace" >&6 + + if test "x$cf_with_trace" = xyes ; then +@@ -18731,7 +18780,7 @@ else + ADA_TRACE=FALSE + fi + +-echo "$as_me:18734: checking if we want to use GNAT projects" >&5 ++echo "$as_me:18783: checking if we want to use GNAT projects" >&5 + echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 + + # Check whether --enable-gnat-projects or --disable-gnat-projects was given. +@@ -18748,7 +18797,7 @@ else + enable_gnat_projects=yes + + fi; +-echo "$as_me:18751: result: $enable_gnat_projects" >&5 ++echo "$as_me:18800: result: $enable_gnat_projects" >&5 + echo "${ECHO_T}$enable_gnat_projects" >&6 + + ### Checks for libraries. +@@ -18761,14 +18810,14 @@ case "$cf_cv_system_name" in + CPPFLAGS="$CPPFLAGS -DWINVER=0x0501 -DWIN32_LEAN_AND_MEAN" + fi + +-echo "$as_me:18764: checking if ssp library is needed" >&5 ++echo "$as_me:18813: checking if ssp library is needed" >&5 + echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6 + if test "${cf_cv_need_libssp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18771 "configure" ++#line 18820 "configure" + #include "confdefs.h" + + #include +@@ -18785,16 +18834,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18788: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18837: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18791: \$? = $ac_status" >&5 ++ echo "$as_me:18840: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18794: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18843: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18797: \$? = $ac_status" >&5 ++ echo "$as_me:18846: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=no + else +@@ -18804,7 +18853,7 @@ cat "conftest.$ac_ext" >&5 + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lssp" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18807 "configure" ++#line 18856 "configure" + #include "confdefs.h" + + #include +@@ -18821,16 +18870,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18824: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18873: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18827: \$? = $ac_status" >&5 ++ echo "$as_me:18876: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18830: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18879: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18833: \$? = $ac_status" >&5 ++ echo "$as_me:18882: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=yes + else +@@ -18844,7 +18893,7 @@ 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:18847: result: $cf_cv_need_libssp" >&5 ++echo "$as_me:18896: result: $cf_cv_need_libssp" >&5 + echo "${ECHO_T}$cf_cv_need_libssp" >&6 + + if test "x$cf_cv_need_libssp" = xyes +@@ -18870,13 +18919,13 @@ fi + + ;; + (*) +-echo "$as_me:18873: checking for gettimeofday" >&5 ++echo "$as_me:18922: checking for gettimeofday" >&5 + echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 + if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18879 "configure" ++#line 18928 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -18907,16 +18956,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18910: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18959: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18913: \$? = $ac_status" >&5 ++ echo "$as_me:18962: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18916: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18965: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18919: \$? = $ac_status" >&5 ++ echo "$as_me:18968: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -18926,7 +18975,7 @@ ac_cv_func_gettimeofday=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:18929: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:18978: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + +@@ -18936,7 +18985,7 @@ EOF + + else + +-echo "$as_me:18939: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:18988: checking for gettimeofday in -lbsd" >&5 + echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -18944,7 +18993,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18947 "configure" ++#line 18996 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18963,16 +19012,16 @@ gettimeofday (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18966: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19015: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18969: \$? = $ac_status" >&5 ++ echo "$as_me:19018: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18972: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19021: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18975: \$? = $ac_status" >&5 ++ echo "$as_me:19024: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -18983,7 +19032,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18986: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:19035: result: $ac_cv_lib_bsd_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 + if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +@@ -19013,14 +19062,14 @@ fi + ;; + esac + +-echo "$as_me:19016: checking if -lm needed for math functions" >&5 ++echo "$as_me:19065: 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 19023 "configure" ++#line 19072 "configure" + #include "confdefs.h" + + #include +@@ -19036,16 +19085,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19039: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19088: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19042: \$? = $ac_status" >&5 ++ echo "$as_me:19091: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19045: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19094: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19048: \$? = $ac_status" >&5 ++ echo "$as_me:19097: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libm=no + else +@@ -19055,7 +19104,7 @@ cf_cv_need_libm=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19058: result: $cf_cv_need_libm" >&5 ++echo "$as_me:19107: result: $cf_cv_need_libm" >&5 + echo "${ECHO_T}$cf_cv_need_libm" >&6 + + if test "$cf_cv_need_libm" = yes +@@ -19063,14 +19112,14 @@ then + + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lm" +- echo "$as_me:19066: checking if -lm is available for math functions" >&5 ++ echo "$as_me:19115: checking if -lm is available for math functions" >&5 + echo $ECHO_N "checking if -lm is available for math functions... $ECHO_C" >&6 + if test "${cf_cv_have_libm+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19073 "configure" ++#line 19122 "configure" + #include "confdefs.h" + + #include +@@ -19086,16 +19135,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19089: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19138: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19092: \$? = $ac_status" >&5 ++ echo "$as_me:19141: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19095: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19144: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19098: \$? = $ac_status" >&5 ++ echo "$as_me:19147: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_libm=yes + else +@@ -19105,7 +19154,7 @@ cf_cv_have_libm=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19108: result: $cf_cv_have_libm" >&5 ++echo "$as_me:19157: result: $cf_cv_have_libm" >&5 + echo "${ECHO_T}$cf_cv_have_libm" >&6 + LIBS="$cf_save_LIBS" + +@@ -19127,13 +19176,13 @@ EOF + fi + + ### Checks for header files. +-echo "$as_me:19130: checking for ANSI C header files" >&5 ++echo "$as_me:19179: 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 19136 "configure" ++#line 19185 "configure" + #include "confdefs.h" + #include + #include +@@ -19141,13 +19190,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:19144: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:19193: \"$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:19150: \$? = $ac_status" >&5 ++ echo "$as_me:19199: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -19169,7 +19218,7 @@ 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 19172 "configure" ++#line 19221 "configure" + #include "confdefs.h" + #include + +@@ -19187,7 +19236,7 @@ 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 19190 "configure" ++#line 19239 "configure" + #include "confdefs.h" + #include + +@@ -19208,7 +19257,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19211 "configure" ++#line 19260 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -19234,15 +19283,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:19237: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19286: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19240: \$? = $ac_status" >&5 ++ echo "$as_me:19289: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:19242: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19291: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19245: \$? = $ac_status" >&5 ++ echo "$as_me:19294: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -19255,7 +19304,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:19258: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:19307: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -19268,13 +19317,13 @@ 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:19271: checking for $ac_hdr that defines DIR" >&5 ++echo "$as_me:19320: 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 19277 "configure" ++#line 19326 "configure" + #include "confdefs.h" + #include + #include <$ac_hdr> +@@ -19289,16 +19338,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:19292: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:19341: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:19295: \$? = $ac_status" >&5 ++ echo "$as_me:19344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:19298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19301: \$? = $ac_status" >&5 ++ echo "$as_me:19350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -19308,7 +19357,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:19311: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:19360: 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 <&5 ++ echo "$as_me:19373: 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 +@@ -19329,7 +19378,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldir $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19332 "configure" ++#line 19381 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19348,16 +19397,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19351: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19400: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19354: \$? = $ac_status" >&5 ++ echo "$as_me:19403: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19357: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19406: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19360: \$? = $ac_status" >&5 ++ echo "$as_me:19409: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dir_opendir=yes + else +@@ -19368,14 +19417,14 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19371: result: $ac_cv_lib_dir_opendir" >&5 ++echo "$as_me:19420: 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:19378: checking for opendir in -lx" >&5 ++ echo "$as_me:19427: 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 +@@ -19383,7 +19432,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19386 "configure" ++#line 19435 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19402,16 +19451,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19405: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19454: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19408: \$? = $ac_status" >&5 ++ echo "$as_me:19457: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19411: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19460: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19414: \$? = $ac_status" >&5 ++ echo "$as_me:19463: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_x_opendir=yes + else +@@ -19422,7 +19471,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19425: result: $ac_cv_lib_x_opendir" >&5 ++echo "$as_me:19474: 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" +@@ -19430,13 +19479,13 @@ fi + + fi + +-echo "$as_me:19433: checking whether time.h and sys/time.h may both be included" >&5 ++echo "$as_me:19482: 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 19439 "configure" ++#line 19488 "configure" + #include "confdefs.h" + #include + #include +@@ -19452,16 +19501,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:19455: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:19504: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:19458: \$? = $ac_status" >&5 ++ echo "$as_me:19507: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:19461: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19510: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19464: \$? = $ac_status" >&5 ++ echo "$as_me:19513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_header_time=yes + else +@@ -19471,7 +19520,7 @@ ac_cv_header_time=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:19474: result: $ac_cv_header_time" >&5 ++echo "$as_me:19523: result: $ac_cv_header_time" >&5 + echo "${ECHO_T}$ac_cv_header_time" >&6 + if test $ac_cv_header_time = yes; then + +@@ -19486,7 +19535,7 @@ cf_regex_libs= + case "$host_os" in + (mingw*) + # -lsystre -ltre -lintl -liconv +- echo "$as_me:19489: checking for regcomp in -lsystre" >&5 ++ echo "$as_me:19538: checking for regcomp in -lsystre" >&5 + echo $ECHO_N "checking for regcomp in -lsystre... $ECHO_C" >&6 + if test "${ac_cv_lib_systre_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19494,7 +19543,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsystre $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19497 "configure" ++#line 19546 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19513,16 +19562,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19516: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19565: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19519: \$? = $ac_status" >&5 ++ echo "$as_me:19568: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19522: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19571: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19525: \$? = $ac_status" >&5 ++ echo "$as_me:19574: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_systre_regcomp=yes + else +@@ -19533,11 +19582,11 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19536: result: $ac_cv_lib_systre_regcomp" >&5 ++echo "$as_me:19585: result: $ac_cv_lib_systre_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_systre_regcomp" >&6 + if test "$ac_cv_lib_systre_regcomp" = yes; then + +- echo "$as_me:19540: checking for libiconv_open in -liconv" >&5 ++ echo "$as_me:19589: checking for libiconv_open in -liconv" >&5 + echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6 + if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19545,7 +19594,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-liconv $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19548 "configure" ++#line 19597 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19564,16 +19613,16 @@ libiconv_open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19567: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19616: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19570: \$? = $ac_status" >&5 ++ echo "$as_me:19619: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19573: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19622: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19576: \$? = $ac_status" >&5 ++ echo "$as_me:19625: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_iconv_libiconv_open=yes + else +@@ -19584,7 +19633,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19587: result: $ac_cv_lib_iconv_libiconv_open" >&5 ++echo "$as_me:19636: result: $ac_cv_lib_iconv_libiconv_open" >&5 + echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6 + if test "$ac_cv_lib_iconv_libiconv_open" = yes; then + +@@ -19606,7 +19655,7 @@ LIBS="$cf_add_libs" + + fi + +- echo "$as_me:19609: checking for libintl_gettext in -lintl" >&5 ++ echo "$as_me:19658: checking for libintl_gettext in -lintl" >&5 + echo $ECHO_N "checking for libintl_gettext in -lintl... $ECHO_C" >&6 + if test "${ac_cv_lib_intl_libintl_gettext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19614,7 +19663,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lintl $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19617 "configure" ++#line 19666 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19633,16 +19682,16 @@ libintl_gettext (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19636: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19685: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19639: \$? = $ac_status" >&5 ++ echo "$as_me:19688: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19642: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19691: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19645: \$? = $ac_status" >&5 ++ echo "$as_me:19694: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_intl_libintl_gettext=yes + else +@@ -19653,7 +19702,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19656: result: $ac_cv_lib_intl_libintl_gettext" >&5 ++echo "$as_me:19705: result: $ac_cv_lib_intl_libintl_gettext" >&5 + echo "${ECHO_T}$ac_cv_lib_intl_libintl_gettext" >&6 + if test "$ac_cv_lib_intl_libintl_gettext" = yes; then + +@@ -19675,7 +19724,7 @@ LIBS="$cf_add_libs" + + fi + +- echo "$as_me:19678: checking for tre_regcomp in -ltre" >&5 ++ echo "$as_me:19727: checking for tre_regcomp in -ltre" >&5 + echo $ECHO_N "checking for tre_regcomp in -ltre... $ECHO_C" >&6 + if test "${ac_cv_lib_tre_tre_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19683,7 +19732,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ltre $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19686 "configure" ++#line 19735 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19702,16 +19751,16 @@ tre_regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19705: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19754: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19708: \$? = $ac_status" >&5 ++ echo "$as_me:19757: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19711: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19760: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19714: \$? = $ac_status" >&5 ++ echo "$as_me:19763: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_tre_tre_regcomp=yes + else +@@ -19722,7 +19771,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19725: result: $ac_cv_lib_tre_tre_regcomp" >&5 ++echo "$as_me:19774: result: $ac_cv_lib_tre_tre_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_tre_tre_regcomp" >&6 + if test "$ac_cv_lib_tre_tre_regcomp" = yes; then + +@@ -19764,7 +19813,7 @@ LIBS="$cf_add_libs" + + else + +- echo "$as_me:19767: checking for regcomp in -lgnurx" >&5 ++ echo "$as_me:19816: checking for regcomp in -lgnurx" >&5 + echo $ECHO_N "checking for regcomp in -lgnurx... $ECHO_C" >&6 + if test "${ac_cv_lib_gnurx_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19772,7 +19821,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgnurx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19775 "configure" ++#line 19824 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19791,16 +19840,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19794: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19843: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19797: \$? = $ac_status" >&5 ++ echo "$as_me:19846: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19800: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19849: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19803: \$? = $ac_status" >&5 ++ echo "$as_me:19852: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gnurx_regcomp=yes + else +@@ -19811,7 +19860,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19814: result: $ac_cv_lib_gnurx_regcomp" >&5 ++echo "$as_me:19863: result: $ac_cv_lib_gnurx_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_gnurx_regcomp" >&6 + if test "$ac_cv_lib_gnurx_regcomp" = yes; then + +@@ -19839,13 +19888,13 @@ fi + ;; + (*) + cf_regex_libs="regex re" +- echo "$as_me:19842: checking for regcomp" >&5 ++ echo "$as_me:19891: checking for regcomp" >&5 + echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 + if test "${ac_cv_func_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19848 "configure" ++#line 19897 "configure" + #include "confdefs.h" + #define regcomp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -19876,16 +19925,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19879: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19928: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19882: \$? = $ac_status" >&5 ++ echo "$as_me:19931: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19885: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19934: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19888: \$? = $ac_status" >&5 ++ echo "$as_me:19937: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_regcomp=yes + else +@@ -19895,7 +19944,7 @@ ac_cv_func_regcomp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19898: result: $ac_cv_func_regcomp" >&5 ++echo "$as_me:19947: result: $ac_cv_func_regcomp" >&5 + echo "${ECHO_T}$ac_cv_func_regcomp" >&6 + if test "$ac_cv_func_regcomp" = yes; then + cf_regex_func=regcomp +@@ -19904,7 +19953,7 @@ else + for cf_regex_lib in $cf_regex_libs + do + as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh` +-echo "$as_me:19907: checking for regcomp in -l$cf_regex_lib" >&5 ++echo "$as_me:19956: checking for regcomp in -l$cf_regex_lib" >&5 + echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6 + if eval "test \"\${$as_ac_Lib+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19912,7 +19961,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-l$cf_regex_lib $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19915 "configure" ++#line 19964 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19931,16 +19980,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19934: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19983: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19937: \$? = $ac_status" >&5 ++ echo "$as_me:19986: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19940: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19989: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19943: \$? = $ac_status" >&5 ++ echo "$as_me:19992: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Lib=yes" + else +@@ -19951,7 +20000,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19954: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5 ++echo "$as_me:20003: 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 + +@@ -19983,13 +20032,13 @@ fi + esac + + if test "$cf_regex_func" = no ; then +- echo "$as_me:19986: checking for compile" >&5 ++ echo "$as_me:20035: checking for compile" >&5 + echo $ECHO_N "checking for compile... $ECHO_C" >&6 + if test "${ac_cv_func_compile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19992 "configure" ++#line 20041 "configure" + #include "confdefs.h" + #define compile autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20020,16 +20069,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20023: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20072: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20026: \$? = $ac_status" >&5 ++ echo "$as_me:20075: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20029: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20078: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20032: \$? = $ac_status" >&5 ++ echo "$as_me:20081: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_compile=yes + else +@@ -20039,13 +20088,13 @@ ac_cv_func_compile=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20042: result: $ac_cv_func_compile" >&5 ++echo "$as_me:20091: result: $ac_cv_func_compile" >&5 + echo "${ECHO_T}$ac_cv_func_compile" >&6 + if test "$ac_cv_func_compile" = yes; then + cf_regex_func=compile + else + +- echo "$as_me:20048: checking for compile in -lgen" >&5 ++ echo "$as_me:20097: checking for compile in -lgen" >&5 + echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6 + if test "${ac_cv_lib_gen_compile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20053,7 +20102,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgen $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20056 "configure" ++#line 20105 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -20072,16 +20121,16 @@ compile (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20075: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20124: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20078: \$? = $ac_status" >&5 ++ echo "$as_me:20127: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20081: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20130: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20084: \$? = $ac_status" >&5 ++ echo "$as_me:20133: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gen_compile=yes + else +@@ -20092,7 +20141,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:20095: result: $ac_cv_lib_gen_compile" >&5 ++echo "$as_me:20144: result: $ac_cv_lib_gen_compile" >&5 + echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6 + if test "$ac_cv_lib_gen_compile" = yes; then + +@@ -20120,11 +20169,11 @@ fi + fi + + if test "$cf_regex_func" = no ; then +- { echo "$as_me:20123: WARNING: cannot find regular expression library" >&5 ++ { echo "$as_me:20172: WARNING: cannot find regular expression library" >&5 + echo "$as_me: WARNING: cannot find regular expression library" >&2;} + fi + +-echo "$as_me:20127: checking for regular-expression headers" >&5 ++echo "$as_me:20176: checking for regular-expression headers" >&5 + echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6 + if test "${cf_cv_regex_hdrs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20136,7 +20185,7 @@ case "$cf_regex_func" in + for cf_regex_hdr in regexp.h regexpr.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20139 "configure" ++#line 20188 "configure" + #include "confdefs.h" + #include <$cf_regex_hdr> + int +@@ -20153,16 +20202,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20156: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20205: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20159: \$? = $ac_status" >&5 ++ echo "$as_me:20208: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20162: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20211: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20165: \$? = $ac_status" >&5 ++ echo "$as_me:20214: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_regex_hdrs=$cf_regex_hdr +@@ -20179,7 +20228,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + for cf_regex_hdr in regex.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20182 "configure" ++#line 20231 "configure" + #include "confdefs.h" + #include + #include <$cf_regex_hdr> +@@ -20199,16 +20248,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20202: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20251: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20205: \$? = $ac_status" >&5 ++ echo "$as_me:20254: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20208: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20257: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20211: \$? = $ac_status" >&5 ++ echo "$as_me:20260: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_regex_hdrs=$cf_regex_hdr +@@ -20224,11 +20273,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + esac + + fi +-echo "$as_me:20227: result: $cf_cv_regex_hdrs" >&5 ++echo "$as_me:20276: result: $cf_cv_regex_hdrs" >&5 + echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 + + case "$cf_cv_regex_hdrs" in +- (no) { echo "$as_me:20231: WARNING: no regular expression header found" >&5 ++ (no) { echo "$as_me:20280: WARNING: no regular expression header found" >&5 + echo "$as_me: WARNING: no regular expression header found" >&2;} ;; + (regex.h) + cat >>confdefs.h <<\EOF +@@ -20265,23 +20314,23 @@ wctype.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:20268: checking for $ac_header" >&5 ++echo "$as_me:20317: 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 20274 "configure" ++#line 20323 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20278: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20327: \"$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:20284: \$? = $ac_status" >&5 ++ echo "$as_me:20333: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20300,7 +20349,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20303: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20352: 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 <&5 ++echo "$as_me:20365: 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 20322 "configure" ++#line 20371 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20326: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20375: \"$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:20332: \$? = $ac_status" >&5 ++ echo "$as_me:20381: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20348,7 +20397,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20351: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20400: 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 <&5 ++echo "$as_me:20410: checking for header declaring getopt variables" >&5 + echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 + if test "${cf_cv_getopt_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20368,7 +20417,7 @@ cf_cv_getopt_header=none + for cf_header in stdio.h stdlib.h unistd.h getopt.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20371 "configure" ++#line 20420 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -20381,16 +20430,16 @@ int x = optind; char *y = optarg; (void)x; (void)y + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20384: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20433: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20387: \$? = $ac_status" >&5 ++ echo "$as_me:20436: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20390: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20439: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20393: \$? = $ac_status" >&5 ++ echo "$as_me:20442: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_getopt_header=$cf_header + break +@@ -20402,7 +20451,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:20405: result: $cf_cv_getopt_header" >&5 ++echo "$as_me:20454: result: $cf_cv_getopt_header" >&5 + echo "${ECHO_T}$cf_cv_getopt_header" >&6 + if test "$cf_cv_getopt_header" != none ; then + +@@ -20419,14 +20468,14 @@ EOF + + fi + +-echo "$as_me:20422: checking if external environ is declared" >&5 ++echo "$as_me:20471: checking if external environ is declared" >&5 + echo $ECHO_N "checking if external environ is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20429 "configure" ++#line 20478 "configure" + #include "confdefs.h" + + #ifdef HAVE_STDLIB_H +@@ -20442,16 +20491,16 @@ int x = (int) environ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20445: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20494: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20448: \$? = $ac_status" >&5 ++ echo "$as_me:20497: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20451: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20500: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20454: \$? = $ac_status" >&5 ++ echo "$as_me:20503: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_environ=yes + else +@@ -20462,7 +20511,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:20465: result: $cf_cv_dcl_environ" >&5 ++echo "$as_me:20514: result: $cf_cv_dcl_environ" >&5 + echo "${ECHO_T}$cf_cv_dcl_environ" >&6 + + if test "$cf_cv_dcl_environ" = no ; then +@@ -20477,14 +20526,14 @@ fi + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:20480: checking if external environ exists" >&5 ++echo "$as_me:20529: checking if external environ exists" >&5 + echo $ECHO_N "checking if external environ exists... $ECHO_C" >&6 + if test "${cf_cv_have_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20487 "configure" ++#line 20536 "configure" + #include "confdefs.h" + + #undef environ +@@ -20499,16 +20548,16 @@ environ = 2 + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20502: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20551: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20505: \$? = $ac_status" >&5 ++ echo "$as_me:20554: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20508: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20557: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20511: \$? = $ac_status" >&5 ++ echo "$as_me:20560: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_environ=yes + else +@@ -20519,7 +20568,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:20522: result: $cf_cv_have_environ" >&5 ++echo "$as_me:20571: result: $cf_cv_have_environ" >&5 + echo "${ECHO_T}$cf_cv_have_environ" >&6 + + if test "$cf_cv_have_environ" = yes ; then +@@ -20532,13 +20581,13 @@ EOF + + fi + +-echo "$as_me:20535: checking for getenv" >&5 ++echo "$as_me:20584: checking for getenv" >&5 + echo $ECHO_N "checking for getenv... $ECHO_C" >&6 + if test "${ac_cv_func_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20541 "configure" ++#line 20590 "configure" + #include "confdefs.h" + #define getenv autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20569,16 +20618,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20572: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20621: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20575: \$? = $ac_status" >&5 ++ echo "$as_me:20624: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20578: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20627: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20581: \$? = $ac_status" >&5 ++ echo "$as_me:20630: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_getenv=yes + else +@@ -20588,19 +20637,19 @@ ac_cv_func_getenv=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20591: result: $ac_cv_func_getenv" >&5 ++echo "$as_me:20640: result: $ac_cv_func_getenv" >&5 + echo "${ECHO_T}$ac_cv_func_getenv" >&6 + + for ac_func in putenv setenv strdup + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:20597: checking for $ac_func" >&5 ++echo "$as_me:20646: 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 20603 "configure" ++#line 20652 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20631,16 +20680,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20634: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20683: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20637: \$? = $ac_status" >&5 ++ echo "$as_me:20686: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20640: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20689: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20643: \$? = $ac_status" >&5 ++ echo "$as_me:20692: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -20650,7 +20699,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20653: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:20702: 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 <&5 ++echo "$as_me:20712: checking if getenv returns consistent values" >&5 + echo $ECHO_N "checking if getenv returns consistent values... $ECHO_C" >&6 + if test "${cf_cv_consistent_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20670,7 +20719,7 @@ if test "$cross_compiling" = yes; then + cf_cv_consistent_getenv=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20673 "configure" ++#line 20722 "configure" + #include "confdefs.h" + + #include +@@ -20779,15 +20828,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:20782: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20831: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20785: \$? = $ac_status" >&5 ++ echo "$as_me:20834: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:20787: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20836: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20790: \$? = $ac_status" >&5 ++ echo "$as_me:20839: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_consistent_getenv=yes + else +@@ -20800,7 +20849,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:20803: result: $cf_cv_consistent_getenv" >&5 ++echo "$as_me:20852: result: $cf_cv_consistent_getenv" >&5 + echo "${ECHO_T}$cf_cv_consistent_getenv" >&6 + + if test "x$cf_cv_consistent_getenv" = xno +@@ -20815,18 +20864,18 @@ fi + if test "x$cf_cv_consistent_getenv" = xno && \ + test "x$cf_with_trace" = xyes + then +- { echo "$as_me:20818: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 ++ { echo "$as_me:20867: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 + echo "$as_me: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&2;} + fi + +-echo "$as_me:20822: checking if sys/time.h works with sys/select.h" >&5 ++echo "$as_me:20871: checking if sys/time.h works with sys/select.h" >&5 + echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 + if test "${cf_cv_sys_time_select+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20829 "configure" ++#line 20878 "configure" + #include "confdefs.h" + + #include +@@ -20846,16 +20895,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20849: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20898: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20852: \$? = $ac_status" >&5 ++ echo "$as_me:20901: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20855: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20904: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20858: \$? = $ac_status" >&5 ++ echo "$as_me:20907: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sys_time_select=yes + else +@@ -20867,7 +20916,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:20870: result: $cf_cv_sys_time_select" >&5 ++echo "$as_me:20919: result: $cf_cv_sys_time_select" >&5 + echo "${ECHO_T}$cf_cv_sys_time_select" >&6 + test "$cf_cv_sys_time_select" = yes && + cat >>confdefs.h <<\EOF +@@ -20882,13 +20931,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:20885: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:20934: 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 20891 "configure" ++#line 20940 "configure" + #include "confdefs.h" + + int +@@ -20946,16 +20995,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20949: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20998: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20952: \$? = $ac_status" >&5 ++ echo "$as_me:21001: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20955: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21004: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20958: \$? = $ac_status" >&5 ++ echo "$as_me:21007: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -20965,7 +21014,7 @@ ac_cv_c_const=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:20968: result: $ac_cv_c_const" >&5 ++echo "$as_me:21017: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -20975,7 +21024,7 @@ EOF + + fi + +-echo "$as_me:20978: checking for inline" >&5 ++echo "$as_me:21027: 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 +@@ -20983,7 +21032,7 @@ else + ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20986 "configure" ++#line 21035 "configure" + #include "confdefs.h" + #ifndef __cplusplus + static $ac_kw int static_foo () {return 0; } +@@ -20992,16 +21041,16 @@ $ac_kw int foo () {return 0; } + + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20995: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21044: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20998: \$? = $ac_status" >&5 ++ echo "$as_me:21047: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21001: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21050: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21004: \$? = $ac_status" >&5 ++ echo "$as_me:21053: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_inline=$ac_kw; break + else +@@ -21012,7 +21061,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:21015: result: $ac_cv_c_inline" >&5 ++echo "$as_me:21064: result: $ac_cv_c_inline" >&5 + echo "${ECHO_T}$ac_cv_c_inline" >&6 + case $ac_cv_c_inline in + inline | yes) ;; +@@ -21038,7 +21087,7 @@ if test "$ac_cv_c_inline" != no ; then + : + elif test "$GCC" = yes + then +- echo "$as_me:21041: checking if $CC supports options to tune inlining" >&5 ++ echo "$as_me:21090: checking if $CC supports options to tune inlining" >&5 + echo $ECHO_N "checking if $CC supports options to tune inlining... $ECHO_C" >&6 + if test "${cf_cv_gcc_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21047,7 +21096,7 @@ else + cf_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS --param max-inline-insns-single=1200" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21050 "configure" ++#line 21099 "configure" + #include "confdefs.h" + inline int foo(void) { return 1; } + int +@@ -21059,16 +21108,16 @@ ${cf_cv_main_return:-return} foo() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21062: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21111: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21065: \$? = $ac_status" >&5 ++ echo "$as_me:21114: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21068: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21117: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21071: \$? = $ac_status" >&5 ++ echo "$as_me:21120: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gcc_inline=yes + else +@@ -21080,7 +21129,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CFLAGS=$cf_save_CFLAGS + + fi +-echo "$as_me:21083: result: $cf_cv_gcc_inline" >&5 ++echo "$as_me:21132: result: $cf_cv_gcc_inline" >&5 + echo "${ECHO_T}$cf_cv_gcc_inline" >&6 + if test "$cf_cv_gcc_inline" = yes ; then + +@@ -21186,7 +21235,7 @@ fi + fi + fi + +-echo "$as_me:21189: checking for signal global datatype" >&5 ++echo "$as_me:21238: checking for signal global datatype" >&5 + echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6 + if test "${cf_cv_sig_atomic_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21198,7 +21247,7 @@ else + "int" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21201 "configure" ++#line 21250 "configure" + #include "confdefs.h" + + #include +@@ -21222,16 +21271,16 @@ signal(SIGINT, handler); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21225: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21274: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21228: \$? = $ac_status" >&5 ++ echo "$as_me:21277: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21231: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21280: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21234: \$? = $ac_status" >&5 ++ echo "$as_me:21283: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sig_atomic_t=$cf_type + else +@@ -21245,7 +21294,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:21248: result: $cf_cv_sig_atomic_t" >&5 ++echo "$as_me:21297: result: $cf_cv_sig_atomic_t" >&5 + echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6 + test "$cf_cv_sig_atomic_t" != no && + cat >>confdefs.h <&5 ++echo "$as_me:21306: checking for type of chtype" >&5 + echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 + if test "${cf_cv_typeof_chtype+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21264,7 +21313,7 @@ else + cf_cv_typeof_chtype=long + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21267 "configure" ++#line 21316 "configure" + #include "confdefs.h" + + #define WANT_BITS 31 +@@ -21299,15 +21348,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21302: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21351: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21305: \$? = $ac_status" >&5 ++ echo "$as_me:21354: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21307: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21356: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21310: \$? = $ac_status" >&5 ++ echo "$as_me:21359: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_typeof_chtype=`cat cf_test.out` + else +@@ -21322,7 +21371,7 @@ fi + + fi + +-echo "$as_me:21325: result: $cf_cv_typeof_chtype" >&5 ++echo "$as_me:21374: result: $cf_cv_typeof_chtype" >&5 + echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:21386: checking if unsigned literals are legal" >&5 + echo $ECHO_N "checking if unsigned literals are legal... $ECHO_C" >&6 + if test "${cf_cv_unsigned_literals+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21344 "configure" ++#line 21393 "configure" + #include "confdefs.h" + + int +@@ -21353,16 +21402,16 @@ long x = 1L + 1UL + 1U + 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21356: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21405: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21359: \$? = $ac_status" >&5 ++ echo "$as_me:21408: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21362: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21411: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21365: \$? = $ac_status" >&5 ++ echo "$as_me:21414: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_unsigned_literals=yes + else +@@ -21374,7 +21423,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:21377: result: $cf_cv_unsigned_literals" >&5 ++echo "$as_me:21426: result: $cf_cv_unsigned_literals" >&5 + echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 + + cf_cv_1UL="1" +@@ -21390,14 +21439,14 @@ test "$cf_cv_typeof_mmask_t" = unsigned && cf_cv_typeof_mmask_t="" + + ### Checks for external-data + +-echo "$as_me:21393: checking if external errno is declared" >&5 ++echo "$as_me:21442: checking if external errno is declared" >&5 + echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21400 "configure" ++#line 21449 "configure" + #include "confdefs.h" + + #ifdef HAVE_STDLIB_H +@@ -21415,16 +21464,16 @@ int x = (int) errno; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21418: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21467: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21421: \$? = $ac_status" >&5 ++ echo "$as_me:21470: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21424: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21473: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21427: \$? = $ac_status" >&5 ++ echo "$as_me:21476: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_errno=yes + else +@@ -21435,7 +21484,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:21438: result: $cf_cv_dcl_errno" >&5 ++echo "$as_me:21487: result: $cf_cv_dcl_errno" >&5 + echo "${ECHO_T}$cf_cv_dcl_errno" >&6 + + if test "$cf_cv_dcl_errno" = no ; then +@@ -21450,14 +21499,14 @@ fi + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:21453: checking if external errno exists" >&5 ++echo "$as_me:21502: checking if external errno exists" >&5 + echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6 + if test "${cf_cv_have_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21460 "configure" ++#line 21509 "configure" + #include "confdefs.h" + + #undef errno +@@ -21472,16 +21521,16 @@ errno = 2 + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21475: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21524: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21478: \$? = $ac_status" >&5 ++ echo "$as_me:21527: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21481: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21530: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21484: \$? = $ac_status" >&5 ++ echo "$as_me:21533: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_errno=yes + else +@@ -21492,7 +21541,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21495: result: $cf_cv_have_errno" >&5 ++echo "$as_me:21544: result: $cf_cv_have_errno" >&5 + echo "${ECHO_T}$cf_cv_have_errno" >&6 + + if test "$cf_cv_have_errno" = yes ; then +@@ -21505,7 +21554,7 @@ EOF + + fi + +-echo "$as_me:21508: checking if data-only library module links" >&5 ++echo "$as_me:21557: checking if data-only library module links" >&5 + echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 + if test "${cf_cv_link_dataonly+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21513,20 +21562,20 @@ else + + rm -f conftest.a + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:21568: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21522: \$? = $ac_status" >&5 ++ echo "$as_me:21571: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + mv conftest.o data.o && \ + ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null + fi + rm -f conftest.$ac_ext data.o + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:21591: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21545: \$? = $ac_status" >&5 ++ echo "$as_me:21594: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -21555,7 +21604,7 @@ EOF + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21558 "configure" ++#line 21607 "configure" + #include "confdefs.h" + + int main(void) +@@ -21566,15 +21615,15 @@ else + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21569: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21618: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21572: \$? = $ac_status" >&5 ++ echo "$as_me:21621: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21574: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21623: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21577: \$? = $ac_status" >&5 ++ echo "$as_me:21626: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -21589,7 +21638,7 @@ fi + + fi + +-echo "$as_me:21592: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:21641: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -21633,13 +21682,13 @@ vsnprintf \ + + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:21636: checking for $ac_func" >&5 ++echo "$as_me:21685: 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 21642 "configure" ++#line 21691 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -21670,16 +21719,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21673: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21722: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21676: \$? = $ac_status" >&5 ++ echo "$as_me:21725: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21679: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21728: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21682: \$? = $ac_status" >&5 ++ echo "$as_me:21731: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -21689,7 +21738,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:21692: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:21741: 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 <&5 ++echo "$as_me:21751: checking if _PATH_TTYS is defined in ttyent.h" >&5 + echo $ECHO_N "checking if _PATH_TTYS is defined in ttyent.h... $ECHO_C" >&6 + if test "${cf_cv_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21709 "configure" ++#line 21758 "configure" + #include "confdefs.h" + + #include +@@ -21721,16 +21770,16 @@ FILE *fp = fopen(_PATH_TTYS, "r"); (void)fp + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21724: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21773: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21727: \$? = $ac_status" >&5 ++ echo "$as_me:21776: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21730: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21779: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21733: \$? = $ac_status" >&5 ++ echo "$as_me:21782: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_PATH_TTYS=yes + else +@@ -21740,7 +21789,7 @@ cf_cv_PATH_TTYS=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:21743: result: $cf_cv_PATH_TTYS" >&5 ++echo "$as_me:21792: result: $cf_cv_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_PATH_TTYS" >&6 + + if test $cf_cv_PATH_TTYS = no +@@ -21762,7 +21811,7 @@ fi + + if test $cf_cv_PATH_TTYS != no + then +- echo "$as_me:21765: checking if _PATH_TTYS file exists" >&5 ++ echo "$as_me:21814: checking if _PATH_TTYS file exists" >&5 + echo $ECHO_N "checking if _PATH_TTYS file exists... $ECHO_C" >&6 + if test "${cf_cv_have_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21772,7 +21821,7 @@ else + cf_cv_have_PATH_TTYS=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21775 "configure" ++#line 21824 "configure" + #include "confdefs.h" + + #include +@@ -21783,15 +21832,15 @@ int main(void) { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21786: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21835: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21789: \$? = $ac_status" >&5 ++ echo "$as_me:21838: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21791: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21840: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21794: \$? = $ac_status" >&5 ++ echo "$as_me:21843: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_PATH_TTYS=yes + else +@@ -21803,7 +21852,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:21806: result: $cf_cv_have_PATH_TTYS" >&5 ++echo "$as_me:21855: result: $cf_cv_have_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_have_PATH_TTYS" >&6 + test "$cf_cv_have_PATH_TTYS" = no && cf_cv_PATH_TTYS=no + fi +@@ -21815,14 +21864,14 @@ cat >>confdefs.h <<\EOF + #define HAVE_PATH_TTYS 1 + EOF + +- echo "$as_me:21818: checking for getttynam" >&5 ++ echo "$as_me:21867: checking for getttynam" >&5 + echo $ECHO_N "checking for getttynam... $ECHO_C" >&6 + if test "${cf_cv_func_getttynam+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21825 "configure" ++#line 21874 "configure" + #include "confdefs.h" + #include + int +@@ -21834,16 +21883,16 @@ struct ttyent *fp = getttynam("/dev/tty"); (void)fp + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21837: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21886: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21840: \$? = $ac_status" >&5 ++ echo "$as_me:21889: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21843: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21892: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21846: \$? = $ac_status" >&5 ++ echo "$as_me:21895: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_getttynam=yes + else +@@ -21853,7 +21902,7 @@ cf_cv_func_getttynam=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:21856: result: $cf_cv_func_getttynam" >&5 ++echo "$as_me:21905: result: $cf_cv_func_getttynam" >&5 + echo "${ECHO_T}$cf_cv_func_getttynam" >&6 + test "$cf_cv_func_getttynam" = yes && cat >>confdefs.h <<\EOF + #define HAVE_GETTTYNAM 1 +@@ -21863,7 +21912,7 @@ fi + + if test "x$ac_cv_func_getopt" = xno && \ + test "x$cf_with_progs$cf_with_tests" != xnono; then +- { { echo "$as_me:21866: error: getopt is required for building programs" >&5 ++ { { echo "$as_me:21915: error: getopt is required for building programs" >&5 + echo "$as_me: error: getopt is required for building programs" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -21872,7 +21921,7 @@ if test "x$with_safe_sprintf" = xyes + then + if test "x$ac_cv_func_vsnprintf" = xyes + then +- { echo "$as_me:21875: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 ++ { echo "$as_me:21924: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 + echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;} + else + +@@ -21885,14 +21934,14 @@ fi + + if test "x$with_getcap" = "xyes" ; then + +-echo "$as_me:21888: checking for terminal-capability database functions" >&5 ++echo "$as_me:21937: checking for terminal-capability database functions" >&5 + echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6 + if test "${cf_cv_cgetent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21895 "configure" ++#line 21944 "configure" + #include "confdefs.h" + + #include +@@ -21912,16 +21961,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21915: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21964: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21918: \$? = $ac_status" >&5 ++ echo "$as_me:21967: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21921: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21970: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21924: \$? = $ac_status" >&5 ++ echo "$as_me:21973: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent=yes + else +@@ -21932,7 +21981,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21935: result: $cf_cv_cgetent" >&5 ++echo "$as_me:21984: result: $cf_cv_cgetent" >&5 + echo "${ECHO_T}$cf_cv_cgetent" >&6 + + if test "$cf_cv_cgetent" = yes +@@ -21942,14 +21991,14 @@ cat >>confdefs.h <<\EOF + #define HAVE_BSD_CGETENT 1 + EOF + +-echo "$as_me:21945: checking if cgetent uses const parameter" >&5 ++echo "$as_me:21994: checking if cgetent uses const parameter" >&5 + echo $ECHO_N "checking if cgetent uses const parameter... $ECHO_C" >&6 + if test "${cf_cv_cgetent_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21952 "configure" ++#line 22001 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers" +@@ -21972,16 +22021,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21975: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22024: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21978: \$? = $ac_status" >&5 ++ echo "$as_me:22027: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21981: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22030: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21984: \$? = $ac_status" >&5 ++ echo "$as_me:22033: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent_const=yes + else +@@ -21992,7 +22041,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21995: result: $cf_cv_cgetent_const" >&5 ++echo "$as_me:22044: result: $cf_cv_cgetent_const" >&5 + echo "${ECHO_T}$cf_cv_cgetent_const" >&6 + if test "$cf_cv_cgetent_const" = yes + then +@@ -22006,14 +22055,14 @@ fi + + fi + +-echo "$as_me:22009: checking for isascii" >&5 ++echo "$as_me:22058: checking for isascii" >&5 + echo $ECHO_N "checking for isascii... $ECHO_C" >&6 + if test "${cf_cv_have_isascii+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22016 "configure" ++#line 22065 "configure" + #include "confdefs.h" + #include + int +@@ -22025,16 +22074,16 @@ int x = isascii(' ') + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22028: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22077: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22031: \$? = $ac_status" >&5 ++ echo "$as_me:22080: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22034: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22083: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22037: \$? = $ac_status" >&5 ++ echo "$as_me:22086: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_isascii=yes + else +@@ -22045,7 +22094,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:22048: result: $cf_cv_have_isascii" >&5 ++echo "$as_me:22097: result: $cf_cv_have_isascii" >&5 + echo "${ECHO_T}$cf_cv_have_isascii" >&6 + test "$cf_cv_have_isascii" = yes && + cat >>confdefs.h <<\EOF +@@ -22053,10 +22102,10 @@ cat >>confdefs.h <<\EOF + EOF + + if test "$ac_cv_func_sigaction" = yes; then +-echo "$as_me:22056: checking whether sigaction needs _POSIX_SOURCE" >&5 ++echo "$as_me:22105: checking whether sigaction needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether sigaction needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22059 "configure" ++#line 22108 "configure" + #include "confdefs.h" + + #include +@@ -22070,16 +22119,16 @@ struct sigaction act + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22073: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22122: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22076: \$? = $ac_status" >&5 ++ echo "$as_me:22125: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22079: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22128: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22082: \$? = $ac_status" >&5 ++ echo "$as_me:22131: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=no + else +@@ -22087,7 +22136,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22090 "configure" ++#line 22139 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22102,16 +22151,16 @@ struct sigaction act + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22105: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22154: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22108: \$? = $ac_status" >&5 ++ echo "$as_me:22157: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22111: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22160: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22114: \$? = $ac_status" >&5 ++ echo "$as_me:22163: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=yes + +@@ -22127,11 +22176,11 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-echo "$as_me:22130: result: $sigact_bad" >&5 ++echo "$as_me:22179: result: $sigact_bad" >&5 + echo "${ECHO_T}$sigact_bad" >&6 + fi + +-echo "$as_me:22134: checking if nanosleep really works" >&5 ++echo "$as_me:22183: checking if nanosleep really works" >&5 + echo $ECHO_N "checking if nanosleep really works... $ECHO_C" >&6 + if test "${cf_cv_func_nanosleep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22141,7 +22190,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_nanosleep=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22144 "configure" ++#line 22193 "configure" + #include "confdefs.h" + + #include +@@ -22166,15 +22215,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22169: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22218: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22172: \$? = $ac_status" >&5 ++ echo "$as_me:22221: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22174: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22223: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22177: \$? = $ac_status" >&5 ++ echo "$as_me:22226: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_nanosleep=yes + else +@@ -22186,7 +22235,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:22189: result: $cf_cv_func_nanosleep" >&5 ++echo "$as_me:22238: result: $cf_cv_func_nanosleep" >&5 + echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 + + test "$cf_cv_func_nanosleep" = "yes" && +@@ -22203,23 +22252,23 @@ sys/termio.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:22206: checking for $ac_header" >&5 ++echo "$as_me:22255: 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 22212 "configure" ++#line 22261 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:22216: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:22265: \"$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:22222: \$? = $ac_status" >&5 ++ echo "$as_me:22271: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -22238,7 +22287,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:22241: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:22290: 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 <&5 ++ echo "$as_me:22307: checking whether termios.h needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22261 "configure" ++#line 22310 "configure" + #include "confdefs.h" + #include + int +@@ -22270,16 +22319,16 @@ struct termios foo; int x = foo.c_iflag = 1; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22273: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22322: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22276: \$? = $ac_status" >&5 ++ echo "$as_me:22325: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22279: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22328: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22282: \$? = $ac_status" >&5 ++ echo "$as_me:22331: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=no + else +@@ -22287,7 +22336,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22290 "configure" ++#line 22339 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22301,16 +22350,16 @@ struct termios foo; int x = foo.c_iflag = 2; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22304: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22353: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22307: \$? = $ac_status" >&5 ++ echo "$as_me:22356: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22310: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22359: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22313: \$? = $ac_status" >&5 ++ echo "$as_me:22362: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=unknown + else +@@ -22326,19 +22375,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:22329: result: $termios_bad" >&5 ++ echo "$as_me:22378: result: $termios_bad" >&5 + echo "${ECHO_T}$termios_bad" >&6 + fi + fi + +-echo "$as_me:22334: checking for tcgetattr" >&5 ++echo "$as_me:22383: checking for tcgetattr" >&5 + echo $ECHO_N "checking for tcgetattr... $ECHO_C" >&6 + if test "${cf_cv_have_tcgetattr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22341 "configure" ++#line 22390 "configure" + #include "confdefs.h" + + #include +@@ -22366,16 +22415,16 @@ tcgetattr(1, &foo); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22369: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22418: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22372: \$? = $ac_status" >&5 ++ echo "$as_me:22421: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22375: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22424: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22378: \$? = $ac_status" >&5 ++ echo "$as_me:22427: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_tcgetattr=yes + else +@@ -22385,21 +22434,21 @@ cf_cv_have_tcgetattr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22388: result: $cf_cv_have_tcgetattr" >&5 ++echo "$as_me:22437: result: $cf_cv_have_tcgetattr" >&5 + echo "${ECHO_T}$cf_cv_have_tcgetattr" >&6 + test "$cf_cv_have_tcgetattr" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TCGETATTR 1 + EOF + +-echo "$as_me:22395: checking for vsscanf function or workaround" >&5 ++echo "$as_me:22444: checking for vsscanf function or workaround" >&5 + echo $ECHO_N "checking for vsscanf function or workaround... $ECHO_C" >&6 + if test "${cf_cv_func_vsscanf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22402 "configure" ++#line 22451 "configure" + #include "confdefs.h" + + #include +@@ -22415,16 +22464,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22418: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22467: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22421: \$? = $ac_status" >&5 ++ echo "$as_me:22470: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22424: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22473: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22427: \$? = $ac_status" >&5 ++ echo "$as_me:22476: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vsscanf + else +@@ -22432,7 +22481,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22435 "configure" ++#line 22484 "configure" + #include "confdefs.h" + + #include +@@ -22454,16 +22503,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22457: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22506: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22460: \$? = $ac_status" >&5 ++ echo "$as_me:22509: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22463: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22512: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22466: \$? = $ac_status" >&5 ++ echo "$as_me:22515: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vfscanf + else +@@ -22471,7 +22520,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22474 "configure" ++#line 22523 "configure" + #include "confdefs.h" + + #include +@@ -22493,16 +22542,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22496: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22545: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22499: \$? = $ac_status" >&5 ++ echo "$as_me:22548: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22502: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22551: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22505: \$? = $ac_status" >&5 ++ echo "$as_me:22554: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=_doscan + else +@@ -22517,7 +22566,7 @@ 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:22520: result: $cf_cv_func_vsscanf" >&5 ++echo "$as_me:22569: result: $cf_cv_func_vsscanf" >&5 + echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 + + case "$cf_cv_func_vsscanf" in +@@ -22543,23 +22592,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:22546: checking for $ac_header" >&5 ++echo "$as_me:22595: 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 22552 "configure" ++#line 22601 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:22556: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:22605: \"$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:22562: \$? = $ac_status" >&5 ++ echo "$as_me:22611: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -22578,7 +22627,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:22581: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:22630: 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 <&5 ++echo "$as_me:22640: checking for working mkstemp" >&5 + echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 + if test "${cf_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22599,7 +22648,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22602 "configure" ++#line 22651 "configure" + #include "confdefs.h" + + #include +@@ -22640,15 +22689,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22643: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22692: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22646: \$? = $ac_status" >&5 ++ echo "$as_me:22695: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22648: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22697: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22651: \$? = $ac_status" >&5 ++ echo "$as_me:22700: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -22663,16 +22712,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:22666: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:22715: result: $cf_cv_func_mkstemp" >&5 + echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 + if test "x$cf_cv_func_mkstemp" = xmaybe ; then +- echo "$as_me:22669: checking for mkstemp" >&5 ++ echo "$as_me:22718: checking for mkstemp" >&5 + echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 + if test "${ac_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22675 "configure" ++#line 22724 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -22703,16 +22752,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22706: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22755: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22709: \$? = $ac_status" >&5 ++ echo "$as_me:22758: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22712: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22761: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22715: \$? = $ac_status" >&5 ++ echo "$as_me:22764: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -22722,7 +22771,7 @@ ac_cv_func_mkstemp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22725: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:22774: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -22743,21 +22792,21 @@ else + fi + + if test "x$cross_compiling" = xyes ; then +- { echo "$as_me:22746: WARNING: cross compiling: assume setvbuf params not reversed" >&5 ++ { echo "$as_me:22795: WARNING: cross compiling: assume setvbuf params not reversed" >&5 + echo "$as_me: WARNING: cross compiling: assume setvbuf params not reversed" >&2;} + else +- echo "$as_me:22749: checking whether setvbuf arguments are reversed" >&5 ++ echo "$as_me:22798: checking whether setvbuf arguments are reversed" >&5 + echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6 + if test "${ac_cv_func_setvbuf_reversed+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:22755: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:22804: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22760 "configure" ++#line 22809 "configure" + #include "confdefs.h" + #include + /* If setvbuf has the reversed format, exit 0. */ +@@ -22774,15 +22823,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22777: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22826: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22780: \$? = $ac_status" >&5 ++ echo "$as_me:22829: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22782: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22831: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22785: \$? = $ac_status" >&5 ++ echo "$as_me:22834: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_setvbuf_reversed=yes + else +@@ -22795,7 +22844,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + rm -f core ./core.* ./*.core + fi +-echo "$as_me:22798: result: $ac_cv_func_setvbuf_reversed" >&5 ++echo "$as_me:22847: result: $ac_cv_func_setvbuf_reversed" >&5 + echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6 + if test $ac_cv_func_setvbuf_reversed = yes; then + +@@ -22806,13 +22855,13 @@ EOF + fi + + fi +-echo "$as_me:22809: checking for intptr_t" >&5 ++echo "$as_me:22858: checking for intptr_t" >&5 + echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 + if test "${ac_cv_type_intptr_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22815 "configure" ++#line 22864 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -22827,16 +22876,16 @@ if (sizeof (intptr_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22830: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22879: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22833: \$? = $ac_status" >&5 ++ echo "$as_me:22882: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22836: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22885: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22839: \$? = $ac_status" >&5 ++ echo "$as_me:22888: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_intptr_t=yes + else +@@ -22846,7 +22895,7 @@ ac_cv_type_intptr_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:22849: result: $ac_cv_type_intptr_t" >&5 ++echo "$as_me:22898: result: $ac_cv_type_intptr_t" >&5 + echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 + if test "$ac_cv_type_intptr_t" = yes; then + : +@@ -22858,13 +22907,13 @@ EOF + + fi + +-echo "$as_me:22861: checking for ssize_t" >&5 ++echo "$as_me:22910: checking for ssize_t" >&5 + echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 + if test "${ac_cv_type_ssize_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22867 "configure" ++#line 22916 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -22879,16 +22928,16 @@ if (sizeof (ssize_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22882: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22931: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22885: \$? = $ac_status" >&5 ++ echo "$as_me:22934: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22888: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22937: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22891: \$? = $ac_status" >&5 ++ echo "$as_me:22940: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_ssize_t=yes + else +@@ -22898,7 +22947,7 @@ ac_cv_type_ssize_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:22901: result: $ac_cv_type_ssize_t" >&5 ++echo "$as_me:22950: result: $ac_cv_type_ssize_t" >&5 + echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 + if test "$ac_cv_type_ssize_t" = yes; then + : +@@ -22910,14 +22959,14 @@ EOF + + fi + +-echo "$as_me:22913: checking for type sigaction_t" >&5 ++echo "$as_me:22962: checking for type sigaction_t" >&5 + echo $ECHO_N "checking for type sigaction_t... $ECHO_C" >&6 + if test "${cf_cv_type_sigaction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22920 "configure" ++#line 22969 "configure" + #include "confdefs.h" + + #include +@@ -22930,16 +22979,16 @@ sigaction_t x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22933: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22982: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22936: \$? = $ac_status" >&5 ++ echo "$as_me:22985: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22939: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22988: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22942: \$? = $ac_status" >&5 ++ echo "$as_me:22991: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_sigaction=yes + else +@@ -22950,14 +22999,14 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "$as_me:22953: result: $cf_cv_type_sigaction" >&5 ++echo "$as_me:23002: result: $cf_cv_type_sigaction" >&5 + echo "${ECHO_T}$cf_cv_type_sigaction" >&6 + test "$cf_cv_type_sigaction" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TYPE_SIGACTION 1 + EOF + +-echo "$as_me:22960: checking declaration of size-change" >&5 ++echo "$as_me:23009: checking declaration of size-change" >&5 + echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 + if test "${cf_cv_sizechange+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22978,7 +23027,7 @@ do + + fi + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22981 "configure" ++#line 23030 "configure" + #include "confdefs.h" + #include + #ifdef HAVE_TERMIOS_H +@@ -23028,16 +23077,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23031: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23080: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23034: \$? = $ac_status" >&5 ++ echo "$as_me:23083: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23037: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23086: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23040: \$? = $ac_status" >&5 ++ echo "$as_me:23089: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sizechange=yes + else +@@ -23056,7 +23105,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:23059: result: $cf_cv_sizechange" >&5 ++echo "$as_me:23108: result: $cf_cv_sizechange" >&5 + echo "${ECHO_T}$cf_cv_sizechange" >&6 + if test "$cf_cv_sizechange" != no ; then + +@@ -23074,13 +23123,13 @@ EOF + esac + fi + +-echo "$as_me:23077: checking for memmove" >&5 ++echo "$as_me:23126: checking for memmove" >&5 + echo $ECHO_N "checking for memmove... $ECHO_C" >&6 + if test "${ac_cv_func_memmove+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23083 "configure" ++#line 23132 "configure" + #include "confdefs.h" + #define memmove autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23111,16 +23160,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23114: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23163: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23117: \$? = $ac_status" >&5 ++ echo "$as_me:23166: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23120: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23169: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23123: \$? = $ac_status" >&5 ++ echo "$as_me:23172: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_memmove=yes + else +@@ -23130,19 +23179,19 @@ ac_cv_func_memmove=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23133: result: $ac_cv_func_memmove" >&5 ++echo "$as_me:23182: result: $ac_cv_func_memmove" >&5 + echo "${ECHO_T}$ac_cv_func_memmove" >&6 + if test "$ac_cv_func_memmove" = yes; then + : + else + +-echo "$as_me:23139: checking for bcopy" >&5 ++echo "$as_me:23188: checking for bcopy" >&5 + echo $ECHO_N "checking for bcopy... $ECHO_C" >&6 + if test "${ac_cv_func_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23145 "configure" ++#line 23194 "configure" + #include "confdefs.h" + #define bcopy autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23173,16 +23222,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23176: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23225: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23179: \$? = $ac_status" >&5 ++ echo "$as_me:23228: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23182: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23231: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23185: \$? = $ac_status" >&5 ++ echo "$as_me:23234: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_bcopy=yes + else +@@ -23192,11 +23241,11 @@ ac_cv_func_bcopy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23195: result: $ac_cv_func_bcopy" >&5 ++echo "$as_me:23244: result: $ac_cv_func_bcopy" >&5 + echo "${ECHO_T}$ac_cv_func_bcopy" >&6 + if test "$ac_cv_func_bcopy" = yes; then + +- echo "$as_me:23199: checking if bcopy does overlapping moves" >&5 ++ echo "$as_me:23248: checking if bcopy does overlapping moves" >&5 + echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6 + if test "${cf_cv_good_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23206,7 +23255,7 @@ else + cf_cv_good_bcopy=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23209 "configure" ++#line 23258 "configure" + #include "confdefs.h" + + int main(void) { +@@ -23220,15 +23269,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23223: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23272: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23226: \$? = $ac_status" >&5 ++ echo "$as_me:23275: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23228: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23277: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23231: \$? = $ac_status" >&5 ++ echo "$as_me:23280: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_good_bcopy=yes + else +@@ -23241,7 +23290,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:23244: result: $cf_cv_good_bcopy" >&5 ++echo "$as_me:23293: result: $cf_cv_good_bcopy" >&5 + echo "${ECHO_T}$cf_cv_good_bcopy" >&6 + + else +@@ -23268,13 +23317,13 @@ tty >/dev/null 2>&1 || { + for ac_func in posix_openpt + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:23271: checking for $ac_func" >&5 ++echo "$as_me:23320: 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 23277 "configure" ++#line 23326 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23305,16 +23354,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23308: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23357: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23311: \$? = $ac_status" >&5 ++ echo "$as_me:23360: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23314: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23363: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23317: \$? = $ac_status" >&5 ++ echo "$as_me:23366: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -23324,7 +23373,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23327: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:23376: 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 <&5 ++echo "$as_me:23386: checking if poll really works" >&5 + echo $ECHO_N "checking if poll really works... $ECHO_C" >&6 + if test "${cf_cv_working_poll+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23344,7 +23393,7 @@ if test "$cross_compiling" = yes; then + cf_cv_working_poll=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23347 "configure" ++#line 23396 "configure" + #include "confdefs.h" + + #include +@@ -23396,15 +23445,15 @@ int main(void) { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23399: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23448: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23402: \$? = $ac_status" >&5 ++ echo "$as_me:23451: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23404: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23453: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23407: \$? = $ac_status" >&5 ++ echo "$as_me:23456: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_working_poll=yes + else +@@ -23416,21 +23465,21 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:23419: result: $cf_cv_working_poll" >&5 ++echo "$as_me:23468: result: $cf_cv_working_poll" >&5 + echo "${ECHO_T}$cf_cv_working_poll" >&6 + test "$cf_cv_working_poll" = "yes" && + cat >>confdefs.h <<\EOF + #define HAVE_WORKING_POLL 1 + EOF + +-echo "$as_me:23426: checking for va_copy" >&5 ++echo "$as_me:23475: checking for va_copy" >&5 + echo $ECHO_N "checking for va_copy... $ECHO_C" >&6 + if test "${cf_cv_have_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23433 "configure" ++#line 23482 "configure" + #include "confdefs.h" + + #include +@@ -23447,16 +23496,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23450: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23499: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23453: \$? = $ac_status" >&5 ++ echo "$as_me:23502: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23456: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23505: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23459: \$? = $ac_status" >&5 ++ echo "$as_me:23508: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_va_copy=yes + else +@@ -23466,7 +23515,7 @@ cf_cv_have_va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23469: result: $cf_cv_have_va_copy" >&5 ++echo "$as_me:23518: result: $cf_cv_have_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have_va_copy" >&6 + + if test "$cf_cv_have_va_copy" = yes; +@@ -23478,14 +23527,14 @@ EOF + + else # !cf_cv_have_va_copy + +-echo "$as_me:23481: checking for __va_copy" >&5 ++echo "$as_me:23530: checking for __va_copy" >&5 + echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23488 "configure" ++#line 23537 "configure" + #include "confdefs.h" + + #include +@@ -23502,16 +23551,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23505: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23554: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23508: \$? = $ac_status" >&5 ++ echo "$as_me:23557: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23511: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23560: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23514: \$? = $ac_status" >&5 ++ echo "$as_me:23563: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___va_copy=yes + else +@@ -23521,7 +23570,7 @@ cf_cv_have___va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23524: result: $cf_cv_have___va_copy" >&5 ++echo "$as_me:23573: result: $cf_cv_have___va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___va_copy" >&6 + + if test "$cf_cv_have___va_copy" = yes +@@ -23533,14 +23582,14 @@ EOF + + else # !cf_cv_have___va_copy + +-echo "$as_me:23536: checking for __builtin_va_copy" >&5 ++echo "$as_me:23585: checking for __builtin_va_copy" >&5 + echo $ECHO_N "checking for __builtin_va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___builtin_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23543 "configure" ++#line 23592 "configure" + #include "confdefs.h" + + #include +@@ -23557,16 +23606,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23560: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23609: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23563: \$? = $ac_status" >&5 ++ echo "$as_me:23612: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23566: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23615: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23569: \$? = $ac_status" >&5 ++ echo "$as_me:23618: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___builtin_va_copy=yes + else +@@ -23576,7 +23625,7 @@ cf_cv_have___builtin_va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23579: result: $cf_cv_have___builtin_va_copy" >&5 ++echo "$as_me:23628: result: $cf_cv_have___builtin_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___builtin_va_copy" >&6 + + test "$cf_cv_have___builtin_va_copy" = yes && +@@ -23594,14 +23643,14 @@ case "${cf_cv_have_va_copy}${cf_cv_have___va_copy}${cf_cv_have___builtin_va_copy + ;; + + (*) +- echo "$as_me:23597: checking if we can simply copy va_list" >&5 ++ echo "$as_me:23646: checking if we can simply copy va_list" >&5 + echo $ECHO_N "checking if we can simply copy va_list... $ECHO_C" >&6 + if test "${cf_cv_pointer_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23604 "configure" ++#line 23653 "configure" + #include "confdefs.h" + + #include +@@ -23618,16 +23667,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23621: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23670: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23624: \$? = $ac_status" >&5 ++ echo "$as_me:23673: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23627: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23676: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23630: \$? = $ac_status" >&5 ++ echo "$as_me:23679: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_pointer_va_list=yes + else +@@ -23637,19 +23686,19 @@ cf_cv_pointer_va_list=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23640: result: $cf_cv_pointer_va_list" >&5 ++echo "$as_me:23689: result: $cf_cv_pointer_va_list" >&5 + echo "${ECHO_T}$cf_cv_pointer_va_list" >&6 + + if test "$cf_cv_pointer_va_list" = no + then +- echo "$as_me:23645: checking if we can copy va_list indirectly" >&5 ++ echo "$as_me:23694: checking if we can copy va_list indirectly" >&5 + echo $ECHO_N "checking if we can copy va_list indirectly... $ECHO_C" >&6 + if test "${cf_cv_array_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23652 "configure" ++#line 23701 "configure" + #include "confdefs.h" + + #include +@@ -23666,16 +23715,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23669: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23718: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23672: \$? = $ac_status" >&5 ++ echo "$as_me:23721: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23675: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23724: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23678: \$? = $ac_status" >&5 ++ echo "$as_me:23727: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_array_va_list=yes + else +@@ -23685,7 +23734,7 @@ cf_cv_array_va_list=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23688: result: $cf_cv_array_va_list" >&5 ++echo "$as_me:23737: result: $cf_cv_array_va_list" >&5 + echo "${ECHO_T}$cf_cv_array_va_list" >&6 + test "$cf_cv_array_va_list" = yes && + cat >>confdefs.h <<\EOF +@@ -23696,13 +23745,13 @@ EOF + ;; + esac + +-echo "$as_me:23699: checking for pid_t" >&5 ++echo "$as_me:23748: checking for pid_t" >&5 + echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 + if test "${ac_cv_type_pid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23705 "configure" ++#line 23754 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -23717,16 +23766,16 @@ if (sizeof (pid_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23720: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23769: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23723: \$? = $ac_status" >&5 ++ echo "$as_me:23772: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23726: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23775: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23729: \$? = $ac_status" >&5 ++ echo "$as_me:23778: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_pid_t=yes + else +@@ -23736,7 +23785,7 @@ ac_cv_type_pid_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:23739: result: $ac_cv_type_pid_t" >&5 ++echo "$as_me:23788: result: $ac_cv_type_pid_t" >&5 + echo "${ECHO_T}$ac_cv_type_pid_t" >&6 + if test "$ac_cv_type_pid_t" = yes; then + : +@@ -23751,23 +23800,23 @@ fi + for ac_header in unistd.h vfork.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:23754: checking for $ac_header" >&5 ++echo "$as_me:23803: 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 23760 "configure" ++#line 23809 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:23764: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:23813: \"$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:23770: \$? = $ac_status" >&5 ++ echo "$as_me:23819: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -23786,7 +23835,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:23789: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:23838: 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 <&5 ++echo "$as_me:23851: 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 23808 "configure" ++#line 23857 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23836,16 +23885,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23839: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23888: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23842: \$? = $ac_status" >&5 ++ echo "$as_me:23891: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23845: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23894: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23848: \$? = $ac_status" >&5 ++ echo "$as_me:23897: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -23855,7 +23904,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23858: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:23907: 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 <&5 ++ echo "$as_me:23919: checking for working fork" >&5 + echo $ECHO_N "checking for working fork... $ECHO_C" >&6 + if test "${ac_cv_func_fork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23890,15 +23939,15 @@ else + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23893: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23942: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23896: \$? = $ac_status" >&5 ++ echo "$as_me:23945: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23898: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23947: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23901: \$? = $ac_status" >&5 ++ echo "$as_me:23950: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fork_works=yes + else +@@ -23910,7 +23959,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:23913: result: $ac_cv_func_fork_works" >&5 ++echo "$as_me:23962: result: $ac_cv_func_fork_works" >&5 + echo "${ECHO_T}$ac_cv_func_fork_works" >&6 + + fi +@@ -23924,12 +23973,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_fork_works=yes + ;; + esac +- { echo "$as_me:23927: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:23976: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} + fi + ac_cv_func_vfork_works=$ac_cv_func_vfork + if test "x$ac_cv_func_vfork" = xyes; then +- echo "$as_me:23932: checking for working vfork" >&5 ++ echo "$as_me:23981: checking for working vfork" >&5 + echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 + if test "${ac_cv_func_vfork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23938,7 +23987,7 @@ else + ac_cv_func_vfork_works=cross + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23941 "configure" ++#line 23990 "configure" + #include "confdefs.h" + /* Thanks to Paul Eggert for this test. */ + #include +@@ -24035,15 +24084,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24038: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24087: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24041: \$? = $ac_status" >&5 ++ echo "$as_me:24090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24043: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24092: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24046: \$? = $ac_status" >&5 ++ echo "$as_me:24095: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_vfork_works=yes + else +@@ -24055,13 +24104,13 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:24058: result: $ac_cv_func_vfork_works" >&5 ++echo "$as_me:24107: result: $ac_cv_func_vfork_works" >&5 + echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 + + fi; + if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_vfork_works=ac_cv_func_vfork +- { echo "$as_me:24064: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:24113: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} + fi + +@@ -24086,7 +24135,7 @@ EOF + + fi + +-echo "$as_me:24089: checking if fopen accepts explicit binary mode" >&5 ++echo "$as_me:24138: checking if fopen accepts explicit binary mode" >&5 + echo $ECHO_N "checking if fopen accepts explicit binary mode... $ECHO_C" >&6 + if test "${cf_cv_fopen_bin_r+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24096,7 +24145,7 @@ else + cf_cv_fopen_bin_r=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24099 "configure" ++#line 24148 "configure" + #include "confdefs.h" + + #include +@@ -24129,15 +24178,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24132: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24181: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24135: \$? = $ac_status" >&5 ++ echo "$as_me:24184: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24137: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24186: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24140: \$? = $ac_status" >&5 ++ echo "$as_me:24189: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fopen_bin_r=yes + else +@@ -24150,7 +24199,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:24153: result: $cf_cv_fopen_bin_r" >&5 ++echo "$as_me:24202: result: $cf_cv_fopen_bin_r" >&5 + echo "${ECHO_T}$cf_cv_fopen_bin_r" >&6 + test "x$cf_cv_fopen_bin_r" != xno && + cat >>confdefs.h <<\EOF +@@ -24159,7 +24208,7 @@ EOF + + # special check for test/ditto.c + +-echo "$as_me:24162: checking for openpty in -lutil" >&5 ++echo "$as_me:24211: checking for openpty in -lutil" >&5 + echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 + if test "${ac_cv_lib_util_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24167,7 +24216,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lutil $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24170 "configure" ++#line 24219 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -24186,16 +24235,16 @@ openpty (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24189: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24238: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24192: \$? = $ac_status" >&5 ++ echo "$as_me:24241: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24195: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24244: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24198: \$? = $ac_status" >&5 ++ echo "$as_me:24247: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_util_openpty=yes + else +@@ -24206,7 +24255,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:24209: result: $ac_cv_lib_util_openpty" >&5 ++echo "$as_me:24258: result: $ac_cv_lib_util_openpty" >&5 + echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 + if test "$ac_cv_lib_util_openpty" = yes; then + cf_cv_lib_util=yes +@@ -24214,7 +24263,7 @@ else + cf_cv_lib_util=no + fi + +-echo "$as_me:24217: checking for openpty header" >&5 ++echo "$as_me:24266: checking for openpty header" >&5 + echo $ECHO_N "checking for openpty header... $ECHO_C" >&6 + if test "${cf_cv_func_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24241,7 +24290,7 @@ LIBS="$cf_add_libs" + for cf_header in pty.h libutil.h util.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24244 "configure" ++#line 24293 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -24258,16 +24307,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24261: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24310: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24264: \$? = $ac_status" >&5 ++ echo "$as_me:24313: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24267: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24316: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24270: \$? = $ac_status" >&5 ++ echo "$as_me:24319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_func_openpty=$cf_header +@@ -24285,7 +24334,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" + + fi +-echo "$as_me:24288: result: $cf_cv_func_openpty" >&5 ++echo "$as_me:24337: result: $cf_cv_func_openpty" >&5 + echo "${ECHO_T}$cf_cv_func_openpty" >&6 + + if test "$cf_cv_func_openpty" != no ; then +@@ -24358,7 +24407,7 @@ if test -n "$with_hashed_db/include" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24361 "configure" ++#line 24410 "configure" + #include "confdefs.h" + #include + int +@@ -24370,16 +24419,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24373: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24422: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24376: \$? = $ac_status" >&5 ++ echo "$as_me:24425: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24379: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24428: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24382: \$? = $ac_status" >&5 ++ echo "$as_me:24431: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -24396,7 +24445,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:24399: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:24448: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -24432,7 +24481,7 @@ if test -n "$with_hashed_db/lib" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:24435: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:24484: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -24443,7 +24492,7 @@ fi + else + case "$with_hashed_db" in + (./*|../*|/*) +- { echo "$as_me:24446: WARNING: no such directory $with_hashed_db" >&5 ++ { echo "$as_me:24495: WARNING: no such directory $with_hashed_db" >&5 + echo "$as_me: WARNING: no such directory $with_hashed_db" >&2;} + ;; + (*) +@@ -24515,7 +24564,7 @@ if test -n "$cf_item" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24518 "configure" ++#line 24567 "configure" + #include "confdefs.h" + #include + int +@@ -24527,16 +24576,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24530: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24579: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24533: \$? = $ac_status" >&5 ++ echo "$as_me:24582: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24536: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24585: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24539: \$? = $ac_status" >&5 ++ echo "$as_me:24588: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -24553,7 +24602,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:24556: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:24605: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -24633,7 +24682,7 @@ if test -n "$cf_item" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:24636: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:24685: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -24650,23 +24699,23 @@ fi + fi + esac + +-echo "$as_me:24653: checking for db.h" >&5 ++echo "$as_me:24702: checking for db.h" >&5 + echo $ECHO_N "checking for db.h... $ECHO_C" >&6 + if test "${ac_cv_header_db_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24659 "configure" ++#line 24708 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:24663: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:24712: \"$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:24669: \$? = $ac_status" >&5 ++ echo "$as_me:24718: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -24685,11 +24734,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:24688: result: $ac_cv_header_db_h" >&5 ++echo "$as_me:24737: result: $ac_cv_header_db_h" >&5 + echo "${ECHO_T}$ac_cv_header_db_h" >&6 + if test "$ac_cv_header_db_h" = yes; then + +-echo "$as_me:24692: checking for version of db" >&5 ++echo "$as_me:24741: checking for version of db" >&5 + echo $ECHO_N "checking for version of db... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24700,10 +24749,10 @@ cf_cv_hashed_db_version=unknown + for cf_db_version in 1 2 3 4 5 6 + do + +-echo "${as_me:-configure}:24703: testing checking for db version $cf_db_version ..." 1>&5 ++echo "${as_me:-configure}:24752: testing checking for db version $cf_db_version ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24706 "configure" ++#line 24755 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24733,16 +24782,16 @@ DBT *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24736: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24785: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24739: \$? = $ac_status" >&5 ++ echo "$as_me:24788: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24742: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24791: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24745: \$? = $ac_status" >&5 ++ echo "$as_me:24794: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_hashed_db_version=$cf_db_version +@@ -24756,16 +24805,16 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:24759: result: $cf_cv_hashed_db_version" >&5 ++echo "$as_me:24808: result: $cf_cv_hashed_db_version" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_version" >&6 + + if test "$cf_cv_hashed_db_version" = unknown ; then +- { { echo "$as_me:24763: error: Cannot determine version of db" >&5 ++ { { echo "$as_me:24812: error: Cannot determine version of db" >&5 + echo "$as_me: error: Cannot determine version of db" >&2;} + { (exit 1); exit 1; }; } + else + +-echo "$as_me:24768: checking for db libraries" >&5 ++echo "$as_me:24817: checking for db libraries" >&5 + echo $ECHO_N "checking for db libraries... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24795,10 +24844,10 @@ LIBS="$cf_add_libs" + + fi + +-echo "${as_me:-configure}:24798: testing checking for library $cf_db_libs ..." 1>&5 ++echo "${as_me:-configure}:24847: testing checking for library $cf_db_libs ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24801 "configure" ++#line 24850 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24853,16 +24902,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24856: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24905: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24859: \$? = $ac_status" >&5 ++ echo "$as_me:24908: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24862: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24911: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24865: \$? = $ac_status" >&5 ++ echo "$as_me:24914: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + if test -n "$cf_db_libs" ; then +@@ -24882,11 +24931,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:24885: result: $cf_cv_hashed_db_libs" >&5 ++echo "$as_me:24934: result: $cf_cv_hashed_db_libs" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_libs" >&6 + + if test "$cf_cv_hashed_db_libs" = unknown ; then +- { { echo "$as_me:24889: error: Cannot determine library for db" >&5 ++ { { echo "$as_me:24938: error: Cannot determine library for db" >&5 + echo "$as_me: error: Cannot determine library for db" >&2;} + { (exit 1); exit 1; }; } + elif test "$cf_cv_hashed_db_libs" != default ; then +@@ -24912,7 +24961,7 @@ fi + + else + +- { { echo "$as_me:24915: error: Cannot find db.h" >&5 ++ { { echo "$as_me:24964: error: Cannot find db.h" >&5 + echo "$as_me: error: Cannot find db.h" >&2;} + { (exit 1); exit 1; }; } + +@@ -24927,7 +24976,7 @@ fi + + # Just in case, check if the C compiler has a bool type. + +-echo "$as_me:24930: checking if we should include stdbool.h" >&5 ++echo "$as_me:24979: checking if we should include stdbool.h" >&5 + echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 + + if test "${cf_cv_header_stdbool_h+set}" = set; then +@@ -24935,7 +24984,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24938 "configure" ++#line 24987 "configure" + #include "confdefs.h" + + int +@@ -24947,23 +24996,23 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24950: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24999: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24953: \$? = $ac_status" >&5 ++ echo "$as_me:25002: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24956: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25005: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24959: \$? = $ac_status" >&5 ++ echo "$as_me:25008: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=0 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24966 "configure" ++#line 25015 "configure" + #include "confdefs.h" + + #ifndef __BEOS__ +@@ -24979,16 +25028,16 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24982: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25031: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24985: \$? = $ac_status" >&5 ++ echo "$as_me:25034: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24988: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25037: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24991: \$? = $ac_status" >&5 ++ echo "$as_me:25040: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=1 + else +@@ -25002,13 +25051,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:25005: result: yes" >&5 ++then echo "$as_me:25054: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25007: result: no" >&5 ++else echo "$as_me:25056: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25011: checking for builtin bool type" >&5 ++echo "$as_me:25060: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 + + if test "${cf_cv_cc_bool_type+set}" = set; then +@@ -25016,7 +25065,7 @@ if test "${cf_cv_cc_bool_type+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25019 "configure" ++#line 25068 "configure" + #include "confdefs.h" + + #include +@@ -25031,16 +25080,16 @@ bool x = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25034: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25083: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25037: \$? = $ac_status" >&5 ++ echo "$as_me:25086: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25040: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25089: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25043: \$? = $ac_status" >&5 ++ echo "$as_me:25092: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cc_bool_type=1 + else +@@ -25053,9 +25102,9 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_cc_bool_type" = 1 +-then echo "$as_me:25056: result: yes" >&5 ++then echo "$as_me:25105: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25058: result: no" >&5 ++else echo "$as_me:25107: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -25072,10 +25121,10 @@ if test -n "$GXX" ; then + + cf_save="$LIBS" + LIBS="$LIBS $CXXLIBS" +- echo "$as_me:25075: checking if we already have C++ library" >&5 ++ echo "$as_me:25124: checking if we already have C++ library" >&5 + echo $ECHO_N "checking if we already have C++ library... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25078 "configure" ++#line 25127 "configure" + #include "confdefs.h" + + #include +@@ -25089,16 +25138,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25092: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25141: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25095: \$? = $ac_status" >&5 ++ echo "$as_me:25144: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25098: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25147: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25101: \$? = $ac_status" >&5 ++ echo "$as_me:25150: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_libstdcpp=yes + else +@@ -25107,7 +25156,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_libstdcpp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:25110: result: $cf_have_libstdcpp" >&5 ++ echo "$as_me:25159: result: $cf_have_libstdcpp" >&5 + echo "${ECHO_T}$cf_have_libstdcpp" >&6 + LIBS="$cf_save" + +@@ -25126,7 +25175,7 @@ echo "${ECHO_T}$cf_have_libstdcpp" >&6 + ;; + esac + +- echo "$as_me:25129: checking for library $cf_stdcpp_libname" >&5 ++ echo "$as_me:25178: checking for library $cf_stdcpp_libname" >&5 + echo $ECHO_N "checking for library $cf_stdcpp_libname... $ECHO_C" >&6 + if test "${cf_cv_libstdcpp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25152,7 +25201,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25155 "configure" ++#line 25204 "configure" + #include "confdefs.h" + + #include +@@ -25166,16 +25215,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25169: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25218: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25172: \$? = $ac_status" >&5 ++ echo "$as_me:25221: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25175: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25224: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25178: \$? = $ac_status" >&5 ++ echo "$as_me:25227: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_libstdcpp=yes + else +@@ -25187,7 +25236,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save" + + fi +-echo "$as_me:25190: result: $cf_cv_libstdcpp" >&5 ++echo "$as_me:25239: result: $cf_cv_libstdcpp" >&5 + echo "${ECHO_T}$cf_cv_libstdcpp" >&6 + test "$cf_cv_libstdcpp" = yes && { + cf_add_libs="$CXXLIBS" +@@ -25209,7 +25258,7 @@ CXXLIBS="$cf_add_libs" + fi + fi + +- echo "$as_me:25212: checking whether $CXX understands -c and -o together" >&5 ++ echo "$as_me:25261: checking whether $CXX understands -c and -o together" >&5 + echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6 + if test "${cf_cv_prog_CXX_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25224,15 +25273,15 @@ CF_EOF + # We do the test twice because some compilers refuse to overwrite an + # existing .o file with -o, though they will create one. + ac_try='$CXX $CXXFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +-if { (eval echo "$as_me:25227: \"$ac_try\"") >&5 ++if { (eval echo "$as_me:25276: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25230: \$? = $ac_status" >&5 ++ echo "$as_me:25279: \$? = $ac_status" >&5 + (exit "$ac_status"); } && +- test -f conftest2.$ac_objext && { (eval echo "$as_me:25232: \"$ac_try\"") >&5 ++ test -f conftest2.$ac_objext && { (eval echo "$as_me:25281: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25235: \$? = $ac_status" >&5 ++ echo "$as_me:25284: \$? = $ac_status" >&5 + (exit "$ac_status"); }; + then + eval cf_cv_prog_CXX_c_o=yes +@@ -25243,10 +25292,10 @@ rm -rf ./conftest* + + fi + if test "$cf_cv_prog_CXX_c_o" = yes; then +- echo "$as_me:25246: result: yes" >&5 ++ echo "$as_me:25295: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else +- echo "$as_me:25249: result: no" >&5 ++ echo "$as_me:25298: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -25266,7 +25315,7 @@ case "$cf_cv_system_name" in + ;; + esac + if test "$GXX" = yes; then +- echo "$as_me:25269: checking for lib$cf_gpp_libname" >&5 ++ echo "$as_me:25318: checking for lib$cf_gpp_libname" >&5 + echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 + cf_save="$LIBS" + +@@ -25287,7 +25336,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25290 "configure" ++#line 25339 "configure" + #include "confdefs.h" + + #include <$cf_gpp_libname/builtin.h> +@@ -25301,16 +25350,16 @@ two_arg_error_handler_t foo2 = lib_error_handler + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25304: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25353: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25307: \$? = $ac_status" >&5 ++ echo "$as_me:25356: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25310: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25359: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25313: \$? = $ac_status" >&5 ++ echo "$as_me:25362: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -25347,7 +25396,7 @@ else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25350 "configure" ++#line 25399 "configure" + #include "confdefs.h" + + #include +@@ -25361,16 +25410,16 @@ two_arg_error_handler_t foo2 = lib_error_handler + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25364: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25413: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25367: \$? = $ac_status" >&5 ++ echo "$as_me:25416: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25370: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25419: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25373: \$? = $ac_status" >&5 ++ echo "$as_me:25422: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -25403,7 +25452,7 @@ 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" +- echo "$as_me:25406: result: $cf_cxx_library" >&5 ++ echo "$as_me:25455: result: $cf_cxx_library" >&5 + echo "${ECHO_T}$cf_cxx_library" >&6 + fi + +@@ -25419,7 +25468,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' + ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" +-echo "$as_me:25422: checking how to run the C++ preprocessor" >&5 ++echo "$as_me:25471: checking how to run the C++ preprocessor" >&5 + echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 + if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then +@@ -25436,18 +25485,18 @@ do + # 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 25439 "configure" ++#line 25488 "configure" + #include "confdefs.h" + #include + Syntax error + _ACEOF +-if { (eval echo "$as_me:25444: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25493: \"$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:25450: \$? = $ac_status" >&5 ++ echo "$as_me:25499: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25470,17 +25519,17 @@ 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 25473 "configure" ++#line 25522 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:25477: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25526: \"$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:25483: \$? = $ac_status" >&5 ++ echo "$as_me:25532: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25517,7 +25566,7 @@ fi + else + ac_cv_prog_CXXCPP=$CXXCPP + fi +-echo "$as_me:25520: result: $CXXCPP" >&5 ++echo "$as_me:25569: result: $CXXCPP" >&5 + echo "${ECHO_T}$CXXCPP" >&6 + ac_preproc_ok=false + for ac_cxx_preproc_warn_flag in '' yes +@@ -25527,18 +25576,18 @@ do + # 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 25530 "configure" ++#line 25579 "configure" + #include "confdefs.h" + #include + Syntax error + _ACEOF +-if { (eval echo "$as_me:25535: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25584: \"$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:25541: \$? = $ac_status" >&5 ++ echo "$as_me:25590: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25561,17 +25610,17 @@ 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 25564 "configure" ++#line 25613 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:25568: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25617: \"$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:25574: \$? = $ac_status" >&5 ++ echo "$as_me:25623: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25599,7 +25648,7 @@ rm -f conftest.err "conftest.$ac_ext" + if $ac_preproc_ok; then + : + else +- { { echo "$as_me:25602: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 ++ { { echo "$as_me:25651: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 + echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -25614,23 +25663,23 @@ ac_main_return="return" + for ac_header in typeinfo + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:25617: checking for $ac_header" >&5 ++echo "$as_me:25666: 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 25623 "configure" ++#line 25672 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:25627: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25676: \"$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:25633: \$? = $ac_status" >&5 ++ echo "$as_me:25682: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25649,7 +25698,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:25652: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:25701: 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 <&5 ++echo "$as_me:25714: 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 25671 "configure" ++#line 25720 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:25675: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25724: \"$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:25681: \$? = $ac_status" >&5 ++ echo "$as_me:25730: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25697,7 +25746,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:25700: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:25749: 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 <&5 ++ echo "$as_me:25760: checking if iostream uses std-namespace" >&5 + echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25714 "configure" ++#line 25763 "configure" + #include "confdefs.h" + + #include +@@ -25728,16 +25777,16 @@ cerr << "testing" << endl; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25731: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25780: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25734: \$? = $ac_status" >&5 ++ echo "$as_me:25783: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25737: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25786: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25740: \$? = $ac_status" >&5 ++ echo "$as_me:25789: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_iostream_namespace=yes + else +@@ -25746,7 +25795,7 @@ cat "conftest.$ac_ext" >&5 + cf_iostream_namespace=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:25749: result: $cf_iostream_namespace" >&5 ++ echo "$as_me:25798: result: $cf_iostream_namespace" >&5 + echo "${ECHO_T}$cf_iostream_namespace" >&6 + if test "$cf_iostream_namespace" = yes ; then + +@@ -25757,7 +25806,7 @@ EOF + fi + fi + +-echo "$as_me:25760: checking if we should include stdbool.h" >&5 ++echo "$as_me:25809: checking if we should include stdbool.h" >&5 + echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 + + if test "${cf_cv_header_stdbool_h+set}" = set; then +@@ -25765,7 +25814,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25768 "configure" ++#line 25817 "configure" + #include "confdefs.h" + + int +@@ -25777,23 +25826,23 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25780: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25829: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25783: \$? = $ac_status" >&5 ++ echo "$as_me:25832: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25786: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25835: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25789: \$? = $ac_status" >&5 ++ echo "$as_me:25838: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=0 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25796 "configure" ++#line 25845 "configure" + #include "confdefs.h" + + #ifndef __BEOS__ +@@ -25809,16 +25858,16 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25812: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25861: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25815: \$? = $ac_status" >&5 ++ echo "$as_me:25864: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25818: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25867: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25821: \$? = $ac_status" >&5 ++ echo "$as_me:25870: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=1 + else +@@ -25832,13 +25881,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:25835: result: yes" >&5 ++then echo "$as_me:25884: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25837: result: no" >&5 ++else echo "$as_me:25886: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25841: checking for builtin bool type" >&5 ++echo "$as_me:25890: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 + + if test "${cf_cv_builtin_bool+set}" = set; then +@@ -25846,7 +25895,7 @@ if test "${cf_cv_builtin_bool+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25849 "configure" ++#line 25898 "configure" + #include "confdefs.h" + + #include +@@ -25861,16 +25910,16 @@ bool x = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25864: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25913: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25867: \$? = $ac_status" >&5 ++ echo "$as_me:25916: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25870: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25919: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25873: \$? = $ac_status" >&5 ++ echo "$as_me:25922: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_builtin_bool=1 + else +@@ -25883,19 +25932,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_builtin_bool" = 1 +-then echo "$as_me:25886: result: yes" >&5 ++then echo "$as_me:25935: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25888: result: no" >&5 ++else echo "$as_me:25937: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25892: checking for bool" >&5 ++echo "$as_me:25941: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25898 "configure" ++#line 25947 "configure" + #include "confdefs.h" + + #include +@@ -25931,16 +25980,16 @@ if (sizeof (bool)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25934: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25983: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25937: \$? = $ac_status" >&5 ++ echo "$as_me:25986: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25940: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25989: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25943: \$? = $ac_status" >&5 ++ echo "$as_me:25992: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -25950,10 +25999,10 @@ ac_cv_type_bool=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:25953: result: $ac_cv_type_bool" >&5 ++echo "$as_me:26002: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:25956: checking size of bool" >&5 ++echo "$as_me:26005: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25962,7 +26011,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25965 "configure" ++#line 26014 "configure" + #include "confdefs.h" + + #include +@@ -25995,21 +26044,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25998: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26047: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26001: \$? = $ac_status" >&5 ++ echo "$as_me:26050: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26004: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26053: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26007: \$? = $ac_status" >&5 ++ echo "$as_me:26056: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26012 "configure" ++#line 26061 "configure" + #include "confdefs.h" + + #include +@@ -26042,16 +26091,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26045: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26094: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26048: \$? = $ac_status" >&5 ++ echo "$as_me:26097: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26051: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26100: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26054: \$? = $ac_status" >&5 ++ echo "$as_me:26103: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -26067,7 +26116,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26070 "configure" ++#line 26119 "configure" + #include "confdefs.h" + + #include +@@ -26100,16 +26149,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26103: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26152: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26106: \$? = $ac_status" >&5 ++ echo "$as_me:26155: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26109: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26158: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26112: \$? = $ac_status" >&5 ++ echo "$as_me:26161: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -26125,7 +26174,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26128 "configure" ++#line 26177 "configure" + #include "confdefs.h" + + #include +@@ -26158,16 +26207,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26161: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26210: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26164: \$? = $ac_status" >&5 ++ echo "$as_me:26213: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26167: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26216: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26170: \$? = $ac_status" >&5 ++ echo "$as_me:26219: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -26180,12 +26229,12 @@ done + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:26183: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:26232: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26188 "configure" ++#line 26237 "configure" + #include "confdefs.h" + + #include +@@ -26222,15 +26271,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26225: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26274: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26228: \$? = $ac_status" >&5 ++ echo "$as_me:26277: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26230: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26279: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26233: \$? = $ac_status" >&5 ++ echo "$as_me:26282: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -26246,13 +26295,13 @@ else + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:26249: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:26298: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:26304: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26271,7 +26320,7 @@ else + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26274 "configure" ++#line 26323 "configure" + #include "confdefs.h" + + #include +@@ -26313,15 +26362,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26316: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26365: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26319: \$? = $ac_status" >&5 ++ echo "$as_me:26368: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26321: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26370: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26324: \$? = $ac_status" >&5 ++ echo "$as_me:26373: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -26338,19 +26387,19 @@ fi + rm -f cf_test.out + + fi +-echo "$as_me:26341: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:26390: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:26348: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:26397: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi + +-echo "$as_me:26353: checking for special defines needed for etip.h" >&5 ++echo "$as_me:26402: checking for special defines needed for etip.h" >&5 + echo $ECHO_N "checking for special defines needed for etip.h... $ECHO_C" >&6 + cf_save_CXXFLAGS="$CXXFLAGS" + cf_result="none" +@@ -26368,7 +26417,7 @@ do + test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}" + test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26371 "configure" ++#line 26420 "configure" + #include "confdefs.h" + + #include +@@ -26382,16 +26431,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26385: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26434: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26388: \$? = $ac_status" >&5 ++ echo "$as_me:26437: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26391: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26440: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26394: \$? = $ac_status" >&5 ++ echo "$as_me:26443: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + test -n "$cf_math" && cat >>confdefs.h <&5 ++echo "$as_me:26464: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + CXXFLAGS="$cf_save_CXXFLAGS" + + if test -n "$CXX"; then +-echo "$as_me:26420: checking if $CXX accepts override keyword" >&5 ++echo "$as_me:26469: checking if $CXX accepts override keyword" >&5 + echo $ECHO_N "checking if $CXX accepts override keyword... $ECHO_C" >&6 + if test "${cf_cv_cpp_override+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26434,7 +26483,7 @@ ac_main_return="return" + cf_cv_cpp_override=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26437 "configure" ++#line 26486 "configure" + #include "confdefs.h" + + class base +@@ -26453,15 +26502,15 @@ int main(void) { } + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26456: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26505: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26459: \$? = $ac_status" >&5 ++ echo "$as_me:26508: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26461: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26510: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26464: \$? = $ac_status" >&5 ++ echo "$as_me:26513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_override=yes + else +@@ -26480,7 +26529,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26483: result: $cf_cv_cpp_override" >&5 ++echo "$as_me:26532: result: $cf_cv_cpp_override" >&5 + echo "${ECHO_T}$cf_cv_cpp_override" >&6 + fi + test "$cf_cv_cpp_override" = yes && +@@ -26489,7 +26538,7 @@ cat >>confdefs.h <<\EOF + EOF + + if test -n "$CXX"; then +-echo "$as_me:26492: checking if $CXX accepts parameter initialization" >&5 ++echo "$as_me:26541: checking if $CXX accepts parameter initialization" >&5 + echo $ECHO_N "checking if $CXX accepts parameter initialization... $ECHO_C" >&6 + if test "${cf_cv_cpp_param_init+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26506,7 +26555,7 @@ ac_main_return="return" + cf_cv_cpp_param_init=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26509 "configure" ++#line 26558 "configure" + #include "confdefs.h" + + class TEST { +@@ -26525,15 +26574,15 @@ int main(void) { } + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26528: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26577: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26531: \$? = $ac_status" >&5 ++ echo "$as_me:26580: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26533: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26582: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26536: \$? = $ac_status" >&5 ++ echo "$as_me:26585: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_param_init=yes + else +@@ -26552,7 +26601,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26555: result: $cf_cv_cpp_param_init" >&5 ++echo "$as_me:26604: result: $cf_cv_cpp_param_init" >&5 + echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 + fi + test "$cf_cv_cpp_param_init" = yes && +@@ -26562,7 +26611,7 @@ EOF + + if test -n "$CXX"; then + +-echo "$as_me:26565: checking if $CXX accepts static_cast" >&5 ++echo "$as_me:26614: checking if $CXX accepts static_cast" >&5 + echo $ECHO_N "checking if $CXX accepts static_cast... $ECHO_C" >&6 + if test "${cf_cv_cpp_static_cast+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26576,7 +26625,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26579 "configure" ++#line 26628 "configure" + #include "confdefs.h" + + class NCursesPanel +@@ -26620,16 +26669,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26623: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26672: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26626: \$? = $ac_status" >&5 ++ echo "$as_me:26675: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26629: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26678: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26632: \$? = $ac_status" >&5 ++ echo "$as_me:26681: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_static_cast=yes + else +@@ -26647,7 +26696,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26650: result: $cf_cv_cpp_static_cast" >&5 ++echo "$as_me:26699: result: $cf_cv_cpp_static_cast" >&5 + echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 + + fi +@@ -26696,13 +26745,13 @@ else + else + if test "$cf_cv_header_stdbool_h" = 1 ; then + +-echo "$as_me:26699: checking for bool" >&5 ++echo "$as_me:26748: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26705 "configure" ++#line 26754 "configure" + #include "confdefs.h" + + #include +@@ -26738,16 +26787,16 @@ if (sizeof (bool)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26741: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26790: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26744: \$? = $ac_status" >&5 ++ echo "$as_me:26793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26747: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26796: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26750: \$? = $ac_status" >&5 ++ echo "$as_me:26799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -26757,10 +26806,10 @@ ac_cv_type_bool=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:26760: result: $ac_cv_type_bool" >&5 ++echo "$as_me:26809: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:26763: checking size of bool" >&5 ++echo "$as_me:26812: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26769,7 +26818,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26772 "configure" ++#line 26821 "configure" + #include "confdefs.h" + + #include +@@ -26802,21 +26851,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26805: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26854: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26808: \$? = $ac_status" >&5 ++ echo "$as_me:26857: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26811: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26860: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26814: \$? = $ac_status" >&5 ++ echo "$as_me:26863: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26819 "configure" ++#line 26868 "configure" + #include "confdefs.h" + + #include +@@ -26849,16 +26898,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26852: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26901: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26855: \$? = $ac_status" >&5 ++ echo "$as_me:26904: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26858: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26907: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26861: \$? = $ac_status" >&5 ++ echo "$as_me:26910: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -26874,7 +26923,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26877 "configure" ++#line 26926 "configure" + #include "confdefs.h" + + #include +@@ -26907,16 +26956,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26910: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26959: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26913: \$? = $ac_status" >&5 ++ echo "$as_me:26962: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26916: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26965: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26919: \$? = $ac_status" >&5 ++ echo "$as_me:26968: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -26932,7 +26981,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26935 "configure" ++#line 26984 "configure" + #include "confdefs.h" + + #include +@@ -26965,16 +27014,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26968: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27017: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26971: \$? = $ac_status" >&5 ++ echo "$as_me:27020: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26974: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27023: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26977: \$? = $ac_status" >&5 ++ echo "$as_me:27026: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -26987,12 +27036,12 @@ done + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:26990: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:27039: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26995 "configure" ++#line 27044 "configure" + #include "confdefs.h" + + #include +@@ -27029,15 +27078,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27032: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27081: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27035: \$? = $ac_status" >&5 ++ echo "$as_me:27084: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27037: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27086: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27040: \$? = $ac_status" >&5 ++ echo "$as_me:27089: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -27053,13 +27102,13 @@ else + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:27056: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:27105: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:27111: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27078,7 +27127,7 @@ else + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27081 "configure" ++#line 27130 "configure" + #include "confdefs.h" + + #include +@@ -27120,15 +27169,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27123: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27172: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27126: \$? = $ac_status" >&5 ++ echo "$as_me:27175: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27128: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27177: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27131: \$? = $ac_status" >&5 ++ echo "$as_me:27180: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -27145,26 +27194,26 @@ fi + rm -f cf_test.out + + fi +-echo "$as_me:27148: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:27197: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:27155: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:27204: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi + + else +- echo "$as_me:27161: checking for fallback type of bool" >&5 ++ echo "$as_me:27210: checking for fallback type of bool" >&5 + echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6 + case "$host_cpu" in + (i?86) cf_cv_type_of_bool=char ;; + (*) cf_cv_type_of_bool=int ;; + esac +- echo "$as_me:27167: result: $cf_cv_type_of_bool" >&5 ++ echo "$as_me:27216: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + fi + fi +@@ -27193,7 +27242,7 @@ if test -f "${srcdir}/Ada95/Makefile.in" ; then + + if test "$cf_with_ada" != "no" ; then + if test "$with_libtool" != "no"; then +- { echo "$as_me:27196: WARNING: libtool does not support Ada - disabling feature" >&5 ++ { echo "$as_me:27245: WARNING: libtool does not support Ada - disabling feature" >&5 + echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;} + cf_with_ada=no + fi +@@ -27210,7 +27259,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- + unset cf_TEMP_gnat + # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. + set dummy $cf_prog_gnat; ac_word=$2 +-echo "$as_me:27213: checking for $ac_word" >&5 ++echo "$as_me:27262: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27227,7 +27276,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" +- echo "$as_me:27230: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:27279: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -27239,10 +27288,10 @@ fi + cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat + + if test -n "$cf_TEMP_gnat"; then +- echo "$as_me:27242: result: $cf_TEMP_gnat" >&5 ++ echo "$as_me:27291: result: $cf_TEMP_gnat" >&5 + echo "${ECHO_T}$cf_TEMP_gnat" >&6 + else +- echo "$as_me:27245: result: no" >&5 ++ echo "$as_me:27294: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -27252,7 +27301,7 @@ fi + unset cf_cv_gnat_version + unset cf_TEMP_gnat + +-echo "$as_me:27255: checking for $cf_prog_gnat version" >&5 ++echo "$as_me:27304: checking for $cf_prog_gnat version" >&5 + echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27263,7 +27312,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:27266: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:27315: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version +@@ -27292,7 +27341,7 @@ else + cd conftest.src + for cf_gprconfig in Ada C + do +- echo "$as_me:27295: checking for gprconfig name for $cf_gprconfig" >&5 ++ echo "$as_me:27344: checking for gprconfig name for $cf_gprconfig" >&5 + echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test "$cf_gprconfig" = C + then +@@ -27311,10 +27360,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test -n "$cf_gprconfig_value" + then + eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" +- echo "$as_me:27314: result: $cf_gprconfig_value" >&5 ++ echo "$as_me:27363: result: $cf_gprconfig_value" >&5 + echo "${ECHO_T}$cf_gprconfig_value" >&6 + else +- echo "$as_me:27317: result: missing" >&5 ++ echo "$as_me:27366: result: missing" >&5 + echo "${ECHO_T}missing" >&6 + cf_ada_config="#" + break +@@ -27327,7 +27376,7 @@ echo "${ECHO_T}missing" >&6 + if test "x$cf_ada_config" != "x#" + then + +-echo "$as_me:27330: checking for gnat version" >&5 ++echo "$as_me:27379: checking for gnat version" >&5 + echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27338,7 +27387,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:27341: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:27390: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + +@@ -27347,7 +27396,7 @@ case "$cf_cv_gnat_version" in + cf_cv_prog_gnat_correct=yes + ;; + (*) +- { echo "$as_me:27350: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 ++ { echo "$as_me:27399: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} + cf_cv_prog_gnat_correct=no + ;; +@@ -27355,7 +27404,7 @@ esac + + # Extract the first word of "m4", so it can be a program name with args. + set dummy m4; ac_word=$2 +-echo "$as_me:27358: checking for $ac_word" >&5 ++echo "$as_me:27407: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_M4_exists+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27370,7 +27419,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_M4_exists="yes" +-echo "$as_me:27373: found $ac_dir/$ac_word" >&5 ++echo "$as_me:27422: found $ac_dir/$ac_word" >&5 + break + done + +@@ -27379,20 +27428,20 @@ fi + fi + M4_exists=$ac_cv_prog_M4_exists + if test -n "$M4_exists"; then +- echo "$as_me:27382: result: $M4_exists" >&5 ++ echo "$as_me:27431: result: $M4_exists" >&5 + echo "${ECHO_T}$M4_exists" >&6 + else +- echo "$as_me:27385: result: no" >&5 ++ echo "$as_me:27434: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + + if test "$ac_cv_prog_M4_exists" = no; then + cf_cv_prog_gnat_correct=no +- { echo "$as_me:27391: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 ++ { echo "$as_me:27440: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} + fi + if test "$cf_cv_prog_gnat_correct" = yes; then +- echo "$as_me:27395: checking if GNAT works" >&5 ++ echo "$as_me:27444: checking if GNAT works" >&5 + echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 + + rm -rf ./conftest* ./*~conftest* +@@ -27420,7 +27469,7 @@ else + fi + rm -rf ./conftest* ./*~conftest* + +- echo "$as_me:27423: result: $cf_cv_prog_gnat_correct" >&5 ++ echo "$as_me:27472: result: $cf_cv_prog_gnat_correct" >&5 + echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 + fi + else +@@ -27432,7 +27481,7 @@ fi + + ADAFLAGS="$ADAFLAGS -gnatpn" + +- echo "$as_me:27435: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:27484: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -27449,10 +27498,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + + ;; + esac +- echo "$as_me:27452: result: $ADAFLAGS" >&5 ++ echo "$as_me:27501: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:27455: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:27504: checking if GNATPREP supports -T option" >&5 + echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 + if test "${cf_cv_gnatprep_opt_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27462,11 +27511,11 @@ cf_cv_gnatprep_opt_t=no + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:27465: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:27514: result: $cf_cv_gnatprep_opt_t" >&5 + echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 + test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" + +-echo "$as_me:27469: checking if GNAT supports generics" >&5 ++echo "$as_me:27518: checking if GNAT supports generics" >&5 + echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) +@@ -27476,7 +27525,7 @@ case "$cf_cv_gnat_version" in + cf_gnat_generics=no + ;; + esac +-echo "$as_me:27479: result: $cf_gnat_generics" >&5 ++echo "$as_me:27528: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -27488,7 +27537,7 @@ else + cf_generic_objects= + fi + +-echo "$as_me:27491: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:27540: checking if GNAT supports SIGINT" >&5 + echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 + if test "${cf_cv_gnat_sigint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27536,7 +27585,7 @@ fi + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:27539: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:27588: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -27549,7 +27598,7 @@ cf_gnat_libraries=no + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:27552: checking if GNAT supports project files" >&5 ++echo "$as_me:27601: checking if GNAT supports project files" >&5 + echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.[0-9]*) +@@ -27612,15 +27661,15 @@ CF_EOF + esac + ;; + esac +-echo "$as_me:27615: result: $cf_gnat_projects" >&5 ++echo "$as_me:27664: result: $cf_gnat_projects" >&5 + echo "${ECHO_T}$cf_gnat_projects" >&6 + fi # enable_gnat_projects + + if test "$cf_gnat_projects" = yes + then +- echo "$as_me:27621: checking if GNAT supports libraries" >&5 ++ echo "$as_me:27670: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:27623: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:27672: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -27640,7 +27689,7 @@ then + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:27643: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:27692: WARNING: use old makefile rules since tools are missing" >&5 + echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} + fi + fi +@@ -27652,7 +27701,7 @@ else + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:27655: checking for ada-compiler" >&5 ++echo "$as_me:27704: checking for ada-compiler" >&5 + echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 + + # Check whether --with-ada-compiler or --without-ada-compiler was given. +@@ -27663,12 +27712,12 @@ else + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:27666: result: $cf_ada_compiler" >&5 ++echo "$as_me:27715: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:27671: checking for ada-include" >&5 ++echo "$as_me:27720: checking for ada-include" >&5 + echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 + + # Check whether --with-ada-include or --without-ada-include was given. +@@ -27704,7 +27753,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:27707: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:27756: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -27713,10 +27762,10 @@ esac + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:27716: result: $ADA_INCLUDE" >&5 ++echo "$as_me:27765: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:27719: checking for ada-objects" >&5 ++echo "$as_me:27768: checking for ada-objects" >&5 + echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 + + # Check whether --with-ada-objects or --without-ada-objects was given. +@@ -27752,7 +27801,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:27755: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:27804: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -27761,10 +27810,10 @@ esac + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:27764: result: $ADA_OBJECTS" >&5 ++echo "$as_me:27813: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:27767: checking if an Ada95 shared-library should be built" >&5 ++echo "$as_me:27816: checking if an Ada95 shared-library should be built" >&5 + echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 + + # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. +@@ -27774,14 +27823,14 @@ if test "${with_ada_sharedlib+set}" = set; then + else + with_ada_sharedlib=no + fi; +-echo "$as_me:27777: result: $with_ada_sharedlib" >&5 ++echo "$as_me:27826: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + + if test "x$with_ada_sharedlib" != xno + then + if test "x$cf_gnat_projects" != xyes + then +- { echo "$as_me:27784: WARNING: disabling shared-library since GNAT projects are not supported" >&5 ++ { echo "$as_me:27833: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} + with_ada_sharedlib=no + fi +@@ -27801,7 +27850,7 @@ fi + + # allow the Ada binding to be renamed + +-echo "$as_me:27804: checking for ada-libname" >&5 ++echo "$as_me:27853: checking for ada-libname" >&5 + echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 + + # Check whether --with-ada-libname or --without-ada-libname was given. +@@ -27817,7 +27866,7 @@ case "x$ADA_LIBNAME" in + ;; + esac + +-echo "$as_me:27820: result: $ADA_LIBNAME" >&5 ++echo "$as_me:27869: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + fi +@@ -27828,13 +27877,13 @@ fi + + # do this "late" to avoid conflict with header-checks + if test "x$with_widec" = xyes ; then +- echo "$as_me:27831: checking for wchar_t" >&5 ++ echo "$as_me:27880: checking for wchar_t" >&5 + echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6 + if test "${ac_cv_type_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27837 "configure" ++#line 27886 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27849,16 +27898,16 @@ if (sizeof (wchar_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27852: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27901: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27855: \$? = $ac_status" >&5 ++ echo "$as_me:27904: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27858: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27907: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27861: \$? = $ac_status" >&5 ++ echo "$as_me:27910: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_wchar_t=yes + else +@@ -27868,10 +27917,10 @@ ac_cv_type_wchar_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:27871: result: $ac_cv_type_wchar_t" >&5 ++echo "$as_me:27920: result: $ac_cv_type_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_type_wchar_t" >&6 + +-echo "$as_me:27874: checking size of wchar_t" >&5 ++echo "$as_me:27923: checking size of wchar_t" >&5 + echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6 + if test "${ac_cv_sizeof_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27880,7 +27929,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27883 "configure" ++#line 27932 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27892,21 +27941,21 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27898: \$? = $ac_status" >&5 ++ echo "$as_me:27947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27904: \$? = $ac_status" >&5 ++ echo "$as_me:27953: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27909 "configure" ++#line 27958 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27918,16 +27967,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27921: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27970: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27924: \$? = $ac_status" >&5 ++ echo "$as_me:27973: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27927: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27976: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27930: \$? = $ac_status" >&5 ++ echo "$as_me:27979: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -27943,7 +27992,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27946 "configure" ++#line 27995 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27955,16 +28004,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27958: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28007: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27961: \$? = $ac_status" >&5 ++ echo "$as_me:28010: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27964: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28013: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27967: \$? = $ac_status" >&5 ++ echo "$as_me:28016: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -27980,7 +28029,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27983 "configure" ++#line 28032 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27992,16 +28041,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27995: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28044: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27998: \$? = $ac_status" >&5 ++ echo "$as_me:28047: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28001: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28050: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28004: \$? = $ac_status" >&5 ++ echo "$as_me:28053: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -28014,12 +28063,12 @@ done + ac_cv_sizeof_wchar_t=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:28017: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:28066: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28022 "configure" ++#line 28071 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28035,15 +28084,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:28038: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:28087: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28041: \$? = $ac_status" >&5 ++ echo "$as_me:28090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:28043: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28092: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28046: \$? = $ac_status" >&5 ++ echo "$as_me:28095: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_wchar_t=`cat conftest.val` + else +@@ -28059,7 +28108,7 @@ else + ac_cv_sizeof_wchar_t=0 + fi + fi +-echo "$as_me:28062: result: $ac_cv_sizeof_wchar_t" >&5 ++echo "$as_me:28111: result: $ac_cv_sizeof_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6 + cat >>confdefs.h <&6 + +-echo "${as_me:-configure}:28075: testing test failed (assume 2) ..." 1>&5 ++echo "${as_me:-configure}:28124: testing test failed (assume 2) ..." 1>&5 + + sed /SIZEOF_WCHAR_T/d confdefs.h >confdefs.tmp + mv confdefs.tmp confdefs.h +@@ -28090,7 +28139,7 @@ fi + ### chooses to split module lists into libraries. + ### + ### (see CF_LIB_RULES). +-echo "$as_me:28093: checking for library subsets" >&5 ++echo "$as_me:28142: checking for library subsets" >&5 + echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 + LIB_SUBSETS= + +@@ -28144,7 +28193,7 @@ fi + test "x$with_widec" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+widechar" + test "x$with_ext_funcs" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs" + +-echo "$as_me:28147: result: $LIB_SUBSETS" >&5 ++echo "$as_me:28196: result: $LIB_SUBSETS" >&5 + echo "${ECHO_T}$LIB_SUBSETS" >&6 + + ### Construct the list of include-directories to be generated +@@ -28175,7 +28224,7 @@ elif test "$includedir" != "/usr/include"; then + fi + + ### Build up pieces for makefile rules +-echo "$as_me:28178: checking default library suffix" >&5 ++echo "$as_me:28227: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28186,10 +28235,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:28189: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:28238: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:28192: checking default library-dependency suffix" >&5 ++echo "$as_me:28241: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -28272,10 +28321,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" + DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" + fi +-echo "$as_me:28275: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:28324: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:28278: checking default object directory" >&5 ++echo "$as_me:28327: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28291,11 +28340,11 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:28294: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:28343: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + if test "x$cf_with_cxx" = xyes ; then +-echo "$as_me:28298: checking c++ library-dependency suffix" >&5 ++echo "$as_me:28347: checking c++ library-dependency suffix" >&5 + echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6 + if test "$with_libtool" != "no"; then + # libtool thinks it can make c++ shared libraries (perhaps only g++) +@@ -28388,7 +28437,7 @@ else + fi + + fi +-echo "$as_me:28391: result: $CXX_LIB_SUFFIX" >&5 ++echo "$as_me:28440: result: $CXX_LIB_SUFFIX" >&5 + echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 + + fi +@@ -28564,19 +28613,19 @@ fi + + if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED" + then +- echo "$as_me:28567: checking if linker supports switching between static/dynamic" >&5 ++ echo "$as_me:28616: checking if linker supports switching between static/dynamic" >&5 + echo $ECHO_N "checking if linker supports switching between static/dynamic... $ECHO_C" >&6 + + rm -f libconftest.a + cat >conftest.$ac_ext < + int cf_ldflags_static(FILE *fp) { return fflush(fp); } + EOF +- if { (eval echo "$as_me:28576: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:28625: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28579: \$? = $ac_status" >&5 ++ echo "$as_me:28628: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + ( $AR $ARFLAGS libconftest.a conftest.o ) 2>&5 1>/dev/null + ( eval $RANLIB libconftest.a ) 2>&5 >/dev/null +@@ -28587,10 +28636,10 @@ EOF + + LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28590 "configure" ++#line 28639 "configure" + #include "confdefs.h" + +-#line 28593 "configure" ++#line 28642 "configure" + #include + int cf_ldflags_static(FILE *fp); + +@@ -28605,16 +28654,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:28608: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:28657: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28611: \$? = $ac_status" >&5 ++ echo "$as_me:28660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:28614: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28663: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28617: \$? = $ac_status" >&5 ++ echo "$as_me:28666: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + # some linkers simply ignore the -dynamic +@@ -28637,7 +28686,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + rm -f libconftest.* + LIBS="$cf_save_LIBS" + +- echo "$as_me:28640: result: $cf_ldflags_static" >&5 ++ echo "$as_me:28689: result: $cf_ldflags_static" >&5 + echo "${ECHO_T}$cf_ldflags_static" >&6 + + if test "$cf_ldflags_static" != yes +@@ -28653,7 +28702,7 @@ fi + ;; + esac + +-echo "$as_me:28656: checking where we will install curses.h" >&5 ++echo "$as_me:28705: checking where we will install curses.h" >&5 + echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 + + includesubdir= +@@ -28663,7 +28712,7 @@ if test "$with_overwrite" = no && \ + then + includesubdir="/ncurses${USE_LIB_SUFFIX}" + fi +-echo "$as_me:28666: result: ${includedir}${includesubdir}" >&5 ++echo "$as_me:28715: result: ${includedir}${includesubdir}" >&5 + echo "${ECHO_T}${includedir}${includesubdir}" >&6 + + ### Resolve a conflict between normal and wide-curses by forcing applications +@@ -28671,7 +28720,7 @@ echo "${ECHO_T}${includedir}${includesubdir}" >&6 + if test "$with_overwrite" != no ; then + if test "$NCURSES_LIBUTF8" = 1 ; then + NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' +- { echo "$as_me:28674: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 ++ { echo "$as_me:28723: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 + echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&2;} + fi + fi +@@ -28699,7 +28748,7 @@ EOF + + # pkgsrc uses these + +-echo "$as_me:28702: checking for desired basename for form library" >&5 ++echo "$as_me:28751: checking for desired basename for form library" >&5 + echo $ECHO_N "checking for desired basename for form library... $ECHO_C" >&6 + + # Check whether --with-form-libname or --without-form-libname was given. +@@ -28719,10 +28768,10 @@ case "x$FORM_NAME" in + ;; + esac + +-echo "$as_me:28722: result: $FORM_NAME" >&5 ++echo "$as_me:28771: result: $FORM_NAME" >&5 + echo "${ECHO_T}$FORM_NAME" >&6 + +-echo "$as_me:28725: checking for desired basename for menu library" >&5 ++echo "$as_me:28774: checking for desired basename for menu library" >&5 + echo $ECHO_N "checking for desired basename for menu library... $ECHO_C" >&6 + + # Check whether --with-menu-libname or --without-menu-libname was given. +@@ -28742,10 +28791,10 @@ case "x$MENU_NAME" in + ;; + esac + +-echo "$as_me:28745: result: $MENU_NAME" >&5 ++echo "$as_me:28794: result: $MENU_NAME" >&5 + echo "${ECHO_T}$MENU_NAME" >&6 + +-echo "$as_me:28748: checking for desired basename for panel library" >&5 ++echo "$as_me:28797: checking for desired basename for panel library" >&5 + echo $ECHO_N "checking for desired basename for panel library... $ECHO_C" >&6 + + # Check whether --with-panel-libname or --without-panel-libname was given. +@@ -28765,10 +28814,10 @@ case "x$PANEL_NAME" in + ;; + esac + +-echo "$as_me:28768: result: $PANEL_NAME" >&5 ++echo "$as_me:28817: result: $PANEL_NAME" >&5 + echo "${ECHO_T}$PANEL_NAME" >&6 + +-echo "$as_me:28771: checking for desired basename for cxx library" >&5 ++echo "$as_me:28820: checking for desired basename for cxx library" >&5 + echo $ECHO_N "checking for desired basename for cxx library... $ECHO_C" >&6 + + # Check whether --with-cxx-libname or --without-cxx-libname was given. +@@ -28788,13 +28837,13 @@ case "x$CXX_NAME" in + ;; + esac + +-echo "$as_me:28791: result: $CXX_NAME" >&5 ++echo "$as_me:28840: result: $CXX_NAME" >&5 + echo "${ECHO_T}$CXX_NAME" >&6 + + ### Construct the list of subdirectories for which we'll customize makefiles + ### with the appropriate compile-rules. + +-echo "$as_me:28797: checking for src modules" >&5 ++echo "$as_me:28846: checking for src modules" >&5 + echo $ECHO_N "checking for src modules... $ECHO_C" >&6 + + # dependencies and linker-arguments for test-programs +@@ -28863,7 +28912,7 @@ eval TEST_ROOT="\$${cf_map_lib_basename}_NAME" + fi + fi + done +-echo "$as_me:28866: result: $cf_cv_src_modules" >&5 ++echo "$as_me:28915: result: $cf_cv_src_modules" >&5 + echo "${ECHO_T}$cf_cv_src_modules" >&6 + + TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" +@@ -29024,7 +29073,7 @@ case "$cf_cv_system_name" in + (*-D_XOPEN_SOURCE_EXTENDED*) + test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6 + +-echo "${as_me:-configure}:29027: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 ++echo "${as_me:-configure}:29076: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 + + CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED" + CPPFLAGS=`echo "x$CPPFLAGS" | sed -e 's/^.//' -e 's/-D_XOPEN_SOURCE_EXTENDED//'` +@@ -29035,7 +29084,7 @@ esac + + # Help to automatically enable the extended curses features when using either + # the *-config or the ".pc" files by adding defines. +-echo "$as_me:29038: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 ++echo "$as_me:29087: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 + echo $ECHO_N "checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script... $ECHO_C" >&6 + PKG_CFLAGS= + for cf_loop1 in $CPPFLAGS_after_XOPEN +@@ -29051,7 +29100,7 @@ do + done + test "$cf_found" = no && PKG_CFLAGS="$PKG_CFLAGS $cf_loop1" + done +-echo "$as_me:29054: result: $PKG_CFLAGS" >&5 ++echo "$as_me:29103: result: $PKG_CFLAGS" >&5 + echo "${ECHO_T}$PKG_CFLAGS" >&6 + + # AC_CHECK_SIZEOF demands a literal parameter, no variables. So we do this. +@@ -29112,7 +29161,7 @@ then + cf_filter_syms=$cf_dft_filter_syms + test -n "$verbose" && echo " will map symbols to ABI=$cf_cv_abi_version" 1>&6 + +-echo "${as_me:-configure}:29115: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 ++echo "${as_me:-configure}:29164: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 + + fi + +@@ -29139,7 +29188,7 @@ fi + + # This is used for the *-config script and *.pc data files. + +-echo "$as_me:29142: checking for linker search path" >&5 ++echo "$as_me:29191: checking for linker search path" >&5 + echo $ECHO_N "checking for linker search path... $ECHO_C" >&6 + if test "${cf_cv_ld_searchpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -29187,7 +29236,7 @@ then + cf_pathlist="$cf_pathlist /lib /usr/lib" + ;; + (*) +- { echo "$as_me:29190: WARNING: problem with Solaris architecture" >&5 ++ { echo "$as_me:29239: WARNING: problem with Solaris architecture" >&5 + echo "$as_me: WARNING: problem with Solaris architecture" >&2;} + ;; + esac +@@ -29228,7 +29277,7 @@ done + test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib + + fi +-echo "$as_me:29231: result: $cf_cv_ld_searchpath" >&5 ++echo "$as_me:29280: result: $cf_cv_ld_searchpath" >&5 + echo "${ECHO_T}$cf_cv_ld_searchpath" >&6 + + LD_SEARCHPATH=`echo "$cf_cv_ld_searchpath"|sed -e 's/ /|/g'` +@@ -29318,7 +29367,7 @@ 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:29321: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:29370: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -29497,7 +29546,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:29500: error: ambiguous option: $1 ++ { { echo "$as_me:29549: 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;} +@@ -29516,7 +29565,7 @@ Try \`$0 --help' for more information." >&2;} + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:29519: error: unrecognized option: $1 ++ -*) { { echo "$as_me:29568: 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;} +@@ -29642,7 +29691,7 @@ do + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; +- *) { { echo "$as_me:29645: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:29694: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -30155,7 +30204,7 @@ done; } + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:30158: creating $ac_file" >&5 ++ { echo "$as_me:30207: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -30173,7 +30222,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30176: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30225: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -30186,7 +30235,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30189: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30238: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -30202,7 +30251,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:30205: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:30254: 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;} +@@ -30211,7 +30260,7 @@ $ac_seen" >&2;} + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:30214: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:30263: 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;} +@@ -30248,7 +30297,7 @@ s,@INSTALL@,$ac_INSTALL,;t t + ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` + if test -z "$ac_init"; then + ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` +- { echo "$as_me:30251: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:30300: 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;} +@@ -30259,7 +30308,7 @@ $ac_seen" >&2;} + ${EGREP-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:30262: WARNING: Some variables may not be substituted: ++ { echo "$as_me:30311: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -30308,7 +30357,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:30311: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:30360: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -30319,7 +30368,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30322: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30371: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -30332,7 +30381,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30335: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30384: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -30390,7 +30439,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + 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:30393: $ac_file is unchanged" >&5 ++ { echo "$as_me:30442: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +@@ -30777,7 +30826,7 @@ cf_ITEM=`echo "$cf_item" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQ + (cygdll|msysdll|mingw|msvcdll) + test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6 + +-echo "${as_me:-configure}:30780: testing overriding CXX_MODEL to SHARED ..." 1>&5 ++echo "${as_me:-configure}:30829: testing overriding CXX_MODEL to SHARED ..." 1>&5 + + with_shared_cxx=yes + ;; +diff --git a/dist.mk b/dist.mk +index 3f682b53..1c29d8a3 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1502 2022/09/17 10:53:30 tom Exp $ ++# $Id: dist.mk,v 1.1503 2022/09/24 08:24:58 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220917 ++NCURSES_PATCH = 20220924 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/include/term_entry.h b/include/term_entry.h +index 503e4b8e..7425a76b 100644 +--- a/include/term_entry.h ++++ b/include/term_entry.h +@@ -33,7 +33,7 @@ + * and: Thomas E. Dickey 1998-on * + ****************************************************************************/ + +-/* $Id: term_entry.h,v 1.62 2022/05/28 17:59:42 tom Exp $ */ ++/* $Id: term_entry.h,v 1.63 2022/09/24 15:04:59 tom Exp $ */ + + /* + * term_entry.h -- interface to entry-manipulation code +@@ -135,6 +135,7 @@ struct entry { + extern NCURSES_EXPORT_VAR(ENTRY *) _nc_head; + extern NCURSES_EXPORT_VAR(ENTRY *) _nc_tail; + #define for_entry_list(qp) for (qp = _nc_head; qp; qp = qp->next) ++#define for_entry_list2(qp,q0) for (qp = q0; qp; qp = qp->next) + + #define MAX_LINE 132 + +diff --git a/menu/m_post.c b/menu/m_post.c +index 85da64b6..cb802304 100644 +--- a/menu/m_post.c ++++ b/menu/m_post.c +@@ -38,7 +38,7 @@ + + #include "menu.priv.h" + +-MODULE_ID("$Id: m_post.c,v 1.37 2022/09/03 21:40:27 tom Exp $") ++MODULE_ID("$Id: m_post.c,v 1.38 2022/09/24 09:38:44 tom Exp $") + + /*--------------------------------------------------------------------------- + | Facility : libnmenu +@@ -216,9 +216,10 @@ _nc_Draw_Menu(const MENU *menu) + + if (item != NULL) + { ++ int y = 0; ++ + do + { +- int y = 0; + ITEM *lasthor; + + wmove(menu->win, y, 0); +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index ff8d5657..1c71eddc 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.124 2022/09/10 19:54:59 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.127 2022/09/24 15:24:15 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -412,8 +412,8 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + for_entry_list(qp) { + int matchcount = 0; + +- for_entry_list(rp) { +- if (qp > rp // FIXME - pointer-comparison is wrong... ++ for_entry_list2(rp, qp->next) { ++ if (qp > rp + && check_collisions(qp->tterm.term_names, + rp->tterm.term_names, + matchcount + 1)) { +@@ -575,6 +575,7 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + qp->uses[qp->nuses - 1].link); + _nc_merge_entry(&merged, + qp->uses[qp->nuses - 1].link); ++ free(qp->uses[qp->nuses - 1].name); + } + + /* +@@ -612,13 +613,6 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + DEBUG(2, ("MERGES COMPLETED OK")); + } + +- /* +- * We'd like to free entries read in off disk at this point, but can't. +- * The merge_entry() code doesn't copy the strings in the use entries, +- * it just aliases them. If this ever changes, do a +- * free_entries(lastread) here. +- */ +- + DEBUG(2, ("RESOLUTION FINISHED")); + + if (fullresolve) { +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 3fee82a9..48c7f6d4 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 3fee82a9..48c7f6d4 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index aacb3e52..f1407649 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index c291ccf5..eb13c675 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.542 2022/09/17 10:53:30 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.543 2022/09/24 08:24:58 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0917" ++!define VERSION_MMDD "0924" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 9b8ce6af..87fa86ea 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 27e87998..4ba3b994 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index 0141bc16..dc26c4e1 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/progs/infocmp.c b/progs/infocmp.c +index c1b95088..171d794d 100644 +--- a/progs/infocmp.c ++++ b/progs/infocmp.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: infocmp.c,v 1.155 2022/09/03 23:28:48 tom Exp $") ++MODULE_ID("$Id: infocmp.c,v 1.156 2022/09/24 10:13:06 tom Exp $") + + #define MAX_STRING 1024 /* maximum formatted string */ + +@@ -905,7 +905,6 @@ analyze_string(const char *name, const char *cap, TERMTYPE2 *tp) + sizeof(buf2)); + _nc_STRNCPY(buf3, sp + csi, len); + buf3[len] = '\0'; +- len += (size_t) csi + 1; + + expansion = lookup_params(std_modes, buf2, buf3); + } +@@ -926,7 +925,6 @@ analyze_string(const char *name, const char *cap, TERMTYPE2 *tp) + sizeof(buf2)); + _nc_STRNCPY(buf3, sp + csi + 1, len); + buf3[len] = '\0'; +- len += (size_t) csi + 2; + + expansion = lookup_params(private_modes, buf2, buf3); + } +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20221015.patch b/ncurses-6.3-patch-20221015.patch new file mode 100644 index 0000000..bff6f61 --- /dev/null +++ b/ncurses-6.3-patch-20221015.patch @@ -0,0 +1,1253 @@ +From aaa5142e4bdde469fbc59d1c91455cbd0c45281a Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sat, 15 Oct 2022 23:52:49 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20221015 + ++ fix another memory-leak in tic. ++ update install-sh script from autoconf, to fix install problem for + Ada95 with Arch; as noted in + https://lists.gnu.org/archive/html/automake/2018-09/msg00005.html + there are unaddressed issues. ++ update CF_XOPEN_SOURCE, adding GNU libc suffixes for abi64, abin32, + x32 (report by Sven Joachim): ++ correct ifdef's for _nc_set_read_thread() (patch by Mikhail Korolev, + cf: 20220813). +--- + Ada95/aclocal.m4 | 6 +- + Ada95/configure | 4 +- + NEWS | 13 +- + VERSION | 2 +- + aclocal.m4 | 6 +- + configure | 2 +- + dist.mk | 4 +- + install-sh | 671 +++++++++++++++++++++---------- + ncurses/curses.priv.h | 4 +- + ncurses/tinfo/alloc_entry.c | 56 ++- + ncurses/tinfo/comp_parse.c | 11 +- + ncurses/tty/lib_tstp.c | 6 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/aclocal.m4 | 6 +- + test/configure | 2 +- + 21 files changed, 556 insertions(+), 259 deletions(-) + +diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 +index 5f7c5a6e..5636b3cd 100644 +--- a/Ada95/aclocal.m4 ++++ b/Ada95/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.195 2022/09/24 20:42:30 tom Exp $ ++dnl $Id: aclocal.m4,v 1.196 2022/10/02 23:55:56 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -5014,7 +5014,7 @@ AC_ARG_WITH(system-type, + ]) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 60 updated: 2022/09/10 15:16:16 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -5065,7 +5065,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/Ada95/configure b/Ada95/configure +index ee43a442..a3561fe1 100755 +--- a/Ada95/configure ++++ b/Ada95/configure +@@ -1,5 +1,5 @@ + #! /bin/sh +-# From configure.in Revision: 1.85 . ++# From configure.in Revision: 1.86 . + # Guess values for system-dependent variables and create Makefiles. + # Generated by Autoconf 2.52.20210509. + # +@@ -12465,7 +12465,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +diff --git a/NEWS b/NEWS +index 1c0ee42b..d387afe3 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3864 2022/10/08 16:50:03 tom Exp $ ++-- $Id: NEWS,v 1.3868 2022/10/15 19:45:12 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,17 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20221015 ++ + fix another memory-leak in tic. ++ + update install-sh script from autoconf, to fix install problem for ++ Ada95 with Arch; as noted in ++ https://lists.gnu.org/archive/html/automake/2018-09/msg00005.html ++ there are unaddressed issues. ++ + update CF_XOPEN_SOURCE, adding GNU libc suffixes for abi64, abin32, ++ x32 (report by Sven Joachim): ++ + correct ifdef's for _nc_set_read_thread() (patch by Mikhail Korolev, ++ cf: 20220813). ++ + 20221008 + + correct a switch-statement case in configure script to allow for test + builds with ABI=7. +diff --git a/VERSION b/VERSION +index 5c043d13..1b3acc0c 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20221008 ++5:0:10 6.3 20221015 +diff --git a/aclocal.m4 b/aclocal.m4 +index bf806578..4478ba88 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: aclocal.m4,v 1.1014 2022/10/01 13:24:04 tom Exp $ ++dnl $Id: aclocal.m4,v 1.1015 2022/10/02 23:55:56 tom Exp $ + dnl Macros used in NCURSES auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -9873,7 +9873,7 @@ fi + AC_SUBST(no_x11_rgb) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 61 updated: 2022/09/30 04:05:55 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -9924,7 +9924,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|linux*gnueabi|linux*gnueabihf|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/configure b/configure +index 128cca2a..b7a2d9a5 100755 +--- a/configure ++++ b/configure +@@ -9989,7 +9989,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|linux*gnueabi|linux*gnueabihf|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +diff --git a/dist.mk b/dist.mk +index fd35b793..dbb55b2c 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1506 2022/10/08 10:25:44 tom Exp $ ++# $Id: dist.mk,v 1.1507 2022/10/15 11:57:10 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20221008 ++NCURSES_PATCH = 20221015 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/install-sh b/install-sh +index 462fa9c3..ec298b53 100755 +--- a/install-sh ++++ b/install-sh +@@ -1,7 +1,8 @@ +-#! /bin/sh +-# ++#!/bin/sh + # install - install a program, script, or datafile +-# ++ ++scriptversion=2020-11-14.01; # UTC ++ + # This originates from X11R5 (mit/util/scripts/install.sh), which was + # later released in X11R6 (xc/config/util/install.sh) with the + # following copyright and license. +@@ -34,261 +35,507 @@ + # FSF changes to this file are in the public domain. + # + # Calling this script install-sh is preferred over install.sh, to prevent +-# `make' implicit rules from creating a file called install from it ++# 'make' implicit rules from creating a file called install from it + # when there is no Makefile. + # + # This script is compatible with the BSD install script, but was written +-# from scratch. It can only install one file at a time, a restriction +-# shared with many OS's install programs. ++# from scratch. ++ ++tab=' ' ++nl=' ++' ++IFS=" $tab$nl" ++ ++# Set DOITPROG to "echo" to test this script. + ++doit=${DOITPROG-} ++doit_exec=${doit:-exec} + +-# set DOITPROG to echo to test this script ++# Put in absolute file names if you don't have them in your path; ++# or use environment vars. + +-# Don't use :- since 4.3BSD and earlier shells don't like it. +-doit="${DOITPROG-}" ++chgrpprog=${CHGRPPROG-chgrp} ++chmodprog=${CHMODPROG-chmod} ++chownprog=${CHOWNPROG-chown} ++cmpprog=${CMPPROG-cmp} ++cpprog=${CPPROG-cp} ++mkdirprog=${MKDIRPROG-mkdir} ++mvprog=${MVPROG-mv} ++rmprog=${RMPROG-rm} ++stripprog=${STRIPPROG-strip} + ++posix_mkdir= + +-# put in absolute paths if you don't have them in your path; or use env. vars. ++# Desired mode of installed file. ++mode=0755 + +-mvprog="${MVPROG-mv}" +-cpprog="${CPPROG-cp}" +-chmodprog="${CHMODPROG-chmod}" +-chownprog="${CHOWNPROG-chown}" +-chgrpprog="${CHGRPPROG-chgrp}" +-stripprog="${STRIPPROG-strip}" +-rmprog="${RMPROG-rm}" +-mkdirprog="${MKDIRPROG-mkdir}" ++# Create dirs (including intermediate dirs) using mode 755. ++# This is like GNU 'install' as of coreutils 8.32 (2020). ++mkdir_umask=22 + +-transformbasename="" +-transform_arg="" +-instcmd="$mvprog" +-chmodcmd="$chmodprog 0755" +-chowncmd="" +-chgrpcmd="" +-stripcmd="" ++backupsuffix= ++chgrpcmd= ++chmodcmd=$chmodprog ++chowncmd= ++mvcmd=$mvprog + rmcmd="$rmprog -f" +-mvcmd="$mvprog" +-src="" +-dst="" +-dir_arg="" +- +-while [ x"$1" != x ]; do +- case $1 in +- -c) instcmd=$cpprog +- shift +- continue;; +- +- -d) dir_arg=true +- shift +- continue;; +- +- -m) chmodcmd="$chmodprog $2" +- shift +- shift +- continue;; +- +- -o) chowncmd="$chownprog $2" +- shift +- shift +- continue;; +- +- -g) chgrpcmd="$chgrpprog $2" +- shift +- shift +- continue;; +- +- -s) stripcmd=$stripprog +- shift +- continue;; +- +- -t=*) transformarg=`echo $1 | sed 's/-t=//'` +- shift +- continue;; +- +- -b=*) transformbasename=`echo $1 | sed 's/-b=//'` +- shift +- continue;; +- +- *) if [ x"$src" = x ] +- then +- src=$1 +- else +- # this colon is to work around a 386BSD /bin/sh bug +- : +- dst=$1 +- fi +- shift +- continue;; +- esac +-done ++stripcmd= + +-if [ x"$src" = x ] +-then +- echo "$0: no input file specified" >&2 +- exit 1 +-else +- : +-fi ++src= ++dst= ++dir_arg= ++dst_arg= + +-if [ x"$dir_arg" != x ]; then +- dst=$src +- src="" ++copy_on_change=false ++is_target_a_directory=possibly + +- if [ -d "$dst" ]; then +- instcmd=: +- chmodcmd="" +- else +- instcmd=$mkdirprog +- fi +-else ++usage="\ ++Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ++ or: $0 [OPTION]... SRCFILES... DIRECTORY ++ or: $0 [OPTION]... -t DIRECTORY SRCFILES... ++ or: $0 [OPTION]... -d DIRECTORIES... + +-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +-# might cause directories to be created, which would be especially bad +-# if $src (and thus $dsttmp) contains '*'. ++In the 1st form, copy SRCFILE to DSTFILE. ++In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. ++In the 4th, create DIRECTORIES. + +- if [ -f "$src" ] || [ -d "$src" ] +- then +- : +- else +- echo "$0: $src does not exist" >&2 +- exit 1 +- fi ++Options: ++ --help display this help and exit. ++ --version display version info and exit. + +- if [ x"$dst" = x ] +- then +- echo "$0: no destination specified" >&2 +- exit 1 +- else +- : +- fi ++ -c (ignored) ++ -C install only if different (preserve data modification time) ++ -d create directories instead of installing files. ++ -g GROUP $chgrpprog installed files to GROUP. ++ -m MODE $chmodprog installed files to MODE. ++ -o USER $chownprog installed files to USER. ++ -p pass -p to $cpprog. ++ -s $stripprog installed files. ++ -S SUFFIX attempt to back up existing files, with suffix SUFFIX. ++ -t DIRECTORY install into DIRECTORY. ++ -T report an error if DSTFILE is a directory. + +-# If destination is a directory, append the input filename; if your system +-# does not like double slashes in filenames, you may need to add some logic ++Environment variables override the default commands: ++ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG ++ RMPROG STRIPPROG + +- if [ -d "$dst" ] +- then +- dst=$dst/`basename "$src"` +- else +- : +- fi +-fi ++By default, rm is invoked with -f; when overridden with RMPROG, ++it's up to you to specify -f if you want it. + +-## this sed command emulates the dirname command +-dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` ++If -S is not specified, no backups are attempted. + +-# Make sure that the destination directory exists. +-# this part is taken from Noah Friedman's mkinstalldirs script ++Email bug reports to bug-automake@gnu.org. ++Automake home page: https://www.gnu.org/software/automake/ ++" + +-# Skip lots of stat calls in the usual case. +-if [ ! -d "$dstdir" ]; then +-defaultIFS=' +- ' +-IFS="${IFS-$defaultIFS}" ++while test $# -ne 0; do ++ case $1 in ++ -c) ;; + +-oIFS=$IFS +-# Some sh's can't handle IFS=/ for some reason. +-IFS='%' +-set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` +-IFS=$oIFS ++ -C) copy_on_change=true;; + +-pathcomp='' ++ -d) dir_arg=true;; + +-while [ $# -ne 0 ] ; do +- pathcomp=$pathcomp$1 +- shift ++ -g) chgrpcmd="$chgrpprog $2" ++ shift;; + +- if [ ! -d "$pathcomp" ] ; +- then +- $mkdirprog "$pathcomp" +- else +- : +- fi ++ --help) echo "$usage"; exit $?;; + +- pathcomp=$pathcomp/ +-done +-fi ++ -m) mode=$2 ++ case $mode in ++ *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) ++ echo "$0: invalid mode: $mode" >&2 ++ exit 1;; ++ esac ++ shift;; + +-if [ x"$dir_arg" != x ] +-then +- $doit $instcmd "$dst" && ++ -o) chowncmd="$chownprog $2" ++ shift;; + +- if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi && +- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi && +- if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi && +- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi +-else ++ -p) cpprog="$cpprog -p";; + +-# If we're going to rename the final executable, determine the name now. ++ -s) stripcmd=$stripprog;; + +- if [ x"$transformarg" = x ] +- then +- dstfile=`basename "$dst"` +- else +- dstfile=`basename "$dst" $transformbasename | +- sed $transformarg`$transformbasename +- fi ++ -S) backupsuffix="$2" ++ shift;; + +-# don't allow the sed command to completely eliminate the filename ++ -t) ++ is_target_a_directory=always ++ dst_arg=$2 ++ # Protect names problematic for 'test' and other utilities. ++ case $dst_arg in ++ -* | [=\(\)!]) dst_arg=./$dst_arg;; ++ esac ++ shift;; + +- if [ x"$dstfile" = x ] +- then +- dstfile=`basename "$dst"` +- else +- : +- fi ++ -T) is_target_a_directory=never;; + +-# Make a couple of temp file names in the proper directory. ++ --version) echo "$0 $scriptversion"; exit $?;; + +- dsttmp=$dstdir/#inst.$$# +- rmtmp=$dstdir/#rm.$$# ++ --) shift ++ break;; + +-# Trap to clean up temp files at exit. ++ -*) echo "$0: invalid option: $1" >&2 ++ exit 1;; + +- trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 +- trap '(exit $?); exit' 1 2 13 15 ++ *) break;; ++ esac ++ shift ++done + +-# Move or copy the file name to the temp name ++# We allow the use of options -d and -T together, by making -d ++# take the precedence; this is for compatibility with GNU install. + +- $doit $instcmd "$src" "$dsttmp" && ++if test -n "$dir_arg"; then ++ if test -n "$dst_arg"; then ++ echo "$0: target directory not allowed when installing a directory." >&2 ++ exit 1 ++ fi ++fi + +-# and set any options; do chmod last to preserve setuid bits ++if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then ++ # When -d is used, all remaining arguments are directories to create. ++ # When -t is used, the destination is already specified. ++ # Otherwise, the last argument is the destination. Remove it from $@. ++ for arg ++ do ++ if test -n "$dst_arg"; then ++ # $@ is not empty: it contains at least $arg. ++ set fnord "$@" "$dst_arg" ++ shift # fnord ++ fi ++ shift # arg ++ dst_arg=$arg ++ # Protect names problematic for 'test' and other utilities. ++ case $dst_arg in ++ -* | [=\(\)!]) dst_arg=./$dst_arg;; ++ esac ++ done ++fi + +-# If any of these fail, we abort the whole thing. If we want to +-# ignore errors from any of these, just make sure not to ignore +-# errors from the above "$doit $instcmd $src $dsttmp" command. ++if test $# -eq 0; then ++ if test -z "$dir_arg"; then ++ echo "$0: no input file specified." >&2 ++ exit 1 ++ fi ++ # It's OK to call 'install-sh -d' without argument. ++ # This can happen when creating conditional directories. ++ exit 0 ++fi + +- if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi && +- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi && +- if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi && +- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi && ++if test -z "$dir_arg"; then ++ if test $# -gt 1 || test "$is_target_a_directory" = always; then ++ if test ! -d "$dst_arg"; then ++ echo "$0: $dst_arg: Is not a directory." >&2 ++ exit 1 ++ fi ++ fi ++fi + +-# Now remove or move aside any old file at destination location. We try this +-# two ways since rm can't unlink itself on some systems and the destination +-# file might be busy for other reasons. In this case, the final cleanup +-# might fail but the new file should still install successfully. ++if test -z "$dir_arg"; then ++ do_exit='(exit $ret); exit $ret' ++ trap "ret=129; $do_exit" 1 ++ trap "ret=130; $do_exit" 2 ++ trap "ret=141; $do_exit" 13 ++ trap "ret=143; $do_exit" 15 ++ ++ # Set umask so as not to create temps with too-generous modes. ++ # However, 'strip' requires both read and write access to temps. ++ case $mode in ++ # Optimize common cases. ++ *644) cp_umask=133;; ++ *755) cp_umask=22;; ++ ++ *[0-7]) ++ if test -z "$stripcmd"; then ++ u_plus_rw= ++ else ++ u_plus_rw='% 200' ++ fi ++ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; ++ *) ++ if test -z "$stripcmd"; then ++ u_plus_rw= ++ else ++ u_plus_rw=,u+rw ++ fi ++ cp_umask=$mode$u_plus_rw;; ++ esac ++fi + +-{ +- if [ -f "$dstdir/$dstfile" ] ++for src ++do ++ # Protect names problematic for 'test' and other utilities. ++ case $src in ++ -* | [=\(\)!]) src=./$src;; ++ esac ++ ++ if test -n "$dir_arg"; then ++ dst=$src ++ dstdir=$dst ++ test -d "$dstdir" ++ dstdir_status=$? ++ # Don't chown directories that already exist. ++ if test $dstdir_status = 0; then ++ chowncmd="" ++ fi ++ else ++ ++ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ++ # might cause directories to be created, which would be especially bad ++ # if $src (and thus $dsttmp) contains '*'. ++ if test ! -f "$src" && test ! -d "$src"; then ++ echo "$0: $src does not exist." >&2 ++ exit 1 ++ fi ++ ++ if test -z "$dst_arg"; then ++ echo "$0: no destination specified." >&2 ++ exit 1 ++ fi ++ dst=$dst_arg ++ ++ # If destination is a directory, append the input filename. ++ if test -d "$dst"; then ++ if test "$is_target_a_directory" = never; then ++ echo "$0: $dst_arg: Is a directory" >&2 ++ exit 1 ++ fi ++ dstdir=$dst ++ dstbase=`basename "$src"` ++ case $dst in ++ */) dst=$dst$dstbase;; ++ *) dst=$dst/$dstbase;; ++ esac ++ dstdir_status=0 ++ else ++ dstdir=`dirname "$dst"` ++ test -d "$dstdir" ++ dstdir_status=$? ++ fi ++ fi ++ ++ case $dstdir in ++ */) dstdirslash=$dstdir;; ++ *) dstdirslash=$dstdir/;; ++ esac ++ ++ obsolete_mkdir_used=false ++ ++ if test $dstdir_status != 0; then ++ case $posix_mkdir in ++ '') ++ # With -d, create the new directory with the user-specified mode. ++ # Otherwise, rely on $mkdir_umask. ++ if test -n "$dir_arg"; then ++ mkdir_mode=-m$mode ++ else ++ mkdir_mode= ++ fi ++ ++ posix_mkdir=false ++ # The $RANDOM variable is not portable (e.g., dash). Use it ++ # here however when possible just to lower collision chance. ++ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ ++ ++ trap ' ++ ret=$? ++ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null ++ exit $ret ++ ' 0 ++ ++ # Because "mkdir -p" follows existing symlinks and we likely work ++ # directly in world-writeable /tmp, make sure that the '$tmpdir' ++ # directory is successfully created first before we actually test ++ # 'mkdir -p'. ++ if (umask $mkdir_umask && ++ $mkdirprog $mkdir_mode "$tmpdir" && ++ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then +- $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null || +- $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null || +- { +- echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 +- (exit 1); exit +- } ++ if test -z "$dir_arg" || { ++ # Check for POSIX incompatibilities with -m. ++ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or ++ # other-writable bit of parent directory when it shouldn't. ++ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ++ test_tmpdir="$tmpdir/a" ++ ls_ld_tmpdir=`ls -ld "$test_tmpdir"` ++ case $ls_ld_tmpdir in ++ d????-?r-*) different_mode=700;; ++ d????-?--*) different_mode=755;; ++ *) false;; ++ esac && ++ $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ++ ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` ++ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" ++ } ++ } ++ then posix_mkdir=: ++ fi ++ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else +- : ++ # Remove any dirs left behind by ancient mkdir implementations. ++ rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi +-} && +- +-# Now rename the file to the real destination. +- +- $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" +- +-fi && ++ trap '' 0;; ++ esac + +-# The final little trick to "correctly" pass the exit status to the exit trap. ++ if ++ $posix_mkdir && ( ++ umask $mkdir_umask && ++ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ++ ) ++ then : ++ else ++ ++ # mkdir does not conform to POSIX, ++ # or it failed possibly due to a race condition. Create the ++ # directory the slow way, step by step, checking for races as we go. ++ ++ case $dstdir in ++ /*) prefix='/';; ++ [-=\(\)!]*) prefix='./';; ++ *) prefix='';; ++ esac ++ ++ oIFS=$IFS ++ IFS=/ ++ set -f ++ set fnord $dstdir ++ shift ++ set +f ++ IFS=$oIFS ++ ++ prefixes= ++ ++ for d ++ do ++ test X"$d" = X && continue ++ ++ prefix=$prefix$d ++ if test -d "$prefix"; then ++ prefixes= ++ else ++ if $posix_mkdir; then ++ (umask $mkdir_umask && ++ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break ++ # Don't fail if two instances are running concurrently. ++ test -d "$prefix" || exit 1 ++ else ++ case $prefix in ++ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; ++ *) qprefix=$prefix;; ++ esac ++ prefixes="$prefixes '$qprefix'" ++ fi ++ fi ++ prefix=$prefix/ ++ done ++ ++ if test -n "$prefixes"; then ++ # Don't fail if two instances are running concurrently. ++ (umask $mkdir_umask && ++ eval "\$doit_exec \$mkdirprog $prefixes") || ++ test -d "$dstdir" || exit 1 ++ obsolete_mkdir_used=true ++ fi ++ fi ++ fi ++ ++ if test -n "$dir_arg"; then ++ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && ++ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && ++ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || ++ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 ++ else ++ ++ # Make a couple of temp file names in the proper directory. ++ dsttmp=${dstdirslash}_inst.$$_ ++ rmtmp=${dstdirslash}_rm.$$_ ++ ++ # Trap to clean up those temp files at exit. ++ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 ++ ++ # Copy the file name to the temp name. ++ (umask $cp_umask && ++ { test -z "$stripcmd" || { ++ # Create $dsttmp read-write so that cp doesn't create it read-only, ++ # which would cause strip to fail. ++ if test -z "$doit"; then ++ : >"$dsttmp" # No need to fork-exec 'touch'. ++ else ++ $doit touch "$dsttmp" ++ fi ++ } ++ } && ++ $doit_exec $cpprog "$src" "$dsttmp") && ++ ++ # and set any options; do chmod last to preserve setuid bits. ++ # ++ # If any of these fail, we abort the whole thing. If we want to ++ # ignore errors from any of these, just make sure not to ignore ++ # errors from the above "$doit $cpprog $src $dsttmp" command. ++ # ++ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && ++ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && ++ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && ++ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && ++ ++ # If -C, don't bother to copy if it wouldn't change the file. ++ if $copy_on_change && ++ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && ++ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && ++ set -f && ++ set X $old && old=:$2:$4:$5:$6 && ++ set X $new && new=:$2:$4:$5:$6 && ++ set +f && ++ test "$old" = "$new" && ++ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 ++ then ++ rm -f "$dsttmp" ++ else ++ # If $backupsuffix is set, and the file being installed ++ # already exists, attempt a backup. Don't worry if it fails, ++ # e.g., if mv doesn't support -f. ++ if test -n "$backupsuffix" && test -f "$dst"; then ++ $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null ++ fi ++ ++ # Rename the file to the real destination. ++ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || ++ ++ # The rename failed, perhaps because mv can't rename something else ++ # to itself, or perhaps because mv is so ancient that it does not ++ # support -f. ++ { ++ # Now remove or move aside any old file at destination location. ++ # We try this two ways since rm can't unlink itself on some ++ # systems and the destination file might be busy for other ++ # reasons. In this case, the final cleanup might fail but the new ++ # file should still install successfully. ++ { ++ test ! -f "$dst" || ++ $doit $rmcmd "$dst" 2>/dev/null || ++ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && ++ { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } ++ } || ++ { echo "$0: cannot unlink or rename $dst" >&2 ++ (exit 1); exit 1 ++ } ++ } && ++ ++ # Now rename the file to the real destination. ++ $doit $mvcmd "$dsttmp" "$dst" ++ } ++ fi || exit 1 ++ ++ trap '' 0 ++ fi ++done + +-{ +- (exit 0); exit +-} ++# Local variables: ++# eval: (add-hook 'before-save-hook 'time-stamp) ++# time-stamp-start: "scriptversion=" ++# time-stamp-format: "%:y-%02m-%02d.%02H" ++# time-stamp-time-zone: "UTC0" ++# time-stamp-end: "; # UTC" ++# End: +diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h +index 1e8ec70b..e33fd711 100644 +--- a/ncurses/curses.priv.h ++++ b/ncurses/curses.priv.h +@@ -35,7 +35,7 @@ + ****************************************************************************/ + + /* +- * $Id: curses.priv.h,v 1.651 2022/08/13 14:35:01 tom Exp $ ++ * $Id: curses.priv.h,v 1.652 2022/10/15 13:09:05 Mikhail.Korolev Exp $ + * + * curses.priv.h + * +@@ -674,7 +674,7 @@ extern NCURSES_EXPORT(int) _nc_sigprocmask(int, const sigset_t *, sigset_t *); + #define _nc_unlock_global(name) /* nothing */ + #endif /* USE_PTHREADS */ + +-#if USE_PTHREADS_EINTR || defined(EXP_WIN32_DRIVER) ++#if USE_PTHREADS_EINTR + extern NCURSES_EXPORT(void) _nc_set_read_thread(bool); + #else + #define _nc_set_read_thread(enable) /* nothing */ +diff --git a/ncurses/tinfo/alloc_entry.c b/ncurses/tinfo/alloc_entry.c +index 90febbbd..d5148ca6 100644 +--- a/ncurses/tinfo/alloc_entry.c ++++ b/ncurses/tinfo/alloc_entry.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: alloc_entry.c,v 1.76 2022/09/17 21:45:44 tom Exp $") ++MODULE_ID("$Id: alloc_entry.c,v 1.77 2022/10/15 19:37:33 tom Exp $") + + #define ABSENT_OFFSET -1 + #define CANCELLED_OFFSET -2 +@@ -251,8 +251,8 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + TERMTYPE2 *from = &(source->tterm); + #if NCURSES_XNAMES + TERMTYPE2 copy; +- size_t str_size = 0; +- char *str_table = NULL; ++ size_t str_size; ++ char *str_table; + #endif + unsigned i; + +@@ -263,7 +263,10 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + _nc_copy_termtype2(©, from); + from = © + _nc_align_termtype(to, from); +- str_size += strlen(to->term_names) + 1; ++ /* ++ * compute the maximum size of the string-table. ++ */ ++ str_size = strlen(to->term_names) + 1; + for_each_string(i, from) { + if (VALID_STRING(from->Strings[i])) + str_size += strlen(from->Strings[i]) + 1; +@@ -303,6 +306,46 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + to->str_table = str_table; + free(from->str_table); + } ++ /* ++ * Do the same for the extended-strings (i.e., lists of capabilities). ++ */ ++ str_size = 0; ++ for (i = 0; i < NUM_EXT_NAMES(from); ++i) { ++ if (VALID_STRING(from->ext_Names[i])) ++ str_size += strlen(from->ext_Names[i]) + 1; ++ } ++ for (i = 0; i < NUM_EXT_NAMES(to); ++i) { ++ if (VALID_STRING(to->ext_Names[i])) ++ str_size += strlen(to->ext_Names[i]) + 1; ++ } ++ /* allocate a string-table large enough for both source/target, and ++ * copy all of the strings into that table. In the merge, we will ++ * select from the original source/target lists to construct a new ++ * target list. ++ */ ++ if (str_size != 0) { ++ char *str_copied; ++ if ((str_table = malloc(str_size)) == NULL) ++ _nc_err_abort(MSG_NO_MEMORY); ++ str_copied = str_table; ++ for (i = 0; i < NUM_EXT_NAMES(from); ++i) { ++ if (VALID_STRING(from->ext_Names[i])) { ++ strcpy(str_copied, from->ext_Names[i]); ++ from->ext_Names[i] = str_copied; ++ str_copied += strlen(str_copied) + 1; ++ } ++ } ++ for (i = 0; i < NUM_EXT_NAMES(to); ++i) { ++ if (VALID_STRING(to->ext_Names[i])) { ++ strcpy(str_copied, to->ext_Names[i]); ++ to->ext_Names[i] = str_copied; ++ str_copied += strlen(str_copied) + 1; ++ } ++ } ++ free(to->ext_str_table); ++ to->ext_str_table = str_table; ++ free(from->ext_str_table); ++ } + #endif + for_each_boolean(i, from) { + if (to->Booleans[i] != (NCURSES_SBOOL) CANCELLED_BOOLEAN) { +@@ -342,10 +385,7 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + } + } + #if NCURSES_XNAMES +- /* Discard the data allocated in _nc_copy_termtype2, but do not use +- * _nc_free_termtype2 because that frees the string-table (which is +- * not allocated by _nc_copy_termtype2). +- */ ++ /* cleanup */ + free(copy.Booleans); + free(copy.Numbers); + free(copy.Strings); +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 1c71eddc..c86cf59d 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.127 2022/09/24 15:24:15 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.128 2022/10/15 19:31:00 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -571,11 +571,10 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + * (reverse) order. + */ + for (; qp->nuses; qp->nuses--) { +- validate_merge(&merged, +- qp->uses[qp->nuses - 1].link); +- _nc_merge_entry(&merged, +- qp->uses[qp->nuses - 1].link); +- free(qp->uses[qp->nuses - 1].name); ++ int n = qp->nuses - 1; ++ validate_merge(&merged, qp->uses[n].link); ++ _nc_merge_entry(&merged, qp->uses[n].link); ++ free(qp->uses[n].name); + } + + /* +diff --git a/ncurses/tty/lib_tstp.c b/ncurses/tty/lib_tstp.c +index ec086ca7..f228f72b 100644 +--- a/ncurses/tty/lib_tstp.c ++++ b/ncurses/tty/lib_tstp.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: lib_tstp.c,v 1.52 2022/08/13 14:36:43 tom Exp $") ++MODULE_ID("$Id: lib_tstp.c,v 1.53 2022/10/15 13:09:05 Mikhail.Korolev Exp $") + + #if defined(SIGTSTP) && (HAVE_SIGACTION || HAVE_SIGVEC) + #define USE_SIGTSTP 1 +@@ -283,8 +283,6 @@ handle_SIGINT(int sig) + _exit(EXIT_FAILURE); + } + +-#if USE_SIGWINCH +- + # ifndef _nc_set_read_thread + NCURSES_EXPORT(void) + _nc_set_read_thread(bool enable) +@@ -300,6 +298,8 @@ _nc_set_read_thread(bool enable) + } + # endif + ++#if USE_SIGWINCH ++ + static void + handle_SIGWINCH(int sig GCC_UNUSED) + { +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 75a6e552..38bf5616 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 75a6e552..38bf5616 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 31b14a14..f0a4cea0 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 02acf867..5e966c7b 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.545 2022/10/08 10:25:44 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.546 2022/10/15 11:57:10 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "1008" ++!define VERSION_MMDD "1015" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 7645a57c..b5e6e7ce 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 20f06a1a..4ee4da1a 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index af9e0dfa..a9b645ff 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/aclocal.m4 b/test/aclocal.m4 +index fac04b27..88df01a2 100644 +--- a/test/aclocal.m4 ++++ b/test/aclocal.m4 +@@ -27,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written * + dnl authorization. * + dnl*************************************************************************** + dnl +-dnl $Id: aclocal.m4,v 1.207 2022/09/10 19:31:11 tom Exp $ ++dnl $Id: aclocal.m4,v 1.208 2022/10/02 23:55:56 tom Exp $ + dnl + dnl Author: Thomas E. Dickey + dnl +@@ -4347,7 +4347,7 @@ esac + + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 60 updated: 2022/09/10 15:16:16 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -4398,7 +4398,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/test/configure b/test/configure +index 6cc12021..e9ac6030 100755 +--- a/test/configure ++++ b/test/configure +@@ -4044,7 +4044,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-- +2.27.0 + diff --git a/ncurses.spec b/ncurses.spec index 46f662c..1ca8bf5 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,6 +1,6 @@ Name: ncurses Version: 6.3 -Release: 5 +Release: 6 Summary: Terminal control library License: MIT URL: https://invisible-island.net/ncurses/ncurses.html @@ -11,6 +11,11 @@ Patch9: ncurses-libs.patch Patch11: ncurses-urxvt.patch Patch12: ncurses-kbs.patch Patch13: backport-CVE-2022-29458.patch +Patch14: ncurses-6.3-patch-20220423.patch +Patch15: ncurses-6.3-patch-20220507.patch +Patch16: ncurses-6.3-patch-20220521.patch +Patch17: ncurses-6.3-patch-20220924.patch +Patch18: ncurses-6.3-patch-20221015.patch BuildRequires: gcc gcc-c++ gpm-devel pkgconfig @@ -242,6 +247,12 @@ xz NEWS %{_mandir}/man7/* %changelog +* Thu Nov 29 2022 wangjun - 6.3-6 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:intergrate the memory leakage patch from the upstream community + * Thu Nov 10 2022 yanglu - 6.3-5 - Type:bugfix - CVE:NA -- Gitee From 0153039d2d7749a7fa069b8dd57b7e2399774d7e Mon Sep 17 00:00:00 2001 From: wangjun Date: Tue, 29 Nov 2022 11:25:11 +0800 Subject: [PATCH 3/3] intergrate the memory leakage patch from upstream community. --- ncurses-6.3-patch-20220423.patch | 328 + ncurses-6.3-patch-20220507.patch | 842 ++ ncurses-6.3-patch-20220521.patch | 959 ++ ncurses-6.3-patch-20220924.patch | 22144 +++++++++++++++++++++++++++++ ncurses-6.3-patch-20221015.patch | 1253 ++ ncurses.spec | 13 +- 6 files changed, 25538 insertions(+), 1 deletion(-) create mode 100644 ncurses-6.3-patch-20220423.patch create mode 100644 ncurses-6.3-patch-20220507.patch create mode 100644 ncurses-6.3-patch-20220521.patch create mode 100644 ncurses-6.3-patch-20220924.patch create mode 100644 ncurses-6.3-patch-20221015.patch diff --git a/ncurses-6.3-patch-20220423.patch b/ncurses-6.3-patch-20220423.patch new file mode 100644 index 0000000..d31b389 --- /dev/null +++ b/ncurses-6.3-patch-20220423.patch @@ -0,0 +1,328 @@ +From 20db1fb41ec91cd8a1f528e770362092c5403378 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 24 Apr 2022 00:17:21 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220423 + ++ in-progress work on invalid_merge(), disable it (cf: 20220402). ++ fix memory leak in _nc_tic_dir() when called from _nc_set_writedir(). ++ fix memory leak in tic when "-c" option is used. +--- + NEWS | 7 ++++++- + VERSION | 2 +- + dist.mk | 4 ++-- + ncurses/tinfo/comp_parse.c | 12 ++++++++++-- + ncurses/tinfo/db_iterator.c | 17 +++++++++++++---- + ncurses/tinfo/write_entry.c | 4 ++-- + package/debian-mingw/changelog | 4 ++-- + package/debian-mingw64/changelog | 4 ++-- + package/debian/changelog | 4 ++-- + package/mingw-ncurses.nsi | 4 ++-- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + progs/tic.c | 6 +++--- + 14 files changed, 48 insertions(+), 26 deletions(-) + +diff --git a/NEWS b/NEWS +index 4e47245a..0c1a85a3 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3796 2022/04/16 23:31:41 tom Exp $ ++-- $Id: NEWS,v 1.3798 2022/04/23 23:26:44 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,11 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220423 ++ + in-progress work on invalid_merge(), disable it (cf: 20220402). ++ + fix memory leak in _nc_tic_dir() when called from _nc_set_writedir(). ++ + fix memory leak in tic when "-c" option is used. ++ + 20220416 + + add a limit-check to guard against corrupt terminfo data + (report/testcase by NCNIPC of China). +diff --git a/VERSION b/VERSION +index 687f5313..d25d1348 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220416 ++5:0:10 6.3 20220423 +diff --git a/dist.mk b/dist.mk +index bc97ee6a..28d52954 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1475 2022/04/16 12:59:30 tom Exp $ ++# $Id: dist.mk,v 1.1476 2022/04/23 12:44:18 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220416 ++NCURSES_PATCH = 20220423 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 7d02a90c..4951377f 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.114 2022/04/02 22:13:54 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.116 2022/04/23 23:23:38 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -266,7 +266,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + _nc_suppress_warnings = oldsuppress; + } + +-#if NCURSES_XNAMES ++#if 0 && NCURSES_XNAMES + static unsigned + find_capname(TERMTYPE2 *p, const char *name) + { +@@ -631,6 +631,14 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + + _nc_check_termtype2(&qp->tterm, literal); + ++ /* ++ * Checking calls tparm, which can allocate memory. Fix leaks. ++ */ ++#define TPS(name) fake_tm.tparm_state.name ++ FreeAndNull(TPS(out_buff)); ++ FreeAndNull(TPS(fmt_buff)); ++#undef TPS ++ + _nc_set_screen(save_SP); + set_curterm(save_tm); + } else { +diff --git a/ncurses/tinfo/db_iterator.c b/ncurses/tinfo/db_iterator.c +index f0726682..e69e0f34 100644 +--- a/ncurses/tinfo/db_iterator.c ++++ b/ncurses/tinfo/db_iterator.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2018,2020 Thomas E. Dickey * ++ * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2006-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -44,7 +44,7 @@ + #include + #endif + +-MODULE_ID("$Id: db_iterator.c,v 1.48 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: db_iterator.c,v 1.49 2022/04/23 20:03:15 tom Exp $") + + #define HaveTicDirectory _nc_globals.have_tic_directory + #define KeepTicDirectory _nc_globals.keep_tic_directory +@@ -202,6 +202,13 @@ free_cache(void) + FreeAndNull(my_list); + } + ++static void ++update_tic_dir(const char *update) ++{ ++ free((char *) TicDirectory); ++ TicDirectory = update; ++} ++ + /* + * Record the "official" location of the terminfo directory, according to + * the place where we're writing to, or the normal default, if not. +@@ -211,8 +218,9 @@ _nc_tic_dir(const char *path) + { + T(("_nc_tic_dir %s", NonNull(path))); + if (!KeepTicDirectory) { +- if (path != 0) { +- TicDirectory = path; ++ if (path != NULL) { ++ if (path != TicDirectory) ++ update_tic_dir(strdup(path)); + HaveTicDirectory = TRUE; + } else if (HaveTicDirectory == 0) { + if (use_terminfo_vars()) { +@@ -444,5 +452,6 @@ _nc_db_iterator_leaks(void) + FreeIfNeeded(my_vars[which].value); + my_vars[which].value = 0; + } ++ update_tic_dir(NULL); + } + #endif +diff --git a/ncurses/tinfo/write_entry.c b/ncurses/tinfo/write_entry.c +index 05fea946..e1baf9e2 100644 +--- a/ncurses/tinfo/write_entry.c ++++ b/ncurses/tinfo/write_entry.c +@@ -51,7 +51,7 @@ + #define TRACE_NUM(n) /* nothing */ + #endif + +-MODULE_ID("$Id: write_entry.c,v 1.119 2022/02/26 20:59:58 tom Exp $") ++MODULE_ID("$Id: write_entry.c,v 1.120 2022/04/23 19:59:10 tom Exp $") + + static int total_written; + static int total_parts; +@@ -248,7 +248,7 @@ _nc_set_writedir(const char *dir) + || getcwd(actual, sizeof(actual)) == 0) + _nc_err_abort("%s: not a directory", destination); + #endif +- _nc_keep_tic_dir(strdup(actual)); ++ _nc_keep_tic_dir(actual); + } + + /* +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 03bde704..2a2f2312 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 03bde704..2a2f2312 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 3ac34a1e..8847c82c 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220416) unstable; urgency=low ++ncurses6 (6.3+20220423) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 16 Apr 2022 08:59:30 -0400 ++ -- Thomas E. Dickey Sat, 23 Apr 2022 08:44:18 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 6dd8ba23..b92882c3 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.515 2022/04/16 12:59:30 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.516 2022/04/23 12:44:18 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0416" ++!define VERSION_MMDD "0423" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 1028ce58..9537593d 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 43c39805..e9e42a11 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index 8a57c8c8..d5529f16 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220416 ++Release: 20220423 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/progs/tic.c b/progs/tic.c +index c8736c30..152010d2 100644 +--- a/progs/tic.c ++++ b/progs/tic.c +@@ -49,7 +49,7 @@ + #include + #include + +-MODULE_ID("$Id: tic.c,v 1.310 2022/04/09 22:17:45 tom Exp $") ++MODULE_ID("$Id: tic.c,v 1.311 2022/04/23 19:47:57 tom Exp $") + + #define STDIN_NAME "" + +@@ -644,7 +644,7 @@ show_databases(const char *outdir) + const char *tried = 0; + + if (outdir == NULL) { +- outdir = _nc_tic_dir(0); ++ outdir = _nc_tic_dir(NULL); + } + if ((result = valid_db_path(outdir)) != 0) { + printf("%s\n", result); +@@ -1081,7 +1081,7 @@ main(int argc, char *argv[]) + if (total != 0) + fprintf(log_fp, "%d entries written to %s\n", + total, +- _nc_tic_dir((char *) 0)); ++ _nc_tic_dir(NULL)); + else + fprintf(log_fp, "No entries written\n"); + } +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220507.patch b/ncurses-6.3-patch-20220507.patch new file mode 100644 index 0000000..bb06617 --- /dev/null +++ b/ncurses-6.3-patch-20220507.patch @@ -0,0 +1,842 @@ +From f8401f5e8669eadd551fde12da7de661c18fa4f2 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 8 May 2022 00:52:05 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220507 + ++ add test/test_mouse.c (patch by Leonid S Usov). ++ add a few debug-traces for tic, fix a couple of memory-leaks. +--- + MANIFEST | 1 + + NEWS | 6 +- + VERSION | 2 +- + dist.mk | 4 +- + ncurses/tinfo/alloc_entry.c | 11 +- + ncurses/tinfo/alloc_ttype.c | 25 +++- + ncurses/tinfo/comp_parse.c | 14 +- + ncurses/tinfo/comp_scan.c | 4 +- + ncurses/tinfo/entries.c | 8 +- + ncurses/tinfo/parse_entry.c | 8 +- + ncurses/tinfo/read_entry.c | 4 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/modules | 3 +- + test/programs | 3 +- + test/test_mouse.c | 244 +++++++++++++++++++++++++++++++ + 21 files changed, 316 insertions(+), 43 deletions(-) + create mode 100644 test/test_mouse.c + +diff --git a/MANIFEST b/MANIFEST +index ff14eb8e..8c3a1dc1 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -1220,6 +1220,7 @@ + ./test/test_getstr.c + ./test/test_instr.c + ./test/test_inwstr.c ++./test/test_mouse.c + ./test/test_opaque.c + ./test/test_setupterm.c + ./test/test_sgr.c +diff --git a/NEWS b/NEWS +index aad5f0d4..bc881eb7 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3803 2022/05/01 15:16:36 tom Exp $ ++-- $Id: NEWS,v 1.3805 2022/05/07 22:42:19 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,10 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220507 ++ + add test/test_mouse.c (patch by Leonid S Usov). ++ + add a few debug-traces for tic, fix a couple of memory-leaks. ++ + 20220501 + + build-fix for debug-traces (report/patch by Chris Clayton). + +diff --git a/VERSION b/VERSION +index 7996e30d..59123a31 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220501 ++5:0:10 6.3 20220507 +diff --git a/dist.mk b/dist.mk +index 85c204db..5c0e01ad 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1478 2022/05/01 10:28:56 tom Exp $ ++# $Id: dist.mk,v 1.1479 2022/05/07 11:09:45 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220501 ++NCURSES_PATCH = 20220507 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/tinfo/alloc_entry.c b/ncurses/tinfo/alloc_entry.c +index 48df0fd6..10c4fc75 100644 +--- a/ncurses/tinfo/alloc_entry.c ++++ b/ncurses/tinfo/alloc_entry.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: alloc_entry.c,v 1.71 2022/04/30 18:36:01 tom Exp $") ++MODULE_ID("$Id: alloc_entry.c,v 1.73 2022/05/08 00:11:44 tom Exp $") + + #define ABSENT_OFFSET -1 + #define CANCELLED_OFFSET -2 +@@ -60,7 +60,7 @@ NCURSES_EXPORT(void) + _nc_init_entry(ENTRY * const tp) + /* initialize a terminal type data block */ + { +- DEBUG(2, (T_CALLED("_nc_init_entry(tp=%p)"), tp)); ++ DEBUG(2, (T_CALLED("_nc_init_entry(tp=%p)"), (void *) tp)); + + if (tp == NULL) { + #if NO_LEAKS +@@ -88,7 +88,7 @@ _nc_copy_entry(ENTRY * oldp) + { + ENTRY *newp; + +- DEBUG(2, (T_CALLED("_nc_copy_entry(oldp=%p)"), oldp)); ++ DEBUG(2, (T_CALLED("_nc_copy_entry(oldp=%p)"), (void *) oldp)); + + newp = typeCalloc(ENTRY, 1); + if (newp != NULL) { +@@ -96,7 +96,7 @@ _nc_copy_entry(ENTRY * oldp) + _nc_copy_termtype2(&(newp->tterm), &(oldp->tterm)); + } + +- DEBUG(2, (T_RETURN("%p"), newp)); ++ DEBUG(2, (T_RETURN("%p"), (void *) newp)); + return (newp); + } + +@@ -144,6 +144,8 @@ _nc_wrap_entry(ENTRY * const ep, bool copy_strings) + unsigned nuses; + TERMTYPE2 *tp; + ++ DEBUG(2, (T_CALLED("_nc_wrap_entry(ep=%p, copy_strings=%d)"), (void *) ++ ep, copy_strings)); + if (ep == NULL || stringbuf == NULL) + _nc_err_abort("_nc_wrap_entry called without initialization"); + +@@ -236,6 +238,7 @@ _nc_wrap_entry(ENTRY * const ep, bool copy_strings) + else + ep->uses[i].name = (tp->str_table + useoffsets[i]); + } ++ DEBUG(2, (T_RETURN(""))); + } + + NCURSES_EXPORT(void) +diff --git a/ncurses/tinfo/alloc_ttype.c b/ncurses/tinfo/alloc_ttype.c +index eef8170c..9f866323 100644 +--- a/ncurses/tinfo/alloc_ttype.c ++++ b/ncurses/tinfo/alloc_ttype.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: alloc_ttype.c,v 1.37 2022/04/30 17:00:05 tom Exp $") ++MODULE_ID("$Id: alloc_ttype.c,v 1.40 2022/05/08 00:11:44 tom Exp $") + + #if NCURSES_XNAMES + /* +@@ -429,7 +429,7 @@ _nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from) + na = to ? ((int) NUM_EXT_NAMES(to)) : 0; + nb = from ? ((int) NUM_EXT_NAMES(from)) : 0; + +- DEBUG(2, (T_CALLED("align_termtype to(%d:%s), from(%d:%s)"), ++ DEBUG(2, (T_CALLED("_nc_align_termtype to(%d:%s), from(%d:%s)"), + na, to ? NonNull(to->term_names) : "?", + nb, from ? NonNull(from->term_names) : "?")); + +@@ -450,8 +450,10 @@ _nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from) + break; + } + } +- if (same) ++ if (same) { ++ DEBUG(2, (T_RETURN(""))); + return; ++ } + } + /* + * This is where we pay for having a simple extension representation. +@@ -533,7 +535,8 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + int *newptr = 0; + #endif + +- DEBUG(2, (T_CALLED("copy_termtype(dst=%p, src=%p, mode=%d)"), dst, src, mode)); ++ DEBUG(2, (T_CALLED("copy_termtype(dst=%p, src=%p, mode=%d)"), (void *) ++ dst, (const void *) src, mode)); + *dst = *src; /* ...to copy the sizes and string-tables */ + + TYPE_MALLOC(NCURSES_SBOOL, NUM_BOOLEANS(dst), dst->Booleans); +@@ -549,6 +552,11 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + new_table = NULL; + for (pass = 0; pass < 2; ++pass) { + size_t str_size = 0; ++ if (pass) { ++ dst->term_names = new_table + str_size; ++ strcpy(dst->term_names + str_size, src->term_names); ++ } ++ str_size += strlen(src->term_names) + 1; + for (i = 0; i < NUM_STRINGS(dst); ++i) { + if (VALID_STRING(src->Strings[i])) { + if (pass) { +@@ -646,7 +654,8 @@ copy_termtype(TERMTYPE2 *dst, const TERMTYPE2 *src, int mode) + NCURSES_EXPORT(void) + _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) + { +- DEBUG(2, (T_CALLED("_nc_copy_termtype(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_copy_termtype(dst=%p, src=%p)"), (void *) dst, ++ (const void *) src)); + copy_termtype((TERMTYPE2 *) dst, (const TERMTYPE2 *) src, 0); + DEBUG(2, (T_RETURN(""))); + } +@@ -655,7 +664,8 @@ _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) + NCURSES_EXPORT(void) + _nc_copy_termtype2(TERMTYPE2 *dst, const TERMTYPE2 *src) + { +- DEBUG(2, (T_CALLED("_nc_copy_termtype2(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_copy_termtype2(dst=%p, src=%p)"), (void *) dst, ++ (const void *) src)); + copy_termtype(dst, src, srcINT | dstINT); + DEBUG(2, (T_RETURN(""))); + } +@@ -667,7 +677,8 @@ _nc_copy_termtype2(TERMTYPE2 *dst, const TERMTYPE2 *src) + NCURSES_EXPORT(void) + _nc_export_termtype2(TERMTYPE *dst, const TERMTYPE2 *src) + { +- DEBUG(2, (T_CALLED("_nc_export_termtype2(dst=%p, src=%p)"), dst, src)); ++ DEBUG(2, (T_CALLED("_nc_export_termtype2(dst=%p, src=%p)"), (void *) ++ dst, (const void *) src)); + copy_termtype((TERMTYPE2 *) dst, src, srcINT); + DEBUG(2, (T_RETURN(""))); + } +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 82672fa8..52ebac49 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.117 2022/04/30 15:57:27 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.122 2022/05/08 00:11:44 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -61,7 +61,7 @@ enqueue(ENTRY * ep) + { + ENTRY *newp; + +- DEBUG(1, (T_CALLED("enqueue(ep=%p)"), ep)); ++ DEBUG(1, (T_CALLED("enqueue(ep=%p)"), (void *) ep)); + + newp = _nc_copy_entry(ep); + if (newp == 0) +@@ -73,6 +73,7 @@ enqueue(ENTRY * ep) + newp->next = 0; + if (newp->last) + newp->last->next = newp; ++ DEBUG(1, (T_RETURN(""))); + } + + #define NAMEBUFFER_SIZE (MAX_NAME_SIZE + 2) +@@ -222,7 +223,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + + DEBUG(1, + (T_CALLED("_nc_read_entry_source(file=%p, buf=%p, literal=%d, silent=%d, hook=%p)"), +- fp, buf, literal, silent, hook)); ++ (void *) fp, buf, literal, silent, (void *) hook)); + + if (silent) + _nc_suppress_warnings = TRUE; /* shut the lexer up, too */ +@@ -253,6 +254,7 @@ _nc_read_entry_source(FILE *fp, char *buf, + FreeIfNeeded(thisentry.tterm.Strings); + #if NCURSES_XNAMES + FreeIfNeeded(thisentry.tterm.ext_Names); ++ FreeIfNeeded(thisentry.tterm.ext_str_table); + #endif + } + } +@@ -583,8 +585,10 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + FreeIfNeeded(qp->tterm.Booleans); + FreeIfNeeded(qp->tterm.Numbers); + FreeIfNeeded(qp->tterm.Strings); ++ FreeIfNeeded(qp->tterm.str_table); + #if NCURSES_XNAMES + FreeIfNeeded(qp->tterm.ext_Names); ++ FreeIfNeeded(qp->tterm.ext_str_table); + #endif + qp->tterm = merged.tterm; + _nc_wrap_entry(qp, TRUE); +@@ -745,7 +749,7 @@ sanity_check2(TERMTYPE2 *tp, bool literal) + NCURSES_EXPORT(void) + _nc_leaks_tic(void) + { +- T((T_CALLED("_nc_free_tic()"))); ++ T((T_CALLED("_nc_leaks_tic()"))); + _nc_globals.leak_checking = TRUE; + _nc_alloc_entry_leaks(); + _nc_captoinfo_leaks(); +@@ -755,11 +759,13 @@ _nc_leaks_tic(void) + _nc_codes_leaks(); + #endif + _nc_tic_expand(0, FALSE, 0); ++ T((T_RETURN(""))); + } + + NCURSES_EXPORT(void) + _nc_free_tic(int code) + { ++ T((T_CALLED("_nc_free_tic(%d)"), code)); + _nc_leaks_tic(); + exit_terminfo(code); + } +diff --git a/ncurses/tinfo/comp_scan.c b/ncurses/tinfo/comp_scan.c +index 7f9075c7..1d9a9985 100644 +--- a/ncurses/tinfo/comp_scan.c ++++ b/ncurses/tinfo/comp_scan.c +@@ -51,7 +51,7 @@ + #include + #include + +-MODULE_ID("$Id: comp_scan.c,v 1.115 2022/04/30 16:21:01 tom Exp $") ++MODULE_ID("$Id: comp_scan.c,v 1.116 2022/05/08 00:11:44 tom Exp $") + + /* + * Maximum length of string capability we'll accept before raising an error. +@@ -113,7 +113,7 @@ NCURSES_EXPORT(void) + _nc_reset_input(FILE *fp, char *buf) + { + TR(TRACE_DATABASE, +- (T_CALLED("_nc_reset_input(fp=%p, buf=%p)"), fp, buf)); ++ (T_CALLED("_nc_reset_input(fp=%p, buf=%p)"), (void *) fp, buf)); + + pushtype = NO_PUSHBACK; + if (pushname != 0) +diff --git a/ncurses/tinfo/entries.c b/ncurses/tinfo/entries.c +index c928f7ec..5f49ece9 100644 +--- a/ncurses/tinfo/entries.c ++++ b/ncurses/tinfo/entries.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2006-2012,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -38,7 +38,7 @@ + + #include + +-MODULE_ID("$Id: entries.c,v 1.32 2021/11/20 23:40:57 tom Exp $") ++MODULE_ID("$Id: entries.c,v 1.33 2022/05/07 17:08:11 tom Exp $") + + /**************************************************************************** + * +@@ -119,7 +119,7 @@ _nc_leaks_tinfo(void) + char *s; + #endif + +- T((T_CALLED("_nc_free_tinfo()"))); ++ T((T_CALLED("_nc_leaks_tinfo()"))); + #if NO_LEAKS + _nc_globals.leak_checking = TRUE; + _nc_free_tparm(cur_term); +@@ -161,6 +161,7 @@ _nc_leaks_tinfo(void) + NCURSES_EXPORT(void) + _nc_free_tinfo(int code) + { ++ T((T_CALLED("_nc_free_tinfo(%d)"), code)); + _nc_leaks_tinfo(); + exit(code); + } +@@ -169,6 +170,7 @@ _nc_free_tinfo(int code) + NCURSES_EXPORT(void) + exit_terminfo(int code) + { ++ T((T_CALLED("exit_terminfo(%d)"), code)); + #if NO_LEAKS + _nc_leaks_tinfo(); + #endif +diff --git a/ncurses/tinfo/parse_entry.c b/ncurses/tinfo/parse_entry.c +index e39adade..14bcb67e 100644 +--- a/ncurses/tinfo/parse_entry.c ++++ b/ncurses/tinfo/parse_entry.c +@@ -48,7 +48,7 @@ + #include + #include + +-MODULE_ID("$Id: parse_entry.c,v 1.106 2022/04/30 20:50:06 tom Exp $") ++MODULE_ID("$Id: parse_entry.c,v 1.107 2022/05/08 00:11:44 tom Exp $") + + #ifdef LINT + static short const parametrized[] = +@@ -287,7 +287,7 @@ _nc_parse_entry(ENTRY * entryp, int literal, bool silent) + + TR(TRACE_DATABASE, + (T_CALLED("_nc_parse_entry(entry=%p, literal=%d, silent=%d)"), +- entryp, literal, silent)); ++ (void *) entryp, literal, silent)); + + token_type = _nc_get_token(silent); + +@@ -766,7 +766,7 @@ postprocess_termcap(TERMTYPE2 *tp, bool has_base) + + TR(TRACE_DATABASE, + (T_CALLED("postprocess_termcap(tp=%p, has_base=%d)"), +- tp, has_base)); ++ (void *) tp, has_base)); + + /* + * TERMCAP DEFAULTS AND OBSOLETE-CAPABILITY TRANSLATIONS +@@ -1062,7 +1062,7 @@ postprocess_terminfo(TERMTYPE2 *tp) + { + TR(TRACE_DATABASE, + (T_CALLED("postprocess_terminfo(tp=%p)"), +- tp)); ++ (void *) tp)); + + /* + * TERMINFO-TO-TERMINFO MAPPINGS FOR SOURCE TRANSLATION +diff --git a/ncurses/tinfo/read_entry.c b/ncurses/tinfo/read_entry.c +index d61e577b..2b1875ed 100644 +--- a/ncurses/tinfo/read_entry.c ++++ b/ncurses/tinfo/read_entry.c +@@ -42,7 +42,7 @@ + + #include + +-MODULE_ID("$Id: read_entry.c,v 1.163 2022/04/30 18:35:46 tom Exp $") ++MODULE_ID("$Id: read_entry.c,v 1.164 2022/05/08 00:11:44 tom Exp $") + + #define MyNumber(n) (short) LOW_MSB(n) + +@@ -214,7 +214,7 @@ _nc_init_termtype(TERMTYPE2 *const tp) + { + unsigned i; + +- DEBUG(2, (T_CALLED("_nc_init_termtype(tp=%p)"), tp)); ++ DEBUG(2, (T_CALLED("_nc_init_termtype(tp=%p)"), (void *) tp)); + + #if NCURSES_XNAMES + tp->num_Booleans = BOOLCOUNT; +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index ad22e9c4..4a68d709 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index ad22e9c4..4a68d709 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index b023fe12..1c7bc2e6 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220501) unstable; urgency=low ++ncurses6 (6.3+20220507) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sun, 01 May 2022 06:28:56 -0400 ++ -- Thomas E. Dickey Sat, 07 May 2022 07:09:45 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 2fd68b92..19d5c83e 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.518 2022/05/01 10:28:56 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.519 2022/05/07 11:09:45 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0501" ++!define VERSION_MMDD "0507" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 51cb8e61..64364f9a 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 66263223..ad46e5ed 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index e7d42057..a9be86f2 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220501 ++Release: 20220507 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/modules b/test/modules +index 8ade4d7a..6c5125f7 100644 +--- a/test/modules ++++ b/test/modules +@@ -1,4 +1,4 @@ +-# $Id: modules,v 1.76 2022/04/09 21:27:31 tom Exp $ ++# $Id: modules,v 1.77 2022/05/07 22:39:21 tom Exp $ + ############################################################################## + # Copyright 2018-2021,2022 Thomas E. Dickey # + # Copyright 1998-2016,2017 Free Software Foundation, Inc. # +@@ -105,6 +105,7 @@ test_get_wstr progs $(srcdir) $(HEADER_DEPS) + test_getstr progs $(srcdir) $(HEADER_DEPS) + test_instr progs $(srcdir) $(HEADER_DEPS) + test_inwstr progs $(srcdir) $(HEADER_DEPS) ++test_mouse progs $(srcdir) $(HEADER_DEPS) + test_opaque progs $(srcdir) $(HEADER_DEPS) + test_setupterm progs $(srcdir) $(HEADER_DEPS) + test_sgr progs $(srcdir) $(HEADER_DEPS) +diff --git a/test/programs b/test/programs +index 10c879bb..306a1b07 100644 +--- a/test/programs ++++ b/test/programs +@@ -1,4 +1,4 @@ +-# $Id: programs,v 1.52 2022/04/09 21:27:24 tom Exp $ ++# $Id: programs,v 1.53 2022/05/07 22:39:49 tom Exp $ + ############################################################################## + # Copyright 2018-2021,2022 Thomas E. Dickey # + # Copyright 2006-2016,2017 Free Software Foundation, Inc. # +@@ -100,6 +100,7 @@ test_get_wstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_get_wstr popup_msg + test_getstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_getstr popup_msg + test_instr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_instr + test_inwstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_inwstr ++test_mouse $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_mouse + test_opaque $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_opaque + test_setupterm $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_setupterm + test_sgr $(LDFLAGS_TINFO) $(LOCAL_LIBS) test_sgr +diff --git a/test/test_mouse.c b/test/test_mouse.c +new file mode 100644 +index 00000000..f96d658c +--- /dev/null ++++ b/test/test_mouse.c +@@ -0,0 +1,244 @@ ++/**************************************************************************** ++ * Copyright 2022 Leonid S. Usov * ++ * Copyright 2022 Thomas E. Dickey * ++ * * ++ * Permission is hereby granted, free of charge, to any person obtaining a * ++ * copy of this software and associated documentation files (the * ++ * "Software"), to deal in the Software without restriction, including * ++ * without limitation the rights to use, copy, modify, merge, publish, * ++ * distribute, distribute with modifications, sublicense, and/or sell * ++ * copies of the Software, and to permit persons to whom the Software is * ++ * furnished to do so, subject to the following conditions: * ++ * * ++ * The above copyright notice and this permission notice shall be included * ++ * in all copies or substantial portions of the Software. * ++ * * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * ++ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * ++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * ++ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * ++ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * ++ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * ++ * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ++ ****************************************************************************/ ++/* ++ * $Id: test_mouse.c,v 1.8 2022/05/08 00:36:07 tom Exp $ ++ * ++ * Author: Leonid S Usov ++ * ++ * Observe mouse events in the raw terminal or parsed ncurses modes ++ */ ++ ++#include ++ ++#if defined(NCURSES_MOUSE_VERSION) && !defined(_NC_WINDOWS) ++ ++static int logoffset = 0; ++ ++static int ++raw_loop(void) ++{ ++ struct termios tty; ++ struct termios old; ++ char *xtermcap; ++ ++ tcgetattr(0, &old); ++ cfmakeraw(&tty); ++ ++ setupterm(NULL, 0, 0); ++ xtermcap = tigetstr("XM"); ++ if (xtermcap == 0 || xtermcap == (char *) -1) { ++ fprintf(stderr, "couldn't get XM terminfo"); ++ return 1; ++ } ++ ++ putp(tparm(xtermcap, 1)); ++ fflush(stdout); ++ ++ tcsetattr(0, TCSANOW, &tty); ++ ++ while (true) { ++ int c = getc(stdin); ++ const char *pretty; ++ ++ if (c == ERR || c == '\003') { ++ break; ++ } else if (c == '\033') { ++ printf("\r\n"); ++ } else if ((pretty = unctrl((chtype) c)) != NULL) { ++ printf("%s", pretty); ++ } else if (isprint(c)) { ++ printf("%c", c); ++ } else { ++ printf("{%x}", c); ++ } ++ } ++ ++ putp(tparm(xtermcap, 0)); ++ fflush(stdout); ++ tcsetattr(0, TCSANOW, &old); ++ return 0; ++} ++ ++static int logw(int line, const char *fmt, ...) GCC_PRINTFLIKE(2, 3); ++ ++static int ++logw(int line, const char *fmt, ...) ++{ ++ va_list args; ++ va_start(args, fmt); ++ wmove(stdscr, line++, 0); ++ vw_printw(stdscr, fmt, args); ++ clrtoeol(); ++ ++ line %= (getmaxy(stdscr) - logoffset); ++ if (line < logoffset) { ++ line = logoffset; ++ } ++ ++ wmove(stdscr, line, 0); ++ wprintw(stdscr, ">"); ++ clrtoeol(); ++ return line; ++} ++ ++static void ++usage(void) ++{ ++ static const char *msg[] = ++ { ++ "Usage: test_mouse [options]", ++ "", ++ "Test mouse events. These examples for $TERM demonstrate xterm" ++ "features:", ++ " xterm", ++ " xterm-1002", ++ " xterm-1003", ++ "", ++ "Options:", ++ " -r show raw input stream, injecting a new line before every ESC", ++ " -i n set mouse interval to n; default is 0", ++ " -h show this message", ++ " -T term use terminal description other than $TERM" ++ }; ++ unsigned n; ++ for (n = 0; n < sizeof(msg) / sizeof(char *); ++n) { ++ fprintf(stderr, "%s\n", msg[n]); ++ } ++} ++ ++int ++main(int argc, char *argv[]) ++{ ++ bool rawmode = FALSE; ++ int interval = 0; ++ int curline; ++ int c; ++ MEVENT event; ++ char *my_environ; ++ const char *term_format = "TERM=%s"; ++ ++ while ((c = getopt(argc, argv, "hi:rT:")) != -1) { ++ switch (c) { ++ case 'h': ++ usage(); ++ ExitProgram(EXIT_SUCCESS); ++ case 'i': ++ interval = atoi(optarg); ++ break; ++ case 'r': ++ rawmode = TRUE; ++ break; ++ case 'T': ++ my_environ = malloc(strlen(term_format) + strlen(optarg)); ++ sprintf(my_environ, term_format, optarg); ++ putenv(my_environ); ++ break; ++ default: ++ usage(); ++ ExitProgram(EXIT_FAILURE); ++ } ++ } ++ if (optind < argc) { ++ usage(); ++ ExitProgram(EXIT_FAILURE); ++ } ++ ++ if (rawmode) { ++ printf("Entering raw mode. Ctrl-c to quit.\n"); ++ return raw_loop(); ++ } ++ ++ initscr(); ++ clear(); ++ noecho(); ++ cbreak(); /* Line buffering disabled; pass everything */ ++ nonl(); ++ keypad(stdscr, TRUE); ++ ++ /* Get all the mouse events */ ++ mousemask(ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION, NULL); ++ mouseinterval(interval); ++ ++ logoffset = logw(logoffset, "Ctrl-c to quit"); ++ logoffset = logw(logoffset, "--------------"); ++ ++ curline = logoffset; ++ ++ while (1) { ++ c = getch(); ++ ++ switch (c) { ++ case KEY_MOUSE: ++ if (getmouse(&event) == OK) { ++ unsigned btn; ++ mmask_t events; ++#if NCURSES_MOUSE_VERSION > 1 ++ const int max_btn = 5; ++#else ++ const int max_btn = 4; ++#endif ++ for (btn = 1; btn <= max_btn; btn++) { ++ events = (mmask_t) (event.bstate ++ & NCURSES_MOUSE_MASK(btn, ++ NCURSES_BUTTON_RELEASED | ++ NCURSES_BUTTON_PRESSED | ++ NCURSES_BUTTON_CLICKED | ++ NCURSES_DOUBLE_CLICKED | ++ NCURSES_TRIPLE_CLICKED)); ++ if (events == 0) ++ continue; ++#define Show(btn,name) ((event.bstate & NCURSES_MOUSE_MASK(btn, name)) != 0) ? #name : "" ++ curline = logw(curline, ++ "button %d %s %s %s %s %s %d[%x] @ %d, %d", ++ btn, ++ Show(btn, NCURSES_BUTTON_RELEASED), ++ Show(btn, NCURSES_BUTTON_PRESSED), ++ Show(btn, NCURSES_BUTTON_CLICKED), ++ Show(btn, NCURSES_DOUBLE_CLICKED), ++ Show(btn, NCURSES_TRIPLE_CLICKED), ++ (event.bstate & REPORT_MOUSE_POSITION) != 0, ++ events, ++ event.y, event.x); ++ } ++ } ++ break; ++ case '\003': ++ goto end; ++ default: ++ curline = logw(curline, "got another char: 0x%x", c); ++ } ++ refresh(); ++ } ++ end: ++ endwin(); ++ ExitProgram(EXIT_SUCCESS); ++} ++#else ++int ++main(void) ++{ ++ printf("This program requires the ncurses library\n"); ++ ExitProgram(EXIT_FAILURE); ++} ++#endif +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220521.patch b/ncurses-6.3-patch-20220521.patch new file mode 100644 index 0000000..59a3a35 --- /dev/null +++ b/ncurses-6.3-patch-20220521.patch @@ -0,0 +1,959 @@ +From 1ddfa997c0965852dbdc738aa6d92c0cd0975f3b Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 22 May 2022 00:12:22 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220521 + ++ improve memory-leak checking in several test-programs. ++ set trailing null on string passed from winsnstr() to wins_nwstr(). ++ modify del_curterm() to fix memory-leak introduced by change to + copy_termtype(). +--- + NEWS | 8 ++- + VERSION | 2 +- + dist.mk | 4 +- + ncurses/base/lib_insnstr.c | 5 +- + ncurses/tinfo/free_ttype.c | 6 +-- + ncurses/tinfo/lib_cur_term.c | 8 ++- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/color_content.c | 3 +- + test/combine.c | 7 ++- + test/demo_menus.c | 33 ++++++------ + test/demo_tabs.c | 5 +- + test/dup_field.c | 89 ++++++++++++++++++++------------ + test/move_field.c | 24 +++------ + test/padview.c | 10 ++-- + test/pair_content.c | 15 ++++-- + test/test.priv.h | 10 ++-- + test/test_mouse.c | 6 +-- + test/test_setupterm.c | 50 ++++++++++++++++-- + test/test_termattrs.c | 5 +- + 25 files changed, 200 insertions(+), 112 deletions(-) + +diff --git a/NEWS b/NEWS +index 364490a7..fd3e7b06 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3807 2022/05/14 22:56:52 tom Exp $ ++-- $Id: NEWS,v 1.3809 2022/05/21 21:10:54 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,12 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220521 ++ + improve memory-leak checking in several test-programs. ++ + set trailing null on string passed from winsnstr() to wins_nwstr(). ++ + modify del_curterm() to fix memory-leak introduced by change to ++ copy_termtype(). ++ + 20220514 + + further improvements to test/test_mouse.c; compare with ncurses test + program menu A/a. +diff --git a/VERSION b/VERSION +index ba8e643a..c8bff0a0 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220514 ++5:0:10 6.3 20220521 +diff --git a/dist.mk b/dist.mk +index d5a51323..b517ae41 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1480 2022/05/14 13:23:05 tom Exp $ ++# $Id: dist.mk,v 1.1481 2022/05/21 15:40:09 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220514 ++NCURSES_PATCH = 20220521 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/ncurses/base/lib_insnstr.c b/ncurses/base/lib_insnstr.c +index ff1ae573..dd51a9cd 100644 +--- a/ncurses/base/lib_insnstr.c ++++ b/ncurses/base/lib_insnstr.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2018,2020 Thomas E. Dickey * ++ * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2004-2009,2016 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -41,7 +41,7 @@ + #include + #include + +-MODULE_ID("$Id: lib_insnstr.c,v 1.7 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: lib_insnstr.c,v 1.8 2022/05/21 17:35:15 tom Exp $") + + NCURSES_EXPORT(int) + winsnstr(WINDOW *win, const char *s, int n) +@@ -70,6 +70,7 @@ winsnstr(WINDOW *win, const char *s, int n) + init_mb(state); + n3 = mbstowcs(buffer, s, nn); + if (n3 != (size_t) (-1)) { ++ buffer[n3] = '\0'; + code = wins_nwstr(win, buffer, (int) n3); + } + free(buffer); +diff --git a/ncurses/tinfo/free_ttype.c b/ncurses/tinfo/free_ttype.c +index 7f0fbcc3..97357763 100644 +--- a/ncurses/tinfo/free_ttype.c ++++ b/ncurses/tinfo/free_ttype.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 1999-2011,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -43,12 +43,12 @@ + + #include + +-MODULE_ID("$Id: free_ttype.c,v 1.19 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: free_ttype.c,v 1.20 2022/05/15 12:42:13 tom Exp $") + + static void + really_free_termtype(TERMTYPE2 *ptr, bool freeStrings) + { +- T(("_nc_free_termtype(%s)", ptr->term_names)); ++ T(("really_free_termtype(%s) %d", ptr->term_names, freeStrings)); + + if (freeStrings) { + FreeIfNeeded(ptr->str_table); +diff --git a/ncurses/tinfo/lib_cur_term.c b/ncurses/tinfo/lib_cur_term.c +index 6ef62cb2..7d7e7f15 100644 +--- a/ncurses/tinfo/lib_cur_term.c ++++ b/ncurses/tinfo/lib_cur_term.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++,* Copyright 2020-2021,2022 Thomas E. Dickey * + * Copyright 1998-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -41,7 +41,7 @@ + #include /* ospeed */ + #include /* VALID_STRING */ + +-MODULE_ID("$Id: lib_cur_term.c,v 1.45 2021/11/20 23:19:41 tom Exp $") ++MODULE_ID("$Id: lib_cur_term.c,v 1.48 2022/05/21 22:58:20 tom Exp $") + + #undef CUR + #define CUR TerminalType(termp). +@@ -147,7 +147,11 @@ NCURSES_SP_NAME(del_curterm) (NCURSES_SP_DCLx TERMINAL *termp) + ); + + #if NCURSES_EXT_NUMBERS ++#if NCURSES_EXT_COLORS + _nc_free_termtype(&termp->type); ++#else ++ _nc_free_termtype2(&termp->type); ++#endif + #endif + _nc_free_termtype2(&TerminalType(termp)); + if (termp == cur) +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 13d69d31..bfb228b8 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 13d69d31..bfb228b8 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 733d47ad..c13c624f 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220514) unstable; urgency=low ++ncurses6 (6.3+20220521) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 14 May 2022 09:23:05 -0400 ++ -- Thomas E. Dickey Sun, 15 May 2022 08:43:22 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 88e6a314..0d5bec04 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.520 2022/05/14 13:23:05 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.521 2022/05/21 15:40:09 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0514" ++!define VERSION_MMDD "0521" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 681da256..5d12868e 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index b775866e..ff86a976 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index dd8f8afb..e765d604 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220514 ++Release: 20220521 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/color_content.c b/test/color_content.c +index 6ed0ecf2..99627546 100644 +--- a/test/color_content.c ++++ b/test/color_content.c +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: color_content.c,v 1.13 2022/04/16 18:26:40 tom Exp $ ++ * $Id: color_content.c,v 1.14 2022/05/21 20:00:04 tom Exp $ + */ + + #define NEED_TIME_H +@@ -328,5 +328,6 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + finish_test(); + } + ++ free(expected); + ExitProgram(EXIT_SUCCESS); + } +diff --git a/test/combine.c b/test/combine.c +index 1025c9f2..7bc90974 100644 +--- a/test/combine.c ++++ b/test/combine.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2021 Thomas E. Dickey * ++ * Copyright 2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,13 +26,14 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: combine.c,v 1.17 2021/12/18 21:04:00 tom Exp $ ++ * $Id: combine.c,v 1.19 2022/05/21 23:19:31 tom Exp $ + */ + + #include + + #if USE_WIDEC_SUPPORT + ++#include + #include + #include + +@@ -252,8 +253,10 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + case 'd': + if (log_option) + dump_window(stdscr); ++#if HAVE_SCR_DUMP + else + scr_dump(dump_log); ++#endif + break; + case 'h': + if (left_at > ' ') +diff --git a/test/demo_menus.c b/test/demo_menus.c +index 9f3b4d22..e0e4852e 100644 +--- a/test/demo_menus.c ++++ b/test/demo_menus.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2003-2016,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -27,7 +27,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: demo_menus.c,v 1.73 2021/05/08 19:41:08 tom Exp $ ++ * $Id: demo_menus.c,v 1.76 2022/05/15 13:54:48 tom Exp $ + * + * Demonstrate a variety of functions from the menu library. + * Thomas Dickey - 2005/4/9 +@@ -308,7 +308,7 @@ menu_create(ITEM ** items, int count, int ncols, MenuNo number) + } + + static void +-menu_destroy(MENU * m) ++menu_destroy(MENU * m, int itemsToo) + { + Trace(("menu_destroy %p", (void *) m)); + if (m != 0) { +@@ -331,18 +331,18 @@ menu_destroy(MENU * m) + Trace(("freeing blob %p", blob)); + free((void *) blob); + } +- free(items); +- items = 0; + } +-#ifdef TRACE +- if ((count > 0) && (m == mpTrace)) { +- ITEM **ip = items; +- if (ip != 0) { +- while (*ip) +- free(*ip++); ++ if (count > 0 && itemsToo) { ++ if (itemsToo & 1) { ++ ITEM **ip = items; ++ if (ip != 0) { ++ while (*ip) ++ free_item(*ip++); ++ } + } ++ if (itemsToo & 2) ++ free(items); + } +-#endif + } + } + +@@ -932,12 +932,12 @@ perform_menus(void) + static void + destroy_menus(void) + { +- menu_destroy(mpFile); +- menu_destroy(mpSelect); ++ menu_destroy(mpFile, 1); ++ menu_destroy(mpSelect, 3); + #ifdef TRACE +- menu_destroy(mpTrace); ++ menu_destroy(mpTrace, 1); + #endif +- menu_destroy(mpBanner); ++ menu_destroy(mpBanner, 1); + } + + #if HAVE_RIPOFFLINE +@@ -1004,6 +1004,7 @@ main(int argc, char *argv[]) + int c; + + setlocale(LC_ALL, ""); ++ START_TRACE(); + + while ((c = getopt(argc, argv, "fht:")) != -1) { + switch (c) { +diff --git a/test/demo_tabs.c b/test/demo_tabs.c +index f63850df..6bd067ea 100644 +--- a/test/demo_tabs.c ++++ b/test/demo_tabs.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019,2020 Thomas E. Dickey * ++ * Copyright 2019-2020,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -29,10 +29,11 @@ + /* + * Author: Thomas E. Dickey + * +- * $Id: demo_tabs.c,v 1.5 2020/02/02 23:34:34 tom Exp $ ++ * $Id: demo_tabs.c,v 1.6 2022/05/15 13:04:57 tom Exp $ + * + * A simple demo of tabs in curses. + */ ++#define USE_CURSES + #define USE_TINFO + #include "test.priv.h" + +diff --git a/test/dup_field.c b/test/dup_field.c +index eb87c90c..05444f43 100644 +--- a/test/dup_field.c ++++ b/test/dup_field.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++ * Copyright 2020-2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,9 +26,9 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: dup_field.c,v 1.2 2021/03/27 23:41:57 tom Exp $ ++ * $Id: dup_field.c,v 1.6 2022/05/21 20:59:26 tom Exp $ + * +- * Demonstrate move_field(). ++ * Demonstrate dup_field(). + */ + + #include +@@ -38,7 +38,8 @@ + #include + #include + +-#define MY_DEMO EDIT_FIELD('f') ++#define DO_DEMO CTRL('F') /* actual key for toggling demo-mode */ ++#define MY_DEMO EDIT_FIELD('f') /* internal request-code */ + + static char empty[] = ""; + static FIELD *all_fields[100]; +@@ -51,7 +52,6 @@ static struct { + { CTRL('A'), REQ_BEG_FIELD, "go to beginning of field" }, + { CTRL('D'), REQ_DOWN_FIELD, "move downward to field" }, + { CTRL('E'), REQ_END_FIELD, "go to end of field" }, +- { CTRL('G'), MY_DEMO, "move current field with cursor keys" }, + { CTRL('H'), REQ_DEL_PREV, "delete previous character" }, + { CTRL('I'), REQ_NEXT_FIELD, "go to next field" }, + { CTRL('K'), REQ_CLR_EOF, "clear to end of field" }, +@@ -72,7 +72,8 @@ static struct { + { KEY_NEXT, REQ_NEXT_FIELD, "go to next field" }, + { KEY_PREVIOUS, REQ_PREV_FIELD, "go to previous field" }, + { KEY_RIGHT, REQ_RIGHT_CHAR, "move right 1 character" }, +- { KEY_UP, REQ_UP_CHAR, "move up 1 character" } ++ { KEY_UP, REQ_UP_CHAR, "move up 1 character" }, ++ { DO_DEMO, MY_DEMO, "duplicate current field" } + }; + /* *INDENT-ON* */ + +@@ -108,11 +109,6 @@ my_help_edit_field(void) + free(msgs); + } + +-static void +-do_demo(FORM *form) +-{ +-} +- + static FIELD * + make_label(const char *label, int frow, int fcol) + { +@@ -147,28 +143,6 @@ erase_form(FORM *f) + werase(w); + wrefresh(w); + delwin(s); +- delwin(w); +-} +- +-static int +-my_form_driver(FORM *form, int c) +-{ +- switch (c) { +- case MY_QUIT: +- if (form_driver(form, REQ_VALIDATION) == E_OK) +- return (TRUE); +- break; +- case MY_HELP: +- my_help_edit_field(); +- break; +- case MY_DEMO: +- do_demo(form); +- break; +- default: +- beep(); +- break; +- } +- return (FALSE); + } + + static FieldAttrs * +@@ -291,6 +265,55 @@ my_edit_field(FORM *form, int *result) + return status; + } + ++static FIELD ** ++copy_fields(FIELD **source, FIELD *extra, size_t length) ++{ ++ FIELD **target = typeCalloc(FIELD *, length + 1); ++ memcpy(target, source, length * sizeof(FIELD *)); ++ target[length] = extra; ++ return target; ++} ++ ++static void ++do_demo(FORM *form) ++{ ++ int count = field_count(form); ++ FIELD *my_field = current_field(form); ++ FIELD **old_fields = form_fields(form); ++ ++ if (count > 0 && old_fields != NULL && my_field != NULL) { ++ FIELD **new_fields = copy_fields(old_fields, ++ dup_field(my_field, ++ form_field_row(my_field) ++ + 1, ++ form_field_col(my_field)), ++ (size_t) count); ++ if (new_fields != NULL) ++ set_form_fields(form, new_fields); ++ } ++} ++ ++static int ++my_form_driver(FORM *form, int c) ++{ ++ switch (c) { ++ case MY_QUIT: ++ if (form_driver(form, REQ_VALIDATION) == E_OK) ++ return (TRUE); ++ break; ++ case MY_HELP: ++ my_help_edit_field(); ++ break; ++ case MY_DEMO: ++ do_demo(form); ++ break; ++ default: ++ beep(); ++ break; ++ } ++ return (FALSE); ++} ++ + static void + demo_forms(void) + { +diff --git a/test/move_field.c b/test/move_field.c +index b5ec9438..874b189b 100644 +--- a/test/move_field.c ++++ b/test/move_field.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020,2021 Thomas E. Dickey * ++ * Copyright 2020-2021,2022 Thomas E. Dickey * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: move_field.c,v 1.9 2021/06/12 21:30:34 tom Exp $ ++ * $Id: move_field.c,v 1.13 2022/05/21 20:59:46 tom Exp $ + * + * Demonstrate move_field(). + */ +@@ -38,14 +38,6 @@ + #include + #include + +-#ifdef HAVE_NETBSD_FORM_H +-#define form_field_row(field) (field)->form_row +-#define form_field_col(field) (field)->form_col +-#else /* e.g., SVr4, ncurses */ +-#define form_field_row(field) (field)->frow +-#define form_field_col(field) (field)->fcol +-#endif +- + #define DO_DEMO CTRL('F') /* actual key for toggling demo-mode */ + #define MY_DEMO EDIT_FIELD('f') /* internal request-code */ + +@@ -151,7 +143,6 @@ erase_form(FORM *f) + werase(w); + wrefresh(w); + delwin(s); +- delwin(w); + } + + static FieldAttrs * +@@ -277,7 +268,7 @@ my_edit_field(FORM *form, int *result) + static FIELD ** + copy_fields(FIELD **source, size_t length) + { +- FIELD **target = calloc(length + 1, sizeof(FIELD *)); ++ FIELD **target = typeCalloc(FIELD *, length + 1); + memcpy(target, source, length * sizeof(FIELD *)); + return target; + } +@@ -309,13 +300,13 @@ do_demo(FORM *form) + { + int count = field_count(form); + FIELD *my_field = current_field(form); ++ FIELD **old_fields = form_fields(form); + +- if (count > 0 && my_field != NULL) { ++ if (count > 0 && old_fields != NULL && my_field != NULL) { + size_t needed = (size_t) count; +- FIELD **old_fields = copy_fields(form_fields(form), needed); +- FIELD **new_fields = copy_fields(form_fields(form), needed); ++ FIELD **new_fields = copy_fields(old_fields, needed); + +- if (old_fields != NULL && new_fields != NULL) { ++ if (new_fields != NULL) { + bool found = FALSE; + int ch; + +@@ -395,7 +386,6 @@ do_demo(FORM *form) + refresh(); + } + } +- free(old_fields); + free(new_fields); + } + } +diff --git a/test/padview.c b/test/padview.c +index fb1d9fca..868dbfed 100644 +--- a/test/padview.c ++++ b/test/padview.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2022 Thomas E. Dickey * + * Copyright 2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -29,7 +29,7 @@ + /* + * clone of view.c, using pads + * +- * $Id: padview.c,v 1.18 2021/06/12 23:16:31 tom Exp $ ++ * $Id: padview.c,v 1.19 2022/05/15 14:36:23 tom Exp $ + */ + + #include +@@ -45,6 +45,7 @@ static GCC_NORETURN void finish(int sig); + + #define my_pair 1 + ++static WINDOW *global_pad; + static int shift = 0; + static bool try_color = FALSE; + +@@ -69,6 +70,8 @@ static void + finish(int sig) + { + endwin(); ++ if (global_pad != NULL) ++ delwin(global_pad); + ExitProgram(sig != 0 ? EXIT_FAILURE : EXIT_SUCCESS); + } + +@@ -372,7 +375,8 @@ main(int argc, char *argv[]) + * Do this after starting color, otherwise the pad's background will be + * uncolored after the ncurses 6.1.20181208 fixes. + */ +- my_pad = read_file(fname = argv[optind]); ++ global_pad = ++ my_pad = read_file(fname = argv[optind]); + + my_row = 0; + while (!done) { +diff --git a/test/pair_content.c b/test/pair_content.c +index adbd0829..35e2fc4b 100644 +--- a/test/pair_content.c ++++ b/test/pair_content.c +@@ -26,7 +26,7 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: pair_content.c,v 1.15 2022/04/16 18:27:24 tom Exp $ ++ * $Id: pair_content.c,v 1.16 2022/05/15 15:46:28 tom Exp $ + */ + + #define NEED_TIME_H +@@ -62,13 +62,20 @@ static struct timeval initial_time; + static struct timeval finish_time; + #endif + ++static void ++finish(int code) ++{ ++ free(expected); ++ ExitProgram(code); ++} ++ + static void + failed(const char *msg) + { + printw("%s", msg); + getch(); + endwin(); +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + #if USE_EXTENDED_COLOR +@@ -231,7 +238,7 @@ usage(void) + size_t n; + for (n = 0; n < SIZEOF(msg); n++) + fprintf(stderr, "%s\n", msg[n]); +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + int +@@ -314,5 +321,5 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) + finish_test(); + } + +- ExitProgram(EXIT_SUCCESS); ++ finish(EXIT_SUCCESS); + } +diff --git a/test/test.priv.h b/test/test.priv.h +index 8874d335..125477f1 100644 +--- a/test/test.priv.h ++++ b/test/test.priv.h +@@ -30,7 +30,7 @@ + /**************************************************************************** + * Author: Thomas E. Dickey 1996-on * + ****************************************************************************/ +-/* $Id: test.priv.h,v 1.199 2022/04/09 21:32:05 tom Exp $ */ ++/* $Id: test.priv.h,v 1.201 2022/05/21 20:37:38 tom Exp $ */ + + #ifndef __TEST_PRIV_H + #define __TEST_PRIV_H 1 +@@ -553,8 +553,12 @@ extern int optind; + /* workaround, to build against NetBSD's variant of the form library */ + #ifdef HAVE_NETBSD_FORM_H + #define form_getyx(form, y, x) y = (int)current_field(form)->cursor_ypos, x = (int)current_field(form)->cursor_xpos +-#else ++#define form_field_row(field) (field)->form_row ++#define form_field_col(field) (field)->form_col ++#else /* e.g., SVr4, ncurses */ + #define form_getyx(form, y, x) y = (int)(form)->currow, x = (int)(form)->curcol ++#define form_field_row(field) (field)->frow ++#define form_field_col(field) (field)->fcol + #endif + + /* workaround, to build against NetBSD's variant of the form library */ +@@ -928,7 +932,7 @@ extern int TABSIZE; + + #if defined(NCURSES_VERSION) && HAVE_NC_ALLOC_H + #include +-#if HAVE_EXIT_TERMINFO && (defined(USE_TERMINFO) || defined(USE_TINFO)) ++#if HAVE_EXIT_TERMINFO && !defined(USE_CURSES) && (defined(USE_TERMINFO) || defined(USE_TINFO)) + #undef ExitProgram + #define ExitProgram(code) exit_terminfo(code) + #elif HAVE_EXIT_CURSES +diff --git a/test/test_mouse.c b/test/test_mouse.c +index 8cb12d9f..b24903d5 100644 +--- a/test/test_mouse.c ++++ b/test/test_mouse.c +@@ -22,7 +22,7 @@ + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + ****************************************************************************/ + /* +- * $Id: test_mouse.c,v 1.18 2022/05/15 00:20:27 tom Exp $ ++ * $Id: test_mouse.c,v 1.19 2022/05/15 16:41:20 tom Exp $ + * + * Author: Leonid S Usov + * +@@ -194,9 +194,9 @@ main(int argc, char *argv[]) + unsigned btn; + mmask_t events; + #if NCURSES_MOUSE_VERSION > 1 +- const int max_btn = 5; ++ const unsigned max_btn = 5; + #else +- const int max_btn = 4; ++ const unsigned max_btn = 4; + #endif + const mmask_t btn_mask = (NCURSES_BUTTON_RELEASED | + NCURSES_BUTTON_PRESSED | +diff --git a/test/test_setupterm.c b/test/test_setupterm.c +index 9d582aa0..0dc7494b 100644 +--- a/test/test_setupterm.c ++++ b/test/test_setupterm.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 2015,2016 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -30,7 +30,7 @@ + /* + * Author: Thomas E. Dickey + * +- * $Id: test_setupterm.c,v 1.10 2020/02/02 23:34:34 tom Exp $ ++ * $Id: test_setupterm.c,v 1.12 2022/05/15 16:36:00 tom Exp $ + * + * A simple demo of setupterm/restartterm. + */ +@@ -43,6 +43,46 @@ static bool f_opt = FALSE; + static bool n_opt = FALSE; + static bool r_opt = FALSE; + ++#if NO_LEAKS ++static TERMINAL **saved_terminals; ++static size_t num_saved; ++static size_t max_saved; ++ ++static void ++finish(int code) ++{ ++ size_t n; ++ for (n = 0; n < num_saved; ++n) ++ del_curterm(saved_terminals[n]); ++ free(saved_terminals); ++ ExitProgram(code); ++} ++ ++static void ++save_curterm(void) ++{ ++ size_t n; ++ bool found = FALSE; ++ for (n = 0; n < num_saved; ++n) { ++ if (saved_terminals[n] == cur_term) { ++ found = TRUE; ++ break; ++ } ++ } ++ if (!found) { ++ if (num_saved + 1 >= max_saved) { ++ max_saved += 100; ++ saved_terminals = typeRealloc(TERMINAL *, max_saved, saved_terminals); ++ } ++ saved_terminals[num_saved++] = cur_term; ++ } ++} ++ ++#else ++#define finish(code) ExitProgram(code) ++#define save_curterm() /* nothing */ ++#endif ++ + static void + test_rc(NCURSES_CONST char *name, int actual_rc, int actual_err) + { +@@ -104,6 +144,7 @@ test_setupterm(NCURSES_CONST char *name) + #endif + rc = setupterm(name, 0, f_opt ? NULL : &err); + test_rc(name, rc, err); ++ save_curterm(); + } + + static void +@@ -128,7 +169,7 @@ usage(void) + for (n = 0; n < SIZEOF(msg); ++n) { + fprintf(stderr, "%s\n", msg[n]); + } +- ExitProgram(EXIT_FAILURE); ++ finish(EXIT_FAILURE); + } + + int +@@ -182,6 +223,7 @@ main(int argc, char *argv[]) + if (r_opt) { + newterm("ansi", stdout, stdin); + reset_shell_mode(); ++ save_curterm(); + } + + if (a_opt) { +@@ -203,7 +245,7 @@ main(int argc, char *argv[]) + } + } + +- ExitProgram(EXIT_SUCCESS); ++ finish(EXIT_SUCCESS); + } + + #else /* !HAVE_TIGETSTR */ +diff --git a/test/test_termattrs.c b/test/test_termattrs.c +index fc22216a..2464ddea 100644 +--- a/test/test_termattrs.c ++++ b/test/test_termattrs.c +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2020 Thomas E. Dickey * ++ * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -27,11 +27,12 @@ + * authorization. * + ****************************************************************************/ + /* +- * $Id: test_termattrs.c,v 1.3 2020/02/02 23:34:34 tom Exp $ ++ * $Id: test_termattrs.c,v 1.4 2022/05/15 15:55:30 tom Exp $ + * + * Demonstrate the termattrs and term_attrs functions. + */ + ++#define USE_CURSES + #define USE_TINFO + #include + +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20220924.patch b/ncurses-6.3-patch-20220924.patch new file mode 100644 index 0000000..4493f77 --- /dev/null +++ b/ncurses-6.3-patch-20220924.patch @@ -0,0 +1,22144 @@ +From b5d80765d2da2bcc9d9f71cafd081ad4453cd365 Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sun, 25 Sep 2022 00:12:05 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20220924 + ++ modify configure macro CF_BUILD_CC to check if the build-compiler + works, rather than that it is different from the cross-compiler, e.g., + to accommodate a compiler which can be used for either purpose with + different flags (report by Mikhail Korolev). ++ fix another memory-leak in tic. ++ correct change for cppcheck in menu library (report/analysis by + "tuxway", cf: 20220903). ++ update config.guess, config.sub +--- + Ada95/aclocal.m4 | 29 +- + Ada95/configure | 2265 ++++++++-------- + NEWS | 12 +- + VERSION | 2 +- + aclocal.m4 | 29 +- + config.guess | 4 +- + config.sub | 4 +- + configure | 4191 +++++++++++++++--------------- + dist.mk | 4 +- + include/term_entry.h | 3 +- + menu/m_post.c | 5 +- + ncurses/tinfo/comp_parse.c | 14 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + progs/infocmp.c | 4 +- + 20 files changed, 3368 insertions(+), 3220 deletions(-) + +diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 +index dcaada8b..5f7c5a6e 100644 +--- a/Ada95/aclocal.m4 ++++ b/Ada95/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.194 2022/09/10 19:25:56 tom Exp $ ++dnl $Id: aclocal.m4,v 1.195 2022/09/24 20:42:30 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -477,7 +477,7 @@ fi + AC_SUBST(ARFLAGS) + ]) + dnl --------------------------------------------------------------------------- +-dnl CF_BUILD_CC version: 9 updated: 2021/01/02 09:31:20 ++dnl CF_BUILD_CC version: 10 updated: 2022/09/24 16:36:41 + dnl ----------- + dnl If we're cross-compiling, allow the user to override the tools and their + dnl options. The configure script is oriented toward identifying the host +@@ -543,7 +543,30 @@ if test "$cross_compiling" = yes ; then + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then ++ AC_MSG_CHECKING(if the build-compiler "$BUILD_CC" works) ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&AS_MESSAGE_LOG_FD' ++ ++ AC_TRY_RUN([#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ], ++ cf_ok_build_cc=yes, ++ cf_ok_build_cc=no, ++ cf_ok_build_cc=unknown) ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ AC_MSG_RESULT($cf_ok_build_cc) ++ ++ if test "$cf_ok_build_cc" != yes ++ then + AC_MSG_ERROR([Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler.]) + fi +diff --git a/Ada95/configure b/Ada95/configure +index f36c5fc3..aa0dfc1c 100755 +--- a/Ada95/configure ++++ b/Ada95/configure +@@ -4289,8 +4289,57 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then +- { { echo "$as_me:4293: error: Cross-build requires two compilers. ++ echo "$as_me:4292: checking if the build-compiler \"$BUILD_CC\" works" >&5 ++echo $ECHO_N "checking if the build-compiler \"$BUILD_CC\" works... $ECHO_C" >&6 ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&5' ++ ++ if test "$cross_compiling" = yes; then ++ cf_ok_build_cc=unknown ++else ++ cat >"conftest.$ac_ext" <<_ACEOF ++#line 4304 "configure" ++#include "confdefs.h" ++#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ++_ACEOF ++rm -f "conftest$ac_exeext" ++if { (eval echo "$as_me:4314: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ echo "$as_me:4317: \$? = $ac_status" >&5 ++ (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' ++ { (eval echo "$as_me:4319: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:4322: \$? = $ac_status" >&5 ++ (exit "$ac_status"); }; }; then ++ cf_ok_build_cc=yes ++else ++ echo "$as_me: program exited with status $ac_status" >&5 ++echo "$as_me: failed program was:" >&5 ++cat "conftest.$ac_ext" >&5 ++cf_ok_build_cc=no ++fi ++rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" ++fi ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ echo "$as_me:4337: result: $cf_ok_build_cc" >&5 ++echo "${ECHO_T}$cf_ok_build_cc" >&6 ++ ++ if test "$cf_ok_build_cc" != yes ++ then ++ { { echo "$as_me:4342: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&5 + echo "$as_me: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&2;} +@@ -4315,7 +4364,7 @@ fi + ### shared, for example. + cf_list_models="" + +-echo "$as_me:4318: checking if you want to build shared C-objects" >&5 ++echo "$as_me:4367: checking if you want to build shared C-objects" >&5 + echo $ECHO_N "checking if you want to build shared C-objects... $ECHO_C" >&6 + + # Check whether --with-shared or --without-shared was given. +@@ -4325,27 +4374,27 @@ if test "${with_shared+set}" = set; then + else + with_shared=no + fi; +-echo "$as_me:4328: result: $with_shared" >&5 ++echo "$as_me:4377: result: $with_shared" >&5 + echo "${ECHO_T}$with_shared" >&6 + test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared" + +-echo "$as_me:4332: checking for specified models" >&5 ++echo "$as_me:4381: checking for specified models" >&5 + echo $ECHO_N "checking for specified models... $ECHO_C" >&6 + test -z "$cf_list_models" && cf_list_models=normal +-echo "$as_me:4335: result: $cf_list_models" >&5 ++echo "$as_me:4384: result: $cf_list_models" >&5 + echo "${ECHO_T}$cf_list_models" >&6 + + ### Use the first model as the default, and save its suffix for use in building + ### up test-applications. +-echo "$as_me:4340: checking for default model" >&5 ++echo "$as_me:4389: checking for default model" >&5 + echo $ECHO_N "checking for default model... $ECHO_C" >&6 + DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` +-echo "$as_me:4343: result: $DFT_LWR_MODEL" >&5 ++echo "$as_me:4392: result: $DFT_LWR_MODEL" >&5 + echo "${ECHO_T}$DFT_LWR_MODEL" >&6 + + DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` + +-echo "$as_me:4348: checking for specific curses-directory" >&5 ++echo "$as_me:4397: 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. +@@ -4355,7 +4404,7 @@ if test "${with_curses_dir+set}" = set; then + else + cf_cv_curses_dir=no + fi; +-echo "$as_me:4358: result: $cf_cv_curses_dir" >&5 ++echo "$as_me:4407: 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" +@@ -4386,7 +4435,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:4389: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:4438: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -4422,7 +4471,7 @@ if test -n "$cf_cv_curses_dir/include" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4425 "configure" ++#line 4474 "configure" + #include "confdefs.h" + #include + int +@@ -4434,16 +4483,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:4437: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:4486: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:4440: \$? = $ac_status" >&5 ++ echo "$as_me:4489: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:4443: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4492: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4446: \$? = $ac_status" >&5 ++ echo "$as_me:4495: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -4460,7 +4509,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:4463: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:4512: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -4496,7 +4545,7 @@ if test -n "$cf_cv_curses_dir/lib" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:4499: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:4548: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -4511,13 +4560,13 @@ cf_ncuconfig_root=ncurses + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:4514: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:4563: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:4517: result: yes" >&5 ++ echo "$as_me:4566: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:4520: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:4569: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -4650,7 +4699,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4653 "configure" ++#line 4702 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -4662,37 +4711,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:4665: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4714: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4668: \$? = $ac_status" >&5 ++ echo "$as_me:4717: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:4671: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4720: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4674: \$? = $ac_status" >&5 ++ echo "$as_me:4723: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4680 "configure" ++#line 4729 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:4687: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4736: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4690: \$? = $ac_status" >&5 ++ echo "$as_me:4739: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:4692: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4741: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4695: \$? = $ac_status" >&5 ++ echo "$as_me:4744: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -4866,7 +4915,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4869 "configure" ++#line 4918 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -4878,37 +4927,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:4881: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4930: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4884: \$? = $ac_status" >&5 ++ echo "$as_me:4933: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:4887: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4936: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4890: \$? = $ac_status" >&5 ++ echo "$as_me:4939: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4896 "configure" ++#line 4945 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:4903: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:4952: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:4906: \$? = $ac_status" >&5 ++ echo "$as_me:4955: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:4908: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:4957: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4911: \$? = $ac_status" >&5 ++ echo "$as_me:4960: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -4925,7 +4974,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:4928: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:4977: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -4941,7 +4990,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:4944: checking for terminfo header" >&5 ++echo "$as_me:4993: 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 +@@ -4959,7 +5008,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 4962 "configure" ++#line 5011 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -4974,16 +5023,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:4977: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5026: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:4980: \$? = $ac_status" >&5 ++ echo "$as_me:5029: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:4983: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5032: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:4986: \$? = $ac_status" >&5 ++ echo "$as_me:5035: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -4999,7 +5048,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5002: result: $cf_cv_term_header" >&5 ++echo "$as_me:5051: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -5034,7 +5083,7 @@ esac + fi + + else +- echo "$as_me:5037: result: no" >&5 ++ echo "$as_me:5086: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -5050,7 +5099,7 @@ if test -n "$ac_tool_prefix"; then + 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:5053: checking for $ac_word" >&5 ++echo "$as_me:5102: 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 +@@ -5065,7 +5114,7 @@ for ac_dir in $ac_dummy; do + 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:5068: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5117: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5073,10 +5122,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:5076: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:5125: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:5079: result: no" >&5 ++ echo "$as_me:5128: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5089,7 +5138,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:5092: checking for $ac_word" >&5 ++echo "$as_me:5141: 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 +@@ -5104,7 +5153,7 @@ for ac_dir in $ac_dummy; do + 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:5107: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5156: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5112,10 +5161,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:5115: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:5164: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:5118: result: no" >&5 ++ echo "$as_me:5167: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5272,7 +5321,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:5275: checking if we have identified curses headers" >&5 ++echo "$as_me:5324: 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 +@@ -5284,7 +5333,7 @@ for cf_header in \ + curses.h ncurses/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5287 "configure" ++#line 5336 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -5296,16 +5345,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5299: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5348: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5302: \$? = $ac_status" >&5 ++ echo "$as_me:5351: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5305: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5354: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5308: \$? = $ac_status" >&5 ++ echo "$as_me:5357: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -5316,11 +5365,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5319: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:5368: 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:5323: error: No curses header-files found" >&5 ++ { { echo "$as_me:5372: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5330,23 +5379,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:5333: checking for $ac_header" >&5 ++echo "$as_me:5382: 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 5339 "configure" ++#line 5388 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:5343: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:5392: \"$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:5349: \$? = $ac_status" >&5 ++ echo "$as_me:5398: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -5365,7 +5414,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:5368: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:5417: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 5424 "configure" ++#line 5473 "configure" + #include "confdefs.h" + #include + int +@@ -5433,16 +5482,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5436: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5485: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5439: \$? = $ac_status" >&5 ++ echo "$as_me:5488: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5442: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5491: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5445: \$? = $ac_status" >&5 ++ echo "$as_me:5494: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5459,7 +5508,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5462: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5511: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5478,7 +5527,7 @@ fi + + } + +-echo "$as_me:5481: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:5530: 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 +@@ -5490,7 +5539,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5493 "configure" ++#line 5542 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -5514,16 +5563,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5517: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5566: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5520: \$? = $ac_status" >&5 ++ echo "$as_me:5569: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5523: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5572: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5526: \$? = $ac_status" >&5 ++ echo "$as_me:5575: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -5538,14 +5587,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5541: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:5590: 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:5548: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:5597: 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 +@@ -5666,7 +5715,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5669 "configure" ++#line 5718 "configure" + #include "confdefs.h" + #include + int +@@ -5678,16 +5727,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5681: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5730: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5684: \$? = $ac_status" >&5 ++ echo "$as_me:5733: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5687: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5736: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5690: \$? = $ac_status" >&5 ++ echo "$as_me:5739: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5704,7 +5753,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5707: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5756: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5727,7 +5776,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5730 "configure" ++#line 5779 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -5751,16 +5800,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5754: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5803: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5757: \$? = $ac_status" >&5 ++ echo "$as_me:5806: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5760: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5809: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5763: \$? = $ac_status" >&5 ++ echo "$as_me:5812: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -5781,12 +5830,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5784: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:5833: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:5789: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:5838: 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%/[^/]*$%%'` +@@ -5822,7 +5871,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5825 "configure" ++#line 5874 "configure" + #include "confdefs.h" + #include + int +@@ -5834,16 +5883,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5837: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5886: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5840: \$? = $ac_status" >&5 ++ echo "$as_me:5889: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5843: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5892: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5846: \$? = $ac_status" >&5 ++ echo "$as_me:5895: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -5860,7 +5909,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:5863: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:5912: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -5908,7 +5957,7 @@ EOF + ;; + esac + +-echo "$as_me:5911: checking for terminfo header" >&5 ++echo "$as_me:5960: 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 +@@ -5926,7 +5975,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 5929 "configure" ++#line 5978 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -5941,16 +5990,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:5944: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:5993: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:5947: \$? = $ac_status" >&5 ++ echo "$as_me:5996: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:5950: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:5999: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:5953: \$? = $ac_status" >&5 ++ echo "$as_me:6002: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -5966,7 +6015,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:5969: result: $cf_cv_term_header" >&5 ++echo "$as_me:6018: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -6004,7 +6053,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:6007: checking for ncurses version" >&5 ++echo "$as_me:6056: 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 +@@ -6030,10 +6079,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:6033: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:6082: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:6036: \$? = $ac_status" >&5 ++ echo "$as_me:6085: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -6043,7 +6092,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6046 "configure" ++#line 6095 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -6068,15 +6117,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:6071: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6120: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6074: \$? = $ac_status" >&5 ++ echo "$as_me:6123: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:6076: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6125: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6079: \$? = $ac_status" >&5 ++ echo "$as_me:6128: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -6090,7 +6139,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:6093: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:6142: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -6103,7 +6152,7 @@ cf_nculib_root=ncurses + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:6106: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:6155: 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 +@@ -6111,7 +6160,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6114 "configure" ++#line 6163 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6130,16 +6179,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6133: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6182: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6136: \$? = $ac_status" >&5 ++ echo "$as_me:6185: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6139: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6188: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6142: \$? = $ac_status" >&5 ++ echo "$as_me:6191: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -6150,10 +6199,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6153: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:6202: 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:6156: checking for initscr in -lgpm" >&5 ++ echo "$as_me:6205: 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 +@@ -6161,7 +6210,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6164 "configure" ++#line 6213 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6180,16 +6229,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6183: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6232: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6186: \$? = $ac_status" >&5 ++ echo "$as_me:6235: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6189: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6238: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6192: \$? = $ac_status" >&5 ++ echo "$as_me:6241: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -6200,7 +6249,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6203: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:6252: 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" +@@ -6215,7 +6264,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:6218: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:6267: 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 +@@ -6223,7 +6272,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6226 "configure" ++#line 6275 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -6242,16 +6291,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6245: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6294: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6248: \$? = $ac_status" >&5 ++ echo "$as_me:6297: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6251: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6300: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6254: \$? = $ac_status" >&5 ++ echo "$as_me:6303: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -6262,7 +6311,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:6265: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:6314: 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" +@@ -6311,13 +6360,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:6314: checking for initscr" >&5 ++ echo "$as_me:6363: 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 6320 "configure" ++#line 6369 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -6348,16 +6397,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6351: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6400: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6354: \$? = $ac_status" >&5 ++ echo "$as_me:6403: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6357: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6406: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6360: \$? = $ac_status" >&5 ++ echo "$as_me:6409: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -6367,18 +6416,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:6370: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:6419: 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:6377: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:6426: 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 6381 "configure" ++#line 6430 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6390,25 +6439,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6393: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6442: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6396: \$? = $ac_status" >&5 ++ echo "$as_me:6445: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6399: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6448: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6402: \$? = $ac_status" >&5 ++ echo "$as_me:6451: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6404: result: yes" >&5 ++ echo "$as_me:6453: 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:6411: result: no" >&5 ++echo "$as_me:6460: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -6476,11 +6525,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:6479: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:6528: 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 6483 "configure" ++#line 6532 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6492,25 +6541,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6495: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6544: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6498: \$? = $ac_status" >&5 ++ echo "$as_me:6547: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6501: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6550: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6504: \$? = $ac_status" >&5 ++ echo "$as_me:6553: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6506: result: yes" >&5 ++ echo "$as_me:6555: 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:6513: result: no" >&5 ++echo "$as_me:6562: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -6525,7 +6574,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:6528: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:6577: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -6533,7 +6582,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:6536: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:6585: 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 +@@ -6543,7 +6592,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6546 "configure" ++#line 6595 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -6555,23 +6604,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6558: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6607: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6561: \$? = $ac_status" >&5 ++ echo "$as_me:6610: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6564: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6613: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6567: \$? = $ac_status" >&5 ++ echo "$as_me:6616: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:6569: result: yes" >&5 ++ echo "$as_me:6618: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:6574: result: no" >&5 ++echo "$as_me:6623: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -6589,7 +6638,7 @@ else + NCURSES_CONFIG=none + fi + +-echo "$as_me:6592: checking if you want wide-character code" >&5 ++echo "$as_me:6641: checking if you want wide-character code" >&5 + echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 + + # Check whether --enable-widec or --disable-widec was given. +@@ -6599,30 +6648,30 @@ if test "${enable_widec+set}" = set; then + else + with_widec=no + fi; +-echo "$as_me:6602: result: $with_widec" >&5 ++echo "$as_me:6651: result: $with_widec" >&5 + echo "${ECHO_T}$with_widec" >&6 + if test "$with_widec" = yes ; then + + for ac_header in wchar.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:6609: checking for $ac_header" >&5 ++echo "$as_me:6658: 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 6615 "configure" ++#line 6664 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:6619: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:6668: \"$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:6625: \$? = $ac_status" >&5 ++ echo "$as_me:6674: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -6641,7 +6690,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:6644: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:6693: 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 <&5 ++echo "$as_me:6703: 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 +@@ -6659,7 +6708,7 @@ else + + cf_save_LIBS="$LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6662 "configure" ++#line 6711 "configure" + #include "confdefs.h" + + #include +@@ -6677,16 +6726,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6680: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6729: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6683: \$? = $ac_status" >&5 ++ echo "$as_me:6732: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6686: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6735: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6689: \$? = $ac_status" >&5 ++ echo "$as_me:6738: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_utf8_lib=yes + else +@@ -6698,12 +6747,12 @@ cat "conftest.$ac_ext" >&5 + cf_cv_header_path_utf8= + cf_cv_library_path_utf8= + +-echo "${as_me:-configure}:6701: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6750: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6706 "configure" ++#line 6755 "configure" + #include "confdefs.h" + + #include +@@ -6716,16 +6765,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6719: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6768: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6722: \$? = $ac_status" >&5 ++ echo "$as_me:6771: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6725: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6774: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6728: \$? = $ac_status" >&5 ++ echo "$as_me:6777: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -6739,7 +6788,7 @@ cat "conftest.$ac_ext" >&5 + LIBS="-lutf8 $cf_save_LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6742 "configure" ++#line 6791 "configure" + #include "confdefs.h" + + #include +@@ -6752,16 +6801,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6755: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6804: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6758: \$? = $ac_status" >&5 ++ echo "$as_me:6807: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6761: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6810: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6764: \$? = $ac_status" >&5 ++ echo "$as_me:6813: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -6778,9 +6827,9 @@ cat "conftest.$ac_ext" >&5 + + test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 + +-echo "${as_me:-configure}:6781: testing find linkage for utf8 library ..." 1>&5 ++echo "${as_me:-configure}:6830: testing find linkage for utf8 library ..." 1>&5 + +-echo "${as_me:-configure}:6783: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6832: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_CPPFLAGS="$CPPFLAGS" + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -6871,7 +6920,7 @@ cf_search="$cf_search $cf_header_path_list" + 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}:6874: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:6923: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_save_CPPFLAGS" + +@@ -6879,7 +6928,7 @@ echo "${as_me:-configure}:6874: testing ... testing $cf_cv_header_path_utf8 ..." + CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6882 "configure" ++#line 6931 "configure" + #include "confdefs.h" + + #include +@@ -6892,21 +6941,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6898: \$? = $ac_status" >&5 ++ echo "$as_me:6947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6904: \$? = $ac_status" >&5 ++ echo "$as_me:6953: \$? = $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}:6909: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:6958: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=maybe + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -6924,7 +6973,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + if test "$cf_cv_find_linkage_utf8" = maybe ; then + +-echo "${as_me:-configure}:6927: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:6976: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + cf_save_LDFLAGS="$LDFLAGS" +@@ -6999,13 +7048,13 @@ cf_search="$cf_library_path_list $cf_search" + 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}:7002: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7051: 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 7008 "configure" ++#line 7057 "configure" + #include "confdefs.h" + + #include +@@ -7018,21 +7067,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7021: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7070: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7024: \$? = $ac_status" >&5 ++ echo "$as_me:7073: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7027: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7076: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7030: \$? = $ac_status" >&5 ++ echo "$as_me:7079: \$? = $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}:7035: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7084: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=yes + cf_cv_library_file_utf8="-lutf8" +@@ -7074,7 +7123,7 @@ fi + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:7077: result: $cf_cv_utf8_lib" >&5 ++echo "$as_me:7126: 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 +@@ -7112,7 +7161,7 @@ if test -n "$cf_cv_header_path_utf8" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7115 "configure" ++#line 7164 "configure" + #include "confdefs.h" + #include + int +@@ -7124,16 +7173,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7127: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7176: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7130: \$? = $ac_status" >&5 ++ echo "$as_me:7179: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7133: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7182: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7136: \$? = $ac_status" >&5 ++ echo "$as_me:7185: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -7150,7 +7199,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:7153: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:7202: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -7186,7 +7235,7 @@ if test -n "$cf_cv_library_path_utf8" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:7189: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:7238: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -7216,13 +7265,13 @@ cf_ncuconfig_root=ncursesw + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:7219: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:7268: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:7222: result: yes" >&5 ++ echo "$as_me:7271: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:7225: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:7274: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -7355,7 +7404,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7358 "configure" ++#line 7407 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -7367,37 +7416,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7370: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7419: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7373: \$? = $ac_status" >&5 ++ echo "$as_me:7422: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7376: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7425: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7379: \$? = $ac_status" >&5 ++ echo "$as_me:7428: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7385 "configure" ++#line 7434 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:7392: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7441: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7395: \$? = $ac_status" >&5 ++ echo "$as_me:7444: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:7397: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7446: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7400: \$? = $ac_status" >&5 ++ echo "$as_me:7449: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -7571,7 +7620,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7574 "configure" ++#line 7623 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -7583,37 +7632,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7586: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7635: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7589: \$? = $ac_status" >&5 ++ echo "$as_me:7638: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7592: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7641: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7595: \$? = $ac_status" >&5 ++ echo "$as_me:7644: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7601 "configure" ++#line 7650 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:7608: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7657: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7611: \$? = $ac_status" >&5 ++ echo "$as_me:7660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:7613: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7662: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7616: \$? = $ac_status" >&5 ++ echo "$as_me:7665: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -7630,7 +7679,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:7633: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:7682: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -7646,7 +7695,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:7649: checking for terminfo header" >&5 ++echo "$as_me:7698: 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 +@@ -7664,7 +7713,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7667 "configure" ++#line 7716 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -7679,16 +7728,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7682: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7731: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7685: \$? = $ac_status" >&5 ++ echo "$as_me:7734: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7688: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7737: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7691: \$? = $ac_status" >&5 ++ echo "$as_me:7740: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -7704,7 +7753,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:7707: result: $cf_cv_term_header" >&5 ++echo "$as_me:7756: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -7739,7 +7788,7 @@ esac + fi + + else +- echo "$as_me:7742: result: no" >&5 ++ echo "$as_me:7791: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -7755,7 +7804,7 @@ if test -n "$ac_tool_prefix"; then + 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:7758: checking for $ac_word" >&5 ++echo "$as_me:7807: 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 +@@ -7770,7 +7819,7 @@ for ac_dir in $ac_dummy; do + 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:7773: found $ac_dir/$ac_word" >&5 ++echo "$as_me:7822: found $ac_dir/$ac_word" >&5 + break + done + +@@ -7778,10 +7827,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:7781: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:7830: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:7784: result: no" >&5 ++ echo "$as_me:7833: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -7794,7 +7843,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:7797: checking for $ac_word" >&5 ++echo "$as_me:7846: 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 +@@ -7809,7 +7858,7 @@ for ac_dir in $ac_dummy; do + 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:7812: found $ac_dir/$ac_word" >&5 ++echo "$as_me:7861: found $ac_dir/$ac_word" >&5 + break + done + +@@ -7817,10 +7866,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:7820: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:7869: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:7823: result: no" >&5 ++ echo "$as_me:7872: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -7977,7 +8026,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:7980: checking if we have identified curses headers" >&5 ++echo "$as_me:8029: 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 +@@ -7989,7 +8038,7 @@ for cf_header in \ + curses.h ncursesw/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7992 "configure" ++#line 8041 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -8001,16 +8050,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8004: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8053: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8007: \$? = $ac_status" >&5 ++ echo "$as_me:8056: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8010: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8059: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8013: \$? = $ac_status" >&5 ++ echo "$as_me:8062: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -8021,11 +8070,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8024: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:8073: 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:8028: error: No curses header-files found" >&5 ++ { { echo "$as_me:8077: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -8035,23 +8084,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:8038: checking for $ac_header" >&5 ++echo "$as_me:8087: 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 8044 "configure" ++#line 8093 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:8048: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:8097: \"$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:8054: \$? = $ac_status" >&5 ++ echo "$as_me:8103: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -8070,7 +8119,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:8073: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:8122: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 8129 "configure" ++#line 8178 "configure" + #include "confdefs.h" + #include + int +@@ -8138,16 +8187,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8141: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8190: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8144: \$? = $ac_status" >&5 ++ echo "$as_me:8193: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8147: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8196: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8150: \$? = $ac_status" >&5 ++ echo "$as_me:8199: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8164,7 +8213,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8167: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8216: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8183,7 +8232,7 @@ fi + + } + +-echo "$as_me:8186: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:8235: 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 +@@ -8195,7 +8244,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8198 "configure" ++#line 8247 "configure" + #include "confdefs.h" + + #define _XOPEN_SOURCE_EXTENDED +@@ -8227,16 +8276,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8230: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8279: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8233: \$? = $ac_status" >&5 ++ echo "$as_me:8282: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8236: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8285: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8239: \$? = $ac_status" >&5 ++ echo "$as_me:8288: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -8251,14 +8300,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8254: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:8303: 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:8261: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:8310: 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 +@@ -8379,7 +8428,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8382 "configure" ++#line 8431 "configure" + #include "confdefs.h" + #include + int +@@ -8391,16 +8440,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8394: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8443: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8397: \$? = $ac_status" >&5 ++ echo "$as_me:8446: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8400: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8449: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8403: \$? = $ac_status" >&5 ++ echo "$as_me:8452: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8417,7 +8466,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8420: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8469: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8440,7 +8489,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8443 "configure" ++#line 8492 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -8464,16 +8513,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8467: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8516: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8470: \$? = $ac_status" >&5 ++ echo "$as_me:8519: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8473: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8522: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8476: \$? = $ac_status" >&5 ++ echo "$as_me:8525: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -8494,12 +8543,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8497: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8546: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:8502: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:8551: 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%/[^/]*$%%'` +@@ -8535,7 +8584,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8538 "configure" ++#line 8587 "configure" + #include "confdefs.h" + #include + int +@@ -8547,16 +8596,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8550: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8599: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8553: \$? = $ac_status" >&5 ++ echo "$as_me:8602: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8556: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8605: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8559: \$? = $ac_status" >&5 ++ echo "$as_me:8608: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8573,7 +8622,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8576: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8625: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8621,7 +8670,7 @@ EOF + ;; + esac + +-echo "$as_me:8624: checking for terminfo header" >&5 ++echo "$as_me:8673: 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 +@@ -8639,7 +8688,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8642 "configure" ++#line 8691 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -8654,16 +8703,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8657: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8706: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8660: \$? = $ac_status" >&5 ++ echo "$as_me:8709: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8663: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8712: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8666: \$? = $ac_status" >&5 ++ echo "$as_me:8715: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -8679,7 +8728,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:8682: result: $cf_cv_term_header" >&5 ++echo "$as_me:8731: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -8717,7 +8766,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:8720: checking for ncurses version" >&5 ++echo "$as_me:8769: 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 +@@ -8743,10 +8792,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:8746: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:8795: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:8749: \$? = $ac_status" >&5 ++ echo "$as_me:8798: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -8756,7 +8805,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8759 "configure" ++#line 8808 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -8781,15 +8830,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:8784: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8833: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8787: \$? = $ac_status" >&5 ++ echo "$as_me:8836: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:8789: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8838: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8792: \$? = $ac_status" >&5 ++ echo "$as_me:8841: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -8803,7 +8852,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:8806: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:8855: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -8816,7 +8865,7 @@ cf_nculib_root=ncursesw + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:8819: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:8868: 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 +@@ -8824,7 +8873,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8827 "configure" ++#line 8876 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8843,16 +8892,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8846: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8895: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8849: \$? = $ac_status" >&5 ++ echo "$as_me:8898: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8852: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8901: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8855: \$? = $ac_status" >&5 ++ echo "$as_me:8904: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -8863,10 +8912,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8866: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:8915: 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:8869: checking for initscr in -lgpm" >&5 ++ echo "$as_me:8918: 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 +@@ -8874,7 +8923,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8877 "configure" ++#line 8926 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8893,16 +8942,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8896: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8945: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8899: \$? = $ac_status" >&5 ++ echo "$as_me:8948: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8902: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8951: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8905: \$? = $ac_status" >&5 ++ echo "$as_me:8954: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -8913,7 +8962,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8916: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:8965: 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" +@@ -8928,7 +8977,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:8931: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:8980: 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 +@@ -8936,7 +8985,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8939 "configure" ++#line 8988 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -8955,16 +9004,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8958: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9007: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8961: \$? = $ac_status" >&5 ++ echo "$as_me:9010: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8964: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9013: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8967: \$? = $ac_status" >&5 ++ echo "$as_me:9016: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -8975,7 +9024,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:8978: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:9027: 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" +@@ -9024,13 +9073,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:9027: checking for initscr" >&5 ++ echo "$as_me:9076: 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 9033 "configure" ++#line 9082 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9061,16 +9110,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9064: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9113: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9067: \$? = $ac_status" >&5 ++ echo "$as_me:9116: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9070: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9119: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9073: \$? = $ac_status" >&5 ++ echo "$as_me:9122: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -9080,18 +9129,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9083: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:9132: 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:9090: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:9139: 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 9094 "configure" ++#line 9143 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9103,25 +9152,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9106: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9155: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9109: \$? = $ac_status" >&5 ++ echo "$as_me:9158: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9112: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9161: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9115: \$? = $ac_status" >&5 ++ echo "$as_me:9164: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9117: result: yes" >&5 ++ echo "$as_me:9166: 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:9124: result: no" >&5 ++echo "$as_me:9173: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -9189,11 +9238,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:9192: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:9241: 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 9196 "configure" ++#line 9245 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9205,25 +9254,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9208: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9257: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9211: \$? = $ac_status" >&5 ++ echo "$as_me:9260: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9214: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9263: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9217: \$? = $ac_status" >&5 ++ echo "$as_me:9266: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9219: result: yes" >&5 ++ echo "$as_me:9268: 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:9226: result: no" >&5 ++echo "$as_me:9275: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -9238,7 +9287,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:9241: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:9290: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -9246,7 +9295,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:9249: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:9298: 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 +@@ -9256,7 +9305,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9259 "configure" ++#line 9308 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9268,23 +9317,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9271: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9320: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9274: \$? = $ac_status" >&5 ++ echo "$as_me:9323: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9277: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9326: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9280: \$? = $ac_status" >&5 ++ echo "$as_me:9329: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9282: result: yes" >&5 ++ echo "$as_me:9331: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:9287: result: no" >&5 ++echo "$as_me:9336: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -9308,13 +9357,13 @@ cf_ncuconfig_root=ncurses + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:9311: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:9360: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:9314: result: yes" >&5 ++ echo "$as_me:9363: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:9317: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:9366: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -9447,7 +9496,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9450 "configure" ++#line 9499 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9459,37 +9508,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9462: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9511: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9465: \$? = $ac_status" >&5 ++ echo "$as_me:9514: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9468: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9517: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9471: \$? = $ac_status" >&5 ++ echo "$as_me:9520: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9477 "configure" ++#line 9526 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9484: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9533: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9487: \$? = $ac_status" >&5 ++ echo "$as_me:9536: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9489: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9538: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9492: \$? = $ac_status" >&5 ++ echo "$as_me:9541: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -9663,7 +9712,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9666 "configure" ++#line 9715 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9675,37 +9724,37 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9678: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9727: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9681: \$? = $ac_status" >&5 ++ echo "$as_me:9730: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9684: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9733: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9687: \$? = $ac_status" >&5 ++ echo "$as_me:9736: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9693 "configure" ++#line 9742 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9700: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9749: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9703: \$? = $ac_status" >&5 ++ echo "$as_me:9752: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9705: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9754: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9708: \$? = $ac_status" >&5 ++ echo "$as_me:9757: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -9722,7 +9771,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:9725: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:9774: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -9738,7 +9787,7 @@ EOF + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:9741: checking for terminfo header" >&5 ++echo "$as_me:9790: 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 +@@ -9756,7 +9805,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9759 "configure" ++#line 9808 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -9771,16 +9820,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9774: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:9823: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9777: \$? = $ac_status" >&5 ++ echo "$as_me:9826: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9780: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9829: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9783: \$? = $ac_status" >&5 ++ echo "$as_me:9832: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -9796,7 +9845,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:9799: result: $cf_cv_term_header" >&5 ++echo "$as_me:9848: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -9831,7 +9880,7 @@ esac + fi + + else +- echo "$as_me:9834: result: no" >&5 ++ echo "$as_me:9883: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -9847,7 +9896,7 @@ if test -n "$ac_tool_prefix"; then + 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:9850: checking for $ac_word" >&5 ++echo "$as_me:9899: 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 +@@ -9862,7 +9911,7 @@ for ac_dir in $ac_dummy; do + 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:9865: found $ac_dir/$ac_word" >&5 ++echo "$as_me:9914: found $ac_dir/$ac_word" >&5 + break + done + +@@ -9870,10 +9919,10 @@ fi + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:9873: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:9922: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:9876: result: no" >&5 ++ echo "$as_me:9925: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -9886,7 +9935,7 @@ if test -z "$NCURSES_CONFIG"; then + 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:9889: checking for $ac_word" >&5 ++echo "$as_me:9938: 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 +@@ -9901,7 +9950,7 @@ for ac_dir in $ac_dummy; do + 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:9904: found $ac_dir/$ac_word" >&5 ++echo "$as_me:9953: found $ac_dir/$ac_word" >&5 + break + done + +@@ -9909,10 +9958,10 @@ fi + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:9912: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:9961: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:9915: result: no" >&5 ++ echo "$as_me:9964: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -10069,7 +10118,7 @@ LIBS="$cf_add_libs" + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:10072: checking if we have identified curses headers" >&5 ++echo "$as_me:10121: 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 +@@ -10081,7 +10130,7 @@ for cf_header in \ + curses.h ncurses/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10084 "configure" ++#line 10133 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -10093,16 +10142,16 @@ initscr(); tgoto("?", 0,0) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10096: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10145: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10099: \$? = $ac_status" >&5 ++ echo "$as_me:10148: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10102: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10151: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10105: \$? = $ac_status" >&5 ++ echo "$as_me:10154: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -10113,11 +10162,11 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10116: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:10165: 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:10120: error: No curses header-files found" >&5 ++ { { echo "$as_me:10169: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -10127,23 +10176,23 @@ fi + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:10130: checking for $ac_header" >&5 ++echo "$as_me:10179: 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 10136 "configure" ++#line 10185 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:10140: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:10189: \"$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:10146: \$? = $ac_status" >&5 ++ echo "$as_me:10195: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -10162,7 +10211,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:10165: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:10214: 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 <"conftest.$ac_ext" <<_ACEOF +-#line 10221 "configure" ++#line 10270 "configure" + #include "confdefs.h" + #include + int +@@ -10230,16 +10279,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10233: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10282: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10236: \$? = $ac_status" >&5 ++ echo "$as_me:10285: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10239: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10288: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10242: \$? = $ac_status" >&5 ++ echo "$as_me:10291: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10256,7 +10305,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10259: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10308: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10275,7 +10324,7 @@ fi + + } + +-echo "$as_me:10278: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:10327: 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 +@@ -10287,7 +10336,7 @@ else + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10290 "configure" ++#line 10339 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10311,16 +10360,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10314: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10363: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10317: \$? = $ac_status" >&5 ++ echo "$as_me:10366: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10320: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10369: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10323: \$? = $ac_status" >&5 ++ echo "$as_me:10372: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -10335,14 +10384,14 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10338: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:10387: 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:10345: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:10394: 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 +@@ -10463,7 +10512,7 @@ if test -n "$cf_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10466 "configure" ++#line 10515 "configure" + #include "confdefs.h" + #include + int +@@ -10475,16 +10524,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10478: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10527: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10481: \$? = $ac_status" >&5 ++ echo "$as_me:10530: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10484: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10533: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10487: \$? = $ac_status" >&5 ++ echo "$as_me:10536: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10501,7 +10550,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10504: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10553: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10524,7 +10573,7 @@ fi + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10527 "configure" ++#line 10576 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10548,16 +10597,16 @@ printf("old\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10551: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10600: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10554: \$? = $ac_status" >&5 ++ echo "$as_me:10603: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10557: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10606: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10560: \$? = $ac_status" >&5 ++ echo "$as_me:10609: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -10578,12 +10627,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10581: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:10630: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:10586: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:10635: 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%/[^/]*$%%'` +@@ -10619,7 +10668,7 @@ if test -n "$cf_1st_incdir" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10622 "configure" ++#line 10671 "configure" + #include "confdefs.h" + #include + int +@@ -10631,16 +10680,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10634: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10683: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10637: \$? = $ac_status" >&5 ++ echo "$as_me:10686: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10640: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10689: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10643: \$? = $ac_status" >&5 ++ echo "$as_me:10692: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10657,7 +10706,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10660: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10709: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10705,7 +10754,7 @@ EOF + ;; + esac + +-echo "$as_me:10708: checking for terminfo header" >&5 ++echo "$as_me:10757: 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 +@@ -10723,7 +10772,7 @@ esac + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10726 "configure" ++#line 10775 "configure" + #include "confdefs.h" + #include + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -10738,16 +10787,16 @@ int x = auto_left_margin; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10741: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10790: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10744: \$? = $ac_status" >&5 ++ echo "$as_me:10793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10747: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10796: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10750: \$? = $ac_status" >&5 ++ echo "$as_me:10799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -10763,7 +10812,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:10766: result: $cf_cv_term_header" >&5 ++echo "$as_me:10815: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -10801,7 +10850,7 @@ cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-echo "$as_me:10804: checking for ncurses version" >&5 ++echo "$as_me:10853: 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 +@@ -10827,10 +10876,10 @@ Autoconf "old" + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:10830: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:10879: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:10833: \$? = $ac_status" >&5 ++ echo "$as_me:10882: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -10840,7 +10889,7 @@ EOF + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10843 "configure" ++#line 10892 "configure" + #include "confdefs.h" + + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -10865,15 +10914,15 @@ int main(void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:10868: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10917: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10871: \$? = $ac_status" >&5 ++ echo "$as_me:10920: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:10873: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10922: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10876: \$? = $ac_status" >&5 ++ echo "$as_me:10925: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -10887,7 +10936,7 @@ fi + rm -f "$cf_tempfile" + + fi +-echo "$as_me:10890: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:10939: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF +@@ -10900,7 +10949,7 @@ cf_nculib_root=ncurses + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:10903: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:10952: 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 +@@ -10908,7 +10957,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10911 "configure" ++#line 10960 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -10927,16 +10976,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:10930: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10979: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10933: \$? = $ac_status" >&5 ++ echo "$as_me:10982: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:10936: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10985: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10939: \$? = $ac_status" >&5 ++ echo "$as_me:10988: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -10947,10 +10996,10 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:10950: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:10999: 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:10953: checking for initscr in -lgpm" >&5 ++ echo "$as_me:11002: 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 +@@ -10958,7 +11007,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10961 "configure" ++#line 11010 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -10977,16 +11026,16 @@ initscr (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:10980: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11029: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10983: \$? = $ac_status" >&5 ++ echo "$as_me:11032: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:10986: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11035: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10989: \$? = $ac_status" >&5 ++ echo "$as_me:11038: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -10997,7 +11046,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11000: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:11049: 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" +@@ -11012,7 +11061,7 @@ case "$host_os" in + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:11015: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:11064: 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 +@@ -11020,7 +11069,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11023 "configure" ++#line 11072 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -11039,16 +11088,16 @@ tgoto (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11042: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11091: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11045: \$? = $ac_status" >&5 ++ echo "$as_me:11094: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11048: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11097: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11051: \$? = $ac_status" >&5 ++ echo "$as_me:11100: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -11059,7 +11108,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11062: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:11111: 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" +@@ -11108,13 +11157,13 @@ else + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:11111: checking for initscr" >&5 ++ echo "$as_me:11160: 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 11117 "configure" ++#line 11166 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -11145,16 +11194,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11148: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11197: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11151: \$? = $ac_status" >&5 ++ echo "$as_me:11200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11154: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11203: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11157: \$? = $ac_status" >&5 ++ echo "$as_me:11206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -11164,18 +11213,18 @@ ac_cv_func_initscr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:11167: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:11216: 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:11174: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:11223: 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 11178 "configure" ++#line 11227 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11187,25 +11236,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11190: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11239: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11193: \$? = $ac_status" >&5 ++ echo "$as_me:11242: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11196: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11245: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11199: \$? = $ac_status" >&5 ++ echo "$as_me:11248: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11201: result: yes" >&5 ++ echo "$as_me:11250: 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:11208: result: no" >&5 ++echo "$as_me:11257: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -11273,11 +11322,11 @@ cf_search="$cf_library_path_list $cf_search" + + for cf_libdir in $cf_search + do +- echo "$as_me:11276: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:11325: 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 11280 "configure" ++#line 11329 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11289,25 +11338,25 @@ initscr() + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11292: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11341: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11295: \$? = $ac_status" >&5 ++ echo "$as_me:11344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11301: \$? = $ac_status" >&5 ++ echo "$as_me:11350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11303: result: yes" >&5 ++ echo "$as_me:11352: 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:11310: result: no" >&5 ++echo "$as_me:11359: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -11322,7 +11371,7 @@ fi + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:11325: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:11374: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -11330,7 +11379,7 @@ fi + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:11333: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:11382: 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 +@@ -11340,7 +11389,7 @@ echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS.. + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11343 "configure" ++#line 11392 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11352,23 +11401,23 @@ initscr(); mousemask(0,0); tigetstr((char *)0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11355: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11404: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11358: \$? = $ac_status" >&5 ++ echo "$as_me:11407: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11361: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11410: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11364: \$? = $ac_status" >&5 ++ echo "$as_me:11413: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11366: result: yes" >&5 ++ echo "$as_me:11415: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:11371: result: no" >&5 ++echo "$as_me:11420: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -11421,10 +11470,10 @@ else + AUTOCONF_$cf_name NCURSES_VERSION_$cf_name + CF_EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | fgrep AUTOCONF_$cf_name >conftest.out" +- { (eval echo "$as_me:11424: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:11473: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:11427: \$? = $ac_status" >&5 ++ echo "$as_me:11476: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_result=`sed -e "s/^.*AUTOCONF_${cf_name}[ ][ ]*//" conftest.out` +@@ -11442,10 +11491,10 @@ cf_cv_rel_version=${NCURSES_MAJOR}.${NCURSES_MINOR} + + cf_cv_timestamp=`date` + +-echo "$as_me:11445: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 ++echo "$as_me:11494: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 + echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6 + +-echo "$as_me:11448: checking if you want to have a library-prefix" >&5 ++echo "$as_me:11497: checking if you want to have a library-prefix" >&5 + echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 + + # Check whether --with-lib-prefix or --without-lib-prefix was given. +@@ -11455,7 +11504,7 @@ if test "${with_lib_prefix+set}" = set; then + else + with_lib_prefix=auto + fi; +-echo "$as_me:11458: result: $with_lib_prefix" >&5 ++echo "$as_me:11507: result: $with_lib_prefix" >&5 + echo "${ECHO_T}$with_lib_prefix" >&6 + + if test "$with_lib_prefix" = auto +@@ -11493,7 +11542,7 @@ if test X"$CC_G_OPT" = X"" ; then + test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT='' + fi + +-echo "$as_me:11496: checking for default loader flags" >&5 ++echo "$as_me:11545: checking for default loader flags" >&5 + echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 + case $DFT_LWR_MODEL in + (normal) LD_MODEL='' ;; +@@ -11501,13 +11550,13 @@ case $DFT_LWR_MODEL in + (profile) LD_MODEL='-pg';; + (shared) LD_MODEL='' ;; + esac +-echo "$as_me:11504: result: $LD_MODEL" >&5 ++echo "$as_me:11553: result: $LD_MODEL" >&5 + echo "${ECHO_T}$LD_MODEL" >&6 + + LD_RPATH_OPT= + if test "x$cf_cv_enable_rpath" != xno + then +- echo "$as_me:11510: checking for an rpath option" >&5 ++ echo "$as_me:11559: checking for an rpath option" >&5 + echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + case "$cf_cv_system_name" in + (irix*) +@@ -11538,12 +11587,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + (*) + ;; + esac +- echo "$as_me:11541: result: $LD_RPATH_OPT" >&5 ++ echo "$as_me:11590: result: $LD_RPATH_OPT" >&5 + echo "${ECHO_T}$LD_RPATH_OPT" >&6 + + case "x$LD_RPATH_OPT" in + (x-R*) +- echo "$as_me:11546: checking if we need a space after rpath option" >&5 ++ echo "$as_me:11595: 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" + +@@ -11564,7 +11613,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11567 "configure" ++#line 11616 "configure" + #include "confdefs.h" + + int +@@ -11576,16 +11625,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11579: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11628: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11582: \$? = $ac_status" >&5 ++ echo "$as_me:11631: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11585: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11634: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11588: \$? = $ac_status" >&5 ++ echo "$as_me:11637: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_space=no + else +@@ -11595,7 +11644,7 @@ cf_rpath_space=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:11598: result: $cf_rpath_space" >&5 ++ echo "$as_me:11647: result: $cf_rpath_space" >&5 + echo "${ECHO_T}$cf_rpath_space" >&6 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " + ;; +@@ -11617,7 +11666,7 @@ fi + cf_ld_rpath_opt= + test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" + +- echo "$as_me:11620: checking if release/abi version should be used for shared libs" >&5 ++ echo "$as_me:11669: checking if release/abi version should be used for shared libs" >&5 + echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 + + # Check whether --with-shlib-version or --without-shlib-version was given. +@@ -11632,9 +11681,9 @@ if test "${with_shlib_version+set}" = set; then + cf_cv_shlib_version=$withval + ;; + (*) +- echo "$as_me:11635: result: $withval" >&5 ++ echo "$as_me:11684: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- { { echo "$as_me:11637: error: option value must be one of: rel, abi, or auto" >&5 ++ { { echo "$as_me:11686: error: option value must be one of: rel, abi, or auto" >&5 + echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -11643,7 +11692,7 @@ echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + else + cf_cv_shlib_version=auto + fi; +- echo "$as_me:11646: result: $cf_cv_shlib_version" >&5 ++ echo "$as_me:11695: result: $cf_cv_shlib_version" >&5 + echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + cf_cv_rm_so_locs=no +@@ -11666,14 +11715,14 @@ echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + if test "$cf_try_fPIC" = yes + then +- echo "$as_me:11669: checking which $CC option to use" >&5 ++ echo "$as_me:11718: checking which $CC option to use" >&5 + echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + for CC_SHARED_OPTS in -fPIC -fpic '' + do + CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11676 "configure" ++#line 11725 "configure" + #include "confdefs.h" + #include + int +@@ -11685,16 +11734,16 @@ int x = 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11688: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11737: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11691: \$? = $ac_status" >&5 ++ echo "$as_me:11740: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11694: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11743: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11697: \$? = $ac_status" >&5 ++ echo "$as_me:11746: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -11703,7 +11752,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done +- echo "$as_me:11706: result: $CC_SHARED_OPTS" >&5 ++ echo "$as_me:11755: result: $CC_SHARED_OPTS" >&5 + echo "${ECHO_T}$CC_SHARED_OPTS" >&6 + CFLAGS="$cf_save_CFLAGS" + fi +@@ -11774,7 +11823,7 @@ CF_EOF + MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' + test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi + cf_cv_shlib_version_infix=yes +- echo "$as_me:11777: checking if ld -search_paths_first works" >&5 ++ echo "$as_me:11826: checking if ld -search_paths_first works" >&5 + echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 + if test "${cf_cv_ldflags_search_paths_first+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11783,7 +11832,7 @@ else + cf_save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11786 "configure" ++#line 11835 "configure" + #include "confdefs.h" + + int +@@ -11795,16 +11844,16 @@ int i; + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11798: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11847: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11801: \$? = $ac_status" >&5 ++ echo "$as_me:11850: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11804: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11853: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11807: \$? = $ac_status" >&5 ++ echo "$as_me:11856: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ldflags_search_paths_first=yes + else +@@ -11815,7 +11864,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LDFLAGS=$cf_save_LDFLAGS + fi +-echo "$as_me:11818: result: $cf_cv_ldflags_search_paths_first" >&5 ++echo "$as_me:11867: result: $cf_cv_ldflags_search_paths_first" >&5 + echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 + if test "$cf_cv_ldflags_search_paths_first" = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" +@@ -12165,7 +12214,7 @@ CF_EOF + do + CFLAGS="$cf_shared_opts $cf_save_CFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12168 "configure" ++#line 12217 "configure" + #include "confdefs.h" + #include + int +@@ -12177,16 +12226,16 @@ printf("Hello\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12180: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12229: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12183: \$? = $ac_status" >&5 ++ echo "$as_me:12232: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12186: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12235: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12189: \$? = $ac_status" >&5 ++ echo "$as_me:12238: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -12223,7 +12272,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes + ;; + (*) +- { echo "$as_me:12226: WARNING: ignored --with-shlib-version" >&5 ++ { echo "$as_me:12275: WARNING: ignored --with-shlib-version" >&5 + echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + ;; + esac +@@ -12233,7 +12282,7 @@ echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + if test -n "$cf_try_cflags" + then + cat > conftest.$ac_ext < + int main(int argc, char *argv[]) + { +@@ -12245,18 +12294,18 @@ EOF + for cf_opt in $cf_try_cflags + do + CFLAGS="$cf_save_CFLAGS -$cf_opt" +- echo "$as_me:12248: checking if CFLAGS option -$cf_opt works" >&5 ++ echo "$as_me:12297: checking if CFLAGS option -$cf_opt works" >&5 + echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6 +- if { (eval echo "$as_me:12250: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:12299: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12253: \$? = $ac_status" >&5 ++ echo "$as_me:12302: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- echo "$as_me:12255: result: yes" >&5 ++ echo "$as_me:12304: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + cf_save_CFLAGS="$CFLAGS" + else +- echo "$as_me:12259: result: no" >&5 ++ echo "$as_me:12308: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + done +@@ -12271,17 +12320,17 @@ echo "${ECHO_T}no" >&6 + + test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6 + +-echo "${as_me:-configure}:12274: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 ++echo "${as_me:-configure}:12323: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 + + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:12278: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:12327: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + # The test/sample programs in the original tree link using rpath option. + # Make it optional for packagers. + if test -n "$LOCAL_LDFLAGS" + then +- echo "$as_me:12284: checking if you want to link sample programs with rpath option" >&5 ++ echo "$as_me:12333: checking if you want to link sample programs with rpath option" >&5 + echo $ECHO_N "checking if you want to link sample programs with rpath option... $ECHO_C" >&6 + + # Check whether --enable-rpath-link or --disable-rpath-link was given. +@@ -12291,7 +12340,7 @@ if test "${enable_rpath_link+set}" = set; then + else + with_rpath_link=yes + fi; +- echo "$as_me:12294: result: $with_rpath_link" >&5 ++ echo "$as_me:12343: result: $with_rpath_link" >&5 + echo "${ECHO_T}$with_rpath_link" >&6 + if test "$with_rpath_link" = no + then +@@ -12304,7 +12353,7 @@ fi + + ### use option --enable-broken-linker to force on use of broken-linker support + +-echo "$as_me:12307: checking if you want broken-linker support code" >&5 ++echo "$as_me:12356: checking if you want broken-linker support code" >&5 + echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 + + # Check whether --enable-broken_linker or --disable-broken_linker was given. +@@ -12314,7 +12363,7 @@ if test "${enable_broken_linker+set}" = set; then + else + with_broken_linker=no + fi; +-echo "$as_me:12317: result: $with_broken_linker" >&5 ++echo "$as_me:12366: result: $with_broken_linker" >&5 + echo "${ECHO_T}$with_broken_linker" >&6 + + : "${BROKEN_LINKER:=0}" +@@ -12329,14 +12378,14 @@ fi + + # Check to define _XOPEN_SOURCE "automatically" + +-echo "$as_me:12332: checking if the POSIX test-macros are already defined" >&5 ++echo "$as_me:12381: checking if the POSIX test-macros are already defined" >&5 + echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 + if test "${cf_cv_posix_visible+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12339 "configure" ++#line 12388 "configure" + #include "confdefs.h" + #include + int +@@ -12355,16 +12404,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12358: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12407: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12361: \$? = $ac_status" >&5 ++ echo "$as_me:12410: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12364: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12413: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12367: \$? = $ac_status" >&5 ++ echo "$as_me:12416: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_visible=no + else +@@ -12375,7 +12424,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12378: result: $cf_cv_posix_visible" >&5 ++echo "$as_me:12427: result: $cf_cv_posix_visible" >&5 + echo "${ECHO_T}$cf_cv_posix_visible" >&6 + + if test "$cf_cv_posix_visible" = no; then +@@ -12420,14 +12469,14 @@ case "$host_os" in + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-echo "$as_me:12423: checking if this is the GNU C library" >&5 ++echo "$as_me:12472: checking if this is the GNU C library" >&5 + echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 + if test "${cf_cv_gnu_library+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12430 "configure" ++#line 12479 "configure" + #include "confdefs.h" + #include + int +@@ -12446,16 +12495,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12449: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12498: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12452: \$? = $ac_status" >&5 ++ echo "$as_me:12501: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12455: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12504: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12458: \$? = $ac_status" >&5 ++ echo "$as_me:12507: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library=yes + else +@@ -12466,7 +12515,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12469: result: $cf_cv_gnu_library" >&5 ++echo "$as_me:12518: result: $cf_cv_gnu_library" >&5 + echo "${ECHO_T}$cf_cv_gnu_library" >&6 + + if test x$cf_cv_gnu_library = xyes; then +@@ -12474,7 +12523,7 @@ if test x$cf_cv_gnu_library = xyes; then + # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE + # was changed to help a little. newlib incorporated the change about 4 + # years later. +- echo "$as_me:12477: checking if _DEFAULT_SOURCE can be used as a basis" >&5 ++ echo "$as_me:12526: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 + if test "${cf_cv_gnu_library_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12486,7 +12535,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12489 "configure" ++#line 12538 "configure" + #include "confdefs.h" + #include + int +@@ -12505,16 +12554,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12508: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12557: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12511: \$? = $ac_status" >&5 ++ echo "$as_me:12560: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12514: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12563: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12517: \$? = $ac_status" >&5 ++ echo "$as_me:12566: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library_219=yes + else +@@ -12526,12 +12575,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save" + + fi +-echo "$as_me:12529: result: $cf_cv_gnu_library_219" >&5 ++echo "$as_me:12578: result: $cf_cv_gnu_library_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 + + if test "x$cf_cv_gnu_library_219" = xyes; then + cf_save="$CPPFLAGS" +- echo "$as_me:12534: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 ++ echo "$as_me:12583: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_dftsrc_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12636,7 +12685,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12639 "configure" ++#line 12688 "configure" + #include "confdefs.h" + + #include +@@ -12656,16 +12705,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12659: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12708: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12662: \$? = $ac_status" >&5 ++ echo "$as_me:12711: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12665: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12714: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12668: \$? = $ac_status" >&5 ++ echo "$as_me:12717: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_dftsrc_219=yes + else +@@ -12676,7 +12725,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12679: result: $cf_cv_gnu_dftsrc_219" >&5 ++echo "$as_me:12728: result: $cf_cv_gnu_dftsrc_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" + else +@@ -12685,14 +12734,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + + if test "x$cf_cv_gnu_dftsrc_219" != xyes; then + +- echo "$as_me:12688: checking if we must define _GNU_SOURCE" >&5 ++ echo "$as_me:12737: 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 12695 "configure" ++#line 12744 "configure" + #include "confdefs.h" + #include + int +@@ -12707,16 +12756,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12710: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12759: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12713: \$? = $ac_status" >&5 ++ echo "$as_me:12762: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12716: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12765: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12719: \$? = $ac_status" >&5 ++ echo "$as_me:12768: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -12823,7 +12872,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12826 "configure" ++#line 12875 "configure" + #include "confdefs.h" + #include + int +@@ -12838,16 +12887,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12841: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12890: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12844: \$? = $ac_status" >&5 ++ echo "$as_me:12893: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12847: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12896: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12850: \$? = $ac_status" >&5 ++ echo "$as_me:12899: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -12862,12 +12911,12 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12865: result: $cf_cv_gnu_source" >&5 ++echo "$as_me:12914: result: $cf_cv_gnu_source" >&5 + echo "${ECHO_T}$cf_cv_gnu_source" >&6 + + if test "$cf_cv_gnu_source" = yes + then +- echo "$as_me:12870: checking if we should also define _DEFAULT_SOURCE" >&5 ++ echo "$as_me:12919: checking if we should also define _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_default_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12877,7 +12926,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12880 "configure" ++#line 12929 "configure" + #include "confdefs.h" + #include + int +@@ -12892,16 +12941,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12898: \$? = $ac_status" >&5 ++ echo "$as_me:12947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12904: \$? = $ac_status" >&5 ++ echo "$as_me:12953: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_default_source=no + else +@@ -12912,7 +12961,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12915: result: $cf_cv_default_source" >&5 ++echo "$as_me:12964: result: $cf_cv_default_source" >&5 + echo "${ECHO_T}$cf_cv_default_source" >&6 + if test "$cf_cv_default_source" = yes + then +@@ -12949,16 +12998,16 @@ 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:12952: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13001: 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}:12958: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13007: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12961 "configure" ++#line 13010 "configure" + #include "confdefs.h" + #include + int +@@ -12973,16 +13022,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12976: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13025: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12979: \$? = $ac_status" >&5 ++ echo "$as_me:13028: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12982: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13031: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12985: \$? = $ac_status" >&5 ++ echo "$as_me:13034: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13003,7 +13052,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13006 "configure" ++#line 13055 "configure" + #include "confdefs.h" + #include + int +@@ -13018,16 +13067,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13021: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13070: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13024: \$? = $ac_status" >&5 ++ echo "$as_me:13073: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13027: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13076: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13030: \$? = $ac_status" >&5 ++ echo "$as_me:13079: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13038,7 +13087,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:13041: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:13090: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -13046,10 +13095,10 @@ echo "${as_me:-configure}:13041: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:13049: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:13098: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13052 "configure" ++#line 13101 "configure" + #include "confdefs.h" + #include + int +@@ -13064,16 +13113,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13067: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13116: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13070: \$? = $ac_status" >&5 ++ echo "$as_me:13119: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13073: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13122: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13076: \$? = $ac_status" >&5 ++ echo "$as_me:13125: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13089,7 +13138,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13092: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:13141: 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 +@@ -13206,7 +13255,7 @@ fi # cf_cv_posix_visible + # OpenBSD 6.x has broken locale support, both compile-time and runtime. + # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html + # Abusing the conformance level is a workaround. +- { echo "$as_me:13209: WARNING: this system does not provide usable locale support" >&5 ++ { echo "$as_me:13258: WARNING: this system does not provide usable locale support" >&5 + echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + cf_xopen_source="-D_BSD_SOURCE" + cf_XOPEN_SOURCE=700 +@@ -13238,14 +13287,14 @@ echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + ;; + (*) + +-echo "$as_me:13241: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:13290: 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 13248 "configure" ++#line 13297 "configure" + #include "confdefs.h" + + #include +@@ -13265,16 +13314,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13268: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13317: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13271: \$? = $ac_status" >&5 ++ echo "$as_me:13320: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13274: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13323: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13277: \$? = $ac_status" >&5 ++ echo "$as_me:13326: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13286,7 +13335,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13289 "configure" ++#line 13338 "configure" + #include "confdefs.h" + + #include +@@ -13306,16 +13355,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13309: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13358: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13312: \$? = $ac_status" >&5 ++ echo "$as_me:13361: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13315: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13364: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13318: \$? = $ac_status" >&5 ++ echo "$as_me:13367: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13330,7 +13379,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13333: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:13382: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -13490,16 +13539,16 @@ 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:13493: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13542: 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}:13499: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13548: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13502 "configure" ++#line 13551 "configure" + #include "confdefs.h" + #include + int +@@ -13514,16 +13563,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13517: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13566: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13520: \$? = $ac_status" >&5 ++ echo "$as_me:13569: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13523: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13572: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13526: \$? = $ac_status" >&5 ++ echo "$as_me:13575: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13544,7 +13593,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13547 "configure" ++#line 13596 "configure" + #include "confdefs.h" + #include + int +@@ -13559,16 +13608,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13562: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13611: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13565: \$? = $ac_status" >&5 ++ echo "$as_me:13614: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13568: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13617: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13571: \$? = $ac_status" >&5 ++ echo "$as_me:13620: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13579,7 +13628,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:13582: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:13631: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -13587,10 +13636,10 @@ echo "${as_me:-configure}:13582: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:13590: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:13639: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13593 "configure" ++#line 13642 "configure" + #include "confdefs.h" + #include + int +@@ -13605,16 +13654,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13608: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13657: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13611: \$? = $ac_status" >&5 ++ echo "$as_me:13660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13614: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13663: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13617: \$? = $ac_status" >&5 ++ echo "$as_me:13666: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13630,7 +13679,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13633: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:13682: 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 +@@ -13742,10 +13791,10 @@ fi # cf_cv_posix_visible + # Some of these niche implementations use copy/paste, double-check... + test -n "$verbose" && echo " checking if _POSIX_C_SOURCE inteferes" 1>&6 + +-echo "${as_me:-configure}:13745: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 ++echo "${as_me:-configure}:13794: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13748 "configure" ++#line 13797 "configure" + #include "confdefs.h" + + #include +@@ -13765,23 +13814,23 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13768: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13817: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13771: \$? = $ac_status" >&5 ++ echo "$as_me:13820: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13774: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13823: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13777: \$? = $ac_status" >&5 ++ echo "$as_me:13826: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { echo "$as_me:13784: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 ++ { echo "$as_me:13833: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} + CPPFLAGS="$cf_save_xopen_cppflags" + fi +@@ -13803,7 +13852,7 @@ do + test "$CFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 + +-echo "${as_me:-configure}:13806: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:13855: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 + + CFLAGS="$cf_old_cflag" + done +@@ -13815,7 +13864,7 @@ do + test "$CPPFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:13818: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:13867: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_old_cflag" + done +@@ -13903,7 +13952,7 @@ done + if test -n "$cf_new_cflags" ; then + test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 + +-echo "${as_me:-configure}:13906: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 ++echo "${as_me:-configure}:13955: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_new_cflags" +@@ -13913,7 +13962,7 @@ fi + if test -n "$cf_new_cppflags" ; then + test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 + +-echo "${as_me:-configure}:13916: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 ++echo "${as_me:-configure}:13965: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" +@@ -13923,7 +13972,7 @@ fi + if test -n "$cf_new_extra_cppflags" ; then + test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 + +-echo "${as_me:-configure}:13926: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 ++echo "${as_me:-configure}:13975: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 + + test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " + EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" +@@ -13935,10 +13984,10 @@ done + fi + + if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then +- echo "$as_me:13938: checking if _XOPEN_SOURCE really is set" >&5 ++ echo "$as_me:13987: 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 13941 "configure" ++#line 13990 "configure" + #include "confdefs.h" + #include + int +@@ -13953,16 +14002,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13956: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14005: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13959: \$? = $ac_status" >&5 ++ echo "$as_me:14008: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13962: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14011: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13965: \$? = $ac_status" >&5 ++ echo "$as_me:14014: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set=yes + else +@@ -13971,12 +14020,12 @@ cat "conftest.$ac_ext" >&5 + cf_XOPEN_SOURCE_set=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:13974: result: $cf_XOPEN_SOURCE_set" >&5 ++ echo "$as_me:14023: 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 13979 "configure" ++#line 14028 "configure" + #include "confdefs.h" + #include + int +@@ -13991,16 +14040,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13994: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14043: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13997: \$? = $ac_status" >&5 ++ echo "$as_me:14046: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14000: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14049: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14003: \$? = $ac_status" >&5 ++ echo "$as_me:14052: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set_ok=yes + else +@@ -14011,19 +14060,19 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no + then +- { echo "$as_me:14014: WARNING: _XOPEN_SOURCE is lower than requested" >&5 ++ { echo "$as_me:14063: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} + fi + else + +-echo "$as_me:14019: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:14068: 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 14026 "configure" ++#line 14075 "configure" + #include "confdefs.h" + + #include +@@ -14043,16 +14092,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14046: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14095: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14049: \$? = $ac_status" >&5 ++ echo "$as_me:14098: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14052: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14101: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14055: \$? = $ac_status" >&5 ++ echo "$as_me:14104: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14064,7 +14113,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14067 "configure" ++#line 14116 "configure" + #include "confdefs.h" + + #include +@@ -14084,16 +14133,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14087: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14136: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14090: \$? = $ac_status" >&5 ++ echo "$as_me:14139: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14093: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14142: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14096: \$? = $ac_status" >&5 ++ echo "$as_me:14145: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14108,7 +14157,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14111: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:14160: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -14262,7 +14311,7 @@ if test "${enable_largefile+set}" = set; then + fi; + if test "$enable_largefile" != no; then + +- echo "$as_me:14265: checking for special C compiler options needed for large files" >&5 ++ echo "$as_me:14314: 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 +@@ -14274,7 +14323,7 @@ else + # 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 14277 "configure" ++#line 14326 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14294,16 +14343,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14297: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14346: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14300: \$? = $ac_status" >&5 ++ echo "$as_me:14349: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14303: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14352: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14306: \$? = $ac_status" >&5 ++ echo "$as_me:14355: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14313,16 +14362,16 @@ fi + rm -f "conftest.$ac_objext" + CC="$CC -n32" + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14316: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14365: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14319: \$? = $ac_status" >&5 ++ echo "$as_me:14368: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14322: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14371: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14325: \$? = $ac_status" >&5 ++ echo "$as_me:14374: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break + else +@@ -14336,13 +14385,13 @@ rm -f "conftest.$ac_objext" + rm -f "conftest.$ac_ext" + fi + fi +-echo "$as_me:14339: result: $ac_cv_sys_largefile_CC" >&5 ++echo "$as_me:14388: 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:14345: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ echo "$as_me:14394: 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 +@@ -14350,7 +14399,7 @@ else + while :; do + ac_cv_sys_file_offset_bits=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14353 "configure" ++#line 14402 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14370,16 +14419,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14373: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14422: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14376: \$? = $ac_status" >&5 ++ echo "$as_me:14425: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14379: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14428: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14382: \$? = $ac_status" >&5 ++ echo "$as_me:14431: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14388,7 +14437,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14391 "configure" ++#line 14440 "configure" + #include "confdefs.h" + #define _FILE_OFFSET_BITS 64 + #include +@@ -14409,16 +14458,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14412: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14461: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14415: \$? = $ac_status" >&5 ++ echo "$as_me:14464: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14418: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14467: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14421: \$? = $ac_status" >&5 ++ echo "$as_me:14470: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_file_offset_bits=64; break + else +@@ -14429,7 +14478,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14432: result: $ac_cv_sys_file_offset_bits" >&5 ++echo "$as_me:14481: 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 + +@@ -14439,7 +14488,7 @@ EOF + + fi + rm -rf conftest* +- echo "$as_me:14442: checking for _LARGE_FILES value needed for large files" >&5 ++ echo "$as_me:14491: 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 +@@ -14447,7 +14496,7 @@ else + while :; do + ac_cv_sys_large_files=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14450 "configure" ++#line 14499 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14467,16 +14516,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14470: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14519: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14473: \$? = $ac_status" >&5 ++ echo "$as_me:14522: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14476: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14525: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14479: \$? = $ac_status" >&5 ++ echo "$as_me:14528: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14485,7 +14534,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14488 "configure" ++#line 14537 "configure" + #include "confdefs.h" + #define _LARGE_FILES 1 + #include +@@ -14506,16 +14555,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14509: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14558: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14512: \$? = $ac_status" >&5 ++ echo "$as_me:14561: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14515: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14564: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14518: \$? = $ac_status" >&5 ++ echo "$as_me:14567: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_large_files=1; break + else +@@ -14526,7 +14575,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14529: result: $ac_cv_sys_large_files" >&5 ++echo "$as_me:14578: 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 + +@@ -14539,7 +14588,7 @@ rm -rf conftest* + fi + + if test "$enable_largefile" != no ; then +- echo "$as_me:14542: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++ echo "$as_me:14591: 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 +@@ -14547,7 +14596,7 @@ else + while :; do + ac_cv_sys_largefile_source=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14550 "configure" ++#line 14599 "configure" + #include "confdefs.h" + #include + int +@@ -14559,16 +14608,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14562: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14611: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14565: \$? = $ac_status" >&5 ++ echo "$as_me:14614: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14568: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14617: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14571: \$? = $ac_status" >&5 ++ echo "$as_me:14620: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14577,7 +14626,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14580 "configure" ++#line 14629 "configure" + #include "confdefs.h" + #define _LARGEFILE_SOURCE 1 + #include +@@ -14590,16 +14639,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14593: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14642: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14596: \$? = $ac_status" >&5 ++ echo "$as_me:14645: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14599: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14648: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14602: \$? = $ac_status" >&5 ++ echo "$as_me:14651: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_source=1; break + else +@@ -14610,7 +14659,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:14613: result: $ac_cv_sys_largefile_source" >&5 ++echo "$as_me:14662: 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 + +@@ -14624,13 +14673,13 @@ 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:14627: checking for fseeko" >&5 ++echo "$as_me:14676: 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 14633 "configure" ++#line 14682 "configure" + #include "confdefs.h" + #include + int +@@ -14642,16 +14691,16 @@ return fseeko && fseeko (stdin, 0, 0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:14645: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14694: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14648: \$? = $ac_status" >&5 ++ echo "$as_me:14697: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:14651: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14700: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14654: \$? = $ac_status" >&5 ++ echo "$as_me:14703: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fseeko=yes + else +@@ -14661,7 +14710,7 @@ ac_cv_func_fseeko=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:14664: result: $ac_cv_func_fseeko" >&5 ++echo "$as_me:14713: result: $ac_cv_func_fseeko" >&5 + echo "${ECHO_T}$ac_cv_func_fseeko" >&6 + if test $ac_cv_func_fseeko = yes; then + +@@ -14700,14 +14749,14 @@ fi + + fi + +- echo "$as_me:14703: checking whether to use struct dirent64" >&5 ++ echo "$as_me:14752: 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 14710 "configure" ++#line 14759 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types" +@@ -14730,16 +14779,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14733: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14782: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14736: \$? = $ac_status" >&5 ++ echo "$as_me:14785: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14739: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14788: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14742: \$? = $ac_status" >&5 ++ echo "$as_me:14791: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_struct_dirent64=yes + else +@@ -14750,7 +14799,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14753: result: $cf_cv_struct_dirent64" >&5 ++echo "$as_me:14802: result: $cf_cv_struct_dirent64" >&5 + echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 + test "$cf_cv_struct_dirent64" = yes && + cat >>confdefs.h <<\EOF +@@ -14760,7 +14809,7 @@ EOF + fi + + ### Enable compiling-in rcs id's +-echo "$as_me:14763: checking if RCS identifiers should be compiled-in" >&5 ++echo "$as_me:14812: checking if RCS identifiers should be compiled-in" >&5 + echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 + + # Check whether --with-rcs-ids or --without-rcs-ids was given. +@@ -14770,7 +14819,7 @@ if test "${with_rcs_ids+set}" = set; then + else + with_rcs_ids=no + fi; +-echo "$as_me:14773: result: $with_rcs_ids" >&5 ++echo "$as_me:14822: result: $with_rcs_ids" >&5 + echo "${ECHO_T}$with_rcs_ids" >&6 + test "$with_rcs_ids" = yes && + cat >>confdefs.h <<\EOF +@@ -14780,7 +14829,7 @@ EOF + ############################################################################### + + ### Note that some functions (such as const) are normally disabled anyway. +-echo "$as_me:14783: checking if you want to build with function extensions" >&5 ++echo "$as_me:14832: checking if you want to build with function extensions" >&5 + echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 + + # Check whether --enable-ext-funcs or --disable-ext-funcs was given. +@@ -14790,7 +14839,7 @@ if test "${enable_ext_funcs+set}" = set; then + else + with_ext_funcs=yes + fi; +-echo "$as_me:14793: result: $with_ext_funcs" >&5 ++echo "$as_me:14842: result: $with_ext_funcs" >&5 + echo "${ECHO_T}$with_ext_funcs" >&6 + if test "$with_ext_funcs" = yes ; then + NCURSES_EXT_FUNCS=1 +@@ -14808,7 +14857,7 @@ else + fi + + ### use option --enable-const to turn on use of const beyond that in XSI. +-echo "$as_me:14811: checking for extended use of const keyword" >&5 ++echo "$as_me:14860: checking for extended use of const keyword" >&5 + echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 + + # Check whether --enable-const or --disable-const was given. +@@ -14818,7 +14867,7 @@ if test "${enable_const+set}" = set; then + else + with_ext_const=no + fi; +-echo "$as_me:14821: result: $with_ext_const" >&5 ++echo "$as_me:14870: result: $with_ext_const" >&5 + echo "${ECHO_T}$with_ext_const" >&6 + NCURSES_CONST='/*nothing*/' + if test "$with_ext_const" = yes ; then +@@ -14828,7 +14877,7 @@ fi + ############################################################################### + # These options are relatively safe to experiment with. + +-echo "$as_me:14831: checking if you want all development code" >&5 ++echo "$as_me:14880: checking if you want all development code" >&5 + echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 + + # Check whether --with-develop or --without-develop was given. +@@ -14838,7 +14887,7 @@ if test "${with_develop+set}" = set; then + else + with_develop=no + fi; +-echo "$as_me:14841: result: $with_develop" >&5 ++echo "$as_me:14890: result: $with_develop" >&5 + echo "${ECHO_T}$with_develop" >&6 + + ############################################################################### +@@ -14847,7 +14896,7 @@ echo "${ECHO_T}$with_develop" >&6 + # This is still experimental (20080329), but should ultimately be moved to + # the script-block --with-normal, etc. + +-echo "$as_me:14850: checking if you want to link with the pthread library" >&5 ++echo "$as_me:14899: checking if you want to link with the pthread library" >&5 + echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 + + # Check whether --with-pthread or --without-pthread was given. +@@ -14857,27 +14906,27 @@ if test "${with_pthread+set}" = set; then + else + with_pthread=no + fi; +-echo "$as_me:14860: result: $with_pthread" >&5 ++echo "$as_me:14909: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + + if test "$with_pthread" != no ; then +- echo "$as_me:14864: checking for pthread.h" >&5 ++ echo "$as_me:14913: checking for pthread.h" >&5 + echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 + if test "${ac_cv_header_pthread_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14870 "configure" ++#line 14919 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:14874: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:14923: \"$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:14880: \$? = $ac_status" >&5 ++ echo "$as_me:14929: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -14896,7 +14945,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:14899: result: $ac_cv_header_pthread_h" >&5 ++echo "$as_me:14948: result: $ac_cv_header_pthread_h" >&5 + echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 + if test "$ac_cv_header_pthread_h" = yes; then + +@@ -14906,7 +14955,7 @@ EOF + + for cf_lib_pthread in pthread c_r + do +- echo "$as_me:14909: checking if we can link with the $cf_lib_pthread library" >&5 ++ echo "$as_me:14958: checking if we can link with the $cf_lib_pthread library" >&5 + echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 + cf_save_LIBS="$LIBS" + +@@ -14927,7 +14976,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14930 "configure" ++#line 14979 "configure" + #include "confdefs.h" + + #include +@@ -14944,16 +14993,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:14947: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14996: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14950: \$? = $ac_status" >&5 ++ echo "$as_me:14999: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:14953: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15002: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14956: \$? = $ac_status" >&5 ++ echo "$as_me:15005: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_pthread=yes + else +@@ -14963,7 +15012,7 @@ with_pthread=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:14966: result: $with_pthread" >&5 ++ echo "$as_me:15015: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + test "$with_pthread" = yes && break + done +@@ -14991,7 +15040,7 @@ cat >>confdefs.h <<\EOF + EOF + + else +- { { echo "$as_me:14994: error: Cannot link with pthread library" >&5 ++ { { echo "$as_me:15043: error: Cannot link with pthread library" >&5 + echo "$as_me: error: Cannot link with pthread library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -15000,7 +15049,7 @@ fi + + fi + +-echo "$as_me:15003: checking if you want to use weak-symbols for pthreads" >&5 ++echo "$as_me:15052: checking if you want to use weak-symbols for pthreads" >&5 + echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 + + # Check whether --enable-weak-symbols or --disable-weak-symbols was given. +@@ -15010,18 +15059,18 @@ if test "${enable_weak_symbols+set}" = set; then + else + use_weak_symbols=no + fi; +-echo "$as_me:15013: result: $use_weak_symbols" >&5 ++echo "$as_me:15062: result: $use_weak_symbols" >&5 + echo "${ECHO_T}$use_weak_symbols" >&6 + if test "$use_weak_symbols" = yes ; then + +-echo "$as_me:15017: checking if $CC supports weak symbols" >&5 ++echo "$as_me:15066: checking if $CC supports weak symbols" >&5 + echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 + if test "${cf_cv_weak_symbols+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15024 "configure" ++#line 15073 "configure" + #include "confdefs.h" + + #include +@@ -15047,16 +15096,16 @@ weak_symbol(fopen); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15050: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15099: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15053: \$? = $ac_status" >&5 ++ echo "$as_me:15102: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15056: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15105: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15059: \$? = $ac_status" >&5 ++ echo "$as_me:15108: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_weak_symbols=yes + else +@@ -15067,7 +15116,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15070: result: $cf_cv_weak_symbols" >&5 ++echo "$as_me:15119: result: $cf_cv_weak_symbols" >&5 + echo "${ECHO_T}$cf_cv_weak_symbols" >&6 + + else +@@ -15096,13 +15145,13 @@ EOF + fi + + # OpenSUSE is installing ncurses6, using reentrant option. +-echo "$as_me:15099: checking for _nc_TABSIZE" >&5 ++echo "$as_me:15148: checking for _nc_TABSIZE" >&5 + echo $ECHO_N "checking for _nc_TABSIZE... $ECHO_C" >&6 + if test "${ac_cv_func__nc_TABSIZE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15105 "configure" ++#line 15154 "configure" + #include "confdefs.h" + #define _nc_TABSIZE autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -15133,16 +15182,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15136: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15185: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15139: \$? = $ac_status" >&5 ++ echo "$as_me:15188: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15142: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15191: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15145: \$? = $ac_status" >&5 ++ echo "$as_me:15194: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func__nc_TABSIZE=yes + else +@@ -15152,7 +15201,7 @@ ac_cv_func__nc_TABSIZE=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15155: result: $ac_cv_func__nc_TABSIZE" >&5 ++echo "$as_me:15204: result: $ac_cv_func__nc_TABSIZE" >&5 + echo "${ECHO_T}$ac_cv_func__nc_TABSIZE" >&6 + if test "$ac_cv_func__nc_TABSIZE" = yes; then + assume_reentrant=yes +@@ -15164,7 +15213,7 @@ fi + # opaque outside of that, so there is no --enable-opaque option. We can use + # this option without --with-pthreads, but this will be always set for + # pthreads. +-echo "$as_me:15167: checking if you want experimental reentrant code" >&5 ++echo "$as_me:15216: checking if you want experimental reentrant code" >&5 + echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6 + + # Check whether --enable-reentrant or --disable-reentrant was given. +@@ -15174,7 +15223,7 @@ if test "${enable_reentrant+set}" = set; then + else + with_reentrant=$assume_reentrant + fi; +-echo "$as_me:15177: result: $with_reentrant" >&5 ++echo "$as_me:15226: result: $with_reentrant" >&5 + echo "${ECHO_T}$with_reentrant" >&6 + if test "$with_reentrant" = yes ; then + cf_cv_enable_reentrant=1 +@@ -15197,7 +15246,7 @@ fi + + ### Allow using a different wrap-prefix + if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then +- echo "$as_me:15200: checking for prefix used to wrap public variables" >&5 ++ echo "$as_me:15249: checking for prefix used to wrap public variables" >&5 + echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 + + # Check whether --with-wrap-prefix or --without-wrap-prefix was given. +@@ -15207,7 +15256,7 @@ if test "${with_wrap_prefix+set}" = set; then + else + NCURSES_WRAP_PREFIX=_nc_ + fi; +- echo "$as_me:15210: result: $NCURSES_WRAP_PREFIX" >&5 ++ echo "$as_me:15259: result: $NCURSES_WRAP_PREFIX" >&5 + echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 + else + NCURSES_WRAP_PREFIX=_nc_ +@@ -15221,7 +15270,7 @@ EOF + + ### use option --disable-echo to suppress full display compiling commands + +-echo "$as_me:15224: checking if you want to see long compiling messages" >&5 ++echo "$as_me:15273: 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. +@@ -15255,10 +15304,10 @@ else + ECHO_CC='' + + fi; +-echo "$as_me:15258: result: $enableval" >&5 ++echo "$as_me:15307: result: $enableval" >&5 + echo "${ECHO_T}$enableval" >&6 + +-echo "$as_me:15261: checking if you want to use C11 _Noreturn feature" >&5 ++echo "$as_me:15310: checking if you want to use C11 _Noreturn feature" >&5 + echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 + + # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. +@@ -15275,17 +15324,17 @@ else + enable_stdnoreturn=no + + fi; +-echo "$as_me:15278: result: $enable_stdnoreturn" >&5 ++echo "$as_me:15327: result: $enable_stdnoreturn" >&5 + echo "${ECHO_T}$enable_stdnoreturn" >&6 + + if test $enable_stdnoreturn = yes; then +-echo "$as_me:15282: checking for C11 _Noreturn feature" >&5 ++echo "$as_me:15331: checking for C11 _Noreturn feature" >&5 + echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 + if test "${cf_cv_c11_noreturn+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15288 "configure" ++#line 15337 "configure" + #include "confdefs.h" + + #include +@@ -15302,16 +15351,16 @@ if (feof(stdin)) giveup() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15305: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15354: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15308: \$? = $ac_status" >&5 ++ echo "$as_me:15357: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15311: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15360: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15314: \$? = $ac_status" >&5 ++ echo "$as_me:15363: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes + else +@@ -15322,7 +15371,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15325: result: $cf_cv_c11_noreturn" >&5 ++echo "$as_me:15374: result: $cf_cv_c11_noreturn" >&5 + echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 + else + cf_cv_c11_noreturn=no, +@@ -15378,16 +15427,16 @@ then + then + test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15381: testing repairing CFLAGS: $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15430: testing repairing CFLAGS: $CFLAGS ..." 1>&5 + + CFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15386: testing ... fixed $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15435: testing ... fixed $CFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15390: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15439: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -15426,16 +15475,16 @@ then + then + test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:15429: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15478: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:15434: testing ... fixed $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15483: testing ... fixed $CPPFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15438: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15487: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -15474,23 +15523,23 @@ then + then + test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:15477: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15526: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 + + LDFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:15482: testing ... fixed $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15531: testing ... fixed $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:15486: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:15535: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; + esac + fi + +-echo "$as_me:15493: checking if you want to turn on gcc warnings" >&5 ++echo "$as_me:15542: checking if you want to turn on gcc warnings" >&5 + echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 + + # Check whether --enable-warnings or --disable-warnings was given. +@@ -15507,7 +15556,7 @@ else + enable_warnings=no + + fi; +-echo "$as_me:15510: result: $enable_warnings" >&5 ++echo "$as_me:15559: result: $enable_warnings" >&5 + echo "${ECHO_T}$enable_warnings" >&6 + if test "$enable_warnings" = "yes" + then +@@ -15531,7 +15580,7 @@ do + done + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15534 "configure" ++#line 15583 "configure" + #include "confdefs.h" + + #include +@@ -15546,26 +15595,26 @@ String foo = malloc(1); free((void*)foo) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15549: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15598: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15552: \$? = $ac_status" >&5 ++ echo "$as_me:15601: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15555: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15604: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15558: \$? = $ac_status" >&5 ++ echo "$as_me:15607: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + +-echo "$as_me:15561: checking for X11/Xt const-feature" >&5 ++echo "$as_me:15610: checking for X11/Xt const-feature" >&5 + echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 + if test "${cf_cv_const_x_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15568 "configure" ++#line 15617 "configure" + #include "confdefs.h" + + #define _CONST_X_STRING /* X11R7.8 (perhaps) */ +@@ -15582,16 +15631,16 @@ String foo = malloc(1); *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15585: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15634: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15588: \$? = $ac_status" >&5 ++ echo "$as_me:15637: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15591: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15640: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15594: \$? = $ac_status" >&5 ++ echo "$as_me:15643: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_const_x_string=no +@@ -15606,7 +15655,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15609: result: $cf_cv_const_x_string" >&5 ++echo "$as_me:15658: result: $cf_cv_const_x_string" >&5 + echo "${ECHO_T}$cf_cv_const_x_string" >&6 + + LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +@@ -15635,7 +15684,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + cat > "conftest.$ac_ext" <&5 ++ { echo "$as_me:15703: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" +@@ -15667,12 +15716,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:15670: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:15719: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15673: \$? = $ac_status" >&5 ++ echo "$as_me:15722: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15675: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:15724: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi +@@ -15680,7 +15729,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + CFLAGS="$cf_save_CFLAGS" + elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" + then +- { echo "$as_me:15683: checking for $CC warning options..." >&5 ++ { echo "$as_me:15732: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + cf_warn_CONST="" +@@ -15703,12 +15752,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:15706: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:15755: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15709: \$? = $ac_status" >&5 ++ echo "$as_me:15758: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15711: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:15760: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + case "$cf_opt" in + (Winline) +@@ -15716,7 +15765,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + ([34].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:15719: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:15768: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -15726,7 +15775,7 @@ echo "${as_me:-configure}:15719: testing feature is broken in gcc $GCC_VERSION . + ([12].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:15729: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:15778: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -15759,10 +15808,10 @@ cat > conftest.i <&5 ++ { echo "$as_me:15811: checking for $CC __attribute__ directives..." >&5 + echo "$as_me: checking for $CC __attribute__ directives..." >&6;} + cat > "conftest.$ac_ext" <&5 ++ if { (eval echo "$as_me:15863: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15817: \$? = $ac_status" >&5 ++ echo "$as_me:15866: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:15819: result: ... $cf_attribute" >&5 ++ test -n "$verbose" && echo "$as_me:15868: result: ... $cf_attribute" >&5 + echo "${ECHO_T}... $cf_attribute" >&6 + cat conftest.h >>confdefs.h + case "$cf_attribute" in +@@ -15884,7 +15933,7 @@ if test "x$enable_warnings" = "xyes"; then + fi + + ### use option --enable-assertions to turn on generation of assertion code +-echo "$as_me:15887: checking if you want to enable runtime assertions" >&5 ++echo "$as_me:15936: checking if you want to enable runtime assertions" >&5 + echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 + + # Check whether --enable-assertions or --disable-assertions was given. +@@ -15894,7 +15943,7 @@ if test "${enable_assertions+set}" = set; then + else + with_assertions=no + fi; +-echo "$as_me:15897: result: $with_assertions" >&5 ++echo "$as_me:15946: result: $with_assertions" >&5 + echo "${ECHO_T}$with_assertions" >&6 + if test -n "$GCC" + then +@@ -15947,7 +15996,7 @@ case "$CFLAGS $CPPFLAGS" in + ;; + esac + +-echo "$as_me:15950: checking whether to add trace feature to all models" >&5 ++echo "$as_me:15999: checking whether to add trace feature to all models" >&5 + echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 + + # Check whether --with-trace or --without-trace was given. +@@ -15957,7 +16006,7 @@ if test "${with_trace+set}" = set; then + else + cf_with_trace=$cf_all_traces + fi; +-echo "$as_me:15960: result: $cf_with_trace" >&5 ++echo "$as_me:16009: result: $cf_with_trace" >&5 + echo "${ECHO_T}$cf_with_trace" >&6 + + if test "$cf_with_trace" = yes ; then +@@ -16065,7 +16114,7 @@ else + ADA_TRACE=FALSE + fi + +-echo "$as_me:16068: checking if we want to use GNAT projects" >&5 ++echo "$as_me:16117: checking if we want to use GNAT projects" >&5 + echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 + + # Check whether --enable-gnat-projects or --disable-gnat-projects was given. +@@ -16082,21 +16131,21 @@ else + enable_gnat_projects=yes + + fi; +-echo "$as_me:16085: result: $enable_gnat_projects" >&5 ++echo "$as_me:16134: result: $enable_gnat_projects" >&5 + echo "${ECHO_T}$enable_gnat_projects" >&6 + + ### Checks for libraries. + case $cf_cv_system_name in + (*mingw32*) + +-echo "$as_me:16092: checking if ssp library is needed" >&5 ++echo "$as_me:16141: checking if ssp library is needed" >&5 + echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6 + if test "${cf_cv_need_libssp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16099 "configure" ++#line 16148 "configure" + #include "confdefs.h" + + #include +@@ -16113,16 +16162,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16116: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16165: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16119: \$? = $ac_status" >&5 ++ echo "$as_me:16168: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16122: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16171: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16125: \$? = $ac_status" >&5 ++ echo "$as_me:16174: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=no + else +@@ -16132,7 +16181,7 @@ cat "conftest.$ac_ext" >&5 + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lssp" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16135 "configure" ++#line 16184 "configure" + #include "confdefs.h" + + #include +@@ -16149,16 +16198,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16152: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16201: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16155: \$? = $ac_status" >&5 ++ echo "$as_me:16204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16158: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16207: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16161: \$? = $ac_status" >&5 ++ echo "$as_me:16210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=yes + else +@@ -16172,7 +16221,7 @@ 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:16175: result: $cf_cv_need_libssp" >&5 ++echo "$as_me:16224: result: $cf_cv_need_libssp" >&5 + echo "${ECHO_T}$cf_cv_need_libssp" >&6 + + if test "x$cf_cv_need_libssp" = xyes +@@ -16198,13 +16247,13 @@ fi + + ;; + (*) +-echo "$as_me:16201: checking for gettimeofday" >&5 ++echo "$as_me:16250: checking for gettimeofday" >&5 + echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 + if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16207 "configure" ++#line 16256 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -16235,16 +16284,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16238: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16287: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16241: \$? = $ac_status" >&5 ++ echo "$as_me:16290: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16244: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16293: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16247: \$? = $ac_status" >&5 ++ echo "$as_me:16296: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -16254,7 +16303,7 @@ ac_cv_func_gettimeofday=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:16257: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:16306: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + cat >>confdefs.h <<\EOF +@@ -16263,7 +16312,7 @@ EOF + + else + +-echo "$as_me:16266: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:16315: checking for gettimeofday in -lbsd" >&5 + echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16271,7 +16320,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16274 "configure" ++#line 16323 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -16290,16 +16339,16 @@ gettimeofday (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16293: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16342: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16296: \$? = $ac_status" >&5 ++ echo "$as_me:16345: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16299: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16348: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16302: \$? = $ac_status" >&5 ++ echo "$as_me:16351: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -16310,7 +16359,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:16313: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:16362: result: $ac_cv_lib_bsd_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 + if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +@@ -16326,13 +16375,13 @@ fi + esac + + ### Checks for header files. +-echo "$as_me:16329: checking for ANSI C header files" >&5 ++echo "$as_me:16378: 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 16335 "configure" ++#line 16384 "configure" + #include "confdefs.h" + #include + #include +@@ -16340,13 +16389,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:16343: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:16392: \"$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:16349: \$? = $ac_status" >&5 ++ echo "$as_me:16398: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -16368,7 +16417,7 @@ 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 16371 "configure" ++#line 16420 "configure" + #include "confdefs.h" + #include + +@@ -16386,7 +16435,7 @@ 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 16389 "configure" ++#line 16438 "configure" + #include "confdefs.h" + #include + +@@ -16407,7 +16456,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16410 "configure" ++#line 16459 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -16433,15 +16482,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16436: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16485: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16439: \$? = $ac_status" >&5 ++ echo "$as_me:16488: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16441: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16490: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16444: \$? = $ac_status" >&5 ++ echo "$as_me:16493: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -16454,7 +16503,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:16457: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:16506: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -16470,28 +16519,28 @@ 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:16473: checking for $ac_header" >&5 ++echo "$as_me:16522: 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 16479 "configure" ++#line 16528 "configure" + #include "confdefs.h" + $ac_includes_default + #include <$ac_header> + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16485: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16534: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16488: \$? = $ac_status" >&5 ++ echo "$as_me:16537: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16491: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16540: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16494: \$? = $ac_status" >&5 ++ echo "$as_me:16543: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -16501,7 +16550,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16504: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:16553: 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 <&5 ++echo "$as_me:16563: checking for signed char" >&5 + echo $ECHO_N "checking for signed char... $ECHO_C" >&6 + if test "${ac_cv_type_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16520 "configure" ++#line 16569 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16532,16 +16581,16 @@ if (sizeof (signed char)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16535: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16584: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16538: \$? = $ac_status" >&5 ++ echo "$as_me:16587: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16541: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16590: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16544: \$? = $ac_status" >&5 ++ echo "$as_me:16593: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_signed_char=yes + else +@@ -16551,10 +16600,10 @@ ac_cv_type_signed_char=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16554: result: $ac_cv_type_signed_char" >&5 ++echo "$as_me:16603: result: $ac_cv_type_signed_char" >&5 + echo "${ECHO_T}$ac_cv_type_signed_char" >&6 + +-echo "$as_me:16557: checking size of signed char" >&5 ++echo "$as_me:16606: checking size of signed char" >&5 + echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + if test "${ac_cv_sizeof_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16563,7 +16612,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16566 "configure" ++#line 16615 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16575,21 +16624,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16578: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16627: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16581: \$? = $ac_status" >&5 ++ echo "$as_me:16630: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16584: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16633: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16587: \$? = $ac_status" >&5 ++ echo "$as_me:16636: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16592 "configure" ++#line 16641 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16601,16 +16650,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16604: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16653: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16607: \$? = $ac_status" >&5 ++ echo "$as_me:16656: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16610: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16659: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16613: \$? = $ac_status" >&5 ++ echo "$as_me:16662: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -16626,7 +16675,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16629 "configure" ++#line 16678 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16638,16 +16687,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16641: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16690: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16644: \$? = $ac_status" >&5 ++ echo "$as_me:16693: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16647: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16696: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16650: \$? = $ac_status" >&5 ++ echo "$as_me:16699: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -16663,7 +16712,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16666 "configure" ++#line 16715 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16675,16 +16724,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16678: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16727: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16681: \$? = $ac_status" >&5 ++ echo "$as_me:16730: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16684: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16733: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16687: \$? = $ac_status" >&5 ++ echo "$as_me:16736: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -16697,12 +16746,12 @@ done + ac_cv_sizeof_signed_char=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:16700: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:16749: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16705 "configure" ++#line 16754 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -16718,15 +16767,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16721: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16770: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16724: \$? = $ac_status" >&5 ++ echo "$as_me:16773: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16726: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16775: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16729: \$? = $ac_status" >&5 ++ echo "$as_me:16778: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_signed_char=`cat conftest.val` + else +@@ -16742,19 +16791,19 @@ else + ac_cv_sizeof_signed_char=0 + fi + fi +-echo "$as_me:16745: result: $ac_cv_sizeof_signed_char" >&5 ++echo "$as_me:16794: result: $ac_cv_sizeof_signed_char" >&5 + echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:16800: 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 16757 "configure" ++#line 16806 "configure" + #include "confdefs.h" + #include + #include +@@ -16762,13 +16811,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:16765: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:16814: \"$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:16771: \$? = $ac_status" >&5 ++ echo "$as_me:16820: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -16790,7 +16839,7 @@ 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 16793 "configure" ++#line 16842 "configure" + #include "confdefs.h" + #include + +@@ -16808,7 +16857,7 @@ 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 16811 "configure" ++#line 16860 "configure" + #include "confdefs.h" + #include + +@@ -16829,7 +16878,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16832 "configure" ++#line 16881 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -16855,15 +16904,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:16858: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16907: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16861: \$? = $ac_status" >&5 ++ echo "$as_me:16910: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:16863: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16912: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16866: \$? = $ac_status" >&5 ++ echo "$as_me:16915: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -16876,7 +16925,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:16879: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:16928: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -16889,13 +16938,13 @@ 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:16892: checking for $ac_hdr that defines DIR" >&5 ++echo "$as_me:16941: 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 16898 "configure" ++#line 16947 "configure" + #include "confdefs.h" + #include + #include <$ac_hdr> +@@ -16910,16 +16959,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16913: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16962: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16916: \$? = $ac_status" >&5 ++ echo "$as_me:16965: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16919: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16968: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16922: \$? = $ac_status" >&5 ++ echo "$as_me:16971: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -16929,7 +16978,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:16932: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:16981: 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 <&5 ++ echo "$as_me:16994: 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 +@@ -16950,7 +16999,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldir $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16953 "configure" ++#line 17002 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -16969,16 +17018,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16972: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17021: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16975: \$? = $ac_status" >&5 ++ echo "$as_me:17024: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16978: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17027: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16981: \$? = $ac_status" >&5 ++ echo "$as_me:17030: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dir_opendir=yes + else +@@ -16989,14 +17038,14 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:16992: result: $ac_cv_lib_dir_opendir" >&5 ++echo "$as_me:17041: 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:16999: checking for opendir in -lx" >&5 ++ echo "$as_me:17048: 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 +@@ -17004,7 +17053,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17007 "configure" ++#line 17056 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17023,16 +17072,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17026: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17075: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17029: \$? = $ac_status" >&5 ++ echo "$as_me:17078: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17032: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17081: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17035: \$? = $ac_status" >&5 ++ echo "$as_me:17084: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_x_opendir=yes + else +@@ -17043,7 +17092,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17046: result: $ac_cv_lib_x_opendir" >&5 ++echo "$as_me:17095: 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" +@@ -17051,13 +17100,13 @@ fi + + fi + +-echo "$as_me:17054: checking whether time.h and sys/time.h may both be included" >&5 ++echo "$as_me:17103: 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 17060 "configure" ++#line 17109 "configure" + #include "confdefs.h" + #include + #include +@@ -17073,16 +17122,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17076: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17125: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17079: \$? = $ac_status" >&5 ++ echo "$as_me:17128: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17082: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17131: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17085: \$? = $ac_status" >&5 ++ echo "$as_me:17134: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_header_time=yes + else +@@ -17092,7 +17141,7 @@ ac_cv_header_time=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17095: result: $ac_cv_header_time" >&5 ++echo "$as_me:17144: result: $ac_cv_header_time" >&5 + echo "${ECHO_T}$ac_cv_header_time" >&6 + if test $ac_cv_header_time = yes; then + +@@ -17110,13 +17159,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:17113: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:17162: 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 17119 "configure" ++#line 17168 "configure" + #include "confdefs.h" + + int +@@ -17174,16 +17223,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17177: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17226: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17180: \$? = $ac_status" >&5 ++ echo "$as_me:17229: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17183: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17232: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17186: \$? = $ac_status" >&5 ++ echo "$as_me:17235: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -17193,7 +17242,7 @@ ac_cv_c_const=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17196: result: $ac_cv_c_const" >&5 ++echo "$as_me:17245: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -17205,7 +17254,7 @@ fi + + ### Checks for external-data + +-echo "$as_me:17208: checking if data-only library module links" >&5 ++echo "$as_me:17257: checking if data-only library module links" >&5 + echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 + if test "${cf_cv_link_dataonly+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17213,20 +17262,20 @@ else + + rm -f conftest.a + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:17268: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17222: \$? = $ac_status" >&5 ++ echo "$as_me:17271: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + mv conftest.o data.o && \ + ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null + fi + rm -f conftest.$ac_ext data.o + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:17291: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17245: \$? = $ac_status" >&5 ++ echo "$as_me:17294: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -17255,7 +17304,7 @@ EOF + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17258 "configure" ++#line 17307 "configure" + #include "confdefs.h" + + int main(void) +@@ -17266,15 +17315,15 @@ else + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17269: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17318: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17272: \$? = $ac_status" >&5 ++ echo "$as_me:17321: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17274: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17323: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17277: \$? = $ac_status" >&5 ++ echo "$as_me:17326: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -17289,7 +17338,7 @@ fi + + fi + +-echo "$as_me:17292: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:17341: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -17308,23 +17357,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:17311: checking for $ac_header" >&5 ++echo "$as_me:17360: 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 17317 "configure" ++#line 17366 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:17321: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:17370: \"$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:17327: \$? = $ac_status" >&5 ++ echo "$as_me:17376: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -17343,7 +17392,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:17346: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17395: 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 <&5 ++echo "$as_me:17405: checking for working mkstemp" >&5 + echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 + if test "${cf_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17364,7 +17413,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17367 "configure" ++#line 17416 "configure" + #include "confdefs.h" + + #include +@@ -17405,15 +17454,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17408: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17457: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17411: \$? = $ac_status" >&5 ++ echo "$as_me:17460: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17413: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17462: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17416: \$? = $ac_status" >&5 ++ echo "$as_me:17465: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -17428,16 +17477,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:17431: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:17480: result: $cf_cv_func_mkstemp" >&5 + echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 + if test "x$cf_cv_func_mkstemp" = xmaybe ; then +- echo "$as_me:17434: checking for mkstemp" >&5 ++ echo "$as_me:17483: checking for mkstemp" >&5 + echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 + if test "${ac_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17440 "configure" ++#line 17489 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17468,16 +17517,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17471: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17520: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17474: \$? = $ac_status" >&5 ++ echo "$as_me:17523: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17477: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17526: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17480: \$? = $ac_status" >&5 ++ echo "$as_me:17529: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -17487,7 +17536,7 @@ ac_cv_func_mkstemp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17490: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:17539: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -17516,7 +17565,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- + unset cf_TEMP_gnat + # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. + set dummy $cf_prog_gnat; ac_word=$2 +-echo "$as_me:17519: checking for $ac_word" >&5 ++echo "$as_me:17568: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17533,7 +17582,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" +- echo "$as_me:17536: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:17585: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -17545,10 +17594,10 @@ fi + cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat + + if test -n "$cf_TEMP_gnat"; then +- echo "$as_me:17548: result: $cf_TEMP_gnat" >&5 ++ echo "$as_me:17597: result: $cf_TEMP_gnat" >&5 + echo "${ECHO_T}$cf_TEMP_gnat" >&6 + else +- echo "$as_me:17551: result: no" >&5 ++ echo "$as_me:17600: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -17558,7 +17607,7 @@ fi + unset cf_cv_gnat_version + unset cf_TEMP_gnat + +-echo "$as_me:17561: checking for $cf_prog_gnat version" >&5 ++echo "$as_me:17610: checking for $cf_prog_gnat version" >&5 + echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17569,7 +17618,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:17572: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:17621: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version +@@ -17598,7 +17647,7 @@ else + cd conftest.src + for cf_gprconfig in Ada C + do +- echo "$as_me:17601: checking for gprconfig name for $cf_gprconfig" >&5 ++ echo "$as_me:17650: checking for gprconfig name for $cf_gprconfig" >&5 + echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test "$cf_gprconfig" = C + then +@@ -17617,10 +17666,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test -n "$cf_gprconfig_value" + then + eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" +- echo "$as_me:17620: result: $cf_gprconfig_value" >&5 ++ echo "$as_me:17669: result: $cf_gprconfig_value" >&5 + echo "${ECHO_T}$cf_gprconfig_value" >&6 + else +- echo "$as_me:17623: result: missing" >&5 ++ echo "$as_me:17672: result: missing" >&5 + echo "${ECHO_T}missing" >&6 + cf_ada_config="#" + break +@@ -17633,7 +17682,7 @@ echo "${ECHO_T}missing" >&6 + if test "x$cf_ada_config" != "x#" + then + +-echo "$as_me:17636: checking for gnat version" >&5 ++echo "$as_me:17685: checking for gnat version" >&5 + echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17644,7 +17693,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:17647: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:17696: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + +@@ -17653,7 +17702,7 @@ case "$cf_cv_gnat_version" in + cf_cv_prog_gnat_correct=yes + ;; + (*) +- { echo "$as_me:17656: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 ++ { echo "$as_me:17705: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} + cf_cv_prog_gnat_correct=no + ;; +@@ -17661,7 +17710,7 @@ esac + + # Extract the first word of "m4", so it can be a program name with args. + set dummy m4; ac_word=$2 +-echo "$as_me:17664: checking for $ac_word" >&5 ++echo "$as_me:17713: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_M4_exists+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17676,7 +17725,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_M4_exists="yes" +-echo "$as_me:17679: found $ac_dir/$ac_word" >&5 ++echo "$as_me:17728: found $ac_dir/$ac_word" >&5 + break + done + +@@ -17685,20 +17734,20 @@ fi + fi + M4_exists=$ac_cv_prog_M4_exists + if test -n "$M4_exists"; then +- echo "$as_me:17688: result: $M4_exists" >&5 ++ echo "$as_me:17737: result: $M4_exists" >&5 + echo "${ECHO_T}$M4_exists" >&6 + else +- echo "$as_me:17691: result: no" >&5 ++ echo "$as_me:17740: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + + if test "$ac_cv_prog_M4_exists" = no; then + cf_cv_prog_gnat_correct=no +- { echo "$as_me:17697: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 ++ { echo "$as_me:17746: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} + fi + if test "$cf_cv_prog_gnat_correct" = yes; then +- echo "$as_me:17701: checking if GNAT works" >&5 ++ echo "$as_me:17750: checking if GNAT works" >&5 + echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 + + rm -rf ./conftest* ./*~conftest* +@@ -17726,7 +17775,7 @@ else + fi + rm -rf ./conftest* ./*~conftest* + +- echo "$as_me:17729: result: $cf_cv_prog_gnat_correct" >&5 ++ echo "$as_me:17778: result: $cf_cv_prog_gnat_correct" >&5 + echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 + fi + else +@@ -17736,7 +17785,7 @@ fi + + if test "$cf_cv_prog_gnat_correct" = yes; then + +- echo "$as_me:17739: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:17788: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -17753,10 +17802,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + + ;; + esac +- echo "$as_me:17756: result: $ADAFLAGS" >&5 ++ echo "$as_me:17805: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:17759: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:17808: checking if GNATPREP supports -T option" >&5 + echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 + if test "${cf_cv_gnatprep_opt_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17766,11 +17815,11 @@ cf_cv_gnatprep_opt_t=no + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:17769: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:17818: result: $cf_cv_gnatprep_opt_t" >&5 + echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 + test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" + +-echo "$as_me:17773: checking if GNAT supports generics" >&5 ++echo "$as_me:17822: checking if GNAT supports generics" >&5 + echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) +@@ -17780,7 +17829,7 @@ case "$cf_cv_gnat_version" in + cf_gnat_generics=no + ;; + esac +-echo "$as_me:17783: result: $cf_gnat_generics" >&5 ++echo "$as_me:17832: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -17792,7 +17841,7 @@ else + cf_generic_objects= + fi + +-echo "$as_me:17795: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:17844: checking if GNAT supports SIGINT" >&5 + echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 + if test "${cf_cv_gnat_sigint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17840,7 +17889,7 @@ fi + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:17843: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:17892: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -17853,7 +17902,7 @@ cf_gnat_libraries=no + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:17856: checking if GNAT supports project files" >&5 ++echo "$as_me:17905: checking if GNAT supports project files" >&5 + echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.[0-9]*) +@@ -17916,15 +17965,15 @@ CF_EOF + esac + ;; + esac +-echo "$as_me:17919: result: $cf_gnat_projects" >&5 ++echo "$as_me:17968: result: $cf_gnat_projects" >&5 + echo "${ECHO_T}$cf_gnat_projects" >&6 + fi # enable_gnat_projects + + if test "$cf_gnat_projects" = yes + then +- echo "$as_me:17925: checking if GNAT supports libraries" >&5 ++ echo "$as_me:17974: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:17927: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:17976: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -17944,7 +17993,7 @@ then + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:17947: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:17996: WARNING: use old makefile rules since tools are missing" >&5 + echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} + fi + fi +@@ -17956,7 +18005,7 @@ else + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:17959: checking for ada-compiler" >&5 ++echo "$as_me:18008: checking for ada-compiler" >&5 + echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 + + # Check whether --with-ada-compiler or --without-ada-compiler was given. +@@ -17967,12 +18016,12 @@ else + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:17970: result: $cf_ada_compiler" >&5 ++echo "$as_me:18019: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:17975: checking for ada-include" >&5 ++echo "$as_me:18024: checking for ada-include" >&5 + echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 + + # Check whether --with-ada-include or --without-ada-include was given. +@@ -18008,7 +18057,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18011: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18060: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18017,10 +18066,10 @@ esac + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:18020: result: $ADA_INCLUDE" >&5 ++echo "$as_me:18069: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:18023: checking for ada-objects" >&5 ++echo "$as_me:18072: checking for ada-objects" >&5 + echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 + + # Check whether --with-ada-objects or --without-ada-objects was given. +@@ -18056,7 +18105,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18059: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18108: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18065,10 +18114,10 @@ esac + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:18068: result: $ADA_OBJECTS" >&5 ++echo "$as_me:18117: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:18071: checking if an Ada95 shared-library should be built" >&5 ++echo "$as_me:18120: checking if an Ada95 shared-library should be built" >&5 + echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 + + # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. +@@ -18078,14 +18127,14 @@ if test "${with_ada_sharedlib+set}" = set; then + else + with_ada_sharedlib=no + fi; +-echo "$as_me:18081: result: $with_ada_sharedlib" >&5 ++echo "$as_me:18130: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + + if test "x$with_ada_sharedlib" != xno + then + if test "x$cf_gnat_projects" != xyes + then +- { echo "$as_me:18088: WARNING: disabling shared-library since GNAT projects are not supported" >&5 ++ { echo "$as_me:18137: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} + with_ada_sharedlib=no + fi +@@ -18105,7 +18154,7 @@ fi + + # allow the Ada binding to be renamed + +-echo "$as_me:18108: checking for ada-libname" >&5 ++echo "$as_me:18157: checking for ada-libname" >&5 + echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 + + # Check whether --with-ada-libname or --without-ada-libname was given. +@@ -18121,16 +18170,16 @@ case "x$ADA_LIBNAME" in + ;; + esac + +-echo "$as_me:18124: result: $ADA_LIBNAME" >&5 ++echo "$as_me:18173: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + else +- { { echo "$as_me:18128: error: No usable Ada compiler found" >&5 ++ { { echo "$as_me:18177: error: No usable Ada compiler found" >&5 + echo "$as_me: error: No usable Ada compiler found" >&2;} + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:18133: error: The Ada compiler is needed for this package" >&5 ++ { { echo "$as_me:18182: error: The Ada compiler is needed for this package" >&5 + echo "$as_me: error: The Ada compiler is needed for this package" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -18170,7 +18219,7 @@ elif test "$includedir" != "/usr/include"; then + fi + + ### Build up pieces for makefile rules +-echo "$as_me:18173: checking default library suffix" >&5 ++echo "$as_me:18222: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18181,10 +18230,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:18184: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:18233: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:18187: checking default library-dependency suffix" >&5 ++echo "$as_me:18236: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -18267,10 +18316,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" + DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" + fi +-echo "$as_me:18270: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:18319: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:18273: checking default object directory" >&5 ++echo "$as_me:18322: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18286,7 +18335,7 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:18289: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:18338: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + ### Set up low-level terminfo dependencies for makefiles. +@@ -18428,7 +18477,7 @@ 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:18431: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:18480: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -18607,7 +18656,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:18610: error: ambiguous option: $1 ++ { { echo "$as_me:18659: 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;} +@@ -18626,7 +18675,7 @@ Try \`$0 --help' for more information." >&2;} + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:18629: error: unrecognized option: $1 ++ -*) { { echo "$as_me:18678: 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;} +@@ -18700,7 +18749,7 @@ do + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; +- *) { { echo "$as_me:18703: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:18752: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -19060,7 +19109,7 @@ done; } + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:19063: creating $ac_file" >&5 ++ { echo "$as_me:19112: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -19078,7 +19127,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19081: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19130: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -19091,7 +19140,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19094: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19143: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19107,7 +19156,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:19110: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:19159: 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;} +@@ -19116,7 +19165,7 @@ $ac_seen" >&2;} + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:19119: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:19168: 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;} +@@ -19153,7 +19202,7 @@ s,@INSTALL@,$ac_INSTALL,;t t + ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` + if test -z "$ac_init"; then + ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` +- { echo "$as_me:19156: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:19205: 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;} +@@ -19164,7 +19213,7 @@ $ac_seen" >&2;} + ${EGREP-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:19167: WARNING: Some variables may not be substituted: ++ { echo "$as_me:19216: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -19213,7 +19262,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:19216: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:19265: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -19224,7 +19273,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19227: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19276: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -19237,7 +19286,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19240: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19289: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19295,7 +19344,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + 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:19298: $ac_file is unchanged" >&5 ++ { echo "$as_me:19347: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +diff --git a/NEWS b/NEWS +index 241c6188..2fc4c83d 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3858 2022/09/17 20:49:10 tom Exp $ ++-- $Id: NEWS,v 1.3860 2022/09/24 20:40:35 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,16 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20220924 ++ + modify configure macro CF_BUILD_CC to check if the build-compiler ++ works, rather than that it is different from the cross-compiler, e.g., ++ to accommodate a compiler which can be used for either purpose with ++ different flags (report by Mikhail Korolev). ++ + fix another memory-leak in tic. ++ + correct change for cppcheck in menu library (report/analysis by ++ "tuxway", cf: 20220903). ++ + update config.guess, config.sub ++ + 20220917 + + reduce memory-leak in tic by separating allocations for struct entry + from TERMTYPE2 (cf: 20220430). +diff --git a/VERSION b/VERSION +index cecc2752..9345ed3d 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20220917 ++5:0:10 6.3 20220924 +diff --git a/aclocal.m4 b/aclocal.m4 +index 15631bb4..73637796 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: aclocal.m4,v 1.1011 2022/09/10 19:23:45 tom Exp $ ++dnl $Id: aclocal.m4,v 1.1012 2022/09/24 20:41:12 tom Exp $ + dnl Macros used in NCURSES auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -739,7 +739,7 @@ if test "$cf_cv_type_of_bool" = unknown ; then + fi + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_BUILD_CC version: 9 updated: 2021/01/02 09:31:20 ++dnl CF_BUILD_CC version: 10 updated: 2022/09/24 16:36:41 + dnl ----------- + dnl If we're cross-compiling, allow the user to override the tools and their + dnl options. The configure script is oriented toward identifying the host +@@ -805,7 +805,30 @@ if test "$cross_compiling" = yes ; then + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then ++ AC_MSG_CHECKING(if the build-compiler "$BUILD_CC" works) ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&AS_MESSAGE_LOG_FD' ++ ++ AC_TRY_RUN([#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ], ++ cf_ok_build_cc=yes, ++ cf_ok_build_cc=no, ++ cf_ok_build_cc=unknown) ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ AC_MSG_RESULT($cf_ok_build_cc) ++ ++ if test "$cf_ok_build_cc" != yes ++ then + AC_MSG_ERROR([Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler.]) + fi +diff --git a/config.guess b/config.guess +index 1817bdce..a419d864 100755 +--- a/config.guess ++++ b/config.guess +@@ -4,7 +4,7 @@ + + # shellcheck disable=SC2006,SC2268 # see below for rationale + +-timestamp='2022-05-25' ++timestamp='2022-08-01' + + # This file is free software; you can redistribute it and/or modify it + # under the terms of the GNU General Public License as published by +@@ -1036,7 +1036,7 @@ EOF + k1om:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; +- loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) ++ loongarch32:Linux:*:* | loongarch64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + m32r*:Linux:*:*) +diff --git a/config.sub b/config.sub +index dba16e84..fbaa37f2 100755 +--- a/config.sub ++++ b/config.sub +@@ -4,7 +4,7 @@ + + # shellcheck disable=SC2006,SC2268 # see below for rationale + +-timestamp='2022-01-03' ++timestamp='2022-08-01' + + # This file is free software; you can redistribute it and/or modify it + # under the terms of the GNU General Public License as published by +@@ -1207,7 +1207,7 @@ case $cpu-$vendor in + | k1om \ + | le32 | le64 \ + | lm32 \ +- | loongarch32 | loongarch64 | loongarchx32 \ ++ | loongarch32 | loongarch64 \ + | m32c | m32r | m32rle \ + | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ + | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ +diff --git a/configure b/configure +index 47a4c8ec..4c87cd54 100755 +--- a/configure ++++ b/configure +@@ -5314,8 +5314,57 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 + + : ${BUILD_CC:='${CC}'} + +- if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then +- { { echo "$as_me:5318: error: Cross-build requires two compilers. ++ echo "$as_me:5317: checking if the build-compiler \"$BUILD_CC\" works" >&5 ++echo $ECHO_N "checking if the build-compiler \"$BUILD_CC\" works... $ECHO_C" >&6 ++ ++ cf_save_crossed=$cross_compiling ++ cf_save_ac_link=$ac_link ++ cross_compiling=no ++ ac_link='$BUILD_CC -o "conftest$ac_exeext" $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS "conftest.$ac_ext" $BUILD_LIBS >&5' ++ ++ if test "$cross_compiling" = yes; then ++ cf_ok_build_cc=unknown ++else ++ cat >"conftest.$ac_ext" <<_ACEOF ++#line 5329 "configure" ++#include "confdefs.h" ++#include ++ int main(int argc, char *argv[]) ++ { ++ ${cf_cv_main_return:-return}(argc < 0 || argv == 0 || argv[0] == 0); ++ } ++ ++_ACEOF ++rm -f "conftest$ac_exeext" ++if { (eval echo "$as_me:5339: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>&5 ++ ac_status=$? ++ echo "$as_me:5342: \$? = $ac_status" >&5 ++ (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' ++ { (eval echo "$as_me:5344: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:5347: \$? = $ac_status" >&5 ++ (exit "$ac_status"); }; }; then ++ cf_ok_build_cc=yes ++else ++ echo "$as_me: program exited with status $ac_status" >&5 ++echo "$as_me: failed program was:" >&5 ++cat "conftest.$ac_ext" >&5 ++cf_ok_build_cc=no ++fi ++rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" ++fi ++ ++ cross_compiling=$cf_save_crossed ++ ac_link=$cf_save_ac_link ++ ++ echo "$as_me:5362: result: $cf_ok_build_cc" >&5 ++echo "${ECHO_T}$cf_ok_build_cc" >&6 ++ ++ if test "$cf_ok_build_cc" != yes ++ then ++ { { echo "$as_me:5367: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&5 + echo "$as_me: error: Cross-build requires two compilers. + Use --with-build-cc to specify the native compiler." >&2;} +@@ -5340,7 +5389,7 @@ fi + ### shared, for example. + cf_list_models="" + +-echo "$as_me:5343: checking if libtool -version-number should be used" >&5 ++echo "$as_me:5392: 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. +@@ -5357,7 +5406,7 @@ else + cf_libtool_version=yes + + fi; +-echo "$as_me:5360: result: $cf_libtool_version" >&5 ++echo "$as_me:5409: result: $cf_libtool_version" >&5 + echo "${ECHO_T}$cf_libtool_version" >&6 + + if test "$cf_libtool_version" = yes ; then +@@ -5366,25 +5415,25 @@ else + LIBTOOL_VERSION="-version-info" + case "x$VERSION" in + (x) +- { echo "$as_me:5369: WARNING: VERSION was not set" >&5 ++ { echo "$as_me:5418: WARNING: VERSION was not set" >&5 + echo "$as_me: WARNING: VERSION was not set" >&2;} + ;; + (x*.*.*) + ABI_VERSION="$VERSION" + test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6 + +-echo "${as_me:-configure}:5376: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 ++echo "${as_me:-configure}:5425: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 + + ;; + (x*:*:*) + ABI_VERSION=`echo "$VERSION" | sed -e 's/:/./g'` + test -n "$verbose" && echo " ABI_VERSION: $ABI_VERSION" 1>&6 + +-echo "${as_me:-configure}:5383: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 ++echo "${as_me:-configure}:5432: testing ABI_VERSION: $ABI_VERSION ..." 1>&5 + + ;; + (*) +- { echo "$as_me:5387: WARNING: unexpected VERSION value: $VERSION" >&5 ++ { echo "$as_me:5436: WARNING: unexpected VERSION value: $VERSION" >&5 + echo "$as_me: WARNING: unexpected VERSION value: $VERSION" >&2;} + ;; + esac +@@ -5406,7 +5455,7 @@ LIB_LINK='${CC}' + LIB_INSTALL= + LIB_UNINSTALL= + +-echo "$as_me:5409: checking if you want to build libraries with libtool" >&5 ++echo "$as_me:5458: 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. +@@ -5416,7 +5465,7 @@ if test "${with_libtool+set}" = set; then + else + with_libtool=no + fi; +-echo "$as_me:5419: result: $with_libtool" >&5 ++echo "$as_me:5468: result: $with_libtool" >&5 + echo "${ECHO_T}$with_libtool" >&6 + if test "$with_libtool" != "no"; then + +@@ -5447,7 +5496,7 @@ case ".$with_libtool" in + with_libtool=`echo "$with_libtool" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:5450: error: expected a pathname, not \"$with_libtool\"" >&5 ++ { { echo "$as_me:5499: error: expected a pathname, not \"$with_libtool\"" >&5 + echo "$as_me: error: expected a pathname, not \"$with_libtool\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -5460,7 +5509,7 @@ esac + 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:5463: checking for $ac_word" >&5 ++echo "$as_me:5512: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5475,7 +5524,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_LIBTOOL="$ac_tool_prefix$ac_prog" +-echo "$as_me:5478: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5527: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5483,10 +5532,10 @@ fi + fi + LIBTOOL=$ac_cv_prog_LIBTOOL + if test -n "$LIBTOOL"; then +- echo "$as_me:5486: result: $LIBTOOL" >&5 ++ echo "$as_me:5535: result: $LIBTOOL" >&5 + echo "${ECHO_T}$LIBTOOL" >&6 + else +- echo "$as_me:5489: result: no" >&5 ++ echo "$as_me:5538: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5499,7 +5548,7 @@ if test -z "$LIBTOOL"; then + 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:5502: checking for $ac_word" >&5 ++echo "$as_me:5551: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5514,7 +5563,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_LIBTOOL="$ac_prog" +-echo "$as_me:5517: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5566: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5522,10 +5571,10 @@ fi + fi + ac_ct_LIBTOOL=$ac_cv_prog_ac_ct_LIBTOOL + if test -n "$ac_ct_LIBTOOL"; then +- echo "$as_me:5525: result: $ac_ct_LIBTOOL" >&5 ++ echo "$as_me:5574: result: $ac_ct_LIBTOOL" >&5 + echo "${ECHO_T}$ac_ct_LIBTOOL" >&6 + else +- echo "$as_me:5528: result: no" >&5 ++ echo "$as_me:5577: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5556,7 +5605,7 @@ unset LIBTOOL + 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:5559: checking for $ac_word" >&5 ++echo "$as_me:5608: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5571,7 +5620,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_LIBTOOL="$ac_tool_prefix$ac_prog" +-echo "$as_me:5574: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5623: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5579,10 +5628,10 @@ fi + fi + LIBTOOL=$ac_cv_prog_LIBTOOL + if test -n "$LIBTOOL"; then +- echo "$as_me:5582: result: $LIBTOOL" >&5 ++ echo "$as_me:5631: result: $LIBTOOL" >&5 + echo "${ECHO_T}$LIBTOOL" >&6 + else +- echo "$as_me:5585: result: no" >&5 ++ echo "$as_me:5634: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5595,7 +5644,7 @@ if test -z "$LIBTOOL"; then + 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:5598: checking for $ac_word" >&5 ++echo "$as_me:5647: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_LIBTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -5610,7 +5659,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_LIBTOOL="$ac_prog" +-echo "$as_me:5613: found $ac_dir/$ac_word" >&5 ++echo "$as_me:5662: found $ac_dir/$ac_word" >&5 + break + done + +@@ -5618,10 +5667,10 @@ fi + fi + ac_ct_LIBTOOL=$ac_cv_prog_ac_ct_LIBTOOL + if test -n "$ac_ct_LIBTOOL"; then +- echo "$as_me:5621: result: $ac_ct_LIBTOOL" >&5 ++ echo "$as_me:5670: result: $ac_ct_LIBTOOL" >&5 + echo "${ECHO_T}$ac_ct_LIBTOOL" >&6 + else +- echo "$as_me:5624: result: no" >&5 ++ echo "$as_me:5673: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -5643,7 +5692,7 @@ test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version + fi + fi + if test -z "$LIBTOOL" ; then +- { { echo "$as_me:5646: error: Cannot find libtool" >&5 ++ { { echo "$as_me:5695: error: Cannot find libtool" >&5 + echo "$as_me: error: Cannot find libtool" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5659,7 +5708,7 @@ echo "$as_me: error: Cannot find libtool" >&2;} + + if test -n "$LIBTOOL" && test "$LIBTOOL" != none + then +- echo "$as_me:5662: checking version of $LIBTOOL" >&5 ++ echo "$as_me:5711: checking version of $LIBTOOL" >&5 + echo $ECHO_N "checking version of $LIBTOOL... $ECHO_C" >&6 + + if test -n "$LIBTOOL" && test "$LIBTOOL" != none +@@ -5670,7 +5719,7 @@ else + fi + test -z "$cf_cv_libtool_version" && unset cf_cv_libtool_version + +- echo "$as_me:5673: result: $cf_cv_libtool_version" >&5 ++ echo "$as_me:5722: result: $cf_cv_libtool_version" >&5 + echo "${ECHO_T}$cf_cv_libtool_version" >&6 + if test -n "$cf_cv_libtool_version" + then +@@ -5679,18 +5728,18 @@ echo "${ECHO_T}$cf_cv_libtool_version" >&6 + (*...GNU-libtool...*) + ;; + (*) +- { { echo "$as_me:5682: error: This is not GNU libtool" >&5 ++ { { echo "$as_me:5731: error: This is not GNU libtool" >&5 + echo "$as_me: error: This is not GNU libtool" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + else +- { { echo "$as_me:5688: error: No version found for $LIBTOOL" >&5 ++ { { echo "$as_me:5737: error: No version found for $LIBTOOL" >&5 + echo "$as_me: error: No version found for $LIBTOOL" >&2;} + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:5693: error: GNU libtool has not been found" >&5 ++ { { echo "$as_me:5742: error: GNU libtool has not been found" >&5 + echo "$as_me: error: GNU libtool has not been found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -5726,7 +5775,7 @@ cf_list_models="$cf_list_models libtool" + + else + +-echo "$as_me:5729: checking if you want to build shared libraries" >&5 ++echo "$as_me:5778: checking if you want to build shared libraries" >&5 + echo $ECHO_N "checking if you want to build shared libraries... $ECHO_C" >&6 + + # Check whether --with-shared or --without-shared was given. +@@ -5736,11 +5785,11 @@ if test "${with_shared+set}" = set; then + else + with_shared=no + fi; +-echo "$as_me:5739: result: $with_shared" >&5 ++echo "$as_me:5788: result: $with_shared" >&5 + echo "${ECHO_T}$with_shared" >&6 + test "x$with_shared" = "xyes" && cf_list_models="$cf_list_models shared" + +-echo "$as_me:5743: checking if you want to build static libraries" >&5 ++echo "$as_me:5792: checking if you want to build static libraries" >&5 + echo $ECHO_N "checking if you want to build static libraries... $ECHO_C" >&6 + + # Check whether --with-normal or --without-normal was given. +@@ -5750,11 +5799,11 @@ if test "${with_normal+set}" = set; then + else + with_normal=yes + fi; +-echo "$as_me:5753: result: $with_normal" >&5 ++echo "$as_me:5802: result: $with_normal" >&5 + echo "${ECHO_T}$with_normal" >&6 + test "x$with_normal" = "xyes" && cf_list_models="$cf_list_models normal" + +-echo "$as_me:5757: checking if you want to build debug libraries" >&5 ++echo "$as_me:5806: checking if you want to build debug libraries" >&5 + echo $ECHO_N "checking if you want to build debug libraries... $ECHO_C" >&6 + + # Check whether --with-debug or --without-debug was given. +@@ -5764,11 +5813,11 @@ if test "${with_debug+set}" = set; then + else + with_debug=yes + fi; +-echo "$as_me:5767: result: $with_debug" >&5 ++echo "$as_me:5816: result: $with_debug" >&5 + echo "${ECHO_T}$with_debug" >&6 + test "x$with_debug" = "xyes" && cf_list_models="$cf_list_models debug" + +-echo "$as_me:5771: checking if you want to build profiling libraries" >&5 ++echo "$as_me:5820: checking if you want to build profiling libraries" >&5 + echo $ECHO_N "checking if you want to build profiling libraries... $ECHO_C" >&6 + + # Check whether --with-profile or --without-profile was given. +@@ -5778,7 +5827,7 @@ if test "${with_profile+set}" = set; then + else + with_profile=no + fi; +-echo "$as_me:5781: result: $with_profile" >&5 ++echo "$as_me:5830: result: $with_profile" >&5 + echo "${ECHO_T}$with_profile" >&6 + test "x$with_profile" = "xyes" && cf_list_models="$cf_list_models profile" + +@@ -5786,7 +5835,7 @@ fi + + if test "X$cf_with_cxx_binding" != Xno; then + if test "x$with_shared" = "xyes"; then +-echo "$as_me:5789: checking if you want to build C++ shared libraries" >&5 ++echo "$as_me:5838: checking if you want to build C++ shared libraries" >&5 + echo $ECHO_N "checking if you want to build C++ shared libraries... $ECHO_C" >&6 + + # Check whether --with-cxx-shared or --without-cxx-shared was given. +@@ -5796,26 +5845,26 @@ if test "${with_cxx_shared+set}" = set; then + else + with_shared_cxx=no + fi; +-echo "$as_me:5799: result: $with_shared_cxx" >&5 ++echo "$as_me:5848: result: $with_shared_cxx" >&5 + echo "${ECHO_T}$with_shared_cxx" >&6 + fi + fi + + ############################################################################### + +-echo "$as_me:5806: checking for specified models" >&5 ++echo "$as_me:5855: checking for specified models" >&5 + echo $ECHO_N "checking for specified models... $ECHO_C" >&6 + test -z "$cf_list_models" && cf_list_models=normal + test "$with_libtool" != "no" && cf_list_models=libtool +-echo "$as_me:5810: result: $cf_list_models" >&5 ++echo "$as_me:5859: result: $cf_list_models" >&5 + echo "${ECHO_T}$cf_list_models" >&6 + + ### Use the first model as the default, and save its suffix for use in building + ### up test-applications. +-echo "$as_me:5815: checking for default model" >&5 ++echo "$as_me:5864: checking for default model" >&5 + echo $ECHO_N "checking for default model... $ECHO_C" >&6 + DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'` +-echo "$as_me:5818: result: $DFT_LWR_MODEL" >&5 ++echo "$as_me:5867: result: $DFT_LWR_MODEL" >&5 + echo "${ECHO_T}$DFT_LWR_MODEL" >&6 + + DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` +@@ -5829,7 +5878,7 @@ LIB_NAME=ncurses + LIB_DIR=../lib + LIB_2ND=../../lib + +-echo "$as_me:5832: checking if you want to have a library-prefix" >&5 ++echo "$as_me:5881: checking if you want to have a library-prefix" >&5 + echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 + + # Check whether --with-lib-prefix or --without-lib-prefix was given. +@@ -5839,7 +5888,7 @@ if test "${with_lib_prefix+set}" = set; then + else + with_lib_prefix=auto + fi; +-echo "$as_me:5842: result: $with_lib_prefix" >&5 ++echo "$as_me:5891: result: $with_lib_prefix" >&5 + echo "${ECHO_T}$with_lib_prefix" >&6 + + if test "$with_lib_prefix" = auto +@@ -5870,19 +5919,19 @@ fi + + LIB_SUFFIX= + +- echo "$as_me:5873: checking for PATH separator" >&5 ++ echo "$as_me:5922: 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:5880: result: $PATH_SEPARATOR" >&5 ++ echo "$as_me:5929: result: $PATH_SEPARATOR" >&5 + echo "${ECHO_T}$PATH_SEPARATOR" >&6 + + ############################################################################### + +-echo "$as_me:5885: checking if you want to build a separate terminfo library" >&5 ++echo "$as_me:5934: checking if you want to build a separate terminfo library" >&5 + echo $ECHO_N "checking if you want to build a separate terminfo library... $ECHO_C" >&6 + + # Check whether --with-termlib or --without-termlib was given. +@@ -5892,10 +5941,10 @@ if test "${with_termlib+set}" = set; then + else + with_termlib=no + fi; +-echo "$as_me:5895: result: $with_termlib" >&5 ++echo "$as_me:5944: result: $with_termlib" >&5 + echo "${ECHO_T}$with_termlib" >&6 + +-echo "$as_me:5898: checking if you want to build a separate tic library" >&5 ++echo "$as_me:5947: checking if you want to build a separate tic library" >&5 + echo $ECHO_N "checking if you want to build a separate tic library... $ECHO_C" >&6 + + # Check whether --with-ticlib or --without-ticlib was given. +@@ -5905,7 +5954,7 @@ if test "${with_ticlib+set}" = set; then + else + with_ticlib=no + fi; +-echo "$as_me:5908: result: $with_ticlib" >&5 ++echo "$as_me:5957: result: $with_ticlib" >&5 + echo "${ECHO_T}$with_ticlib" >&6 + + if test X"$CC_G_OPT" = X"" ; then +@@ -5918,7 +5967,7 @@ if test X"$CXX_G_OPT" = X"" ; then + test -n "$GXX" && test "x${ac_cv_prog_cxx_g}" != xyes && CXX_G_OPT='' + fi + +-echo "$as_me:5921: checking for default loader flags" >&5 ++echo "$as_me:5970: checking for default loader flags" >&5 + echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 + case "$DFT_LWR_MODEL" in + (libtool) LD_MODEL='' ;; +@@ -5927,13 +5976,13 @@ case "$DFT_LWR_MODEL" in + (profile) LD_MODEL='-pg';; + (shared) LD_MODEL='' ;; + esac +-echo "$as_me:5930: result: $LD_MODEL" >&5 ++echo "$as_me:5979: result: $LD_MODEL" >&5 + echo "${ECHO_T}$LD_MODEL" >&6 + + case "$DFT_LWR_MODEL" in + (shared) + +-echo "$as_me:5936: checking if rpath option should be used" >&5 ++echo "$as_me:5985: checking if rpath option should be used" >&5 + echo $ECHO_N "checking if rpath option should be used... $ECHO_C" >&6 + + # Check whether --enable-rpath or --disable-rpath was given. +@@ -5943,10 +5992,10 @@ if test "${enable_rpath+set}" = set; then + else + cf_cv_enable_rpath=no + fi; +-echo "$as_me:5946: result: $cf_cv_enable_rpath" >&5 ++echo "$as_me:5995: result: $cf_cv_enable_rpath" >&5 + echo "${ECHO_T}$cf_cv_enable_rpath" >&6 + +-echo "$as_me:5949: checking if shared libraries should be relinked during install" >&5 ++echo "$as_me:5998: checking if shared libraries should be relinked during install" >&5 + echo $ECHO_N "checking if shared libraries should be relinked during install... $ECHO_C" >&6 + + # Check whether --enable-relink or --disable-relink was given. +@@ -5956,7 +6005,7 @@ if test "${enable_relink+set}" = set; then + else + cf_cv_do_relink=yes + fi; +-echo "$as_me:5959: result: $cf_cv_do_relink" >&5 ++echo "$as_me:6008: result: $cf_cv_do_relink" >&5 + echo "${ECHO_T}$cf_cv_do_relink" >&6 + ;; + esac +@@ -5967,7 +6016,7 @@ rel_builddir=.. + LD_RPATH_OPT= + if test "x$cf_cv_enable_rpath" != xno + then +- echo "$as_me:5970: checking for an rpath option" >&5 ++ echo "$as_me:6019: checking for an rpath option" >&5 + echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + case "$cf_cv_system_name" in + (irix*) +@@ -5998,12 +6047,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + (*) + ;; + esac +- echo "$as_me:6001: result: $LD_RPATH_OPT" >&5 ++ echo "$as_me:6050: result: $LD_RPATH_OPT" >&5 + echo "${ECHO_T}$LD_RPATH_OPT" >&6 + + case "x$LD_RPATH_OPT" in + (x-R*) +- echo "$as_me:6006: checking if we need a space after rpath option" >&5 ++ echo "$as_me:6055: 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" + +@@ -6024,7 +6073,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6027 "configure" ++#line 6076 "configure" + #include "confdefs.h" + + int +@@ -6036,16 +6085,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6039: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6088: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6042: \$? = $ac_status" >&5 ++ echo "$as_me:6091: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6045: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6094: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6048: \$? = $ac_status" >&5 ++ echo "$as_me:6097: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_space=no + else +@@ -6055,7 +6104,7 @@ cf_rpath_space=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:6058: result: $cf_rpath_space" >&5 ++ echo "$as_me:6107: result: $cf_rpath_space" >&5 + echo "${ECHO_T}$cf_rpath_space" >&6 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " + ;; +@@ -6077,7 +6126,7 @@ fi + cf_ld_rpath_opt= + test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" + +- echo "$as_me:6080: checking if release/abi version should be used for shared libs" >&5 ++ echo "$as_me:6129: checking if release/abi version should be used for shared libs" >&5 + echo $ECHO_N "checking if release/abi version should be used for shared libs... $ECHO_C" >&6 + + # Check whether --with-shlib-version or --without-shlib-version was given. +@@ -6092,9 +6141,9 @@ if test "${with_shlib_version+set}" = set; then + cf_cv_shlib_version=$withval + ;; + (*) +- echo "$as_me:6095: result: $withval" >&5 ++ echo "$as_me:6144: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- { { echo "$as_me:6097: error: option value must be one of: rel, abi, or auto" >&5 ++ { { echo "$as_me:6146: error: option value must be one of: rel, abi, or auto" >&5 + echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -6103,7 +6152,7 @@ echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + else + cf_cv_shlib_version=auto + fi; +- echo "$as_me:6106: result: $cf_cv_shlib_version" >&5 ++ echo "$as_me:6155: result: $cf_cv_shlib_version" >&5 + echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + cf_cv_rm_so_locs=no +@@ -6126,14 +6175,14 @@ echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + if test "$cf_try_fPIC" = yes + then +- echo "$as_me:6129: checking which $CC option to use" >&5 ++ echo "$as_me:6178: checking which $CC option to use" >&5 + echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + for CC_SHARED_OPTS in -fPIC -fpic '' + do + CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6136 "configure" ++#line 6185 "configure" + #include "confdefs.h" + #include + int +@@ -6145,16 +6194,16 @@ int x = 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6148: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6197: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6151: \$? = $ac_status" >&5 ++ echo "$as_me:6200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6154: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6203: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6157: \$? = $ac_status" >&5 ++ echo "$as_me:6206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -6163,7 +6212,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done +- echo "$as_me:6166: result: $CC_SHARED_OPTS" >&5 ++ echo "$as_me:6215: result: $CC_SHARED_OPTS" >&5 + echo "${ECHO_T}$CC_SHARED_OPTS" >&6 + CFLAGS="$cf_save_CFLAGS" + fi +@@ -6234,7 +6283,7 @@ CF_EOF + MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' + test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi + cf_cv_shlib_version_infix=yes +- echo "$as_me:6237: checking if ld -search_paths_first works" >&5 ++ echo "$as_me:6286: checking if ld -search_paths_first works" >&5 + echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 + if test "${cf_cv_ldflags_search_paths_first+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -6243,7 +6292,7 @@ else + cf_save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6246 "configure" ++#line 6295 "configure" + #include "confdefs.h" + + int +@@ -6255,16 +6304,16 @@ int i; + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6258: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6307: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6261: \$? = $ac_status" >&5 ++ echo "$as_me:6310: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6264: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6313: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6267: \$? = $ac_status" >&5 ++ echo "$as_me:6316: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ldflags_search_paths_first=yes + else +@@ -6275,7 +6324,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LDFLAGS=$cf_save_LDFLAGS + fi +-echo "$as_me:6278: result: $cf_cv_ldflags_search_paths_first" >&5 ++echo "$as_me:6327: result: $cf_cv_ldflags_search_paths_first" >&5 + echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 + if test "$cf_cv_ldflags_search_paths_first" = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" +@@ -6625,7 +6674,7 @@ CF_EOF + do + CFLAGS="$cf_shared_opts $cf_save_CFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6628 "configure" ++#line 6677 "configure" + #include "confdefs.h" + #include + int +@@ -6637,16 +6686,16 @@ printf("Hello\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:6640: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:6689: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6643: \$? = $ac_status" >&5 ++ echo "$as_me:6692: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:6646: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6695: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6649: \$? = $ac_status" >&5 ++ echo "$as_me:6698: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -6683,7 +6732,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes + ;; + (*) +- { echo "$as_me:6686: WARNING: ignored --with-shlib-version" >&5 ++ { echo "$as_me:6735: WARNING: ignored --with-shlib-version" >&5 + echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + ;; + esac +@@ -6693,7 +6742,7 @@ echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + if test -n "$cf_try_cflags" + then + cat > conftest.$ac_ext < + int main(int argc, char *argv[]) + { +@@ -6705,18 +6754,18 @@ EOF + for cf_opt in $cf_try_cflags + do + CFLAGS="$cf_save_CFLAGS -$cf_opt" +- echo "$as_me:6708: checking if CFLAGS option -$cf_opt works" >&5 ++ echo "$as_me:6757: checking if CFLAGS option -$cf_opt works" >&5 + echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6 +- if { (eval echo "$as_me:6710: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:6759: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:6713: \$? = $ac_status" >&5 ++ echo "$as_me:6762: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- echo "$as_me:6715: result: yes" >&5 ++ echo "$as_me:6764: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + cf_save_CFLAGS="$CFLAGS" + else +- echo "$as_me:6719: result: no" >&5 ++ echo "$as_me:6768: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + done +@@ -6731,17 +6780,17 @@ echo "${ECHO_T}no" >&6 + + test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6 + +-echo "${as_me:-configure}:6734: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 ++echo "${as_me:-configure}:6783: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 + + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6738: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6787: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + for model in $cf_list_models ; do + case "$model" in + (libtool) + +-echo "$as_me:6744: checking for additional libtool options" >&5 ++echo "$as_me:6793: 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. +@@ -6751,7 +6800,7 @@ if test "${with_libtool_opts+set}" = set; then + else + with_libtool_opts=no + fi; +-echo "$as_me:6754: result: $with_libtool_opts" >&5 ++echo "$as_me:6803: result: $with_libtool_opts" >&5 + echo "${ECHO_T}$with_libtool_opts" >&6 + + case .$with_libtool_opts in +@@ -6762,7 +6811,7 @@ case .$with_libtool_opts in + ;; + esac + +-echo "$as_me:6765: checking if exported-symbols file should be used" >&5 ++echo "$as_me:6814: checking if exported-symbols file should be used" >&5 + echo $ECHO_N "checking if exported-symbols file should be used... $ECHO_C" >&6 + + # Check whether --with-export-syms or --without-export-syms was given. +@@ -6777,7 +6826,7 @@ then + with_export_syms='${top_srcdir}/package/${PACKAGE}.sym' + + fi +-echo "$as_me:6780: result: $with_export_syms" >&5 ++echo "$as_me:6829: result: $with_export_syms" >&5 + echo "${ECHO_T}$with_export_syms" >&6 + if test "x$with_export_syms" != xno + then +@@ -6788,15 +6837,15 @@ fi + ;; + (shared) + if test "$CC_SHARED_OPTS" = "unknown"; then +- { { echo "$as_me:6791: error: Shared libraries are not supported in this version" >&5 ++ { { echo "$as_me:6840: error: Shared libraries are not supported in this version" >&5 + echo "$as_me: error: Shared libraries are not supported in this version" >&2;} + { (exit 1); exit 1; }; } + fi + # workaround for inept transition to PIE vs PIC... +- echo "$as_me:6796: checking if current CFLAGS link properly" >&5 ++ echo "$as_me:6845: checking if current CFLAGS link properly" >&5 + echo $ECHO_N "checking if current CFLAGS link properly... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 6799 "configure" ++#line 6848 "configure" + #include "confdefs.h" + #include + int +@@ -6808,16 +6857,16 @@ printf("Hello work\\n"); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:6811: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:6860: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:6814: \$? = $ac_status" >&5 ++ echo "$as_me:6863: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:6817: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:6866: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:6820: \$? = $ac_status" >&5 ++ echo "$as_me:6869: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cflags_work=yes + else +@@ -6826,18 +6875,18 @@ cat "conftest.$ac_ext" >&5 + cf_cflags_work=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:6829: result: $cf_cflags_work" >&5 ++ echo "$as_me:6878: result: $cf_cflags_work" >&5 + echo "${ECHO_T}$cf_cflags_work" >&6 + if test "$cf_cflags_work" = no + then + test -n "$verbose" && echo " try to work around by appending shared-options" 1>&6 + +-echo "${as_me:-configure}:6835: testing try to work around by appending shared-options ..." 1>&5 ++echo "${as_me:-configure}:6884: testing try to work around by appending shared-options ..." 1>&5 + + CFLAGS="$CFLAGS $CC_SHARED_OPTS" + fi + +-echo "$as_me:6840: checking if versioned-symbols file should be used" >&5 ++echo "$as_me:6889: checking if versioned-symbols file should be used" >&5 + echo $ECHO_N "checking if versioned-symbols file should be used... $ECHO_C" >&6 + + # Check whether --with-versioned-syms or --without-versioned-syms was given. +@@ -6855,18 +6904,18 @@ case "x$with_versioned_syms" in + (xno) + ;; + (x/*) +- test -f "$with_versioned_syms" || { { echo "$as_me:6858: error: expected a filename: $with_versioned_syms" >&5 ++ test -f "$with_versioned_syms" || { { echo "$as_me:6907: error: expected a filename: $with_versioned_syms" >&5 + echo "$as_me: error: expected a filename: $with_versioned_syms" >&2;} + { (exit 1); exit 1; }; } + ;; + (*) +- test -f "$with_versioned_syms" || { { echo "$as_me:6863: error: expected a filename: $with_versioned_syms" >&5 ++ test -f "$with_versioned_syms" || { { echo "$as_me:6912: error: expected a filename: $with_versioned_syms" >&5 + echo "$as_me: error: expected a filename: $with_versioned_syms" >&2;} + { (exit 1); exit 1; }; } + with_versioned_syms=`pwd`/"$with_versioned_syms" + ;; + esac +-echo "$as_me:6869: result: $with_versioned_syms" >&5 ++echo "$as_me:6918: result: $with_versioned_syms" >&5 + echo "${ECHO_T}$with_versioned_syms" >&6 + + RESULTING_SYMS= +@@ -6882,7 +6931,7 @@ then + MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-Wl,%\\${VERSIONED_SYMS} -Wl,%"` + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6885: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6934: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + ;; + (*-dy\ *) +@@ -6890,11 +6939,11 @@ echo "${as_me:-configure}:6885: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-dy%\\${VERSIONED_SYMS} -dy%"` + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:6893: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:6942: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + ;; + (*) +- { echo "$as_me:6897: WARNING: this system does not support versioned-symbols" >&5 ++ { echo "$as_me:6946: WARNING: this system does not support versioned-symbols" >&5 + echo "$as_me: WARNING: this system does not support versioned-symbols" >&2;} + ;; + esac +@@ -6906,7 +6955,7 @@ echo "$as_me: WARNING: this system does not support versioned-symbols" >&2;} + # symbols. + if test "x$VERSIONED_SYMS" != "x" + then +- echo "$as_me:6909: checking if wildcards can be used to selectively omit symbols" >&5 ++ echo "$as_me:6958: checking if wildcards can be used to selectively omit symbols" >&5 + echo $ECHO_N "checking if wildcards can be used to selectively omit symbols... $ECHO_C" >&6 + WILDCARD_SYMS=no + +@@ -6943,7 +6992,7 @@ local: + } submodule_1.0; + EOF + cat >conftest.$ac_ext <&5 ++ echo "$as_me:7026: result: $WILDCARD_SYMS" >&5 + echo "${ECHO_T}$WILDCARD_SYMS" >&6 + rm -f conftest.* + fi +@@ -6987,7 +7036,7 @@ done + ### Checks for special libraries, must be done up-front. + SHLIB_LIST="" + +-echo "$as_me:6990: checking if you want to link with the GPM mouse library" >&5 ++echo "$as_me:7039: checking if you want to link with the GPM mouse library" >&5 + echo $ECHO_N "checking if you want to link with the GPM mouse library... $ECHO_C" >&6 + + # Check whether --with-gpm or --without-gpm was given. +@@ -6997,27 +7046,27 @@ if test "${with_gpm+set}" = set; then + else + with_gpm=maybe + fi; +-echo "$as_me:7000: result: $with_gpm" >&5 ++echo "$as_me:7049: result: $with_gpm" >&5 + echo "${ECHO_T}$with_gpm" >&6 + + if test "$with_gpm" != no ; then +- echo "$as_me:7004: checking for gpm.h" >&5 ++ echo "$as_me:7053: checking for gpm.h" >&5 + echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6 + if test "${ac_cv_header_gpm_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7010 "configure" ++#line 7059 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:7014: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:7063: \"$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:7020: \$? = $ac_status" >&5 ++ echo "$as_me:7069: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -7036,7 +7085,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:7039: result: $ac_cv_header_gpm_h" >&5 ++echo "$as_me:7088: result: $ac_cv_header_gpm_h" >&5 + echo "${ECHO_T}$ac_cv_header_gpm_h" >&6 + if test "$ac_cv_header_gpm_h" = yes; then + +@@ -7047,7 +7096,7 @@ EOF + if test "$with_gpm" != yes && test "$with_gpm" != maybe ; then + test -n "$verbose" && echo " assuming we really have GPM library" 1>&6 + +-echo "${as_me:-configure}:7050: testing assuming we really have GPM library ..." 1>&5 ++echo "${as_me:-configure}:7099: testing assuming we really have GPM library ..." 1>&5 + + cat >>confdefs.h <<\EOF + #define HAVE_LIBGPM 1 +@@ -7055,7 +7104,7 @@ EOF + + with_gpm=yes + else +- echo "$as_me:7058: checking for Gpm_Open in -lgpm" >&5 ++ echo "$as_me:7107: 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 +@@ -7063,7 +7112,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7066 "configure" ++#line 7115 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7082,16 +7131,16 @@ Gpm_Open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7085: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7134: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7088: \$? = $ac_status" >&5 ++ echo "$as_me:7137: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7091: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7140: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7094: \$? = $ac_status" >&5 ++ echo "$as_me:7143: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -7102,18 +7151,18 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7105: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:7154: 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 + with_gpm=yes + else + + if test "$with_gpm" = maybe; then +- { echo "$as_me:7112: WARNING: Cannot link with GPM library" >&5 ++ { echo "$as_me:7161: WARNING: Cannot link with GPM library" >&5 + echo "$as_me: WARNING: Cannot link with GPM library" >&2;} + with_gpm=no + else +- { { echo "$as_me:7116: error: Cannot link with GPM library" >&5 ++ { { echo "$as_me:7165: error: Cannot link with GPM library" >&5 + echo "$as_me: error: Cannot link with GPM library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7124,7 +7173,7 @@ fi + + else + +- test "$with_gpm" != maybe && { echo "$as_me:7127: WARNING: Cannot find GPM header" >&5 ++ test "$with_gpm" != maybe && { echo "$as_me:7176: WARNING: Cannot find GPM header" >&5 + echo "$as_me: WARNING: Cannot find GPM header" >&2;} + with_gpm=no + +@@ -7133,7 +7182,7 @@ fi + fi + + if test "$with_gpm" != no ; then +- echo "$as_me:7136: checking if you want to load GPM dynamically" >&5 ++ echo "$as_me:7185: checking if you want to load GPM dynamically" >&5 + echo $ECHO_N "checking if you want to load GPM dynamically... $ECHO_C" >&6 + + # Check whether --with-dlsym or --without-dlsym was given. +@@ -7143,18 +7192,18 @@ if test "${with_dlsym+set}" = set; then + else + with_dlsym=yes + fi; +- echo "$as_me:7146: result: $with_dlsym" >&5 ++ echo "$as_me:7195: result: $with_dlsym" >&5 + echo "${ECHO_T}$with_dlsym" >&6 + if test "x$with_dlsym" = xyes ; then + + cf_have_dlsym=no +-echo "$as_me:7151: checking for dlsym" >&5 ++echo "$as_me:7200: checking for dlsym" >&5 + echo $ECHO_N "checking for dlsym... $ECHO_C" >&6 + if test "${ac_cv_func_dlsym+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7157 "configure" ++#line 7206 "configure" + #include "confdefs.h" + #define dlsym autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -7185,16 +7234,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7188: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7237: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7191: \$? = $ac_status" >&5 ++ echo "$as_me:7240: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7194: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7243: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7197: \$? = $ac_status" >&5 ++ echo "$as_me:7246: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_dlsym=yes + else +@@ -7204,14 +7253,14 @@ ac_cv_func_dlsym=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:7207: result: $ac_cv_func_dlsym" >&5 ++echo "$as_me:7256: result: $ac_cv_func_dlsym" >&5 + echo "${ECHO_T}$ac_cv_func_dlsym" >&6 + if test "$ac_cv_func_dlsym" = yes; then + cf_have_dlsym=yes + else + + cf_have_libdl=no +-echo "$as_me:7214: checking for dlsym in -ldl" >&5 ++echo "$as_me:7263: checking for dlsym in -ldl" >&5 + echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 + if test "${ac_cv_lib_dl_dlsym+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7219,7 +7268,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7222 "configure" ++#line 7271 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7238,16 +7287,16 @@ dlsym (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7241: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7290: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7244: \$? = $ac_status" >&5 ++ echo "$as_me:7293: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7247: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7296: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7250: \$? = $ac_status" >&5 ++ echo "$as_me:7299: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dl_dlsym=yes + else +@@ -7258,7 +7307,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7261: result: $ac_cv_lib_dl_dlsym" >&5 ++echo "$as_me:7310: result: $ac_cv_lib_dl_dlsym" >&5 + echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 + if test "$ac_cv_lib_dl_dlsym" = yes; then + +@@ -7287,10 +7336,10 @@ done + LIBS="$cf_add_libs" + } + +- echo "$as_me:7290: checking whether able to link to dl*() functions" >&5 ++ echo "$as_me:7339: checking whether able to link to dl*() functions" >&5 + echo $ECHO_N "checking whether able to link to dl*() functions... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7293 "configure" ++#line 7342 "configure" + #include "confdefs.h" + #include + int +@@ -7308,16 +7357,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7311: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7360: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7314: \$? = $ac_status" >&5 ++ echo "$as_me:7363: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7317: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7366: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7320: \$? = $ac_status" >&5 ++ echo "$as_me:7369: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cat >>confdefs.h <<\EOF +@@ -7328,15 +7377,15 @@ else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { { echo "$as_me:7331: error: Cannot link test program for libdl" >&5 ++ { { echo "$as_me:7380: error: Cannot link test program for libdl" >&5 + echo "$as_me: error: Cannot link test program for libdl" >&2;} + { (exit 1); exit 1; }; } + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:7336: result: ok" >&5 ++ echo "$as_me:7385: result: ok" >&5 + echo "${ECHO_T}ok" >&6 + else +- { { echo "$as_me:7339: error: Cannot find dlsym function" >&5 ++ { { echo "$as_me:7388: error: Cannot find dlsym function" >&5 + echo "$as_me: error: Cannot find dlsym function" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7344,12 +7393,12 @@ fi + if test "x$with_gpm" != xyes ; then + test -n "$verbose" && echo " assuming soname for gpm is $with_gpm" 1>&6 + +-echo "${as_me:-configure}:7347: testing assuming soname for gpm is $with_gpm ..." 1>&5 ++echo "${as_me:-configure}:7396: testing assuming soname for gpm is $with_gpm ..." 1>&5 + + cf_cv_gpm_soname="$with_gpm" + else + +-echo "$as_me:7352: checking for soname of gpm library" >&5 ++echo "$as_me:7401: checking for soname of gpm library" >&5 + echo $ECHO_N "checking for soname of gpm library... $ECHO_C" >&6 + if test "${cf_cv_gpm_soname+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7383,15 +7432,15 @@ for cf_add_1lib in $cf_add_0lib; do + done + LIBS="$cf_add_libs" + +- if { (eval echo "$as_me:7386: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:7435: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7389: \$? = $ac_status" >&5 ++ echo "$as_me:7438: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then +- if { (eval echo "$as_me:7391: \"$ac_link\"") >&5 ++ if { (eval echo "$as_me:7440: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7394: \$? = $ac_status" >&5 ++ echo "$as_me:7443: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + cf_cv_gpm_soname="`ldd \"conftest$ac_exeext\" 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | ${FGREP-fgrep} libgpm.`" + test -z "$cf_cv_gpm_soname" && cf_cv_gpm_soname=unknown +@@ -7402,7 +7451,7 @@ LIBS="$cf_save_LIBS" + fi + + fi +-echo "$as_me:7405: result: $cf_cv_gpm_soname" >&5 ++echo "$as_me:7454: result: $cf_cv_gpm_soname" >&5 + echo "${ECHO_T}$cf_cv_gpm_soname" >&6 + + fi +@@ -7470,7 +7519,7 @@ cat >>confdefs.h <<\EOF + #define HAVE_LIBGPM 1 + EOF + +-echo "$as_me:7473: checking for Gpm_Wgetch in -lgpm" >&5 ++echo "$as_me:7522: checking for Gpm_Wgetch in -lgpm" >&5 + echo $ECHO_N "checking for Gpm_Wgetch in -lgpm... $ECHO_C" >&6 + if test "${ac_cv_lib_gpm_Gpm_Wgetch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7478,7 +7527,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7481 "configure" ++#line 7530 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7497,16 +7546,16 @@ Gpm_Wgetch (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7500: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7549: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7503: \$? = $ac_status" >&5 ++ echo "$as_me:7552: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7506: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7555: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7509: \$? = $ac_status" >&5 ++ echo "$as_me:7558: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Wgetch=yes + else +@@ -7517,11 +7566,11 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7520: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 ++echo "$as_me:7569: result: $ac_cv_lib_gpm_Gpm_Wgetch" >&5 + echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Wgetch" >&6 + if test "$ac_cv_lib_gpm_Gpm_Wgetch" = yes; then + +-echo "$as_me:7524: checking if GPM is weakly bound to curses library" >&5 ++echo "$as_me:7573: checking if GPM is weakly bound to curses library" >&5 + echo $ECHO_N "checking if GPM is weakly bound to curses library... $ECHO_C" >&6 + if test "${cf_cv_check_gpm_wgetch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7545,15 +7594,15 @@ CF_EOF + # to rely on the static library, noting that some packagers may not + # include it. + LIBS="-static -lgpm -dynamic $LIBS" +- if { (eval echo "$as_me:7548: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:7597: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7551: \$? = $ac_status" >&5 ++ echo "$as_me:7600: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then +- if { (eval echo "$as_me:7553: \"$ac_link\"") >&5 ++ if { (eval echo "$as_me:7602: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7556: \$? = $ac_status" >&5 ++ echo "$as_me:7605: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + cf_cv_check_gpm_wgetch="`nm \"conftest$ac_exeext\" | ${EGREP-egrep} '\' | ${EGREP-egrep} '\<[vVwW]\>'`" + test -n "$cf_cv_check_gpm_wgetch" && cf_cv_check_gpm_wgetch=yes +@@ -7565,11 +7614,11 @@ CF_EOF + fi + + fi +-echo "$as_me:7568: result: $cf_cv_check_gpm_wgetch" >&5 ++echo "$as_me:7617: result: $cf_cv_check_gpm_wgetch" >&5 + echo "${ECHO_T}$cf_cv_check_gpm_wgetch" >&6 + + if test "$cf_cv_check_gpm_wgetch" != yes ; then +- { echo "$as_me:7572: WARNING: GPM library is already linked with curses - read the FAQ" >&5 ++ { echo "$as_me:7621: WARNING: GPM library is already linked with curses - read the FAQ" >&5 + echo "$as_me: WARNING: GPM library is already linked with curses - read the FAQ" >&2;} + fi + +@@ -7577,7 +7626,7 @@ fi + + fi + +-echo "$as_me:7580: checking if you want to use PCRE2 for regular-expressions" >&5 ++echo "$as_me:7629: checking if you want to use PCRE2 for regular-expressions" >&5 + echo $ECHO_N "checking if you want to use PCRE2 for regular-expressions... $ECHO_C" >&6 + + # Check whether --with-pcre2 or --without-pcre2 was given. +@@ -7586,7 +7635,7 @@ if test "${with_pcre2+set}" = set; then + + fi; + test -z "$with_pcre2" && with_pcre2=no +-echo "$as_me:7589: result: $with_pcre2" >&5 ++echo "$as_me:7638: result: $with_pcre2" >&5 + echo "${ECHO_T}$with_pcre2" >&6 + + if test "x$with_pcre2" != xno ; then +@@ -7597,17 +7646,17 @@ if test "x$with_pcre2" != xno ; then + if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$cf_with_pcre2"; then + test -n "$verbose" && echo " found package $cf_with_pcre2" 1>&6 + +-echo "${as_me:-configure}:7600: testing found package $cf_with_pcre2 ..." 1>&5 ++echo "${as_me:-configure}:7649: testing found package $cf_with_pcre2 ..." 1>&5 + + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "$cf_with_pcre2" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "$cf_with_pcre2" 2>/dev/null`" + test -n "$verbose" && echo " package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs" 1>&6 + +-echo "${as_me:-configure}:7606: testing package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 ++echo "${as_me:-configure}:7655: testing package $cf_with_pcre2 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 + + test -n "$verbose" && echo " package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs" 1>&6 + +-echo "${as_me:-configure}:7610: testing package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs ..." 1>&5 ++echo "${as_me:-configure}:7659: testing package $cf_with_pcre2 LIBS: $cf_pkgconfig_libs ..." 1>&5 + + cf_fix_cppflags=no + cf_new_cflags= +@@ -7731,7 +7780,7 @@ else + fi + + done +- cf_with_pcre2_ok=yes || { { echo "$as_me:7734: error: Cannot find PCRE2 library" >&5 ++ cf_with_pcre2_ok=yes || { { echo "$as_me:7783: error: Cannot find PCRE2 library" >&5 + echo "$as_me: error: Cannot find PCRE2 library" >&2;} + { (exit 1); exit 1; }; } + +@@ -7744,7 +7793,7 @@ EOF + (*pcre2-posix*|*pcreposix*) + ;; + (*) +- echo "$as_me:7747: checking for regcomp in -lpcre2-posix" >&5 ++ echo "$as_me:7796: checking for regcomp in -lpcre2-posix" >&5 + echo $ECHO_N "checking for regcomp in -lpcre2-posix... $ECHO_C" >&6 + if test "${ac_cv_lib_pcre2_posix_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7752,7 +7801,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpcre2-posix $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7755 "configure" ++#line 7804 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7771,16 +7820,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7774: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7823: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7777: \$? = $ac_status" >&5 ++ echo "$as_me:7826: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7780: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7829: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7783: \$? = $ac_status" >&5 ++ echo "$as_me:7832: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_pcre2_posix_regcomp=yes + else +@@ -7791,7 +7840,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7794: result: $ac_cv_lib_pcre2_posix_regcomp" >&5 ++echo "$as_me:7843: result: $ac_cv_lib_pcre2_posix_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_pcre2_posix_regcomp" >&6 + if test "$ac_cv_lib_pcre2_posix_regcomp" = yes; then + +@@ -7812,7 +7861,7 @@ done + LIBS="$cf_add_libs" + + else +- echo "$as_me:7815: checking for regcomp in -lpcreposix" >&5 ++ echo "$as_me:7864: checking for regcomp in -lpcreposix" >&5 + echo $ECHO_N "checking for regcomp in -lpcreposix... $ECHO_C" >&6 + if test "${ac_cv_lib_pcreposix_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7820,7 +7869,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpcreposix $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7823 "configure" ++#line 7872 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -7839,16 +7888,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7842: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7891: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7845: \$? = $ac_status" >&5 ++ echo "$as_me:7894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7848: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7851: \$? = $ac_status" >&5 ++ echo "$as_me:7900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_pcreposix_regcomp=yes + else +@@ -7859,7 +7908,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:7862: result: $ac_cv_lib_pcreposix_regcomp" >&5 ++echo "$as_me:7911: result: $ac_cv_lib_pcreposix_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_pcreposix_regcomp" >&6 + if test "$ac_cv_lib_pcreposix_regcomp" = yes; then + +@@ -7880,7 +7929,7 @@ done + LIBS="$cf_add_libs" + + else +- { { echo "$as_me:7883: error: Cannot find PCRE2 POSIX library" >&5 ++ { { echo "$as_me:7932: error: Cannot find PCRE2 POSIX library" >&5 + echo "$as_me: error: Cannot find PCRE2 POSIX library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -7895,23 +7944,23 @@ fi + for ac_header in pcre2posix.h pcreposix.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:7898: checking for $ac_header" >&5 ++echo "$as_me:7947: 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 7904 "configure" ++#line 7953 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:7908: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:7957: \"$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:7914: \$? = $ac_status" >&5 ++ echo "$as_me:7963: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -7930,7 +7979,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:7933: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:7982: 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 <&5 ++echo "$as_me:7995: 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 7952 "configure" ++#line 8001 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -7980,16 +8029,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7983: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8032: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7986: \$? = $ac_status" >&5 ++ echo "$as_me:8035: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7989: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8038: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7992: \$? = $ac_status" >&5 ++ echo "$as_me:8041: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -7999,7 +8048,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:8002: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:8051: 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 </dev/null ; then +-echo "$as_me:8016: checking if you want to use sysmouse" >&5 ++echo "$as_me:8065: checking if you want to use sysmouse" >&5 + echo $ECHO_N "checking if you want to use sysmouse... $ECHO_C" >&6 + + # Check whether --with-sysmouse or --without-sysmouse was given. +@@ -8025,7 +8074,7 @@ else + fi; + if test "$cf_with_sysmouse" != no ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8028 "configure" ++#line 8077 "configure" + #include "confdefs.h" + + #include +@@ -8048,16 +8097,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8051: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8100: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8054: \$? = $ac_status" >&5 ++ echo "$as_me:8103: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8057: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8106: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8060: \$? = $ac_status" >&5 ++ echo "$as_me:8109: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_with_sysmouse=yes + else +@@ -8067,7 +8116,7 @@ cf_with_sysmouse=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:8070: result: $cf_with_sysmouse" >&5 ++echo "$as_me:8119: result: $cf_with_sysmouse" >&5 + echo "${ECHO_T}$cf_with_sysmouse" >&6 + test "$cf_with_sysmouse" = yes && + cat >>confdefs.h <<\EOF +@@ -8077,7 +8126,7 @@ EOF + fi + + # pretend that ncurses==ncursesw==ncursest +-echo "$as_me:8080: checking if you want to disable library suffixes" >&5 ++echo "$as_me:8129: checking if you want to disable library suffixes" >&5 + echo $ECHO_N "checking if you want to disable library suffixes... $ECHO_C" >&6 + + # Check whether --enable-lib-suffixes or --disable-lib-suffixes was given. +@@ -8094,13 +8143,13 @@ else + disable_lib_suffixes=no + + fi; +-echo "$as_me:8097: result: $disable_lib_suffixes" >&5 ++echo "$as_me:8146: result: $disable_lib_suffixes" >&5 + echo "${ECHO_T}$disable_lib_suffixes" >&6 + + ### If we're building with rpath, try to link non-standard libs that way too. + if test "$DFT_LWR_MODEL" = "shared" && test "x$cf_cv_enable_rpath" != xno; then + +-echo "$as_me:8103: checking if rpath-hack should be disabled" >&5 ++echo "$as_me:8152: 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. +@@ -8118,22 +8167,22 @@ else + + fi; + if test "x$enable_rpath_hack" = xno; then cf_disable_rpath_hack=yes; else cf_disable_rpath_hack=no; fi +-echo "$as_me:8121: result: $cf_disable_rpath_hack" >&5 ++echo "$as_me:8170: result: $cf_disable_rpath_hack" >&5 + echo "${ECHO_T}$cf_disable_rpath_hack" >&6 + + if test "$enable_rpath_hack" = yes ; then + +-echo "$as_me:8126: checking for updated LDFLAGS" >&5 ++echo "$as_me:8175: 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:8129: result: maybe" >&5 ++ echo "$as_me:8178: 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:8136: checking for $ac_word" >&5 ++echo "$as_me:8185: 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 +@@ -8148,7 +8197,7 @@ for ac_dir in $ac_dummy; do + 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:8151: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8200: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8156,10 +8205,10 @@ fi + fi + cf_ldd_prog=$ac_cv_prog_cf_ldd_prog + if test -n "$cf_ldd_prog"; then +- echo "$as_me:8159: result: $cf_ldd_prog" >&5 ++ echo "$as_me:8208: result: $cf_ldd_prog" >&5 + echo "${ECHO_T}$cf_ldd_prog" >&6 + else +- echo "$as_me:8162: result: no" >&5 ++ echo "$as_me:8211: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8173,7 +8222,7 @@ test -n "$cf_ldd_prog" || cf_ldd_prog="no" + cf_rpath_oops= + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8176 "configure" ++#line 8225 "configure" + #include "confdefs.h" + #include + int +@@ -8185,16 +8234,16 @@ printf("Hello"); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8188: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8237: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8191: \$? = $ac_status" >&5 ++ echo "$as_me:8240: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8194: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8243: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8197: \$? = $ac_status" >&5 ++ echo "$as_me:8246: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_oops=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} ' not found' | sed -e 's% =>.*$%%' |sort | uniq` + cf_rpath_list=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort | uniq` +@@ -8222,7 +8271,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + then + test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6 + +-echo "${as_me:-configure}:8225: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 ++echo "${as_me:-configure}:8274: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 + + LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" + break +@@ -8234,11 +8283,11 @@ echo "${as_me:-configure}:8225: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS + + test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8237: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8286: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8241: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8290: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 + + cf_rpath_dst= + for cf_rpath_src in $LDFLAGS +@@ -8275,7 +8324,7 @@ do + then + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 + +-echo "${as_me:-configure}:8278: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 ++echo "${as_me:-configure}:8327: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 + + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" + fi +@@ -8288,11 +8337,11 @@ LDFLAGS=$cf_rpath_dst + + test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8291: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8340: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 + +-echo "${as_me:-configure}:8295: testing ...checking LIBS $LIBS ..." 1>&5 ++echo "${as_me:-configure}:8344: testing ...checking LIBS $LIBS ..." 1>&5 + + cf_rpath_dst= + for cf_rpath_src in $LIBS +@@ -8329,7 +8378,7 @@ do + then + test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 + +-echo "${as_me:-configure}:8332: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 ++echo "${as_me:-configure}:8381: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 + + EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" + fi +@@ -8342,14 +8391,14 @@ LIBS=$cf_rpath_dst + + test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 + +-echo "${as_me:-configure}:8345: testing ...checked LIBS $LIBS ..." 1>&5 ++echo "${as_me:-configure}:8394: testing ...checked LIBS $LIBS ..." 1>&5 + + test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:8349: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:8398: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 + + else +- echo "$as_me:8352: result: no" >&5 ++ echo "$as_me:8401: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8363,7 +8412,7 @@ fi + EXTRA_PKG_LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" + if test -n "$EXTRA_PKG_LDFLAGS" + then +- echo "$as_me:8366: checking if you want to disable extra LDFLAGS for package-scripts" >&5 ++ echo "$as_me:8415: checking if you want to disable extra LDFLAGS for package-scripts" >&5 + echo $ECHO_N "checking if you want to disable extra LDFLAGS for package-scripts... $ECHO_C" >&6 + + # Check whether --enable-pkg-ldflags or --disable-pkg-ldflags was given. +@@ -8380,7 +8429,7 @@ else + disable_pkg_ldflags=no + + fi; +- echo "$as_me:8383: result: $disable_pkg_ldflags" >&5 ++ echo "$as_me:8432: result: $disable_pkg_ldflags" >&5 + echo "${ECHO_T}$disable_pkg_ldflags" >&6 + test "$disable_pkg_ldflags" = yes && EXTRA_PKG_LDFLAGS= + fi +@@ -8388,7 +8437,7 @@ fi + ############################################################################### + + ### use option --with-extra-suffix to append suffix to headers and libraries +-echo "$as_me:8391: checking if you wish to append extra suffix to header/library paths" >&5 ++echo "$as_me:8440: checking if you wish to append extra suffix to header/library paths" >&5 + echo $ECHO_N "checking if you wish to append extra suffix to header/library paths... $ECHO_C" >&6 + EXTRA_SUFFIX= + +@@ -8407,11 +8456,11 @@ if test "${with_extra_suffix+set}" = set; then + esac + + fi; +-echo "$as_me:8410: result: $EXTRA_SUFFIX" >&5 ++echo "$as_me:8459: result: $EXTRA_SUFFIX" >&5 + echo "${ECHO_T}$EXTRA_SUFFIX" >&6 + + ### use option --disable-overwrite to leave out the link to -lcurses +-echo "$as_me:8414: checking if you wish to install ncurses overwriting curses" >&5 ++echo "$as_me:8463: checking if you wish to install ncurses overwriting curses" >&5 + echo $ECHO_N "checking if you wish to install ncurses overwriting curses... $ECHO_C" >&6 + + # Check whether --enable-overwrite or --disable-overwrite was given. +@@ -8421,10 +8470,10 @@ if test "${enable_overwrite+set}" = set; then + else + if test "$prefix" = "/usr" ; then with_overwrite=yes; else with_overwrite=no; fi + fi; +-echo "$as_me:8424: result: $with_overwrite" >&5 ++echo "$as_me:8473: result: $with_overwrite" >&5 + echo "${ECHO_T}$with_overwrite" >&6 + +-echo "$as_me:8427: checking if external terminfo-database is used" >&5 ++echo "$as_me:8476: checking if external terminfo-database is used" >&5 + echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6 + + # Check whether --enable-database or --disable-database was given. +@@ -8434,7 +8483,7 @@ if test "${enable_database+set}" = set; then + else + use_database=yes + fi; +-echo "$as_me:8437: result: $use_database" >&5 ++echo "$as_me:8486: result: $use_database" >&5 + echo "${ECHO_T}$use_database" >&6 + + case "$host_os" in +@@ -8450,7 +8499,7 @@ NCURSES_USE_DATABASE=0 + if test "$use_database" != no ; then + NCURSES_USE_DATABASE=1 + +- echo "$as_me:8453: checking which terminfo source-file will be installed" >&5 ++ echo "$as_me:8502: checking which terminfo source-file will be installed" >&5 + echo $ECHO_N "checking which terminfo source-file will be installed... $ECHO_C" >&6 + + # Check whether --with-database or --without-database was given. +@@ -8458,10 +8507,10 @@ if test "${with_database+set}" = set; then + withval="$with_database" + TERMINFO_SRC=$withval + fi; +- echo "$as_me:8461: result: $TERMINFO_SRC" >&5 ++ echo "$as_me:8510: result: $TERMINFO_SRC" >&5 + echo "${ECHO_T}$TERMINFO_SRC" >&6 + +- echo "$as_me:8464: checking whether to use hashed database instead of directory/tree" >&5 ++ echo "$as_me:8513: checking whether to use hashed database instead of directory/tree" >&5 + echo $ECHO_N "checking whether to use hashed database instead of directory/tree... $ECHO_C" >&6 + + # Check whether --with-hashed-db or --without-hashed-db was given. +@@ -8471,13 +8520,13 @@ if test "${with_hashed_db+set}" = set; then + else + with_hashed_db=no + fi; +- echo "$as_me:8474: result: $with_hashed_db" >&5 ++ echo "$as_me:8523: result: $with_hashed_db" >&5 + echo "${ECHO_T}$with_hashed_db" >&6 + else + with_hashed_db=no + fi + +-echo "$as_me:8480: checking for list of fallback descriptions" >&5 ++echo "$as_me:8529: checking for list of fallback descriptions" >&5 + echo $ECHO_N "checking for list of fallback descriptions... $ECHO_C" >&6 + + # Check whether --with-fallbacks or --without-fallbacks was given. +@@ -8487,7 +8536,7 @@ if test "${with_fallbacks+set}" = set; then + else + with_fallback= + fi; +-echo "$as_me:8490: result: $with_fallback" >&5 ++echo "$as_me:8539: result: $with_fallback" >&5 + echo "${ECHO_T}$with_fallback" >&6 + + case ".$with_fallback" in +@@ -8495,7 +8544,7 @@ case ".$with_fallback" in + FALLBACK_LIST= + ;; + (.yes) +- { echo "$as_me:8498: WARNING: expected a list of terminal descriptions" >&5 ++ { echo "$as_me:8547: WARNING: expected a list of terminal descriptions" >&5 + echo "$as_me: WARNING: expected a list of terminal descriptions" >&2;} + ;; + (*) +@@ -8511,7 +8560,7 @@ esac + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}tic", so it can be a program name with args. + set dummy ${ac_tool_prefix}tic; ac_word=$2 +-echo "$as_me:8514: checking for $ac_word" >&5 ++echo "$as_me:8563: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8526,7 +8575,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_TIC="${ac_tool_prefix}tic" +-echo "$as_me:8529: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8578: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8534,10 +8583,10 @@ fi + fi + TIC=$ac_cv_prog_TIC + if test -n "$TIC"; then +- echo "$as_me:8537: result: $TIC" >&5 ++ echo "$as_me:8586: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + else +- echo "$as_me:8540: result: no" >&5 ++ echo "$as_me:8589: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8546,7 +8595,7 @@ if test -z "$ac_cv_prog_TIC"; then + ac_ct_TIC=$TIC + # Extract the first word of "tic", so it can be a program name with args. + set dummy tic; ac_word=$2 +-echo "$as_me:8549: checking for $ac_word" >&5 ++echo "$as_me:8598: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8561,7 +8610,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_TIC="tic" +-echo "$as_me:8564: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8613: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8569,10 +8618,10 @@ fi + fi + ac_ct_TIC=$ac_cv_prog_ac_ct_TIC + if test -n "$ac_ct_TIC"; then +- echo "$as_me:8572: result: $ac_ct_TIC" >&5 ++ echo "$as_me:8621: result: $ac_ct_TIC" >&5 + echo "${ECHO_T}$ac_ct_TIC" >&6 + else +- echo "$as_me:8575: result: no" >&5 ++ echo "$as_me:8624: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8584,7 +8633,7 @@ fi + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}infocmp", so it can be a program name with args. + set dummy ${ac_tool_prefix}infocmp; ac_word=$2 +-echo "$as_me:8587: checking for $ac_word" >&5 ++echo "$as_me:8636: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8599,7 +8648,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_INFOCMP="${ac_tool_prefix}infocmp" +-echo "$as_me:8602: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8651: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8607,10 +8656,10 @@ fi + fi + INFOCMP=$ac_cv_prog_INFOCMP + if test -n "$INFOCMP"; then +- echo "$as_me:8610: result: $INFOCMP" >&5 ++ echo "$as_me:8659: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + else +- echo "$as_me:8613: result: no" >&5 ++ echo "$as_me:8662: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8619,7 +8668,7 @@ if test -z "$ac_cv_prog_INFOCMP"; then + ac_ct_INFOCMP=$INFOCMP + # Extract the first word of "infocmp", so it can be a program name with args. + set dummy infocmp; ac_word=$2 +-echo "$as_me:8622: checking for $ac_word" >&5 ++echo "$as_me:8671: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8634,7 +8683,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_INFOCMP="infocmp" +-echo "$as_me:8637: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8686: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8642,10 +8691,10 @@ fi + fi + ac_ct_INFOCMP=$ac_cv_prog_ac_ct_INFOCMP + if test -n "$ac_ct_INFOCMP"; then +- echo "$as_me:8645: result: $ac_ct_INFOCMP" >&5 ++ echo "$as_me:8694: result: $ac_ct_INFOCMP" >&5 + echo "${ECHO_T}$ac_ct_INFOCMP" >&6 + else +- echo "$as_me:8648: result: no" >&5 ++ echo "$as_me:8697: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8660,10 +8709,10 @@ then + # Check whether --with-tic-path or --without-tic-path was given. + if test "${with_tic_path+set}" = set; then + withval="$with_tic_path" +- echo "$as_me:8663: checking for tic program for fallbacks" >&5 ++ echo "$as_me:8712: checking for tic program for fallbacks" >&5 + echo $ECHO_N "checking for tic program for fallbacks... $ECHO_C" >&6 + TIC=$withval +- echo "$as_me:8666: result: $TIC" >&5 ++ echo "$as_me:8715: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + + if test "x$prefix" != xNONE; then +@@ -8691,7 +8740,7 @@ case ".$TIC" in + TIC=`echo "$TIC" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:8694: error: expected a pathname, not \"$TIC\"" >&5 ++ { { echo "$as_me:8743: error: expected a pathname, not \"$TIC\"" >&5 + echo "$as_me: error: expected a pathname, not \"$TIC\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -8704,7 +8753,7 @@ for ac_prog in $TIC tic + 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:8707: checking for $ac_word" >&5 ++echo "$as_me:8756: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_TIC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8721,7 +8770,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_TIC="$ac_dir/$ac_word" +- echo "$as_me:8724: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:8773: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -8732,10 +8781,10 @@ fi + TIC=$ac_cv_path_TIC + + if test -n "$TIC"; then +- echo "$as_me:8735: result: $TIC" >&5 ++ echo "$as_me:8784: result: $TIC" >&5 + echo "${ECHO_T}$TIC" >&6 + else +- echo "$as_me:8738: result: no" >&5 ++ echo "$as_me:8787: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8794,7 +8843,7 @@ IFS="$cf_save_ifs" + + if test -n "$cf_path_prog" ; then + +-echo "${as_me:-configure}:8797: testing defining path for ${cf_path_prog} ..." 1>&5 ++echo "${as_me:-configure}:8846: testing defining path for ${cf_path_prog} ..." 1>&5 + + cat >>confdefs.h <&5 ++ { echo "$as_me:8861: WARNING: no tic program found for fallbacks" >&5 + echo "$as_me: WARNING: no tic program found for fallbacks" >&2;} + fi + +@@ -8818,10 +8867,10 @@ fi; + # Check whether --with-infocmp-path or --without-infocmp-path was given. + if test "${with_infocmp_path+set}" = set; then + withval="$with_infocmp_path" +- echo "$as_me:8821: checking for infocmp program for fallbacks" >&5 ++ echo "$as_me:8870: checking for infocmp program for fallbacks" >&5 + echo $ECHO_N "checking for infocmp program for fallbacks... $ECHO_C" >&6 + INFOCMP=$withval +- echo "$as_me:8824: result: $INFOCMP" >&5 ++ echo "$as_me:8873: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + + if test "x$prefix" != xNONE; then +@@ -8849,7 +8898,7 @@ case ".$INFOCMP" in + INFOCMP=`echo "$INFOCMP" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:8852: error: expected a pathname, not \"$INFOCMP\"" >&5 ++ { { echo "$as_me:8901: error: expected a pathname, not \"$INFOCMP\"" >&5 + echo "$as_me: error: expected a pathname, not \"$INFOCMP\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -8862,7 +8911,7 @@ for ac_prog in $INFOCMP infocmp + 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:8865: checking for $ac_word" >&5 ++echo "$as_me:8914: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_INFOCMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8879,7 +8928,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_INFOCMP="$ac_dir/$ac_word" +- echo "$as_me:8882: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:8931: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -8890,10 +8939,10 @@ fi + INFOCMP=$ac_cv_path_INFOCMP + + if test -n "$INFOCMP"; then +- echo "$as_me:8893: result: $INFOCMP" >&5 ++ echo "$as_me:8942: result: $INFOCMP" >&5 + echo "${ECHO_T}$INFOCMP" >&6 + else +- echo "$as_me:8896: result: no" >&5 ++ echo "$as_me:8945: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8952,7 +9001,7 @@ IFS="$cf_save_ifs" + + if test -n "$cf_path_prog" ; then + +-echo "${as_me:-configure}:8955: testing defining path for ${cf_path_prog} ..." 1>&5 ++echo "${as_me:-configure}:9004: testing defining path for ${cf_path_prog} ..." 1>&5 + + cat >>confdefs.h <&5 ++ { echo "$as_me:9019: WARNING: no infocmp program found for fallbacks" >&5 + echo "$as_me: WARNING: no infocmp program found for fallbacks" >&2;} + fi + +@@ -8977,7 +9026,7 @@ fi; + test -z "$INFOCMP" && FALLBACK_LIST= + if test -z "$FALLBACK_LIST" + then +- { echo "$as_me:8980: WARNING: ignoring fallback option because tic/infocmp are not available" >&5 ++ { echo "$as_me:9029: WARNING: ignoring fallback option because tic/infocmp are not available" >&5 + echo "$as_me: WARNING: ignoring fallback option because tic/infocmp are not available" >&2;} + fi + fi +@@ -8985,7 +9034,7 @@ fi + USE_FALLBACKS= + test -z "$FALLBACK_LIST" && USE_FALLBACKS="#" + +-echo "$as_me:8988: checking if you want modern xterm or antique" >&5 ++echo "$as_me:9037: checking if you want modern xterm or antique" >&5 + echo $ECHO_N "checking if you want modern xterm or antique... $ECHO_C" >&6 + + # Check whether --with-xterm-new or --without-xterm-new was given. +@@ -8999,7 +9048,7 @@ case "$with_xterm_new" in + (no) with_xterm_new=xterm-old;; + (*) with_xterm_new=xterm-new;; + esac +-echo "$as_me:9002: result: $with_xterm_new" >&5 ++echo "$as_me:9051: result: $with_xterm_new" >&5 + echo "${ECHO_T}$with_xterm_new" >&6 + WHICH_XTERM=$with_xterm_new + +@@ -9012,7 +9061,7 @@ case $host_os in + ;; + esac + +-echo "$as_me:9015: checking if xterm backspace sends BS or DEL" >&5 ++echo "$as_me:9064: checking if xterm backspace sends BS or DEL" >&5 + echo $ECHO_N "checking if xterm backspace sends BS or DEL... $ECHO_C" >&6 + + # Check whether --with-xterm-kbs or --without-xterm-kbs was given. +@@ -9033,13 +9082,13 @@ case x$with_xterm_kbs in + with_xterm_kbs=$withval + ;; + esac +-echo "$as_me:9036: result: $with_xterm_kbs" >&5 ++echo "$as_me:9085: result: $with_xterm_kbs" >&5 + echo "${ECHO_T}$with_xterm_kbs" >&6 + XTERM_KBS=$with_xterm_kbs + + if test "x$with_xterm_kbs" != "x$want_xterm_kbs" + then +- { echo "$as_me:9042: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&5 ++ { echo "$as_me:9091: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&5 + echo "$as_me: WARNING: expected --with-xterm-kbs=$want_xterm_kbs for $host_os" >&2;} + fi + +@@ -9049,7 +9098,7 @@ if test "$use_database" = no ; then + MAKE_TERMINFO="#" + else + +-echo "$as_me:9052: checking for list of terminfo directories" >&5 ++echo "$as_me:9101: checking for list of terminfo directories" >&5 + echo $ECHO_N "checking for list of terminfo directories... $ECHO_C" >&6 + + # Check whether --with-terminfo-dirs or --without-terminfo-dirs was given. +@@ -9089,7 +9138,7 @@ case ".$cf_src_path" in + cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9092: error: expected a pathname, not \"$cf_src_path\"" >&5 ++ { { echo "$as_me:9141: error: expected a pathname, not \"$cf_src_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9112,7 +9161,7 @@ case "x$cf_dst_eval" in + ;; + esac + +-echo "$as_me:9115: result: $TERMINFO_DIRS" >&5 ++echo "$as_me:9164: result: $TERMINFO_DIRS" >&5 + echo "${ECHO_T}$TERMINFO_DIRS" >&6 + test -n "$TERMINFO_DIRS" && + cat >>confdefs.h <&5 ++ { echo "$as_me:9173: WARNING: ignoring non-directory/file TERMINFO value" >&5 + echo "$as_me: WARNING: ignoring non-directory/file TERMINFO value" >&2;} + unset TERMINFO + ;; + esac + +-echo "$as_me:9130: checking for default terminfo directory" >&5 ++echo "$as_me:9179: checking for default terminfo directory" >&5 + echo $ECHO_N "checking for default terminfo directory... $ECHO_C" >&6 + + # Check whether --with-default-terminfo-dir or --without-default-terminfo-dir was given. +@@ -9163,7 +9212,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9166: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:9215: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9172,7 +9221,7 @@ esac + fi + eval TERMINFO="$withval" + +-echo "$as_me:9175: result: $TERMINFO" >&5 ++echo "$as_me:9224: result: $TERMINFO" >&5 + echo "${ECHO_T}$TERMINFO" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:9235: checking if big-core option selected" >&5 + echo $ECHO_N "checking if big-core option selected... $ECHO_C" >&6 + + # Check whether --enable-big-core or --disable-big-core was given. +@@ -9195,7 +9244,7 @@ else + with_big_core=no + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9198 "configure" ++#line 9247 "configure" + #include "confdefs.h" + + #include +@@ -9209,15 +9258,15 @@ int main() { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9212: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9261: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9215: \$? = $ac_status" >&5 ++ echo "$as_me:9264: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9217: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9266: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9220: \$? = $ac_status" >&5 ++ echo "$as_me:9269: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_big_core=yes + else +@@ -9229,7 +9278,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi; +-echo "$as_me:9232: result: $with_big_core" >&5 ++echo "$as_me:9281: result: $with_big_core" >&5 + echo "${ECHO_T}$with_big_core" >&6 + test "x$with_big_core" = "xyes" && + cat >>confdefs.h <<\EOF +@@ -9239,7 +9288,7 @@ EOF + ### ISO C only guarantees 512-char strings, we have tables which load faster + ### when constructed using "big" strings. More than the C compiler, the awk + ### program is a limit on most vendor UNIX systems. Check that we can build. +-echo "$as_me:9242: checking if big-strings option selected" >&5 ++echo "$as_me:9291: checking if big-strings option selected" >&5 + echo $ECHO_N "checking if big-strings option selected... $ECHO_C" >&6 + + # Check whether --enable-big-strings or --disable-big-strings was given. +@@ -9263,14 +9312,14 @@ else + esac + + fi; +-echo "$as_me:9266: result: $with_big_strings" >&5 ++echo "$as_me:9315: result: $with_big_strings" >&5 + echo "${ECHO_T}$with_big_strings" >&6 + + USE_BIG_STRINGS=0 + test "x$with_big_strings" = "xyes" && USE_BIG_STRINGS=1 + + ### use option --enable-termcap to compile in the termcap fallback support +-echo "$as_me:9273: checking if you want termcap-fallback support" >&5 ++echo "$as_me:9322: checking if you want termcap-fallback support" >&5 + echo $ECHO_N "checking if you want termcap-fallback support... $ECHO_C" >&6 + + # Check whether --enable-termcap or --disable-termcap was given. +@@ -9280,14 +9329,14 @@ if test "${enable_termcap+set}" = set; then + else + with_termcap=no + fi; +-echo "$as_me:9283: result: $with_termcap" >&5 ++echo "$as_me:9332: result: $with_termcap" >&5 + echo "${ECHO_T}$with_termcap" >&6 + + NCURSES_USE_TERMCAP=0 + if test "x$with_termcap" != "xyes" ; then + if test "$use_database" = no ; then + if test -z "$with_fallback" ; then +- { { echo "$as_me:9290: error: You have disabled the database w/o specifying fallbacks" >&5 ++ { { echo "$as_me:9339: error: You have disabled the database w/o specifying fallbacks" >&5 + echo "$as_me: error: You have disabled the database w/o specifying fallbacks" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -9300,13 +9349,13 @@ EOF + else + + if test "$with_ticlib" != no ; then +- { { echo "$as_me:9303: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 ++ { { echo "$as_me:9352: error: Options --with-ticlib and --enable-termcap cannot be combined" >&5 + echo "$as_me: error: Options --with-ticlib and --enable-termcap cannot be combined" >&2;} + { (exit 1); exit 1; }; } + fi + + NCURSES_USE_TERMCAP=1 +- echo "$as_me:9309: checking for list of termcap files" >&5 ++ echo "$as_me:9358: checking for list of termcap files" >&5 + echo $ECHO_N "checking for list of termcap files... $ECHO_C" >&6 + + # Check whether --with-termpath or --without-termpath was given. +@@ -9346,7 +9395,7 @@ case ".$cf_src_path" in + cf_src_path=`echo "$cf_src_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:9349: error: expected a pathname, not \"$cf_src_path\"" >&5 ++ { { echo "$as_me:9398: error: expected a pathname, not \"$cf_src_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_src_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -9369,7 +9418,7 @@ case "x$cf_dst_eval" in + ;; + esac + +- echo "$as_me:9372: result: $TERMPATH" >&5 ++ echo "$as_me:9421: result: $TERMPATH" >&5 + echo "${ECHO_T}$TERMPATH" >&6 + test -n "$TERMPATH" && + cat >>confdefs.h <>confdefs.h <&5 ++ echo "$as_me:9429: checking if fast termcap-loader is needed" >&5 + echo $ECHO_N "checking if fast termcap-loader is needed... $ECHO_C" >&6 + + # Check whether --enable-getcap or --disable-getcap was given. +@@ -9387,14 +9436,14 @@ if test "${enable_getcap+set}" = set; then + else + with_getcap=no + fi; +- echo "$as_me:9390: result: $with_getcap" >&5 ++ echo "$as_me:9439: result: $with_getcap" >&5 + echo "${ECHO_T}$with_getcap" >&6 + test "x$with_getcap" = "xyes" && + cat >>confdefs.h <<\EOF + #define USE_GETCAP 1 + EOF + +- echo "$as_me:9397: checking if translated termcaps will be cached in ~/.terminfo" >&5 ++ echo "$as_me:9446: checking if translated termcaps will be cached in ~/.terminfo" >&5 + echo $ECHO_N "checking if translated termcaps will be cached in ~/.terminfo... $ECHO_C" >&6 + + # Check whether --enable-getcap-cache or --disable-getcap-cache was given. +@@ -9404,7 +9453,7 @@ if test "${enable_getcap_cache+set}" = set; then + else + with_getcap_cache=no + fi; +- echo "$as_me:9407: result: $with_getcap_cache" >&5 ++ echo "$as_me:9456: result: $with_getcap_cache" >&5 + echo "${ECHO_T}$with_getcap_cache" >&6 + test "x$with_getcap_cache" = "xyes" && + cat >>confdefs.h <<\EOF +@@ -9414,7 +9463,7 @@ EOF + fi + + ### Use option --disable-home-terminfo to completely remove ~/.terminfo +-echo "$as_me:9417: checking if ~/.terminfo is wanted" >&5 ++echo "$as_me:9466: checking if ~/.terminfo is wanted" >&5 + echo $ECHO_N "checking if ~/.terminfo is wanted... $ECHO_C" >&6 + + # Check whether --enable-home-terminfo or --disable-home-terminfo was given. +@@ -9424,14 +9473,14 @@ if test "${enable_home_terminfo+set}" = set; then + else + with_home_terminfo=yes + fi; +-echo "$as_me:9427: result: $with_home_terminfo" >&5 ++echo "$as_me:9476: result: $with_home_terminfo" >&5 + echo "${ECHO_T}$with_home_terminfo" >&6 + test "x$with_home_terminfo" = "xyes" && + cat >>confdefs.h <<\EOF + #define USE_HOME_TERMINFO 1 + EOF + +-echo "$as_me:9434: checking if you want to permit root to use ncurses environment variables" >&5 ++echo "$as_me:9483: checking if you want to permit root to use ncurses environment variables" >&5 + echo $ECHO_N "checking if you want to permit root to use ncurses environment variables... $ECHO_C" >&6 + + # Check whether --enable-root-environ or --disable-root-environ was given. +@@ -9441,14 +9490,14 @@ if test "${enable_root_environ+set}" = set; then + else + with_root_environ=yes + fi; +-echo "$as_me:9444: result: $with_root_environ" >&5 ++echo "$as_me:9493: result: $with_root_environ" >&5 + echo "${ECHO_T}$with_root_environ" >&6 + test "x$with_root_environ" = xyes && + cat >>confdefs.h <<\EOF + #define USE_ROOT_ENVIRON 1 + EOF + +-echo "$as_me:9451: checking if you want to permit setuid programs to access all files" >&5 ++echo "$as_me:9500: checking if you want to permit setuid programs to access all files" >&5 + echo $ECHO_N "checking if you want to permit setuid programs to access all files... $ECHO_C" >&6 + + # Check whether --enable-root-environ or --disable-root-environ was given. +@@ -9458,7 +9507,7 @@ if test "${enable_root_environ+set}" = set; then + else + with_root_access=yes + fi; +-echo "$as_me:9461: result: $with_root_access" >&5 ++echo "$as_me:9510: result: $with_root_access" >&5 + echo "${ECHO_T}$with_root_access" >&6 + test "x$with_root_access" = xyes && + cat >>confdefs.h <<\EOF +@@ -9473,23 +9522,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:9476: checking for $ac_header" >&5 ++echo "$as_me:9525: 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 9482 "configure" ++#line 9531 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:9486: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:9535: \"$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:9492: \$? = $ac_status" >&5 ++ echo "$as_me:9541: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -9508,7 +9557,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:9511: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:9560: 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 <&5 ++echo "$as_me:9575: 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 9532 "configure" ++#line 9581 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9560,16 +9609,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9563: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9612: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9566: \$? = $ac_status" >&5 ++ echo "$as_me:9615: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9569: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9618: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9572: \$? = $ac_status" >&5 ++ echo "$as_me:9621: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -9579,7 +9628,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9582: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:9631: 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 <&5 ++echo "$as_me:9648: 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 9605 "configure" ++#line 9654 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9633,16 +9682,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9636: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9685: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9639: \$? = $ac_status" >&5 ++ echo "$as_me:9688: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9642: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9691: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9645: \$? = $ac_status" >&5 ++ echo "$as_me:9694: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -9652,7 +9701,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9655: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:9704: 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 <&5 ++ echo "$as_me:9715: checking if link/symlink functions work" >&5 + echo $ECHO_N "checking if link/symlink functions work... $ECHO_C" >&6 + if test "${cf_cv_link_funcs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9676,7 +9725,7 @@ else + eval 'ac_cv_func_'$cf_func'=error' + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9679 "configure" ++#line 9728 "configure" + #include "confdefs.h" + + #include +@@ -9714,15 +9763,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9717: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9766: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9720: \$? = $ac_status" >&5 ++ echo "$as_me:9769: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9722: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9771: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9725: \$? = $ac_status" >&5 ++ echo "$as_me:9774: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_link_funcs="$cf_cv_link_funcs $cf_func" +@@ -9740,7 +9789,7 @@ fi + test -z "$cf_cv_link_funcs" && cf_cv_link_funcs=no + + fi +-echo "$as_me:9743: result: $cf_cv_link_funcs" >&5 ++echo "$as_me:9792: result: $cf_cv_link_funcs" >&5 + echo "${ECHO_T}$cf_cv_link_funcs" >&6 + test "$ac_cv_func_link" = yes && + cat >>confdefs.h <<\EOF +@@ -9760,7 +9809,7 @@ with_symlinks=no + # soft links (symbolic links) are useful for some systems where hard links do + # not work, or to make it simpler to copy terminfo trees around. + if test "x$ac_cv_func_symlink" = xyes ; then +- echo "$as_me:9763: checking if tic should use symbolic links" >&5 ++ echo "$as_me:9812: checking if tic should use symbolic links" >&5 + echo $ECHO_N "checking if tic should use symbolic links... $ECHO_C" >&6 + + # Check whether --enable-symlinks or --disable-symlinks was given. +@@ -9770,21 +9819,21 @@ if test "${enable_symlinks+set}" = set; then + else + with_symlinks=no + fi; +- echo "$as_me:9773: result: $with_symlinks" >&5 ++ echo "$as_me:9822: result: $with_symlinks" >&5 + echo "${ECHO_T}$with_symlinks" >&6 + fi + + # If we have hard links and did not choose to use soft links instead, there is + # no reason to make this choice optional - use the hard links. + if test "$with_symlinks" = no ; then +- echo "$as_me:9780: checking if tic should use hard links" >&5 ++ echo "$as_me:9829: checking if tic should use hard links" >&5 + echo $ECHO_N "checking if tic should use hard links... $ECHO_C" >&6 + if test "x$ac_cv_func_link" = xyes ; then + with_links=yes + else + with_links=no + fi +- echo "$as_me:9787: result: $with_links" >&5 ++ echo "$as_me:9836: result: $with_links" >&5 + echo "${ECHO_T}$with_links" >&6 + fi + +@@ -9800,7 +9849,7 @@ EOF + + ### use option --enable-broken-linker to force on use of broken-linker support + +-echo "$as_me:9803: checking if you want broken-linker support code" >&5 ++echo "$as_me:9852: checking if you want broken-linker support code" >&5 + echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 + + # Check whether --enable-broken_linker or --disable-broken_linker was given. +@@ -9810,7 +9859,7 @@ if test "${enable_broken_linker+set}" = set; then + else + with_broken_linker=no + fi; +-echo "$as_me:9813: result: $with_broken_linker" >&5 ++echo "$as_me:9862: result: $with_broken_linker" >&5 + echo "${ECHO_T}$with_broken_linker" >&6 + + : "${BROKEN_LINKER:=0}" +@@ -9824,7 +9873,7 @@ EOF + fi + + ### use option --enable-bsdpad to have tputs process BSD-style prefix padding +-echo "$as_me:9827: checking if tputs should process BSD-style prefix padding" >&5 ++echo "$as_me:9876: checking if tputs should process BSD-style prefix padding" >&5 + echo $ECHO_N "checking if tputs should process BSD-style prefix padding... $ECHO_C" >&6 + + # Check whether --enable-bsdpad or --disable-bsdpad was given. +@@ -9834,7 +9883,7 @@ if test "${enable_bsdpad+set}" = set; then + else + with_bsdpad=no + fi; +-echo "$as_me:9837: result: $with_bsdpad" >&5 ++echo "$as_me:9886: result: $with_bsdpad" >&5 + echo "${ECHO_T}$with_bsdpad" >&6 + test "x$with_bsdpad" = xyes && + cat >>confdefs.h <<\EOF +@@ -9853,14 +9902,14 @@ NCURSES_WINT_T=0 + # Check to define _XOPEN_SOURCE "automatically" + CPPFLAGS_before_XOPEN="$CPPFLAGS" + +-echo "$as_me:9856: checking if the POSIX test-macros are already defined" >&5 ++echo "$as_me:9905: checking if the POSIX test-macros are already defined" >&5 + echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 + if test "${cf_cv_posix_visible+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9863 "configure" ++#line 9912 "configure" + #include "confdefs.h" + #include + int +@@ -9879,16 +9928,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9882: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:9931: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9885: \$? = $ac_status" >&5 ++ echo "$as_me:9934: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9888: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9937: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9891: \$? = $ac_status" >&5 ++ echo "$as_me:9940: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_visible=no + else +@@ -9899,7 +9948,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:9902: result: $cf_cv_posix_visible" >&5 ++echo "$as_me:9951: result: $cf_cv_posix_visible" >&5 + echo "${ECHO_T}$cf_cv_posix_visible" >&6 + + if test "$cf_cv_posix_visible" = no; then +@@ -9944,14 +9993,14 @@ case "$host_os" in + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-echo "$as_me:9947: checking if this is the GNU C library" >&5 ++echo "$as_me:9996: checking if this is the GNU C library" >&5 + echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 + if test "${cf_cv_gnu_library+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9954 "configure" ++#line 10003 "configure" + #include "confdefs.h" + #include + int +@@ -9970,16 +10019,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9973: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10022: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9976: \$? = $ac_status" >&5 ++ echo "$as_me:10025: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9979: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10028: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9982: \$? = $ac_status" >&5 ++ echo "$as_me:10031: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library=yes + else +@@ -9990,7 +10039,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:9993: result: $cf_cv_gnu_library" >&5 ++echo "$as_me:10042: result: $cf_cv_gnu_library" >&5 + echo "${ECHO_T}$cf_cv_gnu_library" >&6 + + if test x$cf_cv_gnu_library = xyes; then +@@ -9998,7 +10047,7 @@ if test x$cf_cv_gnu_library = xyes; then + # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE + # was changed to help a little. newlib incorporated the change about 4 + # years later. +- echo "$as_me:10001: checking if _DEFAULT_SOURCE can be used as a basis" >&5 ++ echo "$as_me:10050: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 + if test "${cf_cv_gnu_library_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10010,7 +10059,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10013 "configure" ++#line 10062 "configure" + #include "confdefs.h" + #include + int +@@ -10029,16 +10078,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10032: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10081: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10035: \$? = $ac_status" >&5 ++ echo "$as_me:10084: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10038: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10087: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10041: \$? = $ac_status" >&5 ++ echo "$as_me:10090: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library_219=yes + else +@@ -10050,12 +10099,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CPPFLAGS="$cf_save" + + fi +-echo "$as_me:10053: result: $cf_cv_gnu_library_219" >&5 ++echo "$as_me:10102: result: $cf_cv_gnu_library_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 + + if test "x$cf_cv_gnu_library_219" = xyes; then + cf_save="$CPPFLAGS" +- echo "$as_me:10058: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 ++ echo "$as_me:10107: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_dftsrc_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10160,7 +10209,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10163 "configure" ++#line 10212 "configure" + #include "confdefs.h" + + #include +@@ -10180,16 +10229,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10183: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10232: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10186: \$? = $ac_status" >&5 ++ echo "$as_me:10235: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10189: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10238: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10192: \$? = $ac_status" >&5 ++ echo "$as_me:10241: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_dftsrc_219=yes + else +@@ -10200,7 +10249,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10203: result: $cf_cv_gnu_dftsrc_219" >&5 ++echo "$as_me:10252: result: $cf_cv_gnu_dftsrc_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" + else +@@ -10209,14 +10258,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + + if test "x$cf_cv_gnu_dftsrc_219" != xyes; then + +- echo "$as_me:10212: checking if we must define _GNU_SOURCE" >&5 ++ echo "$as_me:10261: 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 10219 "configure" ++#line 10268 "configure" + #include "confdefs.h" + #include + int +@@ -10231,16 +10280,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10234: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10283: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10237: \$? = $ac_status" >&5 ++ echo "$as_me:10286: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10240: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10289: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10243: \$? = $ac_status" >&5 ++ echo "$as_me:10292: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -10347,7 +10396,7 @@ if test -n "$cf_new_extra_cppflags" ; then + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10350 "configure" ++#line 10399 "configure" + #include "confdefs.h" + #include + int +@@ -10362,16 +10411,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10365: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10414: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10368: \$? = $ac_status" >&5 ++ echo "$as_me:10417: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10371: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10420: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10374: \$? = $ac_status" >&5 ++ echo "$as_me:10423: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -10386,12 +10435,12 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10389: result: $cf_cv_gnu_source" >&5 ++echo "$as_me:10438: result: $cf_cv_gnu_source" >&5 + echo "${ECHO_T}$cf_cv_gnu_source" >&6 + + if test "$cf_cv_gnu_source" = yes + then +- echo "$as_me:10394: checking if we should also define _DEFAULT_SOURCE" >&5 ++ echo "$as_me:10443: checking if we should also define _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_default_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10401,7 +10450,7 @@ else + CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10404 "configure" ++#line 10453 "configure" + #include "confdefs.h" + #include + int +@@ -10416,16 +10465,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10419: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10468: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10422: \$? = $ac_status" >&5 ++ echo "$as_me:10471: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10425: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10474: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10428: \$? = $ac_status" >&5 ++ echo "$as_me:10477: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_default_source=no + else +@@ -10436,7 +10485,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10439: result: $cf_cv_default_source" >&5 ++echo "$as_me:10488: result: $cf_cv_default_source" >&5 + echo "${ECHO_T}$cf_cv_default_source" >&6 + if test "$cf_cv_default_source" = yes + then +@@ -10473,16 +10522,16 @@ 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:10476: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:10525: 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}:10482: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:10531: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10485 "configure" ++#line 10534 "configure" + #include "confdefs.h" + #include + int +@@ -10497,16 +10546,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10500: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10549: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10503: \$? = $ac_status" >&5 ++ echo "$as_me:10552: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10506: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10555: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10509: \$? = $ac_status" >&5 ++ echo "$as_me:10558: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -10527,7 +10576,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10530 "configure" ++#line 10579 "configure" + #include "confdefs.h" + #include + int +@@ -10542,16 +10591,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10545: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10594: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10548: \$? = $ac_status" >&5 ++ echo "$as_me:10597: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10551: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10600: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10554: \$? = $ac_status" >&5 ++ echo "$as_me:10603: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10562,7 +10611,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:10565: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:10614: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -10570,10 +10619,10 @@ echo "${as_me:-configure}:10565: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:10573: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:10622: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10576 "configure" ++#line 10625 "configure" + #include "confdefs.h" + #include + int +@@ -10588,16 +10637,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10591: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10640: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10594: \$? = $ac_status" >&5 ++ echo "$as_me:10643: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10597: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10646: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10600: \$? = $ac_status" >&5 ++ echo "$as_me:10649: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10613,7 +10662,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10616: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:10665: 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 +@@ -10730,7 +10779,7 @@ fi # cf_cv_posix_visible + # OpenBSD 6.x has broken locale support, both compile-time and runtime. + # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html + # Abusing the conformance level is a workaround. +- { echo "$as_me:10733: WARNING: this system does not provide usable locale support" >&5 ++ { echo "$as_me:10782: WARNING: this system does not provide usable locale support" >&5 + echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + cf_xopen_source="-D_BSD_SOURCE" + cf_XOPEN_SOURCE=700 +@@ -10762,14 +10811,14 @@ echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + ;; + (*) + +-echo "$as_me:10765: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:10814: 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 10772 "configure" ++#line 10821 "configure" + #include "confdefs.h" + + #include +@@ -10789,16 +10838,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10792: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10841: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10795: \$? = $ac_status" >&5 ++ echo "$as_me:10844: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10798: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10847: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10801: \$? = $ac_status" >&5 ++ echo "$as_me:10850: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -10810,7 +10859,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10813 "configure" ++#line 10862 "configure" + #include "confdefs.h" + + #include +@@ -10830,16 +10879,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10833: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10882: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10836: \$? = $ac_status" >&5 ++ echo "$as_me:10885: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10839: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10888: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10842: \$? = $ac_status" >&5 ++ echo "$as_me:10891: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -10854,7 +10903,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:10857: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:10906: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -11014,16 +11063,16 @@ 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:11017: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:11066: 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}:11023: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:11072: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11026 "configure" ++#line 11075 "configure" + #include "confdefs.h" + #include + int +@@ -11038,16 +11087,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11041: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11090: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11044: \$? = $ac_status" >&5 ++ echo "$as_me:11093: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11047: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11096: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11050: \$? = $ac_status" >&5 ++ echo "$as_me:11099: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -11068,7 +11117,7 @@ cf_want_posix_source=no + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11071 "configure" ++#line 11120 "configure" + #include "confdefs.h" + #include + int +@@ -11083,16 +11132,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11086: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11135: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11089: \$? = $ac_status" >&5 ++ echo "$as_me:11138: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11092: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11141: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11095: \$? = $ac_status" >&5 ++ echo "$as_me:11144: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -11103,7 +11152,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:11106: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:11155: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -11111,10 +11160,10 @@ echo "${as_me:-configure}:11106: testing ifdef from value $cf_POSIX_C_SOURCE ... + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:11114: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:11163: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11117 "configure" ++#line 11166 "configure" + #include "confdefs.h" + #include + int +@@ -11129,16 +11178,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11132: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11181: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11135: \$? = $ac_status" >&5 ++ echo "$as_me:11184: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11138: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11187: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11141: \$? = $ac_status" >&5 ++ echo "$as_me:11190: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -11154,7 +11203,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11157: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:11206: 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 +@@ -11266,10 +11315,10 @@ fi # cf_cv_posix_visible + # Some of these niche implementations use copy/paste, double-check... + test -n "$verbose" && echo " checking if _POSIX_C_SOURCE inteferes" 1>&6 + +-echo "${as_me:-configure}:11269: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 ++echo "${as_me:-configure}:11318: testing checking if _POSIX_C_SOURCE inteferes ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11272 "configure" ++#line 11321 "configure" + #include "confdefs.h" + + #include +@@ -11289,23 +11338,23 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11292: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11341: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11295: \$? = $ac_status" >&5 ++ echo "$as_me:11344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11301: \$? = $ac_status" >&5 ++ echo "$as_me:11350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { echo "$as_me:11308: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 ++ { echo "$as_me:11357: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} + CPPFLAGS="$cf_save_xopen_cppflags" + fi +@@ -11327,7 +11376,7 @@ do + test "$CFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 + +-echo "${as_me:-configure}:11330: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:11379: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 + + CFLAGS="$cf_old_cflag" + done +@@ -11339,7 +11388,7 @@ do + test "$CPPFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:11342: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:11391: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_old_cflag" + done +@@ -11427,7 +11476,7 @@ done + if test -n "$cf_new_cflags" ; then + test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 + +-echo "${as_me:-configure}:11430: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 ++echo "${as_me:-configure}:11479: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_new_cflags" +@@ -11437,7 +11486,7 @@ fi + if test -n "$cf_new_cppflags" ; then + test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 + +-echo "${as_me:-configure}:11440: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 ++echo "${as_me:-configure}:11489: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" +@@ -11447,7 +11496,7 @@ fi + if test -n "$cf_new_extra_cppflags" ; then + test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 + +-echo "${as_me:-configure}:11450: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 ++echo "${as_me:-configure}:11499: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 + + test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " + EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" +@@ -11459,10 +11508,10 @@ done + fi + + if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then +- echo "$as_me:11462: checking if _XOPEN_SOURCE really is set" >&5 ++ echo "$as_me:11511: 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 11465 "configure" ++#line 11514 "configure" + #include "confdefs.h" + #include + int +@@ -11477,16 +11526,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11480: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11529: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11483: \$? = $ac_status" >&5 ++ echo "$as_me:11532: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11486: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11535: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11489: \$? = $ac_status" >&5 ++ echo "$as_me:11538: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set=yes + else +@@ -11495,12 +11544,12 @@ cat "conftest.$ac_ext" >&5 + cf_XOPEN_SOURCE_set=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:11498: result: $cf_XOPEN_SOURCE_set" >&5 ++ echo "$as_me:11547: 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 11503 "configure" ++#line 11552 "configure" + #include "confdefs.h" + #include + int +@@ -11515,16 +11564,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11518: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11567: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11521: \$? = $ac_status" >&5 ++ echo "$as_me:11570: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11524: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11573: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11527: \$? = $ac_status" >&5 ++ echo "$as_me:11576: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set_ok=yes + else +@@ -11535,19 +11584,19 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no + then +- { echo "$as_me:11538: WARNING: _XOPEN_SOURCE is lower than requested" >&5 ++ { echo "$as_me:11587: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} + fi + else + +-echo "$as_me:11543: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:11592: 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 11550 "configure" ++#line 11599 "configure" + #include "confdefs.h" + + #include +@@ -11567,16 +11616,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11570: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11619: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11573: \$? = $ac_status" >&5 ++ echo "$as_me:11622: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11576: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11625: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11579: \$? = $ac_status" >&5 ++ echo "$as_me:11628: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -11588,7 +11637,7 @@ cf_save="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11591 "configure" ++#line 11640 "configure" + #include "confdefs.h" + + #include +@@ -11608,16 +11657,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11611: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11660: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11614: \$? = $ac_status" >&5 ++ echo "$as_me:11663: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11617: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11666: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11620: \$? = $ac_status" >&5 ++ echo "$as_me:11669: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -11632,7 +11681,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11635: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:11684: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -11783,14 +11832,14 @@ CPPFLAGS_after_XOPEN="$CPPFLAGS" + + # Work around breakage on OS X + +-echo "$as_me:11786: checking if SIGWINCH is defined" >&5 ++echo "$as_me:11835: checking if SIGWINCH is defined" >&5 + echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6 + if test "${cf_cv_define_sigwinch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11793 "configure" ++#line 11842 "configure" + #include "confdefs.h" + + #include +@@ -11805,23 +11854,23 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11808: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11857: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11811: \$? = $ac_status" >&5 ++ echo "$as_me:11860: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11814: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11863: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11817: \$? = $ac_status" >&5 ++ echo "$as_me:11866: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_define_sigwinch=yes + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11824 "configure" ++#line 11873 "configure" + #include "confdefs.h" + + #undef _XOPEN_SOURCE +@@ -11839,16 +11888,16 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11842: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11891: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11845: \$? = $ac_status" >&5 ++ echo "$as_me:11894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11848: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11851: \$? = $ac_status" >&5 ++ echo "$as_me:11900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_define_sigwinch=maybe + else +@@ -11862,11 +11911,11 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:11865: result: $cf_cv_define_sigwinch" >&5 ++echo "$as_me:11914: result: $cf_cv_define_sigwinch" >&5 + echo "${ECHO_T}$cf_cv_define_sigwinch" >&6 + + if test "$cf_cv_define_sigwinch" = maybe ; then +-echo "$as_me:11869: checking for actual SIGWINCH definition" >&5 ++echo "$as_me:11918: checking for actual SIGWINCH definition" >&5 + echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6 + if test "${cf_cv_fixup_sigwinch+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11877,7 +11926,7 @@ cf_sigwinch=32 + while test "$cf_sigwinch" != 1 + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11880 "configure" ++#line 11929 "configure" + #include "confdefs.h" + + #undef _XOPEN_SOURCE +@@ -11899,16 +11948,16 @@ int x = SIGWINCH; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11902: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11951: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11905: \$? = $ac_status" >&5 ++ echo "$as_me:11954: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11908: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11957: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11911: \$? = $ac_status" >&5 ++ echo "$as_me:11960: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fixup_sigwinch=$cf_sigwinch + break +@@ -11922,7 +11971,7 @@ cf_sigwinch="`expr "$cf_sigwinch" - 1`" + done + + fi +-echo "$as_me:11925: result: $cf_cv_fixup_sigwinch" >&5 ++echo "$as_me:11974: result: $cf_cv_fixup_sigwinch" >&5 + echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6 + + if test "$cf_cv_fixup_sigwinch" != unknown ; then +@@ -11932,13 +11981,13 @@ fi + + # Checks for CODESET support. + +-echo "$as_me:11935: checking for nl_langinfo and CODESET" >&5 ++echo "$as_me:11984: 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 11941 "configure" ++#line 11990 "configure" + #include "confdefs.h" + #include + int +@@ -11950,16 +11999,16 @@ char* cs = nl_langinfo(CODESET); (void)cs + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11953: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12002: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11956: \$? = $ac_status" >&5 ++ echo "$as_me:12005: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11959: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12008: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11962: \$? = $ac_status" >&5 ++ echo "$as_me:12011: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + am_cv_langinfo_codeset=yes + else +@@ -11970,7 +12019,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:11973: result: $am_cv_langinfo_codeset" >&5 ++echo "$as_me:12022: result: $am_cv_langinfo_codeset" >&5 + echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 + if test "$am_cv_langinfo_codeset" = yes; then + +@@ -11984,7 +12033,7 @@ EOF + NCURSES_OK_WCHAR_T= + NCURSES_OK_WINT_T= + +-echo "$as_me:11987: checking if you want wide-character code" >&5 ++echo "$as_me:12036: checking if you want wide-character code" >&5 + echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 + + # Check whether --enable-widec or --disable-widec was given. +@@ -11994,7 +12043,7 @@ if test "${enable_widec+set}" = set; then + else + with_widec=no + fi; +-echo "$as_me:11997: result: $with_widec" >&5 ++echo "$as_me:12046: result: $with_widec" >&5 + echo "${ECHO_T}$with_widec" >&6 + + NCURSES_WCWIDTH_GRAPHICS=1 +@@ -12016,7 +12065,7 @@ EOF + (*_XOPEN_SOURCE=*) + ;; + (*) +- { echo "$as_me:12019: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&5 ++ { echo "$as_me:12068: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined" >&2;} + # CPPFLAGS="$CPPFLAGS -DNCURSES_WIDECHAR" + CPPFLAGS_after_XOPEN="$CPPFLAGS_after_XOPEN -DNCURSES_WIDECHAR" +@@ -12029,23 +12078,23 @@ wctype.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:12032: checking for $ac_header" >&5 ++echo "$as_me:12081: 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 12038 "configure" ++#line 12087 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:12042: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:12091: \"$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:12048: \$? = $ac_status" >&5 ++ echo "$as_me:12097: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -12064,7 +12113,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:12067: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:12116: 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 <&5 ++echo "$as_me:12126: checking if wchar.h can be used as is" >&5 + echo $ECHO_N "checking if wchar.h can be used as is... $ECHO_C" >&6 + if test "${cf_cv_wchar_h_okay+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12084 "configure" ++#line 12133 "configure" + #include "confdefs.h" + + #include +@@ -12103,16 +12152,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12106: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12155: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12109: \$? = $ac_status" >&5 ++ echo "$as_me:12158: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12112: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12161: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12115: \$? = $ac_status" >&5 ++ echo "$as_me:12164: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_h_okay=yes + else +@@ -12122,16 +12171,16 @@ cf_cv_wchar_h_okay=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:12125: result: $cf_cv_wchar_h_okay" >&5 ++echo "$as_me:12174: result: $cf_cv_wchar_h_okay" >&5 + echo "${ECHO_T}$cf_cv_wchar_h_okay" >&6 + + if test "$cf_cv_wchar_h_okay" = no + then + +-echo "$as_me:12131: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 ++echo "$as_me:12180: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 + echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12134 "configure" ++#line 12183 "configure" + #include "confdefs.h" + #include + +@@ -12147,16 +12196,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12150: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12199: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12153: \$? = $ac_status" >&5 ++ echo "$as_me:12202: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12156: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12205: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12159: \$? = $ac_status" >&5 ++ echo "$as_me:12208: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_result=no + else +@@ -12165,16 +12214,16 @@ cat "conftest.$ac_ext" >&5 + cf_result=yes + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-echo "$as_me:12168: result: $cf_result" >&5 ++echo "$as_me:12217: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + + if test "$cf_result" = yes ; then + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" + elif test "x" != "x" ; then +- echo "$as_me:12174: checking checking for compatible value versus " >&5 ++ echo "$as_me:12223: checking checking for compatible value versus " >&5 + echo $ECHO_N "checking checking for compatible value versus ... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12177 "configure" ++#line 12226 "configure" + #include "confdefs.h" + #include + +@@ -12190,16 +12239,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12193: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12242: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12196: \$? = $ac_status" >&5 ++ echo "$as_me:12245: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12199: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12248: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12202: \$? = $ac_status" >&5 ++ echo "$as_me:12251: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_result=yes + else +@@ -12208,7 +12257,7 @@ cat "conftest.$ac_ext" >&5 + cf_result=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:12211: result: $cf_result" >&5 ++ echo "$as_me:12260: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + if test "$cf_result" = no ; then + # perhaps we can override it - try... +@@ -12218,7 +12267,7 @@ fi + + fi + +-echo "$as_me:12221: checking if wcwidth agrees graphics are single-width" >&5 ++echo "$as_me:12270: checking if wcwidth agrees graphics are single-width" >&5 + echo $ECHO_N "checking if wcwidth agrees graphics are single-width... $ECHO_C" >&6 + if test "${cf_cv_wcwidth_graphics+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12289,7 +12338,7 @@ if test "$cross_compiling" = yes; then + cf_cv_wcwidth_graphics=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12292 "configure" ++#line 12341 "configure" + #include "confdefs.h" + + #include +@@ -12333,15 +12382,15 @@ main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:12336: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12385: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12339: \$? = $ac_status" >&5 ++ echo "$as_me:12388: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:12341: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12390: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12344: \$? = $ac_status" >&5 ++ echo "$as_me:12393: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wcwidth_graphics=yes + else +@@ -12354,7 +12403,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:12357: result: $cf_cv_wcwidth_graphics" >&5 ++echo "$as_me:12406: result: $cf_cv_wcwidth_graphics" >&5 + echo "${ECHO_T}$cf_cv_wcwidth_graphics" >&6 + + test "$cf_cv_wcwidth_graphics" = no && NCURSES_WCWIDTH_GRAPHICS=0 +@@ -12365,13 +12414,13 @@ echo "${ECHO_T}$cf_cv_wcwidth_graphics" >&6 + for ac_func in putwc btowc wctob wmemchr mbtowc wctomb mblen mbrlen mbrtowc wcsrtombs mbsrtowcs wcstombs mbstowcs + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:12368: checking for $ac_func" >&5 ++echo "$as_me:12417: 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 12374 "configure" ++#line 12423 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -12402,16 +12451,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12405: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12454: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12408: \$? = $ac_status" >&5 ++ echo "$as_me:12457: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12411: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12460: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12414: \$? = $ac_status" >&5 ++ echo "$as_me:12463: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -12421,7 +12470,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:12424: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:12473: 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 <&5 ++echo "$as_me:12488: 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 12445 "configure" ++#line 12494 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:12449: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:12498: \"$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:12455: \$? = $ac_status" >&5 ++ echo "$as_me:12504: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -12471,7 +12520,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:12474: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:12523: 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 <&5 ++echo "$as_me:12533: 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 +@@ -12489,7 +12538,7 @@ else + + cf_save_LIBS="$LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12492 "configure" ++#line 12541 "configure" + #include "confdefs.h" + + #include +@@ -12507,16 +12556,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12510: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12559: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12513: \$? = $ac_status" >&5 ++ echo "$as_me:12562: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12516: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12565: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12519: \$? = $ac_status" >&5 ++ echo "$as_me:12568: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_utf8_lib=yes + else +@@ -12528,12 +12577,12 @@ cat "conftest.$ac_ext" >&5 + cf_cv_header_path_utf8= + cf_cv_library_path_utf8= + +-echo "${as_me:-configure}:12531: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12580: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12536 "configure" ++#line 12585 "configure" + #include "confdefs.h" + + #include +@@ -12546,16 +12595,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12549: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12598: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12552: \$? = $ac_status" >&5 ++ echo "$as_me:12601: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12555: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12604: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12558: \$? = $ac_status" >&5 ++ echo "$as_me:12607: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -12569,7 +12618,7 @@ cat "conftest.$ac_ext" >&5 + LIBS="-lutf8 $cf_save_LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12572 "configure" ++#line 12621 "configure" + #include "confdefs.h" + + #include +@@ -12582,16 +12631,16 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12585: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12634: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12588: \$? = $ac_status" >&5 ++ echo "$as_me:12637: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12591: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12640: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12594: \$? = $ac_status" >&5 ++ echo "$as_me:12643: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -12608,9 +12657,9 @@ cat "conftest.$ac_ext" >&5 + + test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 + +-echo "${as_me:-configure}:12611: testing find linkage for utf8 library ..." 1>&5 ++echo "${as_me:-configure}:12660: testing find linkage for utf8 library ..." 1>&5 + +-echo "${as_me:-configure}:12613: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12662: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_CPPFLAGS="$CPPFLAGS" + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -12701,7 +12750,7 @@ cf_search="$cf_search $cf_header_path_list" + 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}:12704: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12753: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_save_CPPFLAGS" + +@@ -12709,7 +12758,7 @@ echo "${as_me:-configure}:12704: testing ... testing $cf_cv_header_path_utf8 ... + CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12712 "configure" ++#line 12761 "configure" + #include "confdefs.h" + + #include +@@ -12722,21 +12771,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12725: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12774: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12728: \$? = $ac_status" >&5 ++ echo "$as_me:12777: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12731: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12780: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12734: \$? = $ac_status" >&5 ++ echo "$as_me:12783: \$? = $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}:12739: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12788: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=maybe + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -12754,7 +12803,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + if test "$cf_cv_find_linkage_utf8" = maybe ; then + +-echo "${as_me:-configure}:12757: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:12806: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + cf_save_LDFLAGS="$LDFLAGS" +@@ -12829,13 +12878,13 @@ cf_search="$cf_library_path_list $cf_search" + 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}:12832: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12881: 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 12838 "configure" ++#line 12887 "configure" + #include "confdefs.h" + + #include +@@ -12848,21 +12897,21 @@ putwc(0,0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12851: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12900: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12854: \$? = $ac_status" >&5 ++ echo "$as_me:12903: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12857: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12906: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12860: \$? = $ac_status" >&5 ++ echo "$as_me:12909: \$? = $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}:12865: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:12914: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=yes + cf_cv_library_file_utf8="-lutf8" +@@ -12904,7 +12953,7 @@ fi + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:12907: result: $cf_cv_utf8_lib" >&5 ++echo "$as_me:12956: 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 +@@ -12942,7 +12991,7 @@ if test -n "$cf_cv_header_path_utf8" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12945 "configure" ++#line 12994 "configure" + #include "confdefs.h" + #include + int +@@ -12954,16 +13003,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12957: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13006: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12960: \$? = $ac_status" >&5 ++ echo "$as_me:13009: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12963: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13012: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12966: \$? = $ac_status" >&5 ++ echo "$as_me:13015: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -12980,7 +13029,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:12983: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:13032: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -13016,7 +13065,7 @@ if test -n "$cf_cv_library_path_utf8" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:13019: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:13068: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -13048,14 +13097,14 @@ fi + fi + + # This is needed on Tru64 5.0 to declare mbstate_t +-echo "$as_me:13051: checking if we must include wchar.h to declare mbstate_t" >&5 ++echo "$as_me:13100: 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 13058 "configure" ++#line 13107 "configure" + #include "confdefs.h" + + #include +@@ -13073,23 +13122,23 @@ mbstate_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13076: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13125: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13079: \$? = $ac_status" >&5 ++ echo "$as_me:13128: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13082: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13131: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13085: \$? = $ac_status" >&5 ++ echo "$as_me:13134: \$? = $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 13092 "configure" ++#line 13141 "configure" + #include "confdefs.h" + + #include +@@ -13108,16 +13157,16 @@ mbstate_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13111: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13160: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13114: \$? = $ac_status" >&5 ++ echo "$as_me:13163: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13117: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13166: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13120: \$? = $ac_status" >&5 ++ echo "$as_me:13169: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_mbstate_t=yes + else +@@ -13129,7 +13178,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13132: result: $cf_cv_mbstate_t" >&5 ++echo "$as_me:13181: result: $cf_cv_mbstate_t" >&5 + echo "${ECHO_T}$cf_cv_mbstate_t" >&6 + + if test "$cf_cv_mbstate_t" = yes ; then +@@ -13147,14 +13196,14 @@ if test "$cf_cv_mbstate_t" = unknown ; then + fi + + # This is needed on Tru64 5.0 to declare wchar_t +-echo "$as_me:13150: checking if we must include wchar.h to declare wchar_t" >&5 ++echo "$as_me:13199: checking if we must include wchar.h to declare wchar_t" >&5 + echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6 + if test "${cf_cv_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13157 "configure" ++#line 13206 "configure" + #include "confdefs.h" + + #include +@@ -13172,23 +13221,23 @@ wchar_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13175: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13224: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13178: \$? = $ac_status" >&5 ++ echo "$as_me:13227: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13181: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13230: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13184: \$? = $ac_status" >&5 ++ echo "$as_me:13233: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_t=no + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13191 "configure" ++#line 13240 "configure" + #include "confdefs.h" + + #include +@@ -13207,16 +13256,16 @@ wchar_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13210: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13259: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13213: \$? = $ac_status" >&5 ++ echo "$as_me:13262: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13216: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13265: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13219: \$? = $ac_status" >&5 ++ echo "$as_me:13268: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wchar_t=yes + else +@@ -13228,7 +13277,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13231: result: $cf_cv_wchar_t" >&5 ++echo "$as_me:13280: result: $cf_cv_wchar_t" >&5 + echo "${ECHO_T}$cf_cv_wchar_t" >&6 + + if test "$cf_cv_wchar_t" = yes ; then +@@ -13251,14 +13300,14 @@ if test "$cf_cv_wchar_t" != unknown ; then + fi + + # This is needed on Tru64 5.0 to declare wint_t +-echo "$as_me:13254: checking if we must include wchar.h to declare wint_t" >&5 ++echo "$as_me:13303: checking if we must include wchar.h to declare wint_t" >&5 + echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6 + if test "${cf_cv_wint_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13261 "configure" ++#line 13310 "configure" + #include "confdefs.h" + + #include +@@ -13276,23 +13325,23 @@ wint_t state + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13279: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13328: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13282: \$? = $ac_status" >&5 ++ echo "$as_me:13331: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13285: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13334: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13288: \$? = $ac_status" >&5 ++ echo "$as_me:13337: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wint_t=no + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13295 "configure" ++#line 13344 "configure" + #include "confdefs.h" + + #include +@@ -13311,16 +13360,16 @@ wint_t value + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13314: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13363: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13317: \$? = $ac_status" >&5 ++ echo "$as_me:13366: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13320: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13369: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13323: \$? = $ac_status" >&5 ++ echo "$as_me:13372: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_wint_t=yes + else +@@ -13332,7 +13381,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:13335: result: $cf_cv_wint_t" >&5 ++echo "$as_me:13384: result: $cf_cv_wint_t" >&5 + echo "${ECHO_T}$cf_cv_wint_t" >&6 + + if test "$cf_cv_wint_t" = yes ; then +@@ -13364,7 +13413,7 @@ EOF + fi + + ### use option --disable-lp64 to allow long chtype +-echo "$as_me:13367: checking whether to enable _LP64 definition in curses.h" >&5 ++echo "$as_me:13416: checking whether to enable _LP64 definition in curses.h" >&5 + echo $ECHO_N "checking whether to enable _LP64 definition in curses.h... $ECHO_C" >&6 + + # Check whether --enable-lp64 or --disable-lp64 was given. +@@ -13374,7 +13423,7 @@ if test "${enable_lp64+set}" = set; then + else + with_lp64=$cf_dft_with_lp64 + fi; +-echo "$as_me:13377: result: $with_lp64" >&5 ++echo "$as_me:13426: result: $with_lp64" >&5 + echo "${ECHO_T}$with_lp64" >&6 + + if test "x$with_lp64" = xyes ; then +@@ -13390,7 +13439,7 @@ if test "${enable_largefile+set}" = set; then + fi; + if test "$enable_largefile" != no; then + +- echo "$as_me:13393: checking for special C compiler options needed for large files" >&5 ++ echo "$as_me:13442: 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 +@@ -13402,7 +13451,7 @@ else + # 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 13405 "configure" ++#line 13454 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13422,16 +13471,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13425: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13474: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13428: \$? = $ac_status" >&5 ++ echo "$as_me:13477: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13431: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13480: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13434: \$? = $ac_status" >&5 ++ echo "$as_me:13483: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13441,16 +13490,16 @@ fi + rm -f "conftest.$ac_objext" + CC="$CC -n32" + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13444: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13493: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13447: \$? = $ac_status" >&5 ++ echo "$as_me:13496: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13450: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13499: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13453: \$? = $ac_status" >&5 ++ echo "$as_me:13502: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break + else +@@ -13464,13 +13513,13 @@ rm -f "conftest.$ac_objext" + rm -f "conftest.$ac_ext" + fi + fi +-echo "$as_me:13467: result: $ac_cv_sys_largefile_CC" >&5 ++echo "$as_me:13516: 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:13473: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ echo "$as_me:13522: 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 +@@ -13478,7 +13527,7 @@ else + while :; do + ac_cv_sys_file_offset_bits=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13481 "configure" ++#line 13530 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13498,16 +13547,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13501: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13550: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13504: \$? = $ac_status" >&5 ++ echo "$as_me:13553: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13507: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13556: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13510: \$? = $ac_status" >&5 ++ echo "$as_me:13559: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13516,7 +13565,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13519 "configure" ++#line 13568 "configure" + #include "confdefs.h" + #define _FILE_OFFSET_BITS 64 + #include +@@ -13537,16 +13586,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13540: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13589: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13543: \$? = $ac_status" >&5 ++ echo "$as_me:13592: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13546: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13595: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13549: \$? = $ac_status" >&5 ++ echo "$as_me:13598: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_file_offset_bits=64; break + else +@@ -13557,7 +13606,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13560: result: $ac_cv_sys_file_offset_bits" >&5 ++echo "$as_me:13609: 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 + +@@ -13567,7 +13616,7 @@ EOF + + fi + rm -rf conftest* +- echo "$as_me:13570: checking for _LARGE_FILES value needed for large files" >&5 ++ echo "$as_me:13619: 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 +@@ -13575,7 +13624,7 @@ else + while :; do + ac_cv_sys_large_files=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13578 "configure" ++#line 13627 "configure" + #include "confdefs.h" + #include + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -13595,16 +13644,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13598: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13647: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13601: \$? = $ac_status" >&5 ++ echo "$as_me:13650: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13604: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13653: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13607: \$? = $ac_status" >&5 ++ echo "$as_me:13656: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13613,7 +13662,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13616 "configure" ++#line 13665 "configure" + #include "confdefs.h" + #define _LARGE_FILES 1 + #include +@@ -13634,16 +13683,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13637: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13686: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13640: \$? = $ac_status" >&5 ++ echo "$as_me:13689: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13643: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13692: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13646: \$? = $ac_status" >&5 ++ echo "$as_me:13695: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_large_files=1; break + else +@@ -13654,7 +13703,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13657: result: $ac_cv_sys_large_files" >&5 ++echo "$as_me:13706: 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 + +@@ -13667,7 +13716,7 @@ rm -rf conftest* + fi + + if test "$enable_largefile" != no ; then +- echo "$as_me:13670: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++ echo "$as_me:13719: 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 +@@ -13675,7 +13724,7 @@ else + while :; do + ac_cv_sys_largefile_source=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13678 "configure" ++#line 13727 "configure" + #include "confdefs.h" + #include + int +@@ -13687,16 +13736,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13690: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13739: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13693: \$? = $ac_status" >&5 ++ echo "$as_me:13742: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13696: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13745: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13699: \$? = $ac_status" >&5 ++ echo "$as_me:13748: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -13705,7 +13754,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13708 "configure" ++#line 13757 "configure" + #include "confdefs.h" + #define _LARGEFILE_SOURCE 1 + #include +@@ -13718,16 +13767,16 @@ return !fseeko; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13721: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13770: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13724: \$? = $ac_status" >&5 ++ echo "$as_me:13773: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13727: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13776: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13730: \$? = $ac_status" >&5 ++ echo "$as_me:13779: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_source=1; break + else +@@ -13738,7 +13787,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + break + done + fi +-echo "$as_me:13741: result: $ac_cv_sys_largefile_source" >&5 ++echo "$as_me:13790: 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 + +@@ -13752,13 +13801,13 @@ 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:13755: checking for fseeko" >&5 ++echo "$as_me:13804: 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 13761 "configure" ++#line 13810 "configure" + #include "confdefs.h" + #include + int +@@ -13770,16 +13819,16 @@ return fseeko && fseeko (stdin, 0, 0); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:13773: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:13822: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:13776: \$? = $ac_status" >&5 ++ echo "$as_me:13825: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:13779: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13828: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13782: \$? = $ac_status" >&5 ++ echo "$as_me:13831: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fseeko=yes + else +@@ -13789,7 +13838,7 @@ ac_cv_func_fseeko=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:13792: result: $ac_cv_func_fseeko" >&5 ++echo "$as_me:13841: result: $ac_cv_func_fseeko" >&5 + echo "${ECHO_T}$ac_cv_func_fseeko" >&6 + if test $ac_cv_func_fseeko = yes; then + +@@ -13828,14 +13877,14 @@ fi + + fi + +- echo "$as_me:13831: checking whether to use struct dirent64" >&5 ++ echo "$as_me:13880: 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 13838 "configure" ++#line 13887 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types" +@@ -13858,16 +13907,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13861: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13910: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13864: \$? = $ac_status" >&5 ++ echo "$as_me:13913: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13867: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13916: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13870: \$? = $ac_status" >&5 ++ echo "$as_me:13919: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_struct_dirent64=yes + else +@@ -13878,7 +13927,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13881: result: $cf_cv_struct_dirent64" >&5 ++echo "$as_me:13930: result: $cf_cv_struct_dirent64" >&5 + echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 + test "$cf_cv_struct_dirent64" = yes && + cat >>confdefs.h <<\EOF +@@ -13888,7 +13937,7 @@ EOF + fi + + ### use option --disable-tparm-varargs to make tparm() conform to X/Open +-echo "$as_me:13891: checking if you want tparm not to use X/Open fixed-parameter list" >&5 ++echo "$as_me:13940: checking if you want tparm not to use X/Open fixed-parameter list" >&5 + echo $ECHO_N "checking if you want tparm not to use X/Open fixed-parameter list... $ECHO_C" >&6 + + # Check whether --enable-tparm-varargs or --disable-tparm-varargs was given. +@@ -13898,14 +13947,14 @@ if test "${enable_tparm_varargs+set}" = set; then + else + with_tparm_varargs=yes + fi; +-echo "$as_me:13901: result: $with_tparm_varargs" >&5 ++echo "$as_me:13950: result: $with_tparm_varargs" >&5 + echo "${ECHO_T}$with_tparm_varargs" >&6 + NCURSES_TPARM_VARARGS=0 + test "x$with_tparm_varargs" = xyes && NCURSES_TPARM_VARARGS=1 + + ### use option --disable-tic-depends to make libtic not explicitly depend on ncurses/ncursesw + if test "$with_ticlib" != no ; then +-echo "$as_me:13908: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 ++echo "$as_me:13957: checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library" >&5 + echo $ECHO_N "checking if you want tic library to use explicit dependency on ncurses$LIB_SUFFIX library... $ECHO_C" >&6 + + # Check whether --enable-tic-depends or --disable-tic-depends was given. +@@ -13915,14 +13964,14 @@ if test "${enable_tic_depends+set}" = set; then + else + with_tic_depends=yes + fi; +-echo "$as_me:13918: result: $with_tic_depends" >&5 ++echo "$as_me:13967: result: $with_tic_depends" >&5 + echo "${ECHO_T}$with_tic_depends" >&6 + else + with_tic_depends=no + fi + + ### use option --enable-wattr-macros to enable wattr* macros in curses.h +-echo "$as_me:13925: checking if you want to enable wattr* macros" >&5 ++echo "$as_me:13974: checking if you want to enable wattr* macros" >&5 + echo $ECHO_N "checking if you want to enable wattr* macros... $ECHO_C" >&6 + + # Check whether --enable-wattr-macros or --disable-wattr-macros was given. +@@ -13934,15 +13983,15 @@ else + fi; + if [ "x$with_wattr_macros" != xyes ]; then + NCURSES_WATTR_MACROS=0 +- echo "$as_me:13937: result: no" >&5 ++ echo "$as_me:13986: result: no" >&5 + echo "${ECHO_T}no" >&6 + else + NCURSES_WATTR_MACROS=1 +- echo "$as_me:13941: result: yes" >&5 ++ echo "$as_me:13990: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + fi + +-echo "$as_me:13945: checking for X11 rgb file" >&5 ++echo "$as_me:13994: checking for X11 rgb file" >&5 + echo $ECHO_N "checking for X11 rgb file... $ECHO_C" >&6 + + # Check whether --with-x11-rgb or --without-x11-rgb was given. +@@ -14006,7 +14055,7 @@ case ".$cf_path" in + cf_path=`echo "$cf_path" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:14009: error: expected a pathname, not \"$cf_path\"" >&5 ++ { { echo "$as_me:14058: error: expected a pathname, not \"$cf_path\"" >&5 + echo "$as_me: error: expected a pathname, not \"$cf_path\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -14014,7 +14063,7 @@ esac + + fi + +-echo "$as_me:14017: result: $RGB_PATH" >&5 ++echo "$as_me:14066: result: $RGB_PATH" >&5 + echo "${ECHO_T}$RGB_PATH" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:14080: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + + # Check whether --with-bool or --without-bool was given. +@@ -14038,10 +14087,10 @@ if test "${with_bool+set}" = set; then + else + NCURSES_BOOL=auto + fi; +-echo "$as_me:14041: result: $NCURSES_BOOL" >&5 ++echo "$as_me:14090: result: $NCURSES_BOOL" >&5 + echo "${ECHO_T}$NCURSES_BOOL" >&6 + +-echo "$as_me:14044: checking for alternate terminal capabilities file" >&5 ++echo "$as_me:14093: checking for alternate terminal capabilities file" >&5 + echo $ECHO_N "checking for alternate terminal capabilities file... $ECHO_C" >&6 + + # Check whether --with-caps or --without-caps was given. +@@ -14053,15 +14102,15 @@ else + fi; + if test ! -f "${srcdir}/include/${TERMINFO_CAPS}" + then +- { echo "$as_me:14056: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&5 ++ { echo "$as_me:14105: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&5 + echo "$as_me: WARNING: file not found: \"${srcdir}/include/${TERMINFO_CAPS}\"" >&2;} + TERMINFO_CAPS=Caps + fi +-echo "$as_me:14060: result: $TERMINFO_CAPS" >&5 ++echo "$as_me:14109: result: $TERMINFO_CAPS" >&5 + echo "${ECHO_T}$TERMINFO_CAPS" >&6 + + ### use option --with-chtype to override chtype's type +-echo "$as_me:14064: checking for type of chtype" >&5 ++echo "$as_me:14113: checking for type of chtype" >&5 + echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 + + # Check whether --with-chtype or --without-chtype was given. +@@ -14071,11 +14120,11 @@ if test "${with_chtype+set}" = set; then + else + NCURSES_CHTYPE=$cf_dft_chtype + fi; +-echo "$as_me:14074: result: $NCURSES_CHTYPE" >&5 ++echo "$as_me:14123: result: $NCURSES_CHTYPE" >&5 + echo "${ECHO_T}$NCURSES_CHTYPE" >&6 + + ### use option --with-ospeed to override ospeed's type +-echo "$as_me:14078: checking for type of ospeed" >&5 ++echo "$as_me:14127: checking for type of ospeed" >&5 + echo $ECHO_N "checking for type of ospeed... $ECHO_C" >&6 + + # Check whether --with-ospeed or --without-ospeed was given. +@@ -14085,11 +14134,11 @@ if test "${with_ospeed+set}" = set; then + else + NCURSES_OSPEED=short + fi; +-echo "$as_me:14088: result: $NCURSES_OSPEED" >&5 ++echo "$as_me:14137: result: $NCURSES_OSPEED" >&5 + echo "${ECHO_T}$NCURSES_OSPEED" >&6 + + ### use option --with-mmask-t to override mmask_t's type +-echo "$as_me:14092: checking for type of mmask_t" >&5 ++echo "$as_me:14141: checking for type of mmask_t" >&5 + echo $ECHO_N "checking for type of mmask_t... $ECHO_C" >&6 + + # Check whether --with-mmask-t or --without-mmask-t was given. +@@ -14099,11 +14148,11 @@ if test "${with_mmask_t+set}" = set; then + else + NCURSES_MMASK_T=$cf_dft_mmask_t + fi; +-echo "$as_me:14102: result: $NCURSES_MMASK_T" >&5 ++echo "$as_me:14151: result: $NCURSES_MMASK_T" >&5 + echo "${ECHO_T}$NCURSES_MMASK_T" >&6 + + ### use option --with-ccharw-max to override CCHARW_MAX size +-echo "$as_me:14106: checking for size CCHARW_MAX" >&5 ++echo "$as_me:14155: checking for size CCHARW_MAX" >&5 + echo $ECHO_N "checking for size CCHARW_MAX... $ECHO_C" >&6 + + # Check whether --with-ccharw-max or --without-ccharw-max was given. +@@ -14113,16 +14162,16 @@ if test "${with_ccharw_max+set}" = set; then + else + NCURSES_CCHARW_MAX=$cf_dft_ccharw_max + fi; +-echo "$as_me:14116: result: $NCURSES_CCHARW_MAX" >&5 ++echo "$as_me:14165: result: $NCURSES_CCHARW_MAX" >&5 + echo "${ECHO_T}$NCURSES_CCHARW_MAX" >&6 + +-echo "$as_me:14119: checking for ANSI C header files" >&5 ++echo "$as_me:14168: 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 14125 "configure" ++#line 14174 "configure" + #include "confdefs.h" + #include + #include +@@ -14130,13 +14179,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:14133: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:14182: \"$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:14139: \$? = $ac_status" >&5 ++ echo "$as_me:14188: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -14158,7 +14207,7 @@ 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 14161 "configure" ++#line 14210 "configure" + #include "confdefs.h" + #include + +@@ -14176,7 +14225,7 @@ 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 14179 "configure" ++#line 14228 "configure" + #include "confdefs.h" + #include + +@@ -14197,7 +14246,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14200 "configure" ++#line 14249 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -14223,15 +14272,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:14226: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14275: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14229: \$? = $ac_status" >&5 ++ echo "$as_me:14278: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:14231: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14280: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14234: \$? = $ac_status" >&5 ++ echo "$as_me:14283: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -14244,7 +14293,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:14247: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:14296: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -14260,28 +14309,28 @@ 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:14263: checking for $ac_header" >&5 ++echo "$as_me:14312: 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 14269 "configure" ++#line 14318 "configure" + #include "confdefs.h" + $ac_includes_default + #include <$ac_header> + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14275: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14324: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14278: \$? = $ac_status" >&5 ++ echo "$as_me:14327: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14281: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14330: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14284: \$? = $ac_status" >&5 ++ echo "$as_me:14333: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -14291,7 +14340,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14294: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:14343: 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 <&5 ++echo "$as_me:14353: checking for signed char" >&5 + echo $ECHO_N "checking for signed char... $ECHO_C" >&6 + if test "${ac_cv_type_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14310 "configure" ++#line 14359 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14322,16 +14371,16 @@ if (sizeof (signed char)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14325: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14374: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14328: \$? = $ac_status" >&5 ++ echo "$as_me:14377: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14331: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14380: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14334: \$? = $ac_status" >&5 ++ echo "$as_me:14383: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_signed_char=yes + else +@@ -14341,10 +14390,10 @@ ac_cv_type_signed_char=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14344: result: $ac_cv_type_signed_char" >&5 ++echo "$as_me:14393: result: $ac_cv_type_signed_char" >&5 + echo "${ECHO_T}$ac_cv_type_signed_char" >&6 + +-echo "$as_me:14347: checking size of signed char" >&5 ++echo "$as_me:14396: checking size of signed char" >&5 + echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + if test "${ac_cv_sizeof_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -14353,7 +14402,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14356 "configure" ++#line 14405 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14365,21 +14414,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14368: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14417: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14371: \$? = $ac_status" >&5 ++ echo "$as_me:14420: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14374: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14423: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14377: \$? = $ac_status" >&5 ++ echo "$as_me:14426: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14382 "configure" ++#line 14431 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14391,16 +14440,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14394: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14443: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14397: \$? = $ac_status" >&5 ++ echo "$as_me:14446: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14400: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14449: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14403: \$? = $ac_status" >&5 ++ echo "$as_me:14452: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -14416,7 +14465,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14419 "configure" ++#line 14468 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14428,16 +14477,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14431: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14480: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14434: \$? = $ac_status" >&5 ++ echo "$as_me:14483: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14437: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14486: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14440: \$? = $ac_status" >&5 ++ echo "$as_me:14489: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -14453,7 +14502,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14456 "configure" ++#line 14505 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14465,16 +14514,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14468: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14517: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14471: \$? = $ac_status" >&5 ++ echo "$as_me:14520: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14474: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14523: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14477: \$? = $ac_status" >&5 ++ echo "$as_me:14526: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -14487,12 +14536,12 @@ done + ac_cv_sizeof_signed_char=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:14490: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:14539: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14495 "configure" ++#line 14544 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14508,15 +14557,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:14511: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14560: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14514: \$? = $ac_status" >&5 ++ echo "$as_me:14563: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:14516: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14565: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14519: \$? = $ac_status" >&5 ++ echo "$as_me:14568: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_signed_char=`cat conftest.val` + else +@@ -14532,7 +14581,7 @@ else + ac_cv_sizeof_signed_char=0 + fi + fi +-echo "$as_me:14535: result: $ac_cv_sizeof_signed_char" >&5 ++echo "$as_me:14584: result: $ac_cv_sizeof_signed_char" >&5 + echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:14595: checking if you want to use signed Boolean array in term.h" >&5 + echo $ECHO_N "checking if you want to use signed Boolean array in term.h... $ECHO_C" >&6 + + # Check whether --enable-signed-char or --disable-signed-char was given. +@@ -14553,12 +14602,12 @@ if test "${enable_signed_char+set}" = set; then + else + with_signed_char=$cf_dft_signed_char + fi; +-echo "$as_me:14556: result: $with_signed_char" >&5 ++echo "$as_me:14605: result: $with_signed_char" >&5 + echo "${ECHO_T}$with_signed_char" >&6 + test "x$with_signed_char" != xyes && NCURSES_SBOOL="char" + + ### use option --with-tparm-arg to override tparm's argument type +-echo "$as_me:14561: checking for type of tparm args" >&5 ++echo "$as_me:14610: checking for type of tparm args" >&5 + echo $ECHO_N "checking for type of tparm args... $ECHO_C" >&6 + + # Check whether --with-tparm-arg or --without-tparm-arg was given. +@@ -14568,11 +14617,11 @@ if test "${with_tparm_arg+set}" = set; then + else + NCURSES_TPARM_ARG=$cf_dft_tparm_arg + fi; +-echo "$as_me:14571: result: $NCURSES_TPARM_ARG" >&5 ++echo "$as_me:14620: result: $NCURSES_TPARM_ARG" >&5 + echo "${ECHO_T}$NCURSES_TPARM_ARG" >&6 + + ### Enable compiling-in rcs id's +-echo "$as_me:14575: checking if RCS identifiers should be compiled-in" >&5 ++echo "$as_me:14624: checking if RCS identifiers should be compiled-in" >&5 + echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 + + # Check whether --with-rcs-ids or --without-rcs-ids was given. +@@ -14582,7 +14631,7 @@ if test "${with_rcs_ids+set}" = set; then + else + with_rcs_ids=no + fi; +-echo "$as_me:14585: result: $with_rcs_ids" >&5 ++echo "$as_me:14634: result: $with_rcs_ids" >&5 + echo "${ECHO_T}$with_rcs_ids" >&6 + test "x$with_rcs_ids" = xyes && + cat >>confdefs.h <<\EOF +@@ -14591,7 +14640,7 @@ EOF + + ############################################################################### + +-echo "$as_me:14594: checking format of man-pages" >&5 ++echo "$as_me:14643: checking format of man-pages" >&5 + echo $ECHO_N "checking format of man-pages... $ECHO_C" >&6 + + # Check whether --with-manpage-format or --without-manpage-format was given. +@@ -14680,14 +14729,14 @@ case "$MANPAGE_FORMAT" in + ;; + esac + +-echo "$as_me:14683: result: $MANPAGE_FORMAT" >&5 ++echo "$as_me:14732: result: $MANPAGE_FORMAT" >&5 + echo "${ECHO_T}$MANPAGE_FORMAT" >&6 + if test -n "$cf_unknown" ; then +- { echo "$as_me:14686: WARNING: Unexpected manpage-format $cf_unknown" >&5 ++ { echo "$as_me:14735: WARNING: Unexpected manpage-format $cf_unknown" >&5 + echo "$as_me: WARNING: Unexpected manpage-format $cf_unknown" >&2;} + fi + +-echo "$as_me:14690: checking for manpage renaming" >&5 ++echo "$as_me:14739: checking for manpage renaming" >&5 + echo $ECHO_N "checking for manpage renaming... $ECHO_C" >&6 + + # Check whether --with-manpage-renames or --without-manpage-renames was given. +@@ -14715,7 +14764,7 @@ if test "$MANPAGE_RENAMES" != no ; then + if test -f "$srcdir/man/$MANPAGE_RENAMES" ; then + MANPAGE_RENAMES=`cd "$srcdir/man" && pwd`/$MANPAGE_RENAMES + elif test ! -f "$MANPAGE_RENAMES" ; then +- { { echo "$as_me:14718: error: not a filename: $MANPAGE_RENAMES" >&5 ++ { { echo "$as_me:14767: error: not a filename: $MANPAGE_RENAMES" >&5 + echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -14729,10 +14778,10 @@ echo "$as_me: error: not a filename: $MANPAGE_RENAMES" >&2;} + fi + fi + +-echo "$as_me:14732: result: $MANPAGE_RENAMES" >&5 ++echo "$as_me:14781: result: $MANPAGE_RENAMES" >&5 + echo "${ECHO_T}$MANPAGE_RENAMES" >&6 + +-echo "$as_me:14735: checking if manpage aliases will be installed" >&5 ++echo "$as_me:14784: checking if manpage aliases will be installed" >&5 + echo $ECHO_N "checking if manpage aliases will be installed... $ECHO_C" >&6 + + # Check whether --with-manpage-aliases or --without-manpage-aliases was given. +@@ -14743,7 +14792,7 @@ else + MANPAGE_ALIASES=yes + fi; + +-echo "$as_me:14746: result: $MANPAGE_ALIASES" >&5 ++echo "$as_me:14795: result: $MANPAGE_ALIASES" >&5 + echo "${ECHO_T}$MANPAGE_ALIASES" >&6 + + case "x$LN_S" in +@@ -14757,7 +14806,7 @@ esac + + MANPAGE_SYMLINKS=no + if test "$MANPAGE_ALIASES" = yes ; then +-echo "$as_me:14760: checking if manpage symlinks should be used" >&5 ++echo "$as_me:14809: checking if manpage symlinks should be used" >&5 + echo $ECHO_N "checking if manpage symlinks should be used... $ECHO_C" >&6 + + # Check whether --with-manpage-symlinks or --without-manpage-symlinks was given. +@@ -14770,17 +14819,17 @@ fi; + + if test "$$cf_use_symlinks" = no; then + if test "$MANPAGE_SYMLINKS" = yes ; then +- { echo "$as_me:14773: WARNING: cannot make symlinks" >&5 ++ { echo "$as_me:14822: WARNING: cannot make symlinks" >&5 + echo "$as_me: WARNING: cannot make symlinks" >&2;} + MANPAGE_SYMLINKS=no + fi + fi + +-echo "$as_me:14779: result: $MANPAGE_SYMLINKS" >&5 ++echo "$as_me:14828: result: $MANPAGE_SYMLINKS" >&5 + echo "${ECHO_T}$MANPAGE_SYMLINKS" >&6 + fi + +-echo "$as_me:14783: checking for manpage tbl" >&5 ++echo "$as_me:14832: checking for manpage tbl" >&5 + echo $ECHO_N "checking for manpage tbl... $ECHO_C" >&6 + + # Check whether --with-manpage-tbl or --without-manpage-tbl was given. +@@ -14791,7 +14840,7 @@ else + MANPAGE_TBL=no + fi; + +-echo "$as_me:14794: result: $MANPAGE_TBL" >&5 ++echo "$as_me:14843: result: $MANPAGE_TBL" >&5 + echo "${ECHO_T}$MANPAGE_TBL" >&6 + + if test "$prefix" = "NONE" ; then +@@ -15125,7 +15174,7 @@ chmod 755 "$cf_edit_man" + ############################################################################### + + ### Note that some functions (such as const) are normally disabled anyway. +-echo "$as_me:15128: checking if you want to build with function extensions" >&5 ++echo "$as_me:15177: checking if you want to build with function extensions" >&5 + echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 + + # Check whether --enable-ext-funcs or --disable-ext-funcs was given. +@@ -15135,7 +15184,7 @@ if test "${enable_ext_funcs+set}" = set; then + else + with_ext_funcs=yes + fi; +-echo "$as_me:15138: result: $with_ext_funcs" >&5 ++echo "$as_me:15187: result: $with_ext_funcs" >&5 + echo "${ECHO_T}$with_ext_funcs" >&6 + if test "x$with_ext_funcs" = xyes ; then + NCURSES_EXT_FUNCS=1 +@@ -15195,7 +15244,7 @@ else + GENERATED_EXT_FUNCS= + fi + +-echo "$as_me:15198: checking if you want to build with SCREEN extensions" >&5 ++echo "$as_me:15247: checking if you want to build with SCREEN extensions" >&5 + echo $ECHO_N "checking if you want to build with SCREEN extensions... $ECHO_C" >&6 + + # Check whether --enable-sp-funcs or --disable-sp-funcs was given. +@@ -15205,7 +15254,7 @@ if test "${enable_sp_funcs+set}" = set; then + else + with_sp_funcs=$cf_dft_ext_spfuncs + fi; +-echo "$as_me:15208: result: $with_sp_funcs" >&5 ++echo "$as_me:15257: result: $with_sp_funcs" >&5 + echo "${ECHO_T}$with_sp_funcs" >&6 + if test "x$with_sp_funcs" = xyes ; then + NCURSES_SP_FUNCS=1 +@@ -15224,7 +15273,7 @@ else + GENERATED_SP_FUNCS= + fi + +-echo "$as_me:15227: checking if you want to build with terminal-driver" >&5 ++echo "$as_me:15276: checking if you want to build with terminal-driver" >&5 + echo $ECHO_N "checking if you want to build with terminal-driver... $ECHO_C" >&6 + + # Check whether --enable-term-driver or --disable-term-driver was given. +@@ -15234,7 +15283,7 @@ if test "${enable_term_driver+set}" = set; then + else + with_term_driver=no + fi; +-echo "$as_me:15237: result: $with_term_driver" >&5 ++echo "$as_me:15286: result: $with_term_driver" >&5 + echo "${ECHO_T}$with_term_driver" >&6 + if test "x$with_term_driver" = xyes ; then + +@@ -15243,19 +15292,19 @@ cat >>confdefs.h <<\EOF + EOF + + if test "x$with_termlib" != xno ; then +- { { echo "$as_me:15246: error: The term-driver option conflicts with the termlib option" >&5 ++ { { echo "$as_me:15295: error: The term-driver option conflicts with the termlib option" >&5 + echo "$as_me: error: The term-driver option conflicts with the termlib option" >&2;} + { (exit 1); exit 1; }; } + fi + if test "x$with_sp_funcs" != xyes ; then +- { { echo "$as_me:15251: error: The term-driver option relies upon sp-funcs" >&5 ++ { { echo "$as_me:15300: error: The term-driver option relies upon sp-funcs" >&5 + echo "$as_me: error: The term-driver option relies upon sp-funcs" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + ### use option --enable-const to turn on use of const beyond that in XSI. +-echo "$as_me:15258: checking for extended use of const keyword" >&5 ++echo "$as_me:15307: checking for extended use of const keyword" >&5 + echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 + + # Check whether --enable-const or --disable-const was given. +@@ -15265,7 +15314,7 @@ if test "${enable_const+set}" = set; then + else + with_ext_const=$cf_dft_ext_const + fi; +-echo "$as_me:15268: result: $with_ext_const" >&5 ++echo "$as_me:15317: result: $with_ext_const" >&5 + echo "${ECHO_T}$with_ext_const" >&6 + NCURSES_CONST='/*nothing*/' + if test "x$with_ext_const" = xyes ; then +@@ -15273,7 +15322,7 @@ if test "x$with_ext_const" = xyes ; then + fi + + ### use option --enable-ext-colors to turn on use of colors beyond 16. +-echo "$as_me:15276: checking if you want to use extended colors" >&5 ++echo "$as_me:15325: checking if you want to use extended colors" >&5 + echo $ECHO_N "checking if you want to use extended colors... $ECHO_C" >&6 + + # Check whether --enable-ext-colors or --disable-ext-colors was given. +@@ -15283,12 +15332,12 @@ if test "${enable_ext_colors+set}" = set; then + else + with_ext_colors=$cf_dft_ext_colors + fi; +-echo "$as_me:15286: result: $with_ext_colors" >&5 ++echo "$as_me:15335: result: $with_ext_colors" >&5 + echo "${ECHO_T}$with_ext_colors" >&6 + NCURSES_EXT_COLORS=0 + if test "x$with_ext_colors" = xyes ; then + if test "x$with_widec" != xyes ; then +- { echo "$as_me:15291: WARNING: This option applies only to wide-character library" >&5 ++ { echo "$as_me:15340: WARNING: This option applies only to wide-character library" >&5 + echo "$as_me: WARNING: This option applies only to wide-character library" >&2;} + else + # cannot be ABI 5 since it changes sizeof(cchar_t) +@@ -15298,7 +15347,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15301: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15350: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15326,7 +15375,7 @@ EOF + fi + + ### use option --enable-ext-mouse to modify coding to support 5-button mice +-echo "$as_me:15329: checking if you want to use extended mouse encoding" >&5 ++echo "$as_me:15378: checking if you want to use extended mouse encoding" >&5 + echo $ECHO_N "checking if you want to use extended mouse encoding... $ECHO_C" >&6 + + # Check whether --enable-ext-mouse or --disable-ext-mouse was given. +@@ -15336,7 +15385,7 @@ if test "${enable_ext_mouse+set}" = set; then + else + with_ext_mouse=$cf_dft_ext_mouse + fi; +-echo "$as_me:15339: result: $with_ext_mouse" >&5 ++echo "$as_me:15388: result: $with_ext_mouse" >&5 + echo "${ECHO_T}$with_ext_mouse" >&6 + if test "x$with_ext_mouse" = xyes ; then + +@@ -15345,7 +15394,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15348: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15397: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15366,7 +15415,7 @@ case $cf_cv_abi_version in + esac + + ### use option --enable-ext-putwin to turn on extended screendumps +-echo "$as_me:15369: checking if you want to use extended putwin/screendump" >&5 ++echo "$as_me:15418: checking if you want to use extended putwin/screendump" >&5 + echo $ECHO_N "checking if you want to use extended putwin/screendump... $ECHO_C" >&6 + + # Check whether --enable-ext-putwin or --disable-ext-putwin was given. +@@ -15376,7 +15425,7 @@ if test "${enable_ext_putwin+set}" = set; then + else + with_ext_putwin=$cf_dft_ext_putwin + fi; +-echo "$as_me:15379: result: $with_ext_putwin" >&5 ++echo "$as_me:15428: result: $with_ext_putwin" >&5 + echo "${ECHO_T}$with_ext_putwin" >&6 + if test "x$with_ext_putwin" = xyes ; then + +@@ -15386,7 +15435,7 @@ EOF + + fi + +-echo "$as_me:15389: checking if you want \$NCURSES_NO_PADDING code" >&5 ++echo "$as_me:15438: checking if you want \$NCURSES_NO_PADDING code" >&5 + echo $ECHO_N "checking if you want \$NCURSES_NO_PADDING code... $ECHO_C" >&6 + + # Check whether --enable-no-padding or --disable-no-padding was given. +@@ -15396,7 +15445,7 @@ if test "${enable_no_padding+set}" = set; then + else + with_no_padding=$with_ext_funcs + fi; +-echo "$as_me:15399: result: $with_no_padding" >&5 ++echo "$as_me:15448: result: $with_no_padding" >&5 + echo "${ECHO_T}$with_no_padding" >&6 + test "x$with_no_padding" = xyes && + cat >>confdefs.h <<\EOF +@@ -15404,7 +15453,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-sigwinch to turn on use of SIGWINCH logic +-echo "$as_me:15407: checking if you want SIGWINCH handler" >&5 ++echo "$as_me:15456: checking if you want SIGWINCH handler" >&5 + echo $ECHO_N "checking if you want SIGWINCH handler... $ECHO_C" >&6 + + # Check whether --enable-sigwinch or --disable-sigwinch was given. +@@ -15414,7 +15463,7 @@ if test "${enable_sigwinch+set}" = set; then + else + with_sigwinch=$with_ext_funcs + fi; +-echo "$as_me:15417: result: $with_sigwinch" >&5 ++echo "$as_me:15466: result: $with_sigwinch" >&5 + echo "${ECHO_T}$with_sigwinch" >&6 + test "x$with_sigwinch" = xyes && + cat >>confdefs.h <<\EOF +@@ -15422,7 +15471,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-tcap-names to allow user to define new capabilities +-echo "$as_me:15425: checking if you want user-definable terminal capabilities like termcap" >&5 ++echo "$as_me:15474: checking if you want user-definable terminal capabilities like termcap" >&5 + echo $ECHO_N "checking if you want user-definable terminal capabilities like termcap... $ECHO_C" >&6 + + # Check whether --enable-tcap-names or --disable-tcap-names was given. +@@ -15432,14 +15481,14 @@ if test "${enable_tcap_names+set}" = set; then + else + with_tcap_names=$with_ext_funcs + fi; +-echo "$as_me:15435: result: $with_tcap_names" >&5 ++echo "$as_me:15484: result: $with_tcap_names" >&5 + echo "${ECHO_T}$with_tcap_names" >&6 + NCURSES_XNAMES=0 + test "x$with_tcap_names" = xyes && NCURSES_XNAMES=1 + + ############################################################################## + +-echo "$as_me:15442: checking if you want to link with the pthread library" >&5 ++echo "$as_me:15491: checking if you want to link with the pthread library" >&5 + echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 + + # Check whether --with-pthread or --without-pthread was given. +@@ -15449,27 +15498,27 @@ if test "${with_pthread+set}" = set; then + else + with_pthread=no + fi; +-echo "$as_me:15452: result: $with_pthread" >&5 ++echo "$as_me:15501: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + + if test "$with_pthread" != no ; then +- echo "$as_me:15456: checking for pthread.h" >&5 ++ echo "$as_me:15505: checking for pthread.h" >&5 + echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 + if test "${ac_cv_header_pthread_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15462 "configure" ++#line 15511 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:15466: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:15515: \"$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:15472: \$? = $ac_status" >&5 ++ echo "$as_me:15521: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -15488,7 +15537,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:15491: result: $ac_cv_header_pthread_h" >&5 ++echo "$as_me:15540: result: $ac_cv_header_pthread_h" >&5 + echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 + if test "$ac_cv_header_pthread_h" = yes; then + +@@ -15498,7 +15547,7 @@ EOF + + for cf_lib_pthread in pthread c_r + do +- echo "$as_me:15501: checking if we can link with the $cf_lib_pthread library" >&5 ++ echo "$as_me:15550: checking if we can link with the $cf_lib_pthread library" >&5 + echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 + cf_save_LIBS="$LIBS" + +@@ -15519,7 +15568,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15522 "configure" ++#line 15571 "configure" + #include "confdefs.h" + + #include +@@ -15536,16 +15585,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15539: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15588: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15542: \$? = $ac_status" >&5 ++ echo "$as_me:15591: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15545: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15594: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15548: \$? = $ac_status" >&5 ++ echo "$as_me:15597: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_pthread=yes + else +@@ -15555,7 +15604,7 @@ with_pthread=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:15558: result: $with_pthread" >&5 ++ echo "$as_me:15607: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + test "$with_pthread" = yes && break + done +@@ -15583,7 +15632,7 @@ cat >>confdefs.h <<\EOF + EOF + + else +- { { echo "$as_me:15586: error: Cannot link with pthread library" >&5 ++ { { echo "$as_me:15635: error: Cannot link with pthread library" >&5 + echo "$as_me: error: Cannot link with pthread library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -15593,13 +15642,13 @@ fi + fi + + if test "x$with_pthread" != xno; then +- echo "$as_me:15596: checking for pthread_kill" >&5 ++ echo "$as_me:15645: checking for pthread_kill" >&5 + echo $ECHO_N "checking for pthread_kill... $ECHO_C" >&6 + if test "${ac_cv_func_pthread_kill+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15602 "configure" ++#line 15651 "configure" + #include "confdefs.h" + #define pthread_kill autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -15630,16 +15679,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15633: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15682: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15636: \$? = $ac_status" >&5 ++ echo "$as_me:15685: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15639: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15688: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15642: \$? = $ac_status" >&5 ++ echo "$as_me:15691: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_pthread_kill=yes + else +@@ -15649,11 +15698,11 @@ ac_cv_func_pthread_kill=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15652: result: $ac_cv_func_pthread_kill" >&5 ++echo "$as_me:15701: result: $ac_cv_func_pthread_kill" >&5 + echo "${ECHO_T}$ac_cv_func_pthread_kill" >&6 + if test "$ac_cv_func_pthread_kill" = yes; then + +- echo "$as_me:15656: checking if you want to allow EINTR in wgetch with pthreads" >&5 ++ echo "$as_me:15705: checking if you want to allow EINTR in wgetch with pthreads" >&5 + echo $ECHO_N "checking if you want to allow EINTR in wgetch with pthreads... $ECHO_C" >&6 + + # Check whether --enable-pthreads-eintr or --disable-pthreads-eintr was given. +@@ -15663,7 +15712,7 @@ if test "${enable_pthreads_eintr+set}" = set; then + else + use_pthreads_eintr=no + fi; +- echo "$as_me:15666: result: $use_pthreads_eintr" >&5 ++ echo "$as_me:15715: result: $use_pthreads_eintr" >&5 + echo "${ECHO_T}$use_pthreads_eintr" >&6 + if test "x$use_pthreads_eintr" = xyes ; then + +@@ -15674,7 +15723,7 @@ EOF + fi + fi + +- echo "$as_me:15677: checking if you want to use weak-symbols for pthreads" >&5 ++ echo "$as_me:15726: checking if you want to use weak-symbols for pthreads" >&5 + echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 + + # Check whether --enable-weak-symbols or --disable-weak-symbols was given. +@@ -15684,18 +15733,18 @@ if test "${enable_weak_symbols+set}" = set; then + else + use_weak_symbols=no + fi; +- echo "$as_me:15687: result: $use_weak_symbols" >&5 ++ echo "$as_me:15736: result: $use_weak_symbols" >&5 + echo "${ECHO_T}$use_weak_symbols" >&6 + if test "x$use_weak_symbols" = xyes ; then + +-echo "$as_me:15691: checking if $CC supports weak symbols" >&5 ++echo "$as_me:15740: checking if $CC supports weak symbols" >&5 + echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 + if test "${cf_cv_weak_symbols+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15698 "configure" ++#line 15747 "configure" + #include "confdefs.h" + + #include +@@ -15721,16 +15770,16 @@ weak_symbol(fopen); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15724: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15773: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15727: \$? = $ac_status" >&5 ++ echo "$as_me:15776: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15730: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15779: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15733: \$? = $ac_status" >&5 ++ echo "$as_me:15782: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_weak_symbols=yes + else +@@ -15741,7 +15790,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15744: result: $cf_cv_weak_symbols" >&5 ++echo "$as_me:15793: result: $cf_cv_weak_symbols" >&5 + echo "${ECHO_T}$cf_cv_weak_symbols" >&6 + + else +@@ -15791,7 +15840,7 @@ fi + # opaque outside of that, so there is no --enable-opaque option. We can use + # this option without --with-pthreads, but this will be always set for + # pthreads. +-echo "$as_me:15794: checking if you want reentrant code" >&5 ++echo "$as_me:15843: checking if you want reentrant code" >&5 + echo $ECHO_N "checking if you want reentrant code... $ECHO_C" >&6 + + # Check whether --enable-reentrant or --disable-reentrant was given. +@@ -15801,7 +15850,7 @@ if test "${enable_reentrant+set}" = set; then + else + with_reentrant=no + fi; +-echo "$as_me:15804: result: $with_reentrant" >&5 ++echo "$as_me:15853: result: $with_reentrant" >&5 + echo "${ECHO_T}$with_reentrant" >&6 + if test "x$with_reentrant" = xyes ; then + cf_cv_enable_reentrant=1 +@@ -15889,7 +15938,7 @@ if test "${with_abi_version+set}" != set; then + (5.*) + cf_cv_rel_version=6.0 + cf_cv_abi_version=6 +- { echo "$as_me:15892: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 ++ { echo "$as_me:15941: WARNING: overriding ABI version to $cf_cv_abi_version" >&5 + echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_version" >&2;} + ;; + esac +@@ -15901,7 +15950,7 @@ else + NCURSES_SIZE_T=$cf_dft_ordinate_type + fi + +-echo "$as_me:15904: checking if you want opaque curses-library structures" >&5 ++echo "$as_me:15953: checking if you want opaque curses-library structures" >&5 + echo $ECHO_N "checking if you want opaque curses-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-curses or --disable-opaque-curses was given. +@@ -15923,16 +15972,16 @@ else + test "$cf_cv_enable_reentrant" = 1 || enable_opaque_curses=$cf_dft_opaque_curses + + fi; +-echo "$as_me:15926: result: $enable_opaque_curses" >&5 ++echo "$as_me:15975: result: $enable_opaque_curses" >&5 + echo "${ECHO_T}$enable_opaque_curses" >&6 + + test "$cf_cv_enable_reentrant" = 1 && \ + test "$enable_opaque_curses" = no && \ +-{ { echo "$as_me:15931: error: reentrant configuration requires opaque library" >&5 ++{ { echo "$as_me:15980: error: reentrant configuration requires opaque library" >&5 + echo "$as_me: error: reentrant configuration requires opaque library" >&2;} + { (exit 1); exit 1; }; } + +-echo "$as_me:15935: checking if you want opaque form-library structures" >&5 ++echo "$as_me:15984: checking if you want opaque form-library structures" >&5 + echo $ECHO_N "checking if you want opaque form-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-form or --disable-opaque-form was given. +@@ -15942,10 +15991,10 @@ if test "${enable_opaque_form+set}" = set; then + else + enable_opaque_form=no + fi; +-echo "$as_me:15945: result: $enable_opaque_form" >&5 ++echo "$as_me:15994: result: $enable_opaque_form" >&5 + echo "${ECHO_T}$enable_opaque_form" >&6 + +-echo "$as_me:15948: checking if you want opaque menu-library structures" >&5 ++echo "$as_me:15997: checking if you want opaque menu-library structures" >&5 + echo $ECHO_N "checking if you want opaque menu-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-menu or --disable-opaque-menu was given. +@@ -15955,10 +16004,10 @@ if test "${enable_opaque_menu+set}" = set; then + else + enable_opaque_menu=no + fi; +-echo "$as_me:15958: result: $enable_opaque_menu" >&5 ++echo "$as_me:16007: result: $enable_opaque_menu" >&5 + echo "${ECHO_T}$enable_opaque_menu" >&6 + +-echo "$as_me:15961: checking if you want opaque panel-library structures" >&5 ++echo "$as_me:16010: checking if you want opaque panel-library structures" >&5 + echo $ECHO_N "checking if you want opaque panel-library structures... $ECHO_C" >&6 + + # Check whether --enable-opaque-panel or --disable-opaque-panel was given. +@@ -15968,7 +16017,7 @@ if test "${enable_opaque_panel+set}" = set; then + else + enable_opaque_panel=no + fi; +-echo "$as_me:15971: result: $enable_opaque_panel" >&5 ++echo "$as_me:16020: result: $enable_opaque_panel" >&5 + echo "${ECHO_T}$enable_opaque_panel" >&6 + + NCURSES_OPAQUE=0; test "$enable_opaque_curses" = yes && NCURSES_OPAQUE=1 +@@ -15978,7 +16027,7 @@ NCURSES_OPAQUE_PANEL=0; test "$enable_opaque_panel" = yes && NCURSES_OPAQUE_PAN + + ### Allow using a different wrap-prefix + if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then +- echo "$as_me:15981: checking for prefix used to wrap public variables" >&5 ++ echo "$as_me:16030: checking for prefix used to wrap public variables" >&5 + echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 + + # Check whether --with-wrap-prefix or --without-wrap-prefix was given. +@@ -15988,7 +16037,7 @@ if test "${with_wrap_prefix+set}" = set; then + else + NCURSES_WRAP_PREFIX=_nc_ + fi; +- echo "$as_me:15991: result: $NCURSES_WRAP_PREFIX" >&5 ++ echo "$as_me:16040: result: $NCURSES_WRAP_PREFIX" >&5 + echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 + else + NCURSES_WRAP_PREFIX=_nc_ +@@ -16001,7 +16050,7 @@ EOF + ############################################################################### + # These options are relatively safe to experiment with. + +-echo "$as_me:16004: checking if you want all development code" >&5 ++echo "$as_me:16053: checking if you want all development code" >&5 + echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 + + # Check whether --with-develop or --without-develop was given. +@@ -16011,11 +16060,11 @@ if test "${with_develop+set}" = set; then + else + with_develop=no + fi; +-echo "$as_me:16014: result: $with_develop" >&5 ++echo "$as_me:16063: result: $with_develop" >&5 + echo "${ECHO_T}$with_develop" >&6 + + ### use option --enable-hard-tabs to turn on use of hard-tabs optimize +-echo "$as_me:16018: checking if you want hard-tabs code" >&5 ++echo "$as_me:16067: checking if you want hard-tabs code" >&5 + echo $ECHO_N "checking if you want hard-tabs code... $ECHO_C" >&6 + + # Check whether --enable-hard-tabs or --disable-hard-tabs was given. +@@ -16025,7 +16074,7 @@ if test "${enable_hard_tabs+set}" = set; then + else + enable_hard_tabs=$with_develop + fi; +-echo "$as_me:16028: result: $enable_hard_tabs" >&5 ++echo "$as_me:16077: result: $enable_hard_tabs" >&5 + echo "${ECHO_T}$enable_hard_tabs" >&6 + test "x$enable_hard_tabs" = xyes && + cat >>confdefs.h <<\EOF +@@ -16033,7 +16082,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-xmc-glitch to turn on use of magic-cookie optimize +-echo "$as_me:16036: checking if you want limited support for xmc" >&5 ++echo "$as_me:16085: checking if you want limited support for xmc" >&5 + echo $ECHO_N "checking if you want limited support for xmc... $ECHO_C" >&6 + + # Check whether --enable-xmc-glitch or --disable-xmc-glitch was given. +@@ -16043,7 +16092,7 @@ if test "${enable_xmc_glitch+set}" = set; then + else + enable_xmc_glitch=$with_develop + fi; +-echo "$as_me:16046: result: $enable_xmc_glitch" >&5 ++echo "$as_me:16095: result: $enable_xmc_glitch" >&5 + echo "${ECHO_T}$enable_xmc_glitch" >&6 + test "x$enable_xmc_glitch" = xyes && + cat >>confdefs.h <<\EOF +@@ -16053,7 +16102,7 @@ EOF + ############################################################################### + # These are just experimental, probably should not be in a package: + +-echo "$as_me:16056: checking if you do not want to assume colors are white-on-black" >&5 ++echo "$as_me:16105: checking if you do not want to assume colors are white-on-black" >&5 + echo $ECHO_N "checking if you do not want to assume colors are white-on-black... $ECHO_C" >&6 + + # Check whether --enable-assumed-color or --disable-assumed-color was given. +@@ -16063,7 +16112,7 @@ if test "${enable_assumed_color+set}" = set; then + else + with_assumed_color=yes + fi; +-echo "$as_me:16066: result: $with_assumed_color" >&5 ++echo "$as_me:16115: result: $with_assumed_color" >&5 + echo "${ECHO_T}$with_assumed_color" >&6 + test "x$with_assumed_color" = xyes && + cat >>confdefs.h <<\EOF +@@ -16071,7 +16120,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-hashmap to turn on use of hashmap scrolling logic +-echo "$as_me:16074: checking if you want hashmap scrolling-optimization code" >&5 ++echo "$as_me:16123: checking if you want hashmap scrolling-optimization code" >&5 + echo $ECHO_N "checking if you want hashmap scrolling-optimization code... $ECHO_C" >&6 + + # Check whether --enable-hashmap or --disable-hashmap was given. +@@ -16081,7 +16130,7 @@ if test "${enable_hashmap+set}" = set; then + else + with_hashmap=yes + fi; +-echo "$as_me:16084: result: $with_hashmap" >&5 ++echo "$as_me:16133: result: $with_hashmap" >&5 + echo "${ECHO_T}$with_hashmap" >&6 + test "x$with_hashmap" = xyes && + cat >>confdefs.h <<\EOF +@@ -16089,7 +16138,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-colorfgbg to turn on use of $COLORFGBG environment +-echo "$as_me:16092: checking if you want colorfgbg code" >&5 ++echo "$as_me:16141: checking if you want colorfgbg code" >&5 + echo $ECHO_N "checking if you want colorfgbg code... $ECHO_C" >&6 + + # Check whether --enable-colorfgbg or --disable-colorfgbg was given. +@@ -16099,7 +16148,7 @@ if test "${enable_colorfgbg+set}" = set; then + else + with_colorfgbg=no + fi; +-echo "$as_me:16102: result: $with_colorfgbg" >&5 ++echo "$as_me:16151: result: $with_colorfgbg" >&5 + echo "${ECHO_T}$with_colorfgbg" >&6 + test "x$with_colorfgbg" = xyes && + cat >>confdefs.h <<\EOF +@@ -16107,7 +16156,7 @@ cat >>confdefs.h <<\EOF + EOF + + ### use option --enable-fvisibility to turn on use of gcc-specific feature +-echo "$as_me:16110: checking if you want to use gcc -fvisibility option" >&5 ++echo "$as_me:16159: checking if you want to use gcc -fvisibility option" >&5 + echo $ECHO_N "checking if you want to use gcc -fvisibility option... $ECHO_C" >&6 + + # Check whether --enable-fvisibility or --disable-fvisibility was given. +@@ -16117,14 +16166,14 @@ if test "${enable_fvisibility+set}" = set; then + else + cf_with_fvisibility=no + fi; +-echo "$as_me:16120: result: $cf_with_fvisibility" >&5 ++echo "$as_me:16169: result: $cf_with_fvisibility" >&5 + echo "${ECHO_T}$cf_with_fvisibility" >&6 + + NCURSES_IMPEXP= + NCURSES_CXX_IMPEXP= + if test "x$cf_with_fvisibility" = xyes; then + +-echo "$as_me:16127: checking if $CC -fvisibility=hidden option works" >&5 ++echo "$as_me:16176: checking if $CC -fvisibility=hidden option works" >&5 + echo $ECHO_N "checking if $CC -fvisibility=hidden option works... $ECHO_C" >&6 + if test "${cf_cv_fvisibility_hidden+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16133,7 +16182,7 @@ else + cf_save_cflags="$CFLAGS" + CFLAGS="$CFLAGS -fvisibility=hidden" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16136 "configure" ++#line 16185 "configure" + #include "confdefs.h" + + __attribute__ ((visibility("default"))) int somefunc() {return 42;} +@@ -16149,16 +16198,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16152: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16201: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16155: \$? = $ac_status" >&5 ++ echo "$as_me:16204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16158: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16207: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16161: \$? = $ac_status" >&5 ++ echo "$as_me:16210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fvisibility_hidden=yes + else +@@ -16170,7 +16219,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + CFLAGS=$cf_save_cflags + + fi +-echo "$as_me:16173: result: $cf_cv_fvisibility_hidden" >&5 ++echo "$as_me:16222: result: $cf_cv_fvisibility_hidden" >&5 + echo "${ECHO_T}$cf_cv_fvisibility_hidden" >&6 + + if test "x$cf_cv_fvisibility_hidden" = xyes +@@ -16285,7 +16334,7 @@ ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + +-echo "$as_me:16288: checking if $CXX -fvisibility=hidden option works" >&5 ++echo "$as_me:16337: checking if $CXX -fvisibility=hidden option works" >&5 + echo $ECHO_N "checking if $CXX -fvisibility=hidden option works... $ECHO_C" >&6 + if test "${cf_cv_fvisibility_hidden2+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16294,7 +16343,7 @@ else + cf_save_cflags="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16297 "configure" ++#line 16346 "configure" + #include "confdefs.h" + + __attribute__ ((visibility("default"))) int somefunc() {return 42;} +@@ -16310,16 +16359,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16313: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16362: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16316: \$? = $ac_status" >&5 ++ echo "$as_me:16365: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16319: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16368: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16322: \$? = $ac_status" >&5 ++ echo "$as_me:16371: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fvisibility_hidden2=yes + else +@@ -16331,7 +16380,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + CXXFLAGS=$cf_save_cflags + + fi +-echo "$as_me:16334: result: $cf_cv_fvisibility_hidden2" >&5 ++echo "$as_me:16383: result: $cf_cv_fvisibility_hidden2" >&5 + echo "${ECHO_T}$cf_cv_fvisibility_hidden2" >&6 + + if test "x$cf_cv_fvisibility_hidden2" = xyes +@@ -16454,7 +16503,7 @@ ac_main_return="return" + fi + + ### use option --enable-interop to turn on use of bindings used for interop +-echo "$as_me:16457: checking if you want interop bindings" >&5 ++echo "$as_me:16506: checking if you want interop bindings" >&5 + echo $ECHO_N "checking if you want interop bindings... $ECHO_C" >&6 + + # Check whether --enable-interop or --disable-interop was given. +@@ -16464,13 +16513,13 @@ if test "${enable_interop+set}" = set; then + else + with_exp_interop=$cf_dft_interop + fi; +-echo "$as_me:16467: result: $with_exp_interop" >&5 ++echo "$as_me:16516: result: $with_exp_interop" >&5 + echo "${ECHO_T}$with_exp_interop" >&6 + + NCURSES_INTEROP_FUNCS=0 + test "x$with_exp_interop" = xyes && NCURSES_INTEROP_FUNCS=1 + +-echo "$as_me:16473: checking if you want experimental safe-sprintf code" >&5 ++echo "$as_me:16522: checking if you want experimental safe-sprintf code" >&5 + echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6 + + # Check whether --enable-safe-sprintf or --disable-safe-sprintf was given. +@@ -16480,13 +16529,13 @@ if test "${enable_safe_sprintf+set}" = set; then + else + with_safe_sprintf=no + fi; +-echo "$as_me:16483: result: $with_safe_sprintf" >&5 ++echo "$as_me:16532: result: $with_safe_sprintf" >&5 + echo "${ECHO_T}$with_safe_sprintf" >&6 + + ### use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic + # when hashmap is used scroll hints are useless + if test "$with_hashmap" = no ; then +-echo "$as_me:16489: checking if you want to experiment without scrolling-hints code" >&5 ++echo "$as_me:16538: checking if you want to experiment without scrolling-hints code" >&5 + echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6 + + # Check whether --enable-scroll-hints or --disable-scroll-hints was given. +@@ -16496,7 +16545,7 @@ if test "${enable_scroll_hints+set}" = set; then + else + with_scroll_hints=yes + fi; +-echo "$as_me:16499: result: $with_scroll_hints" >&5 ++echo "$as_me:16548: result: $with_scroll_hints" >&5 + echo "${ECHO_T}$with_scroll_hints" >&6 + test "x$with_scroll_hints" = xyes && + cat >>confdefs.h <<\EOF +@@ -16505,7 +16554,7 @@ EOF + + fi + +-echo "$as_me:16508: checking if you want wgetch-events code" >&5 ++echo "$as_me:16557: checking if you want wgetch-events code" >&5 + echo $ECHO_N "checking if you want wgetch-events code... $ECHO_C" >&6 + + # Check whether --enable-wgetch-events or --disable-wgetch-events was given. +@@ -16515,7 +16564,7 @@ if test "${enable_wgetch_events+set}" = set; then + else + with_wgetch_events=no + fi; +-echo "$as_me:16518: result: $with_wgetch_events" >&5 ++echo "$as_me:16567: result: $with_wgetch_events" >&5 + echo "${ECHO_T}$with_wgetch_events" >&6 + if test "x$with_wgetch_events" = xyes ; then + +@@ -16530,7 +16579,7 @@ fi + + case "$cf_cv_system_name" in + (*mingw32*|*mingw64*|*-msvc*) +- echo "$as_me:16533: checking if you want experimental-Windows driver" >&5 ++ echo "$as_me:16582: checking if you want experimental-Windows driver" >&5 + echo $ECHO_N "checking if you want experimental-Windows driver... $ECHO_C" >&6 + + # Check whether --enable-exp-win32 or --disable-exp-win32 was given. +@@ -16540,7 +16589,7 @@ if test "${enable_exp_win32+set}" = set; then + else + with_exp_win32=no + fi; +- echo "$as_me:16543: result: $with_exp_win32" >&5 ++ echo "$as_me:16592: result: $with_exp_win32" >&5 + echo "${ECHO_T}$with_exp_win32" >&6 + if test "x$with_exp_win32" = xyes + then +@@ -16566,7 +16615,7 @@ esac + + ### use option --disable-echo to suppress full display compiling commands + +-echo "$as_me:16569: checking if you want to see long compiling messages" >&5 ++echo "$as_me:16618: 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. +@@ -16600,7 +16649,7 @@ else + ECHO_CC='' + + fi; +-echo "$as_me:16603: result: $enableval" >&5 ++echo "$as_me:16652: result: $enableval" >&5 + echo "${ECHO_T}$enableval" >&6 + + if test "x$enable_echo" = xyes; then +@@ -16613,7 +16662,7 @@ fi + + # --disable-stripping is used for debugging + +-echo "$as_me:16616: checking if you want to install stripped executables" >&5 ++echo "$as_me:16665: checking if you want to install stripped executables" >&5 + echo $ECHO_N "checking if you want to install stripped executables... $ECHO_C" >&6 + + # Check whether --enable-stripping or --disable-stripping was given. +@@ -16630,7 +16679,7 @@ else + enable_stripping=yes + + fi; +-echo "$as_me:16633: result: $enable_stripping" >&5 ++echo "$as_me:16682: result: $enable_stripping" >&5 + echo "${ECHO_T}$enable_stripping" >&6 + + if test "$enable_stripping" = yes +@@ -16641,7 +16690,7 @@ else + fi + + : "${INSTALL:=install}" +-echo "$as_me:16644: checking if install accepts -p option" >&5 ++echo "$as_me:16693: checking if install accepts -p option" >&5 + echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6 + if test "${cf_cv_install_p+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16672,10 +16721,10 @@ else + rm -rf ./conftest* + + fi +-echo "$as_me:16675: result: $cf_cv_install_p" >&5 ++echo "$as_me:16724: result: $cf_cv_install_p" >&5 + echo "${ECHO_T}$cf_cv_install_p" >&6 + +-echo "$as_me:16678: checking if install needs to be told about ownership" >&5 ++echo "$as_me:16727: checking if install needs to be told about ownership" >&5 + echo $ECHO_N "checking if install needs to be told about ownership... $ECHO_C" >&6 + case `$ac_config_guess` in + (*minix) +@@ -16686,7 +16735,7 @@ case `$ac_config_guess` in + ;; + esac + +-echo "$as_me:16689: result: $with_install_o" >&5 ++echo "$as_me:16738: result: $with_install_o" >&5 + echo "${ECHO_T}$with_install_o" >&6 + if test "x$with_install_o" = xyes + then +@@ -16711,7 +16760,7 @@ fi + + ### use option --enable-warnings to turn on all gcc warnings + +-echo "$as_me:16714: checking if you want to use C11 _Noreturn feature" >&5 ++echo "$as_me:16763: checking if you want to use C11 _Noreturn feature" >&5 + echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 + + # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. +@@ -16728,17 +16777,17 @@ else + enable_stdnoreturn=no + + fi; +-echo "$as_me:16731: result: $enable_stdnoreturn" >&5 ++echo "$as_me:16780: result: $enable_stdnoreturn" >&5 + echo "${ECHO_T}$enable_stdnoreturn" >&6 + + if test $enable_stdnoreturn = yes; then +-echo "$as_me:16735: checking for C11 _Noreturn feature" >&5 ++echo "$as_me:16784: checking for C11 _Noreturn feature" >&5 + echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 + if test "${cf_cv_c11_noreturn+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16741 "configure" ++#line 16790 "configure" + #include "confdefs.h" + + #include +@@ -16755,16 +16804,16 @@ if (feof(stdin)) giveup() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16758: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16807: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16761: \$? = $ac_status" >&5 ++ echo "$as_me:16810: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16764: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16813: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16767: \$? = $ac_status" >&5 ++ echo "$as_me:16816: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes + else +@@ -16775,7 +16824,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:16778: result: $cf_cv_c11_noreturn" >&5 ++echo "$as_me:16827: result: $cf_cv_c11_noreturn" >&5 + echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 + else + cf_cv_c11_noreturn=no, +@@ -16831,16 +16880,16 @@ then + then + test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16834: testing repairing CFLAGS: $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16883: testing repairing CFLAGS: $CFLAGS ..." 1>&5 + + CFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16839: testing ... fixed $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16888: testing ... fixed $CFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16843: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16892: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16879,16 +16928,16 @@ then + then + test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16882: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16931: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16887: testing ... fixed $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16936: testing ... fixed $CPPFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16891: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16940: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16927,23 +16976,23 @@ then + then + test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16930: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16979: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 + + LDFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16935: testing ... fixed $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16984: testing ... fixed $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16939: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16988: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; + esac + fi + +-echo "$as_me:16946: checking if you want to turn on gcc warnings" >&5 ++echo "$as_me:16995: checking if you want to turn on gcc warnings" >&5 + echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 + + # Check whether --enable-warnings or --disable-warnings was given. +@@ -16960,7 +17009,7 @@ else + enable_warnings=no + + fi; +-echo "$as_me:16963: result: $enable_warnings" >&5 ++echo "$as_me:17012: result: $enable_warnings" >&5 + echo "${ECHO_T}$enable_warnings" >&6 + if test "$enable_warnings" = "yes" + then +@@ -16984,7 +17033,7 @@ do + done + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16987 "configure" ++#line 17036 "configure" + #include "confdefs.h" + + #include +@@ -16999,26 +17048,26 @@ String foo = malloc(1); free((void*)foo) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17002: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17051: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17005: \$? = $ac_status" >&5 ++ echo "$as_me:17054: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17008: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17057: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17011: \$? = $ac_status" >&5 ++ echo "$as_me:17060: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + +-echo "$as_me:17014: checking for X11/Xt const-feature" >&5 ++echo "$as_me:17063: checking for X11/Xt const-feature" >&5 + echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 + if test "${cf_cv_const_x_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17021 "configure" ++#line 17070 "configure" + #include "confdefs.h" + + #define _CONST_X_STRING /* X11R7.8 (perhaps) */ +@@ -17035,16 +17084,16 @@ String foo = malloc(1); *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17038: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17087: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17041: \$? = $ac_status" >&5 ++ echo "$as_me:17090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17044: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17093: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17047: \$? = $ac_status" >&5 ++ echo "$as_me:17096: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_const_x_string=no +@@ -17059,7 +17108,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:17062: result: $cf_cv_const_x_string" >&5 ++echo "$as_me:17111: result: $cf_cv_const_x_string" >&5 + echo "${ECHO_T}$cf_cv_const_x_string" >&6 + + LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +@@ -17088,7 +17137,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + cat > "conftest.$ac_ext" <&5 ++ { echo "$as_me:17156: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" +@@ -17120,12 +17169,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:17123: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17172: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17126: \$? = $ac_status" >&5 ++ echo "$as_me:17175: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17128: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17177: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi +@@ -17133,7 +17182,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + CFLAGS="$cf_save_CFLAGS" + elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" + then +- { echo "$as_me:17136: checking for $CC warning options..." >&5 ++ { echo "$as_me:17185: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + cf_warn_CONST="" +@@ -17156,12 +17205,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:17159: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17208: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17162: \$? = $ac_status" >&5 ++ echo "$as_me:17211: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17164: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17213: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + case "$cf_opt" in + (Winline) +@@ -17169,7 +17218,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + ([34].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:17172: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:17221: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -17179,7 +17228,7 @@ echo "${as_me:-configure}:17172: testing feature is broken in gcc $GCC_VERSION . + ([12].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:17182: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:17231: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -17212,10 +17261,10 @@ cat > conftest.i <&5 ++ { echo "$as_me:17264: checking for $CC __attribute__ directives..." >&5 + echo "$as_me: checking for $CC __attribute__ directives..." >&6;} + cat > "conftest.$ac_ext" <&5 ++ if { (eval echo "$as_me:17316: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17270: \$? = $ac_status" >&5 ++ echo "$as_me:17319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17272: result: ... $cf_attribute" >&5 ++ test -n "$verbose" && echo "$as_me:17321: result: ... $cf_attribute" >&5 + echo "${ECHO_T}... $cf_attribute" >&6 + cat conftest.h >>confdefs.h + case "$cf_attribute" in +@@ -17341,12 +17390,12 @@ INTEL_CPLUSPLUS=no + if test "$GCC" = yes ; then + case "$host_os" in + (linux*|gnu*) +- echo "$as_me:17344: checking if this is really Intel C++ compiler" >&5 ++ echo "$as_me:17393: 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="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -no-gcc" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17349 "configure" ++#line 17398 "configure" + #include "confdefs.h" + + int +@@ -17363,16 +17412,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17366: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17415: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17369: \$? = $ac_status" >&5 ++ echo "$as_me:17418: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17372: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17421: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17375: \$? = $ac_status" >&5 ++ echo "$as_me:17424: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + INTEL_CPLUSPLUS=yes + cf_save_CFLAGS="$cf_save_CFLAGS -we147" +@@ -17383,7 +17432,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CXXFLAGS="$cf_save_CFLAGS" +- echo "$as_me:17386: result: $INTEL_CPLUSPLUS" >&5 ++ echo "$as_me:17435: result: $INTEL_CPLUSPLUS" >&5 + echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6 + ;; + esac +@@ -17392,11 +17441,11 @@ fi + CLANG_CPLUSPLUS=no + + if test "$GCC" = yes ; then +- echo "$as_me:17395: checking if this is really Clang C++ compiler" >&5 ++ echo "$as_me:17444: 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="$CXXFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17399 "configure" ++#line 17448 "configure" + #include "confdefs.h" + + int +@@ -17413,16 +17462,16 @@ make an error + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17416: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17465: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17419: \$? = $ac_status" >&5 ++ echo "$as_me:17468: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17422: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17471: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17425: \$? = $ac_status" >&5 ++ echo "$as_me:17474: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + CLANG_CPLUSPLUS=yes + +@@ -17432,7 +17481,7 @@ cat "conftest.$ac_ext" >&5 + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CXXFLAGS="$cf_save_CFLAGS" +- echo "$as_me:17435: result: $CLANG_CPLUSPLUS" >&5 ++ echo "$as_me:17484: result: $CLANG_CPLUSPLUS" >&5 + echo "${ECHO_T}$CLANG_CPLUSPLUS" >&6 + fi + +@@ -17441,30 +17490,30 @@ CLANG_VERSION=none + if test "x$CLANG_CPLUSPLUS" = "xyes" ; then + case "$CC" in + (c[1-9][0-9]|*/c[1-9][0-9]) +- { echo "$as_me:17444: WARNING: replacing broken compiler alias $CC" >&5 ++ { echo "$as_me:17493: WARNING: replacing broken compiler alias $CC" >&5 + echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;} + CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`" + CC=clang + ;; + esac + +- echo "$as_me:17451: checking version of $CC" >&5 ++ echo "$as_me:17500: checking version of $CC" >&5 + echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 + CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" + test -z "$CLANG_VERSION" && CLANG_VERSION=unknown +- echo "$as_me:17455: result: $CLANG_VERSION" >&5 ++ echo "$as_me:17504: result: $CLANG_VERSION" >&5 + echo "${ECHO_T}$CLANG_VERSION" >&6 + + for cf_clang_opt in \ + -Qunused-arguments \ + -Wno-error=implicit-function-declaration + do +- echo "$as_me:17462: checking if option $cf_clang_opt works" >&5 ++ echo "$as_me:17511: checking if option $cf_clang_opt works" >&5 + echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $cf_clang_opt" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17467 "configure" ++#line 17516 "configure" + #include "confdefs.h" + + #include +@@ -17478,16 +17527,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17481: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17530: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17484: \$? = $ac_status" >&5 ++ echo "$as_me:17533: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17487: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17536: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17490: \$? = $ac_status" >&5 ++ echo "$as_me:17539: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_clang_optok=yes +@@ -17498,13 +17547,13 @@ cat "conftest.$ac_ext" >&5 + cf_clang_optok=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:17501: result: $cf_clang_optok" >&5 ++ echo "$as_me:17550: result: $cf_clang_optok" >&5 + echo "${ECHO_T}$cf_clang_optok" >&6 + CFLAGS="$cf_save_CFLAGS" + if test "$cf_clang_optok" = yes; then + test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6 + +-echo "${as_me:-configure}:17507: testing adding option $cf_clang_opt ..." 1>&5 ++echo "${as_me:-configure}:17556: testing adding option $cf_clang_opt ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_clang_opt" +@@ -17521,7 +17570,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + cat > conftest.$ac_ext <&5 ++ { echo "$as_me:17591: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CXXFLAGS="$CXXFLAGS" + EXTRA_CXXFLAGS="-Wall" +@@ -17556,12 +17605,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} + wd981 + do + CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt" +- if { (eval echo "$as_me:17559: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17608: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17562: \$? = $ac_status" >&5 ++ echo "$as_me:17611: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17564: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17613: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" + fi +@@ -17570,7 +17619,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 + + elif test "$GXX" = yes + then +- { echo "$as_me:17573: checking for $CXX warning options..." >&5 ++ { echo "$as_me:17622: checking for $CXX warning options..." >&5 + echo "$as_me: checking for $CXX warning options..." >&6;} + cf_save_CXXFLAGS="$CXXFLAGS" + EXTRA_CXXFLAGS="-W -Wall" +@@ -17600,16 +17649,16 @@ echo "$as_me: checking for $CXX warning options..." >&6;} + Wundef $cf_gxx_extra_warnings Wno-unused + do + CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt" +- if { (eval echo "$as_me:17603: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17652: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17606: \$? = $ac_status" >&5 ++ echo "$as_me:17655: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:17608: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17657: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" + else +- test -n "$verbose" && echo "$as_me:17612: result: ... no -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:17661: result: ... no -$cf_opt" >&5 + echo "${ECHO_T}... no -$cf_opt" >&6 + fi + done +@@ -17627,7 +17676,7 @@ ac_main_return="return" + fi + fi + +-echo "$as_me:17630: checking if you want to work around bogus compiler/loader warnings" >&5 ++echo "$as_me:17679: checking if you want to work around bogus compiler/loader warnings" >&5 + echo $ECHO_N "checking if you want to work around bogus compiler/loader warnings... $ECHO_C" >&6 + + # Check whether --enable-string-hacks or --disable-string-hacks was given. +@@ -17637,7 +17686,7 @@ if test "${enable_string_hacks+set}" = set; then + else + enable_string_hacks=no + fi; +-echo "$as_me:17640: result: $enable_string_hacks" >&5 ++echo "$as_me:17689: result: $enable_string_hacks" >&5 + echo "${ECHO_T}$enable_string_hacks" >&6 + + if test "x$enable_string_hacks" = "xyes"; then +@@ -17646,15 +17695,15 @@ cat >>confdefs.h <<\EOF + #define USE_STRING_HACKS 1 + EOF + +- { echo "$as_me:17649: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5 ++ { echo "$as_me:17698: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5 + echo "$as_me: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&2;} +- echo "$as_me:17651: checking for strlcat" >&5 ++ echo "$as_me:17700: checking for strlcat" >&5 + echo $ECHO_N "checking for strlcat... $ECHO_C" >&6 + if test "${ac_cv_func_strlcat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17657 "configure" ++#line 17706 "configure" + #include "confdefs.h" + #define strlcat autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17685,16 +17734,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17688: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17737: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17691: \$? = $ac_status" >&5 ++ echo "$as_me:17740: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17694: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17743: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17697: \$? = $ac_status" >&5 ++ echo "$as_me:17746: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_strlcat=yes + else +@@ -17704,7 +17753,7 @@ ac_cv_func_strlcat=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17707: result: $ac_cv_func_strlcat" >&5 ++echo "$as_me:17756: result: $ac_cv_func_strlcat" >&5 + echo "${ECHO_T}$ac_cv_func_strlcat" >&6 + if test "$ac_cv_func_strlcat" = yes; then + +@@ -17714,7 +17763,7 @@ EOF + + else + +- echo "$as_me:17717: checking for strlcat in -lbsd" >&5 ++ echo "$as_me:17766: checking for strlcat in -lbsd" >&5 + echo $ECHO_N "checking for strlcat in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_strlcat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17722,7 +17771,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17725 "configure" ++#line 17774 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17741,16 +17790,16 @@ strlcat (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17744: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17793: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17747: \$? = $ac_status" >&5 ++ echo "$as_me:17796: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17750: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17799: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17753: \$? = $ac_status" >&5 ++ echo "$as_me:17802: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_strlcat=yes + else +@@ -17761,7 +17810,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17764: result: $ac_cv_lib_bsd_strlcat" >&5 ++echo "$as_me:17813: result: $ac_cv_lib_bsd_strlcat" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_strlcat" >&6 + if test "$ac_cv_lib_bsd_strlcat" = yes; then + +@@ -17784,23 +17833,23 @@ LIBS="$cf_add_libs" + for ac_header in bsd/string.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:17787: checking for $ac_header" >&5 ++echo "$as_me:17836: 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 17793 "configure" ++#line 17842 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:17797: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:17846: \"$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:17803: \$? = $ac_status" >&5 ++ echo "$as_me:17852: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -17819,7 +17868,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:17822: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17871: 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 <&5 ++echo "$as_me:17892: 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 17849 "configure" ++#line 17898 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17877,16 +17926,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17880: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17929: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17883: \$? = $ac_status" >&5 ++ echo "$as_me:17932: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17886: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17935: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17889: \$? = $ac_status" >&5 ++ echo "$as_me:17938: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -17896,7 +17945,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17899: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:17948: 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 <&5 ++echo "$as_me:17961: checking if you want to enable runtime assertions" >&5 + echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 + + # Check whether --enable-assertions or --disable-assertions was given. +@@ -17919,7 +17968,7 @@ if test "${enable_assertions+set}" = set; then + else + with_assertions=no + fi; +-echo "$as_me:17922: result: $with_assertions" >&5 ++echo "$as_me:17971: result: $with_assertions" >&5 + echo "${ECHO_T}$with_assertions" >&6 + if test -n "$GCC" + then +@@ -17935,7 +17984,7 @@ fi + + ### use option --disable-leaks to suppress "permanent" leaks, for testing + +-echo "$as_me:17938: checking if you want to use dmalloc for testing" >&5 ++echo "$as_me:17987: 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. +@@ -17957,7 +18006,7 @@ EOF + else + with_dmalloc= + fi; +-echo "$as_me:17960: result: ${with_dmalloc:-no}" >&5 ++echo "$as_me:18009: result: ${with_dmalloc:-no}" >&5 + echo "${ECHO_T}${with_dmalloc:-no}" >&6 + + case ".$with_cflags" in +@@ -18071,23 +18120,23 @@ fi + esac + + if test "$with_dmalloc" = yes ; then +- echo "$as_me:18074: checking for dmalloc.h" >&5 ++ echo "$as_me:18123: 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 18080 "configure" ++#line 18129 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:18084: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:18133: \"$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:18090: \$? = $ac_status" >&5 ++ echo "$as_me:18139: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -18106,11 +18155,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:18109: result: $ac_cv_header_dmalloc_h" >&5 ++echo "$as_me:18158: 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:18113: checking for dmalloc_debug in -ldmalloc" >&5 ++echo "$as_me:18162: 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 +@@ -18118,7 +18167,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldmalloc $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18121 "configure" ++#line 18170 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18137,16 +18186,16 @@ dmalloc_debug (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18140: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18189: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18143: \$? = $ac_status" >&5 ++ echo "$as_me:18192: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18146: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18195: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18149: \$? = $ac_status" >&5 ++ echo "$as_me:18198: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dmalloc_dmalloc_debug=yes + else +@@ -18157,7 +18206,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18160: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 ++echo "$as_me:18209: 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 <&5 ++echo "$as_me:18224: 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. +@@ -18194,7 +18243,7 @@ EOF + else + with_dbmalloc= + fi; +-echo "$as_me:18197: result: ${with_dbmalloc:-no}" >&5 ++echo "$as_me:18246: result: ${with_dbmalloc:-no}" >&5 + echo "${ECHO_T}${with_dbmalloc:-no}" >&6 + + case ".$with_cflags" in +@@ -18308,23 +18357,23 @@ fi + esac + + if test "$with_dbmalloc" = yes ; then +- echo "$as_me:18311: checking for dbmalloc.h" >&5 ++ echo "$as_me:18360: 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 18317 "configure" ++#line 18366 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:18321: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:18370: \"$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:18327: \$? = $ac_status" >&5 ++ echo "$as_me:18376: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -18343,11 +18392,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:18346: result: $ac_cv_header_dbmalloc_h" >&5 ++echo "$as_me:18395: 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:18350: checking for debug_malloc in -ldbmalloc" >&5 ++echo "$as_me:18399: 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 +@@ -18355,7 +18404,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldbmalloc $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18358 "configure" ++#line 18407 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18374,16 +18423,16 @@ debug_malloc (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18377: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18426: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18380: \$? = $ac_status" >&5 ++ echo "$as_me:18429: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18383: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18432: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18386: \$? = $ac_status" >&5 ++ echo "$as_me:18435: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dbmalloc_debug_malloc=yes + else +@@ -18394,7 +18443,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18397: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 ++echo "$as_me:18446: 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 <&5 ++echo "$as_me:18461: 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. +@@ -18431,7 +18480,7 @@ EOF + else + with_valgrind= + fi; +-echo "$as_me:18434: result: ${with_valgrind:-no}" >&5 ++echo "$as_me:18483: result: ${with_valgrind:-no}" >&5 + echo "${ECHO_T}${with_valgrind:-no}" >&6 + + case ".$with_cflags" in +@@ -18544,7 +18593,7 @@ fi + ;; + esac + +-echo "$as_me:18547: checking if you want to perform memory-leak testing" >&5 ++echo "$as_me:18596: 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 --enable-leaks or --disable-leaks was given. +@@ -18555,7 +18604,7 @@ else + enable_leaks=yes + fi; + if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi +-echo "$as_me:18558: result: $with_no_leaks" >&5 ++echo "$as_me:18607: result: $with_no_leaks" >&5 + echo "${ECHO_T}$with_no_leaks" >&6 + + if test "$enable_leaks" = no ; then +@@ -18607,7 +18656,7 @@ case "$CFLAGS $CPPFLAGS" in + ;; + esac + +-echo "$as_me:18610: checking whether to add trace feature to all models" >&5 ++echo "$as_me:18659: checking whether to add trace feature to all models" >&5 + echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 + + # Check whether --with-trace or --without-trace was given. +@@ -18617,7 +18666,7 @@ if test "${with_trace+set}" = set; then + else + cf_with_trace=$cf_all_traces + fi; +-echo "$as_me:18620: result: $cf_with_trace" >&5 ++echo "$as_me:18669: result: $cf_with_trace" >&5 + echo "${ECHO_T}$cf_with_trace" >&6 + + if test "x$cf_with_trace" = xyes ; then +@@ -18731,7 +18780,7 @@ else + ADA_TRACE=FALSE + fi + +-echo "$as_me:18734: checking if we want to use GNAT projects" >&5 ++echo "$as_me:18783: checking if we want to use GNAT projects" >&5 + echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 + + # Check whether --enable-gnat-projects or --disable-gnat-projects was given. +@@ -18748,7 +18797,7 @@ else + enable_gnat_projects=yes + + fi; +-echo "$as_me:18751: result: $enable_gnat_projects" >&5 ++echo "$as_me:18800: result: $enable_gnat_projects" >&5 + echo "${ECHO_T}$enable_gnat_projects" >&6 + + ### Checks for libraries. +@@ -18761,14 +18810,14 @@ case "$cf_cv_system_name" in + CPPFLAGS="$CPPFLAGS -DWINVER=0x0501 -DWIN32_LEAN_AND_MEAN" + fi + +-echo "$as_me:18764: checking if ssp library is needed" >&5 ++echo "$as_me:18813: checking if ssp library is needed" >&5 + echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6 + if test "${cf_cv_need_libssp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18771 "configure" ++#line 18820 "configure" + #include "confdefs.h" + + #include +@@ -18785,16 +18834,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18788: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18837: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18791: \$? = $ac_status" >&5 ++ echo "$as_me:18840: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18794: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18843: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18797: \$? = $ac_status" >&5 ++ echo "$as_me:18846: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=no + else +@@ -18804,7 +18853,7 @@ cat "conftest.$ac_ext" >&5 + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lssp" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18807 "configure" ++#line 18856 "configure" + #include "confdefs.h" + + #include +@@ -18821,16 +18870,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18824: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18873: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18827: \$? = $ac_status" >&5 ++ echo "$as_me:18876: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18830: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18879: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18833: \$? = $ac_status" >&5 ++ echo "$as_me:18882: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=yes + else +@@ -18844,7 +18893,7 @@ 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:18847: result: $cf_cv_need_libssp" >&5 ++echo "$as_me:18896: result: $cf_cv_need_libssp" >&5 + echo "${ECHO_T}$cf_cv_need_libssp" >&6 + + if test "x$cf_cv_need_libssp" = xyes +@@ -18870,13 +18919,13 @@ fi + + ;; + (*) +-echo "$as_me:18873: checking for gettimeofday" >&5 ++echo "$as_me:18922: checking for gettimeofday" >&5 + echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 + if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18879 "configure" ++#line 18928 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -18907,16 +18956,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18910: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:18959: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18913: \$? = $ac_status" >&5 ++ echo "$as_me:18962: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18916: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:18965: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18919: \$? = $ac_status" >&5 ++ echo "$as_me:18968: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -18926,7 +18975,7 @@ ac_cv_func_gettimeofday=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:18929: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:18978: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + +@@ -18936,7 +18985,7 @@ EOF + + else + +-echo "$as_me:18939: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:18988: checking for gettimeofday in -lbsd" >&5 + echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -18944,7 +18993,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 18947 "configure" ++#line 18996 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -18963,16 +19012,16 @@ gettimeofday (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:18966: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19015: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:18969: \$? = $ac_status" >&5 ++ echo "$as_me:19018: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:18972: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19021: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:18975: \$? = $ac_status" >&5 ++ echo "$as_me:19024: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -18983,7 +19032,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:18986: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:19035: result: $ac_cv_lib_bsd_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 + if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +@@ -19013,14 +19062,14 @@ fi + ;; + esac + +-echo "$as_me:19016: checking if -lm needed for math functions" >&5 ++echo "$as_me:19065: 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 19023 "configure" ++#line 19072 "configure" + #include "confdefs.h" + + #include +@@ -19036,16 +19085,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19039: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19088: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19042: \$? = $ac_status" >&5 ++ echo "$as_me:19091: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19045: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19094: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19048: \$? = $ac_status" >&5 ++ echo "$as_me:19097: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libm=no + else +@@ -19055,7 +19104,7 @@ cf_cv_need_libm=yes + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19058: result: $cf_cv_need_libm" >&5 ++echo "$as_me:19107: result: $cf_cv_need_libm" >&5 + echo "${ECHO_T}$cf_cv_need_libm" >&6 + + if test "$cf_cv_need_libm" = yes +@@ -19063,14 +19112,14 @@ then + + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lm" +- echo "$as_me:19066: checking if -lm is available for math functions" >&5 ++ echo "$as_me:19115: checking if -lm is available for math functions" >&5 + echo $ECHO_N "checking if -lm is available for math functions... $ECHO_C" >&6 + if test "${cf_cv_have_libm+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19073 "configure" ++#line 19122 "configure" + #include "confdefs.h" + + #include +@@ -19086,16 +19135,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19089: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19138: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19092: \$? = $ac_status" >&5 ++ echo "$as_me:19141: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19095: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19144: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19098: \$? = $ac_status" >&5 ++ echo "$as_me:19147: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_libm=yes + else +@@ -19105,7 +19154,7 @@ cf_cv_have_libm=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19108: result: $cf_cv_have_libm" >&5 ++echo "$as_me:19157: result: $cf_cv_have_libm" >&5 + echo "${ECHO_T}$cf_cv_have_libm" >&6 + LIBS="$cf_save_LIBS" + +@@ -19127,13 +19176,13 @@ EOF + fi + + ### Checks for header files. +-echo "$as_me:19130: checking for ANSI C header files" >&5 ++echo "$as_me:19179: 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 19136 "configure" ++#line 19185 "configure" + #include "confdefs.h" + #include + #include +@@ -19141,13 +19190,13 @@ else + #include + + _ACEOF +-if { (eval echo "$as_me:19144: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:19193: \"$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:19150: \$? = $ac_status" >&5 ++ echo "$as_me:19199: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -19169,7 +19218,7 @@ 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 19172 "configure" ++#line 19221 "configure" + #include "confdefs.h" + #include + +@@ -19187,7 +19236,7 @@ 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 19190 "configure" ++#line 19239 "configure" + #include "confdefs.h" + #include + +@@ -19208,7 +19257,7 @@ if test $ac_cv_header_stdc = yes; then + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19211 "configure" ++#line 19260 "configure" + #include "confdefs.h" + #include + #if ((' ' & 0x0FF) == 0x020) +@@ -19234,15 +19283,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:19237: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19286: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19240: \$? = $ac_status" >&5 ++ echo "$as_me:19289: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:19242: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19291: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19245: \$? = $ac_status" >&5 ++ echo "$as_me:19294: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -19255,7 +19304,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + fi + fi +-echo "$as_me:19258: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:19307: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -19268,13 +19317,13 @@ 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:19271: checking for $ac_hdr that defines DIR" >&5 ++echo "$as_me:19320: 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 19277 "configure" ++#line 19326 "configure" + #include "confdefs.h" + #include + #include <$ac_hdr> +@@ -19289,16 +19338,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:19292: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:19341: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:19295: \$? = $ac_status" >&5 ++ echo "$as_me:19344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:19298: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19347: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19301: \$? = $ac_status" >&5 ++ echo "$as_me:19350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -19308,7 +19357,7 @@ eval "$as_ac_Header=no" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:19311: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:19360: 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 <&5 ++ echo "$as_me:19373: 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 +@@ -19329,7 +19378,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldir $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19332 "configure" ++#line 19381 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19348,16 +19397,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19351: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19400: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19354: \$? = $ac_status" >&5 ++ echo "$as_me:19403: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19357: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19406: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19360: \$? = $ac_status" >&5 ++ echo "$as_me:19409: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dir_opendir=yes + else +@@ -19368,14 +19417,14 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19371: result: $ac_cv_lib_dir_opendir" >&5 ++echo "$as_me:19420: 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:19378: checking for opendir in -lx" >&5 ++ echo "$as_me:19427: 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 +@@ -19383,7 +19432,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19386 "configure" ++#line 19435 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19402,16 +19451,16 @@ opendir (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19405: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19454: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19408: \$? = $ac_status" >&5 ++ echo "$as_me:19457: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19411: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19460: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19414: \$? = $ac_status" >&5 ++ echo "$as_me:19463: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_x_opendir=yes + else +@@ -19422,7 +19471,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19425: result: $ac_cv_lib_x_opendir" >&5 ++echo "$as_me:19474: 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" +@@ -19430,13 +19479,13 @@ fi + + fi + +-echo "$as_me:19433: checking whether time.h and sys/time.h may both be included" >&5 ++echo "$as_me:19482: 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 19439 "configure" ++#line 19488 "configure" + #include "confdefs.h" + #include + #include +@@ -19452,16 +19501,16 @@ return 0; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:19455: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:19504: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:19458: \$? = $ac_status" >&5 ++ echo "$as_me:19507: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:19461: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19510: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19464: \$? = $ac_status" >&5 ++ echo "$as_me:19513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_header_time=yes + else +@@ -19471,7 +19520,7 @@ ac_cv_header_time=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:19474: result: $ac_cv_header_time" >&5 ++echo "$as_me:19523: result: $ac_cv_header_time" >&5 + echo "${ECHO_T}$ac_cv_header_time" >&6 + if test $ac_cv_header_time = yes; then + +@@ -19486,7 +19535,7 @@ cf_regex_libs= + case "$host_os" in + (mingw*) + # -lsystre -ltre -lintl -liconv +- echo "$as_me:19489: checking for regcomp in -lsystre" >&5 ++ echo "$as_me:19538: checking for regcomp in -lsystre" >&5 + echo $ECHO_N "checking for regcomp in -lsystre... $ECHO_C" >&6 + if test "${ac_cv_lib_systre_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19494,7 +19543,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsystre $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19497 "configure" ++#line 19546 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19513,16 +19562,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19516: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19565: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19519: \$? = $ac_status" >&5 ++ echo "$as_me:19568: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19522: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19571: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19525: \$? = $ac_status" >&5 ++ echo "$as_me:19574: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_systre_regcomp=yes + else +@@ -19533,11 +19582,11 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19536: result: $ac_cv_lib_systre_regcomp" >&5 ++echo "$as_me:19585: result: $ac_cv_lib_systre_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_systre_regcomp" >&6 + if test "$ac_cv_lib_systre_regcomp" = yes; then + +- echo "$as_me:19540: checking for libiconv_open in -liconv" >&5 ++ echo "$as_me:19589: checking for libiconv_open in -liconv" >&5 + echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6 + if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19545,7 +19594,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-liconv $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19548 "configure" ++#line 19597 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19564,16 +19613,16 @@ libiconv_open (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19567: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19616: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19570: \$? = $ac_status" >&5 ++ echo "$as_me:19619: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19573: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19622: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19576: \$? = $ac_status" >&5 ++ echo "$as_me:19625: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_iconv_libiconv_open=yes + else +@@ -19584,7 +19633,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19587: result: $ac_cv_lib_iconv_libiconv_open" >&5 ++echo "$as_me:19636: result: $ac_cv_lib_iconv_libiconv_open" >&5 + echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6 + if test "$ac_cv_lib_iconv_libiconv_open" = yes; then + +@@ -19606,7 +19655,7 @@ LIBS="$cf_add_libs" + + fi + +- echo "$as_me:19609: checking for libintl_gettext in -lintl" >&5 ++ echo "$as_me:19658: checking for libintl_gettext in -lintl" >&5 + echo $ECHO_N "checking for libintl_gettext in -lintl... $ECHO_C" >&6 + if test "${ac_cv_lib_intl_libintl_gettext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19614,7 +19663,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lintl $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19617 "configure" ++#line 19666 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19633,16 +19682,16 @@ libintl_gettext (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19636: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19685: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19639: \$? = $ac_status" >&5 ++ echo "$as_me:19688: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19642: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19691: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19645: \$? = $ac_status" >&5 ++ echo "$as_me:19694: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_intl_libintl_gettext=yes + else +@@ -19653,7 +19702,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19656: result: $ac_cv_lib_intl_libintl_gettext" >&5 ++echo "$as_me:19705: result: $ac_cv_lib_intl_libintl_gettext" >&5 + echo "${ECHO_T}$ac_cv_lib_intl_libintl_gettext" >&6 + if test "$ac_cv_lib_intl_libintl_gettext" = yes; then + +@@ -19675,7 +19724,7 @@ LIBS="$cf_add_libs" + + fi + +- echo "$as_me:19678: checking for tre_regcomp in -ltre" >&5 ++ echo "$as_me:19727: checking for tre_regcomp in -ltre" >&5 + echo $ECHO_N "checking for tre_regcomp in -ltre... $ECHO_C" >&6 + if test "${ac_cv_lib_tre_tre_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19683,7 +19732,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ltre $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19686 "configure" ++#line 19735 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19702,16 +19751,16 @@ tre_regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19705: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19754: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19708: \$? = $ac_status" >&5 ++ echo "$as_me:19757: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19711: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19760: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19714: \$? = $ac_status" >&5 ++ echo "$as_me:19763: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_tre_tre_regcomp=yes + else +@@ -19722,7 +19771,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19725: result: $ac_cv_lib_tre_tre_regcomp" >&5 ++echo "$as_me:19774: result: $ac_cv_lib_tre_tre_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_tre_tre_regcomp" >&6 + if test "$ac_cv_lib_tre_tre_regcomp" = yes; then + +@@ -19764,7 +19813,7 @@ LIBS="$cf_add_libs" + + else + +- echo "$as_me:19767: checking for regcomp in -lgnurx" >&5 ++ echo "$as_me:19816: checking for regcomp in -lgnurx" >&5 + echo $ECHO_N "checking for regcomp in -lgnurx... $ECHO_C" >&6 + if test "${ac_cv_lib_gnurx_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19772,7 +19821,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgnurx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19775 "configure" ++#line 19824 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19791,16 +19840,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19794: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19843: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19797: \$? = $ac_status" >&5 ++ echo "$as_me:19846: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19800: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19849: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19803: \$? = $ac_status" >&5 ++ echo "$as_me:19852: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gnurx_regcomp=yes + else +@@ -19811,7 +19860,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19814: result: $ac_cv_lib_gnurx_regcomp" >&5 ++echo "$as_me:19863: result: $ac_cv_lib_gnurx_regcomp" >&5 + echo "${ECHO_T}$ac_cv_lib_gnurx_regcomp" >&6 + if test "$ac_cv_lib_gnurx_regcomp" = yes; then + +@@ -19839,13 +19888,13 @@ fi + ;; + (*) + cf_regex_libs="regex re" +- echo "$as_me:19842: checking for regcomp" >&5 ++ echo "$as_me:19891: checking for regcomp" >&5 + echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 + if test "${ac_cv_func_regcomp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19848 "configure" ++#line 19897 "configure" + #include "confdefs.h" + #define regcomp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -19876,16 +19925,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19879: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19928: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19882: \$? = $ac_status" >&5 ++ echo "$as_me:19931: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19885: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19934: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19888: \$? = $ac_status" >&5 ++ echo "$as_me:19937: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_regcomp=yes + else +@@ -19895,7 +19944,7 @@ ac_cv_func_regcomp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:19898: result: $ac_cv_func_regcomp" >&5 ++echo "$as_me:19947: result: $ac_cv_func_regcomp" >&5 + echo "${ECHO_T}$ac_cv_func_regcomp" >&6 + if test "$ac_cv_func_regcomp" = yes; then + cf_regex_func=regcomp +@@ -19904,7 +19953,7 @@ else + for cf_regex_lib in $cf_regex_libs + do + as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh` +-echo "$as_me:19907: checking for regcomp in -l$cf_regex_lib" >&5 ++echo "$as_me:19956: checking for regcomp in -l$cf_regex_lib" >&5 + echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6 + if eval "test \"\${$as_ac_Lib+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -19912,7 +19961,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-l$cf_regex_lib $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19915 "configure" ++#line 19964 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -19931,16 +19980,16 @@ regcomp (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:19934: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:19983: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:19937: \$? = $ac_status" >&5 ++ echo "$as_me:19986: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:19940: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:19989: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:19943: \$? = $ac_status" >&5 ++ echo "$as_me:19992: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Lib=yes" + else +@@ -19951,7 +20000,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:19954: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5 ++echo "$as_me:20003: 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 + +@@ -19983,13 +20032,13 @@ fi + esac + + if test "$cf_regex_func" = no ; then +- echo "$as_me:19986: checking for compile" >&5 ++ echo "$as_me:20035: checking for compile" >&5 + echo $ECHO_N "checking for compile... $ECHO_C" >&6 + if test "${ac_cv_func_compile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 19992 "configure" ++#line 20041 "configure" + #include "confdefs.h" + #define compile autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20020,16 +20069,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20023: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20072: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20026: \$? = $ac_status" >&5 ++ echo "$as_me:20075: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20029: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20078: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20032: \$? = $ac_status" >&5 ++ echo "$as_me:20081: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_compile=yes + else +@@ -20039,13 +20088,13 @@ ac_cv_func_compile=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20042: result: $ac_cv_func_compile" >&5 ++echo "$as_me:20091: result: $ac_cv_func_compile" >&5 + echo "${ECHO_T}$ac_cv_func_compile" >&6 + if test "$ac_cv_func_compile" = yes; then + cf_regex_func=compile + else + +- echo "$as_me:20048: checking for compile in -lgen" >&5 ++ echo "$as_me:20097: checking for compile in -lgen" >&5 + echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6 + if test "${ac_cv_lib_gen_compile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20053,7 +20102,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgen $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20056 "configure" ++#line 20105 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -20072,16 +20121,16 @@ compile (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20075: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20124: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20078: \$? = $ac_status" >&5 ++ echo "$as_me:20127: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20081: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20130: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20084: \$? = $ac_status" >&5 ++ echo "$as_me:20133: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gen_compile=yes + else +@@ -20092,7 +20141,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:20095: result: $ac_cv_lib_gen_compile" >&5 ++echo "$as_me:20144: result: $ac_cv_lib_gen_compile" >&5 + echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6 + if test "$ac_cv_lib_gen_compile" = yes; then + +@@ -20120,11 +20169,11 @@ fi + fi + + if test "$cf_regex_func" = no ; then +- { echo "$as_me:20123: WARNING: cannot find regular expression library" >&5 ++ { echo "$as_me:20172: WARNING: cannot find regular expression library" >&5 + echo "$as_me: WARNING: cannot find regular expression library" >&2;} + fi + +-echo "$as_me:20127: checking for regular-expression headers" >&5 ++echo "$as_me:20176: checking for regular-expression headers" >&5 + echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6 + if test "${cf_cv_regex_hdrs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20136,7 +20185,7 @@ case "$cf_regex_func" in + for cf_regex_hdr in regexp.h regexpr.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20139 "configure" ++#line 20188 "configure" + #include "confdefs.h" + #include <$cf_regex_hdr> + int +@@ -20153,16 +20202,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20156: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20205: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20159: \$? = $ac_status" >&5 ++ echo "$as_me:20208: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20162: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20211: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20165: \$? = $ac_status" >&5 ++ echo "$as_me:20214: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_regex_hdrs=$cf_regex_hdr +@@ -20179,7 +20228,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + for cf_regex_hdr in regex.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20182 "configure" ++#line 20231 "configure" + #include "confdefs.h" + #include + #include <$cf_regex_hdr> +@@ -20199,16 +20248,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20202: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20251: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20205: \$? = $ac_status" >&5 ++ echo "$as_me:20254: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20208: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20257: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20211: \$? = $ac_status" >&5 ++ echo "$as_me:20260: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_regex_hdrs=$cf_regex_hdr +@@ -20224,11 +20273,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + esac + + fi +-echo "$as_me:20227: result: $cf_cv_regex_hdrs" >&5 ++echo "$as_me:20276: result: $cf_cv_regex_hdrs" >&5 + echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 + + case "$cf_cv_regex_hdrs" in +- (no) { echo "$as_me:20231: WARNING: no regular expression header found" >&5 ++ (no) { echo "$as_me:20280: WARNING: no regular expression header found" >&5 + echo "$as_me: WARNING: no regular expression header found" >&2;} ;; + (regex.h) + cat >>confdefs.h <<\EOF +@@ -20265,23 +20314,23 @@ wctype.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:20268: checking for $ac_header" >&5 ++echo "$as_me:20317: 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 20274 "configure" ++#line 20323 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20278: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20327: \"$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:20284: \$? = $ac_status" >&5 ++ echo "$as_me:20333: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20300,7 +20349,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20303: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20352: 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 <&5 ++echo "$as_me:20365: 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 20322 "configure" ++#line 20371 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20326: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20375: \"$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:20332: \$? = $ac_status" >&5 ++ echo "$as_me:20381: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20348,7 +20397,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20351: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20400: 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 <&5 ++echo "$as_me:20410: checking for header declaring getopt variables" >&5 + echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 + if test "${cf_cv_getopt_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20368,7 +20417,7 @@ cf_cv_getopt_header=none + for cf_header in stdio.h stdlib.h unistd.h getopt.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20371 "configure" ++#line 20420 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -20381,16 +20430,16 @@ int x = optind; char *y = optarg; (void)x; (void)y + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20384: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20433: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20387: \$? = $ac_status" >&5 ++ echo "$as_me:20436: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20390: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20439: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20393: \$? = $ac_status" >&5 ++ echo "$as_me:20442: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_getopt_header=$cf_header + break +@@ -20402,7 +20451,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:20405: result: $cf_cv_getopt_header" >&5 ++echo "$as_me:20454: result: $cf_cv_getopt_header" >&5 + echo "${ECHO_T}$cf_cv_getopt_header" >&6 + if test "$cf_cv_getopt_header" != none ; then + +@@ -20419,14 +20468,14 @@ EOF + + fi + +-echo "$as_me:20422: checking if external environ is declared" >&5 ++echo "$as_me:20471: checking if external environ is declared" >&5 + echo $ECHO_N "checking if external environ is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20429 "configure" ++#line 20478 "configure" + #include "confdefs.h" + + #ifdef HAVE_STDLIB_H +@@ -20442,16 +20491,16 @@ int x = (int) environ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20445: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20494: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20448: \$? = $ac_status" >&5 ++ echo "$as_me:20497: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20451: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20500: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20454: \$? = $ac_status" >&5 ++ echo "$as_me:20503: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_environ=yes + else +@@ -20462,7 +20511,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:20465: result: $cf_cv_dcl_environ" >&5 ++echo "$as_me:20514: result: $cf_cv_dcl_environ" >&5 + echo "${ECHO_T}$cf_cv_dcl_environ" >&6 + + if test "$cf_cv_dcl_environ" = no ; then +@@ -20477,14 +20526,14 @@ fi + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:20480: checking if external environ exists" >&5 ++echo "$as_me:20529: checking if external environ exists" >&5 + echo $ECHO_N "checking if external environ exists... $ECHO_C" >&6 + if test "${cf_cv_have_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20487 "configure" ++#line 20536 "configure" + #include "confdefs.h" + + #undef environ +@@ -20499,16 +20548,16 @@ environ = 2 + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20502: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20551: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20505: \$? = $ac_status" >&5 ++ echo "$as_me:20554: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20508: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20557: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20511: \$? = $ac_status" >&5 ++ echo "$as_me:20560: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_environ=yes + else +@@ -20519,7 +20568,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:20522: result: $cf_cv_have_environ" >&5 ++echo "$as_me:20571: result: $cf_cv_have_environ" >&5 + echo "${ECHO_T}$cf_cv_have_environ" >&6 + + if test "$cf_cv_have_environ" = yes ; then +@@ -20532,13 +20581,13 @@ EOF + + fi + +-echo "$as_me:20535: checking for getenv" >&5 ++echo "$as_me:20584: checking for getenv" >&5 + echo $ECHO_N "checking for getenv... $ECHO_C" >&6 + if test "${ac_cv_func_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20541 "configure" ++#line 20590 "configure" + #include "confdefs.h" + #define getenv autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20569,16 +20618,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20572: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20621: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20575: \$? = $ac_status" >&5 ++ echo "$as_me:20624: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20578: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20627: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20581: \$? = $ac_status" >&5 ++ echo "$as_me:20630: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_getenv=yes + else +@@ -20588,19 +20637,19 @@ ac_cv_func_getenv=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20591: result: $ac_cv_func_getenv" >&5 ++echo "$as_me:20640: result: $ac_cv_func_getenv" >&5 + echo "${ECHO_T}$ac_cv_func_getenv" >&6 + + for ac_func in putenv setenv strdup + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:20597: checking for $ac_func" >&5 ++echo "$as_me:20646: 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 20603 "configure" ++#line 20652 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20631,16 +20680,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20634: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20683: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20637: \$? = $ac_status" >&5 ++ echo "$as_me:20686: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20640: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20689: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20643: \$? = $ac_status" >&5 ++ echo "$as_me:20692: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -20650,7 +20699,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20653: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:20702: 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 <&5 ++echo "$as_me:20712: checking if getenv returns consistent values" >&5 + echo $ECHO_N "checking if getenv returns consistent values... $ECHO_C" >&6 + if test "${cf_cv_consistent_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20670,7 +20719,7 @@ if test "$cross_compiling" = yes; then + cf_cv_consistent_getenv=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20673 "configure" ++#line 20722 "configure" + #include "confdefs.h" + + #include +@@ -20779,15 +20828,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:20782: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20831: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20785: \$? = $ac_status" >&5 ++ echo "$as_me:20834: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:20787: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20836: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20790: \$? = $ac_status" >&5 ++ echo "$as_me:20839: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_consistent_getenv=yes + else +@@ -20800,7 +20849,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:20803: result: $cf_cv_consistent_getenv" >&5 ++echo "$as_me:20852: result: $cf_cv_consistent_getenv" >&5 + echo "${ECHO_T}$cf_cv_consistent_getenv" >&6 + + if test "x$cf_cv_consistent_getenv" = xno +@@ -20815,18 +20864,18 @@ fi + if test "x$cf_cv_consistent_getenv" = xno && \ + test "x$cf_with_trace" = xyes + then +- { echo "$as_me:20818: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 ++ { echo "$as_me:20867: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 + echo "$as_me: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&2;} + fi + +-echo "$as_me:20822: checking if sys/time.h works with sys/select.h" >&5 ++echo "$as_me:20871: checking if sys/time.h works with sys/select.h" >&5 + echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 + if test "${cf_cv_sys_time_select+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20829 "configure" ++#line 20878 "configure" + #include "confdefs.h" + + #include +@@ -20846,16 +20895,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20849: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20898: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20852: \$? = $ac_status" >&5 ++ echo "$as_me:20901: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20855: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20904: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20858: \$? = $ac_status" >&5 ++ echo "$as_me:20907: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sys_time_select=yes + else +@@ -20867,7 +20916,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:20870: result: $cf_cv_sys_time_select" >&5 ++echo "$as_me:20919: result: $cf_cv_sys_time_select" >&5 + echo "${ECHO_T}$cf_cv_sys_time_select" >&6 + test "$cf_cv_sys_time_select" = yes && + cat >>confdefs.h <<\EOF +@@ -20882,13 +20931,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:20885: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:20934: 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 20891 "configure" ++#line 20940 "configure" + #include "confdefs.h" + + int +@@ -20946,16 +20995,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20949: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20998: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20952: \$? = $ac_status" >&5 ++ echo "$as_me:21001: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20955: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21004: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20958: \$? = $ac_status" >&5 ++ echo "$as_me:21007: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -20965,7 +21014,7 @@ ac_cv_c_const=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:20968: result: $ac_cv_c_const" >&5 ++echo "$as_me:21017: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -20975,7 +21024,7 @@ EOF + + fi + +-echo "$as_me:20978: checking for inline" >&5 ++echo "$as_me:21027: 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 +@@ -20983,7 +21032,7 @@ else + ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20986 "configure" ++#line 21035 "configure" + #include "confdefs.h" + #ifndef __cplusplus + static $ac_kw int static_foo () {return 0; } +@@ -20992,16 +21041,16 @@ $ac_kw int foo () {return 0; } + + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20995: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21044: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20998: \$? = $ac_status" >&5 ++ echo "$as_me:21047: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21001: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21050: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21004: \$? = $ac_status" >&5 ++ echo "$as_me:21053: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_inline=$ac_kw; break + else +@@ -21012,7 +21061,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:21015: result: $ac_cv_c_inline" >&5 ++echo "$as_me:21064: result: $ac_cv_c_inline" >&5 + echo "${ECHO_T}$ac_cv_c_inline" >&6 + case $ac_cv_c_inline in + inline | yes) ;; +@@ -21038,7 +21087,7 @@ if test "$ac_cv_c_inline" != no ; then + : + elif test "$GCC" = yes + then +- echo "$as_me:21041: checking if $CC supports options to tune inlining" >&5 ++ echo "$as_me:21090: checking if $CC supports options to tune inlining" >&5 + echo $ECHO_N "checking if $CC supports options to tune inlining... $ECHO_C" >&6 + if test "${cf_cv_gcc_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21047,7 +21096,7 @@ else + cf_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS --param max-inline-insns-single=1200" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21050 "configure" ++#line 21099 "configure" + #include "confdefs.h" + inline int foo(void) { return 1; } + int +@@ -21059,16 +21108,16 @@ ${cf_cv_main_return:-return} foo() + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21062: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21111: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21065: \$? = $ac_status" >&5 ++ echo "$as_me:21114: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21068: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21117: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21071: \$? = $ac_status" >&5 ++ echo "$as_me:21120: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gcc_inline=yes + else +@@ -21080,7 +21129,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + CFLAGS=$cf_save_CFLAGS + + fi +-echo "$as_me:21083: result: $cf_cv_gcc_inline" >&5 ++echo "$as_me:21132: result: $cf_cv_gcc_inline" >&5 + echo "${ECHO_T}$cf_cv_gcc_inline" >&6 + if test "$cf_cv_gcc_inline" = yes ; then + +@@ -21186,7 +21235,7 @@ fi + fi + fi + +-echo "$as_me:21189: checking for signal global datatype" >&5 ++echo "$as_me:21238: checking for signal global datatype" >&5 + echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6 + if test "${cf_cv_sig_atomic_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21198,7 +21247,7 @@ else + "int" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21201 "configure" ++#line 21250 "configure" + #include "confdefs.h" + + #include +@@ -21222,16 +21271,16 @@ signal(SIGINT, handler); + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21225: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21274: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21228: \$? = $ac_status" >&5 ++ echo "$as_me:21277: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21231: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21280: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21234: \$? = $ac_status" >&5 ++ echo "$as_me:21283: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sig_atomic_t=$cf_type + else +@@ -21245,7 +21294,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:21248: result: $cf_cv_sig_atomic_t" >&5 ++echo "$as_me:21297: result: $cf_cv_sig_atomic_t" >&5 + echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6 + test "$cf_cv_sig_atomic_t" != no && + cat >>confdefs.h <&5 ++echo "$as_me:21306: checking for type of chtype" >&5 + echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 + if test "${cf_cv_typeof_chtype+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21264,7 +21313,7 @@ else + cf_cv_typeof_chtype=long + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21267 "configure" ++#line 21316 "configure" + #include "confdefs.h" + + #define WANT_BITS 31 +@@ -21299,15 +21348,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21302: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21351: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21305: \$? = $ac_status" >&5 ++ echo "$as_me:21354: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21307: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21356: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21310: \$? = $ac_status" >&5 ++ echo "$as_me:21359: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_typeof_chtype=`cat cf_test.out` + else +@@ -21322,7 +21371,7 @@ fi + + fi + +-echo "$as_me:21325: result: $cf_cv_typeof_chtype" >&5 ++echo "$as_me:21374: result: $cf_cv_typeof_chtype" >&5 + echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 + + cat >>confdefs.h <&5 ++echo "$as_me:21386: checking if unsigned literals are legal" >&5 + echo $ECHO_N "checking if unsigned literals are legal... $ECHO_C" >&6 + if test "${cf_cv_unsigned_literals+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21344 "configure" ++#line 21393 "configure" + #include "confdefs.h" + + int +@@ -21353,16 +21402,16 @@ long x = 1L + 1UL + 1U + 1 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21356: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21405: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21359: \$? = $ac_status" >&5 ++ echo "$as_me:21408: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21362: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21411: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21365: \$? = $ac_status" >&5 ++ echo "$as_me:21414: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_unsigned_literals=yes + else +@@ -21374,7 +21423,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + +-echo "$as_me:21377: result: $cf_cv_unsigned_literals" >&5 ++echo "$as_me:21426: result: $cf_cv_unsigned_literals" >&5 + echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 + + cf_cv_1UL="1" +@@ -21390,14 +21439,14 @@ test "$cf_cv_typeof_mmask_t" = unsigned && cf_cv_typeof_mmask_t="" + + ### Checks for external-data + +-echo "$as_me:21393: checking if external errno is declared" >&5 ++echo "$as_me:21442: checking if external errno is declared" >&5 + echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21400 "configure" ++#line 21449 "configure" + #include "confdefs.h" + + #ifdef HAVE_STDLIB_H +@@ -21415,16 +21464,16 @@ int x = (int) errno; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21418: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21467: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21421: \$? = $ac_status" >&5 ++ echo "$as_me:21470: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21424: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21473: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21427: \$? = $ac_status" >&5 ++ echo "$as_me:21476: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_errno=yes + else +@@ -21435,7 +21484,7 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:21438: result: $cf_cv_dcl_errno" >&5 ++echo "$as_me:21487: result: $cf_cv_dcl_errno" >&5 + echo "${ECHO_T}$cf_cv_dcl_errno" >&6 + + if test "$cf_cv_dcl_errno" = no ; then +@@ -21450,14 +21499,14 @@ fi + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:21453: checking if external errno exists" >&5 ++echo "$as_me:21502: checking if external errno exists" >&5 + echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6 + if test "${cf_cv_have_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21460 "configure" ++#line 21509 "configure" + #include "confdefs.h" + + #undef errno +@@ -21472,16 +21521,16 @@ errno = 2 + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21475: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21524: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21478: \$? = $ac_status" >&5 ++ echo "$as_me:21527: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21481: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21530: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21484: \$? = $ac_status" >&5 ++ echo "$as_me:21533: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_errno=yes + else +@@ -21492,7 +21541,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21495: result: $cf_cv_have_errno" >&5 ++echo "$as_me:21544: result: $cf_cv_have_errno" >&5 + echo "${ECHO_T}$cf_cv_have_errno" >&6 + + if test "$cf_cv_have_errno" = yes ; then +@@ -21505,7 +21554,7 @@ EOF + + fi + +-echo "$as_me:21508: checking if data-only library module links" >&5 ++echo "$as_me:21557: checking if data-only library module links" >&5 + echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 + if test "${cf_cv_link_dataonly+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21513,20 +21562,20 @@ else + + rm -f conftest.a + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:21568: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21522: \$? = $ac_status" >&5 ++ echo "$as_me:21571: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + mv conftest.o data.o && \ + ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null + fi + rm -f conftest.$ac_ext data.o + cat >conftest.$ac_ext <&5 ++ if { (eval echo "$as_me:21591: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21545: \$? = $ac_status" >&5 ++ echo "$as_me:21594: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -21555,7 +21604,7 @@ EOF + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21558 "configure" ++#line 21607 "configure" + #include "confdefs.h" + + int main(void) +@@ -21566,15 +21615,15 @@ else + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21569: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21618: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21572: \$? = $ac_status" >&5 ++ echo "$as_me:21621: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21574: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21623: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21577: \$? = $ac_status" >&5 ++ echo "$as_me:21626: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -21589,7 +21638,7 @@ fi + + fi + +-echo "$as_me:21592: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:21641: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -21633,13 +21682,13 @@ vsnprintf \ + + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:21636: checking for $ac_func" >&5 ++echo "$as_me:21685: 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 21642 "configure" ++#line 21691 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -21670,16 +21719,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21673: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21722: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21676: \$? = $ac_status" >&5 ++ echo "$as_me:21725: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21679: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21728: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21682: \$? = $ac_status" >&5 ++ echo "$as_me:21731: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -21689,7 +21738,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:21692: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:21741: 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 <&5 ++echo "$as_me:21751: checking if _PATH_TTYS is defined in ttyent.h" >&5 + echo $ECHO_N "checking if _PATH_TTYS is defined in ttyent.h... $ECHO_C" >&6 + if test "${cf_cv_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21709 "configure" ++#line 21758 "configure" + #include "confdefs.h" + + #include +@@ -21721,16 +21770,16 @@ FILE *fp = fopen(_PATH_TTYS, "r"); (void)fp + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21724: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21773: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21727: \$? = $ac_status" >&5 ++ echo "$as_me:21776: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21730: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21779: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21733: \$? = $ac_status" >&5 ++ echo "$as_me:21782: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_PATH_TTYS=yes + else +@@ -21740,7 +21789,7 @@ cf_cv_PATH_TTYS=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:21743: result: $cf_cv_PATH_TTYS" >&5 ++echo "$as_me:21792: result: $cf_cv_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_PATH_TTYS" >&6 + + if test $cf_cv_PATH_TTYS = no +@@ -21762,7 +21811,7 @@ fi + + if test $cf_cv_PATH_TTYS != no + then +- echo "$as_me:21765: checking if _PATH_TTYS file exists" >&5 ++ echo "$as_me:21814: checking if _PATH_TTYS file exists" >&5 + echo $ECHO_N "checking if _PATH_TTYS file exists... $ECHO_C" >&6 + if test "${cf_cv_have_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21772,7 +21821,7 @@ else + cf_cv_have_PATH_TTYS=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21775 "configure" ++#line 21824 "configure" + #include "confdefs.h" + + #include +@@ -21783,15 +21832,15 @@ int main(void) { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21786: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21835: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21789: \$? = $ac_status" >&5 ++ echo "$as_me:21838: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21791: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21840: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21794: \$? = $ac_status" >&5 ++ echo "$as_me:21843: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_PATH_TTYS=yes + else +@@ -21803,7 +21852,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:21806: result: $cf_cv_have_PATH_TTYS" >&5 ++echo "$as_me:21855: result: $cf_cv_have_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_have_PATH_TTYS" >&6 + test "$cf_cv_have_PATH_TTYS" = no && cf_cv_PATH_TTYS=no + fi +@@ -21815,14 +21864,14 @@ cat >>confdefs.h <<\EOF + #define HAVE_PATH_TTYS 1 + EOF + +- echo "$as_me:21818: checking for getttynam" >&5 ++ echo "$as_me:21867: checking for getttynam" >&5 + echo $ECHO_N "checking for getttynam... $ECHO_C" >&6 + if test "${cf_cv_func_getttynam+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21825 "configure" ++#line 21874 "configure" + #include "confdefs.h" + #include + int +@@ -21834,16 +21883,16 @@ struct ttyent *fp = getttynam("/dev/tty"); (void)fp + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21837: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21886: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21840: \$? = $ac_status" >&5 ++ echo "$as_me:21889: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21843: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21892: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21846: \$? = $ac_status" >&5 ++ echo "$as_me:21895: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_getttynam=yes + else +@@ -21853,7 +21902,7 @@ cf_cv_func_getttynam=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:21856: result: $cf_cv_func_getttynam" >&5 ++echo "$as_me:21905: result: $cf_cv_func_getttynam" >&5 + echo "${ECHO_T}$cf_cv_func_getttynam" >&6 + test "$cf_cv_func_getttynam" = yes && cat >>confdefs.h <<\EOF + #define HAVE_GETTTYNAM 1 +@@ -21863,7 +21912,7 @@ fi + + if test "x$ac_cv_func_getopt" = xno && \ + test "x$cf_with_progs$cf_with_tests" != xnono; then +- { { echo "$as_me:21866: error: getopt is required for building programs" >&5 ++ { { echo "$as_me:21915: error: getopt is required for building programs" >&5 + echo "$as_me: error: getopt is required for building programs" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -21872,7 +21921,7 @@ if test "x$with_safe_sprintf" = xyes + then + if test "x$ac_cv_func_vsnprintf" = xyes + then +- { echo "$as_me:21875: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 ++ { echo "$as_me:21924: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 + echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;} + else + +@@ -21885,14 +21934,14 @@ fi + + if test "x$with_getcap" = "xyes" ; then + +-echo "$as_me:21888: checking for terminal-capability database functions" >&5 ++echo "$as_me:21937: checking for terminal-capability database functions" >&5 + echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6 + if test "${cf_cv_cgetent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21895 "configure" ++#line 21944 "configure" + #include "confdefs.h" + + #include +@@ -21912,16 +21961,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21915: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21964: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21918: \$? = $ac_status" >&5 ++ echo "$as_me:21967: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21921: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21970: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21924: \$? = $ac_status" >&5 ++ echo "$as_me:21973: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent=yes + else +@@ -21932,7 +21981,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21935: result: $cf_cv_cgetent" >&5 ++echo "$as_me:21984: result: $cf_cv_cgetent" >&5 + echo "${ECHO_T}$cf_cv_cgetent" >&6 + + if test "$cf_cv_cgetent" = yes +@@ -21942,14 +21991,14 @@ cat >>confdefs.h <<\EOF + #define HAVE_BSD_CGETENT 1 + EOF + +-echo "$as_me:21945: checking if cgetent uses const parameter" >&5 ++echo "$as_me:21994: checking if cgetent uses const parameter" >&5 + echo $ECHO_N "checking if cgetent uses const parameter... $ECHO_C" >&6 + if test "${cf_cv_cgetent_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21952 "configure" ++#line 22001 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers" +@@ -21972,16 +22021,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21975: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22024: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21978: \$? = $ac_status" >&5 ++ echo "$as_me:22027: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21981: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22030: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21984: \$? = $ac_status" >&5 ++ echo "$as_me:22033: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent_const=yes + else +@@ -21992,7 +22041,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21995: result: $cf_cv_cgetent_const" >&5 ++echo "$as_me:22044: result: $cf_cv_cgetent_const" >&5 + echo "${ECHO_T}$cf_cv_cgetent_const" >&6 + if test "$cf_cv_cgetent_const" = yes + then +@@ -22006,14 +22055,14 @@ fi + + fi + +-echo "$as_me:22009: checking for isascii" >&5 ++echo "$as_me:22058: checking for isascii" >&5 + echo $ECHO_N "checking for isascii... $ECHO_C" >&6 + if test "${cf_cv_have_isascii+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22016 "configure" ++#line 22065 "configure" + #include "confdefs.h" + #include + int +@@ -22025,16 +22074,16 @@ int x = isascii(' ') + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22028: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22077: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22031: \$? = $ac_status" >&5 ++ echo "$as_me:22080: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22034: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22083: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22037: \$? = $ac_status" >&5 ++ echo "$as_me:22086: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_isascii=yes + else +@@ -22045,7 +22094,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:22048: result: $cf_cv_have_isascii" >&5 ++echo "$as_me:22097: result: $cf_cv_have_isascii" >&5 + echo "${ECHO_T}$cf_cv_have_isascii" >&6 + test "$cf_cv_have_isascii" = yes && + cat >>confdefs.h <<\EOF +@@ -22053,10 +22102,10 @@ cat >>confdefs.h <<\EOF + EOF + + if test "$ac_cv_func_sigaction" = yes; then +-echo "$as_me:22056: checking whether sigaction needs _POSIX_SOURCE" >&5 ++echo "$as_me:22105: checking whether sigaction needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether sigaction needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22059 "configure" ++#line 22108 "configure" + #include "confdefs.h" + + #include +@@ -22070,16 +22119,16 @@ struct sigaction act + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22073: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22122: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22076: \$? = $ac_status" >&5 ++ echo "$as_me:22125: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22079: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22128: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22082: \$? = $ac_status" >&5 ++ echo "$as_me:22131: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=no + else +@@ -22087,7 +22136,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22090 "configure" ++#line 22139 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22102,16 +22151,16 @@ struct sigaction act + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22105: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22154: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22108: \$? = $ac_status" >&5 ++ echo "$as_me:22157: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22111: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22160: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22114: \$? = $ac_status" >&5 ++ echo "$as_me:22163: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=yes + +@@ -22127,11 +22176,11 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-echo "$as_me:22130: result: $sigact_bad" >&5 ++echo "$as_me:22179: result: $sigact_bad" >&5 + echo "${ECHO_T}$sigact_bad" >&6 + fi + +-echo "$as_me:22134: checking if nanosleep really works" >&5 ++echo "$as_me:22183: checking if nanosleep really works" >&5 + echo $ECHO_N "checking if nanosleep really works... $ECHO_C" >&6 + if test "${cf_cv_func_nanosleep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22141,7 +22190,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_nanosleep=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22144 "configure" ++#line 22193 "configure" + #include "confdefs.h" + + #include +@@ -22166,15 +22215,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22169: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22218: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22172: \$? = $ac_status" >&5 ++ echo "$as_me:22221: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22174: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22223: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22177: \$? = $ac_status" >&5 ++ echo "$as_me:22226: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_nanosleep=yes + else +@@ -22186,7 +22235,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:22189: result: $cf_cv_func_nanosleep" >&5 ++echo "$as_me:22238: result: $cf_cv_func_nanosleep" >&5 + echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 + + test "$cf_cv_func_nanosleep" = "yes" && +@@ -22203,23 +22252,23 @@ sys/termio.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:22206: checking for $ac_header" >&5 ++echo "$as_me:22255: 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 22212 "configure" ++#line 22261 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:22216: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:22265: \"$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:22222: \$? = $ac_status" >&5 ++ echo "$as_me:22271: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -22238,7 +22287,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:22241: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:22290: 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 <&5 ++ echo "$as_me:22307: checking whether termios.h needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22261 "configure" ++#line 22310 "configure" + #include "confdefs.h" + #include + int +@@ -22270,16 +22319,16 @@ struct termios foo; int x = foo.c_iflag = 1; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22273: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22322: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22276: \$? = $ac_status" >&5 ++ echo "$as_me:22325: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22279: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22328: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22282: \$? = $ac_status" >&5 ++ echo "$as_me:22331: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=no + else +@@ -22287,7 +22336,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22290 "configure" ++#line 22339 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22301,16 +22350,16 @@ struct termios foo; int x = foo.c_iflag = 2; (void)x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22304: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22353: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22307: \$? = $ac_status" >&5 ++ echo "$as_me:22356: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22310: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22359: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22313: \$? = $ac_status" >&5 ++ echo "$as_me:22362: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=unknown + else +@@ -22326,19 +22375,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:22329: result: $termios_bad" >&5 ++ echo "$as_me:22378: result: $termios_bad" >&5 + echo "${ECHO_T}$termios_bad" >&6 + fi + fi + +-echo "$as_me:22334: checking for tcgetattr" >&5 ++echo "$as_me:22383: checking for tcgetattr" >&5 + echo $ECHO_N "checking for tcgetattr... $ECHO_C" >&6 + if test "${cf_cv_have_tcgetattr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22341 "configure" ++#line 22390 "configure" + #include "confdefs.h" + + #include +@@ -22366,16 +22415,16 @@ tcgetattr(1, &foo); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22369: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22418: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22372: \$? = $ac_status" >&5 ++ echo "$as_me:22421: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22375: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22424: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22378: \$? = $ac_status" >&5 ++ echo "$as_me:22427: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_tcgetattr=yes + else +@@ -22385,21 +22434,21 @@ cf_cv_have_tcgetattr=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22388: result: $cf_cv_have_tcgetattr" >&5 ++echo "$as_me:22437: result: $cf_cv_have_tcgetattr" >&5 + echo "${ECHO_T}$cf_cv_have_tcgetattr" >&6 + test "$cf_cv_have_tcgetattr" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TCGETATTR 1 + EOF + +-echo "$as_me:22395: checking for vsscanf function or workaround" >&5 ++echo "$as_me:22444: checking for vsscanf function or workaround" >&5 + echo $ECHO_N "checking for vsscanf function or workaround... $ECHO_C" >&6 + if test "${cf_cv_func_vsscanf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22402 "configure" ++#line 22451 "configure" + #include "confdefs.h" + + #include +@@ -22415,16 +22464,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22418: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22467: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22421: \$? = $ac_status" >&5 ++ echo "$as_me:22470: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22424: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22473: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22427: \$? = $ac_status" >&5 ++ echo "$as_me:22476: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vsscanf + else +@@ -22432,7 +22481,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22435 "configure" ++#line 22484 "configure" + #include "confdefs.h" + + #include +@@ -22454,16 +22503,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22457: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22506: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22460: \$? = $ac_status" >&5 ++ echo "$as_me:22509: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22463: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22512: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22466: \$? = $ac_status" >&5 ++ echo "$as_me:22515: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vfscanf + else +@@ -22471,7 +22520,7 @@ else + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22474 "configure" ++#line 22523 "configure" + #include "confdefs.h" + + #include +@@ -22493,16 +22542,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22496: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22545: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22499: \$? = $ac_status" >&5 ++ echo "$as_me:22548: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22502: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22551: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22505: \$? = $ac_status" >&5 ++ echo "$as_me:22554: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=_doscan + else +@@ -22517,7 +22566,7 @@ 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:22520: result: $cf_cv_func_vsscanf" >&5 ++echo "$as_me:22569: result: $cf_cv_func_vsscanf" >&5 + echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 + + case "$cf_cv_func_vsscanf" in +@@ -22543,23 +22592,23 @@ unistd.h \ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:22546: checking for $ac_header" >&5 ++echo "$as_me:22595: 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 22552 "configure" ++#line 22601 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:22556: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:22605: \"$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:22562: \$? = $ac_status" >&5 ++ echo "$as_me:22611: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -22578,7 +22627,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:22581: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:22630: 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 <&5 ++echo "$as_me:22640: checking for working mkstemp" >&5 + echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 + if test "${cf_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22599,7 +22648,7 @@ if test "$cross_compiling" = yes; then + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22602 "configure" ++#line 22651 "configure" + #include "confdefs.h" + + #include +@@ -22640,15 +22689,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22643: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22692: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22646: \$? = $ac_status" >&5 ++ echo "$as_me:22695: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22648: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22697: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22651: \$? = $ac_status" >&5 ++ echo "$as_me:22700: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -22663,16 +22712,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:22666: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:22715: result: $cf_cv_func_mkstemp" >&5 + echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 + if test "x$cf_cv_func_mkstemp" = xmaybe ; then +- echo "$as_me:22669: checking for mkstemp" >&5 ++ echo "$as_me:22718: checking for mkstemp" >&5 + echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 + if test "${ac_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22675 "configure" ++#line 22724 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -22703,16 +22752,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22706: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22755: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22709: \$? = $ac_status" >&5 ++ echo "$as_me:22758: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22712: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22761: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22715: \$? = $ac_status" >&5 ++ echo "$as_me:22764: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -22722,7 +22771,7 @@ ac_cv_func_mkstemp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22725: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:22774: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -22743,21 +22792,21 @@ else + fi + + if test "x$cross_compiling" = xyes ; then +- { echo "$as_me:22746: WARNING: cross compiling: assume setvbuf params not reversed" >&5 ++ { echo "$as_me:22795: WARNING: cross compiling: assume setvbuf params not reversed" >&5 + echo "$as_me: WARNING: cross compiling: assume setvbuf params not reversed" >&2;} + else +- echo "$as_me:22749: checking whether setvbuf arguments are reversed" >&5 ++ echo "$as_me:22798: checking whether setvbuf arguments are reversed" >&5 + echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6 + if test "${ac_cv_func_setvbuf_reversed+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:22755: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:22804: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22760 "configure" ++#line 22809 "configure" + #include "confdefs.h" + #include + /* If setvbuf has the reversed format, exit 0. */ +@@ -22774,15 +22823,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22777: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22826: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22780: \$? = $ac_status" >&5 ++ echo "$as_me:22829: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22782: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22831: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22785: \$? = $ac_status" >&5 ++ echo "$as_me:22834: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_setvbuf_reversed=yes + else +@@ -22795,7 +22844,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + rm -f core ./core.* ./*.core + fi +-echo "$as_me:22798: result: $ac_cv_func_setvbuf_reversed" >&5 ++echo "$as_me:22847: result: $ac_cv_func_setvbuf_reversed" >&5 + echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6 + if test $ac_cv_func_setvbuf_reversed = yes; then + +@@ -22806,13 +22855,13 @@ EOF + fi + + fi +-echo "$as_me:22809: checking for intptr_t" >&5 ++echo "$as_me:22858: checking for intptr_t" >&5 + echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 + if test "${ac_cv_type_intptr_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22815 "configure" ++#line 22864 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -22827,16 +22876,16 @@ if (sizeof (intptr_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22830: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22879: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22833: \$? = $ac_status" >&5 ++ echo "$as_me:22882: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22836: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22885: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22839: \$? = $ac_status" >&5 ++ echo "$as_me:22888: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_intptr_t=yes + else +@@ -22846,7 +22895,7 @@ ac_cv_type_intptr_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:22849: result: $ac_cv_type_intptr_t" >&5 ++echo "$as_me:22898: result: $ac_cv_type_intptr_t" >&5 + echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 + if test "$ac_cv_type_intptr_t" = yes; then + : +@@ -22858,13 +22907,13 @@ EOF + + fi + +-echo "$as_me:22861: checking for ssize_t" >&5 ++echo "$as_me:22910: checking for ssize_t" >&5 + echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 + if test "${ac_cv_type_ssize_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22867 "configure" ++#line 22916 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -22879,16 +22928,16 @@ if (sizeof (ssize_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22882: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22931: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22885: \$? = $ac_status" >&5 ++ echo "$as_me:22934: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22888: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22937: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22891: \$? = $ac_status" >&5 ++ echo "$as_me:22940: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_ssize_t=yes + else +@@ -22898,7 +22947,7 @@ ac_cv_type_ssize_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:22901: result: $ac_cv_type_ssize_t" >&5 ++echo "$as_me:22950: result: $ac_cv_type_ssize_t" >&5 + echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 + if test "$ac_cv_type_ssize_t" = yes; then + : +@@ -22910,14 +22959,14 @@ EOF + + fi + +-echo "$as_me:22913: checking for type sigaction_t" >&5 ++echo "$as_me:22962: checking for type sigaction_t" >&5 + echo $ECHO_N "checking for type sigaction_t... $ECHO_C" >&6 + if test "${cf_cv_type_sigaction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22920 "configure" ++#line 22969 "configure" + #include "confdefs.h" + + #include +@@ -22930,16 +22979,16 @@ sigaction_t x + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22933: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22982: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22936: \$? = $ac_status" >&5 ++ echo "$as_me:22985: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22939: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22988: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22942: \$? = $ac_status" >&5 ++ echo "$as_me:22991: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_sigaction=yes + else +@@ -22950,14 +22999,14 @@ fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "$as_me:22953: result: $cf_cv_type_sigaction" >&5 ++echo "$as_me:23002: result: $cf_cv_type_sigaction" >&5 + echo "${ECHO_T}$cf_cv_type_sigaction" >&6 + test "$cf_cv_type_sigaction" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TYPE_SIGACTION 1 + EOF + +-echo "$as_me:22960: checking declaration of size-change" >&5 ++echo "$as_me:23009: checking declaration of size-change" >&5 + echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 + if test "${cf_cv_sizechange+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22978,7 +23027,7 @@ do + + fi + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22981 "configure" ++#line 23030 "configure" + #include "confdefs.h" + #include + #ifdef HAVE_TERMIOS_H +@@ -23028,16 +23077,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23031: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23080: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23034: \$? = $ac_status" >&5 ++ echo "$as_me:23083: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23037: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23086: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23040: \$? = $ac_status" >&5 ++ echo "$as_me:23089: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sizechange=yes + else +@@ -23056,7 +23105,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:23059: result: $cf_cv_sizechange" >&5 ++echo "$as_me:23108: result: $cf_cv_sizechange" >&5 + echo "${ECHO_T}$cf_cv_sizechange" >&6 + if test "$cf_cv_sizechange" != no ; then + +@@ -23074,13 +23123,13 @@ EOF + esac + fi + +-echo "$as_me:23077: checking for memmove" >&5 ++echo "$as_me:23126: checking for memmove" >&5 + echo $ECHO_N "checking for memmove... $ECHO_C" >&6 + if test "${ac_cv_func_memmove+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23083 "configure" ++#line 23132 "configure" + #include "confdefs.h" + #define memmove autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23111,16 +23160,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23114: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23163: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23117: \$? = $ac_status" >&5 ++ echo "$as_me:23166: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23120: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23169: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23123: \$? = $ac_status" >&5 ++ echo "$as_me:23172: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_memmove=yes + else +@@ -23130,19 +23179,19 @@ ac_cv_func_memmove=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23133: result: $ac_cv_func_memmove" >&5 ++echo "$as_me:23182: result: $ac_cv_func_memmove" >&5 + echo "${ECHO_T}$ac_cv_func_memmove" >&6 + if test "$ac_cv_func_memmove" = yes; then + : + else + +-echo "$as_me:23139: checking for bcopy" >&5 ++echo "$as_me:23188: checking for bcopy" >&5 + echo $ECHO_N "checking for bcopy... $ECHO_C" >&6 + if test "${ac_cv_func_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23145 "configure" ++#line 23194 "configure" + #include "confdefs.h" + #define bcopy autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23173,16 +23222,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23176: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23225: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23179: \$? = $ac_status" >&5 ++ echo "$as_me:23228: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23182: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23231: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23185: \$? = $ac_status" >&5 ++ echo "$as_me:23234: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_bcopy=yes + else +@@ -23192,11 +23241,11 @@ ac_cv_func_bcopy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23195: result: $ac_cv_func_bcopy" >&5 ++echo "$as_me:23244: result: $ac_cv_func_bcopy" >&5 + echo "${ECHO_T}$ac_cv_func_bcopy" >&6 + if test "$ac_cv_func_bcopy" = yes; then + +- echo "$as_me:23199: checking if bcopy does overlapping moves" >&5 ++ echo "$as_me:23248: checking if bcopy does overlapping moves" >&5 + echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6 + if test "${cf_cv_good_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23206,7 +23255,7 @@ else + cf_cv_good_bcopy=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23209 "configure" ++#line 23258 "configure" + #include "confdefs.h" + + int main(void) { +@@ -23220,15 +23269,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23223: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23272: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23226: \$? = $ac_status" >&5 ++ echo "$as_me:23275: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23228: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23277: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23231: \$? = $ac_status" >&5 ++ echo "$as_me:23280: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_good_bcopy=yes + else +@@ -23241,7 +23290,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:23244: result: $cf_cv_good_bcopy" >&5 ++echo "$as_me:23293: result: $cf_cv_good_bcopy" >&5 + echo "${ECHO_T}$cf_cv_good_bcopy" >&6 + + else +@@ -23268,13 +23317,13 @@ tty >/dev/null 2>&1 || { + for ac_func in posix_openpt + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:23271: checking for $ac_func" >&5 ++echo "$as_me:23320: 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 23277 "configure" ++#line 23326 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23305,16 +23354,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23308: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23357: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23311: \$? = $ac_status" >&5 ++ echo "$as_me:23360: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23314: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23363: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23317: \$? = $ac_status" >&5 ++ echo "$as_me:23366: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -23324,7 +23373,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23327: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:23376: 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 <&5 ++echo "$as_me:23386: checking if poll really works" >&5 + echo $ECHO_N "checking if poll really works... $ECHO_C" >&6 + if test "${cf_cv_working_poll+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23344,7 +23393,7 @@ if test "$cross_compiling" = yes; then + cf_cv_working_poll=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23347 "configure" ++#line 23396 "configure" + #include "confdefs.h" + + #include +@@ -23396,15 +23445,15 @@ int main(void) { + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23399: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23448: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23402: \$? = $ac_status" >&5 ++ echo "$as_me:23451: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23404: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23453: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23407: \$? = $ac_status" >&5 ++ echo "$as_me:23456: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_working_poll=yes + else +@@ -23416,21 +23465,21 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:23419: result: $cf_cv_working_poll" >&5 ++echo "$as_me:23468: result: $cf_cv_working_poll" >&5 + echo "${ECHO_T}$cf_cv_working_poll" >&6 + test "$cf_cv_working_poll" = "yes" && + cat >>confdefs.h <<\EOF + #define HAVE_WORKING_POLL 1 + EOF + +-echo "$as_me:23426: checking for va_copy" >&5 ++echo "$as_me:23475: checking for va_copy" >&5 + echo $ECHO_N "checking for va_copy... $ECHO_C" >&6 + if test "${cf_cv_have_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23433 "configure" ++#line 23482 "configure" + #include "confdefs.h" + + #include +@@ -23447,16 +23496,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23450: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23499: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23453: \$? = $ac_status" >&5 ++ echo "$as_me:23502: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23456: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23505: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23459: \$? = $ac_status" >&5 ++ echo "$as_me:23508: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_va_copy=yes + else +@@ -23466,7 +23515,7 @@ cf_cv_have_va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23469: result: $cf_cv_have_va_copy" >&5 ++echo "$as_me:23518: result: $cf_cv_have_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have_va_copy" >&6 + + if test "$cf_cv_have_va_copy" = yes; +@@ -23478,14 +23527,14 @@ EOF + + else # !cf_cv_have_va_copy + +-echo "$as_me:23481: checking for __va_copy" >&5 ++echo "$as_me:23530: checking for __va_copy" >&5 + echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23488 "configure" ++#line 23537 "configure" + #include "confdefs.h" + + #include +@@ -23502,16 +23551,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23505: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23554: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23508: \$? = $ac_status" >&5 ++ echo "$as_me:23557: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23511: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23560: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23514: \$? = $ac_status" >&5 ++ echo "$as_me:23563: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___va_copy=yes + else +@@ -23521,7 +23570,7 @@ cf_cv_have___va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23524: result: $cf_cv_have___va_copy" >&5 ++echo "$as_me:23573: result: $cf_cv_have___va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___va_copy" >&6 + + if test "$cf_cv_have___va_copy" = yes +@@ -23533,14 +23582,14 @@ EOF + + else # !cf_cv_have___va_copy + +-echo "$as_me:23536: checking for __builtin_va_copy" >&5 ++echo "$as_me:23585: checking for __builtin_va_copy" >&5 + echo $ECHO_N "checking for __builtin_va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___builtin_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23543 "configure" ++#line 23592 "configure" + #include "confdefs.h" + + #include +@@ -23557,16 +23606,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23560: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23609: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23563: \$? = $ac_status" >&5 ++ echo "$as_me:23612: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23566: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23615: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23569: \$? = $ac_status" >&5 ++ echo "$as_me:23618: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___builtin_va_copy=yes + else +@@ -23576,7 +23625,7 @@ cf_cv_have___builtin_va_copy=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23579: result: $cf_cv_have___builtin_va_copy" >&5 ++echo "$as_me:23628: result: $cf_cv_have___builtin_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___builtin_va_copy" >&6 + + test "$cf_cv_have___builtin_va_copy" = yes && +@@ -23594,14 +23643,14 @@ case "${cf_cv_have_va_copy}${cf_cv_have___va_copy}${cf_cv_have___builtin_va_copy + ;; + + (*) +- echo "$as_me:23597: checking if we can simply copy va_list" >&5 ++ echo "$as_me:23646: checking if we can simply copy va_list" >&5 + echo $ECHO_N "checking if we can simply copy va_list... $ECHO_C" >&6 + if test "${cf_cv_pointer_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23604 "configure" ++#line 23653 "configure" + #include "confdefs.h" + + #include +@@ -23618,16 +23667,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23621: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23670: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23624: \$? = $ac_status" >&5 ++ echo "$as_me:23673: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23627: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23676: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23630: \$? = $ac_status" >&5 ++ echo "$as_me:23679: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_pointer_va_list=yes + else +@@ -23637,19 +23686,19 @@ cf_cv_pointer_va_list=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23640: result: $cf_cv_pointer_va_list" >&5 ++echo "$as_me:23689: result: $cf_cv_pointer_va_list" >&5 + echo "${ECHO_T}$cf_cv_pointer_va_list" >&6 + + if test "$cf_cv_pointer_va_list" = no + then +- echo "$as_me:23645: checking if we can copy va_list indirectly" >&5 ++ echo "$as_me:23694: checking if we can copy va_list indirectly" >&5 + echo $ECHO_N "checking if we can copy va_list indirectly... $ECHO_C" >&6 + if test "${cf_cv_array_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23652 "configure" ++#line 23701 "configure" + #include "confdefs.h" + + #include +@@ -23666,16 +23715,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23669: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23718: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23672: \$? = $ac_status" >&5 ++ echo "$as_me:23721: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23675: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23724: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23678: \$? = $ac_status" >&5 ++ echo "$as_me:23727: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_array_va_list=yes + else +@@ -23685,7 +23734,7 @@ cf_cv_array_va_list=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23688: result: $cf_cv_array_va_list" >&5 ++echo "$as_me:23737: result: $cf_cv_array_va_list" >&5 + echo "${ECHO_T}$cf_cv_array_va_list" >&6 + test "$cf_cv_array_va_list" = yes && + cat >>confdefs.h <<\EOF +@@ -23696,13 +23745,13 @@ EOF + ;; + esac + +-echo "$as_me:23699: checking for pid_t" >&5 ++echo "$as_me:23748: checking for pid_t" >&5 + echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 + if test "${ac_cv_type_pid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23705 "configure" ++#line 23754 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -23717,16 +23766,16 @@ if (sizeof (pid_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23720: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23769: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23723: \$? = $ac_status" >&5 ++ echo "$as_me:23772: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23726: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23775: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23729: \$? = $ac_status" >&5 ++ echo "$as_me:23778: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_pid_t=yes + else +@@ -23736,7 +23785,7 @@ ac_cv_type_pid_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:23739: result: $ac_cv_type_pid_t" >&5 ++echo "$as_me:23788: result: $ac_cv_type_pid_t" >&5 + echo "${ECHO_T}$ac_cv_type_pid_t" >&6 + if test "$ac_cv_type_pid_t" = yes; then + : +@@ -23751,23 +23800,23 @@ fi + for ac_header in unistd.h vfork.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:23754: checking for $ac_header" >&5 ++echo "$as_me:23803: 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 23760 "configure" ++#line 23809 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:23764: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:23813: \"$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:23770: \$? = $ac_status" >&5 ++ echo "$as_me:23819: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -23786,7 +23835,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:23789: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:23838: 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 <&5 ++echo "$as_me:23851: 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 23808 "configure" ++#line 23857 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23836,16 +23885,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23839: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23888: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23842: \$? = $ac_status" >&5 ++ echo "$as_me:23891: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23845: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23894: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23848: \$? = $ac_status" >&5 ++ echo "$as_me:23897: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -23855,7 +23904,7 @@ eval "$as_ac_var=no" + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23858: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:23907: 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 <&5 ++ echo "$as_me:23919: checking for working fork" >&5 + echo $ECHO_N "checking for working fork... $ECHO_C" >&6 + if test "${ac_cv_func_fork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23890,15 +23939,15 @@ else + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23893: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23942: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23896: \$? = $ac_status" >&5 ++ echo "$as_me:23945: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23898: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23947: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23901: \$? = $ac_status" >&5 ++ echo "$as_me:23950: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fork_works=yes + else +@@ -23910,7 +23959,7 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:23913: result: $ac_cv_func_fork_works" >&5 ++echo "$as_me:23962: result: $ac_cv_func_fork_works" >&5 + echo "${ECHO_T}$ac_cv_func_fork_works" >&6 + + fi +@@ -23924,12 +23973,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_fork_works=yes + ;; + esac +- { echo "$as_me:23927: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:23976: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} + fi + ac_cv_func_vfork_works=$ac_cv_func_vfork + if test "x$ac_cv_func_vfork" = xyes; then +- echo "$as_me:23932: checking for working vfork" >&5 ++ echo "$as_me:23981: checking for working vfork" >&5 + echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 + if test "${ac_cv_func_vfork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23938,7 +23987,7 @@ else + ac_cv_func_vfork_works=cross + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23941 "configure" ++#line 23990 "configure" + #include "confdefs.h" + /* Thanks to Paul Eggert for this test. */ + #include +@@ -24035,15 +24084,15 @@ main (void) + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24038: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24087: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24041: \$? = $ac_status" >&5 ++ echo "$as_me:24090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24043: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24092: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24046: \$? = $ac_status" >&5 ++ echo "$as_me:24095: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_vfork_works=yes + else +@@ -24055,13 +24104,13 @@ fi + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:24058: result: $ac_cv_func_vfork_works" >&5 ++echo "$as_me:24107: result: $ac_cv_func_vfork_works" >&5 + echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 + + fi; + if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_vfork_works=ac_cv_func_vfork +- { echo "$as_me:24064: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:24113: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} + fi + +@@ -24086,7 +24135,7 @@ EOF + + fi + +-echo "$as_me:24089: checking if fopen accepts explicit binary mode" >&5 ++echo "$as_me:24138: checking if fopen accepts explicit binary mode" >&5 + echo $ECHO_N "checking if fopen accepts explicit binary mode... $ECHO_C" >&6 + if test "${cf_cv_fopen_bin_r+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24096,7 +24145,7 @@ else + cf_cv_fopen_bin_r=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24099 "configure" ++#line 24148 "configure" + #include "confdefs.h" + + #include +@@ -24129,15 +24178,15 @@ int main(void) { + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24132: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24181: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24135: \$? = $ac_status" >&5 ++ echo "$as_me:24184: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24137: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24186: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24140: \$? = $ac_status" >&5 ++ echo "$as_me:24189: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fopen_bin_r=yes + else +@@ -24150,7 +24199,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes + fi + + fi +-echo "$as_me:24153: result: $cf_cv_fopen_bin_r" >&5 ++echo "$as_me:24202: result: $cf_cv_fopen_bin_r" >&5 + echo "${ECHO_T}$cf_cv_fopen_bin_r" >&6 + test "x$cf_cv_fopen_bin_r" != xno && + cat >>confdefs.h <<\EOF +@@ -24159,7 +24208,7 @@ EOF + + # special check for test/ditto.c + +-echo "$as_me:24162: checking for openpty in -lutil" >&5 ++echo "$as_me:24211: checking for openpty in -lutil" >&5 + echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 + if test "${ac_cv_lib_util_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24167,7 +24216,7 @@ else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lutil $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24170 "configure" ++#line 24219 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -24186,16 +24235,16 @@ openpty (); + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24189: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24238: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24192: \$? = $ac_status" >&5 ++ echo "$as_me:24241: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24195: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24244: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24198: \$? = $ac_status" >&5 ++ echo "$as_me:24247: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_util_openpty=yes + else +@@ -24206,7 +24255,7 @@ fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:24209: result: $ac_cv_lib_util_openpty" >&5 ++echo "$as_me:24258: result: $ac_cv_lib_util_openpty" >&5 + echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 + if test "$ac_cv_lib_util_openpty" = yes; then + cf_cv_lib_util=yes +@@ -24214,7 +24263,7 @@ else + cf_cv_lib_util=no + fi + +-echo "$as_me:24217: checking for openpty header" >&5 ++echo "$as_me:24266: checking for openpty header" >&5 + echo $ECHO_N "checking for openpty header... $ECHO_C" >&6 + if test "${cf_cv_func_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24241,7 +24290,7 @@ LIBS="$cf_add_libs" + for cf_header in pty.h libutil.h util.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24244 "configure" ++#line 24293 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -24258,16 +24307,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24261: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24310: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24264: \$? = $ac_status" >&5 ++ echo "$as_me:24313: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24267: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24316: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24270: \$? = $ac_status" >&5 ++ echo "$as_me:24319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_func_openpty=$cf_header +@@ -24285,7 +24334,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" + + fi +-echo "$as_me:24288: result: $cf_cv_func_openpty" >&5 ++echo "$as_me:24337: result: $cf_cv_func_openpty" >&5 + echo "${ECHO_T}$cf_cv_func_openpty" >&6 + + if test "$cf_cv_func_openpty" != no ; then +@@ -24358,7 +24407,7 @@ if test -n "$with_hashed_db/include" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24361 "configure" ++#line 24410 "configure" + #include "confdefs.h" + #include + int +@@ -24370,16 +24419,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24373: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24422: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24376: \$? = $ac_status" >&5 ++ echo "$as_me:24425: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24379: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24428: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24382: \$? = $ac_status" >&5 ++ echo "$as_me:24431: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -24396,7 +24445,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:24399: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:24448: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -24432,7 +24481,7 @@ if test -n "$with_hashed_db/lib" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:24435: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:24484: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -24443,7 +24492,7 @@ fi + else + case "$with_hashed_db" in + (./*|../*|/*) +- { echo "$as_me:24446: WARNING: no such directory $with_hashed_db" >&5 ++ { echo "$as_me:24495: WARNING: no such directory $with_hashed_db" >&5 + echo "$as_me: WARNING: no such directory $with_hashed_db" >&2;} + ;; + (*) +@@ -24515,7 +24564,7 @@ if test -n "$cf_item" ; then + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24518 "configure" ++#line 24567 "configure" + #include "confdefs.h" + #include + int +@@ -24527,16 +24576,16 @@ printf("Hello") + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24530: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24579: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24533: \$? = $ac_status" >&5 ++ echo "$as_me:24582: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24536: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24585: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24539: \$? = $ac_status" >&5 ++ echo "$as_me:24588: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -24553,7 +24602,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:24556: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:24605: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -24633,7 +24682,7 @@ if test -n "$cf_item" ; then + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:24636: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:24685: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -24650,23 +24699,23 @@ fi + fi + esac + +-echo "$as_me:24653: checking for db.h" >&5 ++echo "$as_me:24702: checking for db.h" >&5 + echo $ECHO_N "checking for db.h... $ECHO_C" >&6 + if test "${ac_cv_header_db_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24659 "configure" ++#line 24708 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:24663: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:24712: \"$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:24669: \$? = $ac_status" >&5 ++ echo "$as_me:24718: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -24685,11 +24734,11 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:24688: result: $ac_cv_header_db_h" >&5 ++echo "$as_me:24737: result: $ac_cv_header_db_h" >&5 + echo "${ECHO_T}$ac_cv_header_db_h" >&6 + if test "$ac_cv_header_db_h" = yes; then + +-echo "$as_me:24692: checking for version of db" >&5 ++echo "$as_me:24741: checking for version of db" >&5 + echo $ECHO_N "checking for version of db... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24700,10 +24749,10 @@ cf_cv_hashed_db_version=unknown + for cf_db_version in 1 2 3 4 5 6 + do + +-echo "${as_me:-configure}:24703: testing checking for db version $cf_db_version ..." 1>&5 ++echo "${as_me:-configure}:24752: testing checking for db version $cf_db_version ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24706 "configure" ++#line 24755 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24733,16 +24782,16 @@ DBT *foo = 0 + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24736: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24785: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24739: \$? = $ac_status" >&5 ++ echo "$as_me:24788: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24742: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24791: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24745: \$? = $ac_status" >&5 ++ echo "$as_me:24794: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_hashed_db_version=$cf_db_version +@@ -24756,16 +24805,16 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:24759: result: $cf_cv_hashed_db_version" >&5 ++echo "$as_me:24808: result: $cf_cv_hashed_db_version" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_version" >&6 + + if test "$cf_cv_hashed_db_version" = unknown ; then +- { { echo "$as_me:24763: error: Cannot determine version of db" >&5 ++ { { echo "$as_me:24812: error: Cannot determine version of db" >&5 + echo "$as_me: error: Cannot determine version of db" >&2;} + { (exit 1); exit 1; }; } + else + +-echo "$as_me:24768: checking for db libraries" >&5 ++echo "$as_me:24817: checking for db libraries" >&5 + echo $ECHO_N "checking for db libraries... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24795,10 +24844,10 @@ LIBS="$cf_add_libs" + + fi + +-echo "${as_me:-configure}:24798: testing checking for library $cf_db_libs ..." 1>&5 ++echo "${as_me:-configure}:24847: testing checking for library $cf_db_libs ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24801 "configure" ++#line 24850 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24853,16 +24902,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24856: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24905: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24859: \$? = $ac_status" >&5 ++ echo "$as_me:24908: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24862: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24911: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24865: \$? = $ac_status" >&5 ++ echo "$as_me:24914: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + if test -n "$cf_db_libs" ; then +@@ -24882,11 +24931,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + done + + fi +-echo "$as_me:24885: result: $cf_cv_hashed_db_libs" >&5 ++echo "$as_me:24934: result: $cf_cv_hashed_db_libs" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_libs" >&6 + + if test "$cf_cv_hashed_db_libs" = unknown ; then +- { { echo "$as_me:24889: error: Cannot determine library for db" >&5 ++ { { echo "$as_me:24938: error: Cannot determine library for db" >&5 + echo "$as_me: error: Cannot determine library for db" >&2;} + { (exit 1); exit 1; }; } + elif test "$cf_cv_hashed_db_libs" != default ; then +@@ -24912,7 +24961,7 @@ fi + + else + +- { { echo "$as_me:24915: error: Cannot find db.h" >&5 ++ { { echo "$as_me:24964: error: Cannot find db.h" >&5 + echo "$as_me: error: Cannot find db.h" >&2;} + { (exit 1); exit 1; }; } + +@@ -24927,7 +24976,7 @@ fi + + # Just in case, check if the C compiler has a bool type. + +-echo "$as_me:24930: checking if we should include stdbool.h" >&5 ++echo "$as_me:24979: checking if we should include stdbool.h" >&5 + echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 + + if test "${cf_cv_header_stdbool_h+set}" = set; then +@@ -24935,7 +24984,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24938 "configure" ++#line 24987 "configure" + #include "confdefs.h" + + int +@@ -24947,23 +24996,23 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24950: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24999: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24953: \$? = $ac_status" >&5 ++ echo "$as_me:25002: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24956: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25005: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24959: \$? = $ac_status" >&5 ++ echo "$as_me:25008: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=0 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24966 "configure" ++#line 25015 "configure" + #include "confdefs.h" + + #ifndef __BEOS__ +@@ -24979,16 +25028,16 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24982: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25031: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24985: \$? = $ac_status" >&5 ++ echo "$as_me:25034: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24988: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25037: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24991: \$? = $ac_status" >&5 ++ echo "$as_me:25040: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=1 + else +@@ -25002,13 +25051,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:25005: result: yes" >&5 ++then echo "$as_me:25054: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25007: result: no" >&5 ++else echo "$as_me:25056: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25011: checking for builtin bool type" >&5 ++echo "$as_me:25060: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 + + if test "${cf_cv_cc_bool_type+set}" = set; then +@@ -25016,7 +25065,7 @@ if test "${cf_cv_cc_bool_type+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25019 "configure" ++#line 25068 "configure" + #include "confdefs.h" + + #include +@@ -25031,16 +25080,16 @@ bool x = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25034: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25083: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25037: \$? = $ac_status" >&5 ++ echo "$as_me:25086: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25040: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25089: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25043: \$? = $ac_status" >&5 ++ echo "$as_me:25092: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cc_bool_type=1 + else +@@ -25053,9 +25102,9 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_cc_bool_type" = 1 +-then echo "$as_me:25056: result: yes" >&5 ++then echo "$as_me:25105: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25058: result: no" >&5 ++else echo "$as_me:25107: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -25072,10 +25121,10 @@ if test -n "$GXX" ; then + + cf_save="$LIBS" + LIBS="$LIBS $CXXLIBS" +- echo "$as_me:25075: checking if we already have C++ library" >&5 ++ echo "$as_me:25124: checking if we already have C++ library" >&5 + echo $ECHO_N "checking if we already have C++ library... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25078 "configure" ++#line 25127 "configure" + #include "confdefs.h" + + #include +@@ -25089,16 +25138,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25092: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25141: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25095: \$? = $ac_status" >&5 ++ echo "$as_me:25144: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25098: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25147: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25101: \$? = $ac_status" >&5 ++ echo "$as_me:25150: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_libstdcpp=yes + else +@@ -25107,7 +25156,7 @@ cat "conftest.$ac_ext" >&5 + cf_have_libstdcpp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:25110: result: $cf_have_libstdcpp" >&5 ++ echo "$as_me:25159: result: $cf_have_libstdcpp" >&5 + echo "${ECHO_T}$cf_have_libstdcpp" >&6 + LIBS="$cf_save" + +@@ -25126,7 +25175,7 @@ echo "${ECHO_T}$cf_have_libstdcpp" >&6 + ;; + esac + +- echo "$as_me:25129: checking for library $cf_stdcpp_libname" >&5 ++ echo "$as_me:25178: checking for library $cf_stdcpp_libname" >&5 + echo $ECHO_N "checking for library $cf_stdcpp_libname... $ECHO_C" >&6 + if test "${cf_cv_libstdcpp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25152,7 +25201,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25155 "configure" ++#line 25204 "configure" + #include "confdefs.h" + + #include +@@ -25166,16 +25215,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25169: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25218: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25172: \$? = $ac_status" >&5 ++ echo "$as_me:25221: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25175: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25224: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25178: \$? = $ac_status" >&5 ++ echo "$as_me:25227: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_libstdcpp=yes + else +@@ -25187,7 +25236,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save" + + fi +-echo "$as_me:25190: result: $cf_cv_libstdcpp" >&5 ++echo "$as_me:25239: result: $cf_cv_libstdcpp" >&5 + echo "${ECHO_T}$cf_cv_libstdcpp" >&6 + test "$cf_cv_libstdcpp" = yes && { + cf_add_libs="$CXXLIBS" +@@ -25209,7 +25258,7 @@ CXXLIBS="$cf_add_libs" + fi + fi + +- echo "$as_me:25212: checking whether $CXX understands -c and -o together" >&5 ++ echo "$as_me:25261: checking whether $CXX understands -c and -o together" >&5 + echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6 + if test "${cf_cv_prog_CXX_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25224,15 +25273,15 @@ CF_EOF + # We do the test twice because some compilers refuse to overwrite an + # existing .o file with -o, though they will create one. + ac_try='$CXX $CXXFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +-if { (eval echo "$as_me:25227: \"$ac_try\"") >&5 ++if { (eval echo "$as_me:25276: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25230: \$? = $ac_status" >&5 ++ echo "$as_me:25279: \$? = $ac_status" >&5 + (exit "$ac_status"); } && +- test -f conftest2.$ac_objext && { (eval echo "$as_me:25232: \"$ac_try\"") >&5 ++ test -f conftest2.$ac_objext && { (eval echo "$as_me:25281: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25235: \$? = $ac_status" >&5 ++ echo "$as_me:25284: \$? = $ac_status" >&5 + (exit "$ac_status"); }; + then + eval cf_cv_prog_CXX_c_o=yes +@@ -25243,10 +25292,10 @@ rm -rf ./conftest* + + fi + if test "$cf_cv_prog_CXX_c_o" = yes; then +- echo "$as_me:25246: result: yes" >&5 ++ echo "$as_me:25295: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else +- echo "$as_me:25249: result: no" >&5 ++ echo "$as_me:25298: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -25266,7 +25315,7 @@ case "$cf_cv_system_name" in + ;; + esac + if test "$GXX" = yes; then +- echo "$as_me:25269: checking for lib$cf_gpp_libname" >&5 ++ echo "$as_me:25318: checking for lib$cf_gpp_libname" >&5 + echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 + cf_save="$LIBS" + +@@ -25287,7 +25336,7 @@ done + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25290 "configure" ++#line 25339 "configure" + #include "confdefs.h" + + #include <$cf_gpp_libname/builtin.h> +@@ -25301,16 +25350,16 @@ two_arg_error_handler_t foo2 = lib_error_handler + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25304: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25353: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25307: \$? = $ac_status" >&5 ++ echo "$as_me:25356: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25310: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25359: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25313: \$? = $ac_status" >&5 ++ echo "$as_me:25362: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -25347,7 +25396,7 @@ else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25350 "configure" ++#line 25399 "configure" + #include "confdefs.h" + + #include +@@ -25361,16 +25410,16 @@ two_arg_error_handler_t foo2 = lib_error_handler + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25364: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25413: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25367: \$? = $ac_status" >&5 ++ echo "$as_me:25416: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25370: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25419: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25373: \$? = $ac_status" >&5 ++ echo "$as_me:25422: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -25403,7 +25452,7 @@ 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" +- echo "$as_me:25406: result: $cf_cxx_library" >&5 ++ echo "$as_me:25455: result: $cf_cxx_library" >&5 + echo "${ECHO_T}$cf_cxx_library" >&6 + fi + +@@ -25419,7 +25468,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' + ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" +-echo "$as_me:25422: checking how to run the C++ preprocessor" >&5 ++echo "$as_me:25471: checking how to run the C++ preprocessor" >&5 + echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 + if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then +@@ -25436,18 +25485,18 @@ do + # 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 25439 "configure" ++#line 25488 "configure" + #include "confdefs.h" + #include + Syntax error + _ACEOF +-if { (eval echo "$as_me:25444: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25493: \"$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:25450: \$? = $ac_status" >&5 ++ echo "$as_me:25499: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25470,17 +25519,17 @@ 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 25473 "configure" ++#line 25522 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:25477: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25526: \"$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:25483: \$? = $ac_status" >&5 ++ echo "$as_me:25532: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25517,7 +25566,7 @@ fi + else + ac_cv_prog_CXXCPP=$CXXCPP + fi +-echo "$as_me:25520: result: $CXXCPP" >&5 ++echo "$as_me:25569: result: $CXXCPP" >&5 + echo "${ECHO_T}$CXXCPP" >&6 + ac_preproc_ok=false + for ac_cxx_preproc_warn_flag in '' yes +@@ -25527,18 +25576,18 @@ do + # 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 25530 "configure" ++#line 25579 "configure" + #include "confdefs.h" + #include + Syntax error + _ACEOF +-if { (eval echo "$as_me:25535: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25584: \"$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:25541: \$? = $ac_status" >&5 ++ echo "$as_me:25590: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25561,17 +25610,17 @@ 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 25564 "configure" ++#line 25613 "configure" + #include "confdefs.h" + #include + _ACEOF +-if { (eval echo "$as_me:25568: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25617: \"$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:25574: \$? = $ac_status" >&5 ++ echo "$as_me:25623: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25599,7 +25648,7 @@ rm -f conftest.err "conftest.$ac_ext" + if $ac_preproc_ok; then + : + else +- { { echo "$as_me:25602: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 ++ { { echo "$as_me:25651: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 + echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -25614,23 +25663,23 @@ ac_main_return="return" + for ac_header in typeinfo + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:25617: checking for $ac_header" >&5 ++echo "$as_me:25666: 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 25623 "configure" ++#line 25672 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:25627: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25676: \"$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:25633: \$? = $ac_status" >&5 ++ echo "$as_me:25682: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25649,7 +25698,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:25652: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:25701: 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 <&5 ++echo "$as_me:25714: 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 25671 "configure" ++#line 25720 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:25675: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25724: \"$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:25681: \$? = $ac_status" >&5 ++ echo "$as_me:25730: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -25697,7 +25746,7 @@ else + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:25700: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:25749: 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 <&5 ++ echo "$as_me:25760: checking if iostream uses std-namespace" >&5 + echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25714 "configure" ++#line 25763 "configure" + #include "confdefs.h" + + #include +@@ -25728,16 +25777,16 @@ cerr << "testing" << endl; + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25731: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25780: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25734: \$? = $ac_status" >&5 ++ echo "$as_me:25783: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25737: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25786: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25740: \$? = $ac_status" >&5 ++ echo "$as_me:25789: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_iostream_namespace=yes + else +@@ -25746,7 +25795,7 @@ cat "conftest.$ac_ext" >&5 + cf_iostream_namespace=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:25749: result: $cf_iostream_namespace" >&5 ++ echo "$as_me:25798: result: $cf_iostream_namespace" >&5 + echo "${ECHO_T}$cf_iostream_namespace" >&6 + if test "$cf_iostream_namespace" = yes ; then + +@@ -25757,7 +25806,7 @@ EOF + fi + fi + +-echo "$as_me:25760: checking if we should include stdbool.h" >&5 ++echo "$as_me:25809: checking if we should include stdbool.h" >&5 + echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 + + if test "${cf_cv_header_stdbool_h+set}" = set; then +@@ -25765,7 +25814,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25768 "configure" ++#line 25817 "configure" + #include "confdefs.h" + + int +@@ -25777,23 +25826,23 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25780: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25829: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25783: \$? = $ac_status" >&5 ++ echo "$as_me:25832: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25786: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25835: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25789: \$? = $ac_status" >&5 ++ echo "$as_me:25838: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=0 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25796 "configure" ++#line 25845 "configure" + #include "confdefs.h" + + #ifndef __BEOS__ +@@ -25809,16 +25858,16 @@ bool foo = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25812: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25861: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25815: \$? = $ac_status" >&5 ++ echo "$as_me:25864: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25818: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25867: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25821: \$? = $ac_status" >&5 ++ echo "$as_me:25870: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_header_stdbool_h=1 + else +@@ -25832,13 +25881,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:25835: result: yes" >&5 ++then echo "$as_me:25884: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25837: result: no" >&5 ++else echo "$as_me:25886: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25841: checking for builtin bool type" >&5 ++echo "$as_me:25890: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 + + if test "${cf_cv_builtin_bool+set}" = set; then +@@ -25846,7 +25895,7 @@ if test "${cf_cv_builtin_bool+set}" = set; then + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25849 "configure" ++#line 25898 "configure" + #include "confdefs.h" + + #include +@@ -25861,16 +25910,16 @@ bool x = false + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25864: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25913: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25867: \$? = $ac_status" >&5 ++ echo "$as_me:25916: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25870: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25919: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25873: \$? = $ac_status" >&5 ++ echo "$as_me:25922: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_builtin_bool=1 + else +@@ -25883,19 +25932,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + + if test "$cf_cv_builtin_bool" = 1 +-then echo "$as_me:25886: result: yes" >&5 ++then echo "$as_me:25935: result: yes" >&5 + echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25888: result: no" >&5 ++else echo "$as_me:25937: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +-echo "$as_me:25892: checking for bool" >&5 ++echo "$as_me:25941: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25898 "configure" ++#line 25947 "configure" + #include "confdefs.h" + + #include +@@ -25931,16 +25980,16 @@ if (sizeof (bool)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25934: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25983: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25937: \$? = $ac_status" >&5 ++ echo "$as_me:25986: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25940: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25989: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25943: \$? = $ac_status" >&5 ++ echo "$as_me:25992: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -25950,10 +25999,10 @@ ac_cv_type_bool=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:25953: result: $ac_cv_type_bool" >&5 ++echo "$as_me:26002: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:25956: checking size of bool" >&5 ++echo "$as_me:26005: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25962,7 +26011,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25965 "configure" ++#line 26014 "configure" + #include "confdefs.h" + + #include +@@ -25995,21 +26044,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25998: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26047: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26001: \$? = $ac_status" >&5 ++ echo "$as_me:26050: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26004: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26053: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26007: \$? = $ac_status" >&5 ++ echo "$as_me:26056: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26012 "configure" ++#line 26061 "configure" + #include "confdefs.h" + + #include +@@ -26042,16 +26091,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26045: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26094: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26048: \$? = $ac_status" >&5 ++ echo "$as_me:26097: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26051: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26100: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26054: \$? = $ac_status" >&5 ++ echo "$as_me:26103: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -26067,7 +26116,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26070 "configure" ++#line 26119 "configure" + #include "confdefs.h" + + #include +@@ -26100,16 +26149,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26103: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26152: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26106: \$? = $ac_status" >&5 ++ echo "$as_me:26155: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26109: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26158: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26112: \$? = $ac_status" >&5 ++ echo "$as_me:26161: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -26125,7 +26174,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26128 "configure" ++#line 26177 "configure" + #include "confdefs.h" + + #include +@@ -26158,16 +26207,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26161: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26210: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26164: \$? = $ac_status" >&5 ++ echo "$as_me:26213: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26167: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26216: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26170: \$? = $ac_status" >&5 ++ echo "$as_me:26219: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -26180,12 +26229,12 @@ done + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:26183: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:26232: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26188 "configure" ++#line 26237 "configure" + #include "confdefs.h" + + #include +@@ -26222,15 +26271,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26225: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26274: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26228: \$? = $ac_status" >&5 ++ echo "$as_me:26277: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26230: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26279: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26233: \$? = $ac_status" >&5 ++ echo "$as_me:26282: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -26246,13 +26295,13 @@ else + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:26249: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:26298: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:26304: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26271,7 +26320,7 @@ else + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26274 "configure" ++#line 26323 "configure" + #include "confdefs.h" + + #include +@@ -26313,15 +26362,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26316: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26365: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26319: \$? = $ac_status" >&5 ++ echo "$as_me:26368: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26321: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26370: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26324: \$? = $ac_status" >&5 ++ echo "$as_me:26373: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -26338,19 +26387,19 @@ fi + rm -f cf_test.out + + fi +-echo "$as_me:26341: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:26390: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:26348: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:26397: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi + +-echo "$as_me:26353: checking for special defines needed for etip.h" >&5 ++echo "$as_me:26402: checking for special defines needed for etip.h" >&5 + echo $ECHO_N "checking for special defines needed for etip.h... $ECHO_C" >&6 + cf_save_CXXFLAGS="$CXXFLAGS" + cf_result="none" +@@ -26368,7 +26417,7 @@ do + test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}" + test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26371 "configure" ++#line 26420 "configure" + #include "confdefs.h" + + #include +@@ -26382,16 +26431,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26385: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26434: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26388: \$? = $ac_status" >&5 ++ echo "$as_me:26437: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26391: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26440: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26394: \$? = $ac_status" >&5 ++ echo "$as_me:26443: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + test -n "$cf_math" && cat >>confdefs.h <&5 ++echo "$as_me:26464: result: $cf_result" >&5 + echo "${ECHO_T}$cf_result" >&6 + CXXFLAGS="$cf_save_CXXFLAGS" + + if test -n "$CXX"; then +-echo "$as_me:26420: checking if $CXX accepts override keyword" >&5 ++echo "$as_me:26469: checking if $CXX accepts override keyword" >&5 + echo $ECHO_N "checking if $CXX accepts override keyword... $ECHO_C" >&6 + if test "${cf_cv_cpp_override+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26434,7 +26483,7 @@ ac_main_return="return" + cf_cv_cpp_override=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26437 "configure" ++#line 26486 "configure" + #include "confdefs.h" + + class base +@@ -26453,15 +26502,15 @@ int main(void) { } + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26456: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26505: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26459: \$? = $ac_status" >&5 ++ echo "$as_me:26508: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26461: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26510: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26464: \$? = $ac_status" >&5 ++ echo "$as_me:26513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_override=yes + else +@@ -26480,7 +26529,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26483: result: $cf_cv_cpp_override" >&5 ++echo "$as_me:26532: result: $cf_cv_cpp_override" >&5 + echo "${ECHO_T}$cf_cv_cpp_override" >&6 + fi + test "$cf_cv_cpp_override" = yes && +@@ -26489,7 +26538,7 @@ cat >>confdefs.h <<\EOF + EOF + + if test -n "$CXX"; then +-echo "$as_me:26492: checking if $CXX accepts parameter initialization" >&5 ++echo "$as_me:26541: checking if $CXX accepts parameter initialization" >&5 + echo $ECHO_N "checking if $CXX accepts parameter initialization... $ECHO_C" >&6 + if test "${cf_cv_cpp_param_init+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26506,7 +26555,7 @@ ac_main_return="return" + cf_cv_cpp_param_init=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26509 "configure" ++#line 26558 "configure" + #include "confdefs.h" + + class TEST { +@@ -26525,15 +26574,15 @@ int main(void) { } + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:26528: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26577: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26531: \$? = $ac_status" >&5 ++ echo "$as_me:26580: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:26533: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26582: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26536: \$? = $ac_status" >&5 ++ echo "$as_me:26585: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_param_init=yes + else +@@ -26552,7 +26601,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26555: result: $cf_cv_cpp_param_init" >&5 ++echo "$as_me:26604: result: $cf_cv_cpp_param_init" >&5 + echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 + fi + test "$cf_cv_cpp_param_init" = yes && +@@ -26562,7 +26611,7 @@ EOF + + if test -n "$CXX"; then + +-echo "$as_me:26565: checking if $CXX accepts static_cast" >&5 ++echo "$as_me:26614: checking if $CXX accepts static_cast" >&5 + echo $ECHO_N "checking if $CXX accepts static_cast... $ECHO_C" >&6 + if test "${cf_cv_cpp_static_cast+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26576,7 +26625,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26579 "configure" ++#line 26628 "configure" + #include "confdefs.h" + + class NCursesPanel +@@ -26620,16 +26669,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26623: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26672: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26626: \$? = $ac_status" >&5 ++ echo "$as_me:26675: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26629: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26678: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26632: \$? = $ac_status" >&5 ++ echo "$as_me:26681: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_static_cast=yes + else +@@ -26647,7 +26696,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" + + fi +-echo "$as_me:26650: result: $cf_cv_cpp_static_cast" >&5 ++echo "$as_me:26699: result: $cf_cv_cpp_static_cast" >&5 + echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 + + fi +@@ -26696,13 +26745,13 @@ else + else + if test "$cf_cv_header_stdbool_h" = 1 ; then + +-echo "$as_me:26699: checking for bool" >&5 ++echo "$as_me:26748: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26705 "configure" ++#line 26754 "configure" + #include "confdefs.h" + + #include +@@ -26738,16 +26787,16 @@ if (sizeof (bool)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26741: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26790: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26744: \$? = $ac_status" >&5 ++ echo "$as_me:26793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26747: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26796: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26750: \$? = $ac_status" >&5 ++ echo "$as_me:26799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -26757,10 +26806,10 @@ ac_cv_type_bool=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:26760: result: $ac_cv_type_bool" >&5 ++echo "$as_me:26809: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:26763: checking size of bool" >&5 ++echo "$as_me:26812: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26769,7 +26818,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26772 "configure" ++#line 26821 "configure" + #include "confdefs.h" + + #include +@@ -26802,21 +26851,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26805: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26854: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26808: \$? = $ac_status" >&5 ++ echo "$as_me:26857: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26811: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26860: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26814: \$? = $ac_status" >&5 ++ echo "$as_me:26863: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26819 "configure" ++#line 26868 "configure" + #include "confdefs.h" + + #include +@@ -26849,16 +26898,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26852: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26901: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26855: \$? = $ac_status" >&5 ++ echo "$as_me:26904: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26858: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26907: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26861: \$? = $ac_status" >&5 ++ echo "$as_me:26910: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -26874,7 +26923,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26877 "configure" ++#line 26926 "configure" + #include "confdefs.h" + + #include +@@ -26907,16 +26956,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26910: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26959: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26913: \$? = $ac_status" >&5 ++ echo "$as_me:26962: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26916: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26965: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26919: \$? = $ac_status" >&5 ++ echo "$as_me:26968: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -26932,7 +26981,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26935 "configure" ++#line 26984 "configure" + #include "confdefs.h" + + #include +@@ -26965,16 +27014,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26968: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27017: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26971: \$? = $ac_status" >&5 ++ echo "$as_me:27020: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26974: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27023: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26977: \$? = $ac_status" >&5 ++ echo "$as_me:27026: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -26987,12 +27036,12 @@ done + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:26990: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:27039: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26995 "configure" ++#line 27044 "configure" + #include "confdefs.h" + + #include +@@ -27029,15 +27078,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27032: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27081: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27035: \$? = $ac_status" >&5 ++ echo "$as_me:27084: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27037: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27086: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27040: \$? = $ac_status" >&5 ++ echo "$as_me:27089: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -27053,13 +27102,13 @@ else + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:27056: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:27105: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <&5 ++echo "$as_me:27111: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27078,7 +27127,7 @@ else + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27081 "configure" ++#line 27130 "configure" + #include "confdefs.h" + + #include +@@ -27120,15 +27169,15 @@ int main(void) + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27123: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27172: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27126: \$? = $ac_status" >&5 ++ echo "$as_me:27175: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27128: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27177: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27131: \$? = $ac_status" >&5 ++ echo "$as_me:27180: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -27145,26 +27194,26 @@ fi + rm -f cf_test.out + + fi +-echo "$as_me:27148: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:27197: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:27155: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:27204: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi + + else +- echo "$as_me:27161: checking for fallback type of bool" >&5 ++ echo "$as_me:27210: checking for fallback type of bool" >&5 + echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6 + case "$host_cpu" in + (i?86) cf_cv_type_of_bool=char ;; + (*) cf_cv_type_of_bool=int ;; + esac +- echo "$as_me:27167: result: $cf_cv_type_of_bool" >&5 ++ echo "$as_me:27216: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + fi + fi +@@ -27193,7 +27242,7 @@ if test -f "${srcdir}/Ada95/Makefile.in" ; then + + if test "$cf_with_ada" != "no" ; then + if test "$with_libtool" != "no"; then +- { echo "$as_me:27196: WARNING: libtool does not support Ada - disabling feature" >&5 ++ { echo "$as_me:27245: WARNING: libtool does not support Ada - disabling feature" >&5 + echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;} + cf_with_ada=no + fi +@@ -27210,7 +27259,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- + unset cf_TEMP_gnat + # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. + set dummy $cf_prog_gnat; ac_word=$2 +-echo "$as_me:27213: checking for $ac_word" >&5 ++echo "$as_me:27262: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27227,7 +27276,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" +- echo "$as_me:27230: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:27279: found $ac_dir/$ac_word" >&5 + break + fi + done +@@ -27239,10 +27288,10 @@ fi + cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat + + if test -n "$cf_TEMP_gnat"; then +- echo "$as_me:27242: result: $cf_TEMP_gnat" >&5 ++ echo "$as_me:27291: result: $cf_TEMP_gnat" >&5 + echo "${ECHO_T}$cf_TEMP_gnat" >&6 + else +- echo "$as_me:27245: result: no" >&5 ++ echo "$as_me:27294: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -27252,7 +27301,7 @@ fi + unset cf_cv_gnat_version + unset cf_TEMP_gnat + +-echo "$as_me:27255: checking for $cf_prog_gnat version" >&5 ++echo "$as_me:27304: checking for $cf_prog_gnat version" >&5 + echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27263,7 +27312,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:27266: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:27315: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version +@@ -27292,7 +27341,7 @@ else + cd conftest.src + for cf_gprconfig in Ada C + do +- echo "$as_me:27295: checking for gprconfig name for $cf_gprconfig" >&5 ++ echo "$as_me:27344: checking for gprconfig name for $cf_gprconfig" >&5 + echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test "$cf_gprconfig" = C + then +@@ -27311,10 +27360,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 + if test -n "$cf_gprconfig_value" + then + eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" +- echo "$as_me:27314: result: $cf_gprconfig_value" >&5 ++ echo "$as_me:27363: result: $cf_gprconfig_value" >&5 + echo "${ECHO_T}$cf_gprconfig_value" >&6 + else +- echo "$as_me:27317: result: missing" >&5 ++ echo "$as_me:27366: result: missing" >&5 + echo "${ECHO_T}missing" >&6 + cf_ada_config="#" + break +@@ -27327,7 +27376,7 @@ echo "${ECHO_T}missing" >&6 + if test "x$cf_ada_config" != "x#" + then + +-echo "$as_me:27330: checking for gnat version" >&5 ++echo "$as_me:27379: checking for gnat version" >&5 + echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 + if test "${cf_cv_gnat_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27338,7 +27387,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ + sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` + + fi +-echo "$as_me:27341: result: $cf_cv_gnat_version" >&5 ++echo "$as_me:27390: result: $cf_cv_gnat_version" >&5 + echo "${ECHO_T}$cf_cv_gnat_version" >&6 + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + +@@ -27347,7 +27396,7 @@ case "$cf_cv_gnat_version" in + cf_cv_prog_gnat_correct=yes + ;; + (*) +- { echo "$as_me:27350: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 ++ { echo "$as_me:27399: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} + cf_cv_prog_gnat_correct=no + ;; +@@ -27355,7 +27404,7 @@ esac + + # Extract the first word of "m4", so it can be a program name with args. + set dummy m4; ac_word=$2 +-echo "$as_me:27358: checking for $ac_word" >&5 ++echo "$as_me:27407: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_M4_exists+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27370,7 +27419,7 @@ for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_M4_exists="yes" +-echo "$as_me:27373: found $ac_dir/$ac_word" >&5 ++echo "$as_me:27422: found $ac_dir/$ac_word" >&5 + break + done + +@@ -27379,20 +27428,20 @@ fi + fi + M4_exists=$ac_cv_prog_M4_exists + if test -n "$M4_exists"; then +- echo "$as_me:27382: result: $M4_exists" >&5 ++ echo "$as_me:27431: result: $M4_exists" >&5 + echo "${ECHO_T}$M4_exists" >&6 + else +- echo "$as_me:27385: result: no" >&5 ++ echo "$as_me:27434: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + + if test "$ac_cv_prog_M4_exists" = no; then + cf_cv_prog_gnat_correct=no +- { echo "$as_me:27391: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 ++ { echo "$as_me:27440: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} + fi + if test "$cf_cv_prog_gnat_correct" = yes; then +- echo "$as_me:27395: checking if GNAT works" >&5 ++ echo "$as_me:27444: checking if GNAT works" >&5 + echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 + + rm -rf ./conftest* ./*~conftest* +@@ -27420,7 +27469,7 @@ else + fi + rm -rf ./conftest* ./*~conftest* + +- echo "$as_me:27423: result: $cf_cv_prog_gnat_correct" >&5 ++ echo "$as_me:27472: result: $cf_cv_prog_gnat_correct" >&5 + echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 + fi + else +@@ -27432,7 +27481,7 @@ fi + + ADAFLAGS="$ADAFLAGS -gnatpn" + +- echo "$as_me:27435: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:27484: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -27449,10 +27498,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + + ;; + esac +- echo "$as_me:27452: result: $ADAFLAGS" >&5 ++ echo "$as_me:27501: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:27455: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:27504: checking if GNATPREP supports -T option" >&5 + echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 + if test "${cf_cv_gnatprep_opt_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27462,11 +27511,11 @@ cf_cv_gnatprep_opt_t=no + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:27465: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:27514: result: $cf_cv_gnatprep_opt_t" >&5 + echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 + test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" + +-echo "$as_me:27469: checking if GNAT supports generics" >&5 ++echo "$as_me:27518: checking if GNAT supports generics" >&5 + echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) +@@ -27476,7 +27525,7 @@ case "$cf_cv_gnat_version" in + cf_gnat_generics=no + ;; + esac +-echo "$as_me:27479: result: $cf_gnat_generics" >&5 ++echo "$as_me:27528: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -27488,7 +27537,7 @@ else + cf_generic_objects= + fi + +-echo "$as_me:27491: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:27540: checking if GNAT supports SIGINT" >&5 + echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 + if test "${cf_cv_gnat_sigint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27536,7 +27585,7 @@ fi + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:27539: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:27588: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -27549,7 +27598,7 @@ cf_gnat_libraries=no + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:27552: checking if GNAT supports project files" >&5 ++echo "$as_me:27601: checking if GNAT supports project files" >&5 + echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.[0-9]*) +@@ -27612,15 +27661,15 @@ CF_EOF + esac + ;; + esac +-echo "$as_me:27615: result: $cf_gnat_projects" >&5 ++echo "$as_me:27664: result: $cf_gnat_projects" >&5 + echo "${ECHO_T}$cf_gnat_projects" >&6 + fi # enable_gnat_projects + + if test "$cf_gnat_projects" = yes + then +- echo "$as_me:27621: checking if GNAT supports libraries" >&5 ++ echo "$as_me:27670: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:27623: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:27672: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -27640,7 +27689,7 @@ then + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:27643: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:27692: WARNING: use old makefile rules since tools are missing" >&5 + echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} + fi + fi +@@ -27652,7 +27701,7 @@ else + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:27655: checking for ada-compiler" >&5 ++echo "$as_me:27704: checking for ada-compiler" >&5 + echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 + + # Check whether --with-ada-compiler or --without-ada-compiler was given. +@@ -27663,12 +27712,12 @@ else + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:27666: result: $cf_ada_compiler" >&5 ++echo "$as_me:27715: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:27671: checking for ada-include" >&5 ++echo "$as_me:27720: checking for ada-include" >&5 + echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 + + # Check whether --with-ada-include or --without-ada-include was given. +@@ -27704,7 +27753,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:27707: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:27756: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -27713,10 +27762,10 @@ esac + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:27716: result: $ADA_INCLUDE" >&5 ++echo "$as_me:27765: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:27719: checking for ada-objects" >&5 ++echo "$as_me:27768: checking for ada-objects" >&5 + echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 + + # Check whether --with-ada-objects or --without-ada-objects was given. +@@ -27752,7 +27801,7 @@ case ".$withval" in + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:27755: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:27804: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -27761,10 +27810,10 @@ esac + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:27764: result: $ADA_OBJECTS" >&5 ++echo "$as_me:27813: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:27767: checking if an Ada95 shared-library should be built" >&5 ++echo "$as_me:27816: checking if an Ada95 shared-library should be built" >&5 + echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 + + # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. +@@ -27774,14 +27823,14 @@ if test "${with_ada_sharedlib+set}" = set; then + else + with_ada_sharedlib=no + fi; +-echo "$as_me:27777: result: $with_ada_sharedlib" >&5 ++echo "$as_me:27826: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + + if test "x$with_ada_sharedlib" != xno + then + if test "x$cf_gnat_projects" != xyes + then +- { echo "$as_me:27784: WARNING: disabling shared-library since GNAT projects are not supported" >&5 ++ { echo "$as_me:27833: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} + with_ada_sharedlib=no + fi +@@ -27801,7 +27850,7 @@ fi + + # allow the Ada binding to be renamed + +-echo "$as_me:27804: checking for ada-libname" >&5 ++echo "$as_me:27853: checking for ada-libname" >&5 + echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 + + # Check whether --with-ada-libname or --without-ada-libname was given. +@@ -27817,7 +27866,7 @@ case "x$ADA_LIBNAME" in + ;; + esac + +-echo "$as_me:27820: result: $ADA_LIBNAME" >&5 ++echo "$as_me:27869: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + fi +@@ -27828,13 +27877,13 @@ fi + + # do this "late" to avoid conflict with header-checks + if test "x$with_widec" = xyes ; then +- echo "$as_me:27831: checking for wchar_t" >&5 ++ echo "$as_me:27880: checking for wchar_t" >&5 + echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6 + if test "${ac_cv_type_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27837 "configure" ++#line 27886 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27849,16 +27898,16 @@ if (sizeof (wchar_t)) + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27852: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27901: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27855: \$? = $ac_status" >&5 ++ echo "$as_me:27904: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27858: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27907: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27861: \$? = $ac_status" >&5 ++ echo "$as_me:27910: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_wchar_t=yes + else +@@ -27868,10 +27917,10 @@ ac_cv_type_wchar_t=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:27871: result: $ac_cv_type_wchar_t" >&5 ++echo "$as_me:27920: result: $ac_cv_type_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_type_wchar_t" >&6 + +-echo "$as_me:27874: checking size of wchar_t" >&5 ++echo "$as_me:27923: checking size of wchar_t" >&5 + echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6 + if test "${ac_cv_sizeof_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27880,7 +27929,7 @@ else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27883 "configure" ++#line 27932 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27892,21 +27941,21 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= 0)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27895: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27944: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27898: \$? = $ac_status" >&5 ++ echo "$as_me:27947: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27901: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27950: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27904: \$? = $ac_status" >&5 ++ echo "$as_me:27953: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27909 "configure" ++#line 27958 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27918,16 +27967,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27921: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27970: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27924: \$? = $ac_status" >&5 ++ echo "$as_me:27973: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27927: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27976: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27930: \$? = $ac_status" >&5 ++ echo "$as_me:27979: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -27943,7 +27992,7 @@ cat "conftest.$ac_ext" >&5 + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27946 "configure" ++#line 27995 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27955,16 +28004,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27958: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28007: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27961: \$? = $ac_status" >&5 ++ echo "$as_me:28010: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27964: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28013: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27967: \$? = $ac_status" >&5 ++ echo "$as_me:28016: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -27980,7 +28029,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27983 "configure" ++#line 28032 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -27992,16 +28041,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27995: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28044: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27998: \$? = $ac_status" >&5 ++ echo "$as_me:28047: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28001: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28050: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28004: \$? = $ac_status" >&5 ++ echo "$as_me:28053: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -28014,12 +28063,12 @@ done + ac_cv_sizeof_wchar_t=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:28017: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:28066: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28022 "configure" ++#line 28071 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28035,15 +28084,15 @@ fclose (f); + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:28038: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:28087: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28041: \$? = $ac_status" >&5 ++ echo "$as_me:28090: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:28043: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28092: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28046: \$? = $ac_status" >&5 ++ echo "$as_me:28095: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_wchar_t=`cat conftest.val` + else +@@ -28059,7 +28108,7 @@ else + ac_cv_sizeof_wchar_t=0 + fi + fi +-echo "$as_me:28062: result: $ac_cv_sizeof_wchar_t" >&5 ++echo "$as_me:28111: result: $ac_cv_sizeof_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6 + cat >>confdefs.h <&6 + +-echo "${as_me:-configure}:28075: testing test failed (assume 2) ..." 1>&5 ++echo "${as_me:-configure}:28124: testing test failed (assume 2) ..." 1>&5 + + sed /SIZEOF_WCHAR_T/d confdefs.h >confdefs.tmp + mv confdefs.tmp confdefs.h +@@ -28090,7 +28139,7 @@ fi + ### chooses to split module lists into libraries. + ### + ### (see CF_LIB_RULES). +-echo "$as_me:28093: checking for library subsets" >&5 ++echo "$as_me:28142: checking for library subsets" >&5 + echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 + LIB_SUBSETS= + +@@ -28144,7 +28193,7 @@ fi + test "x$with_widec" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+widechar" + test "x$with_ext_funcs" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs" + +-echo "$as_me:28147: result: $LIB_SUBSETS" >&5 ++echo "$as_me:28196: result: $LIB_SUBSETS" >&5 + echo "${ECHO_T}$LIB_SUBSETS" >&6 + + ### Construct the list of include-directories to be generated +@@ -28175,7 +28224,7 @@ elif test "$includedir" != "/usr/include"; then + fi + + ### Build up pieces for makefile rules +-echo "$as_me:28178: checking default library suffix" >&5 ++echo "$as_me:28227: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28186,10 +28235,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:28189: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:28238: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:28192: checking default library-dependency suffix" >&5 ++echo "$as_me:28241: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -28272,10 +28321,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" + DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" + fi +-echo "$as_me:28275: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:28324: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:28278: checking default object directory" >&5 ++echo "$as_me:28327: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28291,11 +28340,11 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:28294: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:28343: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + if test "x$cf_with_cxx" = xyes ; then +-echo "$as_me:28298: checking c++ library-dependency suffix" >&5 ++echo "$as_me:28347: checking c++ library-dependency suffix" >&5 + echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6 + if test "$with_libtool" != "no"; then + # libtool thinks it can make c++ shared libraries (perhaps only g++) +@@ -28388,7 +28437,7 @@ else + fi + + fi +-echo "$as_me:28391: result: $CXX_LIB_SUFFIX" >&5 ++echo "$as_me:28440: result: $CXX_LIB_SUFFIX" >&5 + echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 + + fi +@@ -28564,19 +28613,19 @@ fi + + if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED" + then +- echo "$as_me:28567: checking if linker supports switching between static/dynamic" >&5 ++ echo "$as_me:28616: checking if linker supports switching between static/dynamic" >&5 + echo $ECHO_N "checking if linker supports switching between static/dynamic... $ECHO_C" >&6 + + rm -f libconftest.a + cat >conftest.$ac_ext < + int cf_ldflags_static(FILE *fp) { return fflush(fp); } + EOF +- if { (eval echo "$as_me:28576: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:28625: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28579: \$? = $ac_status" >&5 ++ echo "$as_me:28628: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + ( $AR $ARFLAGS libconftest.a conftest.o ) 2>&5 1>/dev/null + ( eval $RANLIB libconftest.a ) 2>&5 >/dev/null +@@ -28587,10 +28636,10 @@ EOF + + LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28590 "configure" ++#line 28639 "configure" + #include "confdefs.h" + +-#line 28593 "configure" ++#line 28642 "configure" + #include + int cf_ldflags_static(FILE *fp); + +@@ -28605,16 +28654,16 @@ main (void) + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:28608: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:28657: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28611: \$? = $ac_status" >&5 ++ echo "$as_me:28660: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:28614: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28663: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28617: \$? = $ac_status" >&5 ++ echo "$as_me:28666: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + # some linkers simply ignore the -dynamic +@@ -28637,7 +28686,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + rm -f libconftest.* + LIBS="$cf_save_LIBS" + +- echo "$as_me:28640: result: $cf_ldflags_static" >&5 ++ echo "$as_me:28689: result: $cf_ldflags_static" >&5 + echo "${ECHO_T}$cf_ldflags_static" >&6 + + if test "$cf_ldflags_static" != yes +@@ -28653,7 +28702,7 @@ fi + ;; + esac + +-echo "$as_me:28656: checking where we will install curses.h" >&5 ++echo "$as_me:28705: checking where we will install curses.h" >&5 + echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 + + includesubdir= +@@ -28663,7 +28712,7 @@ if test "$with_overwrite" = no && \ + then + includesubdir="/ncurses${USE_LIB_SUFFIX}" + fi +-echo "$as_me:28666: result: ${includedir}${includesubdir}" >&5 ++echo "$as_me:28715: result: ${includedir}${includesubdir}" >&5 + echo "${ECHO_T}${includedir}${includesubdir}" >&6 + + ### Resolve a conflict between normal and wide-curses by forcing applications +@@ -28671,7 +28720,7 @@ echo "${ECHO_T}${includedir}${includesubdir}" >&6 + if test "$with_overwrite" != no ; then + if test "$NCURSES_LIBUTF8" = 1 ; then + NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' +- { echo "$as_me:28674: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 ++ { echo "$as_me:28723: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 + echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&2;} + fi + fi +@@ -28699,7 +28748,7 @@ EOF + + # pkgsrc uses these + +-echo "$as_me:28702: checking for desired basename for form library" >&5 ++echo "$as_me:28751: checking for desired basename for form library" >&5 + echo $ECHO_N "checking for desired basename for form library... $ECHO_C" >&6 + + # Check whether --with-form-libname or --without-form-libname was given. +@@ -28719,10 +28768,10 @@ case "x$FORM_NAME" in + ;; + esac + +-echo "$as_me:28722: result: $FORM_NAME" >&5 ++echo "$as_me:28771: result: $FORM_NAME" >&5 + echo "${ECHO_T}$FORM_NAME" >&6 + +-echo "$as_me:28725: checking for desired basename for menu library" >&5 ++echo "$as_me:28774: checking for desired basename for menu library" >&5 + echo $ECHO_N "checking for desired basename for menu library... $ECHO_C" >&6 + + # Check whether --with-menu-libname or --without-menu-libname was given. +@@ -28742,10 +28791,10 @@ case "x$MENU_NAME" in + ;; + esac + +-echo "$as_me:28745: result: $MENU_NAME" >&5 ++echo "$as_me:28794: result: $MENU_NAME" >&5 + echo "${ECHO_T}$MENU_NAME" >&6 + +-echo "$as_me:28748: checking for desired basename for panel library" >&5 ++echo "$as_me:28797: checking for desired basename for panel library" >&5 + echo $ECHO_N "checking for desired basename for panel library... $ECHO_C" >&6 + + # Check whether --with-panel-libname or --without-panel-libname was given. +@@ -28765,10 +28814,10 @@ case "x$PANEL_NAME" in + ;; + esac + +-echo "$as_me:28768: result: $PANEL_NAME" >&5 ++echo "$as_me:28817: result: $PANEL_NAME" >&5 + echo "${ECHO_T}$PANEL_NAME" >&6 + +-echo "$as_me:28771: checking for desired basename for cxx library" >&5 ++echo "$as_me:28820: checking for desired basename for cxx library" >&5 + echo $ECHO_N "checking for desired basename for cxx library... $ECHO_C" >&6 + + # Check whether --with-cxx-libname or --without-cxx-libname was given. +@@ -28788,13 +28837,13 @@ case "x$CXX_NAME" in + ;; + esac + +-echo "$as_me:28791: result: $CXX_NAME" >&5 ++echo "$as_me:28840: result: $CXX_NAME" >&5 + echo "${ECHO_T}$CXX_NAME" >&6 + + ### Construct the list of subdirectories for which we'll customize makefiles + ### with the appropriate compile-rules. + +-echo "$as_me:28797: checking for src modules" >&5 ++echo "$as_me:28846: checking for src modules" >&5 + echo $ECHO_N "checking for src modules... $ECHO_C" >&6 + + # dependencies and linker-arguments for test-programs +@@ -28863,7 +28912,7 @@ eval TEST_ROOT="\$${cf_map_lib_basename}_NAME" + fi + fi + done +-echo "$as_me:28866: result: $cf_cv_src_modules" >&5 ++echo "$as_me:28915: result: $cf_cv_src_modules" >&5 + echo "${ECHO_T}$cf_cv_src_modules" >&6 + + TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" +@@ -29024,7 +29073,7 @@ case "$cf_cv_system_name" in + (*-D_XOPEN_SOURCE_EXTENDED*) + test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6 + +-echo "${as_me:-configure}:29027: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 ++echo "${as_me:-configure}:29076: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 + + CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED" + CPPFLAGS=`echo "x$CPPFLAGS" | sed -e 's/^.//' -e 's/-D_XOPEN_SOURCE_EXTENDED//'` +@@ -29035,7 +29084,7 @@ esac + + # Help to automatically enable the extended curses features when using either + # the *-config or the ".pc" files by adding defines. +-echo "$as_me:29038: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 ++echo "$as_me:29087: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 + echo $ECHO_N "checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script... $ECHO_C" >&6 + PKG_CFLAGS= + for cf_loop1 in $CPPFLAGS_after_XOPEN +@@ -29051,7 +29100,7 @@ do + done + test "$cf_found" = no && PKG_CFLAGS="$PKG_CFLAGS $cf_loop1" + done +-echo "$as_me:29054: result: $PKG_CFLAGS" >&5 ++echo "$as_me:29103: result: $PKG_CFLAGS" >&5 + echo "${ECHO_T}$PKG_CFLAGS" >&6 + + # AC_CHECK_SIZEOF demands a literal parameter, no variables. So we do this. +@@ -29112,7 +29161,7 @@ then + cf_filter_syms=$cf_dft_filter_syms + test -n "$verbose" && echo " will map symbols to ABI=$cf_cv_abi_version" 1>&6 + +-echo "${as_me:-configure}:29115: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 ++echo "${as_me:-configure}:29164: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 + + fi + +@@ -29139,7 +29188,7 @@ fi + + # This is used for the *-config script and *.pc data files. + +-echo "$as_me:29142: checking for linker search path" >&5 ++echo "$as_me:29191: checking for linker search path" >&5 + echo $ECHO_N "checking for linker search path... $ECHO_C" >&6 + if test "${cf_cv_ld_searchpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -29187,7 +29236,7 @@ then + cf_pathlist="$cf_pathlist /lib /usr/lib" + ;; + (*) +- { echo "$as_me:29190: WARNING: problem with Solaris architecture" >&5 ++ { echo "$as_me:29239: WARNING: problem with Solaris architecture" >&5 + echo "$as_me: WARNING: problem with Solaris architecture" >&2;} + ;; + esac +@@ -29228,7 +29277,7 @@ done + test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib + + fi +-echo "$as_me:29231: result: $cf_cv_ld_searchpath" >&5 ++echo "$as_me:29280: result: $cf_cv_ld_searchpath" >&5 + echo "${ECHO_T}$cf_cv_ld_searchpath" >&6 + + LD_SEARCHPATH=`echo "$cf_cv_ld_searchpath"|sed -e 's/ /|/g'` +@@ -29318,7 +29367,7 @@ 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:29321: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:29370: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -29497,7 +29546,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:29500: error: ambiguous option: $1 ++ { { echo "$as_me:29549: 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;} +@@ -29516,7 +29565,7 @@ Try \`$0 --help' for more information." >&2;} + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:29519: error: unrecognized option: $1 ++ -*) { { echo "$as_me:29568: 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;} +@@ -29642,7 +29691,7 @@ do + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; +- *) { { echo "$as_me:29645: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:29694: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -30155,7 +30204,7 @@ done; } + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:30158: creating $ac_file" >&5 ++ { echo "$as_me:30207: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -30173,7 +30222,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30176: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30225: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -30186,7 +30235,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30189: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30238: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -30202,7 +30251,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:30205: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:30254: 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;} +@@ -30211,7 +30260,7 @@ $ac_seen" >&2;} + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:30214: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:30263: 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;} +@@ -30248,7 +30297,7 @@ s,@INSTALL@,$ac_INSTALL,;t t + ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` + if test -z "$ac_init"; then + ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` +- { echo "$as_me:30251: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:30300: 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;} +@@ -30259,7 +30308,7 @@ $ac_seen" >&2;} + ${EGREP-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:30262: WARNING: Some variables may not be substituted: ++ { echo "$as_me:30311: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -30308,7 +30357,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:30311: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:30360: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -30319,7 +30368,7 @@ echo "$as_me: creating $ac_file" >&6;} + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30322: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30371: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -30332,7 +30381,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30335: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30384: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -30390,7 +30439,7 @@ cat >>"$CONFIG_STATUS" <<\EOF + 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:30393: $ac_file is unchanged" >&5 ++ { echo "$as_me:30442: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +@@ -30777,7 +30826,7 @@ cf_ITEM=`echo "$cf_item" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQ + (cygdll|msysdll|mingw|msvcdll) + test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6 + +-echo "${as_me:-configure}:30780: testing overriding CXX_MODEL to SHARED ..." 1>&5 ++echo "${as_me:-configure}:30829: testing overriding CXX_MODEL to SHARED ..." 1>&5 + + with_shared_cxx=yes + ;; +diff --git a/dist.mk b/dist.mk +index 3f682b53..1c29d8a3 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1502 2022/09/17 10:53:30 tom Exp $ ++# $Id: dist.mk,v 1.1503 2022/09/24 08:24:58 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20220917 ++NCURSES_PATCH = 20220924 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/include/term_entry.h b/include/term_entry.h +index 503e4b8e..7425a76b 100644 +--- a/include/term_entry.h ++++ b/include/term_entry.h +@@ -33,7 +33,7 @@ + * and: Thomas E. Dickey 1998-on * + ****************************************************************************/ + +-/* $Id: term_entry.h,v 1.62 2022/05/28 17:59:42 tom Exp $ */ ++/* $Id: term_entry.h,v 1.63 2022/09/24 15:04:59 tom Exp $ */ + + /* + * term_entry.h -- interface to entry-manipulation code +@@ -135,6 +135,7 @@ struct entry { + extern NCURSES_EXPORT_VAR(ENTRY *) _nc_head; + extern NCURSES_EXPORT_VAR(ENTRY *) _nc_tail; + #define for_entry_list(qp) for (qp = _nc_head; qp; qp = qp->next) ++#define for_entry_list2(qp,q0) for (qp = q0; qp; qp = qp->next) + + #define MAX_LINE 132 + +diff --git a/menu/m_post.c b/menu/m_post.c +index 85da64b6..cb802304 100644 +--- a/menu/m_post.c ++++ b/menu/m_post.c +@@ -38,7 +38,7 @@ + + #include "menu.priv.h" + +-MODULE_ID("$Id: m_post.c,v 1.37 2022/09/03 21:40:27 tom Exp $") ++MODULE_ID("$Id: m_post.c,v 1.38 2022/09/24 09:38:44 tom Exp $") + + /*--------------------------------------------------------------------------- + | Facility : libnmenu +@@ -216,9 +216,10 @@ _nc_Draw_Menu(const MENU *menu) + + if (item != NULL) + { ++ int y = 0; ++ + do + { +- int y = 0; + ITEM *lasthor; + + wmove(menu->win, y, 0); +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index ff8d5657..1c71eddc 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.124 2022/09/10 19:54:59 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.127 2022/09/24 15:24:15 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -412,8 +412,8 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + for_entry_list(qp) { + int matchcount = 0; + +- for_entry_list(rp) { +- if (qp > rp // FIXME - pointer-comparison is wrong... ++ for_entry_list2(rp, qp->next) { ++ if (qp > rp + && check_collisions(qp->tterm.term_names, + rp->tterm.term_names, + matchcount + 1)) { +@@ -575,6 +575,7 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + qp->uses[qp->nuses - 1].link); + _nc_merge_entry(&merged, + qp->uses[qp->nuses - 1].link); ++ free(qp->uses[qp->nuses - 1].name); + } + + /* +@@ -612,13 +613,6 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + DEBUG(2, ("MERGES COMPLETED OK")); + } + +- /* +- * We'd like to free entries read in off disk at this point, but can't. +- * The merge_entry() code doesn't copy the strings in the use entries, +- * it just aliases them. If this ever changes, do a +- * free_entries(lastread) here. +- */ +- + DEBUG(2, ("RESOLUTION FINISHED")); + + if (fullresolve) { +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 3fee82a9..48c7f6d4 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 3fee82a9..48c7f6d4 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index aacb3e52..f1407649 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20220917) unstable; urgency=low ++ncurses6 (6.3+20220924) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 17 Sep 2022 06:53:31 -0400 ++ -- Thomas E. Dickey Sat, 24 Sep 2022 04:24:58 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index c291ccf5..eb13c675 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.542 2022/09/17 10:53:30 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.543 2022/09/24 08:24:58 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "0917" ++!define VERSION_MMDD "0924" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 9b8ce6af..87fa86ea 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 27e87998..4ba3b994 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index 0141bc16..dc26c4e1 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20220917 ++Release: 20220924 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/progs/infocmp.c b/progs/infocmp.c +index c1b95088..171d794d 100644 +--- a/progs/infocmp.c ++++ b/progs/infocmp.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: infocmp.c,v 1.155 2022/09/03 23:28:48 tom Exp $") ++MODULE_ID("$Id: infocmp.c,v 1.156 2022/09/24 10:13:06 tom Exp $") + + #define MAX_STRING 1024 /* maximum formatted string */ + +@@ -905,7 +905,6 @@ analyze_string(const char *name, const char *cap, TERMTYPE2 *tp) + sizeof(buf2)); + _nc_STRNCPY(buf3, sp + csi, len); + buf3[len] = '\0'; +- len += (size_t) csi + 1; + + expansion = lookup_params(std_modes, buf2, buf3); + } +@@ -926,7 +925,6 @@ analyze_string(const char *name, const char *cap, TERMTYPE2 *tp) + sizeof(buf2)); + _nc_STRNCPY(buf3, sp + csi + 1, len); + buf3[len] = '\0'; +- len += (size_t) csi + 2; + + expansion = lookup_params(private_modes, buf2, buf3); + } +-- +2.27.0 + diff --git a/ncurses-6.3-patch-20221015.patch b/ncurses-6.3-patch-20221015.patch new file mode 100644 index 0000000..bff6f61 --- /dev/null +++ b/ncurses-6.3-patch-20221015.patch @@ -0,0 +1,1253 @@ +From aaa5142e4bdde469fbc59d1c91455cbd0c45281a Mon Sep 17 00:00:00 2001 +From: "Thomas E. Dickey" +Date: Sat, 15 Oct 2022 23:52:49 +0000 +Subject: [PATCH] ncurses 6.3 - patch 20221015 + ++ fix another memory-leak in tic. ++ update install-sh script from autoconf, to fix install problem for + Ada95 with Arch; as noted in + https://lists.gnu.org/archive/html/automake/2018-09/msg00005.html + there are unaddressed issues. ++ update CF_XOPEN_SOURCE, adding GNU libc suffixes for abi64, abin32, + x32 (report by Sven Joachim): ++ correct ifdef's for _nc_set_read_thread() (patch by Mikhail Korolev, + cf: 20220813). +--- + Ada95/aclocal.m4 | 6 +- + Ada95/configure | 4 +- + NEWS | 13 +- + VERSION | 2 +- + aclocal.m4 | 6 +- + configure | 2 +- + dist.mk | 4 +- + install-sh | 671 +++++++++++++++++++++---------- + ncurses/curses.priv.h | 4 +- + ncurses/tinfo/alloc_entry.c | 56 ++- + ncurses/tinfo/comp_parse.c | 11 +- + ncurses/tty/lib_tstp.c | 6 +- + package/debian-mingw/changelog | 4 +- + package/debian-mingw64/changelog | 4 +- + package/debian/changelog | 4 +- + package/mingw-ncurses.nsi | 4 +- + package/mingw-ncurses.spec | 2 +- + package/ncurses.spec | 2 +- + package/ncursest.spec | 2 +- + test/aclocal.m4 | 6 +- + test/configure | 2 +- + 21 files changed, 556 insertions(+), 259 deletions(-) + +diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 +index 5f7c5a6e..5636b3cd 100644 +--- a/Ada95/aclocal.m4 ++++ b/Ada95/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.195 2022/09/24 20:42:30 tom Exp $ ++dnl $Id: aclocal.m4,v 1.196 2022/10/02 23:55:56 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -5014,7 +5014,7 @@ AC_ARG_WITH(system-type, + ]) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 60 updated: 2022/09/10 15:16:16 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -5065,7 +5065,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/Ada95/configure b/Ada95/configure +index ee43a442..a3561fe1 100755 +--- a/Ada95/configure ++++ b/Ada95/configure +@@ -1,5 +1,5 @@ + #! /bin/sh +-# From configure.in Revision: 1.85 . ++# From configure.in Revision: 1.86 . + # Guess values for system-dependent variables and create Makefiles. + # Generated by Autoconf 2.52.20210509. + # +@@ -12465,7 +12465,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +diff --git a/NEWS b/NEWS +index 1c0ee42b..d387afe3 100644 +--- a/NEWS ++++ b/NEWS +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3864 2022/10/08 16:50:03 tom Exp $ ++-- $Id: NEWS,v 1.3868 2022/10/15 19:45:12 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,17 @@ See the AUTHORS file for the corresponding full names. + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20221015 ++ + fix another memory-leak in tic. ++ + update install-sh script from autoconf, to fix install problem for ++ Ada95 with Arch; as noted in ++ https://lists.gnu.org/archive/html/automake/2018-09/msg00005.html ++ there are unaddressed issues. ++ + update CF_XOPEN_SOURCE, adding GNU libc suffixes for abi64, abin32, ++ x32 (report by Sven Joachim): ++ + correct ifdef's for _nc_set_read_thread() (patch by Mikhail Korolev, ++ cf: 20220813). ++ + 20221008 + + correct a switch-statement case in configure script to allow for test + builds with ABI=7. +diff --git a/VERSION b/VERSION +index 5c043d13..1b3acc0c 100644 +--- a/VERSION ++++ b/VERSION +@@ -1 +1 @@ +-5:0:10 6.3 20221008 ++5:0:10 6.3 20221015 +diff --git a/aclocal.m4 b/aclocal.m4 +index bf806578..4478ba88 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -29,7 +29,7 @@ dnl*************************************************************************** + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: aclocal.m4,v 1.1014 2022/10/01 13:24:04 tom Exp $ ++dnl $Id: aclocal.m4,v 1.1015 2022/10/02 23:55:56 tom Exp $ + dnl Macros used in NCURSES auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -9873,7 +9873,7 @@ fi + AC_SUBST(no_x11_rgb) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 61 updated: 2022/09/30 04:05:55 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -9924,7 +9924,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|linux*gnueabi|linux*gnueabihf|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/configure b/configure +index 128cca2a..b7a2d9a5 100755 +--- a/configure ++++ b/configure +@@ -9989,7 +9989,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|linux*gnueabi|linux*gnueabihf|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +diff --git a/dist.mk b/dist.mk +index fd35b793..dbb55b2c 100644 +--- a/dist.mk ++++ b/dist.mk +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1506 2022/10/08 10:25:44 tom Exp $ ++# $Id: dist.mk,v 1.1507 2022/10/15 11:57:10 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ SHELL = /bin/sh + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 3 +-NCURSES_PATCH = 20221008 ++NCURSES_PATCH = 20221015 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +diff --git a/install-sh b/install-sh +index 462fa9c3..ec298b53 100755 +--- a/install-sh ++++ b/install-sh +@@ -1,7 +1,8 @@ +-#! /bin/sh +-# ++#!/bin/sh + # install - install a program, script, or datafile +-# ++ ++scriptversion=2020-11-14.01; # UTC ++ + # This originates from X11R5 (mit/util/scripts/install.sh), which was + # later released in X11R6 (xc/config/util/install.sh) with the + # following copyright and license. +@@ -34,261 +35,507 @@ + # FSF changes to this file are in the public domain. + # + # Calling this script install-sh is preferred over install.sh, to prevent +-# `make' implicit rules from creating a file called install from it ++# 'make' implicit rules from creating a file called install from it + # when there is no Makefile. + # + # This script is compatible with the BSD install script, but was written +-# from scratch. It can only install one file at a time, a restriction +-# shared with many OS's install programs. ++# from scratch. ++ ++tab=' ' ++nl=' ++' ++IFS=" $tab$nl" ++ ++# Set DOITPROG to "echo" to test this script. + ++doit=${DOITPROG-} ++doit_exec=${doit:-exec} + +-# set DOITPROG to echo to test this script ++# Put in absolute file names if you don't have them in your path; ++# or use environment vars. + +-# Don't use :- since 4.3BSD and earlier shells don't like it. +-doit="${DOITPROG-}" ++chgrpprog=${CHGRPPROG-chgrp} ++chmodprog=${CHMODPROG-chmod} ++chownprog=${CHOWNPROG-chown} ++cmpprog=${CMPPROG-cmp} ++cpprog=${CPPROG-cp} ++mkdirprog=${MKDIRPROG-mkdir} ++mvprog=${MVPROG-mv} ++rmprog=${RMPROG-rm} ++stripprog=${STRIPPROG-strip} + ++posix_mkdir= + +-# put in absolute paths if you don't have them in your path; or use env. vars. ++# Desired mode of installed file. ++mode=0755 + +-mvprog="${MVPROG-mv}" +-cpprog="${CPPROG-cp}" +-chmodprog="${CHMODPROG-chmod}" +-chownprog="${CHOWNPROG-chown}" +-chgrpprog="${CHGRPPROG-chgrp}" +-stripprog="${STRIPPROG-strip}" +-rmprog="${RMPROG-rm}" +-mkdirprog="${MKDIRPROG-mkdir}" ++# Create dirs (including intermediate dirs) using mode 755. ++# This is like GNU 'install' as of coreutils 8.32 (2020). ++mkdir_umask=22 + +-transformbasename="" +-transform_arg="" +-instcmd="$mvprog" +-chmodcmd="$chmodprog 0755" +-chowncmd="" +-chgrpcmd="" +-stripcmd="" ++backupsuffix= ++chgrpcmd= ++chmodcmd=$chmodprog ++chowncmd= ++mvcmd=$mvprog + rmcmd="$rmprog -f" +-mvcmd="$mvprog" +-src="" +-dst="" +-dir_arg="" +- +-while [ x"$1" != x ]; do +- case $1 in +- -c) instcmd=$cpprog +- shift +- continue;; +- +- -d) dir_arg=true +- shift +- continue;; +- +- -m) chmodcmd="$chmodprog $2" +- shift +- shift +- continue;; +- +- -o) chowncmd="$chownprog $2" +- shift +- shift +- continue;; +- +- -g) chgrpcmd="$chgrpprog $2" +- shift +- shift +- continue;; +- +- -s) stripcmd=$stripprog +- shift +- continue;; +- +- -t=*) transformarg=`echo $1 | sed 's/-t=//'` +- shift +- continue;; +- +- -b=*) transformbasename=`echo $1 | sed 's/-b=//'` +- shift +- continue;; +- +- *) if [ x"$src" = x ] +- then +- src=$1 +- else +- # this colon is to work around a 386BSD /bin/sh bug +- : +- dst=$1 +- fi +- shift +- continue;; +- esac +-done ++stripcmd= + +-if [ x"$src" = x ] +-then +- echo "$0: no input file specified" >&2 +- exit 1 +-else +- : +-fi ++src= ++dst= ++dir_arg= ++dst_arg= + +-if [ x"$dir_arg" != x ]; then +- dst=$src +- src="" ++copy_on_change=false ++is_target_a_directory=possibly + +- if [ -d "$dst" ]; then +- instcmd=: +- chmodcmd="" +- else +- instcmd=$mkdirprog +- fi +-else ++usage="\ ++Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ++ or: $0 [OPTION]... SRCFILES... DIRECTORY ++ or: $0 [OPTION]... -t DIRECTORY SRCFILES... ++ or: $0 [OPTION]... -d DIRECTORIES... + +-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +-# might cause directories to be created, which would be especially bad +-# if $src (and thus $dsttmp) contains '*'. ++In the 1st form, copy SRCFILE to DSTFILE. ++In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. ++In the 4th, create DIRECTORIES. + +- if [ -f "$src" ] || [ -d "$src" ] +- then +- : +- else +- echo "$0: $src does not exist" >&2 +- exit 1 +- fi ++Options: ++ --help display this help and exit. ++ --version display version info and exit. + +- if [ x"$dst" = x ] +- then +- echo "$0: no destination specified" >&2 +- exit 1 +- else +- : +- fi ++ -c (ignored) ++ -C install only if different (preserve data modification time) ++ -d create directories instead of installing files. ++ -g GROUP $chgrpprog installed files to GROUP. ++ -m MODE $chmodprog installed files to MODE. ++ -o USER $chownprog installed files to USER. ++ -p pass -p to $cpprog. ++ -s $stripprog installed files. ++ -S SUFFIX attempt to back up existing files, with suffix SUFFIX. ++ -t DIRECTORY install into DIRECTORY. ++ -T report an error if DSTFILE is a directory. + +-# If destination is a directory, append the input filename; if your system +-# does not like double slashes in filenames, you may need to add some logic ++Environment variables override the default commands: ++ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG ++ RMPROG STRIPPROG + +- if [ -d "$dst" ] +- then +- dst=$dst/`basename "$src"` +- else +- : +- fi +-fi ++By default, rm is invoked with -f; when overridden with RMPROG, ++it's up to you to specify -f if you want it. + +-## this sed command emulates the dirname command +-dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` ++If -S is not specified, no backups are attempted. + +-# Make sure that the destination directory exists. +-# this part is taken from Noah Friedman's mkinstalldirs script ++Email bug reports to bug-automake@gnu.org. ++Automake home page: https://www.gnu.org/software/automake/ ++" + +-# Skip lots of stat calls in the usual case. +-if [ ! -d "$dstdir" ]; then +-defaultIFS=' +- ' +-IFS="${IFS-$defaultIFS}" ++while test $# -ne 0; do ++ case $1 in ++ -c) ;; + +-oIFS=$IFS +-# Some sh's can't handle IFS=/ for some reason. +-IFS='%' +-set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` +-IFS=$oIFS ++ -C) copy_on_change=true;; + +-pathcomp='' ++ -d) dir_arg=true;; + +-while [ $# -ne 0 ] ; do +- pathcomp=$pathcomp$1 +- shift ++ -g) chgrpcmd="$chgrpprog $2" ++ shift;; + +- if [ ! -d "$pathcomp" ] ; +- then +- $mkdirprog "$pathcomp" +- else +- : +- fi ++ --help) echo "$usage"; exit $?;; + +- pathcomp=$pathcomp/ +-done +-fi ++ -m) mode=$2 ++ case $mode in ++ *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) ++ echo "$0: invalid mode: $mode" >&2 ++ exit 1;; ++ esac ++ shift;; + +-if [ x"$dir_arg" != x ] +-then +- $doit $instcmd "$dst" && ++ -o) chowncmd="$chownprog $2" ++ shift;; + +- if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi && +- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi && +- if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi && +- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi +-else ++ -p) cpprog="$cpprog -p";; + +-# If we're going to rename the final executable, determine the name now. ++ -s) stripcmd=$stripprog;; + +- if [ x"$transformarg" = x ] +- then +- dstfile=`basename "$dst"` +- else +- dstfile=`basename "$dst" $transformbasename | +- sed $transformarg`$transformbasename +- fi ++ -S) backupsuffix="$2" ++ shift;; + +-# don't allow the sed command to completely eliminate the filename ++ -t) ++ is_target_a_directory=always ++ dst_arg=$2 ++ # Protect names problematic for 'test' and other utilities. ++ case $dst_arg in ++ -* | [=\(\)!]) dst_arg=./$dst_arg;; ++ esac ++ shift;; + +- if [ x"$dstfile" = x ] +- then +- dstfile=`basename "$dst"` +- else +- : +- fi ++ -T) is_target_a_directory=never;; + +-# Make a couple of temp file names in the proper directory. ++ --version) echo "$0 $scriptversion"; exit $?;; + +- dsttmp=$dstdir/#inst.$$# +- rmtmp=$dstdir/#rm.$$# ++ --) shift ++ break;; + +-# Trap to clean up temp files at exit. ++ -*) echo "$0: invalid option: $1" >&2 ++ exit 1;; + +- trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 +- trap '(exit $?); exit' 1 2 13 15 ++ *) break;; ++ esac ++ shift ++done + +-# Move or copy the file name to the temp name ++# We allow the use of options -d and -T together, by making -d ++# take the precedence; this is for compatibility with GNU install. + +- $doit $instcmd "$src" "$dsttmp" && ++if test -n "$dir_arg"; then ++ if test -n "$dst_arg"; then ++ echo "$0: target directory not allowed when installing a directory." >&2 ++ exit 1 ++ fi ++fi + +-# and set any options; do chmod last to preserve setuid bits ++if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then ++ # When -d is used, all remaining arguments are directories to create. ++ # When -t is used, the destination is already specified. ++ # Otherwise, the last argument is the destination. Remove it from $@. ++ for arg ++ do ++ if test -n "$dst_arg"; then ++ # $@ is not empty: it contains at least $arg. ++ set fnord "$@" "$dst_arg" ++ shift # fnord ++ fi ++ shift # arg ++ dst_arg=$arg ++ # Protect names problematic for 'test' and other utilities. ++ case $dst_arg in ++ -* | [=\(\)!]) dst_arg=./$dst_arg;; ++ esac ++ done ++fi + +-# If any of these fail, we abort the whole thing. If we want to +-# ignore errors from any of these, just make sure not to ignore +-# errors from the above "$doit $instcmd $src $dsttmp" command. ++if test $# -eq 0; then ++ if test -z "$dir_arg"; then ++ echo "$0: no input file specified." >&2 ++ exit 1 ++ fi ++ # It's OK to call 'install-sh -d' without argument. ++ # This can happen when creating conditional directories. ++ exit 0 ++fi + +- if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi && +- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi && +- if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi && +- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi && ++if test -z "$dir_arg"; then ++ if test $# -gt 1 || test "$is_target_a_directory" = always; then ++ if test ! -d "$dst_arg"; then ++ echo "$0: $dst_arg: Is not a directory." >&2 ++ exit 1 ++ fi ++ fi ++fi + +-# Now remove or move aside any old file at destination location. We try this +-# two ways since rm can't unlink itself on some systems and the destination +-# file might be busy for other reasons. In this case, the final cleanup +-# might fail but the new file should still install successfully. ++if test -z "$dir_arg"; then ++ do_exit='(exit $ret); exit $ret' ++ trap "ret=129; $do_exit" 1 ++ trap "ret=130; $do_exit" 2 ++ trap "ret=141; $do_exit" 13 ++ trap "ret=143; $do_exit" 15 ++ ++ # Set umask so as not to create temps with too-generous modes. ++ # However, 'strip' requires both read and write access to temps. ++ case $mode in ++ # Optimize common cases. ++ *644) cp_umask=133;; ++ *755) cp_umask=22;; ++ ++ *[0-7]) ++ if test -z "$stripcmd"; then ++ u_plus_rw= ++ else ++ u_plus_rw='% 200' ++ fi ++ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; ++ *) ++ if test -z "$stripcmd"; then ++ u_plus_rw= ++ else ++ u_plus_rw=,u+rw ++ fi ++ cp_umask=$mode$u_plus_rw;; ++ esac ++fi + +-{ +- if [ -f "$dstdir/$dstfile" ] ++for src ++do ++ # Protect names problematic for 'test' and other utilities. ++ case $src in ++ -* | [=\(\)!]) src=./$src;; ++ esac ++ ++ if test -n "$dir_arg"; then ++ dst=$src ++ dstdir=$dst ++ test -d "$dstdir" ++ dstdir_status=$? ++ # Don't chown directories that already exist. ++ if test $dstdir_status = 0; then ++ chowncmd="" ++ fi ++ else ++ ++ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ++ # might cause directories to be created, which would be especially bad ++ # if $src (and thus $dsttmp) contains '*'. ++ if test ! -f "$src" && test ! -d "$src"; then ++ echo "$0: $src does not exist." >&2 ++ exit 1 ++ fi ++ ++ if test -z "$dst_arg"; then ++ echo "$0: no destination specified." >&2 ++ exit 1 ++ fi ++ dst=$dst_arg ++ ++ # If destination is a directory, append the input filename. ++ if test -d "$dst"; then ++ if test "$is_target_a_directory" = never; then ++ echo "$0: $dst_arg: Is a directory" >&2 ++ exit 1 ++ fi ++ dstdir=$dst ++ dstbase=`basename "$src"` ++ case $dst in ++ */) dst=$dst$dstbase;; ++ *) dst=$dst/$dstbase;; ++ esac ++ dstdir_status=0 ++ else ++ dstdir=`dirname "$dst"` ++ test -d "$dstdir" ++ dstdir_status=$? ++ fi ++ fi ++ ++ case $dstdir in ++ */) dstdirslash=$dstdir;; ++ *) dstdirslash=$dstdir/;; ++ esac ++ ++ obsolete_mkdir_used=false ++ ++ if test $dstdir_status != 0; then ++ case $posix_mkdir in ++ '') ++ # With -d, create the new directory with the user-specified mode. ++ # Otherwise, rely on $mkdir_umask. ++ if test -n "$dir_arg"; then ++ mkdir_mode=-m$mode ++ else ++ mkdir_mode= ++ fi ++ ++ posix_mkdir=false ++ # The $RANDOM variable is not portable (e.g., dash). Use it ++ # here however when possible just to lower collision chance. ++ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ ++ ++ trap ' ++ ret=$? ++ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null ++ exit $ret ++ ' 0 ++ ++ # Because "mkdir -p" follows existing symlinks and we likely work ++ # directly in world-writeable /tmp, make sure that the '$tmpdir' ++ # directory is successfully created first before we actually test ++ # 'mkdir -p'. ++ if (umask $mkdir_umask && ++ $mkdirprog $mkdir_mode "$tmpdir" && ++ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then +- $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null || +- $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null || +- { +- echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 +- (exit 1); exit +- } ++ if test -z "$dir_arg" || { ++ # Check for POSIX incompatibilities with -m. ++ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or ++ # other-writable bit of parent directory when it shouldn't. ++ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ++ test_tmpdir="$tmpdir/a" ++ ls_ld_tmpdir=`ls -ld "$test_tmpdir"` ++ case $ls_ld_tmpdir in ++ d????-?r-*) different_mode=700;; ++ d????-?--*) different_mode=755;; ++ *) false;; ++ esac && ++ $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ++ ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` ++ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" ++ } ++ } ++ then posix_mkdir=: ++ fi ++ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else +- : ++ # Remove any dirs left behind by ancient mkdir implementations. ++ rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi +-} && +- +-# Now rename the file to the real destination. +- +- $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" +- +-fi && ++ trap '' 0;; ++ esac + +-# The final little trick to "correctly" pass the exit status to the exit trap. ++ if ++ $posix_mkdir && ( ++ umask $mkdir_umask && ++ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ++ ) ++ then : ++ else ++ ++ # mkdir does not conform to POSIX, ++ # or it failed possibly due to a race condition. Create the ++ # directory the slow way, step by step, checking for races as we go. ++ ++ case $dstdir in ++ /*) prefix='/';; ++ [-=\(\)!]*) prefix='./';; ++ *) prefix='';; ++ esac ++ ++ oIFS=$IFS ++ IFS=/ ++ set -f ++ set fnord $dstdir ++ shift ++ set +f ++ IFS=$oIFS ++ ++ prefixes= ++ ++ for d ++ do ++ test X"$d" = X && continue ++ ++ prefix=$prefix$d ++ if test -d "$prefix"; then ++ prefixes= ++ else ++ if $posix_mkdir; then ++ (umask $mkdir_umask && ++ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break ++ # Don't fail if two instances are running concurrently. ++ test -d "$prefix" || exit 1 ++ else ++ case $prefix in ++ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; ++ *) qprefix=$prefix;; ++ esac ++ prefixes="$prefixes '$qprefix'" ++ fi ++ fi ++ prefix=$prefix/ ++ done ++ ++ if test -n "$prefixes"; then ++ # Don't fail if two instances are running concurrently. ++ (umask $mkdir_umask && ++ eval "\$doit_exec \$mkdirprog $prefixes") || ++ test -d "$dstdir" || exit 1 ++ obsolete_mkdir_used=true ++ fi ++ fi ++ fi ++ ++ if test -n "$dir_arg"; then ++ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && ++ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && ++ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || ++ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 ++ else ++ ++ # Make a couple of temp file names in the proper directory. ++ dsttmp=${dstdirslash}_inst.$$_ ++ rmtmp=${dstdirslash}_rm.$$_ ++ ++ # Trap to clean up those temp files at exit. ++ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 ++ ++ # Copy the file name to the temp name. ++ (umask $cp_umask && ++ { test -z "$stripcmd" || { ++ # Create $dsttmp read-write so that cp doesn't create it read-only, ++ # which would cause strip to fail. ++ if test -z "$doit"; then ++ : >"$dsttmp" # No need to fork-exec 'touch'. ++ else ++ $doit touch "$dsttmp" ++ fi ++ } ++ } && ++ $doit_exec $cpprog "$src" "$dsttmp") && ++ ++ # and set any options; do chmod last to preserve setuid bits. ++ # ++ # If any of these fail, we abort the whole thing. If we want to ++ # ignore errors from any of these, just make sure not to ignore ++ # errors from the above "$doit $cpprog $src $dsttmp" command. ++ # ++ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && ++ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && ++ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && ++ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && ++ ++ # If -C, don't bother to copy if it wouldn't change the file. ++ if $copy_on_change && ++ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && ++ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && ++ set -f && ++ set X $old && old=:$2:$4:$5:$6 && ++ set X $new && new=:$2:$4:$5:$6 && ++ set +f && ++ test "$old" = "$new" && ++ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 ++ then ++ rm -f "$dsttmp" ++ else ++ # If $backupsuffix is set, and the file being installed ++ # already exists, attempt a backup. Don't worry if it fails, ++ # e.g., if mv doesn't support -f. ++ if test -n "$backupsuffix" && test -f "$dst"; then ++ $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null ++ fi ++ ++ # Rename the file to the real destination. ++ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || ++ ++ # The rename failed, perhaps because mv can't rename something else ++ # to itself, or perhaps because mv is so ancient that it does not ++ # support -f. ++ { ++ # Now remove or move aside any old file at destination location. ++ # We try this two ways since rm can't unlink itself on some ++ # systems and the destination file might be busy for other ++ # reasons. In this case, the final cleanup might fail but the new ++ # file should still install successfully. ++ { ++ test ! -f "$dst" || ++ $doit $rmcmd "$dst" 2>/dev/null || ++ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && ++ { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } ++ } || ++ { echo "$0: cannot unlink or rename $dst" >&2 ++ (exit 1); exit 1 ++ } ++ } && ++ ++ # Now rename the file to the real destination. ++ $doit $mvcmd "$dsttmp" "$dst" ++ } ++ fi || exit 1 ++ ++ trap '' 0 ++ fi ++done + +-{ +- (exit 0); exit +-} ++# Local variables: ++# eval: (add-hook 'before-save-hook 'time-stamp) ++# time-stamp-start: "scriptversion=" ++# time-stamp-format: "%:y-%02m-%02d.%02H" ++# time-stamp-time-zone: "UTC0" ++# time-stamp-end: "; # UTC" ++# End: +diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h +index 1e8ec70b..e33fd711 100644 +--- a/ncurses/curses.priv.h ++++ b/ncurses/curses.priv.h +@@ -35,7 +35,7 @@ + ****************************************************************************/ + + /* +- * $Id: curses.priv.h,v 1.651 2022/08/13 14:35:01 tom Exp $ ++ * $Id: curses.priv.h,v 1.652 2022/10/15 13:09:05 Mikhail.Korolev Exp $ + * + * curses.priv.h + * +@@ -674,7 +674,7 @@ extern NCURSES_EXPORT(int) _nc_sigprocmask(int, const sigset_t *, sigset_t *); + #define _nc_unlock_global(name) /* nothing */ + #endif /* USE_PTHREADS */ + +-#if USE_PTHREADS_EINTR || defined(EXP_WIN32_DRIVER) ++#if USE_PTHREADS_EINTR + extern NCURSES_EXPORT(void) _nc_set_read_thread(bool); + #else + #define _nc_set_read_thread(enable) /* nothing */ +diff --git a/ncurses/tinfo/alloc_entry.c b/ncurses/tinfo/alloc_entry.c +index 90febbbd..d5148ca6 100644 +--- a/ncurses/tinfo/alloc_entry.c ++++ b/ncurses/tinfo/alloc_entry.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: alloc_entry.c,v 1.76 2022/09/17 21:45:44 tom Exp $") ++MODULE_ID("$Id: alloc_entry.c,v 1.77 2022/10/15 19:37:33 tom Exp $") + + #define ABSENT_OFFSET -1 + #define CANCELLED_OFFSET -2 +@@ -251,8 +251,8 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + TERMTYPE2 *from = &(source->tterm); + #if NCURSES_XNAMES + TERMTYPE2 copy; +- size_t str_size = 0; +- char *str_table = NULL; ++ size_t str_size; ++ char *str_table; + #endif + unsigned i; + +@@ -263,7 +263,10 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + _nc_copy_termtype2(©, from); + from = © + _nc_align_termtype(to, from); +- str_size += strlen(to->term_names) + 1; ++ /* ++ * compute the maximum size of the string-table. ++ */ ++ str_size = strlen(to->term_names) + 1; + for_each_string(i, from) { + if (VALID_STRING(from->Strings[i])) + str_size += strlen(from->Strings[i]) + 1; +@@ -303,6 +306,46 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + to->str_table = str_table; + free(from->str_table); + } ++ /* ++ * Do the same for the extended-strings (i.e., lists of capabilities). ++ */ ++ str_size = 0; ++ for (i = 0; i < NUM_EXT_NAMES(from); ++i) { ++ if (VALID_STRING(from->ext_Names[i])) ++ str_size += strlen(from->ext_Names[i]) + 1; ++ } ++ for (i = 0; i < NUM_EXT_NAMES(to); ++i) { ++ if (VALID_STRING(to->ext_Names[i])) ++ str_size += strlen(to->ext_Names[i]) + 1; ++ } ++ /* allocate a string-table large enough for both source/target, and ++ * copy all of the strings into that table. In the merge, we will ++ * select from the original source/target lists to construct a new ++ * target list. ++ */ ++ if (str_size != 0) { ++ char *str_copied; ++ if ((str_table = malloc(str_size)) == NULL) ++ _nc_err_abort(MSG_NO_MEMORY); ++ str_copied = str_table; ++ for (i = 0; i < NUM_EXT_NAMES(from); ++i) { ++ if (VALID_STRING(from->ext_Names[i])) { ++ strcpy(str_copied, from->ext_Names[i]); ++ from->ext_Names[i] = str_copied; ++ str_copied += strlen(str_copied) + 1; ++ } ++ } ++ for (i = 0; i < NUM_EXT_NAMES(to); ++i) { ++ if (VALID_STRING(to->ext_Names[i])) { ++ strcpy(str_copied, to->ext_Names[i]); ++ to->ext_Names[i] = str_copied; ++ str_copied += strlen(str_copied) + 1; ++ } ++ } ++ free(to->ext_str_table); ++ to->ext_str_table = str_table; ++ free(from->ext_str_table); ++ } + #endif + for_each_boolean(i, from) { + if (to->Booleans[i] != (NCURSES_SBOOL) CANCELLED_BOOLEAN) { +@@ -342,10 +385,7 @@ _nc_merge_entry(ENTRY * const target, ENTRY * const source) + } + } + #if NCURSES_XNAMES +- /* Discard the data allocated in _nc_copy_termtype2, but do not use +- * _nc_free_termtype2 because that frees the string-table (which is +- * not allocated by _nc_copy_termtype2). +- */ ++ /* cleanup */ + free(copy.Booleans); + free(copy.Numbers); + free(copy.Strings); +diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c +index 1c71eddc..c86cf59d 100644 +--- a/ncurses/tinfo/comp_parse.c ++++ b/ncurses/tinfo/comp_parse.c +@@ -48,7 +48,7 @@ + + #include + +-MODULE_ID("$Id: comp_parse.c,v 1.127 2022/09/24 15:24:15 tom Exp $") ++MODULE_ID("$Id: comp_parse.c,v 1.128 2022/10/15 19:31:00 tom Exp $") + + static void sanity_check2(TERMTYPE2 *, bool); + NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2; +@@ -571,11 +571,10 @@ _nc_resolve_uses2(bool fullresolve, bool literal) + * (reverse) order. + */ + for (; qp->nuses; qp->nuses--) { +- validate_merge(&merged, +- qp->uses[qp->nuses - 1].link); +- _nc_merge_entry(&merged, +- qp->uses[qp->nuses - 1].link); +- free(qp->uses[qp->nuses - 1].name); ++ int n = qp->nuses - 1; ++ validate_merge(&merged, qp->uses[n].link); ++ _nc_merge_entry(&merged, qp->uses[n].link); ++ free(qp->uses[n].name); + } + + /* +diff --git a/ncurses/tty/lib_tstp.c b/ncurses/tty/lib_tstp.c +index ec086ca7..f228f72b 100644 +--- a/ncurses/tty/lib_tstp.c ++++ b/ncurses/tty/lib_tstp.c +@@ -43,7 +43,7 @@ + + #include + +-MODULE_ID("$Id: lib_tstp.c,v 1.52 2022/08/13 14:36:43 tom Exp $") ++MODULE_ID("$Id: lib_tstp.c,v 1.53 2022/10/15 13:09:05 Mikhail.Korolev Exp $") + + #if defined(SIGTSTP) && (HAVE_SIGACTION || HAVE_SIGVEC) + #define USE_SIGTSTP 1 +@@ -283,8 +283,6 @@ handle_SIGINT(int sig) + _exit(EXIT_FAILURE); + } + +-#if USE_SIGWINCH +- + # ifndef _nc_set_read_thread + NCURSES_EXPORT(void) + _nc_set_read_thread(bool enable) +@@ -300,6 +298,8 @@ _nc_set_read_thread(bool enable) + } + # endif + ++#if USE_SIGWINCH ++ + static void + handle_SIGWINCH(int sig GCC_UNUSED) + { +diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog +index 75a6e552..38bf5616 100644 +--- a/package/debian-mingw/changelog ++++ b/package/debian-mingw/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog +index 75a6e552..38bf5616 100644 +--- a/package/debian-mingw64/changelog ++++ b/package/debian-mingw64/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +diff --git a/package/debian/changelog b/package/debian/changelog +index 31b14a14..f0a4cea0 100644 +--- a/package/debian/changelog ++++ b/package/debian/changelog +@@ -1,8 +1,8 @@ +-ncurses6 (6.3+20221008) unstable; urgency=low ++ncurses6 (6.3+20221015) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400 ++ -- Thomas E. Dickey Sat, 15 Oct 2022 07:57:10 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi +index 02acf867..5e966c7b 100644 +--- a/package/mingw-ncurses.nsi ++++ b/package/mingw-ncurses.nsi +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.545 2022/10/08 10:25:44 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.546 2022/10/15 11:57:10 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "3" + !define VERSION_YYYY "2022" +-!define VERSION_MMDD "1008" ++!define VERSION_MMDD "1015" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec +index 7645a57c..b5e6e7ce 100644 +--- a/package/mingw-ncurses.spec ++++ b/package/mingw-ncurses.spec +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncurses.spec b/package/ncurses.spec +index 20f06a1a..4ee4da1a 100644 +--- a/package/ncurses.spec ++++ b/package/ncurses.spec +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/package/ncursest.spec b/package/ncursest.spec +index af9e0dfa..a9b645ff 100644 +--- a/package/ncursest.spec ++++ b/package/ncursest.spec +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.3 +-Release: 20221008 ++Release: 20221015 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +diff --git a/test/aclocal.m4 b/test/aclocal.m4 +index fac04b27..88df01a2 100644 +--- a/test/aclocal.m4 ++++ b/test/aclocal.m4 +@@ -27,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written * + dnl authorization. * + dnl*************************************************************************** + dnl +-dnl $Id: aclocal.m4,v 1.207 2022/09/10 19:31:11 tom Exp $ ++dnl $Id: aclocal.m4,v 1.208 2022/10/02 23:55:56 tom Exp $ + dnl + dnl Author: Thomas E. Dickey + dnl +@@ -4347,7 +4347,7 @@ esac + + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_XOPEN_SOURCE version: 60 updated: 2022/09/10 15:16:16 ++dnl CF_XOPEN_SOURCE version: 62 updated: 2022/10/02 19:55:56 + dnl --------------- + dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, + dnl or adapt to the vendor's definitions to get equivalent functionality, +@@ -4398,7 +4398,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + CF_GNU_SOURCE($cf_XOPEN_SOURCE) + ;; + (minix*) +diff --git a/test/configure b/test/configure +index 6cc12021..e9ac6030 100755 +--- a/test/configure ++++ b/test/configure +@@ -4044,7 +4044,7 @@ case "$host_os" in + cf_xopen_source="-D_SGI_SOURCE" + cf_XOPEN_SOURCE= + ;; +-(linux*gnu|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) ++(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-- +2.27.0 + diff --git a/ncurses.spec b/ncurses.spec index 46f662c..1ca8bf5 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,6 +1,6 @@ Name: ncurses Version: 6.3 -Release: 5 +Release: 6 Summary: Terminal control library License: MIT URL: https://invisible-island.net/ncurses/ncurses.html @@ -11,6 +11,11 @@ Patch9: ncurses-libs.patch Patch11: ncurses-urxvt.patch Patch12: ncurses-kbs.patch Patch13: backport-CVE-2022-29458.patch +Patch14: ncurses-6.3-patch-20220423.patch +Patch15: ncurses-6.3-patch-20220507.patch +Patch16: ncurses-6.3-patch-20220521.patch +Patch17: ncurses-6.3-patch-20220924.patch +Patch18: ncurses-6.3-patch-20221015.patch BuildRequires: gcc gcc-c++ gpm-devel pkgconfig @@ -242,6 +247,12 @@ xz NEWS %{_mandir}/man7/* %changelog +* Thu Nov 29 2022 wangjun - 6.3-6 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:intergrate the memory leakage patch from the upstream community + * Thu Nov 10 2022 yanglu - 6.3-5 - Type:bugfix - CVE:NA -- Gitee