# ncurses 6.1 - patch 20190623 - Thomas E. Dickey # # ------------------------------------------------------------------------------ # # Ncurses 6.1 is at # ftp.gnu.org:/pub/gnu # # Patches for ncurses 6.1 can be found at # ftp://ftp.invisible-island.net/ncurses/6.1 # http://invisible-mirror.net/archives/ncurses/6.1 # # ------------------------------------------------------------------------------ # ftp://ftp.invisible-island.net/ncurses/6.1/ncurses-6.1-20190623.patch.gz # patch by Thomas E. Dickey # created Sun Jun 23 23:43:23 UTC 2019 # ------------------------------------------------------------------------------ # NEWS | 13 # VERSION | 2 # aclocal.m4 | 224 ++- # config.guess | 89 - # config.sub | 9 # configure | 2322 +++++++++++++++++++------------- # configure.in | 12 # dist.mk | 4 # doc/html/man/adacurses6-config.1.html | 2 # doc/html/man/captoinfo.1m.html | 2 # doc/html/man/clear.1.html | 2 # doc/html/man/form.3x.html | 2 # doc/html/man/infocmp.1m.html | 2 # doc/html/man/infotocap.1m.html | 2 # doc/html/man/menu.3x.html | 2 # doc/html/man/ncurses.3x.html | 2 # doc/html/man/ncurses6-config.1.html | 2 # doc/html/man/panel.3x.html | 2 # doc/html/man/tabs.1.html | 36 # doc/html/man/terminfo.5.html | 2 # doc/html/man/tic.1m.html | 2 # doc/html/man/toe.1m.html | 2 # doc/html/man/tput.1.html | 2 # doc/html/man/tset.1.html | 2 # include/nc_mingw.h | 6 # include/ncurses_defs | 3 # man/man_db.renames | 3 # man/tabs.1 | 16 # ncurses/base/lib_initscr.c | 21 # ncurses/curses.priv.h | 6 # ncurses/tinfo/lib_acs.c | 4 # ncurses/tinfo/lib_setup.c | 31 # ncurses/tty/tty_update.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/test_sgr.c | 11 # 41 files changed, 1812 insertions(+), 1056 deletions(-) # ------------------------------------------------------------------------------ Index: NEWS Prereq: 1.3332 --- ncurses-6.1-20190615+/NEWS 2019-06-15 23:39:53.000000000 +0000 +++ ncurses-6.1-20190623/NEWS 2019-06-23 21:18:23.000000000 +0000 @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3332 2019/06/15 23:39:53 tom Exp $ +-- $Id: NEWS,v 1.3337 2019/06/23 21:18:23 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -45,6 +45,17 @@ Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20190623 + + improve the tabs.1 manual page to distinguish the PWB/Unix and 7th + Edition versions of the tabs utility. + + add configure check for getenv() to work around implementation shown + in Emscripten #6766, use that to optionally suppress START_TRACE + macro, whose call to getenv() may not work properly (report by Ilya + Ig Petrov). + + modify initialization functions to avoid relying upon persistent + data for the result from getenv(). + + update config.guess, config.sub + 20190615 + expand the portability section of the man/tabs.1 manual page. + regenerate HTML manpages. Index: VERSION --- ncurses-6.1-20190615+/VERSION 2019-06-15 12:46:35.000000000 +0000 +++ ncurses-6.1-20190623/VERSION 2019-06-23 15:31:40.000000000 +0000 @@ -1 +1 @@ -5:0:10 6.1 20190615 +5:0:10 6.1 20190623 Index: aclocal.m4 Prereq: 1.862 --- ncurses-6.1-20190615+/aclocal.m4 2019-03-30 21:53:01.000000000 +0000 +++ ncurses-6.1-20190623/aclocal.m4 2019-06-23 19:53:31.000000000 +0000 @@ -28,7 +28,7 @@ dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: aclocal.m4,v 1.862 2019/03/30 21:53:01 tom Exp $ +dnl $Id: aclocal.m4,v 1.869 2019/06/23 19:53:31 tom Exp $ dnl Macros used in NCURSES auto-configuration script. dnl dnl These macros are maintained separately from NCURSES. The copyright on @@ -925,6 +925,35 @@ fi ])dnl dnl --------------------------------------------------------------------------- +dnl CF_CHECK_ENVIRON version: 3 updated: 2010/05/26 16:44:57 +dnl ---------------- +dnl Check for data that is usually declared in , e.g., the 'environ' +dnl variable. Define a DECL_xxx symbol if we must declare it ourselves. +dnl +dnl $1 = the name to check +dnl $2 = the assumed type +AC_DEFUN([CF_CHECK_ENVIRON], +[ +AC_CACHE_CHECK(if external $1 is declared, cf_cv_dcl_$1,[ + AC_TRY_COMPILE([ +#ifdef HAVE_STDLIB_H +#include +#endif +#include ], + ifelse([$2],,int,[$2]) x = (ifelse([$2],,int,[$2])) $1, + [cf_cv_dcl_$1=yes], + [cf_cv_dcl_$1=no]) +]) + +if test "$cf_cv_dcl_$1" = no ; then + CF_UPPER(cf_result,decl_$1) + AC_DEFINE_UNQUOTED($cf_result) +fi + +# It's possible (for near-UNIX clones) that the data doesn't exist +CF_CHECK_EXTERN_DATA($1,ifelse([$2],,int,[$2])) +])dnl +dnl --------------------------------------------------------------------------- dnl CF_CHECK_ERRNO version: 12 updated: 2015/04/18 08:56:57 dnl -------------- dnl Check for data that is usually declared in or , e.g., @@ -982,6 +1011,132 @@ ])dnl dnl --------------------------------------------------------------------------- +dnl CF_CHECK_GETENV version: 1 updated: 2019/06/23 15:28:15 +dnl --------------- +dnl Check if repeated getenv calls return the same pointer, e.g., it does not +dnl discard the previous pointer when returning a new one. +AC_DEFUN([CF_CHECK_GETENV], +[ +AC_REQUIRE([CF_CHECK_ENVIRON]) +AC_CHECK_FUNC( getenv, ,, AC_MSG_ERROR(getenv not found) ) +AC_CHECK_FUNCS( putenv setenv strdup ) +AC_CACHE_CHECK(if getenv returns consistent values,cf_cv_consistent_getenv,[ +AC_TRY_RUN([ +#include +#include +#include +#include +#include + +#if defined(HAVE_ENVIRON) && defined(DECL_ENVIRON) && !defined(environ) +extern char **environ; /* POSIX, but some systems are not... */ +#endif + +#if defined(HAVE_STRDUP) +#define str_alloc(s) strdup(s) +#else +#define str_alloc(s) strcpy(malloc(strlen(s) + 1, s)) +#endif + +static void set_value(const char *name, const char *value) +{ +#if defined(HAVE_SETENV) + setenv(name, value, 1); +#elif defined(HAVE_PUTENV) + char buffer[1024]; + sprintf(buffer, "%s=%s", name, value); + putenv(str_alloc(buffer)); +#else +#error neither putenv/setenv found +#endif +} +int main(void) +{ + int pass; + size_t numenv, limit, j; + char **mynames; + char **myvalues; + char **mypointer; + char *equals; + for (numenv = 0; environ[numenv]; ++numenv) ; + limit = numenv + 10; + mynames = (char **) calloc(limit + 1, sizeof(char *)); + myvalues = (char **) calloc(limit + 1, sizeof(char *)); + mypointer = (char **) calloc(limit + 1, sizeof(char *)); +#if defined(HAVE_ENVIRON) + for (j = 0; environ[j]; ++j) { + mynames[j] = str_alloc(environ[j]); + equals = strchr(mynames[j], '='); + if (equals != 0) { + *equals++ = '\0'; + myvalues[j] = str_alloc(equals); + } else { + myvalues[j] = str_alloc(""); + } + } +#endif + for (j = numenv; j < limit; ++j) { + char name[80]; + char value[80]; + size_t found; + size_t k = 0; + do { + size_t jk; + found = 0; + sprintf(name, "TERM%lu", (unsigned long) k); + for (jk = 0; jk < j; ++jk) { + if (!strcmp(name, mynames[jk])) { + found = 1; + ++k; + break; + } + } + } while (found); + sprintf(value, "%lu:%p", (unsigned long) k, &mynames[j]); + set_value(name, value); + mynames[j] = str_alloc(name); + myvalues[j] = str_alloc(value); + } + for (pass = 0; pass < 3; ++pass) { + for (j = 0; j < limit; ++j) { + char *value = getenv(mynames[j]); + if (pass) { + if (value == 0) { + fprintf(stderr, "getenv returned null for %s\n", mynames[j]); + ${cf_cv_main_return:-return}(1); + } else if (value != mypointer[j]) { + fprintf(stderr, "getenv returned different pointer for %s\n", mynames[j]); + ${cf_cv_main_return:-return}(1); + } else if (strcmp(value, myvalues[j])) { + fprintf(stderr, "getenv returned different value for %s\n", mynames[j]); + ${cf_cv_main_return:-return}(1); + } + } else { + size_t k; + mypointer[j] = value; + for (k = 0; k < j; ++k) { + if (mypointer[j] == mypointer[k]) { + fprintf(stderr, "getenv returned same pointer for %s and %s\n", mynames[j], mynames[k]); + ${cf_cv_main_return:-return}(1); + } + } + } + } + } + ${cf_cv_main_return:-return}(0); +} +], +[cf_cv_consistent_getenv=yes], +[cf_cv_consistent_getenv=no], +[cf_cv_consistent_getenv=unknown]) +]) + +if test "x$cf_cv_consistent_getenv" = xno +then + AC_DEFINE(HAVE_CONSISTENT_GETENV,1,[Define to 1 if getenv repeatably returns the same value for a given name]) +fi +])dnl +dnl --------------------------------------------------------------------------- dnl CF_CHECK_GPM_WGETCH version: 3 updated: 2017/01/21 11:06:25 dnl ------------------- dnl Check if GPM is already linked with curses. If so - and if the linkage @@ -1253,6 +1408,60 @@ fi ]) dnl --------------------------------------------------------------------------- +dnl CF_CONST_X_STRING version: 1 updated: 2019/04/08 17:50:29 +dnl ----------------- +dnl The X11R4-X11R6 Xt specification uses an ambiguous String type for most +dnl character-strings. +dnl +dnl It is ambiguous because the specification accommodated the pre-ANSI +dnl compilers bundled by more than one vendor in lieu of providing a standard C +dnl compiler other than by costly add-ons. Because of this, the specification +dnl did not take into account the use of const for telling the compiler that +dnl string literals would be in readonly memory. +dnl +dnl As a workaround, one could (starting with X11R5) define XTSTRINGDEFINES, to +dnl let the compiler decide how to represent Xt's strings which were #define'd. +dnl That does not solve the problem of using the block of Xt's strings which +dnl are compiled into the library (and is less efficient than one might want). +dnl +dnl Xt specification 7 introduces the _CONST_X_STRING symbol which is used both +dnl when compiling the library and compiling using the library, to tell the +dnl compiler that String is const. +AC_DEFUN([CF_CONST_X_STRING], +[ +AC_TRY_COMPILE( +[ +#include +#include +], +[String foo = malloc(1)],[ + +AC_CACHE_CHECK(for X11/Xt const-feature,cf_cv_const_x_string,[ + AC_TRY_COMPILE( + [ +#define _CONST_X_STRING /* X11R7.8 (perhaps) */ +#undef XTSTRINGDEFINES /* X11R5 and later */ +#include +#include + ],[String foo = malloc(1); *foo = 0],[ + cf_cv_const_x_string=no + ],[ + cf_cv_const_x_string=yes + ]) +]) + +case $cf_cv_const_x_string in +(no) + CF_APPEND_TEXT(CPPFLAGS,-DXTSTRINGDEFINES) + ;; +(*) + CF_APPEND_TEXT(CPPFLAGS,-D_CONST_X_STRING) + ;; +esac + +]) +])dnl +dnl --------------------------------------------------------------------------- dnl CF_CPP_PARAM_INIT version: 7 updated: 2017/01/21 11:06:25 dnl ----------------- dnl Check if the C++ compiler accepts duplicate parameter initialization. This @@ -2343,7 +2552,7 @@ fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_GCC_WARNINGS version: 33 updated: 2018/06/20 20:23:13 +dnl CF_GCC_WARNINGS version: 35 updated: 2019/06/16 09:45:01 dnl --------------- dnl Check if the compiler supports useful warning options. There's a few that dnl we don't use, simply because they're too noisy: @@ -2367,12 +2576,11 @@ AC_REQUIRE([CF_GCC_VERSION]) CF_INTEL_COMPILER(GCC,INTEL_COMPILER,CFLAGS) CF_CLANG_COMPILER(GCC,CLANG_COMPILER,CFLAGS) - +if test "x$have_x" = xyes; then CF_CONST_X_STRING fi cat > conftest.$ac_ext < /dev/null 2> /dev/null && \ + ! xcode-select --print-path > /dev/null 2> /dev/null ; then + # Avoid executing cc if there is no toolchain installed as + # cc will be a stub that puts up a graphical alert + # prompting the user to install developer tools. + CC_FOR_BUILD=no_compiler_found + else + set_cc_for_build fi - if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - case $UNAME_PROCESSOR in - i386) UNAME_PROCESSOR=x86_64 ;; - powerpc) UNAME_PROCESSOR=powerpc64 ;; - esac - fi - # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc - if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_PPC >/dev/null - then - UNAME_PROCESSOR=powerpc - fi + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc fi elif test "$UNAME_PROCESSOR" = i386 ; then - # Avoid executing cc on OS X 10.9, as it ships with a stub - # that puts up a graphical alert prompting to install - # developer tools. Any system running Mac OS X 10.7 or - # later (Darwin 11 and later) is required to have a 64-bit - # processor. This is not true of the ARM version of Darwin - # that Apple uses in portable devices. - UNAME_PROCESSOR=x86_64 + # uname -m returns i386 or x86_64 + UNAME_PROCESSOR=$UNAME_MACHINE fi echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" exit ;; @@ -1468,6 +1472,14 @@ #include #include #endif +#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) +#if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) +#include +#if defined(_SIZE_T_) || defined(SIGLOST) +#include +#endif +#endif +#endif main () { #if defined (sony) @@ -1555,18 +1567,23 @@ printf ("vax-dec-bsd\n"); exit (0); #endif #else +#if defined(_SIZE_T_) || defined(SIGLOST) + struct utsname un; + uname (&un); + printf ("vax-dec-ultrix%s\n", un.release); exit (0); +#else printf ("vax-dec-ultrix\n"); exit (0); #endif #endif +#endif #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) #if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) -#include -#if defined(_SIZE_T_) /* >= ULTRIX4 */ - printf ("mips-dec-ultrix4\n"); exit (0); +#if defined(_SIZE_T_) || defined(SIGLOST) + struct utsname *un; + uname (&un); + printf ("mips-dec-ultrix%s\n", un.release); exit (0); #else -#if defined(ULTRIX3) || defined(ultrix3) || defined(SIGLOST) - printf ("mips-dec-ultrix3\n"); exit (0); -#endif + printf ("mips-dec-ultrix\n"); exit (0); #endif #endif #endif Index: config.sub --- ncurses-6.1-20190615+/config.sub 2019-03-28 21:31:13.000000000 +0000 +++ ncurses-6.1-20190623/config.sub 2019-05-23 01:27:51.000000000 +0000 @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2019 Free Software Foundation, Inc. -timestamp='2019-01-05' +timestamp='2019-05-23' # 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 @@ -1172,7 +1172,7 @@ | asmjs \ | ba \ | be32 | be64 \ - | bfin | bs2000 \ + | bfin | bpf | bs2000 \ | c[123]* | c30 | [cjt]90 | c4x \ | c8051 | clipper | craynv | csky | cydra \ | d10v | d30v | dlx | dsp16xx \ @@ -1247,7 +1247,8 @@ | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \ | vax \ | visium \ - | w65 | wasm32 \ + | w65 \ + | wasm32 | wasm64 \ | we32k \ | x86 | x86_64 | xc16x | xgate | xps100 \ | xstormy16 | xtensa* \ @@ -1367,7 +1368,7 @@ | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ - | midnightbsd* | amdhsa* | unleashed* | emscripten*) + | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi*) # Remember, each alternative MUST END IN *, to match a version number. ;; qnx*) Index: configure --- ncurses-6.1-20190615+/configure 2019-03-30 21:50:56.000000000 +0000 +++ ncurses-6.1-20190623/configure 2019-06-23 21:27:11.000000000 +0000 @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.678 . +# From configure.in Revision: 1.682 . # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.52.20181006. # @@ -15116,11 +15116,111 @@ echo "${ECHO_T}$CLANG_COMPILER" >&6 fi +if test "x$have_x" = xyes; then +cat >conftest.$ac_ext <<_ACEOF +#line 15121 "configure" +#include "confdefs.h" + +#include +#include + +int +main (void) +{ +String foo = malloc(1) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:15136: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:15139: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:15142: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:15145: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + +echo "$as_me:15148: 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 15155 "configure" +#include "confdefs.h" + +#define _CONST_X_STRING /* X11R7.8 (perhaps) */ +#undef XTSTRINGDEFINES /* X11R5 and later */ +#include +#include + +int +main (void) +{ +String foo = malloc(1); *foo = 0 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:15172: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:15175: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:15178: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:15181: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + + cf_cv_const_x_string=no + +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 + + cf_cv_const_x_string=yes + +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:15196: result: $cf_cv_const_x_string" >&5 +echo "${ECHO_T}$cf_cv_const_x_string" >&6 + +case $cf_cv_const_x_string in +(no) + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}-DXTSTRINGDEFINES" + + ;; +(*) + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}-D_CONST_X_STRING" + + ;; +esac + +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +fi +rm -f conftest.$ac_objext conftest.$ac_ext + fi cat > conftest.$ac_ext <&5 + { echo "$as_me:15237: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="-Wall" @@ -15150,21 +15250,20 @@ wd981 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:15153: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:15253: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15156: \$? = $ac_status" >&5 + echo "$as_me:15256: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:15158: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:15258: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi done CFLAGS="$cf_save_CFLAGS" - elif test "$GCC" = yes then - { echo "$as_me:15167: checking for $CC warning options..." >&5 + { echo "$as_me:15266: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS= @@ -15188,26 +15287,20 @@ Wundef $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:15191: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:15290: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15194: \$? = $ac_status" >&5 + echo "$as_me:15293: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:15196: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:15295: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case $cf_opt in - (Wcast-qual) - - test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " - CPPFLAGS="${CPPFLAGS}-DXTSTRINGDEFINES" - - ;; (Winline) case $GCC_VERSION in ([34].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:15210: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:15303: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -15217,7 +15310,7 @@ ([12].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:15220: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:15313: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -15237,12 +15330,12 @@ if test "$GCC" = yes ; then case $host_os in (linux*|gnu*) - echo "$as_me:15240: checking if this is really Intel C++ compiler" >&5 + echo "$as_me:15333: 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 15245 "configure" +#line 15338 "configure" #include "confdefs.h" int @@ -15259,16 +15352,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:15262: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:15355: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15265: \$? = $ac_status" >&5 + echo "$as_me:15358: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15268: \"$ac_try\"") >&5 + { (eval echo "$as_me:15361: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15271: \$? = $ac_status" >&5 + echo "$as_me:15364: \$? = $ac_status" >&5 (exit $ac_status); }; }; then INTEL_CPLUSPLUS=yes cf_save_CFLAGS="$cf_save_CFLAGS -we147" @@ -15279,7 +15372,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$cf_save_CFLAGS" - echo "$as_me:15282: result: $INTEL_CPLUSPLUS" >&5 + echo "$as_me:15375: result: $INTEL_CPLUSPLUS" >&5 echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6 ;; esac @@ -15288,12 +15381,12 @@ CLANG_CPLUSPLUS=no if test "$GCC" = yes ; then - echo "$as_me:15291: checking if this is really Clang C++ compiler" >&5 + echo "$as_me:15384: 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" CXXFLAGS="$CXXFLAGS -Qunused-arguments" cat >conftest.$ac_ext <<_ACEOF -#line 15296 "configure" +#line 15389 "configure" #include "confdefs.h" int @@ -15310,16 +15403,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:15313: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:15406: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15316: \$? = $ac_status" >&5 + echo "$as_me:15409: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15319: \"$ac_try\"") >&5 + { (eval echo "$as_me:15412: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15322: \$? = $ac_status" >&5 + echo "$as_me:15415: \$? = $ac_status" >&5 (exit $ac_status); }; }; then CLANG_CPLUSPLUS=yes cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments" @@ -15330,7 +15423,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$cf_save_CFLAGS" - echo "$as_me:15333: result: $CLANG_CPLUSPLUS" >&5 + echo "$as_me:15426: result: $CLANG_CPLUSPLUS" >&5 echo "${ECHO_T}$CLANG_CPLUSPLUS" >&6 fi @@ -15342,7 +15435,7 @@ ac_main_return=return cat > conftest.$ac_ext <&5 + { echo "$as_me:15456: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CXXFLAGS="$CXXFLAGS" EXTRA_CXXFLAGS="-Wall" @@ -15377,12 +15470,12 @@ wd981 do CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt" - if { (eval echo "$as_me:15380: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:15473: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15383: \$? = $ac_status" >&5 + echo "$as_me:15476: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:15385: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:15478: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" fi @@ -15391,7 +15484,7 @@ elif test "$GXX" = yes then - { echo "$as_me:15394: checking for $CXX warning options..." >&5 + { echo "$as_me:15487: checking for $CXX warning options..." >&5 echo "$as_me: checking for $CXX warning options..." >&6;} cf_save_CXXFLAGS="$CXXFLAGS" EXTRA_CXXFLAGS="-W -Wall" @@ -15421,16 +15514,16 @@ Wundef $cf_gxx_extra_warnings Wno-unused do CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt" - if { (eval echo "$as_me:15424: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:15517: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15427: \$? = $ac_status" >&5 + echo "$as_me:15520: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:15429: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:15522: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" else - test -n "$verbose" && echo "$as_me:15433: result: ... no -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:15526: result: ... no -$cf_opt" >&5 echo "${ECHO_T}... no -$cf_opt" >&6 fi done @@ -15466,10 +15559,10 @@ EOF if test "$GCC" = yes then - { echo "$as_me:15469: checking for $CC __attribute__ directives..." >&5 + { echo "$as_me:15562: 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:15614: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15524: \$? = $ac_status" >&5 + echo "$as_me:15617: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:15526: result: ... $cf_attribute" >&5 + test -n "$verbose" && echo "$as_me:15619: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h case $cf_attribute in @@ -15582,7 +15675,7 @@ rm -rf conftest* fi -echo "$as_me:15585: checking if you want to work around bogus compiler/loader warnings" >&5 +echo "$as_me:15678: 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. @@ -15592,7 +15685,7 @@ else with_string_hacks=no fi; -echo "$as_me:15595: result: $with_string_hacks" >&5 +echo "$as_me:15688: result: $with_string_hacks" >&5 echo "${ECHO_T}$with_string_hacks" >&6 if test "x$with_string_hacks" = "xyes"; then @@ -15601,15 +15694,15 @@ #define USE_STRING_HACKS 1 EOF - { echo "$as_me:15604: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5 + { echo "$as_me:15697: 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:15606: checking for strlcat" >&5 + echo "$as_me:15699: 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 15612 "configure" +#line 15705 "configure" #include "confdefs.h" #define strlcat autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -15640,16 +15733,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15643: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15736: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15646: \$? = $ac_status" >&5 + echo "$as_me:15739: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15649: \"$ac_try\"") >&5 + { (eval echo "$as_me:15742: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15652: \$? = $ac_status" >&5 + echo "$as_me:15745: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_strlcat=yes else @@ -15659,7 +15752,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15662: result: $ac_cv_func_strlcat" >&5 +echo "$as_me:15755: result: $ac_cv_func_strlcat" >&5 echo "${ECHO_T}$ac_cv_func_strlcat" >&6 if test $ac_cv_func_strlcat = yes; then @@ -15669,7 +15762,7 @@ else - echo "$as_me:15672: checking for strlcat in -lbsd" >&5 + echo "$as_me:15765: 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 @@ -15677,7 +15770,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 15680 "configure" +#line 15773 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15696,16 +15789,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15699: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15792: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15702: \$? = $ac_status" >&5 + echo "$as_me:15795: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15705: \"$ac_try\"") >&5 + { (eval echo "$as_me:15798: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15708: \$? = $ac_status" >&5 + echo "$as_me:15801: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bsd_strlcat=yes else @@ -15716,7 +15809,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15719: result: $ac_cv_lib_bsd_strlcat" >&5 +echo "$as_me:15812: 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 @@ -15739,23 +15832,23 @@ for ac_header in bsd/string.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:15742: checking for $ac_header" >&5 +echo "$as_me:15835: 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 15748 "configure" +#line 15841 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:15752: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:15845: \"$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:15758: \$? = $ac_status" >&5 + echo "$as_me:15851: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -15774,7 +15867,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:15777: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:15870: 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:15891: 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 15804 "configure" +#line 15897 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -15832,16 +15925,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15835: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15928: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15838: \$? = $ac_status" >&5 + echo "$as_me:15931: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15841: \"$ac_try\"") >&5 + { (eval echo "$as_me:15934: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15844: \$? = $ac_status" >&5 + echo "$as_me:15937: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -15851,7 +15944,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15854: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:15947: 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:15960: 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. @@ -15874,7 +15967,7 @@ else with_assertions=no fi; -echo "$as_me:15877: result: $with_assertions" >&5 +echo "$as_me:15970: result: $with_assertions" >&5 echo "${ECHO_T}$with_assertions" >&6 if test -n "$GCC" then @@ -15890,7 +15983,7 @@ ### use option --disable-leaks to suppress "permanent" leaks, for testing -echo "$as_me:15893: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:15986: 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. @@ -15907,7 +16000,7 @@ else with_dmalloc= fi; -echo "$as_me:15910: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:16003: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 case .$with_cflags in @@ -16021,23 +16114,23 @@ esac if test "$with_dmalloc" = yes ; then - echo "$as_me:16024: checking for dmalloc.h" >&5 + echo "$as_me:16117: 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 16030 "configure" +#line 16123 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:16034: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16127: \"$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:16040: \$? = $ac_status" >&5 + echo "$as_me:16133: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -16056,11 +16149,11 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:16059: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:16152: 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:16063: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:16156: 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 @@ -16068,7 +16161,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 16071 "configure" +#line 16164 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -16087,16 +16180,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16090: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16183: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16093: \$? = $ac_status" >&5 + echo "$as_me:16186: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16096: \"$ac_try\"") >&5 + { (eval echo "$as_me:16189: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16099: \$? = $ac_status" >&5 + echo "$as_me:16192: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else @@ -16107,7 +16200,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:16110: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:16203: 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:16218: 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. @@ -16139,7 +16232,7 @@ else with_dbmalloc= fi; -echo "$as_me:16142: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:16235: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 case .$with_cflags in @@ -16253,23 +16346,23 @@ esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:16256: checking for dbmalloc.h" >&5 + echo "$as_me:16349: 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 16262 "configure" +#line 16355 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:16266: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16359: \"$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:16272: \$? = $ac_status" >&5 + echo "$as_me:16365: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -16288,11 +16381,11 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:16291: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:16384: 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:16295: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:16388: 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 @@ -16300,7 +16393,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 16303 "configure" +#line 16396 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -16319,16 +16412,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16322: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16415: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16325: \$? = $ac_status" >&5 + echo "$as_me:16418: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16328: \"$ac_try\"") >&5 + { (eval echo "$as_me:16421: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16331: \$? = $ac_status" >&5 + echo "$as_me:16424: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else @@ -16339,7 +16432,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:16342: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:16435: 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:16450: 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. @@ -16371,7 +16464,7 @@ else with_valgrind= fi; -echo "$as_me:16374: result: ${with_valgrind:-no}" >&5 +echo "$as_me:16467: result: ${with_valgrind:-no}" >&5 echo "${ECHO_T}${with_valgrind:-no}" >&6 case .$with_cflags in @@ -16484,7 +16577,7 @@ ;; esac -echo "$as_me:16487: checking if you want to perform memory-leak testing" >&5 +echo "$as_me:16580: 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. @@ -16494,7 +16587,7 @@ else : ${with_no_leaks:=no} fi; -echo "$as_me:16497: result: $with_no_leaks" >&5 +echo "$as_me:16590: result: $with_no_leaks" >&5 echo "${ECHO_T}$with_no_leaks" >&6 if test "$with_no_leaks" = yes ; then @@ -16546,7 +16639,7 @@ ;; esac -echo "$as_me:16549: checking whether to add trace feature to all models" >&5 +echo "$as_me:16642: 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. @@ -16556,7 +16649,7 @@ else cf_with_trace=$cf_all_traces fi; -echo "$as_me:16559: result: $cf_with_trace" >&5 +echo "$as_me:16652: result: $cf_with_trace" >&5 echo "${ECHO_T}$cf_with_trace" >&6 if test "x$cf_with_trace" = xyes ; then @@ -16670,7 +16763,7 @@ ADA_TRACE=FALSE fi -echo "$as_me:16673: checking if we want to use GNAT projects" >&5 +echo "$as_me:16766: 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. @@ -16687,7 +16780,7 @@ enable_gnat_projects=yes fi; -echo "$as_me:16690: result: $enable_gnat_projects" >&5 +echo "$as_me:16783: result: $enable_gnat_projects" >&5 echo "${ECHO_T}$enable_gnat_projects" >&6 ### Checks for libraries. @@ -16697,13 +16790,13 @@ LIBS=" -lpsapi $LIBS" ;; (*) -echo "$as_me:16700: checking for gettimeofday" >&5 +echo "$as_me:16793: 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 16706 "configure" +#line 16799 "configure" #include "confdefs.h" #define gettimeofday autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -16734,16 +16827,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16737: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16830: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16740: \$? = $ac_status" >&5 + echo "$as_me:16833: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16743: \"$ac_try\"") >&5 + { (eval echo "$as_me:16836: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16746: \$? = $ac_status" >&5 + echo "$as_me:16839: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_gettimeofday=yes else @@ -16753,7 +16846,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:16756: result: $ac_cv_func_gettimeofday" >&5 +echo "$as_me:16849: result: $ac_cv_func_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 if test $ac_cv_func_gettimeofday = yes; then @@ -16763,7 +16856,7 @@ else -echo "$as_me:16766: checking for gettimeofday in -lbsd" >&5 +echo "$as_me:16859: 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 @@ -16771,7 +16864,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 16774 "configure" +#line 16867 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -16790,16 +16883,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16793: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16886: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16796: \$? = $ac_status" >&5 + echo "$as_me:16889: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16799: \"$ac_try\"") >&5 + { (eval echo "$as_me:16892: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16802: \$? = $ac_status" >&5 + echo "$as_me:16895: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bsd_gettimeofday=yes else @@ -16810,7 +16903,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:16813: result: $ac_cv_lib_bsd_gettimeofday" >&5 +echo "$as_me:16906: 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 @@ -16840,14 +16933,14 @@ ;; esac -echo "$as_me:16843: checking if -lm needed for math functions" >&5 +echo "$as_me:16936: 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 16850 "configure" +#line 16943 "configure" #include "confdefs.h" #include @@ -16863,16 +16956,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16866: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16959: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16869: \$? = $ac_status" >&5 + echo "$as_me:16962: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16872: \"$ac_try\"") >&5 + { (eval echo "$as_me:16965: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16875: \$? = $ac_status" >&5 + echo "$as_me:16968: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_need_libm=no else @@ -16882,7 +16975,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:16885: result: $cf_cv_need_libm" >&5 +echo "$as_me:16978: result: $cf_cv_need_libm" >&5 echo "${ECHO_T}$cf_cv_need_libm" >&6 if test "$cf_cv_need_libm" = yes then @@ -16890,13 +16983,13 @@ fi ### Checks for header files. -echo "$as_me:16893: checking for ANSI C header files" >&5 +echo "$as_me:16986: 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 16899 "configure" +#line 16992 "configure" #include "confdefs.h" #include #include @@ -16904,13 +16997,13 @@ #include _ACEOF -if { (eval echo "$as_me:16907: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:17000: \"$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:16913: \$? = $ac_status" >&5 + echo "$as_me:17006: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -16932,7 +17025,7 @@ 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 16935 "configure" +#line 17028 "configure" #include "confdefs.h" #include @@ -16950,7 +17043,7 @@ 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 16953 "configure" +#line 17046 "configure" #include "confdefs.h" #include @@ -16971,7 +17064,7 @@ : else cat >conftest.$ac_ext <<_ACEOF -#line 16974 "configure" +#line 17067 "configure" #include "confdefs.h" #include #if ((' ' & 0x0FF) == 0x020) @@ -16997,15 +17090,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:17000: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17093: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17003: \$? = $ac_status" >&5 + echo "$as_me:17096: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:17005: \"$ac_try\"") >&5 + { (eval echo "$as_me:17098: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17008: \$? = $ac_status" >&5 + echo "$as_me:17101: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -17018,7 +17111,7 @@ fi fi fi -echo "$as_me:17021: result: $ac_cv_header_stdc" >&5 +echo "$as_me:17114: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -17031,13 +17124,13 @@ 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:17034: checking for $ac_hdr that defines DIR" >&5 +echo "$as_me:17127: 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 17040 "configure" +#line 17133 "configure" #include "confdefs.h" #include #include <$ac_hdr> @@ -17052,16 +17145,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17055: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17148: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17058: \$? = $ac_status" >&5 + echo "$as_me:17151: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17061: \"$ac_try\"") >&5 + { (eval echo "$as_me:17154: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17064: \$? = $ac_status" >&5 + echo "$as_me:17157: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else @@ -17071,7 +17164,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:17074: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:17167: 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:17180: 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 @@ -17092,7 +17185,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-ldir $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 17095 "configure" +#line 17188 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -17111,16 +17204,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17114: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17207: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17117: \$? = $ac_status" >&5 + echo "$as_me:17210: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17120: \"$ac_try\"") >&5 + { (eval echo "$as_me:17213: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17123: \$? = $ac_status" >&5 + echo "$as_me:17216: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dir_opendir=yes else @@ -17131,14 +17224,14 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:17134: result: $ac_cv_lib_dir_opendir" >&5 +echo "$as_me:17227: 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:17141: checking for opendir in -lx" >&5 + echo "$as_me:17234: 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 @@ -17146,7 +17239,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lx $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 17149 "configure" +#line 17242 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -17165,16 +17258,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17168: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17261: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17171: \$? = $ac_status" >&5 + echo "$as_me:17264: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17174: \"$ac_try\"") >&5 + { (eval echo "$as_me:17267: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17177: \$? = $ac_status" >&5 + echo "$as_me:17270: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_x_opendir=yes else @@ -17185,7 +17278,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:17188: result: $ac_cv_lib_x_opendir" >&5 +echo "$as_me:17281: 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" @@ -17193,13 +17286,13 @@ fi -echo "$as_me:17196: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:17289: 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 17202 "configure" +#line 17295 "configure" #include "confdefs.h" #include #include @@ -17215,16 +17308,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17218: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17311: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17221: \$? = $ac_status" >&5 + echo "$as_me:17314: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17224: \"$ac_try\"") >&5 + { (eval echo "$as_me:17317: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17227: \$? = $ac_status" >&5 + echo "$as_me:17320: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else @@ -17234,7 +17327,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:17237: result: $ac_cv_header_time" >&5 +echo "$as_me:17330: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -17253,13 +17346,13 @@ ;; esac -echo "$as_me:17256: checking for regcomp" >&5 +echo "$as_me:17349: 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 17262 "configure" +#line 17355 "configure" #include "confdefs.h" #define regcomp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -17290,16 +17383,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17293: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17386: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17296: \$? = $ac_status" >&5 + echo "$as_me:17389: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17299: \"$ac_try\"") >&5 + { (eval echo "$as_me:17392: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17302: \$? = $ac_status" >&5 + echo "$as_me:17395: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_regcomp=yes else @@ -17309,7 +17402,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:17312: result: $ac_cv_func_regcomp" >&5 +echo "$as_me:17405: 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 @@ -17318,7 +17411,7 @@ 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:17321: checking for regcomp in -l$cf_regex_lib" >&5 +echo "$as_me:17414: 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 @@ -17326,7 +17419,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-l$cf_regex_lib $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 17329 "configure" +#line 17422 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -17345,16 +17438,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17348: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17441: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17351: \$? = $ac_status" >&5 + echo "$as_me:17444: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17354: \"$ac_try\"") >&5 + { (eval echo "$as_me:17447: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17357: \$? = $ac_status" >&5 + echo "$as_me:17450: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else @@ -17365,7 +17458,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:17368: result: `eval echo '${'$as_ac_Lib'}'`" >&5 +echo "$as_me:17461: 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 @@ -17394,13 +17487,13 @@ fi if test "$cf_regex_func" = no ; then - echo "$as_me:17397: checking for compile" >&5 + echo "$as_me:17490: 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 17403 "configure" +#line 17496 "configure" #include "confdefs.h" #define compile autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -17431,16 +17524,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17434: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17527: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17437: \$? = $ac_status" >&5 + echo "$as_me:17530: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17440: \"$ac_try\"") >&5 + { (eval echo "$as_me:17533: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17443: \$? = $ac_status" >&5 + echo "$as_me:17536: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_compile=yes else @@ -17450,13 +17543,13 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:17453: result: $ac_cv_func_compile" >&5 +echo "$as_me:17546: 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:17459: checking for compile in -lgen" >&5 + echo "$as_me:17552: 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 @@ -17464,7 +17557,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lgen $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 17467 "configure" +#line 17560 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -17483,16 +17576,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17486: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17579: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17489: \$? = $ac_status" >&5 + echo "$as_me:17582: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17492: \"$ac_try\"") >&5 + { (eval echo "$as_me:17585: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17495: \$? = $ac_status" >&5 + echo "$as_me:17588: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_gen_compile=yes else @@ -17503,7 +17596,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:17506: result: $ac_cv_lib_gen_compile" >&5 +echo "$as_me:17599: 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 @@ -17531,11 +17624,11 @@ fi if test "$cf_regex_func" = no ; then - { echo "$as_me:17534: WARNING: cannot find regular expression library" >&5 + { echo "$as_me:17627: WARNING: cannot find regular expression library" >&5 echo "$as_me: WARNING: cannot find regular expression library" >&2;} fi -echo "$as_me:17538: checking for regular-expression headers" >&5 +echo "$as_me:17631: 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 @@ -17547,7 +17640,7 @@ for cf_regex_hdr in regexp.h regexpr.h do cat >conftest.$ac_ext <<_ACEOF -#line 17550 "configure" +#line 17643 "configure" #include "confdefs.h" #include <$cf_regex_hdr> int @@ -17562,16 +17655,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17565: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17658: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17568: \$? = $ac_status" >&5 + echo "$as_me:17661: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17571: \"$ac_try\"") >&5 + { (eval echo "$as_me:17664: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17574: \$? = $ac_status" >&5 + echo "$as_me:17667: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -17588,7 +17681,7 @@ for cf_regex_hdr in regex.h do cat >conftest.$ac_ext <<_ACEOF -#line 17591 "configure" +#line 17684 "configure" #include "confdefs.h" #include #include <$cf_regex_hdr> @@ -17606,16 +17699,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17609: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17702: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17612: \$? = $ac_status" >&5 + echo "$as_me:17705: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17615: \"$ac_try\"") >&5 + { (eval echo "$as_me:17708: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17618: \$? = $ac_status" >&5 + echo "$as_me:17711: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -17631,11 +17724,11 @@ esac fi -echo "$as_me:17634: result: $cf_cv_regex_hdrs" >&5 +echo "$as_me:17727: result: $cf_cv_regex_hdrs" >&5 echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 case $cf_cv_regex_hdrs in - (no) { echo "$as_me:17638: WARNING: no regular expression header found" >&5 + (no) { echo "$as_me:17731: WARNING: no regular expression header found" >&5 echo "$as_me: WARNING: no regular expression header found" >&2;} ;; (regex.h) cat >>confdefs.h <<\EOF @@ -17674,23 +17767,23 @@ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:17677: checking for $ac_header" >&5 +echo "$as_me:17770: 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 17683 "configure" +#line 17776 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:17687: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:17780: \"$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:17693: \$? = $ac_status" >&5 + echo "$as_me:17786: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -17709,7 +17802,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:17712: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:17805: 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:17818: 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 17731 "configure" +#line 17824 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:17735: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:17828: \"$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:17741: \$? = $ac_status" >&5 + echo "$as_me:17834: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -17757,7 +17850,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:17760: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:17853: 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:17863: 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 @@ -17777,7 +17870,7 @@ for cf_header in stdio.h stdlib.h unistd.h getopt.h do cat >conftest.$ac_ext <<_ACEOF -#line 17780 "configure" +#line 17873 "configure" #include "confdefs.h" #include <$cf_header> @@ -17790,16 +17883,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17793: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17886: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17796: \$? = $ac_status" >&5 + echo "$as_me:17889: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17799: \"$ac_try\"") >&5 + { (eval echo "$as_me:17892: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17802: \$? = $ac_status" >&5 + echo "$as_me:17895: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_getopt_header=$cf_header break @@ -17811,7 +17904,7 @@ done fi -echo "$as_me:17814: result: $cf_cv_getopt_header" >&5 +echo "$as_me:17907: result: $cf_cv_getopt_header" >&5 echo "${ECHO_T}$cf_cv_getopt_header" >&6 if test $cf_cv_getopt_header != none ; then @@ -17828,11 +17921,411 @@ fi +echo "$as_me:17924: 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 17931 "configure" +#include "confdefs.h" + +#ifdef HAVE_STDLIB_H +#include +#endif +#include +int +main (void) +{ +int x = (int) environ + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:17947: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:17950: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:17953: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:17956: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cf_cv_dcl_environ=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +cf_cv_dcl_environ=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:17967: result: $cf_cv_dcl_environ" >&5 +echo "${ECHO_T}$cf_cv_dcl_environ" >&6 + +if test "$cf_cv_dcl_environ" = no ; then + +cf_result=`echo "decl_environ" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` + + cat >>confdefs.h <&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 17989 "configure" +#include "confdefs.h" + +#undef environ +extern int environ; + +int +main (void) +{ +environ = 2 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:18004: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:18007: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:18010: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:18013: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cf_cv_have_environ=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +cf_cv_have_environ=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + +fi +echo "$as_me:18024: result: $cf_cv_have_environ" >&5 +echo "${ECHO_T}$cf_cv_have_environ" >&6 + +if test "$cf_cv_have_environ" = yes ; then + +cf_result=`echo "have_environ" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` + + cat >>confdefs.h <&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 18043 "configure" +#include "confdefs.h" +#define getenv autoconf_temporary +#include /* least-intrusive standard header which defines gcc2 __stub macros */ +#undef getenv + +#ifdef __cplusplus +extern "C" +#endif + +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char getenv (void); + +int +main (void) +{ + +/* The GNU C library defines stubs for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_getenv) || defined (__stub___getenv) +#error found stub for getenv +#endif + + return getenv (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:18074: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:18077: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:18080: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:18083: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_getenv=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_func_getenv=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:18093: 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:18099: 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 18105 "configure" +#include "confdefs.h" +#define $ac_func autoconf_temporary +#include /* least-intrusive standard header which defines gcc2 __stub macros */ +#undef $ac_func + +#ifdef __cplusplus +extern "C" +#endif + +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (void); + +int +main (void) +{ + +/* The GNU C library defines stubs for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +#error found stub for $ac_func +#endif + + return $ac_func (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:18136: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:18139: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:18142: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:18145: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$as_ac_var=no" +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:18155: 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 $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 +else + +if test "$cross_compiling" = yes; then + cf_cv_consistent_getenv=unknown +else + cat >conftest.$ac_ext <<_ACEOF +#line 18175 "configure" +#include "confdefs.h" + +#include +#include +#include +#include +#include + +#if defined(HAVE_ENVIRON) && defined(DECL_ENVIRON) && !defined(environ) +extern char **environ; /* POSIX, but some systems are not... */ +#endif + +#if defined(HAVE_STRDUP) +#define str_alloc(s) strdup(s) +#else +#define str_alloc(s) strcpy(malloc(strlen(s) + 1, s)) +#endif + +static void set_value(const char *name, const char *value) +{ +#if defined(HAVE_SETENV) + setenv(name, value, 1); +#elif defined(HAVE_PUTENV) + char buffer[1024]; + sprintf(buffer, "%s=%s", name, value); + putenv(str_alloc(buffer)); +#else +#error neither putenv/setenv found +#endif +} +int main(void) +{ + int pass; + size_t numenv, limit, j; + char **mynames; + char **myvalues; + char **mypointer; + char *equals; + for (numenv = 0; environ[numenv]; ++numenv) ; + limit = numenv + 10; + mynames = (char **) calloc(limit + 1, sizeof(char *)); + myvalues = (char **) calloc(limit + 1, sizeof(char *)); + mypointer = (char **) calloc(limit + 1, sizeof(char *)); +#if defined(HAVE_ENVIRON) + for (j = 0; environ[j]; ++j) { + mynames[j] = str_alloc(environ[j]); + equals = strchr(mynames[j], '='); + if (equals != 0) { + *equals++ = '\0'; + myvalues[j] = str_alloc(equals); + } else { + myvalues[j] = str_alloc(""); + } + } +#endif + for (j = numenv; j < limit; ++j) { + char name[80]; + char value[80]; + size_t found; + size_t k = 0; + do { + size_t jk; + found = 0; + sprintf(name, "TERM%lu", (unsigned long) k); + for (jk = 0; jk < j; ++jk) { + if (!strcmp(name, mynames[jk])) { + found = 1; + ++k; + break; + } + } + } while (found); + sprintf(value, "%lu:%p", (unsigned long) k, &mynames[j]); + set_value(name, value); + mynames[j] = str_alloc(name); + myvalues[j] = str_alloc(value); + } + for (pass = 0; pass < 3; ++pass) { + for (j = 0; j < limit; ++j) { + char *value = getenv(mynames[j]); + if (pass) { + if (value == 0) { + fprintf(stderr, "getenv returned null for %s\n", mynames[j]); + ${cf_cv_main_return:-return}(1); + } else if (value != mypointer[j]) { + fprintf(stderr, "getenv returned different pointer for %s\n", mynames[j]); + ${cf_cv_main_return:-return}(1); + } else if (strcmp(value, myvalues[j])) { + fprintf(stderr, "getenv returned different value for %s\n", mynames[j]); + ${cf_cv_main_return:-return}(1); + } + } else { + size_t k; + mypointer[j] = value; + for (k = 0; k < j; ++k) { + if (mypointer[j] == mypointer[k]) { + fprintf(stderr, "getenv returned same pointer for %s and %s\n", mynames[j], mynames[k]); + ${cf_cv_main_return:-return}(1); + } + } + } + } + } + ${cf_cv_main_return:-return}(0); +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:18284: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:18287: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:18289: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:18292: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cf_cv_consistent_getenv=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_cv_consistent_getenv=no +fi +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + +fi +echo "$as_me:18305: result: $cf_cv_consistent_getenv" >&5 +echo "${ECHO_T}$cf_cv_consistent_getenv" >&6 + +if test "x$cf_cv_consistent_getenv" = xno +then + +cat >>confdefs.h <<\EOF +#define HAVE_CONSISTENT_GETENV 1 +EOF + +fi + +if test "x$cf_cv_consistent_getenv" = xno && \ + test "x$cf_with_trace" = xyes +then + { echo "$as_me:18320: 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 + # check for ISC (this may also define _POSIX_SOURCE) # Note: even non-Posix ISC needs to declare fd_set if test "x$ISC" = xyes ; then -echo "$as_me:17835: checking for main in -lcposix" >&5 +echo "$as_me:18328: checking for main in -lcposix" >&5 echo $ECHO_N "checking for main in -lcposix... $ECHO_C" >&6 if test "${ac_cv_lib_cposix_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17840,7 +18333,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lcposix $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 17843 "configure" +#line 18336 "configure" #include "confdefs.h" int @@ -17852,16 +18345,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17855: \"$ac_link\"") >&5 +if { (eval echo "$as_me:18348: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17858: \$? = $ac_status" >&5 + echo "$as_me:18351: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17861: \"$ac_try\"") >&5 + { (eval echo "$as_me:18354: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17864: \$? = $ac_status" >&5 + echo "$as_me:18357: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_cposix_main=yes else @@ -17872,7 +18365,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:17875: result: $ac_cv_lib_cposix_main" >&5 +echo "$as_me:18368: result: $ac_cv_lib_cposix_main" >&5 echo "${ECHO_T}$ac_cv_lib_cposix_main" >&6 if test $ac_cv_lib_cposix_main = yes; then cat >>confdefs.h <&5 + echo "$as_me:18379: checking for bzero in -linet" >&5 echo $ECHO_N "checking for bzero in -linet... $ECHO_C" >&6 if test "${ac_cv_lib_inet_bzero+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17891,7 +18384,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-linet $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 17894 "configure" +#line 18387 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -17910,16 +18403,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17913: \"$ac_link\"") >&5 +if { (eval echo "$as_me:18406: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17916: \$? = $ac_status" >&5 + echo "$as_me:18409: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17919: \"$ac_try\"") >&5 + { (eval echo "$as_me:18412: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17922: \$? = $ac_status" >&5 + echo "$as_me:18415: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_inet_bzero=yes else @@ -17930,7 +18423,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:17933: result: $ac_cv_lib_inet_bzero" >&5 +echo "$as_me:18426: result: $ac_cv_lib_inet_bzero" >&5 echo "${ECHO_T}$ac_cv_lib_inet_bzero" >&6 if test $ac_cv_lib_inet_bzero = yes; then @@ -17953,14 +18446,14 @@ fi fi -echo "$as_me:17956: checking if sys/time.h works with sys/select.h" >&5 +echo "$as_me:18449: 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 17963 "configure" +#line 18456 "configure" #include "confdefs.h" #include @@ -17980,16 +18473,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17983: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18476: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17986: \$? = $ac_status" >&5 + echo "$as_me:18479: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17989: \"$ac_try\"") >&5 + { (eval echo "$as_me:18482: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17992: \$? = $ac_status" >&5 + echo "$as_me:18485: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_sys_time_select=yes else @@ -18001,7 +18494,7 @@ fi -echo "$as_me:18004: result: $cf_cv_sys_time_select" >&5 +echo "$as_me:18497: 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 @@ -18016,13 +18509,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_main_return=return -echo "$as_me:18019: checking for an ANSI C-conforming const" >&5 +echo "$as_me:18512: 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 18025 "configure" +#line 18518 "configure" #include "confdefs.h" int @@ -18080,16 +18573,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18083: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18576: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18086: \$? = $ac_status" >&5 + echo "$as_me:18579: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18089: \"$ac_try\"") >&5 + { (eval echo "$as_me:18582: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18092: \$? = $ac_status" >&5 + echo "$as_me:18585: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else @@ -18099,7 +18592,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:18102: result: $ac_cv_c_const" >&5 +echo "$as_me:18595: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then @@ -18109,7 +18602,7 @@ fi -echo "$as_me:18112: checking for inline" >&5 +echo "$as_me:18605: 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 @@ -18117,7 +18610,7 @@ ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF -#line 18120 "configure" +#line 18613 "configure" #include "confdefs.h" #ifndef __cplusplus static $ac_kw int static_foo () {return 0; } @@ -18126,16 +18619,16 @@ _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18129: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18622: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18132: \$? = $ac_status" >&5 + echo "$as_me:18625: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18135: \"$ac_try\"") >&5 + { (eval echo "$as_me:18628: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18138: \$? = $ac_status" >&5 + echo "$as_me:18631: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else @@ -18146,7 +18639,7 @@ done fi -echo "$as_me:18149: result: $ac_cv_c_inline" >&5 +echo "$as_me:18642: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; @@ -18172,7 +18665,7 @@ : elif test "$GCC" = yes then - echo "$as_me:18175: checking if $CC supports options to tune inlining" >&5 + echo "$as_me:18668: 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 @@ -18181,7 +18674,7 @@ cf_save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS --param max-inline-insns-single=1200" cat >conftest.$ac_ext <<_ACEOF -#line 18184 "configure" +#line 18677 "configure" #include "confdefs.h" inline int foo(void) { return 1; } int @@ -18193,16 +18686,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18196: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18689: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18199: \$? = $ac_status" >&5 + echo "$as_me:18692: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18202: \"$ac_try\"") >&5 + { (eval echo "$as_me:18695: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18205: \$? = $ac_status" >&5 + echo "$as_me:18698: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gcc_inline=yes else @@ -18214,7 +18707,7 @@ CFLAGS=$cf_save_CFLAGS fi -echo "$as_me:18217: result: $cf_cv_gcc_inline" >&5 +echo "$as_me:18710: result: $cf_cv_gcc_inline" >&5 echo "${ECHO_T}$cf_cv_gcc_inline" >&6 if test "$cf_cv_gcc_inline" = yes ; then @@ -18320,7 +18813,7 @@ fi fi -echo "$as_me:18323: checking for signal global datatype" >&5 +echo "$as_me:18816: 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 @@ -18332,7 +18825,7 @@ "int" do cat >conftest.$ac_ext <<_ACEOF -#line 18335 "configure" +#line 18828 "configure" #include "confdefs.h" #include @@ -18355,16 +18848,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18358: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18851: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18361: \$? = $ac_status" >&5 + echo "$as_me:18854: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18364: \"$ac_try\"") >&5 + { (eval echo "$as_me:18857: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18367: \$? = $ac_status" >&5 + echo "$as_me:18860: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_sig_atomic_t=$cf_type else @@ -18378,7 +18871,7 @@ fi -echo "$as_me:18381: result: $cf_cv_sig_atomic_t" >&5 +echo "$as_me:18874: 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:18883: 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 @@ -18397,7 +18890,7 @@ cf_cv_typeof_chtype=long else cat >conftest.$ac_ext <<_ACEOF -#line 18400 "configure" +#line 18893 "configure" #include "confdefs.h" #define WANT_BITS 31 @@ -18432,15 +18925,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:18435: \"$ac_link\"") >&5 +if { (eval echo "$as_me:18928: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18438: \$? = $ac_status" >&5 + echo "$as_me:18931: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:18440: \"$ac_try\"") >&5 + { (eval echo "$as_me:18933: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18443: \$? = $ac_status" >&5 + echo "$as_me:18936: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_typeof_chtype=`cat cf_test.out` else @@ -18455,7 +18948,7 @@ fi -echo "$as_me:18458: result: $cf_cv_typeof_chtype" >&5 +echo "$as_me:18951: result: $cf_cv_typeof_chtype" >&5 echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 cat >>confdefs.h <&5 +echo "$as_me:18963: 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 18477 "configure" +#line 18970 "configure" #include "confdefs.h" int @@ -18486,16 +18979,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18489: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18982: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18492: \$? = $ac_status" >&5 + echo "$as_me:18985: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18495: \"$ac_try\"") >&5 + { (eval echo "$as_me:18988: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18498: \$? = $ac_status" >&5 + echo "$as_me:18991: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_unsigned_literals=yes else @@ -18507,7 +19000,7 @@ fi -echo "$as_me:18510: result: $cf_cv_unsigned_literals" >&5 +echo "$as_me:19003: result: $cf_cv_unsigned_literals" >&5 echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 cf_cv_1UL="1" @@ -18523,14 +19016,14 @@ ### Checks for external-data -echo "$as_me:18526: checking if external errno is declared" >&5 +echo "$as_me:19019: 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 18533 "configure" +#line 19026 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -18548,16 +19041,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18551: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19044: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18554: \$? = $ac_status" >&5 + echo "$as_me:19047: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18557: \"$ac_try\"") >&5 + { (eval echo "$as_me:19050: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18560: \$? = $ac_status" >&5 + echo "$as_me:19053: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_dcl_errno=yes else @@ -18568,7 +19061,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:18571: result: $cf_cv_dcl_errno" >&5 +echo "$as_me:19064: result: $cf_cv_dcl_errno" >&5 echo "${ECHO_T}$cf_cv_dcl_errno" >&6 if test "$cf_cv_dcl_errno" = no ; then @@ -18583,14 +19076,14 @@ # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:18586: checking if external errno exists" >&5 +echo "$as_me:19079: 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 18593 "configure" +#line 19086 "configure" #include "confdefs.h" #undef errno @@ -18605,16 +19098,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18608: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19101: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18611: \$? = $ac_status" >&5 + echo "$as_me:19104: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18614: \"$ac_try\"") >&5 + { (eval echo "$as_me:19107: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18617: \$? = $ac_status" >&5 + echo "$as_me:19110: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_errno=yes else @@ -18625,7 +19118,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:18628: result: $cf_cv_have_errno" >&5 +echo "$as_me:19121: result: $cf_cv_have_errno" >&5 echo "${ECHO_T}$cf_cv_have_errno" >&6 if test "$cf_cv_have_errno" = yes ; then @@ -18638,7 +19131,7 @@ fi -echo "$as_me:18641: checking if data-only library module links" >&5 +echo "$as_me:19134: 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 @@ -18646,20 +19139,20 @@ rm -f conftest.a cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:19145: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18655: \$? = $ac_status" >&5 + echo "$as_me:19148: \$? = $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:19168: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18678: \$? = $ac_status" >&5 + echo "$as_me:19171: \$? = $ac_status" >&5 (exit $ac_status); }; then mv conftest.o func.o && \ ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null @@ -18688,7 +19181,7 @@ cf_cv_link_dataonly=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 18691 "configure" +#line 19184 "configure" #include "confdefs.h" int main(void) @@ -18699,15 +19192,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:18702: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19195: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18705: \$? = $ac_status" >&5 + echo "$as_me:19198: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:18707: \"$ac_try\"") >&5 + { (eval echo "$as_me:19200: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18710: \$? = $ac_status" >&5 + echo "$as_me:19203: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_link_dataonly=yes else @@ -18722,7 +19215,7 @@ fi -echo "$as_me:18725: result: $cf_cv_link_dataonly" >&5 +echo "$as_me:19218: result: $cf_cv_link_dataonly" >&5 echo "${ECHO_T}$cf_cv_link_dataonly" >&6 if test "$cf_cv_link_dataonly" = no ; then @@ -18764,13 +19257,13 @@ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:18767: checking for $ac_func" >&5 +echo "$as_me:19260: 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 18773 "configure" +#line 19266 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -18801,16 +19294,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18804: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19297: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18807: \$? = $ac_status" >&5 + echo "$as_me:19300: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18810: \"$ac_try\"") >&5 + { (eval echo "$as_me:19303: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18813: \$? = $ac_status" >&5 + echo "$as_me:19306: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -18820,7 +19313,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:18823: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:19316: 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:19328: error: getopt is required for building programs" >&5 echo "$as_me: error: getopt is required for building programs" >&2;} { (exit 1); exit 1; }; } fi @@ -18841,7 +19334,7 @@ then if test "x$ac_cv_func_vsnprintf" = xyes then - { echo "$as_me:18844: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 + { echo "$as_me:19337: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;} else @@ -18854,14 +19347,14 @@ if test "x$with_getcap" = "xyes" ; then -echo "$as_me:18857: checking for terminal-capability database functions" >&5 +echo "$as_me:19350: 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 18864 "configure" +#line 19357 "configure" #include "confdefs.h" #include @@ -18881,16 +19374,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18884: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19377: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18887: \$? = $ac_status" >&5 + echo "$as_me:19380: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18890: \"$ac_try\"") >&5 + { (eval echo "$as_me:19383: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18893: \$? = $ac_status" >&5 + echo "$as_me:19386: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cgetent=yes else @@ -18901,7 +19394,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:18904: result: $cf_cv_cgetent" >&5 +echo "$as_me:19397: result: $cf_cv_cgetent" >&5 echo "${ECHO_T}$cf_cv_cgetent" >&6 if test "$cf_cv_cgetent" = yes @@ -18911,14 +19404,14 @@ #define HAVE_BSD_CGETENT 1 EOF -echo "$as_me:18914: checking if cgetent uses const parameter" >&5 +echo "$as_me:19407: 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 18921 "configure" +#line 19414 "configure" #include "confdefs.h" #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers" @@ -18941,16 +19434,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18944: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19437: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18947: \$? = $ac_status" >&5 + echo "$as_me:19440: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18950: \"$ac_try\"") >&5 + { (eval echo "$as_me:19443: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18953: \$? = $ac_status" >&5 + echo "$as_me:19446: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cgetent_const=yes else @@ -18961,7 +19454,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:18964: result: $cf_cv_cgetent_const" >&5 +echo "$as_me:19457: result: $cf_cv_cgetent_const" >&5 echo "${ECHO_T}$cf_cv_cgetent_const" >&6 if test "$cf_cv_cgetent_const" = yes then @@ -18975,14 +19468,14 @@ fi -echo "$as_me:18978: checking for isascii" >&5 +echo "$as_me:19471: 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 18985 "configure" +#line 19478 "configure" #include "confdefs.h" #include int @@ -18994,16 +19487,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18997: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19490: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19000: \$? = $ac_status" >&5 + echo "$as_me:19493: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19003: \"$ac_try\"") >&5 + { (eval echo "$as_me:19496: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19006: \$? = $ac_status" >&5 + echo "$as_me:19499: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_isascii=yes else @@ -19014,7 +19507,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:19017: result: $cf_cv_have_isascii" >&5 +echo "$as_me:19510: result: $cf_cv_have_isascii" >&5 echo "${ECHO_T}$cf_cv_have_isascii" >&6 test "$cf_cv_have_isascii" = yes && cat >>confdefs.h <<\EOF @@ -19022,10 +19515,10 @@ EOF if test "$ac_cv_func_sigaction" = yes; then -echo "$as_me:19025: checking whether sigaction needs _POSIX_SOURCE" >&5 +echo "$as_me:19518: 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 19028 "configure" +#line 19521 "configure" #include "confdefs.h" #include @@ -19039,16 +19532,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19042: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19535: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19045: \$? = $ac_status" >&5 + echo "$as_me:19538: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19048: \"$ac_try\"") >&5 + { (eval echo "$as_me:19541: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19051: \$? = $ac_status" >&5 + echo "$as_me:19544: \$? = $ac_status" >&5 (exit $ac_status); }; }; then sigact_bad=no else @@ -19056,7 +19549,7 @@ cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 19059 "configure" +#line 19552 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -19071,16 +19564,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19074: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19567: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19077: \$? = $ac_status" >&5 + echo "$as_me:19570: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19080: \"$ac_try\"") >&5 + { (eval echo "$as_me:19573: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19083: \$? = $ac_status" >&5 + echo "$as_me:19576: \$? = $ac_status" >&5 (exit $ac_status); }; }; then sigact_bad=yes @@ -19096,11 +19589,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:19099: result: $sigact_bad" >&5 +echo "$as_me:19592: result: $sigact_bad" >&5 echo "${ECHO_T}$sigact_bad" >&6 fi -echo "$as_me:19103: checking if nanosleep really works" >&5 +echo "$as_me:19596: 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 @@ -19110,7 +19603,7 @@ cf_cv_func_nanosleep=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 19113 "configure" +#line 19606 "configure" #include "confdefs.h" #include @@ -19135,15 +19628,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:19138: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19631: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19141: \$? = $ac_status" >&5 + echo "$as_me:19634: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:19143: \"$ac_try\"") >&5 + { (eval echo "$as_me:19636: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19146: \$? = $ac_status" >&5 + echo "$as_me:19639: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_nanosleep=yes else @@ -19155,7 +19648,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:19158: result: $cf_cv_func_nanosleep" >&5 +echo "$as_me:19651: result: $cf_cv_func_nanosleep" >&5 echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 test "$cf_cv_func_nanosleep" = "yes" && @@ -19172,23 +19665,23 @@ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:19175: checking for $ac_header" >&5 +echo "$as_me:19668: 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 19181 "configure" +#line 19674 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:19185: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:19678: \"$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:19191: \$? = $ac_status" >&5 + echo "$as_me:19684: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -19207,7 +19700,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:19210: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:19703: 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:19720: 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 19230 "configure" +#line 19723 "configure" #include "confdefs.h" #include int @@ -19239,16 +19732,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19242: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19735: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19245: \$? = $ac_status" >&5 + echo "$as_me:19738: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19248: \"$ac_try\"") >&5 + { (eval echo "$as_me:19741: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19251: \$? = $ac_status" >&5 + echo "$as_me:19744: \$? = $ac_status" >&5 (exit $ac_status); }; }; then termios_bad=no else @@ -19256,7 +19749,7 @@ cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 19259 "configure" +#line 19752 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -19270,16 +19763,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19273: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19766: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19276: \$? = $ac_status" >&5 + echo "$as_me:19769: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19279: \"$ac_try\"") >&5 + { (eval echo "$as_me:19772: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19282: \$? = $ac_status" >&5 + echo "$as_me:19775: \$? = $ac_status" >&5 (exit $ac_status); }; }; then termios_bad=unknown else @@ -19295,19 +19788,19 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:19298: result: $termios_bad" >&5 + echo "$as_me:19791: result: $termios_bad" >&5 echo "${ECHO_T}$termios_bad" >&6 fi fi -echo "$as_me:19303: checking for tcgetattr" >&5 +echo "$as_me:19796: 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 19310 "configure" +#line 19803 "configure" #include "confdefs.h" #include @@ -19335,16 +19828,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19338: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19831: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19341: \$? = $ac_status" >&5 + echo "$as_me:19834: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19344: \"$ac_try\"") >&5 + { (eval echo "$as_me:19837: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19347: \$? = $ac_status" >&5 + echo "$as_me:19840: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_tcgetattr=yes else @@ -19354,21 +19847,21 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:19357: result: $cf_cv_have_tcgetattr" >&5 +echo "$as_me:19850: 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:19364: checking for vsscanf function or workaround" >&5 +echo "$as_me:19857: 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 19371 "configure" +#line 19864 "configure" #include "confdefs.h" #include @@ -19384,16 +19877,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19387: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19880: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19390: \$? = $ac_status" >&5 + echo "$as_me:19883: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19393: \"$ac_try\"") >&5 + { (eval echo "$as_me:19886: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19396: \$? = $ac_status" >&5 + echo "$as_me:19889: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_vsscanf=vsscanf else @@ -19401,7 +19894,7 @@ cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 19404 "configure" +#line 19897 "configure" #include "confdefs.h" #include @@ -19423,16 +19916,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19426: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19919: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19429: \$? = $ac_status" >&5 + echo "$as_me:19922: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19432: \"$ac_try\"") >&5 + { (eval echo "$as_me:19925: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19435: \$? = $ac_status" >&5 + echo "$as_me:19928: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_vsscanf=vfscanf else @@ -19440,7 +19933,7 @@ cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 19443 "configure" +#line 19936 "configure" #include "confdefs.h" #include @@ -19462,16 +19955,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19465: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19958: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19468: \$? = $ac_status" >&5 + echo "$as_me:19961: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19471: \"$ac_try\"") >&5 + { (eval echo "$as_me:19964: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19474: \$? = $ac_status" >&5 + echo "$as_me:19967: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_vsscanf=_doscan else @@ -19486,7 +19979,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:19489: result: $cf_cv_func_vsscanf" >&5 +echo "$as_me:19982: result: $cf_cv_func_vsscanf" >&5 echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 case $cf_cv_func_vsscanf in @@ -19512,23 +20005,23 @@ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:19515: checking for $ac_header" >&5 +echo "$as_me:20008: 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 19521 "configure" +#line 20014 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:19525: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:20018: \"$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:19531: \$? = $ac_status" >&5 + echo "$as_me:20024: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -19547,7 +20040,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:19550: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:20043: 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:20053: 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 @@ -19568,7 +20061,7 @@ cf_cv_func_mkstemp=maybe else cat >conftest.$ac_ext <<_ACEOF -#line 19571 "configure" +#line 20064 "configure" #include "confdefs.h" #include @@ -19609,15 +20102,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:19612: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20105: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19615: \$? = $ac_status" >&5 + echo "$as_me:20108: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:19617: \"$ac_try\"") >&5 + { (eval echo "$as_me:20110: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19620: \$? = $ac_status" >&5 + echo "$as_me:20113: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_mkstemp=yes @@ -19632,16 +20125,16 @@ fi fi -echo "$as_me:19635: result: $cf_cv_func_mkstemp" >&5 +echo "$as_me:20128: 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:19638: checking for mkstemp" >&5 + echo "$as_me:20131: 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 19644 "configure" +#line 20137 "configure" #include "confdefs.h" #define mkstemp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -19672,16 +20165,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19675: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20168: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19678: \$? = $ac_status" >&5 + echo "$as_me:20171: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19681: \"$ac_try\"") >&5 + { (eval echo "$as_me:20174: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19684: \$? = $ac_status" >&5 + echo "$as_me:20177: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mkstemp=yes else @@ -19691,7 +20184,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:19694: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:20187: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 fi @@ -19712,21 +20205,21 @@ fi if test "x$cross_compiling" = xyes ; then - { echo "$as_me:19715: WARNING: cross compiling: assume setvbuf params not reversed" >&5 + { echo "$as_me:20208: 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:19718: checking whether setvbuf arguments are reversed" >&5 + echo "$as_me:20211: 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:19724: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:20217: 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 19729 "configure" +#line 20222 "configure" #include "confdefs.h" #include /* If setvbuf has the reversed format, exit 0. */ @@ -19743,15 +20236,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:19746: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20239: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19749: \$? = $ac_status" >&5 + echo "$as_me:20242: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:19751: \"$ac_try\"") >&5 + { (eval echo "$as_me:20244: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19754: \$? = $ac_status" >&5 + echo "$as_me:20247: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_setvbuf_reversed=yes else @@ -19764,7 +20257,7 @@ fi rm -f core core.* *.core fi -echo "$as_me:19767: result: $ac_cv_func_setvbuf_reversed" >&5 +echo "$as_me:20260: 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 @@ -19775,13 +20268,13 @@ fi fi -echo "$as_me:19778: checking for intptr_t" >&5 +echo "$as_me:20271: 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 19784 "configure" +#line 20277 "configure" #include "confdefs.h" $ac_includes_default int @@ -19796,16 +20289,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19799: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20292: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19802: \$? = $ac_status" >&5 + echo "$as_me:20295: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19805: \"$ac_try\"") >&5 + { (eval echo "$as_me:20298: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19808: \$? = $ac_status" >&5 + echo "$as_me:20301: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_intptr_t=yes else @@ -19815,7 +20308,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:19818: result: $ac_cv_type_intptr_t" >&5 +echo "$as_me:20311: 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 : @@ -19827,13 +20320,13 @@ fi -echo "$as_me:19830: checking for ssize_t" >&5 +echo "$as_me:20323: 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 19836 "configure" +#line 20329 "configure" #include "confdefs.h" $ac_includes_default int @@ -19848,16 +20341,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19851: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20344: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19854: \$? = $ac_status" >&5 + echo "$as_me:20347: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19857: \"$ac_try\"") >&5 + { (eval echo "$as_me:20350: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19860: \$? = $ac_status" >&5 + echo "$as_me:20353: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_ssize_t=yes else @@ -19867,7 +20360,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:19870: result: $ac_cv_type_ssize_t" >&5 +echo "$as_me:20363: 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 : @@ -19879,14 +20372,14 @@ fi -echo "$as_me:19882: checking for type sigaction_t" >&5 +echo "$as_me:20375: 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 19889 "configure" +#line 20382 "configure" #include "confdefs.h" #include @@ -19899,16 +20392,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19902: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20395: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19905: \$? = $ac_status" >&5 + echo "$as_me:20398: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19908: \"$ac_try\"") >&5 + { (eval echo "$as_me:20401: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19911: \$? = $ac_status" >&5 + echo "$as_me:20404: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_type_sigaction=yes else @@ -19919,14 +20412,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:19922: result: $cf_cv_type_sigaction" >&5 +echo "$as_me:20415: 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:19929: checking declaration of size-change" >&5 +echo "$as_me:20422: 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 @@ -19947,7 +20440,7 @@ fi cat >conftest.$ac_ext <<_ACEOF -#line 19950 "configure" +#line 20443 "configure" #include "confdefs.h" #include #ifdef HAVE_TERMIOS_H @@ -19993,16 +20486,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19996: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20489: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19999: \$? = $ac_status" >&5 + echo "$as_me:20492: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:20002: \"$ac_try\"") >&5 + { (eval echo "$as_me:20495: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20005: \$? = $ac_status" >&5 + echo "$as_me:20498: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_sizechange=yes else @@ -20021,7 +20514,7 @@ done fi -echo "$as_me:20024: result: $cf_cv_sizechange" >&5 +echo "$as_me:20517: result: $cf_cv_sizechange" >&5 echo "${ECHO_T}$cf_cv_sizechange" >&6 if test "$cf_cv_sizechange" != no ; then @@ -20039,13 +20532,13 @@ esac fi -echo "$as_me:20042: checking for memmove" >&5 +echo "$as_me:20535: 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 20048 "configure" +#line 20541 "configure" #include "confdefs.h" #define memmove autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20076,16 +20569,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20079: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20572: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20082: \$? = $ac_status" >&5 + echo "$as_me:20575: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20085: \"$ac_try\"") >&5 + { (eval echo "$as_me:20578: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20088: \$? = $ac_status" >&5 + echo "$as_me:20581: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_memmove=yes else @@ -20095,19 +20588,19 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20098: result: $ac_cv_func_memmove" >&5 +echo "$as_me:20591: 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:20104: checking for bcopy" >&5 +echo "$as_me:20597: 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 20110 "configure" +#line 20603 "configure" #include "confdefs.h" #define bcopy autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20138,16 +20631,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20141: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20634: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20144: \$? = $ac_status" >&5 + echo "$as_me:20637: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20147: \"$ac_try\"") >&5 + { (eval echo "$as_me:20640: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20150: \$? = $ac_status" >&5 + echo "$as_me:20643: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_bcopy=yes else @@ -20157,11 +20650,11 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20160: result: $ac_cv_func_bcopy" >&5 +echo "$as_me:20653: 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:20164: checking if bcopy does overlapping moves" >&5 + echo "$as_me:20657: 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 @@ -20171,7 +20664,7 @@ cf_cv_good_bcopy=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 20174 "configure" +#line 20667 "configure" #include "confdefs.h" int main(void) { @@ -20185,15 +20678,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:20188: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20681: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20191: \$? = $ac_status" >&5 + echo "$as_me:20684: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:20193: \"$ac_try\"") >&5 + { (eval echo "$as_me:20686: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20196: \$? = $ac_status" >&5 + echo "$as_me:20689: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_good_bcopy=yes else @@ -20206,7 +20699,7 @@ fi fi -echo "$as_me:20209: result: $cf_cv_good_bcopy" >&5 +echo "$as_me:20702: result: $cf_cv_good_bcopy" >&5 echo "${ECHO_T}$cf_cv_good_bcopy" >&6 else @@ -20233,13 +20726,13 @@ for ac_func in posix_openpt do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:20236: checking for $ac_func" >&5 +echo "$as_me:20729: 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 20242 "configure" +#line 20735 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20270,16 +20763,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20273: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20766: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20276: \$? = $ac_status" >&5 + echo "$as_me:20769: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20279: \"$ac_try\"") >&5 + { (eval echo "$as_me:20772: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20282: \$? = $ac_status" >&5 + echo "$as_me:20775: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -20289,7 +20782,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20292: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:20785: 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:20795: 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 @@ -20309,7 +20802,7 @@ cf_cv_working_poll=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 20312 "configure" +#line 20805 "configure" #include "confdefs.h" #include @@ -20361,15 +20854,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:20364: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20857: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20367: \$? = $ac_status" >&5 + echo "$as_me:20860: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:20369: \"$ac_try\"") >&5 + { (eval echo "$as_me:20862: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20372: \$? = $ac_status" >&5 + echo "$as_me:20865: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_working_poll=yes else @@ -20381,21 +20874,21 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:20384: result: $cf_cv_working_poll" >&5 +echo "$as_me:20877: 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:20391: checking for va_copy" >&5 +echo "$as_me:20884: 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 20398 "configure" +#line 20891 "configure" #include "confdefs.h" #include @@ -20412,16 +20905,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20415: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20908: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20418: \$? = $ac_status" >&5 + echo "$as_me:20911: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20421: \"$ac_try\"") >&5 + { (eval echo "$as_me:20914: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20424: \$? = $ac_status" >&5 + echo "$as_me:20917: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_va_copy=yes else @@ -20431,7 +20924,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20434: result: $cf_cv_have_va_copy" >&5 +echo "$as_me:20927: result: $cf_cv_have_va_copy" >&5 echo "${ECHO_T}$cf_cv_have_va_copy" >&6 if test "$cf_cv_have_va_copy" = yes; @@ -20443,14 +20936,14 @@ else # !cf_cv_have_va_copy -echo "$as_me:20446: checking for __va_copy" >&5 +echo "$as_me:20939: 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 20453 "configure" +#line 20946 "configure" #include "confdefs.h" #include @@ -20467,16 +20960,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20470: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20963: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20473: \$? = $ac_status" >&5 + echo "$as_me:20966: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20476: \"$ac_try\"") >&5 + { (eval echo "$as_me:20969: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20479: \$? = $ac_status" >&5 + echo "$as_me:20972: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have___va_copy=yes else @@ -20486,7 +20979,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20489: result: $cf_cv_have___va_copy" >&5 +echo "$as_me:20982: result: $cf_cv_have___va_copy" >&5 echo "${ECHO_T}$cf_cv_have___va_copy" >&6 if test "$cf_cv_have___va_copy" = yes @@ -20498,14 +20991,14 @@ else # !cf_cv_have___va_copy -echo "$as_me:20501: checking for __builtin_va_copy" >&5 +echo "$as_me:20994: 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 20508 "configure" +#line 21001 "configure" #include "confdefs.h" #include @@ -20522,16 +21015,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20525: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21018: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20528: \$? = $ac_status" >&5 + echo "$as_me:21021: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20531: \"$ac_try\"") >&5 + { (eval echo "$as_me:21024: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20534: \$? = $ac_status" >&5 + echo "$as_me:21027: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have___builtin_va_copy=yes else @@ -20541,7 +21034,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20544: result: $cf_cv_have___builtin_va_copy" >&5 +echo "$as_me:21037: 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 && @@ -20559,14 +21052,14 @@ ;; (*) - echo "$as_me:20562: checking if we can simply copy va_list" >&5 + echo "$as_me:21055: 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 20569 "configure" +#line 21062 "configure" #include "confdefs.h" #include @@ -20583,16 +21076,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20586: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21079: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20589: \$? = $ac_status" >&5 + echo "$as_me:21082: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20592: \"$ac_try\"") >&5 + { (eval echo "$as_me:21085: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20595: \$? = $ac_status" >&5 + echo "$as_me:21088: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_pointer_va_list=yes else @@ -20602,19 +21095,19 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20605: result: $cf_cv_pointer_va_list" >&5 +echo "$as_me:21098: 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:20610: checking if we can copy va_list indirectly" >&5 + echo "$as_me:21103: 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 20617 "configure" +#line 21110 "configure" #include "confdefs.h" #include @@ -20631,16 +21124,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20634: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21127: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20637: \$? = $ac_status" >&5 + echo "$as_me:21130: \$? = $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:21133: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20643: \$? = $ac_status" >&5 + echo "$as_me:21136: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_array_va_list=yes else @@ -20650,7 +21143,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20653: result: $cf_cv_array_va_list" >&5 +echo "$as_me:21146: 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 @@ -20661,13 +21154,13 @@ ;; esac -echo "$as_me:20664: checking for pid_t" >&5 +echo "$as_me:21157: 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 20670 "configure" +#line 21163 "configure" #include "confdefs.h" $ac_includes_default int @@ -20682,16 +21175,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:20685: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21178: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20688: \$? = $ac_status" >&5 + echo "$as_me:21181: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:20691: \"$ac_try\"") >&5 + { (eval echo "$as_me:21184: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20694: \$? = $ac_status" >&5 + echo "$as_me:21187: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_pid_t=yes else @@ -20701,7 +21194,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:20704: result: $ac_cv_type_pid_t" >&5 +echo "$as_me:21197: 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 : @@ -20716,23 +21209,23 @@ for ac_header in unistd.h vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:20719: checking for $ac_header" >&5 +echo "$as_me:21212: 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 20725 "configure" +#line 21218 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:20729: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:21222: \"$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:20735: \$? = $ac_status" >&5 + echo "$as_me:21228: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -20751,7 +21244,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:20754: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:21247: 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:21260: 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 20773 "configure" +#line 21266 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20801,16 +21294,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20804: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21297: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20807: \$? = $ac_status" >&5 + echo "$as_me:21300: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20810: \"$ac_try\"") >&5 + { (eval echo "$as_me:21303: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20813: \$? = $ac_status" >&5 + echo "$as_me:21306: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -20820,7 +21313,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:20823: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:21316: 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:21328: 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 @@ -20855,15 +21348,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:20858: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21351: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20861: \$? = $ac_status" >&5 + echo "$as_me:21354: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:20863: \"$ac_try\"") >&5 + { (eval echo "$as_me:21356: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20866: \$? = $ac_status" >&5 + echo "$as_me:21359: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fork_works=yes else @@ -20875,7 +21368,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:20878: result: $ac_cv_func_fork_works" >&5 +echo "$as_me:21371: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 fi @@ -20889,12 +21382,12 @@ ac_cv_func_fork_works=yes ;; esac - { echo "$as_me:20892: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + { echo "$as_me:21385: 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:20897: checking for working vfork" >&5 + echo "$as_me:21390: 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 @@ -20903,7 +21396,7 @@ ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF -#line 20906 "configure" +#line 21399 "configure" #include "confdefs.h" /* Thanks to Paul Eggert for this test. */ #include @@ -21000,15 +21493,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:21003: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21496: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21006: \$? = $ac_status" >&5 + echo "$as_me:21499: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:21008: \"$ac_try\"") >&5 + { (eval echo "$as_me:21501: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21011: \$? = $ac_status" >&5 + echo "$as_me:21504: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yes else @@ -21020,13 +21513,13 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:21023: result: $ac_cv_func_vfork_works" >&5 +echo "$as_me:21516: 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:21029: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + { echo "$as_me:21522: 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 @@ -21051,7 +21544,7 @@ fi -echo "$as_me:21054: checking if fopen accepts explicit binary mode" >&5 +echo "$as_me:21547: 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 @@ -21061,7 +21554,7 @@ cf_cv_fopen_bin_r=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 21064 "configure" +#line 21557 "configure" #include "confdefs.h" #include @@ -21079,9 +21572,8 @@ for (p = 0; p < 256; ++p) { q = fgetc(fp); if (q != p) { - fprintf(stderr, "OOPS:%d ->%d\n", p, q); - //rc = 1; - //break; + rc = 1; + break; } } } else { @@ -21095,15 +21587,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:21098: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21590: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21101: \$? = $ac_status" >&5 + echo "$as_me:21593: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:21103: \"$ac_try\"") >&5 + { (eval echo "$as_me:21595: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21106: \$? = $ac_status" >&5 + echo "$as_me:21598: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_fopen_bin_r=yes else @@ -21116,7 +21608,7 @@ fi fi -echo "$as_me:21119: result: $cf_cv_fopen_bin_r" >&5 +echo "$as_me:21611: 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 #define USE_FOPEN_BIN_R 1 @@ -21124,7 +21616,7 @@ # special check for test/ditto.c -echo "$as_me:21127: checking for openpty in -lutil" >&5 +echo "$as_me:21619: 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 @@ -21132,7 +21624,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 21135 "configure" +#line 21627 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21151,16 +21643,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21154: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21646: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21157: \$? = $ac_status" >&5 + echo "$as_me:21649: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21160: \"$ac_try\"") >&5 + { (eval echo "$as_me:21652: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21163: \$? = $ac_status" >&5 + echo "$as_me:21655: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_util_openpty=yes else @@ -21171,7 +21663,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21174: result: $ac_cv_lib_util_openpty" >&5 +echo "$as_me:21666: 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 @@ -21179,7 +21671,7 @@ cf_cv_lib_util=no fi -echo "$as_me:21182: checking for openpty header" >&5 +echo "$as_me:21674: 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 @@ -21206,7 +21698,7 @@ for cf_header in pty.h libutil.h util.h do cat >conftest.$ac_ext <<_ACEOF -#line 21209 "configure" +#line 21701 "configure" #include "confdefs.h" #include <$cf_header> @@ -21223,16 +21715,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21226: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21718: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21229: \$? = $ac_status" >&5 + echo "$as_me:21721: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21232: \"$ac_try\"") >&5 + { (eval echo "$as_me:21724: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21235: \$? = $ac_status" >&5 + echo "$as_me:21727: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_openpty=$cf_header @@ -21250,7 +21742,7 @@ LIBS="$cf_save_LIBS" fi -echo "$as_me:21253: result: $cf_cv_func_openpty" >&5 +echo "$as_me:21745: result: $cf_cv_func_openpty" >&5 echo "${ECHO_T}$cf_cv_func_openpty" >&6 if test "$cf_cv_func_openpty" != no ; then @@ -21323,7 +21815,7 @@ CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" cat >conftest.$ac_ext <<_ACEOF -#line 21326 "configure" +#line 21818 "configure" #include "confdefs.h" #include int @@ -21335,16 +21827,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:21338: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21830: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21341: \$? = $ac_status" >&5 + echo "$as_me:21833: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21344: \"$ac_try\"") >&5 + { (eval echo "$as_me:21836: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21347: \$? = $ac_status" >&5 + echo "$as_me:21839: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -21361,7 +21853,7 @@ if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:21364: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:21856: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" @@ -21397,7 +21889,7 @@ if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:21400: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:21892: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -21408,7 +21900,7 @@ else case "$with_hashed_db" in (./*|../*|/*) - { echo "$as_me:21411: WARNING: no such directory $with_hashed_db" >&5 + { echo "$as_me:21903: WARNING: no such directory $with_hashed_db" >&5 echo "$as_me: WARNING: no such directory $with_hashed_db" >&2;} ;; (*) @@ -21480,7 +21972,7 @@ CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" cat >conftest.$ac_ext <<_ACEOF -#line 21483 "configure" +#line 21975 "configure" #include "confdefs.h" #include int @@ -21492,16 +21984,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:21495: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21987: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21498: \$? = $ac_status" >&5 + echo "$as_me:21990: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21501: \"$ac_try\"") >&5 + { (eval echo "$as_me:21993: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21504: \$? = $ac_status" >&5 + echo "$as_me:21996: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -21518,7 +22010,7 @@ if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:21521: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:22013: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" @@ -21598,7 +22090,7 @@ if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:21601: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:22093: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -21615,23 +22107,23 @@ fi esac -echo "$as_me:21618: checking for db.h" >&5 +echo "$as_me:22110: 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 21624 "configure" +#line 22116 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:21628: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:22120: \"$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:21634: \$? = $ac_status" >&5 + echo "$as_me:22126: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -21650,11 +22142,11 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:21653: result: $ac_cv_header_db_h" >&5 +echo "$as_me:22145: 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:21657: checking for version of db" >&5 +echo "$as_me:22149: 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 @@ -21665,10 +22157,10 @@ for cf_db_version in 1 2 3 4 5 6 do -echo "${as_me:-configure}:21668: testing checking for db version $cf_db_version ..." 1>&5 +echo "${as_me:-configure}:22160: testing checking for db version $cf_db_version ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 21671 "configure" +#line 22163 "configure" #include "confdefs.h" $ac_includes_default @@ -21698,16 +22190,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:21701: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22193: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21704: \$? = $ac_status" >&5 + echo "$as_me:22196: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21707: \"$ac_try\"") >&5 + { (eval echo "$as_me:22199: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21710: \$? = $ac_status" >&5 + echo "$as_me:22202: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_hashed_db_version=$cf_db_version @@ -21721,16 +22213,16 @@ done fi -echo "$as_me:21724: result: $cf_cv_hashed_db_version" >&5 +echo "$as_me:22216: 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:21728: error: Cannot determine version of db" >&5 + { { echo "$as_me:22220: 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:21733: checking for db libraries" >&5 +echo "$as_me:22225: 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 @@ -21760,10 +22252,10 @@ fi -echo "${as_me:-configure}:21763: testing checking for library "$cf_db_libs" ..." 1>&5 +echo "${as_me:-configure}:22255: testing checking for library "$cf_db_libs" ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 21766 "configure" +#line 22258 "configure" #include "confdefs.h" $ac_includes_default @@ -21818,16 +22310,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21821: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22313: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21824: \$? = $ac_status" >&5 + echo "$as_me:22316: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21827: \"$ac_try\"") >&5 + { (eval echo "$as_me:22319: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21830: \$? = $ac_status" >&5 + echo "$as_me:22322: \$? = $ac_status" >&5 (exit $ac_status); }; }; then if test -n "$cf_db_libs" ; then @@ -21847,11 +22339,11 @@ done fi -echo "$as_me:21850: result: $cf_cv_hashed_db_libs" >&5 +echo "$as_me:22342: 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:21854: error: Cannot determine library for db" >&5 + { { echo "$as_me:22346: 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 @@ -21877,7 +22369,7 @@ else - { { echo "$as_me:21880: error: Cannot find db.h" >&5 + { { echo "$as_me:22372: error: Cannot find db.h" >&5 echo "$as_me: error: Cannot find db.h" >&2;} { (exit 1); exit 1; }; } @@ -21892,7 +22384,7 @@ # Just in case, check if the C compiler has a bool type. -echo "$as_me:21895: checking if we should include stdbool.h" >&5 +echo "$as_me:22387: 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 @@ -21900,7 +22392,7 @@ else cat >conftest.$ac_ext <<_ACEOF -#line 21903 "configure" +#line 22395 "configure" #include "confdefs.h" int @@ -21912,23 +22404,23 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:21915: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22407: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21918: \$? = $ac_status" >&5 + echo "$as_me:22410: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21921: \"$ac_try\"") >&5 + { (eval echo "$as_me:22413: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21924: \$? = $ac_status" >&5 + echo "$as_me:22416: \$? = $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 21931 "configure" +#line 22423 "configure" #include "confdefs.h" #ifndef __BEOS__ @@ -21944,16 +22436,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:21947: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22439: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21950: \$? = $ac_status" >&5 + echo "$as_me:22442: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21953: \"$ac_try\"") >&5 + { (eval echo "$as_me:22445: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21956: \$? = $ac_status" >&5 + echo "$as_me:22448: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_header_stdbool_h=1 else @@ -21967,13 +22459,13 @@ fi if test "$cf_cv_header_stdbool_h" = 1 -then echo "$as_me:21970: result: yes" >&5 +then echo "$as_me:22462: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:21972: result: no" >&5 +else echo "$as_me:22464: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:21976: checking for builtin bool type" >&5 +echo "$as_me:22468: 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 @@ -21981,7 +22473,7 @@ else cat >conftest.$ac_ext <<_ACEOF -#line 21984 "configure" +#line 22476 "configure" #include "confdefs.h" #include @@ -21996,16 +22488,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:21999: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22491: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22002: \$? = $ac_status" >&5 + echo "$as_me:22494: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22005: \"$ac_try\"") >&5 + { (eval echo "$as_me:22497: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22008: \$? = $ac_status" >&5 + echo "$as_me:22500: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cc_bool_type=1 else @@ -22018,9 +22510,9 @@ fi if test "$cf_cv_cc_bool_type" = 1 -then echo "$as_me:22021: result: yes" >&5 +then echo "$as_me:22513: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:22023: result: no" >&5 +else echo "$as_me:22515: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -22037,10 +22529,10 @@ cf_save="$LIBS" LIBS="$LIBS $CXXLIBS" - echo "$as_me:22040: checking if we already have C++ library" >&5 + echo "$as_me:22532: 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 22043 "configure" +#line 22535 "configure" #include "confdefs.h" #include @@ -22054,16 +22546,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22057: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22549: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22060: \$? = $ac_status" >&5 + echo "$as_me:22552: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22063: \"$ac_try\"") >&5 + { (eval echo "$as_me:22555: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22066: \$? = $ac_status" >&5 + echo "$as_me:22558: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_have_libstdcpp=yes else @@ -22072,7 +22564,7 @@ cf_have_libstdcpp=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:22075: result: $cf_have_libstdcpp" >&5 + echo "$as_me:22567: result: $cf_have_libstdcpp" >&5 echo "${ECHO_T}$cf_have_libstdcpp" >&6 LIBS="$cf_save" @@ -22091,7 +22583,7 @@ ;; esac - echo "$as_me:22094: checking for library $cf_stdcpp_libname" >&5 + echo "$as_me:22586: 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 @@ -22117,7 +22609,7 @@ LIBS="$cf_add_libs" cat >conftest.$ac_ext <<_ACEOF -#line 22120 "configure" +#line 22612 "configure" #include "confdefs.h" #include @@ -22131,16 +22623,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22134: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22626: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22137: \$? = $ac_status" >&5 + echo "$as_me:22629: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22140: \"$ac_try\"") >&5 + { (eval echo "$as_me:22632: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22143: \$? = $ac_status" >&5 + echo "$as_me:22635: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_libstdcpp=yes else @@ -22152,7 +22644,7 @@ LIBS="$cf_save" fi -echo "$as_me:22155: result: $cf_cv_libstdcpp" >&5 +echo "$as_me:22647: result: $cf_cv_libstdcpp" >&5 echo "${ECHO_T}$cf_cv_libstdcpp" >&6 test "$cf_cv_libstdcpp" = yes && { cf_add_libs="-l$cf_stdcpp_libname" @@ -22174,7 +22666,7 @@ fi fi - echo "$as_me:22177: checking whether $CXX understands -c and -o together" >&5 + echo "$as_me:22669: 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 @@ -22189,15 +22681,15 @@ # 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:22192: \"$ac_try\"") >&5 +if { (eval echo "$as_me:22684: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22195: \$? = $ac_status" >&5 + echo "$as_me:22687: \$? = $ac_status" >&5 (exit $ac_status); } && - test -f conftest2.$ac_objext && { (eval echo "$as_me:22197: \"$ac_try\"") >&5 + test -f conftest2.$ac_objext && { (eval echo "$as_me:22689: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22200: \$? = $ac_status" >&5 + echo "$as_me:22692: \$? = $ac_status" >&5 (exit $ac_status); }; then eval cf_cv_prog_CXX_c_o=yes @@ -22208,10 +22700,10 @@ fi if test $cf_cv_prog_CXX_c_o = yes; then - echo "$as_me:22211: result: yes" >&5 + echo "$as_me:22703: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:22214: result: no" >&5 + echo "$as_me:22706: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -22231,7 +22723,7 @@ ;; esac if test "$GXX" = yes; then - echo "$as_me:22234: checking for lib$cf_gpp_libname" >&5 + echo "$as_me:22726: checking for lib$cf_gpp_libname" >&5 echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 cf_save="$LIBS" @@ -22252,7 +22744,7 @@ LIBS="$cf_add_libs" cat >conftest.$ac_ext <<_ACEOF -#line 22255 "configure" +#line 22747 "configure" #include "confdefs.h" #include <$cf_gpp_libname/builtin.h> @@ -22266,16 +22758,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22269: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22761: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22272: \$? = $ac_status" >&5 + echo "$as_me:22764: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22275: \"$ac_try\"") >&5 + { (eval echo "$as_me:22767: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22278: \$? = $ac_status" >&5 + echo "$as_me:22770: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cxx_library=yes @@ -22312,7 +22804,7 @@ echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 22315 "configure" +#line 22807 "configure" #include "confdefs.h" #include @@ -22326,16 +22818,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22329: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22821: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22332: \$? = $ac_status" >&5 + echo "$as_me:22824: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22335: \"$ac_try\"") >&5 + { (eval echo "$as_me:22827: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22338: \$? = $ac_status" >&5 + echo "$as_me:22830: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cxx_library=yes @@ -22368,7 +22860,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$cf_save" - echo "$as_me:22371: result: $cf_cxx_library" >&5 + echo "$as_me:22863: result: $cf_cxx_library" >&5 echo "${ECHO_T}$cf_cxx_library" >&6 fi @@ -22384,7 +22876,7 @@ 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:22387: checking how to run the C++ preprocessor" >&5 +echo "$as_me:22879: 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 @@ -22401,18 +22893,18 @@ # 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 22404 "configure" +#line 22896 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:22409: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:22901: \"$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:22415: \$? = $ac_status" >&5 + echo "$as_me:22907: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -22435,17 +22927,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 22438 "configure" +#line 22930 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:22442: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:22934: \"$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:22448: \$? = $ac_status" >&5 + echo "$as_me:22940: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -22482,7 +22974,7 @@ else ac_cv_prog_CXXCPP=$CXXCPP fi -echo "$as_me:22485: result: $CXXCPP" >&5 +echo "$as_me:22977: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6 ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes @@ -22492,18 +22984,18 @@ # 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 22495 "configure" +#line 22987 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:22500: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:22992: \"$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:22506: \$? = $ac_status" >&5 + echo "$as_me:22998: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -22526,17 +23018,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 22529 "configure" +#line 23021 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:22533: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:23025: \"$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:22539: \$? = $ac_status" >&5 + echo "$as_me:23031: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -22564,7 +23056,7 @@ if $ac_preproc_ok; then : else - { { echo "$as_me:22567: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 + { { echo "$as_me:23059: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi @@ -22579,23 +23071,23 @@ for ac_header in typeinfo do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:22582: checking for $ac_header" >&5 +echo "$as_me:23074: 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 22588 "configure" +#line 23080 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:22592: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:23084: \"$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:22598: \$? = $ac_status" >&5 + echo "$as_me:23090: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -22614,7 +23106,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:22617: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:23109: 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:23122: 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 22636 "configure" +#line 23128 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:22640: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:23132: \"$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:22646: \$? = $ac_status" >&5 + echo "$as_me:23138: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -22662,7 +23154,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:22665: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:23157: 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:23168: 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 22679 "configure" +#line 23171 "configure" #include "confdefs.h" #include @@ -22693,16 +23185,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:22696: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23188: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22699: \$? = $ac_status" >&5 + echo "$as_me:23191: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22702: \"$ac_try\"") >&5 + { (eval echo "$as_me:23194: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22705: \$? = $ac_status" >&5 + echo "$as_me:23197: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_iostream_namespace=yes else @@ -22711,7 +23203,7 @@ cf_iostream_namespace=no fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:22714: result: $cf_iostream_namespace" >&5 + echo "$as_me:23206: result: $cf_iostream_namespace" >&5 echo "${ECHO_T}$cf_iostream_namespace" >&6 if test "$cf_iostream_namespace" = yes ; then @@ -22722,7 +23214,7 @@ fi fi -echo "$as_me:22725: checking if we should include stdbool.h" >&5 +echo "$as_me:23217: 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 @@ -22730,7 +23222,7 @@ else cat >conftest.$ac_ext <<_ACEOF -#line 22733 "configure" +#line 23225 "configure" #include "confdefs.h" int @@ -22742,23 +23234,23 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:22745: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23237: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22748: \$? = $ac_status" >&5 + echo "$as_me:23240: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22751: \"$ac_try\"") >&5 + { (eval echo "$as_me:23243: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22754: \$? = $ac_status" >&5 + echo "$as_me:23246: \$? = $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 22761 "configure" +#line 23253 "configure" #include "confdefs.h" #ifndef __BEOS__ @@ -22774,16 +23266,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:22777: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23269: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22780: \$? = $ac_status" >&5 + echo "$as_me:23272: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22783: \"$ac_try\"") >&5 + { (eval echo "$as_me:23275: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22786: \$? = $ac_status" >&5 + echo "$as_me:23278: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_header_stdbool_h=1 else @@ -22797,13 +23289,13 @@ fi if test "$cf_cv_header_stdbool_h" = 1 -then echo "$as_me:22800: result: yes" >&5 +then echo "$as_me:23292: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:22802: result: no" >&5 +else echo "$as_me:23294: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:22806: checking for builtin bool type" >&5 +echo "$as_me:23298: 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 @@ -22811,7 +23303,7 @@ else cat >conftest.$ac_ext <<_ACEOF -#line 22814 "configure" +#line 23306 "configure" #include "confdefs.h" #include @@ -22826,16 +23318,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:22829: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23321: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22832: \$? = $ac_status" >&5 + echo "$as_me:23324: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22835: \"$ac_try\"") >&5 + { (eval echo "$as_me:23327: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22838: \$? = $ac_status" >&5 + echo "$as_me:23330: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_builtin_bool=1 else @@ -22848,13 +23340,13 @@ fi if test "$cf_cv_builtin_bool" = 1 -then echo "$as_me:22851: result: yes" >&5 +then echo "$as_me:23343: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:22853: result: no" >&5 +else echo "$as_me:23345: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:22857: checking for size of bool" >&5 +echo "$as_me:23349: checking for size of bool" >&5 echo $ECHO_N "checking for size of bool... $ECHO_C" >&6 if test "${cf_cv_type_of_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22865,7 +23357,7 @@ cf_cv_type_of_bool=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 22868 "configure" +#line 23360 "configure" #include "confdefs.h" #include @@ -22907,15 +23399,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:22910: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23402: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22913: \$? = $ac_status" >&5 + echo "$as_me:23405: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:22915: \"$ac_try\"") >&5 + { (eval echo "$as_me:23407: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22918: \$? = $ac_status" >&5 + echo "$as_me:23410: \$? = $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 @@ -22933,18 +23425,18 @@ fi rm -f cf_test.out -echo "$as_me:22936: result: $cf_cv_type_of_bool" >&5 +echo "$as_me:23428: 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:22942: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + { echo "$as_me:23434: 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:22947: checking for special defines needed for etip.h" >&5 +echo "$as_me:23439: 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" @@ -22962,7 +23454,7 @@ 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 22965 "configure" +#line 23457 "configure" #include "confdefs.h" #include @@ -22976,16 +23468,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:22979: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23471: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22982: \$? = $ac_status" >&5 + echo "$as_me:23474: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22985: \"$ac_try\"") >&5 + { (eval echo "$as_me:23477: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22988: \$? = $ac_status" >&5 + echo "$as_me:23480: \$? = $ac_status" >&5 (exit $ac_status); }; }; then test -n "$cf_math" && cat >>confdefs.h <&5 +echo "$as_me:23501: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 CXXFLAGS="$cf_save_CXXFLAGS" if test -n "$CXX"; then -echo "$as_me:23014: checking if $CXX accepts parameter initialization" >&5 +echo "$as_me:23506: 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 @@ -23028,7 +23520,7 @@ cf_cv_cpp_param_init=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 23031 "configure" +#line 23523 "configure" #include "confdefs.h" class TEST { @@ -23047,15 +23539,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:23050: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23542: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23053: \$? = $ac_status" >&5 + echo "$as_me:23545: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:23055: \"$ac_try\"") >&5 + { (eval echo "$as_me:23547: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23058: \$? = $ac_status" >&5 + echo "$as_me:23550: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cpp_param_init=yes else @@ -23074,7 +23566,7 @@ ac_main_return=return fi -echo "$as_me:23077: result: $cf_cv_cpp_param_init" >&5 +echo "$as_me:23569: result: $cf_cv_cpp_param_init" >&5 echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 fi test "$cf_cv_cpp_param_init" = yes && @@ -23084,7 +23576,7 @@ if test -n "$CXX"; then -echo "$as_me:23087: checking if $CXX accepts static_cast" >&5 +echo "$as_me:23579: 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 @@ -23098,7 +23590,7 @@ ac_main_return=return cat >conftest.$ac_ext <<_ACEOF -#line 23101 "configure" +#line 23593 "configure" #include "confdefs.h" class NCursesPanel @@ -23142,16 +23634,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23145: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23637: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23148: \$? = $ac_status" >&5 + echo "$as_me:23640: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23151: \"$ac_try\"") >&5 + { (eval echo "$as_me:23643: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23154: \$? = $ac_status" >&5 + echo "$as_me:23646: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cpp_static_cast=yes else @@ -23169,7 +23661,7 @@ ac_main_return=return fi -echo "$as_me:23172: result: $cf_cv_cpp_static_cast" >&5 +echo "$as_me:23664: result: $cf_cv_cpp_static_cast" >&5 echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 fi @@ -23218,7 +23710,7 @@ else if test "$cf_cv_header_stdbool_h" = 1 ; then -echo "$as_me:23221: checking for size of bool" >&5 +echo "$as_me:23713: checking for size of bool" >&5 echo $ECHO_N "checking for size of bool... $ECHO_C" >&6 if test "${cf_cv_type_of_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23229,7 +23721,7 @@ cf_cv_type_of_bool=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 23232 "configure" +#line 23724 "configure" #include "confdefs.h" #include @@ -23271,15 +23763,15 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:23274: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23766: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23277: \$? = $ac_status" >&5 + echo "$as_me:23769: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:23279: \"$ac_try\"") >&5 + { (eval echo "$as_me:23771: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23282: \$? = $ac_status" >&5 + echo "$as_me:23774: \$? = $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 @@ -23297,25 +23789,25 @@ fi rm -f cf_test.out -echo "$as_me:23300: result: $cf_cv_type_of_bool" >&5 +echo "$as_me:23792: 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:23306: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + { echo "$as_me:23798: 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:23312: checking for fallback type of bool" >&5 + echo "$as_me:23804: 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:23318: result: $cf_cv_type_of_bool" >&5 + echo "$as_me:23810: result: $cf_cv_type_of_bool" >&5 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 fi fi @@ -23344,7 +23836,7 @@ if test "$cf_with_ada" != "no" ; then if test "$with_libtool" != "no"; then - { echo "$as_me:23347: WARNING: libtool does not support Ada - disabling feature" >&5 + { echo "$as_me:23839: 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 @@ -23356,7 +23848,7 @@ cf_ada_config="#" # Extract the first word of "$cf_ada_make", so it can be a program name with args. set dummy $cf_ada_make; ac_word=$2 -echo "$as_me:23359: checking for $ac_word" >&5 +echo "$as_me:23851: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_gnatmake_exists+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23371,7 +23863,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_gnatmake_exists="yes" -echo "$as_me:23374: found $ac_dir/$ac_word" >&5 +echo "$as_me:23866: found $ac_dir/$ac_word" >&5 break done @@ -23380,10 +23872,10 @@ fi gnatmake_exists=$ac_cv_prog_gnatmake_exists if test -n "$gnatmake_exists"; then - echo "$as_me:23383: result: $gnatmake_exists" >&5 + echo "$as_me:23875: result: $gnatmake_exists" >&5 echo "${ECHO_T}$gnatmake_exists" >&6 else - echo "$as_me:23386: result: no" >&5 + echo "$as_me:23878: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -23393,7 +23885,7 @@ else # Extract the first word of "gprconfig", so it can be a program name with args. set dummy gprconfig; ac_word=$2 -echo "$as_me:23396: checking for $ac_word" >&5 +echo "$as_me:23888: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_gprconfig_exists+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23408,7 +23900,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_gprconfig_exists="yes" -echo "$as_me:23411: found $ac_dir/$ac_word" >&5 +echo "$as_me:23903: found $ac_dir/$ac_word" >&5 break done @@ -23417,10 +23909,10 @@ fi gprconfig_exists=$ac_cv_prog_gprconfig_exists if test -n "$gprconfig_exists"; then - echo "$as_me:23420: result: $gprconfig_exists" >&5 + echo "$as_me:23912: result: $gprconfig_exists" >&5 echo "${ECHO_T}$gprconfig_exists" >&6 else - echo "$as_me:23423: result: no" >&5 + echo "$as_me:23915: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -23433,7 +23925,7 @@ cd conftest.src for cf_gprconfig in Ada C do - echo "$as_me:23436: checking for gprconfig name for $cf_gprconfig" >&5 + echo "$as_me:23928: 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 @@ -23452,10 +23944,10 @@ if test -n "$cf_gprconfig_value" then eval cf_ada_config_$cf_gprconfig=$cf_gprconfig_value - echo "$as_me:23455: result: $cf_gprconfig_value" >&5 + echo "$as_me:23947: result: $cf_gprconfig_value" >&5 echo "${ECHO_T}$cf_gprconfig_value" >&6 else - echo "$as_me:23458: result: missing" >&5 + echo "$as_me:23950: result: missing" >&5 echo "${ECHO_T}missing" >&6 cf_ada_config="#" break @@ -23471,12 +23963,12 @@ if test "x$cf_ada_config" != "x#" then -echo "$as_me:23474: checking for gnat version" >&5 +echo "$as_me:23966: checking for gnat version" >&5 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 cf_gnat_version=`${cf_ada_make:-gnatmake} -v 2>&1 | \ grep '[0-9].[0-9][0-9]*' |\ sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` -echo "$as_me:23479: result: $cf_gnat_version" >&5 +echo "$as_me:23971: result: $cf_gnat_version" >&5 echo "${ECHO_T}$cf_gnat_version" >&6 case $cf_gnat_version in @@ -23484,7 +23976,7 @@ cf_cv_prog_gnat_correct=yes ;; (*) - { echo "$as_me:23487: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + { echo "$as_me:23979: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 echo "$as_me: WARNING: Unsupported GNAT version $cf_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} cf_cv_prog_gnat_correct=no ;; @@ -23492,7 +23984,7 @@ # Extract the first word of "m4", so it can be a program name with args. set dummy m4; ac_word=$2 -echo "$as_me:23495: checking for $ac_word" >&5 +echo "$as_me:23987: 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 @@ -23507,7 +23999,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_M4_exists="yes" -echo "$as_me:23510: found $ac_dir/$ac_word" >&5 +echo "$as_me:24002: found $ac_dir/$ac_word" >&5 break done @@ -23516,10 +24008,10 @@ fi M4_exists=$ac_cv_prog_M4_exists if test -n "$M4_exists"; then - echo "$as_me:23519: result: $M4_exists" >&5 + echo "$as_me:24011: result: $M4_exists" >&5 echo "${ECHO_T}$M4_exists" >&6 else - echo "$as_me:23522: result: no" >&5 + echo "$as_me:24014: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -23528,7 +24020,7 @@ echo Ada95 binding required program m4 not found. Ada95 binding disabled. fi if test "$cf_cv_prog_gnat_correct" = yes; then - echo "$as_me:23531: checking if GNAT works" >&5 + echo "$as_me:24023: checking if GNAT works" >&5 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 rm -rf conftest* *~conftest* @@ -23556,7 +24048,7 @@ fi rm -rf conftest* *~conftest* - echo "$as_me:23559: result: $cf_cv_prog_gnat_correct" >&5 + echo "$as_me:24051: result: $cf_cv_prog_gnat_correct" >&5 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 fi else @@ -23568,7 +24060,7 @@ ADAFLAGS="$ADAFLAGS -gnatpn" - echo "$as_me:23571: checking optimization options for ADAFLAGS" >&5 + echo "$as_me:24063: checking optimization options for ADAFLAGS" >&5 echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 case "$CFLAGS" in (*-g*) @@ -23585,10 +24077,10 @@ ;; esac - echo "$as_me:23588: result: $ADAFLAGS" >&5 + echo "$as_me:24080: result: $ADAFLAGS" >&5 echo "${ECHO_T}$ADAFLAGS" >&6 -echo "$as_me:23591: checking if GNATPREP supports -T option" >&5 +echo "$as_me:24083: 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 @@ -23598,11 +24090,11 @@ gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes fi -echo "$as_me:23601: result: $cf_cv_gnatprep_opt_t" >&5 +echo "$as_me:24093: 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:23605: checking if GNAT supports generics" >&5 +echo "$as_me:24097: checking if GNAT supports generics" >&5 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 case $cf_gnat_version in (3.[1-9]*|[4-9].*) @@ -23612,7 +24104,7 @@ cf_gnat_generics=no ;; esac -echo "$as_me:23615: result: $cf_gnat_generics" >&5 +echo "$as_me:24107: result: $cf_gnat_generics" >&5 echo "${ECHO_T}$cf_gnat_generics" >&6 if test "$cf_gnat_generics" = yes @@ -23624,7 +24116,7 @@ cf_generic_objects= fi -echo "$as_me:23627: checking if GNAT supports SIGINT" >&5 +echo "$as_me:24119: 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 @@ -23672,7 +24164,7 @@ rm -rf conftest* *~conftest* fi -echo "$as_me:23675: result: $cf_cv_gnat_sigint" >&5 +echo "$as_me:24167: result: $cf_cv_gnat_sigint" >&5 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 if test $cf_cv_gnat_sigint = yes ; then @@ -23685,7 +24177,7 @@ cf_gnat_projects=no if test "$enable_gnat_projects" != no ; then -echo "$as_me:23688: checking if GNAT supports project files" >&5 +echo "$as_me:24180: checking if GNAT supports project files" >&5 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 case $cf_gnat_version in (3.[0-9]*) @@ -23748,15 +24240,15 @@ esac ;; esac -echo "$as_me:23751: result: $cf_gnat_projects" >&5 +echo "$as_me:24243: 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:23757: checking if GNAT supports libraries" >&5 + echo "$as_me:24249: checking if GNAT supports libraries" >&5 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 - echo "$as_me:23759: result: $cf_gnat_libraries" >&5 + echo "$as_me:24251: result: $cf_gnat_libraries" >&5 echo "${ECHO_T}$cf_gnat_libraries" >&6 fi @@ -23776,7 +24268,7 @@ USE_GNAT_LIBRARIES="#" fi -echo "$as_me:23779: checking for ada-compiler" >&5 +echo "$as_me:24271: 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. @@ -23787,12 +24279,12 @@ cf_ada_compiler=gnatmake fi; -echo "$as_me:23790: result: $cf_ada_compiler" >&5 +echo "$as_me:24282: result: $cf_ada_compiler" >&5 echo "${ECHO_T}$cf_ada_compiler" >&6 cf_ada_package=terminal_interface -echo "$as_me:23795: checking for ada-include" >&5 +echo "$as_me:24287: 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. @@ -23828,7 +24320,7 @@ withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:23831: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:24323: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -23837,10 +24329,10 @@ fi eval ADA_INCLUDE="$withval" -echo "$as_me:23840: result: $ADA_INCLUDE" >&5 +echo "$as_me:24332: result: $ADA_INCLUDE" >&5 echo "${ECHO_T}$ADA_INCLUDE" >&6 -echo "$as_me:23843: checking for ada-objects" >&5 +echo "$as_me:24335: 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. @@ -23876,7 +24368,7 @@ withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:23879: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:24371: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -23885,10 +24377,10 @@ fi eval ADA_OBJECTS="$withval" -echo "$as_me:23888: result: $ADA_OBJECTS" >&5 +echo "$as_me:24380: result: $ADA_OBJECTS" >&5 echo "${ECHO_T}$ADA_OBJECTS" >&6 -echo "$as_me:23891: checking if an Ada95 shared-library should be built" >&5 +echo "$as_me:24383: 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. @@ -23898,14 +24390,14 @@ else with_ada_sharedlib=no fi; -echo "$as_me:23901: result: $with_ada_sharedlib" >&5 +echo "$as_me:24393: 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:23908: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + { echo "$as_me:24400: 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 @@ -23931,13 +24423,13 @@ # do this "late" to avoid conflict with header-checks if test "x$with_widec" = xyes ; then - echo "$as_me:23934: checking for wchar_t" >&5 + echo "$as_me:24426: 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 23940 "configure" +#line 24432 "configure" #include "confdefs.h" $ac_includes_default int @@ -23952,16 +24444,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23955: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24447: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23958: \$? = $ac_status" >&5 + echo "$as_me:24450: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23961: \"$ac_try\"") >&5 + { (eval echo "$as_me:24453: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23964: \$? = $ac_status" >&5 + echo "$as_me:24456: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_wchar_t=yes else @@ -23971,10 +24463,10 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:23974: result: $ac_cv_type_wchar_t" >&5 +echo "$as_me:24466: result: $ac_cv_type_wchar_t" >&5 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6 -echo "$as_me:23977: checking size of wchar_t" >&5 +echo "$as_me:24469: 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 @@ -23983,7 +24475,7 @@ if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 23986 "configure" +#line 24478 "configure" #include "confdefs.h" $ac_includes_default int @@ -23995,21 +24487,21 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23998: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24490: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24001: \$? = $ac_status" >&5 + echo "$as_me:24493: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24004: \"$ac_try\"") >&5 + { (eval echo "$as_me:24496: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24007: \$? = $ac_status" >&5 + echo "$as_me:24499: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 24012 "configure" +#line 24504 "configure" #include "confdefs.h" $ac_includes_default int @@ -24021,16 +24513,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:24024: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24516: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24027: \$? = $ac_status" >&5 + echo "$as_me:24519: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24030: \"$ac_try\"") >&5 + { (eval echo "$as_me:24522: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24033: \$? = $ac_status" >&5 + echo "$as_me:24525: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -24046,7 +24538,7 @@ ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 24049 "configure" +#line 24541 "configure" #include "confdefs.h" $ac_includes_default int @@ -24058,16 +24550,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:24061: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24553: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24064: \$? = $ac_status" >&5 + echo "$as_me:24556: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24067: \"$ac_try\"") >&5 + { (eval echo "$as_me:24559: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24070: \$? = $ac_status" >&5 + echo "$as_me:24562: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -24083,7 +24575,7 @@ 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 24086 "configure" +#line 24578 "configure" #include "confdefs.h" $ac_includes_default int @@ -24095,16 +24587,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:24098: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24590: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24101: \$? = $ac_status" >&5 + echo "$as_me:24593: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24104: \"$ac_try\"") >&5 + { (eval echo "$as_me:24596: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24107: \$? = $ac_status" >&5 + echo "$as_me:24599: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -24117,12 +24609,12 @@ ac_cv_sizeof_wchar_t=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:24120: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:24612: 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 24125 "configure" +#line 24617 "configure" #include "confdefs.h" $ac_includes_default int @@ -24138,15 +24630,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:24141: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24633: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24144: \$? = $ac_status" >&5 + echo "$as_me:24636: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:24146: \"$ac_try\"") >&5 + { (eval echo "$as_me:24638: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24149: \$? = $ac_status" >&5 + echo "$as_me:24641: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_wchar_t=`cat conftest.val` else @@ -24162,7 +24654,7 @@ ac_cv_sizeof_wchar_t=0 fi fi -echo "$as_me:24165: result: $ac_cv_sizeof_wchar_t" >&5 +echo "$as_me:24657: result: $ac_cv_sizeof_wchar_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6 cat >>confdefs.h <&5 +echo "$as_me:24675: checking for library subsets" >&5 echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 LIB_SUBSETS= @@ -24222,7 +24714,7 @@ 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:24225: result: $LIB_SUBSETS" >&5 +echo "$as_me:24717: result: $LIB_SUBSETS" >&5 echo "${ECHO_T}$LIB_SUBSETS" >&6 ### Construct the list of include-directories to be generated @@ -24253,7 +24745,7 @@ fi ### Build up pieces for makefile rules -echo "$as_me:24256: checking default library suffix" >&5 +echo "$as_me:24748: checking default library suffix" >&5 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -24264,10 +24756,10 @@ (shared) DFT_ARG_SUFFIX='' ;; esac test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" -echo "$as_me:24267: result: $DFT_ARG_SUFFIX" >&5 +echo "$as_me:24759: result: $DFT_ARG_SUFFIX" >&5 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 -echo "$as_me:24270: checking default library-dependency suffix" >&5 +echo "$as_me:24762: checking default library-dependency suffix" >&5 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 case X$DFT_LWR_MODEL in @@ -24325,10 +24817,10 @@ DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" fi -echo "$as_me:24328: result: $DFT_DEP_SUFFIX" >&5 +echo "$as_me:24820: result: $DFT_DEP_SUFFIX" >&5 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 -echo "$as_me:24331: checking default object directory" >&5 +echo "$as_me:24823: checking default object directory" >&5 echo $ECHO_N "checking default object directory... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -24344,11 +24836,11 @@ DFT_OBJ_SUBDIR='obj_s' ;; esac esac -echo "$as_me:24347: result: $DFT_OBJ_SUBDIR" >&5 +echo "$as_me:24839: result: $DFT_OBJ_SUBDIR" >&5 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 if test "x$cf_with_cxx" = xyes ; then -echo "$as_me:24351: checking c++ library-dependency suffix" >&5 +echo "$as_me:24843: 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++) @@ -24416,7 +24908,7 @@ fi fi -echo "$as_me:24419: result: $CXX_LIB_SUFFIX" >&5 +echo "$as_me:24911: result: $CXX_LIB_SUFFIX" >&5 echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 fi @@ -24592,19 +25084,19 @@ if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED" then - echo "$as_me:24595: checking if linker supports switching between static/dynamic" >&5 + echo "$as_me:25087: 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:24604: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:25096: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24607: \$? = $ac_status" >&5 + echo "$as_me:25099: \$? = $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 @@ -24615,10 +25107,10 @@ LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 24618 "configure" +#line 25110 "configure" #include "confdefs.h" -#line 24621 "configure" +#line 25113 "configure" #include int cf_ldflags_static(FILE *fp); @@ -24633,16 +25125,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24636: \"$ac_link\"") >&5 +if { (eval echo "$as_me:25128: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24639: \$? = $ac_status" >&5 + echo "$as_me:25131: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24642: \"$ac_try\"") >&5 + { (eval echo "$as_me:25134: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24645: \$? = $ac_status" >&5 + echo "$as_me:25137: \$? = $ac_status" >&5 (exit $ac_status); }; }; then # some linkers simply ignore the -dynamic @@ -24665,7 +25157,7 @@ rm -f libconftest.* LIBS="$cf_save_LIBS" - echo "$as_me:24668: result: $cf_ldflags_static" >&5 + echo "$as_me:25160: result: $cf_ldflags_static" >&5 echo "${ECHO_T}$cf_ldflags_static" >&6 if test $cf_ldflags_static != yes @@ -24681,7 +25173,7 @@ ;; esac -echo "$as_me:24684: checking where we will install curses.h" >&5 +echo "$as_me:25176: checking where we will install curses.h" >&5 echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 includesubdir= @@ -24691,7 +25183,7 @@ then includesubdir="/ncurses${USE_LIB_SUFFIX}" fi -echo "$as_me:24694: result: ${includedir}${includesubdir}" >&5 +echo "$as_me:25186: result: ${includedir}${includesubdir}" >&5 echo "${ECHO_T}${includedir}${includesubdir}" >&6 ### Resolve a conflict between normal and wide-curses by forcing applications @@ -24699,7 +25191,7 @@ if test "$with_overwrite" != no ; then if test "$NCURSES_LIBUTF8" = 1 ; then NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' - { echo "$as_me:24702: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 + { echo "$as_me:25194: 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 @@ -24717,7 +25209,7 @@ ### Construct the list of subdirectories for which we'll customize makefiles ### with the appropriate compile-rules. -echo "$as_me:24720: checking for src modules" >&5 +echo "$as_me:25212: checking for src modules" >&5 echo $ECHO_N "checking for src modules... $ECHO_C" >&6 # dependencies and linker-arguments for test-programs @@ -24782,7 +25274,7 @@ fi fi done -echo "$as_me:24785: result: $cf_cv_src_modules" >&5 +echo "$as_me:25277: result: $cf_cv_src_modules" >&5 echo "${ECHO_T}$cf_cv_src_modules" >&6 TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" @@ -25019,7 +25511,7 @@ # Extract the first word of "tic", so it can be a program name with args. set dummy tic; ac_word=$2 -echo "$as_me:25022: checking for $ac_word" >&5 +echo "$as_me:25514: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_TIC_PATH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25036,7 +25528,7 @@ test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_TIC_PATH="$ac_dir/$ac_word" - echo "$as_me:25039: found $ac_dir/$ac_word" >&5 + echo "$as_me:25531: found $ac_dir/$ac_word" >&5 break fi done @@ -25048,10 +25540,10 @@ TIC_PATH=$ac_cv_path_TIC_PATH if test -n "$TIC_PATH"; then - echo "$as_me:25051: result: $TIC_PATH" >&5 + echo "$as_me:25543: result: $TIC_PATH" >&5 echo "${ECHO_T}$TIC_PATH" >&6 else - echo "$as_me:25054: result: no" >&5 + echo "$as_me:25546: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -25059,7 +25551,7 @@ then if test "$TIC_PATH" = unknown then - { echo "$as_me:25062: WARNING: no tic program found for fallbacks" >&5 + { echo "$as_me:25554: WARNING: no tic program found for fallbacks" >&5 echo "$as_me: WARNING: no tic program found for fallbacks" >&2;} fi fi @@ -25095,7 +25587,7 @@ (*-D_XOPEN_SOURCE_EXTENDED*) test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6 -echo "${as_me:-configure}:25098: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 +echo "${as_me:-configure}:25590: 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//'` @@ -25106,7 +25598,7 @@ # Help to automatically enable the extended curses features when using either # the *-config or the ".pc" files by adding defines. -echo "$as_me:25109: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 +echo "$as_me:25601: 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 @@ -25122,7 +25614,7 @@ done test "$cf_found" = no && PKG_CFLAGS="$PKG_CFLAGS $cf_loop1" done -echo "$as_me:25125: result: $PKG_CFLAGS" >&5 +echo "$as_me:25617: result: $PKG_CFLAGS" >&5 echo "${ECHO_T}$PKG_CFLAGS" >&6 # AC_CHECK_SIZEOF demands a literal parameter, no variables. So we do this. @@ -25185,7 +25677,7 @@ 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}:25188: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 +echo "${as_me:-configure}:25680: testing will map symbols to ABI=$cf_cv_abi_version ..." 1>&5 fi @@ -25295,7 +25787,7 @@ : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:25298: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:25790: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -25471,7 +25963,7 @@ echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:25474: error: ambiguous option: $1 + { { echo "$as_me:25966: 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;} @@ -25490,7 +25982,7 @@ ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:25493: error: unrecognized option: $1 + -*) { { echo "$as_me:25985: 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;} @@ -25610,7 +26102,7 @@ "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:25613: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:26105: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -26104,7 +26596,7 @@ esac if test x"$ac_file" != x-; then - { echo "$as_me:26107: creating $ac_file" >&5 + { echo "$as_me:26599: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -26122,7 +26614,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:26125: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:26617: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -26135,7 +26627,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:26138: error: cannot find input file: $f" >&5 + { { echo "$as_me:26630: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -26151,7 +26643,7 @@ if test -n "$ac_seen"; then ac_used=`grep '@datarootdir@' $ac_item` if test -z "$ac_used"; then - { echo "$as_me:26154: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:26646: 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;} @@ -26160,7 +26652,7 @@ fi ac_seen=`grep '${datarootdir}' $ac_item` if test -n "$ac_seen"; then - { echo "$as_me:26163: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:26655: 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;} @@ -26197,7 +26689,7 @@ ac_init=`egrep '[ ]*'$ac_name'[ ]*=' $ac_file` if test -z "$ac_init"; then ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` - { echo "$as_me:26200: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:26692: 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;} @@ -26208,7 +26700,7 @@ 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:26211: WARNING: Some variables may not be substituted: + { echo "$as_me:26703: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -26257,7 +26749,7 @@ * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:26260: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:26752: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -26268,7 +26760,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:26271: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:26763: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -26281,7 +26773,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:26284: error: cannot find input file: $f" >&5 + { { echo "$as_me:26776: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -26339,7 +26831,7 @@ 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:26342: $ac_file is unchanged" >&5 + { echo "$as_me:26834: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -26684,7 +27176,7 @@ (cygdll|msysdll|mingw) test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6 -echo "${as_me:-configure}:26687: testing overriding CXX_MODEL to SHARED ..." 1>&5 +echo "${as_me:-configure}:27179: testing overriding CXX_MODEL to SHARED ..." 1>&5 with_shared_cxx=yes ;; Index: configure.in Prereq: 1.679 --- ncurses-6.1-20190615+/configure.in 2019-03-30 21:44:53.000000000 +0000 +++ ncurses-6.1-20190623/configure.in 2019-06-23 21:26:48.000000000 +0000 @@ -28,14 +28,14 @@ dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: configure.in,v 1.679 2019/03/30 21:44:53 tom Exp $ +dnl $Id: configure.in,v 1.682 2019/06/23 21:26:48 tom Exp $ dnl Process this file with autoconf to produce a configure script. dnl dnl See https://invisible-island.net/autoconf/ for additional information. dnl dnl --------------------------------------------------------------------------- AC_PREREQ(2.52.20170501) -AC_REVISION($Revision: 1.679 $) +AC_REVISION($Revision: 1.682 $) AC_INIT(ncurses/base/lib_initscr.c) AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) @@ -1643,6 +1643,14 @@ CF_GETOPT_HEADER +CF_CHECK_ENVIRON(environ) +CF_CHECK_GETENV +if test "x$cf_cv_consistent_getenv" = xno && \ + test "x$cf_with_trace" = xyes +then + AC_MSG_WARN(The NCURSES_TRACE environment variable is not supported with this configuration) +fi + # check for ISC (this may also define _POSIX_SOURCE) # Note: even non-Posix ISC needs to declare fd_set if test "x$ISC" = xyes ; then Index: dist.mk Prereq: 1.1288 --- ncurses-6.1-20190615+/dist.mk 2019-06-15 12:46:35.000000000 +0000 +++ ncurses-6.1-20190623/dist.mk 2019-06-23 15:31:40.000000000 +0000 @@ -25,7 +25,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1288 2019/06/15 12:46:35 tom Exp $ +# $Id: dist.mk,v 1.1290 2019/06/23 15:31:40 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -37,7 +37,7 @@ # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 NCURSES_MINOR = 1 -NCURSES_PATCH = 20190615 +NCURSES_PATCH = 20190623 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) Index: doc/html/man/adacurses6-config.1.html --- ncurses-6.1-20190615+/doc/html/man/adacurses6-config.1.html 2019-06-15 23:31:08.000000000 +0000 +++ ncurses-6.1-20190623/doc/html/man/adacurses6-config.1.html 2019-06-23 21:16:02.000000000 +0000 @@ -125,7 +125,7 @@

SEE ALSO

        curses(3x)
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/captoinfo.1m.html
--- ncurses-6.1-20190615+/doc/html/man/captoinfo.1m.html	2019-06-15 23:31:08.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/captoinfo.1m.html	2019-06-23 21:16:02.000000000 +0000
@@ -190,7 +190,7 @@
 

SEE ALSO

        infocmp(1m), curses(3x), terminfo(5)
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 

AUTHOR

Index: doc/html/man/clear.1.html
--- ncurses-6.1-20190615+/doc/html/man/clear.1.html	2019-06-15 23:31:08.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/clear.1.html	2019-06-23 21:16:02.000000000 +0000
@@ -148,7 +148,7 @@
 

SEE ALSO

        tput(1), terminfo(5)
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/form.3x.html
--- ncurses-6.1-20190615+/doc/html/man/form.3x.html	2019-06-15 23:31:10.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/form.3x.html	2019-06-23 21:16:04.000000000 +0000
@@ -246,7 +246,7 @@
        curses(3x)  and  related  pages  whose names begin "form_" for detailed
        descriptions of the entry points.
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/infocmp.1m.html
--- ncurses-6.1-20190615+/doc/html/man/infocmp.1m.html	2019-06-15 23:31:11.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/infocmp.1m.html	2019-06-23 21:16:04.000000000 +0000
@@ -481,7 +481,7 @@
 
        https://invisible-island.net/ncurses/tctest.html
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 

AUTHOR

Index: doc/html/man/infotocap.1m.html
--- ncurses-6.1-20190615+/doc/html/man/infotocap.1m.html	2019-06-15 23:31:11.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/infotocap.1m.html	2019-06-23 21:16:04.000000000 +0000
@@ -85,7 +85,7 @@
 

SEE ALSO

        curses(3x), tic(1m), infocmp(1m), terminfo(5)
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 

AUTHOR

Index: doc/html/man/menu.3x.html
--- ncurses-6.1-20190615+/doc/html/man/menu.3x.html	2019-06-15 23:31:11.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/menu.3x.html	2019-06-23 21:16:05.000000000 +0000
@@ -221,7 +221,7 @@
        curses(3x)  and  related  pages  whose names begin "menu_" for detailed
        descriptions of the entry points.
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/ncurses.3x.html
--- ncurses-6.1-20190615+/doc/html/man/ncurses.3x.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/ncurses.3x.html	2019-06-23 21:16:05.000000000 +0000
@@ -59,7 +59,7 @@
        method of updating  character  screens  with  reasonable  optimization.
        This  implementation  is  "new  curses"  (ncurses)  and is the approved
        replacement for 4.4BSD classic curses,  which  has  been  discontinued.
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
        The  ncurses  library emulates the curses library of System V Release 4
        UNIX, and XPG4 (X/Open Portability Guide) curses  (also  known  as  XSI
Index: doc/html/man/ncurses6-config.1.html
--- ncurses-6.1-20190615+/doc/html/man/ncurses6-config.1.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/ncurses6-config.1.html	2019-06-23 21:16:05.000000000 +0000
@@ -112,7 +112,7 @@
 

SEE ALSO

        curses(3x)
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/panel.3x.html
--- ncurses-6.1-20190615+/doc/html/man/panel.3x.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/panel.3x.html	2019-06-23 21:16:05.000000000 +0000
@@ -204,7 +204,7 @@
 

SEE ALSO

        curses(3x), curs_variables(3x),
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 

AUTHOR

Index: doc/html/man/tabs.1.html
--- ncurses-6.1-20190615+/doc/html/man/tabs.1.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/tabs.1.html	2019-06-23 21:16:06.000000000 +0000
@@ -26,7 +26,7 @@
   * sale, use or other dealings in this Software without prior written       *
   * authorization.                                                           *
   ****************************************************************************
-  * @Id: tabs.1,v 1.25 2019/06/15 23:08:12 tom Exp @
+  * @Id: tabs.1,v 1.26 2019/06/23 21:01:12 tom Exp @
 -->
 
 
@@ -167,24 +167,28 @@
        The  -d  (debug)  and -n (no-op) options are extensions not provided by
        other implementations.
 
-       A tabs utility appeared in PWB/Unix 1.0 (1977), and thereafter in  3BSD
-       (1979).  It supported a single "-n" option (to cause the first tab stop
+       A tabs utility appeared in PWB/Unix 1.0 (1977).  There  was  a  reduced
+       version  of  the  tabs  utility in Unix 7th edition and in 3BSD (1979).
+       The latter supported a single "-n" option (to cause the first tab  stop
        to be set on the left margin).  That option is not documented by POSIX.
-       Initially, tabs used built-in tables rather than the terminal database,
-       to support a half-dozen terminal types.  It also had built-in logic  to
-       support  the left-margin, as well as a feature for copying the tab set-
-       tings from a file.
-
-       Later versions of Unix, e.g., SVr4,  added  support  for  the  terminal
-       database,  but  kept the tables, as a fallback.  In an earlier develop-
-       ment effort, the tab-stop initialization provided by  tset  (1982)  and
+
+       The  PWB/Unix  tabs  utility,  which was included in System III (1980),
+       used built-in tables rather than the terminal database,  to  support  a
+       half-dozen  terminal  types.  It also had built-in logic to support the
+       left-margin, as well as a feature for copying the tab settings  from  a
+       file.
+
+       Later  versions  of  Unix,  e.g.,  SVr4, added support for the terminal
+       database, but kept the tables, as a fallback.  In an  earlier  develop-
+       ment  effort,  the  tab-stop initialization provided by tset (1982) and
        incorporated into tput uses the terminal database,
 
-       POSIX  documents  no  limits on the number of tab stops.  Documentation
+       POSIX documents no limits on the number of  tab  stops.   Documentation
        for other implementations states that there is a limit on the number of
-       tab  stops.  While some terminals may not accept an arbitrary number of
-       tab stops, this implementation will attempt to set tab stops up to  the
-       right margin of the screen, if the given list happens to be that long.
+       tab stops (e.g., 20 in PWB/Unix's tabs utility).  While some  terminals
+       may  not  accept  an arbitrary number of tab stops, this implementation
+       will attempt to set tab stops up to the right margin of the screen,  if
+       the given list happens to be that long.
 
        The  Rationale section of the POSIX documentation goes into some detail
        about the ways the committee considered redesigning the tabs  and  tput
@@ -201,7 +205,7 @@
 

SEE ALSO

        tset(1), infocmp(1m), curses(3x), terminfo(5).
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/terminfo.5.html
--- ncurses-6.1-20190615+/doc/html/man/terminfo.5.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/terminfo.5.html	2019-06-23 21:16:06.000000000 +0000
@@ -74,7 +74,7 @@
        Terminfo describes terminals by giving a set of capabilities which they
        have, by specifying how to perform screen operations, and by specifying
        padding  requirements  and  initialization  sequences.   This describes
-       ncurses version 6.1 (patch 20190615).
+       ncurses version 6.1 (patch 20190623).
 
 
 

Terminfo Entry Syntax

Index: doc/html/man/tic.1m.html
--- ncurses-6.1-20190615+/doc/html/man/tic.1m.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/tic.1m.html	2019-06-23 21:16:06.000000000 +0000
@@ -365,7 +365,7 @@
        infocmp(1m),   captoinfo(1m),   infotocap(1m),   toe(1m),   curses(3x),
        term(5).  terminfo(5).  user_caps(5).
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 

AUTHOR

Index: doc/html/man/toe.1m.html
--- ncurses-6.1-20190615+/doc/html/man/toe.1m.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/toe.1m.html	2019-06-23 21:16:06.000000000 +0000
@@ -113,7 +113,7 @@
        tic(1m), infocmp(1m), captoinfo(1m),  infotocap(1m),  curses(3x),  ter-
        minfo(5).
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/tput.1.html
--- ncurses-6.1-20190615+/doc/html/man/tput.1.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/tput.1.html	2019-06-23 21:16:06.000000000 +0000
@@ -522,7 +522,7 @@
 

SEE ALSO

        clear(1), stty(1), tabs(1), tset(1), terminfo(5), curs_termcap(3x).
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: doc/html/man/tset.1.html
--- ncurses-6.1-20190615+/doc/html/man/tset.1.html	2019-06-15 23:31:12.000000000 +0000
+++ ncurses-6.1-20190623/doc/html/man/tset.1.html	2019-06-23 21:16:06.000000000 +0000
@@ -389,7 +389,7 @@
        csh(1),  sh(1),  stty(1),   curs_terminfo(3x),   tty(4),   terminfo(5),
        ttys(5), environ(7)
 
-       This describes ncurses version 6.1 (patch 20190615).
+       This describes ncurses version 6.1 (patch 20190623).
 
 
 
Index: include/nc_mingw.h
Prereq:  1.5 
--- ncurses-6.1-20190615+/include/nc_mingw.h	2018-06-24 00:06:37.000000000 +0000
+++ ncurses-6.1-20190623/include/nc_mingw.h	2019-06-23 19:55:08.000000000 +0000
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2008-2017,2018 Free Software Foundation, Inc.              *
+ * Copyright (c) 2008-2018,2019 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -30,7 +30,7 @@
  * Author: Thomas Dickey, 2008-on                                           *
  ****************************************************************************/
 
-/* $Id: nc_mingw.h,v 1.5 2018/06/24 00:06:37 tom Exp $ */
+/* $Id: nc_mingw.h,v 1.6 2019/06/23 19:55:08 tom Exp $ */
 
 #ifndef NC_MINGW_H
 #define NC_MINGW_H 1
@@ -63,7 +63,7 @@
 #define getlogin() "username"
 
 #undef wcwidth
-#define wcwidth(ucs) _nc_wcwidth(ucs)
+#define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs))
 extern int _nc_wcwidth(wchar_t);
 
 #endif /* _WIN32 */
Index: include/ncurses_defs
Prereq:  1.90 
--- ncurses-6.1-20190615+/include/ncurses_defs	2019-04-13 22:52:57.000000000 +0000
+++ ncurses-6.1-20190623/include/ncurses_defs	2019-06-23 15:19:43.000000000 +0000
@@ -1,4 +1,4 @@
-# $Id: ncurses_defs,v 1.90 2019/04/13 22:52:57 tom Exp $
+# $Id: ncurses_defs,v 1.91 2019/06/23 15:19:43 tom Exp $
 ##############################################################################
 # Copyright (c) 2000-2018,2019 Free Software Foundation, Inc.                #
 #                                                                            #
@@ -52,6 +52,7 @@
 HAVE_CHGAT	1
 HAVE_COLOR_CONTENT	1
 HAVE_COLOR_SET	1
+HAVE_CONSISTENT_GETENV
 HAVE_COPYWIN	1
 HAVE_CURSCR	1
 HAVE_CURSES_DATA_TABSIZE	1
Index: man/man_db.renames
Prereq:  1.53 
--- ncurses-6.1-20190615+/man/man_db.renames	2019-01-21 09:25:24.000000000 +0000
+++ ncurses-6.1-20190623/man/man_db.renames	2019-06-23 19:12:27.000000000 +0000
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: man_db.renames,v 1.53 2019/01/21 09:25:24 tom Exp $
+# $Id: man_db.renames,v 1.54 2019/06/23 19:12:27 tom Exp $
 # Manual-page renamings for the man_db program
 #
 # Files:
@@ -171,6 +171,7 @@
 wresize.3x			wresize.3ncurses
 #
 # Other:
+tabs.1m				tabs.1
 tack.1m				tack.1
 #
 getty.1				getty.8
Index: man/tabs.1
Prereq:  1.25 
--- ncurses-6.1-20190615+/man/tabs.1	2019-06-15 23:08:12.000000000 +0000
+++ ncurses-6.1-20190623/man/tabs.1	2019-06-23 21:01:12.000000000 +0000
@@ -26,7 +26,7 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: tabs.1,v 1.25 2019/06/15 23:08:12 tom Exp $
+.\" $Id: tabs.1,v 1.26 2019/06/23 21:01:12 tom Exp $
 .TH @TABS@ 1 ""
 .ds n 5
 .ie \n(.g .ds `` \(lq
@@ -185,12 +185,15 @@
 The \fB\-d\fP (debug) and \fB\-n\fP (no-op) options are extensions not provided
 by other implementations.
 .PP
-A \fBtabs\fP utility appeared in PWB/Unix 1.0 (1977),
-and thereafter in 3BSD (1979).
-It supported a single \*(``\-n\*('' option
+A \fBtabs\fP utility appeared in PWB/Unix 1.0 (1977).
+There was a reduced version of the \fBtabs\fP utility
+in Unix 7th edition and in 3BSD (1979).
+The latter supported a single \*(``\-n\*('' option
 (to cause the first tab stop to be set on the left margin).
 That option is not documented by POSIX.
-Initially, \fBtabs\fP used built-in tables rather than the terminal database,
+.PP
+The PWB/Unix \fBtabs\fP utility, which was included in System III (1980),
+used built-in tables rather than the terminal database,
 to support a half-dozen terminal types.
 It also had built-in logic to support the left-margin,
 as well as a feature for copying the tab settings from a file.
@@ -204,7 +207,8 @@
 .PP
 POSIX documents no limits on the number of tab stops.
 Documentation for other implementations states that there is a limit on the
-number of tab stops.
+number of tab stops
+(e.g., 20 in PWB/Unix's \fBtabs\fP utility).
 While some terminals may not accept an arbitrary number
 of tab stops, this implementation will attempt to set tab stops up to the
 right margin of the screen, if the given list happens to be that long.
Index: ncurses/base/lib_initscr.c
Prereq:  1.43 
--- ncurses-6.1-20190615+/ncurses/base/lib_initscr.c	2017-06-17 18:42:45.000000000 +0000
+++ ncurses-6.1-20190623/ncurses/base/lib_initscr.c	2019-06-22 00:02:01.000000000 +0000
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998-2016,2017 Free Software Foundation, Inc.              *
+ * Copyright (c) 1998-2017,2019 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -29,7 +29,7 @@
 /****************************************************************************
  *  Author: Zeyd M. Ben-Halim  1992,1995               *
  *     and: Eric S. Raymond                          *
- *     and: Thomas E. Dickey                        1996-2003               *
+ *     and: Thomas E. Dickey                        1996-on                 *
  ****************************************************************************/
 
 /*
@@ -45,7 +45,7 @@
 #include 		/* needed for ISC */
 #endif
 
-MODULE_ID("$Id: lib_initscr.c,v 1.43 2017/06/17 18:42:45 tom Exp $")
+MODULE_ID("$Id: lib_initscr.c,v 1.44 2019/06/22 00:02:01 tom Exp $")
 
 NCURSES_EXPORT(WINDOW *)
 initscr(void)
@@ -60,14 +60,18 @@
 
     /* Portable applications must not call initscr() more than once */
     if (!_nc_globals.init_screen) {
-	NCURSES_CONST char *name;
+	const char *env;
+	char *name;
 
 	_nc_globals.init_screen = TRUE;
 
-	if ((name = getenv("TERM")) == 0
-	    || *name == '\0') {
-	    static char unknown_name[] = "unknown";
-	    name = unknown_name;
+	if ((env = getenv("TERM")) == 0
+	    || *env == '\0') {
+	    env = "unknown";
+	}
+	if ((name = strdup(env)) == NULL) {
+	    fprintf(stderr, "Error opening allocating $TERM.\n");
+	    ExitProgram(EXIT_FAILURE);
 	}
 #ifdef __CYGWIN__
 	/*
@@ -97,6 +101,7 @@
 #else
 	def_prog_mode();
 #endif
+	free(name);
     }
     result = stdscr;
     _nc_unlock_global(curses);
Index: ncurses/curses.priv.h
Prereq:  1.623 
--- ncurses-6.1-20190615+/ncurses/curses.priv.h	2019-06-01 23:41:36.000000000 +0000
+++ ncurses-6.1-20190623/ncurses/curses.priv.h	2019-06-23 15:20:49.000000000 +0000
@@ -34,7 +34,7 @@
  ****************************************************************************/
 
 /*
- * $Id: curses.priv.h,v 1.623 2019/06/01 23:41:36 tom Exp $
+ * $Id: curses.priv.h,v 1.624 2019/06/23 15:20:49 tom Exp $
  *
  *	curses.priv.h
  *
@@ -1766,12 +1766,16 @@
 #define TPUTS_TRACE(s)	_nc_tputs_trace = s;
 #endif
 
+#ifdef HAVE_CONSISTENT_GETENV
 #define START_TRACE() \
 	if ((_nc_tracing & TRACE_MAXIMUM) == 0) { \
 	    int t = _nc_getenv_num("NCURSES_TRACE"); \
 	    if (t >= 0) \
 		trace((unsigned) t); \
 	}
+#else
+#define START_TRACE() /* nothing */
+#endif
 
 /*
  * Many of the _tracef() calls use static buffers; lock the trace state before
Index: ncurses/tinfo/lib_acs.c
Prereq:  1.48 
--- ncurses-6.1-20190615+/ncurses/tinfo/lib_acs.c	2019-05-04 23:03:08.000000000 +0000
+++ ncurses-6.1-20190623/ncurses/tinfo/lib_acs.c	2019-06-23 16:22:10.000000000 +0000
@@ -39,7 +39,7 @@
 #define CUR SP_TERMTYPE
 #endif
 
-MODULE_ID("$Id: lib_acs.c,v 1.48 2019/05/04 23:03:08 tom Exp $")
+MODULE_ID("$Id: lib_acs.c,v 1.49 2019/06/23 16:22:10 tom Exp $")
 
 #if BROKEN_LINKER || USE_REENTRANT
 #define MyBuffer _nc_prescreen.real_acs_map
@@ -317,7 +317,7 @@
 	result = 1;
 	break;
     default:
-	result = (wcwidth) (ch);
+	result = wcwidth(ch);
 	break;
     }
     return result;
Index: ncurses/tinfo/lib_setup.c
Prereq:  1.199 
--- ncurses-6.1-20190615+/ncurses/tinfo/lib_setup.c	2019-03-23 23:42:20.000000000 +0000
+++ ncurses-6.1-20190623/ncurses/tinfo/lib_setup.c	2019-06-22 00:15:32.000000000 +0000
@@ -48,7 +48,7 @@
 #include 
 #endif
 
-MODULE_ID("$Id: lib_setup.c,v 1.199 2019/03/23 23:42:20 tom Exp $")
+MODULE_ID("$Id: lib_setup.c,v 1.200 2019/06/22 00:15:32 tom Exp $")
 
 /****************************************************************************
  *
@@ -628,6 +628,7 @@
 #endif
     TERMINAL *termp;
     SCREEN *sp = 0;
+    char *myname;
     int code = ERR;
 
     START_TRACE();
@@ -656,14 +657,15 @@
 #endif
 	}
     }
+    myname = strdup(tname);
 
-    if (strlen(tname) > MAX_NAME_SIZE) {
+    if (strlen(myname) > MAX_NAME_SIZE) {
 	ret_error(TGETENT_ERR,
 		  "TERM environment must be <= %d characters.\n",
 		  MAX_NAME_SIZE);
     }
 
-    T(("your terminal name is %s", tname));
+    T(("your terminal name is %s", myname));
 
     /*
      * Allow output redirection.  This is what SVr3 does.  If stdout is
@@ -692,8 +694,8 @@
 	&& (termp != 0)
 	&& termp->Filedes == Filedes
 	&& termp->_termname != 0
-	&& !strcmp(termp->_termname, tname)
-	&& _nc_name_match(TerminalType(termp).term_names, tname, "|")) {
+	&& !strcmp(termp->_termname, myname)
+	&& _nc_name_match(TerminalType(termp).term_names, myname, "|")) {
 	T(("reusing existing terminal information and mode-settings"));
 	code = OK;
 #ifdef USE_TERM_DRIVER
@@ -735,17 +737,17 @@
 #ifdef USE_TERM_DRIVER
 	INIT_TERM_DRIVER();
 	TCB = (TERMINAL_CONTROL_BLOCK *) termp;
-	code = _nc_globals.term_driver(TCB, tname, errret);
+	code = _nc_globals.term_driver(TCB, myname, errret);
 	if (code == OK) {
 	    termp->Filedes = (short) Filedes;
-	    termp->_termname = strdup(tname);
+	    termp->_termname = strdup(myname);
 	} else {
 	    ret_error0(errret ? *errret : TGETENT_ERR,
 		       "Could not find any driver to handle this terminal.\n");
 	}
 #else
 #if NCURSES_USE_DATABASE || NCURSES_USE_TERMCAP
-	status = _nc_setup_tinfo(tname, &TerminalType(termp));
+	status = _nc_setup_tinfo(myname, &TerminalType(termp));
 	T(("_nc_setup_tinfo returns %d", status));
 #else
 	T(("no database available"));
@@ -754,7 +756,7 @@
 
 	/* try fallback list if entry on disk */
 	if (status != TGETENT_YES) {
-	    const TERMTYPE2 *fallback = _nc_fallback2(tname);
+	    const TERMTYPE2 *fallback = _nc_fallback2(myname);
 
 	    if (fallback) {
 		T(("found fallback entry"));
@@ -768,7 +770,7 @@
 	    if (status == TGETENT_ERR) {
 		ret_error0(status, "terminals database is inaccessible\n");
 	    } else if (status == TGETENT_NO) {
-		ret_error1(status, "unknown terminal type.\n", tname);
+		ret_error1(status, "unknown terminal type.\n", myname);
 	    }
 	}
 #if NCURSES_EXT_NUMBERS
@@ -779,7 +781,7 @@
 #endif
 
 	termp->Filedes = (short) Filedes;
-	termp->_termname = strdup(tname);
+	termp->_termname = strdup(myname);
 
 	set_curterm(termp);
 
@@ -826,15 +828,16 @@
 	if ((VALID_STRING(cursor_address)
 	     || (VALID_STRING(cursor_down) && VALID_STRING(cursor_home)))
 	    && VALID_STRING(clear_screen)) {
-	    ret_error1(TGETENT_YES, "terminal is not really generic.\n", tname);
+	    ret_error1(TGETENT_YES, "terminal is not really generic.\n", myname);
 	} else {
 	    del_curterm(termp);
-	    ret_error1(TGETENT_NO, "I need something more specific.\n", tname);
+	    ret_error1(TGETENT_NO, "I need something more specific.\n", myname);
 	}
     } else if (hard_copy) {
-	ret_error1(TGETENT_YES, "I can't handle hardcopy terminals.\n", tname);
+	ret_error1(TGETENT_YES, "I can't handle hardcopy terminals.\n", myname);
     }
 #endif
+    free(myname);
     returnCode(code);
 }
 
Index: ncurses/tty/tty_update.c
Prereq:  1.303 
--- ncurses-6.1-20190615+/ncurses/tty/tty_update.c	2019-06-01 23:42:36.000000000 +0000
+++ ncurses-6.1-20190623/ncurses/tty/tty_update.c	2019-06-23 16:22:17.000000000 +0000
@@ -84,7 +84,7 @@
 
 #include 
 
-MODULE_ID("$Id: tty_update.c,v 1.303 2019/06/01 23:42:36 tom Exp $")
+MODULE_ID("$Id: tty_update.c,v 1.304 2019/06/23 16:22:17 tom Exp $")
 
 /*
  * This define controls the line-breakout optimization.  Every once in a
@@ -210,7 +210,7 @@
 }
 
 #if !NCURSES_WCWIDTH_GRAPHICS
-#define is_wacs_value(ch) (_nc_wacs_width(ch) == 1 && (wcwidth)(ch) > 1)
+#define is_wacs_value(ch) (_nc_wacs_width(ch) == 1 && wcwidth(ch) > 1)
 #endif /* !NCURSES_WCWIDTH_GRAPHICS */
 
 static NCURSES_INLINE void
Index: package/debian-mingw/changelog
--- ncurses-6.1-20190615+/package/debian-mingw/changelog	2019-06-15 12:46:35.000000000 +0000
+++ ncurses-6.1-20190623/package/debian-mingw/changelog	2019-06-23 15:31:40.000000000 +0000
@@ -1,8 +1,8 @@
-ncurses6 (6.1+20190615) unstable; urgency=low
+ncurses6 (6.1+20190623) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey   Sat, 15 Jun 2019 08:46:35 -0400
+ -- Thomas E. Dickey   Sun, 23 Jun 2019 11:31:40 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
Index: package/debian-mingw64/changelog
--- ncurses-6.1-20190615+/package/debian-mingw64/changelog	2019-06-15 12:46:35.000000000 +0000
+++ ncurses-6.1-20190623/package/debian-mingw64/changelog	2019-06-23 15:31:40.000000000 +0000
@@ -1,8 +1,8 @@
-ncurses6 (6.1+20190615) unstable; urgency=low
+ncurses6 (6.1+20190623) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey   Sat, 15 Jun 2019 08:46:35 -0400
+ -- Thomas E. Dickey   Sun, 23 Jun 2019 11:31:40 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
Index: package/debian/changelog
--- ncurses-6.1-20190615+/package/debian/changelog	2019-06-15 12:46:35.000000000 +0000
+++ ncurses-6.1-20190623/package/debian/changelog	2019-06-23 15:31:40.000000000 +0000
@@ -1,8 +1,8 @@
-ncurses6 (6.1+20190615) unstable; urgency=low
+ncurses6 (6.1+20190623) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey   Sat, 15 Jun 2019 08:46:35 -0400
+ -- Thomas E. Dickey   Sun, 23 Jun 2019 11:31:40 -0400
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
Index: package/mingw-ncurses.nsi
Prereq:  1.334 
--- ncurses-6.1-20190615+/package/mingw-ncurses.nsi	2019-06-15 12:46:35.000000000 +0000
+++ ncurses-6.1-20190623/package/mingw-ncurses.nsi	2019-06-23 15:31:40.000000000 +0000
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.334 2019/06/15 12:46:35 tom Exp $
+; $Id: mingw-ncurses.nsi,v 1.336 2019/06/23 15:31:40 tom Exp $
 
 ; TODO add examples
 ; TODO bump ABI to 6
@@ -10,7 +10,7 @@
 !define VERSION_MAJOR "6"
 !define VERSION_MINOR "1"
 !define VERSION_YYYY  "2019"
-!define VERSION_MMDD  "0615"
+!define VERSION_MMDD  "0623"
 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
 
 !define MY_ABI   "5"
Index: package/mingw-ncurses.spec
--- ncurses-6.1-20190615+/package/mingw-ncurses.spec	2019-06-15 12:46:35.000000000 +0000
+++ ncurses-6.1-20190623/package/mingw-ncurses.spec	2019-06-23 15:31:40.000000000 +0000
@@ -3,7 +3,7 @@
 Summary: shared libraries for terminal handling
 Name: mingw32-ncurses6
 Version: 6.1
-Release: 20190615
+Release: 20190623
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
Index: package/ncurses.spec
--- ncurses-6.1-20190615+/package/ncurses.spec	2019-06-15 12:46:35.000000000 +0000
+++ ncurses-6.1-20190623/package/ncurses.spec	2019-06-23 15:31:40.000000000 +0000
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Version: 6.1
-Release: 20190615
+Release: 20190623
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
Index: package/ncursest.spec
--- ncurses-6.1-20190615+/package/ncursest.spec	2019-06-15 12:46:35.000000000 +0000
+++ ncurses-6.1-20190623/package/ncursest.spec	2019-06-23 15:31:40.000000000 +0000
@@ -1,7 +1,7 @@
 Summary: Curses library with POSIX thread support.
 Name: ncursest6
 Version: 6.1
-Release: 20190615
+Release: 20190623
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
Index: test/test_sgr.c
Prereq:  1.11 
--- ncurses-6.1-20190615+/test/test_sgr.c	2017-06-24 18:35:25.000000000 +0000
+++ ncurses-6.1-20190623/test/test_sgr.c	2019-06-22 00:20:06.000000000 +0000
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2015-2016,2017 Free Software Foundation, Inc.              *
+ * Copyright (c) 2015-2017,2019 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -29,7 +29,7 @@
 /*
  * Author: Thomas E. Dickey
  *
- * $Id: test_sgr.c,v 1.11 2017/06/24 18:35:25 tom Exp $
+ * $Id: test_sgr.c,v 1.12 2019/06/22 00:20:06 tom Exp $
  *
  * A simple demo of the sgr/sgr0 terminal capabilities.
  */
@@ -182,22 +182,23 @@
     char *my_bold;
     char *my_revs;
     char *my_smso;
+    char *my_name = strdup(name);
 
     if (db_list) {
 	putenv(next_dbitem());
     }
 
     if (!q_opt)
-	printf("Terminal type \"%s\"\n", name);
+	printf("Terminal type \"%s\"\n", my_name);
 
     if (no_init) {
 	START_TRACE();
     } else {
-	setupterm((NCURSES_CONST char *) name, 1, (int *) 0);
+	setupterm((NCURSES_CONST char *) my_name, 1, (int *) 0);
     }
 
     if (!q_opt) {
-	if (strcmp(name, ttytype))
+	if (strcmp(my_name, ttytype))
 	    printf("... actual \"%s\"\n", ttytype);
     }