From f9d358b4f3cf9b44727a0ee5c08f8ca6ae4e3821 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 30 May 2010 01:08:46 +0000 Subject: [PATCH] ncurses 5.7 - patch 20100529 + regenerated html documentation. + modify test/configure to support pkg-config for checking X libraries used by PDCurses. + add/use configure macro CF_ADD_LIB to force consistency of assignments to $LIBS, etc. + fix configure script for combining --with-pthread and --enable-weak-symbols options. --- Ada95/samples/Makefile.in | 6 +- MANIFEST | 2 + NEWS | 13 +- aclocal.m4 | 150 +- configure | 1504 +++++------ configure.in | 18 +- dist.mk | 4 +- doc/html/ada/funcs/C.htm | 6 +- doc/html/ada/funcs/D.htm | 4 +- doc/html/ada/funcs/P.htm | 8 +- doc/html/ada/funcs/S.htm | 4 +- doc/html/ada/funcs/T.htm | 2 - doc/html/ada/main.htm | 16 +- doc/html/ada/table.html | 40 +- .../terminal_interface-curses-forms__ads.htm | 4 +- .../terminal_interface-curses-menus__ads.htm | 4 +- .../terminal_interface-curses-panels__ads.htm | 4 +- .../terminal_interface-curses-trace__adb.htm | 35 +- .../terminal_interface-curses-trace__ads.htm | 6 +- .../ada/terminal_interface-curses__ads.htm | 2 +- doc/html/man/adacurses-config.1.html | 96 + doc/html/man/captoinfo.1m.html | 2 +- doc/html/man/clear.1.html | 2 +- doc/html/man/curs_bkgd.3x.html | 6 +- doc/html/man/curs_getch.3x.html | 6 +- doc/html/man/curs_mouse.3x.html | 4 +- doc/html/man/curs_outopts.3x.html | 74 +- doc/html/man/curs_pad.3x.html | 24 +- doc/html/man/curs_slk.3x.html | 112 +- doc/html/man/form.3x.html | 2 +- doc/html/man/form_driver.3x.html | 24 +- doc/html/man/form_field_opts.3x.html | 20 +- doc/html/man/infocmp.1m.html | 2 +- doc/html/man/infotocap.1m.html | 2 +- doc/html/man/menu.3x.html | 2 +- doc/html/man/menu_driver.3x.html | 6 +- doc/html/man/menu_spacing.3x.html | 49 +- doc/html/man/ncurses.3x.html | 24 +- doc/html/man/ncurses5-config.1.html | 133 + doc/html/man/panel.3x.html | 14 +- doc/html/man/tabs.1.html | 10 +- doc/html/man/term.7.html | 6 +- 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 | 127 +- doc/html/man/wresize.3x.html | 6 +- ncurses/trace/visbuf.c | 4 +- test/aclocal.m4 | 225 +- test/configure | 2308 ++++++++++------- 51 files changed, 2943 insertions(+), 2187 deletions(-) create mode 100644 doc/html/man/adacurses-config.1.html create mode 100644 doc/html/man/ncurses5-config.1.html diff --git a/Ada95/samples/Makefile.in b/Ada95/samples/Makefile.in index 1a480e80..8bd88e5b 100644 --- a/Ada95/samples/Makefile.in +++ b/Ada95/samples/Makefile.in @@ -1,5 +1,5 @@ ############################################################################## -# Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. # +# Copyright (c) 1998-2009,2010 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 "Software"), # @@ -28,7 +28,7 @@ # # Author: Juergen Pfeifer, 1996 # -# $Id: Makefile.in,v 1.36 2009/01/11 01:11:54 tom Exp $ +# $Id: Makefile.in,v 1.37 2010/05/29 21:09:58 tom Exp $ # .SUFFIXES: @@ -87,7 +87,7 @@ ALIB = @cf_ada_package@ ABASE = $(ALIB)-curses CARGS =-cargs $(ADAFLAGS) -LARGS =-largs @TEST_ARG2@ $(LD_FLAGS) -lAdaCurses +LARGS =-largs @TEST_ARG2@ $(LD_FLAGS) -lAdaCurses @TEST_LIBS2@ PROGS = tour rain ncurses diff --git a/MANIFEST b/MANIFEST index 499829e5..f4d1e58f 100644 --- a/MANIFEST +++ b/MANIFEST @@ -320,6 +320,7 @@ ./doc/html/announce.html ./doc/html/hackguide.html ./doc/html/index.html +./doc/html/man/adacurses-config.1.html ./doc/html/man/captoinfo.1m.html ./doc/html/man/clear.1.html ./doc/html/man/curs_add_wch.3x.html @@ -437,6 +438,7 @@ ./doc/html/man/mitem_value.3x.html ./doc/html/man/mitem_visible.3x.html ./doc/html/man/ncurses.3x.html +./doc/html/man/ncurses5-config.1.html ./doc/html/man/panel.3x.html ./doc/html/man/resizeterm.3x.html ./doc/html/man/tabs.1.html diff --git a/NEWS b/NEWS index 8192200e..3522a407 100644 --- a/NEWS +++ b/NEWS @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.1546 2010/05/22 18:46:54 tom Exp $ +-- $Id: NEWS,v 1.1550 2010/05/29 21:57:41 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -45,6 +45,15 @@ See the AUTHORS file for the corresponding full names. Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20100529 + + regenerated html documentation. + + modify test/configure to support pkg-config for checking X libraries + used by PDCurses. + + add/use configure macro CF_ADD_LIB to force consistency of + assignments to $LIBS, etc. + + fix configure script for combining --with-pthread + and --enable-weak-symbols options. + 20100522 + correct cross-compiling configure check for CF_MKSTEMP macro, by adding a check cache variable set by AC_CHECK_FUNC (report by @@ -763,7 +772,7 @@ it is not possible to add this information. overlooked til now. 20081011 - + update html documentation. + + regenerated html documentation. + add -m and -s options to test/keynames.c and test/key_names.c to test the meta() function with keyname() or key_name(), respectively. + correct return value of key_name() on error; it is null. diff --git a/aclocal.m4 b/aclocal.m4 index 715dcb03..fe5b31b6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -28,7 +28,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: aclocal.m4,v 1.524 2010/05/22 18:45:10 tom Exp $ +dnl $Id: aclocal.m4,v 1.530 2010/05/29 20:59:18 tom Exp $ dnl Macros used in NCURSES auto-configuration script. dnl dnl These macros are maintained separately from NCURSES. The copyright on @@ -86,7 +86,7 @@ fi AC_SUBST(ACPPFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_ADD_CFLAGS version: 9 updated: 2010/01/09 11:05:50 +dnl CF_ADD_CFLAGS version: 10 updated: 2010/05/26 05:38:42 dnl ------------- dnl Copy non-preprocessor flags to $CFLAGS, preprocessor flags to $CPPFLAGS dnl The second parameter if given makes this macro verbose. @@ -156,17 +156,17 @@ esac done if test -n "$cf_new_cflags" ; then - ifelse($2,,,[CF_VERBOSE(add to \$CFLAGS $cf_new_cflags)]) + ifelse([$2],,,[CF_VERBOSE(add to \$CFLAGS $cf_new_cflags)]) CFLAGS="$CFLAGS $cf_new_cflags" fi if test -n "$cf_new_cppflags" ; then - ifelse($2,,,[CF_VERBOSE(add to \$CPPFLAGS $cf_new_cppflags)]) + ifelse([$2],,,[CF_VERBOSE(add to \$CPPFLAGS $cf_new_cppflags)]) CPPFLAGS="$CPPFLAGS $cf_new_cppflags" fi if test -n "$cf_new_extra_cppflags" ; then - ifelse($2,,,[CF_VERBOSE(add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags)]) + ifelse([$2],,,[CF_VERBOSE(add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags)]) EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" fi @@ -174,7 +174,7 @@ AC_SUBST(EXTRA_CPPFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_ADD_INCDIR version: 12 updated: 2009/01/18 10:00:47 +dnl CF_ADD_INCDIR version: 13 updated: 2010/05/26 16:44:57 dnl ------------- dnl Add an include-directory to $CPPFLAGS. Don't add /usr/include, since it's dnl redundant. We don't normally need to add -I/usr/local/include for gcc, @@ -217,7 +217,7 @@ if test -n "$1" ; then if test "$cf_have_incdir" = no ; then CF_VERBOSE(adding $cf_add_incdir to include-path) - ifelse($2,,CPPFLAGS,$2)="$ifelse($2,,CPPFLAGS,$2) -I$cf_add_incdir" + ifelse([$2],,CPPFLAGS,[$2])="$ifelse([$2],,CPPFLAGS,[$2]) -I$cf_add_incdir" cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break @@ -231,7 +231,15 @@ if test -n "$1" ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_ADD_LIBDIR version: 8 updated: 2009/01/18 10:01:08 +dnl CF_ADD_LIB version: 1 updated: 2010/05/29 16:02:10 +dnl ---------- +dnl Add a library, used to enforce consistency. +dnl +dnl $1 = library to add, without the "-l" +dnl $2 = variable to update (default $LIBS) +AC_DEFUN([CF_ADD_LIB],[ifelse($2,,LIBS,[$2])="-l$1 [$]ifelse($2,,LIBS,[$2])"])dnl +dnl --------------------------------------------------------------------------- +dnl CF_ADD_LIBDIR version: 9 updated: 2010/05/26 16:44:57 dnl ------------- dnl Adds to the library-path dnl @@ -260,7 +268,7 @@ if test -n "$1" ; then fi if test "$cf_have_libdir" = no ; then CF_VERBOSE(adding $cf_add_libdir to library-path) - ifelse($2,,LDFLAGS,$2)="-L$cf_add_libdir $ifelse($2,,LDFLAGS,$2)" + ifelse([$2],,LDFLAGS,[$2])="-L$cf_add_libdir $ifelse([$2],,LDFLAGS,[$2])" fi fi done @@ -365,7 +373,7 @@ dnl Allow user to disable a normally-on option. AC_DEFUN([CF_ARG_DISABLE], [CF_ARG_OPTION($1,[$2],[$3],[$4],yes)])dnl dnl --------------------------------------------------------------------------- -dnl CF_ARG_OPTION version: 3 updated: 1997/10/18 14:42:41 +dnl CF_ARG_OPTION version: 4 updated: 2010/05/26 05:38:42 dnl ------------- dnl Restricted form of AC_ARG_ENABLE that ensures user doesn't give bogus dnl values. @@ -377,13 +385,13 @@ dnl $3 = action to perform if option is not default dnl $4 = action if perform if option is default dnl $5 = default option value (either 'yes' or 'no') AC_DEFUN([CF_ARG_OPTION], -[AC_ARG_ENABLE($1,[$2],[test "$enableval" != ifelse($5,no,yes,no) && enableval=ifelse($5,no,no,yes) +[AC_ARG_ENABLE([$1],[$2],[test "$enableval" != ifelse([$5],no,yes,no) && enableval=ifelse([$5],no,no,yes) if test "$enableval" != "$5" ; then -ifelse($3,,[ :]dnl -,[ $3]) ifelse($4,,,[ +ifelse([$3],,[ :]dnl +,[ $3]) ifelse([$4],,,[ else $4]) - fi],[enableval=$5 ifelse($4,,,[ + fi],[enableval=$5 ifelse([$4],,,[ $4 ])dnl ])])dnl @@ -783,7 +791,7 @@ if test ".$system_name" != ".$cf_cv_system_name" ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CHECK_ERRNO version: 10 updated: 2008/08/22 16:33:22 +dnl CF_CHECK_ERRNO version: 11 updated: 2010/05/26 05:38:42 dnl -------------- dnl Check for data that is usually declared in or , e.g., dnl the 'errno' variable. Define a DECL_xxx symbol if we must declare it @@ -801,7 +809,7 @@ AC_CACHE_CHECK(if external $1 is declared, cf_cv_dcl_$1,[ #include #include #include ], - ifelse($2,,int,$2) x = (ifelse($2,,int,$2)) $1, + ifelse([$2],,int,[$2]) x = (ifelse([$2],,int,[$2])) $1, [cf_cv_dcl_$1=yes], [cf_cv_dcl_$1=no]) ]) @@ -812,7 +820,7 @@ if test "$cf_cv_dcl_$1" = no ; then fi # It's possible (for near-UNIX clones) that the data doesn't exist -CF_CHECK_EXTERN_DATA($1,ifelse($2,,int,$2)) +CF_CHECK_EXTERN_DATA($1,ifelse([$2],,int,[$2])) ])dnl dnl --------------------------------------------------------------------------- dnl CF_CHECK_EXTERN_DATA version: 3 updated: 2001/12/30 18:03:23 @@ -1150,7 +1158,7 @@ AC_MSG_RESULT($cf_result) CXXFLAGS="$cf_save_CXXFLAGS" ]) dnl --------------------------------------------------------------------------- -dnl CF_FIND_LINKAGE version: 18 updated: 2010/05/05 20:27:55 +dnl CF_FIND_LINKAGE version: 19 updated: 2010/05/29 16:31:02 dnl --------------- dnl Find a library (specifically the linkage used in the code fragment), dnl searching for it if it is not already in the library path. @@ -1273,14 +1281,14 @@ if test "$cf_cv_find_linkage_$3" = yes ; then ifelse([$4],,[ CF_ADD_INCDIR($cf_cv_header_path_$3) CF_ADD_LIBDIR($cf_cv_library_path_$3) - LIBS="-l$3 $LIBS" + CF_ADD_LIB($3) ],[$4]) else ifelse([$5],,AC_MSG_WARN(Cannot find $3 library),[$5]) fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FUNC_DLSYM version: 1 updated: 2004/06/16 20:52:45 +dnl CF_FUNC_DLSYM version: 2 updated: 2010/05/29 16:31:02 dnl ------------- dnl Test for dlsym() and related functions, as well as libdl. dnl @@ -1297,7 +1305,7 @@ AC_CHECK_LIB(dl,dlsym,[ cf_have_libdl=yes])]) if test "$cf_have_dlsym" = yes ; then - test "$cf_have_libdl" = yes && LIBS="-ldl $LIBS" + test "$cf_have_libdl" = yes && CF_ADD_LIB(dl) AC_MSG_CHECKING(whether able to link to dl*() functions) AC_TRY_LINK([#include ],[ @@ -1380,7 +1388,7 @@ int main() { test "$cf_cv_func_nanosleep" = "yes" && AC_DEFINE(HAVE_NANOSLEEP) ]) dnl --------------------------------------------------------------------------- -dnl CF_FUNC_OPENPTY version: 2 updated: 2008/04/12 19:49:01 +dnl CF_FUNC_OPENPTY version: 3 updated: 2010/05/29 16:31:02 dnl --------------- dnl Check for openpty() function, along with header. It may need the dnl "util" library as well. @@ -1389,7 +1397,7 @@ AC_DEFUN([CF_FUNC_OPENPTY], AC_CHECK_LIB(util,openpty,cf_cv_lib_util=yes,cf_cv_lib_util=no) AC_CACHE_CHECK(for openpty header,cf_cv_func_openpty,[ cf_save_LIBS="$LIBS" - test $cf_cv_lib_util = yes && LIBS="-lutil $LIBS" + test $cf_cv_lib_util = yes && CF_ADD_LIB(util) for cf_header in pty.h libutil.h util.h do AC_TRY_LINK([ @@ -1861,7 +1869,7 @@ make an error test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ])dnl dnl --------------------------------------------------------------------------- -dnl CF_GPP_LIBRARY version: 9 updated: 2009/12/19 13:46:49 +dnl CF_GPP_LIBRARY version: 10 updated: 2010/05/29 16:31:02 dnl -------------- dnl If we're trying to use g++, test if libg++ is installed (a rather common dnl problem :-). If we have the compiler but no library, we'll be able to @@ -1880,13 +1888,13 @@ esac if test "$GXX" = yes; then AC_MSG_CHECKING([for lib$cf_gpp_libname]) cf_save="$LIBS" - LIBS="-l$cf_gpp_libname $LIBS" + CF_ADD_LIB($cf_gpp_libname) AC_TRY_LINK([ #include <$cf_gpp_libname/builtin.h> ], [two_arg_error_handler_t foo2 = lib_error_handler], [cf_cxx_library=yes - CXXLIBS="$CXXLIBS -l$cf_gpp_libname" + CF_ADD_LIB($cf_gpp_libname,CXXLIBS) if test "$cf_gpp_libname" = cpp ; then AC_DEFINE(HAVE_GPP_BUILTIN_H) else @@ -1897,7 +1905,7 @@ if test "$GXX" = yes; then ], [two_arg_error_handler_t foo2 = lib_error_handler], [cf_cxx_library=yes - CXXLIBS="$CXXLIBS -l$cf_gpp_libname" + CF_ADD_LIB($cf_gpp_libname,CXXLIBS) AC_DEFINE(HAVE_BUILTIN_H)], [cf_cxx_library=no])]) LIBS="$cf_save" @@ -2035,7 +2043,7 @@ AC_LANG_RESTORE AC_SUBST(EXTRA_CXXFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_HASHED_DB version: 3 updated: 2007/11/24 17:43:37 +dnl CF_HASHED_DB version: 4 updated: 2010/05/29 16:31:02 dnl ------------ dnl Look for an instance of the Berkeley hashed database. dnl @@ -2062,7 +2070,7 @@ else if test "$cf_cv_hashed_db_libs" = unknown ; then AC_MSG_ERROR(Cannot determine library for db) elif test "$cf_cv_hashed_db_libs" != default ; then - LIBS="-l$cf_cv_hashed_db_libs $LIBS" + CF_ADD_LIB($cf_cv_hashed_db_libs) fi fi ],[ @@ -2070,7 +2078,7 @@ fi ]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_HASHED_DB_LIBS version: 8 updated: 2008/08/04 06:18:06 +dnl CF_HASHED_DB_LIBS version: 9 updated: 2010/05/29 16:31:02 dnl ----------------- dnl Given that we have the header and version for hashed database, find the dnl library information. @@ -2082,7 +2090,7 @@ for cf_db_libs in "" db$cf_cv_hashed_db_version db-$cf_cv_hashed_db_version db ' do cf_save_libs="$LIBS" if test -n "$cf_db_libs"; then - LIBS="-l$cf_db_libs $LIBS" + CF_ADD_LIB($cf_db_libs) fi CF_MSG_LOG(checking for library "$cf_db_libs") AC_TRY_LINK([ @@ -2259,7 +2267,7 @@ fi AC_SUBST(CPPFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_INTEL_COMPILER version: 3 updated: 2005/08/06 18:37:29 +dnl CF_INTEL_COMPILER version: 4 updated: 2010/05/26 05:38:42 dnl ----------------- dnl Check if the given compiler is really the Intel compiler for Linux. It dnl tries to imitate gcc, but does not return an error when it finds a mismatch @@ -2273,24 +2281,24 @@ dnl $1 = GCC (default) or GXX dnl $2 = INTEL_COMPILER (default) or INTEL_CPLUSPLUS dnl $3 = CFLAGS (default) or CXXFLAGS AC_DEFUN([CF_INTEL_COMPILER],[ -ifelse($2,,INTEL_COMPILER,[$2])=no +ifelse([$2],,INTEL_COMPILER,[$2])=no -if test "$ifelse($1,,[$1],GCC)" = yes ; then +if test "$ifelse([$1],,[$1],GCC)" = yes ; then case $host_os in linux*|gnu*) - AC_MSG_CHECKING(if this is really Intel ifelse($1,GXX,C++,C) compiler) - cf_save_CFLAGS="$ifelse($3,,CFLAGS,[$3])" - ifelse($3,,CFLAGS,[$3])="$ifelse($3,,CFLAGS,[$3]) -no-gcc" + AC_MSG_CHECKING(if this is really Intel ifelse([$1],GXX,C++,C) compiler) + cf_save_CFLAGS="$ifelse([$3],,CFLAGS,[$3])" + ifelse([$3],,CFLAGS,[$3])="$ifelse([$3],,CFLAGS,[$3]) -no-gcc" AC_TRY_COMPILE([],[ #ifdef __INTEL_COMPILER #else make an error #endif -],[ifelse($2,,INTEL_COMPILER,[$2])=yes +],[ifelse([$2],,INTEL_COMPILER,[$2])=yes cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc" ],[]) - ifelse($3,,CFLAGS,[$3])="$cf_save_CFLAGS" - AC_MSG_RESULT($ifelse($2,,INTEL_COMPILER,[$2])) + ifelse([$3],,CFLAGS,[$3])="$cf_save_CFLAGS" + AC_MSG_RESULT($ifelse([$2],,INTEL_COMPILER,[$2])) ;; esac fi @@ -2938,7 +2946,7 @@ done ])dnl dnl --------------------------------------------------------------------------- -dnl CF_LIB_SONAME version: 3 updated: 2006/12/16 15:55:46 +dnl CF_LIB_SONAME version: 4 updated: 2010/05/29 16:31:02 dnl ------------- dnl Find the and soname for the given shared library. Set the cache variable dnl cf_cv_$3_soname to this, unless it is not found. Then set the cache @@ -2962,7 +2970,7 @@ $2 } CF_EOF cf_save_LIBS="$LIBS" - LIBS="-l$3 $LIBS" + CF_ADD_LIB($3) if AC_TRY_EVAL(ac_compile) ; then if AC_TRY_EVAL(ac_link) ; then cf_cv_$3_soname=`ldd conftest$ac_exeext 2>/dev/null | sed -e 's,^.*/,,' -e 's, .*$,,' | fgrep lib$3.` @@ -3797,7 +3805,7 @@ chmod 755 $cf_edit_man ])dnl dnl --------------------------------------------------------------------------- -dnl CF_MATH_LIB version: 6 updated: 2009/12/19 13:46:49 +dnl CF_MATH_LIB version: 8 updated: 2010/05/29 16:31:02 dnl ----------- dnl Checks for libraries. At least one UNIX system, Apple Macintosh dnl Rhapsody 5.5, does not have -lm. We cannot use the simpler @@ -3810,13 +3818,13 @@ AC_CACHE_CHECK(if -lm needed for math functions, #include #include ], - [double x = rand(); printf("result = %g\n", ]ifelse($2,,sin(x),$2)[)], + [double x = rand(); printf("result = %g\n", ]ifelse([$2],,sin(x),$2)[)], [cf_cv_need_libm=no], [cf_cv_need_libm=yes])]) if test "$cf_cv_need_libm" = yes then ifelse($1,,[ - LIBS="-lm $LIBS" + CF_ADD_LIB(m) ],[$1=-lm]) fi ]) @@ -3993,7 +4001,7 @@ AC_DEFUN([CF_OBJ_SUBDIR], esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PATHSEP version: 4 updated: 2009/01/11 20:30:23 +dnl CF_PATHSEP version: 5 updated: 2010/05/26 05:38:42 dnl ---------- dnl Provide a value for the $PATH and similar separator AC_DEFUN([CF_PATHSEP], @@ -4002,11 +4010,11 @@ AC_DEFUN([CF_PATHSEP], os2*) PATH_SEPARATOR=';' ;; *) PATH_SEPARATOR=':' ;; esac -ifelse($1,,,[$1=$PATH_SEPARATOR]) +ifelse([$1],,,[$1=$PATH_SEPARATOR]) AC_SUBST(PATH_SEPARATOR) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PATH_SYNTAX version: 12 updated: 2008/03/23 14:45:59 +dnl CF_PATH_SYNTAX version: 13 updated: 2010/05/26 05:38:42 dnl -------------- dnl Check the argument to see that it looks like a pathname. Rewrite it if it dnl begins with one of the prefix/exec_prefix variables, and then again if the @@ -4038,7 +4046,7 @@ case ".[$]$1" in #(vi $1=`echo [$]$1 | sed -e s%NONE%$cf_path_syntax%` ;; *) - ifelse($2,,[AC_MSG_ERROR([expected a pathname, not \"[$]$1\"])],$2) + ifelse([$2],,[AC_MSG_ERROR([expected a pathname, not \"[$]$1\"])],$2) ;; esac ])dnl @@ -4075,7 +4083,7 @@ fi AC_SUBST(PKG_CONFIG) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_POSIX_C_SOURCE version: 7 updated: 2010/01/09 11:05:50 +dnl CF_POSIX_C_SOURCE version: 8 updated: 2010/05/26 05:38:42 dnl ----------------- dnl Define _POSIX_C_SOURCE to the given level, and _POSIX_SOURCE if needed. dnl @@ -4091,7 +4099,7 @@ dnl Parameters: dnl $1 is the nominal value for _POSIX_C_SOURCE AC_DEFUN([CF_POSIX_C_SOURCE], [ -cf_POSIX_C_SOURCE=ifelse($1,,199506L,$1) +cf_POSIX_C_SOURCE=ifelse([$1],,199506L,[$1]) cf_save_CFLAGS="$CFLAGS" cf_save_CPPFLAGS="$CPPFLAGS" @@ -4148,7 +4156,7 @@ fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PREDEFINE version: 1 updated: 2003/07/26 17:53:56 +dnl CF_PREDEFINE version: 2 updated: 2010/05/26 16:44:57 dnl ------------ dnl Add definitions to CPPFLAGS to ensure they're predefined for all compiles. dnl @@ -4165,7 +4173,7 @@ make an error AC_MSG_RESULT($cf_result) if test "$cf_result" = yes ; then - CPPFLAGS="$CPPFLAGS ifelse($2,,-D$1,[-D$1=$2])" + CPPFLAGS="$CPPFLAGS ifelse([$2],,-D$1,[-D$1=$2])" elif test "x$2" != "x" ; then AC_MSG_CHECKING(checking for compatible value versus $2) AC_TRY_COMPILE([#include @@ -4371,7 +4379,7 @@ AC_CHECK_PROGS(LINT, tdlint lint alint splint lclint) AC_SUBST(LINT_OPTS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_REGEX version: 6 updated: 2010/03/27 13:41:56 +dnl CF_REGEX version: 7 updated: 2010/05/29 16:31:02 dnl -------- dnl Attempt to determine if we've got one of the flavors of regular-expression dnl code that we can support. @@ -4384,7 +4392,7 @@ AC_CHECK_FUNC(regcomp,[cf_regex_func=regcomp],[ for cf_regex_lib in regex re do AC_CHECK_LIB($cf_regex_lib,regcomp,[ - LIBS="-l$cf_regex_lib $LIBS" + CF_ADD_LIB($cf_regex_lib) cf_regex_func=regcomp break]) done @@ -4393,7 +4401,7 @@ AC_CHECK_FUNC(regcomp,[cf_regex_func=regcomp],[ if test "$cf_regex_func" = no ; then AC_CHECK_FUNC(compile,[cf_regex_func=compile],[ AC_CHECK_LIB(gen,compile,[ - LIBS="-lgen $LIBS" + CF_ADD_LIB(gen) cf_regex_func=compile])]) fi @@ -5161,7 +5169,7 @@ if test -n "$ADA_SUBDIRS"; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_STDCPP_LIBRARY version: 6 updated: 2009/12/19 13:46:49 +dnl CF_STDCPP_LIBRARY version: 7 updated: 2010/05/29 16:31:02 dnl ----------------- dnl Check for -lstdc++, which is GNU's standard C++ library. AC_DEFUN([CF_STDCPP_LIBRARY], @@ -5177,7 +5185,7 @@ os2*) #(vi esac AC_CACHE_CHECK(for library $cf_stdcpp_libname,cf_cv_libstdcpp,[ cf_save="$LIBS" - LIBS="-l$cf_stdcpp_libname $LIBS" + CF_ADD_LIB($cf_stdcpp_libname) AC_TRY_LINK([ #include ],[ char buf[80]; @@ -5187,7 +5195,7 @@ strstreambuf foo(buf, sizeof(buf)) [cf_cv_libstdcpp=no]) LIBS="$cf_save" ]) -test "$cf_cv_libstdcpp" = yes && CXXLIBS="$CXXLIBS -l$cf_stdcpp_libname" +test "$cf_cv_libstdcpp" = yes && CF_ADD_LIB($cf_stdcpp_libname,CXXLIBS) fi ])dnl dnl --------------------------------------------------------------------------- @@ -5527,7 +5535,7 @@ AC_DEFUN([CF_VERBOSE], CF_MSG_LOG([$1]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_WCHAR_TYPE version: 2 updated: 2004/01/17 19:18:20 +dnl CF_WCHAR_TYPE version: 3 updated: 2010/05/26 16:44:57 dnl ------------- dnl Check if type wide-character type $1 is declared, and if so, which header dnl file is needed. The second parameter is used to set a shell variable when @@ -5563,7 +5571,7 @@ if test "$cf_cv_$1" = yes ; then NEED_WCHAR_H=1 fi -ifelse($2,,,[ +ifelse([$2],,,[ # if we do not find $1 in either place, use substitution to provide a fallback. if test "$cf_cv_$1" = unknown ; then $2=1 @@ -5827,7 +5835,7 @@ AC_SUBST(LIB_UNINSTALL) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_WITH_PATH version: 8 updated: 2007/05/13 13:16:35 +dnl CF_WITH_PATH version: 9 updated: 2010/05/26 05:38:42 dnl ------------ dnl Wrapper for AC_ARG_WITH to ensure that user supplies a pathname, not just dnl defaulting to yes/no. @@ -5839,9 +5847,9 @@ dnl $4 = default value, shown in the help-message, must be a constant dnl $5 = default value, if it's an expression & cannot be in the help-message dnl AC_DEFUN([CF_WITH_PATH], -[AC_ARG_WITH($1,[$2 ](default: ifelse($4,,empty,$4)),, -ifelse($4,,[withval="${$3}"],[withval="${$3-ifelse($5,,$4,$5)}"]))dnl -if ifelse($5,,true,[test -n "$5"]) ; then +[AC_ARG_WITH($1,[$2 ](default: ifelse([$4],,empty,[$4])),, +ifelse([$4],,[withval="${$3}"],[withval="${$3-ifelse([$5],,[$4],[$5])}"]))dnl +if ifelse([$5],,true,[test -n "$5"]) ; then CF_PATH_SYNTAX(withval) fi $3="$withval" @@ -5890,7 +5898,7 @@ AC_SUBST($3)dnl ])dnl dnl --------------------------------------------------------------------------- -dnl CF_WITH_PTHREAD version: 2 updated: 2008/08/23 18:26:05 +dnl CF_WITH_PTHREAD version: 3 updated: 2010/05/29 16:31:02 dnl --------------- dnl Check for POSIX thread library. AC_DEFUN([CF_WITH_PTHREAD], @@ -5908,7 +5916,7 @@ if test "$with_pthread" != no ; then AC_MSG_CHECKING(if we can link with the pthread library) cf_save_LIBS="$LIBS" - LIBS="-lpthread $LIBS" + CF_ADD_LIB(pthread) AC_TRY_LINK([ #include ],[ @@ -5918,7 +5926,7 @@ if test "$with_pthread" != no ; then AC_MSG_RESULT($with_pthread) if test "$with_pthread" = yes ; then - LIBS="-lpthread $LIBS" + CF_ADD_LIB(pthread) AC_DEFINE(HAVE_LIBPTHREADS) else AC_MSG_ERROR(Cannot link with pthread library) @@ -5990,7 +5998,7 @@ CF_NO_LEAKS_OPTION(valgrind, [USE_VALGRIND]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_XOPEN_SOURCE version: 33 updated: 2010/03/28 15:35:52 +dnl CF_XOPEN_SOURCE version: 34 updated: 2010/05/26 05:38:42 dnl --------------- dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, dnl or adapt to the vendor's definitions to get equivalent functionality, @@ -6001,8 +6009,8 @@ dnl $1 is the nominal value for _XOPEN_SOURCE dnl $2 is the nominal value for _POSIX_C_SOURCE AC_DEFUN([CF_XOPEN_SOURCE],[ -cf_XOPEN_SOURCE=ifelse($1,,500,$1) -cf_POSIX_C_SOURCE=ifelse($2,,199506L,$2) +cf_XOPEN_SOURCE=ifelse([$1],,500,[$1]) +cf_POSIX_C_SOURCE=ifelse([$2],,199506L,[$2]) cf_xopen_source= case $host_os in #(vi diff --git a/configure b/configure index 804389c6..8f0a8bdf 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.491 . +# From configure.in Revision: 1.494 . # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.52.20100320. # @@ -10751,9 +10751,10 @@ if test "$with_reentrant" = yes ; then # remove pthread library from $LIBS LIBS=`echo "$LIBS" | sed -e 's/-lpthread[ ]//g' -e 's/-lpthread$//'` - else - LIB_SUFFIX="t${LIB_SUFFIX}" + TEST_LIBS="-lpthread $TEST_LIBS" + TEST_LIBS2="-lpthread $TEST_LIBS2" fi + LIB_SUFFIX="t${LIB_SUFFIX}" cat >>confdefs.h <<\EOF #define USE_REENTRANT 1 EOF @@ -10763,7 +10764,7 @@ if test "${with_abi_version+set}" != set; then 5.*) cf_cv_rel_version=6.0 cf_cv_abi_version=6 - { echo "$as_me:10766: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 + { echo "$as_me:10767: WARNING: Overriding ABI version to $cf_cv_abi_version" >&5 echo "$as_me: WARNING: Overriding ABI version to $cf_cv_abi_version" >&2;} ;; esac @@ -10778,7 +10779,7 @@ fi ### Allow using a different wrap-prefix if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then - echo "$as_me:10781: checking for prefix used to wrap public variables" >&5 + echo "$as_me:10782: checking for prefix used to wrap public variables" >&5 echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 # Check whether --with-wrap-prefix or --without-wrap-prefix was given. @@ -10788,7 +10789,7 @@ if test "${with_wrap_prefix+set}" = set; then else NCURSES_WRAP_PREFIX=_nc_ fi; - echo "$as_me:10791: result: $NCURSES_WRAP_PREFIX" >&5 + echo "$as_me:10792: result: $NCURSES_WRAP_PREFIX" >&5 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 else NCURSES_WRAP_PREFIX=_nc_ @@ -10798,7 +10799,7 @@ cat >>confdefs.h <&5 +echo "$as_me:10802: checking if you want experimental safe-sprintf code" >&5 echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6 # Check whether --enable-safe-sprintf or --disable-safe-sprintf was given. @@ -10808,7 +10809,7 @@ if test "${enable_safe_sprintf+set}" = set; then else with_safe_sprintf=no fi; -echo "$as_me:10811: result: $with_safe_sprintf" >&5 +echo "$as_me:10812: result: $with_safe_sprintf" >&5 echo "${ECHO_T}$with_safe_sprintf" >&6 test "$with_safe_sprintf" = yes && cat >>confdefs.h <<\EOF #define USE_SAFE_SPRINTF 1 @@ -10817,7 +10818,7 @@ EOF ### use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic # when hashmap is used scroll hints are useless if test "$with_hashmap" = no ; then -echo "$as_me:10820: checking if you want to experiment without scrolling-hints code" >&5 +echo "$as_me:10821: checking if you want to experiment without scrolling-hints code" >&5 echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6 # Check whether --enable-scroll-hints or --disable-scroll-hints was given. @@ -10827,7 +10828,7 @@ if test "${enable_scroll_hints+set}" = set; then else with_scroll_hints=yes fi; -echo "$as_me:10830: result: $with_scroll_hints" >&5 +echo "$as_me:10831: result: $with_scroll_hints" >&5 echo "${ECHO_T}$with_scroll_hints" >&6 test "$with_scroll_hints" = yes && cat >>confdefs.h <<\EOF #define USE_SCROLL_HINTS 1 @@ -10835,7 +10836,7 @@ EOF fi -echo "$as_me:10838: checking if you want experimental wgetch-events code" >&5 +echo "$as_me:10839: checking if you want experimental wgetch-events code" >&5 echo $ECHO_N "checking if you want experimental wgetch-events code... $ECHO_C" >&6 # Check whether --enable-wgetch-events or --disable-wgetch-events was given. @@ -10845,7 +10846,7 @@ if test "${enable_wgetch_events+set}" = set; then else with_wgetch_events=no fi; -echo "$as_me:10848: result: $with_wgetch_events" >&5 +echo "$as_me:10849: result: $with_wgetch_events" >&5 echo "${ECHO_T}$with_wgetch_events" >&6 test "$with_wgetch_events" = yes && cat >>confdefs.h <<\EOF #define NCURSES_WGETCH_EVENTS 1 @@ -10854,7 +10855,7 @@ EOF ############################################################################### ### use option --disable-echo to suppress full display compiling commands -echo "$as_me:10857: checking if you want to display full commands during build" >&5 +echo "$as_me:10858: checking if you want to display full commands during build" >&5 echo $ECHO_N "checking if you want to display full commands during build... $ECHO_C" >&6 # Check whether --enable-echo or --disable-echo was given. @@ -10871,11 +10872,11 @@ else test -n "$LIBTOOL" && LIBTOOL="$LIBTOOL --silent" test -n "$LIBTOOL_CXX" && LIBTOOL_CXX="$LIBTOOL_CXX --silent" fi -echo "$as_me:10874: result: $with_echo" >&5 +echo "$as_me:10875: result: $with_echo" >&5 echo "${ECHO_T}$with_echo" >&6 ### use option --enable-warnings to turn on all gcc warnings -echo "$as_me:10878: checking if you want to see compiler warnings" >&5 +echo "$as_me:10879: checking if you want to see compiler warnings" >&5 echo $ECHO_N "checking if you want to see compiler warnings... $ECHO_C" >&6 # Check whether --enable-warnings or --disable-warnings was given. @@ -10883,7 +10884,7 @@ if test "${enable_warnings+set}" = set; then enableval="$enable_warnings" with_warnings=$enableval fi; -echo "$as_me:10886: result: $with_warnings" >&5 +echo "$as_me:10887: result: $with_warnings" >&5 echo "${ECHO_T}$with_warnings" >&6 if test "x$with_warnings" = "xyes"; then @@ -10894,12 +10895,12 @@ INTEL_COMPILER=no if test "$GCC" = yes ; then case $host_os in linux*|gnu*) - echo "$as_me:10897: checking if this is really Intel C compiler" >&5 + echo "$as_me:10898: checking if this is really Intel C compiler" >&5 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 cf_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -no-gcc" cat >conftest.$ac_ext <<_ACEOF -#line 10902 "configure" +#line 10903 "configure" #include "confdefs.h" int @@ -10916,16 +10917,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:10919: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:10920: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:10922: \$? = $ac_status" >&5 + echo "$as_me:10923: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:10925: \"$ac_try\"") >&5 + { (eval echo "$as_me:10926: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:10928: \$? = $ac_status" >&5 + echo "$as_me:10929: \$? = $ac_status" >&5 (exit $ac_status); }; }; then INTEL_COMPILER=yes cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc" @@ -10936,14 +10937,14 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext CFLAGS="$cf_save_CFLAGS" - echo "$as_me:10939: result: $INTEL_COMPILER" >&5 + echo "$as_me:10940: result: $INTEL_COMPILER" >&5 echo "${ECHO_T}$INTEL_COMPILER" >&6 ;; esac fi cat > conftest.$ac_ext <&5 + { echo "$as_me:10964: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="-Wall" @@ -10976,12 +10977,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} wd981 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:10979: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:10980: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:10982: \$? = $ac_status" >&5 + echo "$as_me:10983: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:10984: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:10985: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -10990,7 +10991,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 elif test "$GCC" = yes then - { echo "$as_me:10993: checking for $CC warning options..." >&5 + { echo "$as_me:10994: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS= @@ -11010,12 +11011,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wundef $cf_warn_CONST Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:11013: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:11014: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11016: \$? = $ac_status" >&5 + echo "$as_me:11017: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:11018: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:11019: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case $cf_opt in #(vi Wcast-qual) #(vi @@ -11026,7 +11027,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 [34].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me-configure}:11029: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me-configure}:11030: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -11046,12 +11047,12 @@ INTEL_CPLUSPLUS=no if test "$GCC" = yes ; then case $host_os in linux*|gnu*) - echo "$as_me:11049: checking if this is really Intel C++ compiler" >&5 + echo "$as_me:11050: 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 11054 "configure" +#line 11055 "configure" #include "confdefs.h" int @@ -11068,16 +11069,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11071: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11072: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11074: \$? = $ac_status" >&5 + echo "$as_me:11075: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11077: \"$ac_try\"") >&5 + { (eval echo "$as_me:11078: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11080: \$? = $ac_status" >&5 + echo "$as_me:11081: \$? = $ac_status" >&5 (exit $ac_status); }; }; then INTEL_CPLUSPLUS=yes cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc" @@ -11088,7 +11089,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$cf_save_CFLAGS" - echo "$as_me:11091: result: $INTEL_CPLUSPLUS" >&5 + echo "$as_me:11092: result: $INTEL_CPLUSPLUS" >&5 echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6 ;; esac @@ -11102,7 +11103,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return=return cat > conftest.$ac_ext <&5 + { echo "$as_me:11124: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CXXFLAGS="$CXXFLAGS" EXTRA_CXXFLAGS="-Wall" @@ -11137,12 +11138,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} wd981 do CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt" - if { (eval echo "$as_me:11140: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:11141: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11143: \$? = $ac_status" >&5 + echo "$as_me:11144: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:11145: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:11146: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" fi @@ -11151,7 +11152,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 elif test "$GXX" = yes then - { echo "$as_me:11154: checking for $CXX warning options..." >&5 + { echo "$as_me:11155: checking for $CXX warning options..." >&5 echo "$as_me: checking for $CXX warning options..." >&6;} cf_save_CXXFLAGS="$CXXFLAGS" EXTRA_CXXFLAGS="-W -Wall" @@ -11180,16 +11181,16 @@ echo "$as_me: checking for $CXX warning options..." >&6;} Wundef $cf_gxx_extra_warnings Wno-unused do CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt" - if { (eval echo "$as_me:11183: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:11184: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11186: \$? = $ac_status" >&5 + echo "$as_me:11187: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:11188: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:11189: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt" else - test -n "$verbose" && echo "$as_me:11192: result: ... no -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:11193: result: ... no -$cf_opt" >&5 echo "${ECHO_T}... no -$cf_opt" >&6 fi done @@ -11225,10 +11226,10 @@ cat > conftest.i <&5 + { echo "$as_me:11229: 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:11281: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11283: \$? = $ac_status" >&5 + echo "$as_me:11284: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:11285: result: ... $cf_attribute" >&5 + test -n "$verbose" && echo "$as_me:11286: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h case $cf_attribute in #(vi @@ -11318,7 +11319,7 @@ rm -rf conftest* fi ### use option --enable-assertions to turn on generation of assertion code -echo "$as_me:11321: checking if you want to enable runtime assertions" >&5 +echo "$as_me:11322: 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. @@ -11328,7 +11329,7 @@ if test "${enable_assertions+set}" = set; then else with_assertions=no fi; -echo "$as_me:11331: result: $with_assertions" >&5 +echo "$as_me:11332: result: $with_assertions" >&5 echo "${ECHO_T}$with_assertions" >&6 if test -n "$GCC" then @@ -11346,7 +11347,7 @@ fi ### use option --disable-leaks to suppress "permanent" leaks, for testing -echo "$as_me:11349: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:11350: 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. @@ -11362,7 +11363,7 @@ EOF else with_dmalloc= fi; -echo "$as_me:11365: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:11366: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 case .$with_cflags in #(vi @@ -11456,23 +11457,23 @@ fi esac if test "$with_dmalloc" = yes ; then - echo "$as_me:11459: checking for dmalloc.h" >&5 + echo "$as_me:11460: 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 11465 "configure" +#line 11466 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:11469: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:11470: \"$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:11475: \$? = $ac_status" >&5 + echo "$as_me:11476: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -11491,11 +11492,11 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:11494: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:11495: 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:11498: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:11499: 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 @@ -11503,7 +11504,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 11506 "configure" +#line 11507 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -11522,16 +11523,16 @@ dmalloc_debug (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:11525: \"$ac_link\"") >&5 +if { (eval echo "$as_me:11526: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:11528: \$? = $ac_status" >&5 + echo "$as_me:11529: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:11531: \"$ac_try\"") >&5 + { (eval echo "$as_me:11532: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11534: \$? = $ac_status" >&5 + echo "$as_me:11535: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else @@ -11542,7 +11543,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:11545: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:11546: 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:11561: 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. @@ -11573,7 +11574,7 @@ EOF else with_dbmalloc= fi; -echo "$as_me:11576: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:11577: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 case .$with_cflags in #(vi @@ -11667,23 +11668,23 @@ fi esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:11670: checking for dbmalloc.h" >&5 + echo "$as_me:11671: 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 11676 "configure" +#line 11677 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:11680: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:11681: \"$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:11686: \$? = $ac_status" >&5 + echo "$as_me:11687: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -11702,11 +11703,11 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:11705: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:11706: 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:11709: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:11710: 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 @@ -11714,7 +11715,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 11717 "configure" +#line 11718 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -11733,16 +11734,16 @@ debug_malloc (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:11736: \"$ac_link\"") >&5 +if { (eval echo "$as_me:11737: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:11739: \$? = $ac_status" >&5 + echo "$as_me:11740: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:11742: \"$ac_try\"") >&5 + { (eval echo "$as_me:11743: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11745: \$? = $ac_status" >&5 + echo "$as_me:11746: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else @@ -11753,7 +11754,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:11756: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:11757: 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:11772: 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. @@ -11784,7 +11785,7 @@ EOF else with_valgrind= fi; -echo "$as_me:11787: result: ${with_valgrind:-no}" >&5 +echo "$as_me:11788: result: ${with_valgrind:-no}" >&5 echo "${ECHO_T}${with_valgrind:-no}" >&6 case .$with_cflags in #(vi @@ -11877,7 +11878,7 @@ fi ;; esac -echo "$as_me:11880: checking if you want to perform memory-leak testing" >&5 +echo "$as_me:11881: 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. @@ -11887,7 +11888,7 @@ if test "${enable_leaks+set}" = set; then else : ${with_no_leaks:=no} fi; -echo "$as_me:11890: result: $with_no_leaks" >&5 +echo "$as_me:11891: result: $with_no_leaks" >&5 echo "${ECHO_T}$with_no_leaks" >&6 if test "$with_no_leaks" = yes ; then @@ -11932,7 +11933,7 @@ case "$CFLAGS $CPPFLAGS" in ;; esac -echo "$as_me:11935: checking whether to add trace feature to all models" >&5 +echo "$as_me:11936: 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. @@ -11942,7 +11943,7 @@ if test "${with_trace+set}" = set; then else cf_with_trace=$cf_all_traces fi; -echo "$as_me:11945: result: $cf_with_trace" >&5 +echo "$as_me:11946: result: $cf_with_trace" >&5 echo "${ECHO_T}$cf_with_trace" >&6 if test "$cf_with_trace" = yes ; then @@ -12037,13 +12038,13 @@ case $cf_cv_system_name in #(vi *mingw32*) #(vi ;; *) -echo "$as_me:12040: checking for gettimeofday" >&5 +echo "$as_me:12041: 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 12046 "configure" +#line 12047 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gettimeofday (); below. */ @@ -12074,16 +12075,16 @@ f = gettimeofday; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12077: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12078: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12080: \$? = $ac_status" >&5 + echo "$as_me:12081: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12083: \"$ac_try\"") >&5 + { (eval echo "$as_me:12084: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12086: \$? = $ac_status" >&5 + echo "$as_me:12087: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_gettimeofday=yes else @@ -12093,7 +12094,7 @@ ac_cv_func_gettimeofday=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:12096: result: $ac_cv_func_gettimeofday" >&5 +echo "$as_me:12097: result: $ac_cv_func_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 if test $ac_cv_func_gettimeofday = yes; then cat >>confdefs.h <<\EOF @@ -12102,7 +12103,7 @@ EOF else -echo "$as_me:12105: checking for gettimeofday in -lbsd" >&5 +echo "$as_me:12106: 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 @@ -12110,7 +12111,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 12113 "configure" +#line 12114 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -12129,16 +12130,16 @@ gettimeofday (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12132: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12133: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12135: \$? = $ac_status" >&5 + echo "$as_me:12136: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12138: \"$ac_try\"") >&5 + { (eval echo "$as_me:12139: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12141: \$? = $ac_status" >&5 + echo "$as_me:12142: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bsd_gettimeofday=yes else @@ -12149,28 +12150,28 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:12152: result: $ac_cv_lib_bsd_gettimeofday" >&5 +echo "$as_me:12153: 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 cat >>confdefs.h <<\EOF #define HAVE_GETTIMEOFDAY 1 EOF - LIBS="$LIBS -lbsd" + LIBS="-lbsd $LIBS" fi fi ;; esac -echo "$as_me:12166: checking if -lm needed for math functions" >&5 +echo "$as_me:12167: 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 12173 "configure" +#line 12174 "configure" #include "confdefs.h" #include @@ -12185,16 +12186,16 @@ double x = rand(); printf("result = %g\n", sin(x)) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12188: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12189: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12191: \$? = $ac_status" >&5 + echo "$as_me:12192: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12194: \"$ac_try\"") >&5 + { (eval echo "$as_me:12195: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12197: \$? = $ac_status" >&5 + echo "$as_me:12198: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_need_libm=no else @@ -12204,7 +12205,7 @@ cf_cv_need_libm=yes fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:12207: result: $cf_cv_need_libm" >&5 +echo "$as_me:12208: result: $cf_cv_need_libm" >&5 echo "${ECHO_T}$cf_cv_need_libm" >&6 if test "$cf_cv_need_libm" = yes then @@ -12212,13 +12213,13 @@ MATH_LIB=-lm fi ### Checks for header files. -echo "$as_me:12215: checking for ANSI C header files" >&5 +echo "$as_me:12216: 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 12221 "configure" +#line 12222 "configure" #include "confdefs.h" #include #include @@ -12226,13 +12227,13 @@ else #include _ACEOF -if { (eval echo "$as_me:12229: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:12230: \"$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:12235: \$? = $ac_status" >&5 + echo "$as_me:12236: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -12254,7 +12255,7 @@ rm -f conftest.err conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 12257 "configure" +#line 12258 "configure" #include "confdefs.h" #include @@ -12272,7 +12273,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 12275 "configure" +#line 12276 "configure" #include "confdefs.h" #include @@ -12293,7 +12294,7 @@ if test $ac_cv_header_stdc = yes; then : else cat >conftest.$ac_ext <<_ACEOF -#line 12296 "configure" +#line 12297 "configure" #include "confdefs.h" #include #if ((' ' & 0x0FF) == 0x020) @@ -12319,15 +12320,15 @@ main () } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:12322: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12323: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12325: \$? = $ac_status" >&5 + echo "$as_me:12326: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:12327: \"$ac_try\"") >&5 + { (eval echo "$as_me:12328: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12330: \$? = $ac_status" >&5 + echo "$as_me:12331: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -12340,7 +12341,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi -echo "$as_me:12343: result: $ac_cv_header_stdc" >&5 +echo "$as_me:12344: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -12353,13 +12354,13 @@ fi ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -echo "$as_me:12356: checking for $ac_hdr that defines DIR" >&5 +echo "$as_me:12357: 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 12362 "configure" +#line 12363 "configure" #include "confdefs.h" #include #include <$ac_hdr> @@ -12374,16 +12375,16 @@ return 0; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12377: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12378: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12380: \$? = $ac_status" >&5 + echo "$as_me:12381: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12383: \"$ac_try\"") >&5 + { (eval echo "$as_me:12384: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12386: \$? = $ac_status" >&5 + echo "$as_me:12387: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else @@ -12393,7 +12394,7 @@ eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:12396: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:12397: 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:12410: 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 @@ -12414,7 +12415,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldir $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 12417 "configure" +#line 12418 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -12433,16 +12434,16 @@ opendir (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12436: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12437: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12439: \$? = $ac_status" >&5 + echo "$as_me:12440: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12442: \"$ac_try\"") >&5 + { (eval echo "$as_me:12443: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12445: \$? = $ac_status" >&5 + echo "$as_me:12446: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dir_opendir=yes else @@ -12453,14 +12454,14 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:12456: result: $ac_cv_lib_dir_opendir" >&5 +echo "$as_me:12457: 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:12463: checking for opendir in -lx" >&5 + echo "$as_me:12464: 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 @@ -12468,7 +12469,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lx $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 12471 "configure" +#line 12472 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -12487,16 +12488,16 @@ opendir (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12490: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12491: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12493: \$? = $ac_status" >&5 + echo "$as_me:12494: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12496: \"$ac_try\"") >&5 + { (eval echo "$as_me:12497: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12499: \$? = $ac_status" >&5 + echo "$as_me:12500: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_x_opendir=yes else @@ -12507,7 +12508,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:12510: result: $ac_cv_lib_x_opendir" >&5 +echo "$as_me:12511: 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" @@ -12515,13 +12516,13 @@ fi fi -echo "$as_me:12518: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:12519: 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 12524 "configure" +#line 12525 "configure" #include "confdefs.h" #include #include @@ -12537,16 +12538,16 @@ return 0; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12540: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12541: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12543: \$? = $ac_status" >&5 + echo "$as_me:12544: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12546: \"$ac_try\"") >&5 + { (eval echo "$as_me:12547: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12549: \$? = $ac_status" >&5 + echo "$as_me:12550: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else @@ -12556,7 +12557,7 @@ ac_cv_header_time=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:12559: result: $ac_cv_header_time" >&5 +echo "$as_me:12560: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -12568,13 +12569,13 @@ fi cf_regex_func=no -echo "$as_me:12571: checking for regcomp" >&5 +echo "$as_me:12572: 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 12577 "configure" +#line 12578 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char regcomp (); below. */ @@ -12605,16 +12606,16 @@ f = regcomp; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12608: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12609: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12611: \$? = $ac_status" >&5 + echo "$as_me:12612: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12614: \"$ac_try\"") >&5 + { (eval echo "$as_me:12615: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12617: \$? = $ac_status" >&5 + echo "$as_me:12618: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_regcomp=yes else @@ -12624,7 +12625,7 @@ ac_cv_func_regcomp=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:12627: result: $ac_cv_func_regcomp" >&5 +echo "$as_me:12628: 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 @@ -12633,7 +12634,7 @@ else for cf_regex_lib in regex re do as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh` -echo "$as_me:12636: checking for regcomp in -l$cf_regex_lib" >&5 +echo "$as_me:12637: 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 @@ -12641,7 +12642,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-l$cf_regex_lib $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 12644 "configure" +#line 12645 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -12660,16 +12661,16 @@ regcomp (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12663: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12664: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12666: \$? = $ac_status" >&5 + echo "$as_me:12667: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12669: \"$ac_try\"") >&5 + { (eval echo "$as_me:12670: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12672: \$? = $ac_status" >&5 + echo "$as_me:12673: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else @@ -12680,7 +12681,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:12683: result: `eval echo '${'$as_ac_Lib'}'`" >&5 +echo "$as_me:12684: 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 @@ -12694,13 +12695,13 @@ fi fi if test "$cf_regex_func" = no ; then - echo "$as_me:12697: checking for compile" >&5 + echo "$as_me:12698: 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 12703 "configure" +#line 12704 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char compile (); below. */ @@ -12731,16 +12732,16 @@ f = compile; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12734: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12735: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12737: \$? = $ac_status" >&5 + echo "$as_me:12738: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12740: \"$ac_try\"") >&5 + { (eval echo "$as_me:12741: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12743: \$? = $ac_status" >&5 + echo "$as_me:12744: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_compile=yes else @@ -12750,13 +12751,13 @@ ac_cv_func_compile=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:12753: result: $ac_cv_func_compile" >&5 +echo "$as_me:12754: 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:12759: checking for compile in -lgen" >&5 + echo "$as_me:12760: 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 @@ -12764,7 +12765,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lgen $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 12767 "configure" +#line 12768 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -12783,16 +12784,16 @@ compile (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12786: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12787: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12789: \$? = $ac_status" >&5 + echo "$as_me:12790: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12792: \"$ac_try\"") >&5 + { (eval echo "$as_me:12793: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12795: \$? = $ac_status" >&5 + echo "$as_me:12796: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_gen_compile=yes else @@ -12803,7 +12804,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:12806: result: $ac_cv_lib_gen_compile" >&5 +echo "$as_me:12807: 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 @@ -12816,11 +12817,11 @@ fi fi if test "$cf_regex_func" = no ; then - { echo "$as_me:12819: WARNING: cannot find regular expression library" >&5 + { echo "$as_me:12820: WARNING: cannot find regular expression library" >&5 echo "$as_me: WARNING: cannot find regular expression library" >&2;} fi -echo "$as_me:12823: checking for regular-expression headers" >&5 +echo "$as_me:12824: 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 @@ -12832,7 +12833,7 @@ compile) #(vi for cf_regex_hdr in regexp.h regexpr.h do cat >conftest.$ac_ext <<_ACEOF -#line 12835 "configure" +#line 12836 "configure" #include "confdefs.h" #include <$cf_regex_hdr> int @@ -12847,16 +12848,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12850: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12851: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12853: \$? = $ac_status" >&5 + echo "$as_me:12854: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12856: \"$ac_try\"") >&5 + { (eval echo "$as_me:12857: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12859: \$? = $ac_status" >&5 + echo "$as_me:12860: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -12873,7 +12874,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext for cf_regex_hdr in regex.h do cat >conftest.$ac_ext <<_ACEOF -#line 12876 "configure" +#line 12877 "configure" #include "confdefs.h" #include #include <$cf_regex_hdr> @@ -12891,16 +12892,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12894: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12895: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12897: \$? = $ac_status" >&5 + echo "$as_me:12898: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12900: \"$ac_try\"") >&5 + { (eval echo "$as_me:12901: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12903: \$? = $ac_status" >&5 + echo "$as_me:12904: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -12916,11 +12917,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext esac fi -echo "$as_me:12919: result: $cf_cv_regex_hdrs" >&5 +echo "$as_me:12920: result: $cf_cv_regex_hdrs" >&5 echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 case $cf_cv_regex_hdrs in #(vi - no) { echo "$as_me:12923: WARNING: no regular expression header found" >&5 + no) { echo "$as_me:12924: WARNING: no regular expression header found" >&5 echo "$as_me: WARNING: no regular expression header found" >&2;} ;; #(vi regex.h) cat >>confdefs.h <<\EOF #define HAVE_REGEX_H_FUNCS 1 @@ -12955,23 +12956,23 @@ wctype.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:12958: checking for $ac_header" >&5 +echo "$as_me:12959: 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 12964 "configure" +#line 12965 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:12968: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:12969: \"$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:12974: \$? = $ac_status" >&5 + echo "$as_me:12975: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -12990,7 +12991,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:12993: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:12994: 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 < to declare fd_set if test "$ISC" = yes ; then -echo "$as_me:13007: checking for main in -lcposix" >&5 +echo "$as_me:13008: 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 @@ -13012,7 +13013,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lcposix $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 13015 "configure" +#line 13016 "configure" #include "confdefs.h" int @@ -13024,16 +13025,16 @@ main (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13027: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13028: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13030: \$? = $ac_status" >&5 + echo "$as_me:13031: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13033: \"$ac_try\"") >&5 + { (eval echo "$as_me:13034: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13036: \$? = $ac_status" >&5 + echo "$as_me:13037: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_cposix_main=yes else @@ -13044,7 +13045,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:13047: result: $ac_cv_lib_cposix_main" >&5 +echo "$as_me:13048: 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:13059: 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 @@ -13063,7 +13064,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-linet $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 13066 "configure" +#line 13067 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -13082,16 +13083,16 @@ bzero (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13085: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13086: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13088: \$? = $ac_status" >&5 + echo "$as_me:13089: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13091: \"$ac_try\"") >&5 + { (eval echo "$as_me:13092: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13094: \$? = $ac_status" >&5 + echo "$as_me:13095: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_inet_bzero=yes else @@ -13102,21 +13103,21 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:13105: result: $ac_cv_lib_inet_bzero" >&5 +echo "$as_me:13106: 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 - LIBS="$LIBS -linet" + LIBS="-linet $LIBS" fi fi -echo "$as_me:13112: checking if sys/time.h works with sys/select.h" >&5 +echo "$as_me:13113: 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 13119 "configure" +#line 13120 "configure" #include "confdefs.h" #include @@ -13136,16 +13137,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13139: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13140: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13142: \$? = $ac_status" >&5 + echo "$as_me:13143: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13145: \"$ac_try\"") >&5 + { (eval echo "$as_me:13146: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13148: \$? = $ac_status" >&5 + echo "$as_me:13149: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_sys_time_select=yes else @@ -13157,7 +13158,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13160: result: $cf_cv_sys_time_select" >&5 +echo "$as_me:13161: 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 #define HAVE_SYS_TIME_SELECT 1 @@ -13171,7 +13172,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_main_return=return -echo "$as_me:13174: checking for $CC option to accept ANSI C" >&5 +echo "$as_me:13175: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13179,7 +13180,7 @@ else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF -#line 13182 "configure" +#line 13183 "configure" #include "confdefs.h" #include #include @@ -13228,16 +13229,16 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext -if { (eval echo "$as_me:13231: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13232: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13234: \$? = $ac_status" >&5 + echo "$as_me:13235: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13237: \"$ac_try\"") >&5 + { (eval echo "$as_me:13238: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13240: \$? = $ac_status" >&5 + echo "$as_me:13241: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break @@ -13254,21 +13255,21 @@ fi case "x$ac_cv_prog_cc_stdc" in x|xno) - echo "$as_me:13257: result: none needed" >&5 + echo "$as_me:13258: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) - echo "$as_me:13260: result: $ac_cv_prog_cc_stdc" >&5 + echo "$as_me:13261: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac -echo "$as_me:13265: checking for an ANSI C-conforming const" >&5 +echo "$as_me:13266: 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 13271 "configure" +#line 13272 "configure" #include "confdefs.h" int @@ -13326,16 +13327,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13329: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13330: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13332: \$? = $ac_status" >&5 + echo "$as_me:13333: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13335: \"$ac_try\"") >&5 + { (eval echo "$as_me:13336: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13338: \$? = $ac_status" >&5 + echo "$as_me:13339: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else @@ -13345,7 +13346,7 @@ ac_cv_c_const=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13348: result: $ac_cv_c_const" >&5 +echo "$as_me:13349: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then @@ -13355,7 +13356,7 @@ EOF fi -echo "$as_me:13358: checking for inline" >&5 +echo "$as_me:13359: 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 @@ -13363,7 +13364,7 @@ else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF -#line 13366 "configure" +#line 13367 "configure" #include "confdefs.h" #ifndef __cplusplus static $ac_kw int static_foo () {return 0; } @@ -13372,16 +13373,16 @@ $ac_kw int foo () {return 0; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13375: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13376: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13378: \$? = $ac_status" >&5 + echo "$as_me:13379: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13381: \"$ac_try\"") >&5 + { (eval echo "$as_me:13382: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13384: \$? = $ac_status" >&5 + echo "$as_me:13385: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else @@ -13392,7 +13393,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext done fi -echo "$as_me:13395: result: $ac_cv_c_inline" >&5 +echo "$as_me:13396: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; @@ -13415,7 +13416,7 @@ if test "$ac_cv_c_inline" != no ; then : elif test "$GCC" = yes then - echo "$as_me:13418: checking if $CC supports options to tune inlining" >&5 + echo "$as_me:13419: 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 @@ -13424,7 +13425,7 @@ else cf_save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS --param max-inline-insns-single=1200" cat >conftest.$ac_ext <<_ACEOF -#line 13427 "configure" +#line 13428 "configure" #include "confdefs.h" inline int foo(void) { return 1; } int @@ -13436,16 +13437,16 @@ ${cf_cv_main_return:-return} foo() } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13439: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13440: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13442: \$? = $ac_status" >&5 + echo "$as_me:13443: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13445: \"$ac_try\"") >&5 + { (eval echo "$as_me:13446: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13448: \$? = $ac_status" >&5 + echo "$as_me:13449: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gcc_inline=yes else @@ -13457,7 +13458,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext CFLAGS=$cf_save_CFLAGS fi -echo "$as_me:13460: result: $cf_cv_gcc_inline" >&5 +echo "$as_me:13461: result: $cf_cv_gcc_inline" >&5 echo "${ECHO_T}$cf_cv_gcc_inline" >&6 if test "$cf_cv_gcc_inline" = yes ; then @@ -13543,7 +13544,7 @@ fi fi fi -echo "$as_me:13546: checking for signal global datatype" >&5 +echo "$as_me:13547: 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 @@ -13555,7 +13556,7 @@ else "int" do cat >conftest.$ac_ext <<_ACEOF -#line 13558 "configure" +#line 13559 "configure" #include "confdefs.h" #include @@ -13578,16 +13579,16 @@ signal(SIGINT, handler); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13581: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13582: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13584: \$? = $ac_status" >&5 + echo "$as_me:13585: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13587: \"$ac_try\"") >&5 + { (eval echo "$as_me:13588: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13590: \$? = $ac_status" >&5 + echo "$as_me:13591: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_sig_atomic_t=$cf_type else @@ -13601,7 +13602,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13604: result: $cf_cv_sig_atomic_t" >&5 +echo "$as_me:13605: 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:13613: 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 @@ -13619,7 +13620,7 @@ else cf_cv_typeof_chtype=long else cat >conftest.$ac_ext <<_ACEOF -#line 13622 "configure" +#line 13623 "configure" #include "confdefs.h" #define WANT_BITS 31 @@ -13654,15 +13655,15 @@ int main() _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:13657: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13658: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13660: \$? = $ac_status" >&5 + echo "$as_me:13661: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:13662: \"$ac_try\"") >&5 + { (eval echo "$as_me:13663: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13665: \$? = $ac_status" >&5 + echo "$as_me:13666: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_typeof_chtype=`cat cf_test.out` else @@ -13677,7 +13678,7 @@ fi fi -echo "$as_me:13680: result: $cf_cv_typeof_chtype" >&5 +echo "$as_me:13681: result: $cf_cv_typeof_chtype" >&5 echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 cat >>confdefs.h <&5 +echo "$as_me:13693: 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 13699 "configure" +#line 13700 "configure" #include "confdefs.h" int @@ -13708,16 +13709,16 @@ long x = 1L + 1UL + 1U + 1 } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13711: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13712: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13714: \$? = $ac_status" >&5 + echo "$as_me:13715: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13717: \"$ac_try\"") >&5 + { (eval echo "$as_me:13718: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13720: \$? = $ac_status" >&5 + echo "$as_me:13721: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_unsigned_literals=yes else @@ -13729,7 +13730,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13732: result: $cf_cv_unsigned_literals" >&5 +echo "$as_me:13733: result: $cf_cv_unsigned_literals" >&5 echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 cf_cv_1UL="1" @@ -13745,14 +13746,14 @@ test "$cf_cv_typeof_mmask_t" = unsigned && cf_cv_typeof_mmask_t="" ### Checks for external-data -echo "$as_me:13748: checking if external errno is declared" >&5 +echo "$as_me:13749: 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 13755 "configure" +#line 13756 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -13770,16 +13771,16 @@ int x = (int) errno } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13773: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13774: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13776: \$? = $ac_status" >&5 + echo "$as_me:13777: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13779: \"$ac_try\"") >&5 + { (eval echo "$as_me:13780: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13782: \$? = $ac_status" >&5 + echo "$as_me:13783: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_dcl_errno=yes else @@ -13790,7 +13791,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13793: result: $cf_cv_dcl_errno" >&5 +echo "$as_me:13794: result: $cf_cv_dcl_errno" >&5 echo "${ECHO_T}$cf_cv_dcl_errno" >&6 if test "$cf_cv_dcl_errno" = no ; then @@ -13805,14 +13806,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:13808: checking if external errno exists" >&5 +echo "$as_me:13809: 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 13815 "configure" +#line 13816 "configure" #include "confdefs.h" #undef errno @@ -13827,16 +13828,16 @@ errno = 2 } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13830: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13831: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13833: \$? = $ac_status" >&5 + echo "$as_me:13834: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13836: \"$ac_try\"") >&5 + { (eval echo "$as_me:13837: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13839: \$? = $ac_status" >&5 + echo "$as_me:13840: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_errno=yes else @@ -13847,7 +13848,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:13850: result: $cf_cv_have_errno" >&5 +echo "$as_me:13851: result: $cf_cv_have_errno" >&5 echo "${ECHO_T}$cf_cv_have_errno" >&6 if test "$cf_cv_have_errno" = yes ; then @@ -13860,7 +13861,7 @@ EOF fi -echo "$as_me:13863: checking if data-only library module links" >&5 +echo "$as_me:13864: 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 @@ -13868,20 +13869,20 @@ else rm -f conftest.a cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:13875: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13877: \$? = $ac_status" >&5 + echo "$as_me:13878: \$? = $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:13898: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13900: \$? = $ac_status" >&5 + echo "$as_me:13901: \$? = $ac_status" >&5 (exit $ac_status); }; then mv conftest.o func.o && \ ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null @@ -13910,7 +13911,7 @@ EOF cf_cv_link_dataonly=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 13913 "configure" +#line 13914 "configure" #include "confdefs.h" int main() @@ -13921,15 +13922,15 @@ else _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:13924: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13925: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13927: \$? = $ac_status" >&5 + echo "$as_me:13928: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:13929: \"$ac_try\"") >&5 + { (eval echo "$as_me:13930: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13932: \$? = $ac_status" >&5 + echo "$as_me:13933: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_link_dataonly=yes else @@ -13944,7 +13945,7 @@ fi fi -echo "$as_me:13947: result: $cf_cv_link_dataonly" >&5 +echo "$as_me:13948: result: $cf_cv_link_dataonly" >&5 echo "${ECHO_T}$cf_cv_link_dataonly" >&6 if test "$cf_cv_link_dataonly" = no ; then @@ -13979,13 +13980,13 @@ vsnprintf \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:13982: checking for $ac_func" >&5 +echo "$as_me:13983: 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 13988 "configure" +#line 13989 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -14016,16 +14017,16 @@ f = $ac_func; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14019: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14020: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14022: \$? = $ac_status" >&5 + echo "$as_me:14023: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14025: \"$ac_try\"") >&5 + { (eval echo "$as_me:14026: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14028: \$? = $ac_status" >&5 + echo "$as_me:14029: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -14035,7 +14036,7 @@ eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:14038: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:14039: 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:14051: 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 14057 "configure" +#line 14058 "configure" #include "confdefs.h" #include @@ -14074,16 +14075,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14077: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14078: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14080: \$? = $ac_status" >&5 + echo "$as_me:14081: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14083: \"$ac_try\"") >&5 + { (eval echo "$as_me:14084: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14086: \$? = $ac_status" >&5 + echo "$as_me:14087: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cgetent=yes else @@ -14095,7 +14096,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:14098: result: $cf_cv_cgetent" >&5 +echo "$as_me:14099: result: $cf_cv_cgetent" >&5 echo "${ECHO_T}$cf_cv_cgetent" >&6 test "$cf_cv_cgetent" = yes && cat >>confdefs.h <<\EOF #define HAVE_BSD_CGETENT 1 @@ -14103,14 +14104,14 @@ EOF fi -echo "$as_me:14106: checking for isascii" >&5 +echo "$as_me:14107: 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 14113 "configure" +#line 14114 "configure" #include "confdefs.h" #include int @@ -14122,16 +14123,16 @@ int x = isascii(' ') } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14125: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14126: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14128: \$? = $ac_status" >&5 + echo "$as_me:14129: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14131: \"$ac_try\"") >&5 + { (eval echo "$as_me:14132: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14134: \$? = $ac_status" >&5 + echo "$as_me:14135: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_isascii=yes else @@ -14142,17 +14143,17 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:14145: result: $cf_cv_have_isascii" >&5 +echo "$as_me:14146: result: $cf_cv_have_isascii" >&5 echo "${ECHO_T}$cf_cv_have_isascii" >&6 test "$cf_cv_have_isascii" = yes && cat >>confdefs.h <<\EOF #define HAVE_ISASCII 1 EOF if test "$ac_cv_func_sigaction" = yes; then -echo "$as_me:14152: checking whether sigaction needs _POSIX_SOURCE" >&5 +echo "$as_me:14153: 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 14155 "configure" +#line 14156 "configure" #include "confdefs.h" #include @@ -14166,16 +14167,16 @@ struct sigaction act } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14169: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14170: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14172: \$? = $ac_status" >&5 + echo "$as_me:14173: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14175: \"$ac_try\"") >&5 + { (eval echo "$as_me:14176: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14178: \$? = $ac_status" >&5 + echo "$as_me:14179: \$? = $ac_status" >&5 (exit $ac_status); }; }; then sigact_bad=no else @@ -14183,7 +14184,7 @@ else cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 14186 "configure" +#line 14187 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -14198,16 +14199,16 @@ struct sigaction act } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14201: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14202: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14204: \$? = $ac_status" >&5 + echo "$as_me:14205: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14207: \"$ac_try\"") >&5 + { (eval echo "$as_me:14208: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14210: \$? = $ac_status" >&5 + echo "$as_me:14211: \$? = $ac_status" >&5 (exit $ac_status); }; }; then sigact_bad=yes cat >>confdefs.h <<\EOF @@ -14222,11 +14223,11 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:14225: result: $sigact_bad" >&5 +echo "$as_me:14226: result: $sigact_bad" >&5 echo "${ECHO_T}$sigact_bad" >&6 fi -echo "$as_me:14229: checking if nanosleep really works" >&5 +echo "$as_me:14230: 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 @@ -14236,7 +14237,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_nanosleep=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 14239 "configure" +#line 14240 "configure" #include "confdefs.h" #include @@ -14261,15 +14262,15 @@ int main() { _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:14264: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14265: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14267: \$? = $ac_status" >&5 + echo "$as_me:14268: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:14269: \"$ac_try\"") >&5 + { (eval echo "$as_me:14270: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14272: \$? = $ac_status" >&5 + echo "$as_me:14273: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_nanosleep=yes else @@ -14281,7 +14282,7 @@ fi rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:14284: result: $cf_cv_func_nanosleep" >&5 +echo "$as_me:14285: result: $cf_cv_func_nanosleep" >&5 echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 test "$cf_cv_func_nanosleep" = "yes" && cat >>confdefs.h <<\EOF @@ -14295,23 +14296,23 @@ unistd.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:14298: checking for $ac_header" >&5 +echo "$as_me:14299: 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 14304 "configure" +#line 14305 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:14308: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:14309: \"$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:14314: \$? = $ac_status" >&5 + echo "$as_me:14315: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -14330,7 +14331,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:14333: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:14334: 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:14349: 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 14354 "configure" +#line 14355 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:14358: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:14359: \"$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:14364: \$? = $ac_status" >&5 + echo "$as_me:14365: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -14380,7 +14381,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:14383: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:14384: 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:14402: 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 14404 "configure" +#line 14405 "configure" #include "confdefs.h" #include int @@ -14413,16 +14414,16 @@ struct termios foo; int x = foo.c_iflag } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14416: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14417: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14419: \$? = $ac_status" >&5 + echo "$as_me:14420: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14422: \"$ac_try\"") >&5 + { (eval echo "$as_me:14423: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14425: \$? = $ac_status" >&5 + echo "$as_me:14426: \$? = $ac_status" >&5 (exit $ac_status); }; }; then termios_bad=no else @@ -14430,7 +14431,7 @@ else cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 14433 "configure" +#line 14434 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -14444,16 +14445,16 @@ struct termios foo; int x = foo.c_iflag } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14447: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14448: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14450: \$? = $ac_status" >&5 + echo "$as_me:14451: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14453: \"$ac_try\"") >&5 + { (eval echo "$as_me:14454: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14456: \$? = $ac_status" >&5 + echo "$as_me:14457: \$? = $ac_status" >&5 (exit $ac_status); }; }; then termios_bad=unknown else @@ -14468,19 +14469,19 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:14471: result: $termios_bad" >&5 + echo "$as_me:14472: result: $termios_bad" >&5 echo "${ECHO_T}$termios_bad" >&6 fi fi -echo "$as_me:14476: checking for tcgetattr" >&5 +echo "$as_me:14477: 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 14483 "configure" +#line 14484 "configure" #include "confdefs.h" #include @@ -14508,16 +14509,16 @@ tcgetattr(1, &foo); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14511: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14512: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14514: \$? = $ac_status" >&5 + echo "$as_me:14515: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14517: \"$ac_try\"") >&5 + { (eval echo "$as_me:14518: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14520: \$? = $ac_status" >&5 + echo "$as_me:14521: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_tcgetattr=yes else @@ -14527,20 +14528,20 @@ cf_cv_have_tcgetattr=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:14530: result: $cf_cv_have_tcgetattr" >&5 +echo "$as_me:14531: 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:14536: checking for vsscanf function or workaround" >&5 +echo "$as_me:14537: 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 14543 "configure" +#line 14544 "configure" #include "confdefs.h" #include @@ -14556,16 +14557,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14559: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14560: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14562: \$? = $ac_status" >&5 + echo "$as_me:14563: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14565: \"$ac_try\"") >&5 + { (eval echo "$as_me:14566: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14568: \$? = $ac_status" >&5 + echo "$as_me:14569: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_vsscanf=vsscanf else @@ -14573,7 +14574,7 @@ else cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 14576 "configure" +#line 14577 "configure" #include "confdefs.h" #include @@ -14595,16 +14596,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14598: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14599: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14601: \$? = $ac_status" >&5 + echo "$as_me:14602: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14604: \"$ac_try\"") >&5 + { (eval echo "$as_me:14605: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14607: \$? = $ac_status" >&5 + echo "$as_me:14608: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_vsscanf=vfscanf else @@ -14612,7 +14613,7 @@ else cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 14615 "configure" +#line 14616 "configure" #include "confdefs.h" #include @@ -14634,16 +14635,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14637: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14638: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14640: \$? = $ac_status" >&5 + echo "$as_me:14641: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14643: \"$ac_try\"") >&5 + { (eval echo "$as_me:14644: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14646: \$? = $ac_status" >&5 + echo "$as_me:14647: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_vsscanf=_doscan else @@ -14658,7 +14659,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:14661: result: $cf_cv_func_vsscanf" >&5 +echo "$as_me:14662: result: $cf_cv_func_vsscanf" >&5 echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 case $cf_cv_func_vsscanf in #(vi @@ -14676,7 +14677,7 @@ EOF ;; esac -echo "$as_me:14679: checking for working mkstemp" >&5 +echo "$as_me:14680: 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 @@ -14684,13 +14685,13 @@ else rm -f conftest* if test "$cross_compiling" = yes; then - echo "$as_me:14687: checking for mkstemp" >&5 + echo "$as_me:14688: 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 14693 "configure" +#line 14694 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mkstemp (); below. */ @@ -14721,16 +14722,16 @@ f = mkstemp; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14724: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14725: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14727: \$? = $ac_status" >&5 + echo "$as_me:14728: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14730: \"$ac_try\"") >&5 + { (eval echo "$as_me:14731: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14733: \$? = $ac_status" >&5 + echo "$as_me:14734: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mkstemp=yes else @@ -14740,12 +14741,12 @@ ac_cv_func_mkstemp=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:14743: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:14744: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 14748 "configure" +#line 14749 "configure" #include "confdefs.h" #include @@ -14783,15 +14784,15 @@ int main() _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:14786: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14787: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14789: \$? = $ac_status" >&5 + echo "$as_me:14790: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:14791: \"$ac_try\"") >&5 + { (eval echo "$as_me:14792: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14794: \$? = $ac_status" >&5 + echo "$as_me:14795: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_mkstemp=yes @@ -14806,7 +14807,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:14809: result: $cf_cv_func_mkstemp" >&5 +echo "$as_me:14810: result: $cf_cv_func_mkstemp" >&5 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 if test "x$cf_cv_func_mkstemp" = xyes || test "x$ac_cv_func_mkstemp" = xyes ; then cat >>confdefs.h <<\EOF @@ -14824,21 +14825,21 @@ else fi if test "$cross_compiling" = yes ; then - { echo "$as_me:14827: WARNING: cross compiling: assume setvbuf params not reversed" >&5 + { echo "$as_me:14828: 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:14830: checking whether setvbuf arguments are reversed" >&5 + echo "$as_me:14831: 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:14836: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:14837: 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 14841 "configure" +#line 14842 "configure" #include "confdefs.h" #include /* If setvbuf has the reversed format, exit 0. */ @@ -14855,15 +14856,15 @@ main () } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:14858: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14859: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14861: \$? = $ac_status" >&5 + echo "$as_me:14862: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:14863: \"$ac_try\"") >&5 + { (eval echo "$as_me:14864: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14866: \$? = $ac_status" >&5 + echo "$as_me:14867: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_setvbuf_reversed=yes else @@ -14876,7 +14877,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi rm -f core core.* *.core fi -echo "$as_me:14879: result: $ac_cv_func_setvbuf_reversed" >&5 +echo "$as_me:14880: 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 @@ -14887,13 +14888,13 @@ EOF fi fi -echo "$as_me:14890: checking return type of signal handlers" >&5 +echo "$as_me:14891: checking return type of signal handlers" >&5 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 if test "${ac_cv_type_signal+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 14896 "configure" +#line 14897 "configure" #include "confdefs.h" #include #include @@ -14915,16 +14916,16 @@ int i; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14918: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14919: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14921: \$? = $ac_status" >&5 + echo "$as_me:14922: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14924: \"$ac_try\"") >&5 + { (eval echo "$as_me:14925: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14927: \$? = $ac_status" >&5 + echo "$as_me:14928: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=void else @@ -14934,21 +14935,21 @@ ac_cv_type_signal=int fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:14937: result: $ac_cv_type_signal" >&5 +echo "$as_me:14938: result: $ac_cv_type_signal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6 cat >>confdefs.h <&5 +echo "$as_me:14945: 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 14951 "configure" +#line 14952 "configure" #include "confdefs.h" #include @@ -14961,16 +14962,16 @@ sigaction_t x } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14964: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14965: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14967: \$? = $ac_status" >&5 + echo "$as_me:14968: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14970: \"$ac_try\"") >&5 + { (eval echo "$as_me:14971: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14973: \$? = $ac_status" >&5 + echo "$as_me:14974: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_type_sigaction=yes else @@ -14981,13 +14982,13 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:14984: result: $cf_cv_type_sigaction" >&5 +echo "$as_me:14985: 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:14990: checking declaration of size-change" >&5 +echo "$as_me:14991: 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 @@ -15002,7 +15003,7 @@ do CPPFLAGS="$cf_save_CPPFLAGS" test -n "$cf_opts" && CPPFLAGS="$CPPFLAGS -D$cf_opts" cat >conftest.$ac_ext <<_ACEOF -#line 15005 "configure" +#line 15006 "configure" #include "confdefs.h" #include #ifdef HAVE_TERMIOS_H @@ -15046,16 +15047,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:15049: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:15050: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15052: \$? = $ac_status" >&5 + echo "$as_me:15053: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15055: \"$ac_try\"") >&5 + { (eval echo "$as_me:15056: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15058: \$? = $ac_status" >&5 + echo "$as_me:15059: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_sizechange=yes else @@ -15074,7 +15075,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext done fi -echo "$as_me:15077: result: $cf_cv_sizechange" >&5 +echo "$as_me:15078: result: $cf_cv_sizechange" >&5 echo "${ECHO_T}$cf_cv_sizechange" >&6 if test "$cf_cv_sizechange" != no ; then cat >>confdefs.h <<\EOF @@ -15091,13 +15092,13 @@ EOF esac fi -echo "$as_me:15094: checking for memmove" >&5 +echo "$as_me:15095: 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 15100 "configure" +#line 15101 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char memmove (); below. */ @@ -15128,16 +15129,16 @@ f = memmove; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15131: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15132: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15134: \$? = $ac_status" >&5 + echo "$as_me:15135: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15137: \"$ac_try\"") >&5 + { (eval echo "$as_me:15138: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15140: \$? = $ac_status" >&5 + echo "$as_me:15141: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_memmove=yes else @@ -15147,19 +15148,19 @@ ac_cv_func_memmove=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15150: result: $ac_cv_func_memmove" >&5 +echo "$as_me:15151: 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:15156: checking for bcopy" >&5 +echo "$as_me:15157: 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 15162 "configure" +#line 15163 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bcopy (); below. */ @@ -15190,16 +15191,16 @@ f = bcopy; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15193: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15194: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15196: \$? = $ac_status" >&5 + echo "$as_me:15197: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15199: \"$ac_try\"") >&5 + { (eval echo "$as_me:15200: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15202: \$? = $ac_status" >&5 + echo "$as_me:15203: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_bcopy=yes else @@ -15209,11 +15210,11 @@ ac_cv_func_bcopy=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15212: result: $ac_cv_func_bcopy" >&5 +echo "$as_me:15213: 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:15216: checking if bcopy does overlapping moves" >&5 + echo "$as_me:15217: 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 @@ -15223,7 +15224,7 @@ else cf_cv_good_bcopy=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 15226 "configure" +#line 15227 "configure" #include "confdefs.h" int main() { @@ -15237,15 +15238,15 @@ int main() { _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:15240: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15241: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15243: \$? = $ac_status" >&5 + echo "$as_me:15244: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:15245: \"$ac_try\"") >&5 + { (eval echo "$as_me:15246: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15248: \$? = $ac_status" >&5 + echo "$as_me:15249: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_good_bcopy=yes else @@ -15258,7 +15259,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:15261: result: $cf_cv_good_bcopy" >&5 +echo "$as_me:15262: result: $cf_cv_good_bcopy" >&5 echo "${ECHO_T}$cf_cv_good_bcopy" >&6 else @@ -15279,7 +15280,7 @@ EOF fi -echo "$as_me:15282: checking if poll really works" >&5 +echo "$as_me:15283: 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 @@ -15289,7 +15290,7 @@ if test "$cross_compiling" = yes; then cf_cv_working_poll=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 15292 "configure" +#line 15293 "configure" #include "confdefs.h" #include @@ -15310,15 +15311,15 @@ int main() { } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:15313: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15314: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15316: \$? = $ac_status" >&5 + echo "$as_me:15317: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:15318: \"$ac_try\"") >&5 + { (eval echo "$as_me:15319: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15321: \$? = $ac_status" >&5 + echo "$as_me:15322: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_working_poll=yes else @@ -15330,20 +15331,20 @@ fi rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:15333: result: $cf_cv_working_poll" >&5 +echo "$as_me:15334: 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:15339: checking for va_copy" >&5 +echo "$as_me:15340: 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 15346 "configure" +#line 15347 "configure" #include "confdefs.h" #include @@ -15360,16 +15361,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15363: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15364: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15366: \$? = $ac_status" >&5 + echo "$as_me:15367: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15369: \"$ac_try\"") >&5 + { (eval echo "$as_me:15370: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15372: \$? = $ac_status" >&5 + echo "$as_me:15373: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_va_copy=yes else @@ -15379,21 +15380,21 @@ cf_cv_have_va_copy=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15382: result: $cf_cv_have_va_copy" >&5 +echo "$as_me:15383: result: $cf_cv_have_va_copy" >&5 echo "${ECHO_T}$cf_cv_have_va_copy" >&6 test "$cf_cv_have_va_copy" = yes && cat >>confdefs.h <<\EOF #define HAVE_VA_COPY 1 EOF -echo "$as_me:15389: checking for __va_copy" >&5 +echo "$as_me:15390: 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 15396 "configure" +#line 15397 "configure" #include "confdefs.h" #include @@ -15410,16 +15411,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15413: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15414: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15416: \$? = $ac_status" >&5 + echo "$as_me:15417: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15419: \"$ac_try\"") >&5 + { (eval echo "$as_me:15420: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15422: \$? = $ac_status" >&5 + echo "$as_me:15423: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have___va_copy=yes else @@ -15429,20 +15430,20 @@ cf_cv_have___va_copy=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15432: result: $cf_cv_have___va_copy" >&5 +echo "$as_me:15433: result: $cf_cv_have___va_copy" >&5 echo "${ECHO_T}$cf_cv_have___va_copy" >&6 test "$cf_cv_have___va_copy" = yes && cat >>confdefs.h <<\EOF #define HAVE___VA_COPY 1 EOF -echo "$as_me:15439: checking for pid_t" >&5 +echo "$as_me:15440: 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 15445 "configure" +#line 15446 "configure" #include "confdefs.h" $ac_includes_default int @@ -15457,16 +15458,16 @@ if (sizeof (pid_t)) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:15460: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:15461: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15463: \$? = $ac_status" >&5 + echo "$as_me:15464: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15466: \"$ac_try\"") >&5 + { (eval echo "$as_me:15467: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15469: \$? = $ac_status" >&5 + echo "$as_me:15470: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_pid_t=yes else @@ -15476,7 +15477,7 @@ ac_cv_type_pid_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:15479: result: $ac_cv_type_pid_t" >&5 +echo "$as_me:15480: 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 : @@ -15491,23 +15492,23 @@ fi for ac_header in unistd.h vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:15494: checking for $ac_header" >&5 +echo "$as_me:15495: 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 15500 "configure" +#line 15501 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:15504: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:15505: \"$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:15510: \$? = $ac_status" >&5 + echo "$as_me:15511: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -15526,7 +15527,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:15529: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:15530: 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:15543: 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 15548 "configure" +#line 15549 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -15576,16 +15577,16 @@ f = $ac_func; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15579: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15580: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15582: \$? = $ac_status" >&5 + echo "$as_me:15583: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15585: \"$ac_try\"") >&5 + { (eval echo "$as_me:15586: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15588: \$? = $ac_status" >&5 + echo "$as_me:15589: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -15595,7 +15596,7 @@ eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15598: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:15599: 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:15611: 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 @@ -15630,15 +15631,15 @@ else } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:15633: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15634: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15636: \$? = $ac_status" >&5 + echo "$as_me:15637: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:15638: \"$ac_try\"") >&5 + { (eval echo "$as_me:15639: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15641: \$? = $ac_status" >&5 + echo "$as_me:15642: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fork_works=yes else @@ -15650,7 +15651,7 @@ fi rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:15653: result: $ac_cv_func_fork_works" >&5 +echo "$as_me:15654: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 fi @@ -15664,12 +15665,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_fork_works=yes ;; esac - { echo "$as_me:15667: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + { echo "$as_me:15668: 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:15672: checking for working vfork" >&5 + echo "$as_me:15673: 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 @@ -15678,7 +15679,7 @@ else ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF -#line 15681 "configure" +#line 15682 "configure" #include "confdefs.h" /* Thanks to Paul Eggert for this test. */ #include @@ -15775,15 +15776,15 @@ main () } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:15778: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15779: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15781: \$? = $ac_status" >&5 + echo "$as_me:15782: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:15783: \"$ac_try\"") >&5 + { (eval echo "$as_me:15784: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15786: \$? = $ac_status" >&5 + echo "$as_me:15787: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yes else @@ -15795,13 +15796,13 @@ fi rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:15798: result: $ac_cv_func_vfork_works" >&5 +echo "$as_me:15799: 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:15804: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + { echo "$as_me:15805: 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 @@ -15828,7 +15829,7 @@ fi # special check for test/ditto.c -echo "$as_me:15831: checking for openpty in -lutil" >&5 +echo "$as_me:15832: 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 @@ -15836,7 +15837,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 15839 "configure" +#line 15840 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15855,16 +15856,16 @@ openpty (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15858: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15859: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15861: \$? = $ac_status" >&5 + echo "$as_me:15862: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15864: \"$ac_try\"") >&5 + { (eval echo "$as_me:15865: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15867: \$? = $ac_status" >&5 + echo "$as_me:15868: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_util_openpty=yes else @@ -15875,7 +15876,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15878: result: $ac_cv_lib_util_openpty" >&5 +echo "$as_me:15879: 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 @@ -15883,7 +15884,7 @@ else cf_cv_lib_util=no fi -echo "$as_me:15886: checking for openpty header" >&5 +echo "$as_me:15887: 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 @@ -15894,7 +15895,7 @@ else for cf_header in pty.h libutil.h util.h do cat >conftest.$ac_ext <<_ACEOF -#line 15897 "configure" +#line 15898 "configure" #include "confdefs.h" #include <$cf_header> @@ -15911,16 +15912,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15914: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15915: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15917: \$? = $ac_status" >&5 + echo "$as_me:15918: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15920: \"$ac_try\"") >&5 + { (eval echo "$as_me:15921: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15923: \$? = $ac_status" >&5 + echo "$as_me:15924: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_openpty=$cf_header @@ -15938,7 +15939,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$cf_save_LIBS" fi -echo "$as_me:15941: result: $cf_cv_func_openpty" >&5 +echo "$as_me:15942: result: $cf_cv_func_openpty" >&5 echo "${ECHO_T}$cf_cv_func_openpty" >&6 if test "$cf_cv_func_openpty" != no ; then @@ -15990,7 +15991,7 @@ if test -n "$with_hashed_db/include" ; then cf_save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" cat >conftest.$ac_ext <<_ACEOF -#line 15993 "configure" +#line 15994 "configure" #include "confdefs.h" #include int @@ -16002,16 +16003,16 @@ printf("Hello") } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:16005: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16006: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16008: \$? = $ac_status" >&5 + echo "$as_me:16009: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16011: \"$ac_try\"") >&5 + { (eval echo "$as_me:16012: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16014: \$? = $ac_status" >&5 + echo "$as_me:16015: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -16028,7 +16029,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me-configure}:16031: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me-configure}:16032: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" @@ -16062,7 +16063,7 @@ if test -n "$with_hashed_db/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me-configure}:16065: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me-configure}:16066: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -16073,23 +16074,23 @@ fi fi esac -echo "$as_me:16076: checking for db.h" >&5 +echo "$as_me:16077: 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 16082 "configure" +#line 16083 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:16086: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16087: \"$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:16092: \$? = $ac_status" >&5 + echo "$as_me:16093: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -16108,11 +16109,11 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:16111: result: $ac_cv_header_db_h" >&5 +echo "$as_me:16112: 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:16115: checking for version of db" >&5 +echo "$as_me:16116: 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 @@ -16123,10 +16124,10 @@ cf_cv_hashed_db_version=unknown for cf_db_version in 1 2 3 4 5 do -echo "${as_me-configure}:16126: testing checking for db version $cf_db_version ..." 1>&5 +echo "${as_me-configure}:16127: testing checking for db version $cf_db_version ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 16129 "configure" +#line 16130 "configure" #include "confdefs.h" $ac_includes_default @@ -16156,16 +16157,16 @@ DBT *foo = 0 } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:16159: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16160: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16162: \$? = $ac_status" >&5 + echo "$as_me:16163: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16165: \"$ac_try\"") >&5 + { (eval echo "$as_me:16166: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16168: \$? = $ac_status" >&5 + echo "$as_me:16169: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_hashed_db_version=$cf_db_version @@ -16179,16 +16180,16 @@ rm -f conftest.$ac_objext conftest.$ac_ext done fi -echo "$as_me:16182: result: $cf_cv_hashed_db_version" >&5 +echo "$as_me:16183: 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:16186: error: Cannot determine version of db" >&5 + { { echo "$as_me:16187: 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:16191: checking for db libraries" >&5 +echo "$as_me:16192: 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 @@ -16202,10 +16203,10 @@ do LIBS="-l$cf_db_libs $LIBS" fi -echo "${as_me-configure}:16205: testing checking for library "$cf_db_libs" ..." 1>&5 +echo "${as_me-configure}:16206: testing checking for library "$cf_db_libs" ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 16208 "configure" +#line 16209 "configure" #include "confdefs.h" $ac_includes_default @@ -16260,16 +16261,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16263: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16264: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16266: \$? = $ac_status" >&5 + echo "$as_me:16267: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16269: \"$ac_try\"") >&5 + { (eval echo "$as_me:16270: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16272: \$? = $ac_status" >&5 + echo "$as_me:16273: \$? = $ac_status" >&5 (exit $ac_status); }; }; then if test -n "$cf_db_libs" ; then @@ -16289,11 +16290,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi -echo "$as_me:16292: result: $cf_cv_hashed_db_libs" >&5 +echo "$as_me:16293: 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:16296: error: Cannot determine library for db" >&5 + { { echo "$as_me:16297: 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 @@ -16303,7 +16304,7 @@ fi else - { { echo "$as_me:16306: error: Cannot find db.h" >&5 + { { echo "$as_me:16307: error: Cannot find db.h" >&5 echo "$as_me: error: Cannot find db.h" >&2;} { (exit 1); exit 1; }; } @@ -16318,7 +16319,7 @@ fi # Just in case, check if the C compiler has a bool type. -echo "$as_me:16321: checking if we should include stdbool.h" >&5 +echo "$as_me:16322: 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 @@ -16326,7 +16327,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF -#line 16329 "configure" +#line 16330 "configure" #include "confdefs.h" int @@ -16338,23 +16339,23 @@ bool foo = false } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:16341: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16342: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16344: \$? = $ac_status" >&5 + echo "$as_me:16345: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16347: \"$ac_try\"") >&5 + { (eval echo "$as_me:16348: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16350: \$? = $ac_status" >&5 + echo "$as_me:16351: \$? = $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 16357 "configure" +#line 16358 "configure" #include "confdefs.h" #ifndef __BEOS__ @@ -16370,16 +16371,16 @@ bool foo = false } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:16373: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16374: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16376: \$? = $ac_status" >&5 + echo "$as_me:16377: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16379: \"$ac_try\"") >&5 + { (eval echo "$as_me:16380: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16382: \$? = $ac_status" >&5 + echo "$as_me:16383: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_header_stdbool_h=1 else @@ -16393,13 +16394,13 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi if test "$cf_cv_header_stdbool_h" = 1 -then echo "$as_me:16396: result: yes" >&5 +then echo "$as_me:16397: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:16398: result: no" >&5 +else echo "$as_me:16399: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:16402: checking for builtin bool type" >&5 +echo "$as_me:16403: 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 @@ -16407,7 +16408,7 @@ if test "${cf_cv_cc_bool_type+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF -#line 16410 "configure" +#line 16411 "configure" #include "confdefs.h" #include @@ -16422,16 +16423,16 @@ bool x = false } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:16425: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16426: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16428: \$? = $ac_status" >&5 + echo "$as_me:16429: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16431: \"$ac_try\"") >&5 + { (eval echo "$as_me:16432: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16434: \$? = $ac_status" >&5 + echo "$as_me:16435: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cc_bool_type=1 else @@ -16444,9 +16445,9 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi if test "$cf_cv_cc_bool_type" = 1 -then echo "$as_me:16447: result: yes" >&5 +then echo "$as_me:16448: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:16449: result: no" >&5 +else echo "$as_me:16450: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -16468,7 +16469,7 @@ os2*) #(vi cf_stdcpp_libname=stdc++ ;; esac -echo "$as_me:16471: checking for library $cf_stdcpp_libname" >&5 +echo "$as_me:16472: 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 @@ -16477,7 +16478,7 @@ else cf_save="$LIBS" LIBS="-l$cf_stdcpp_libname $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 16480 "configure" +#line 16481 "configure" #include "confdefs.h" #include @@ -16493,16 +16494,16 @@ strstreambuf foo(buf, sizeof(buf)) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16496: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16497: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16499: \$? = $ac_status" >&5 + echo "$as_me:16500: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16502: \"$ac_try\"") >&5 + { (eval echo "$as_me:16503: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16505: \$? = $ac_status" >&5 + echo "$as_me:16506: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_libstdcpp=yes else @@ -16514,12 +16515,12 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$cf_save" fi -echo "$as_me:16517: result: $cf_cv_libstdcpp" >&5 +echo "$as_me:16518: result: $cf_cv_libstdcpp" >&5 echo "${ECHO_T}$cf_cv_libstdcpp" >&6 -test "$cf_cv_libstdcpp" = yes && CXXLIBS="$CXXLIBS -l$cf_stdcpp_libname" +test "$cf_cv_libstdcpp" = yes && CXXLIBS="-l$cf_stdcpp_libname $CXXLIBS" fi - echo "$as_me:16522: checking whether $CXX understands -c and -o together" >&5 + echo "$as_me:16523: 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 @@ -16535,15 +16536,15 @@ CF_EOF # We do the test twice because some compilers refuse to overwrite an # existing .o file with -o, though they will create one. ac_try='$CXX -c conftest.$ac_ext -o conftest2.$ac_objext >&5' -if { (eval echo "$as_me:16538: \"$ac_try\"") >&5 +if { (eval echo "$as_me:16539: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16541: \$? = $ac_status" >&5 + echo "$as_me:16542: \$? = $ac_status" >&5 (exit $ac_status); } && - test -f conftest2.$ac_objext && { (eval echo "$as_me:16543: \"$ac_try\"") >&5 + test -f conftest2.$ac_objext && { (eval echo "$as_me:16544: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16546: \$? = $ac_status" >&5 + echo "$as_me:16547: \$? = $ac_status" >&5 (exit $ac_status); }; then eval cf_cv_prog_CXX_c_o=yes @@ -16554,10 +16555,10 @@ rm -f conftest* fi if test $cf_cv_prog_CXX_c_o = yes; then - echo "$as_me:16557: result: yes" >&5 + echo "$as_me:16558: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:16560: result: no" >&5 + echo "$as_me:16561: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -16577,12 +16578,12 @@ os2*) #(vi ;; esac if test "$GXX" = yes; then - echo "$as_me:16580: checking for lib$cf_gpp_libname" >&5 + echo "$as_me:16581: checking for lib$cf_gpp_libname" >&5 echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 cf_save="$LIBS" LIBS="-l$cf_gpp_libname $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 16585 "configure" +#line 16586 "configure" #include "confdefs.h" #include <$cf_gpp_libname/builtin.h> @@ -16596,19 +16597,19 @@ two_arg_error_handler_t foo2 = lib_error_handler } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16599: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16600: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16602: \$? = $ac_status" >&5 + echo "$as_me:16603: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16605: \"$ac_try\"") >&5 + { (eval echo "$as_me:16606: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16608: \$? = $ac_status" >&5 + echo "$as_me:16609: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cxx_library=yes - CXXLIBS="$CXXLIBS -l$cf_gpp_libname" + CXXLIBS="-l$cf_gpp_libname $CXXLIBS" if test "$cf_gpp_libname" = cpp ; then cat >>confdefs.h <<\EOF #define HAVE_GPP_BUILTIN_H 1 @@ -16624,7 +16625,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 16627 "configure" +#line 16628 "configure" #include "confdefs.h" #include @@ -16638,19 +16639,19 @@ two_arg_error_handler_t foo2 = lib_error_handler } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16641: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16642: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16644: \$? = $ac_status" >&5 + echo "$as_me:16645: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16647: \"$ac_try\"") >&5 + { (eval echo "$as_me:16648: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16650: \$? = $ac_status" >&5 + echo "$as_me:16651: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cxx_library=yes - CXXLIBS="$CXXLIBS -l$cf_gpp_libname" + CXXLIBS="-l$cf_gpp_libname $CXXLIBS" cat >>confdefs.h <<\EOF #define HAVE_BUILTIN_H 1 EOF @@ -16664,7 +16665,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$cf_save" - echo "$as_me:16667: result: $cf_cxx_library" >&5 + echo "$as_me:16668: result: $cf_cxx_library" >&5 echo "${ECHO_T}$cf_cxx_library" >&6 fi @@ -16680,7 +16681,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return=return -echo "$as_me:16683: checking how to run the C++ preprocessor" >&5 +echo "$as_me:16684: 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 @@ -16697,18 +16698,18 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line 16700 "configure" +#line 16701 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:16705: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16706: \"$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:16711: \$? = $ac_status" >&5 + echo "$as_me:16712: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -16731,17 +16732,17 @@ rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 16734 "configure" +#line 16735 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:16738: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16739: \"$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:16744: \$? = $ac_status" >&5 + echo "$as_me:16745: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -16778,7 +16779,7 @@ fi else ac_cv_prog_CXXCPP=$CXXCPP fi -echo "$as_me:16781: result: $CXXCPP" >&5 +echo "$as_me:16782: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6 ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes @@ -16788,18 +16789,18 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line 16791 "configure" +#line 16792 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:16796: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16797: \"$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:16802: \$? = $ac_status" >&5 + echo "$as_me:16803: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -16822,17 +16823,17 @@ rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 16825 "configure" +#line 16826 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:16829: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16830: \"$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:16835: \$? = $ac_status" >&5 + echo "$as_me:16836: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -16860,7 +16861,7 @@ rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else - { { echo "$as_me:16863: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 + { { echo "$as_me:16864: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi @@ -16875,23 +16876,23 @@ ac_main_return=return for ac_header in iostream typeinfo do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:16878: checking for $ac_header" >&5 +echo "$as_me:16879: 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 16884 "configure" +#line 16885 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:16888: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:16889: \"$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:16894: \$? = $ac_status" >&5 + echo "$as_me:16895: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -16910,7 +16911,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:16913: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:16914: 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:16925: 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 16927 "configure" +#line 16928 "configure" #include "confdefs.h" #include @@ -16941,16 +16942,16 @@ cerr << "testing" << endl; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:16944: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16945: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16947: \$? = $ac_status" >&5 + echo "$as_me:16948: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16950: \"$ac_try\"") >&5 + { (eval echo "$as_me:16951: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16953: \$? = $ac_status" >&5 + echo "$as_me:16954: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_iostream_namespace=yes else @@ -16959,7 +16960,7 @@ cat conftest.$ac_ext >&5 cf_iostream_namespace=no fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:16962: result: $cf_iostream_namespace" >&5 + echo "$as_me:16963: result: $cf_iostream_namespace" >&5 echo "${ECHO_T}$cf_iostream_namespace" >&6 if test "$cf_iostream_namespace" = yes ; then cat >>confdefs.h <<\EOF @@ -16969,7 +16970,7 @@ EOF fi fi -echo "$as_me:16972: checking if we should include stdbool.h" >&5 +echo "$as_me:16973: 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 @@ -16977,7 +16978,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF -#line 16980 "configure" +#line 16981 "configure" #include "confdefs.h" int @@ -16989,23 +16990,23 @@ bool foo = false } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:16992: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16993: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16995: \$? = $ac_status" >&5 + echo "$as_me:16996: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16998: \"$ac_try\"") >&5 + { (eval echo "$as_me:16999: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17001: \$? = $ac_status" >&5 + echo "$as_me:17002: \$? = $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 17008 "configure" +#line 17009 "configure" #include "confdefs.h" #ifndef __BEOS__ @@ -17021,16 +17022,16 @@ bool foo = false } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17024: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17025: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17027: \$? = $ac_status" >&5 + echo "$as_me:17028: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17030: \"$ac_try\"") >&5 + { (eval echo "$as_me:17031: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17033: \$? = $ac_status" >&5 + echo "$as_me:17034: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_header_stdbool_h=1 else @@ -17044,13 +17045,13 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi if test "$cf_cv_header_stdbool_h" = 1 -then echo "$as_me:17047: result: yes" >&5 +then echo "$as_me:17048: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:17049: result: no" >&5 +else echo "$as_me:17050: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:17053: checking for builtin bool type" >&5 +echo "$as_me:17054: 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 @@ -17058,7 +17059,7 @@ if test "${cf_cv_builtin_bool+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF -#line 17061 "configure" +#line 17062 "configure" #include "confdefs.h" #include @@ -17073,16 +17074,16 @@ bool x = false } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17076: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17077: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17079: \$? = $ac_status" >&5 + echo "$as_me:17080: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17082: \"$ac_try\"") >&5 + { (eval echo "$as_me:17083: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17085: \$? = $ac_status" >&5 + echo "$as_me:17086: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_builtin_bool=1 else @@ -17095,13 +17096,13 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi if test "$cf_cv_builtin_bool" = 1 -then echo "$as_me:17098: result: yes" >&5 +then echo "$as_me:17099: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:17100: result: no" >&5 +else echo "$as_me:17101: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:17104: checking for size of bool" >&5 +echo "$as_me:17105: 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 @@ -17112,7 +17113,7 @@ else cf_cv_type_of_bool=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 17115 "configure" +#line 17116 "configure" #include "confdefs.h" #include @@ -17154,15 +17155,15 @@ main() _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:17157: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17158: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17160: \$? = $ac_status" >&5 + echo "$as_me:17161: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:17162: \"$ac_try\"") >&5 + { (eval echo "$as_me:17163: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17165: \$? = $ac_status" >&5 + echo "$as_me:17166: \$? = $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 @@ -17180,18 +17181,18 @@ fi fi rm -f cf_test.out -echo "$as_me:17183: result: $cf_cv_type_of_bool" >&5 +echo "$as_me:17184: 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 #(vi .auto|.) NCURSES_BOOL=unsigned;; esac - { echo "$as_me:17189: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + { echo "$as_me:17190: 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:17194: checking for special defines needed for etip.h" >&5 +echo "$as_me:17195: 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" @@ -17203,7 +17204,7 @@ do test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}" test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}" cat >conftest.$ac_ext <<_ACEOF -#line 17206 "configure" +#line 17207 "configure" #include "confdefs.h" #include @@ -17217,16 +17218,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17220: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17221: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17223: \$? = $ac_status" >&5 + echo "$as_me:17224: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17226: \"$ac_try\"") >&5 + { (eval echo "$as_me:17227: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17229: \$? = $ac_status" >&5 + echo "$as_me:17230: \$? = $ac_status" >&5 (exit $ac_status); }; }; then test -n "$cf_math" && cat >>confdefs.h <&5 +echo "$as_me:17251: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 CXXFLAGS="$cf_save_CXXFLAGS" if test -n "$CXX"; then -echo "$as_me:17255: checking if $CXX accepts parameter initialization" >&5 +echo "$as_me:17256: 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 @@ -17269,7 +17270,7 @@ ac_main_return=return cf_cv_cpp_param_init=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 17272 "configure" +#line 17273 "configure" #include "confdefs.h" class TEST { @@ -17288,15 +17289,15 @@ void main() { } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:17291: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17292: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17294: \$? = $ac_status" >&5 + echo "$as_me:17295: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:17296: \"$ac_try\"") >&5 + { (eval echo "$as_me:17297: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17299: \$? = $ac_status" >&5 + echo "$as_me:17300: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cpp_param_init=yes else @@ -17315,7 +17316,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return=return fi -echo "$as_me:17318: result: $cf_cv_cpp_param_init" >&5 +echo "$as_me:17319: result: $cf_cv_cpp_param_init" >&5 echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 fi test "$cf_cv_cpp_param_init" = yes && cat >>confdefs.h <<\EOF @@ -17324,7 +17325,7 @@ EOF if test -n "$CXX"; then -echo "$as_me:17327: checking if $CXX accepts static_cast" >&5 +echo "$as_me:17328: 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 @@ -17338,7 +17339,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return=return cat >conftest.$ac_ext <<_ACEOF -#line 17341 "configure" +#line 17342 "configure" #include "confdefs.h" class NCursesPanel @@ -17382,16 +17383,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:17385: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17386: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17388: \$? = $ac_status" >&5 + echo "$as_me:17389: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17391: \"$ac_try\"") >&5 + { (eval echo "$as_me:17392: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17394: \$? = $ac_status" >&5 + echo "$as_me:17395: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_cpp_static_cast=yes else @@ -17409,7 +17410,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return=return fi -echo "$as_me:17412: result: $cf_cv_cpp_static_cast" >&5 +echo "$as_me:17413: result: $cf_cv_cpp_static_cast" >&5 echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 fi @@ -17457,7 +17458,7 @@ else else if test "$cf_cv_header_stdbool_h" = 1 ; then -echo "$as_me:17460: checking for size of bool" >&5 +echo "$as_me:17461: 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 @@ -17468,7 +17469,7 @@ else cf_cv_type_of_bool=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 17471 "configure" +#line 17472 "configure" #include "confdefs.h" #include @@ -17510,15 +17511,15 @@ main() _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:17513: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17514: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17516: \$? = $ac_status" >&5 + echo "$as_me:17517: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:17518: \"$ac_try\"") >&5 + { (eval echo "$as_me:17519: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17521: \$? = $ac_status" >&5 + echo "$as_me:17522: \$? = $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 @@ -17536,25 +17537,25 @@ fi fi rm -f cf_test.out -echo "$as_me:17539: result: $cf_cv_type_of_bool" >&5 +echo "$as_me:17540: 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 #(vi .auto|.) NCURSES_BOOL=unsigned;; esac - { echo "$as_me:17545: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + { echo "$as_me:17546: 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:17551: checking for fallback type of bool" >&5 + echo "$as_me:17552: checking for fallback type of bool" >&5 echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6 case "$host_cpu" in #(vi i?86) cf_cv_type_of_bool=char ;; #(vi *) cf_cv_type_of_bool=int ;; esac - echo "$as_me:17557: result: $cf_cv_type_of_bool" >&5 + echo "$as_me:17558: result: $cf_cv_type_of_bool" >&5 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 fi fi @@ -17583,7 +17584,7 @@ if test -f "${srcdir}/Ada95/Makefile.in" ; then if test "$cf_with_ada" != "no" ; then if test "$with_libtool" != "no"; then - { echo "$as_me:17586: WARNING: libtool does not support Ada - disabling feature" >&5 + { echo "$as_me:17587: 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 @@ -17593,7 +17594,7 @@ if test "$cf_with_ada" != "no" ; then cf_ada_make=gnatmake # 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:17596: checking for $ac_word" >&5 +echo "$as_me:17597: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_gnat_exists+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17608,7 +17609,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_gnat_exists="yes" -echo "$as_me:17611: found $ac_dir/$ac_word" >&5 +echo "$as_me:17612: found $ac_dir/$ac_word" >&5 break done @@ -17617,10 +17618,10 @@ fi fi gnat_exists=$ac_cv_prog_gnat_exists if test -n "$gnat_exists"; then - echo "$as_me:17620: result: $gnat_exists" >&5 + echo "$as_me:17621: result: $gnat_exists" >&5 echo "${ECHO_T}$gnat_exists" >&6 else - echo "$as_me:17623: result: no" >&5 + echo "$as_me:17624: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -17628,11 +17629,11 @@ if test "$ac_cv_prog_gnat_exists" = no; then cf_ada_make= else -echo "$as_me:17631: checking for gnat version" >&5 +echo "$as_me:17632: 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:17635: result: $cf_gnat_version" >&5 +echo "$as_me:17636: result: $cf_gnat_version" >&5 echo "${ECHO_T}$cf_gnat_version" >&6 case $cf_gnat_version in @@ -17655,7 +17656,7 @@ esac # Extract the first word of "m4", so it can be a program name with args. set dummy m4; ac_word=$2 -echo "$as_me:17658: checking for $ac_word" >&5 +echo "$as_me:17659: 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 @@ -17670,7 +17671,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_M4_exists="yes" -echo "$as_me:17673: found $ac_dir/$ac_word" >&5 +echo "$as_me:17674: found $ac_dir/$ac_word" >&5 break done @@ -17679,10 +17680,10 @@ fi fi M4_exists=$ac_cv_prog_M4_exists if test -n "$M4_exists"; then - echo "$as_me:17682: result: $M4_exists" >&5 + echo "$as_me:17683: result: $M4_exists" >&5 echo "${ECHO_T}$M4_exists" >&6 else - echo "$as_me:17685: result: no" >&5 + echo "$as_me:17686: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -17691,7 +17692,7 @@ fi echo Ada95 binding required program m4 not found. Ada95 binding disabled. fi if test "$cf_cv_prog_gnat_correct" = yes; then - echo "$as_me:17694: checking if GNAT works" >&5 + echo "$as_me:17695: checking if GNAT works" >&5 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 rm -f conftest* @@ -17719,14 +17720,14 @@ else fi rm -f conftest* - echo "$as_me:17722: result: $cf_cv_prog_gnat_correct" >&5 + echo "$as_me:17723: result: $cf_cv_prog_gnat_correct" >&5 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 fi fi if test "$cf_cv_prog_gnat_correct" = yes; then ADAFLAGS="-O3 -gnatpn $ADAFLAGS" - echo "$as_me:17729: checking if GNAT pragma Unreferenced works" >&5 + echo "$as_me:17730: checking if GNAT pragma Unreferenced works" >&5 echo $ECHO_N "checking if GNAT pragma Unreferenced works... $ECHO_C" >&6 rm -f conftest* @@ -17753,7 +17754,7 @@ else fi rm -f conftest* - echo "$as_me:17756: result: $cf_cv_pragma_unreferenced" >&5 + echo "$as_me:17757: result: $cf_cv_pragma_unreferenced" >&5 echo "${ECHO_T}$cf_cv_pragma_unreferenced" >&6 # if the pragma is supported, use it (needed in the Trace code). @@ -17806,7 +17807,7 @@ case ".$withval" in #(vi withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` ;; *) - { { echo "$as_me:17809: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:17810: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -17848,7 +17849,7 @@ case ".$withval" in #(vi withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` ;; *) - { { echo "$as_me:17851: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:17852: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -17873,7 +17874,7 @@ fi ### chooses to split module lists into libraries. ### ### (see CF_LIB_RULES). -echo "$as_me:17876: checking for library subsets" >&5 +echo "$as_me:17877: checking for library subsets" >&5 echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 LIB_SUBSETS= @@ -17914,7 +17915,7 @@ fi test "$with_widec" = yes && LIB_SUBSETS="${LIB_SUBSETS}+widechar" test "$with_ext_funcs" = yes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs" -echo "$as_me:17917: result: $LIB_SUBSETS" >&5 +echo "$as_me:17918: result: $LIB_SUBSETS" >&5 echo "${ECHO_T}$LIB_SUBSETS" >&6 ### Construct the list of include-directories to be generated @@ -17952,7 +17953,7 @@ elif test "$includedir" != "/usr/include"; then fi ### Build up pieces for makefile rules -echo "$as_me:17955: checking default library suffix" >&5 +echo "$as_me:17956: checking default library suffix" >&5 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -17963,10 +17964,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 shared) DFT_ARG_SUFFIX='' ;; esac test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" -echo "$as_me:17966: result: $DFT_ARG_SUFFIX" >&5 +echo "$as_me:17967: result: $DFT_ARG_SUFFIX" >&5 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 -echo "$as_me:17969: checking default library-dependency suffix" >&5 +echo "$as_me:17970: checking default library-dependency suffix" >&5 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 case $DFT_LWR_MODEL in #(vi @@ -18019,10 +18020,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 esac test -n "$LIB_SUFFIX" && DFT_LIB_SUFFIX="${LIB_SUFFIX}${DFT_LIB_SUFFIX}" test -n "$LIB_SUFFIX" && DFT_DEP_SUFFIX="${LIB_SUFFIX}${DFT_DEP_SUFFIX}" -echo "$as_me:18022: result: $DFT_DEP_SUFFIX" >&5 +echo "$as_me:18023: result: $DFT_DEP_SUFFIX" >&5 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 -echo "$as_me:18025: checking default object directory" >&5 +echo "$as_me:18026: checking default object directory" >&5 echo $ECHO_N "checking default object directory... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -18038,12 +18039,12 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 DFT_OBJ_SUBDIR='obj_s' ;; esac esac -echo "$as_me:18041: result: $DFT_OBJ_SUBDIR" >&5 +echo "$as_me:18042: result: $DFT_OBJ_SUBDIR" >&5 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 # libtool thinks it can make c++ shared libraries (perhaps only g++) if test "$cf_with_cxx" = yes ; then -echo "$as_me:18046: checking c++ library-dependency suffix" >&5 +echo "$as_me:18047: checking c++ library-dependency suffix" >&5 echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6 if test "$with_libtool" != "no"; then CXX_LIB_SUFFIX=$DFT_DEP_SUFFIX @@ -18100,7 +18101,7 @@ else test -n "$LIB_SUFFIX" && CXX_LIB_SUFFIX="${LIB_SUFFIX}${CXX_LIB_SUFFIX}" test -n "$LIB_SUFFIX" && CXX_DEP_SUFFIX="${LIB_SUFFIX}${CXX_DEP_SUFFIX}" fi -echo "$as_me:18103: result: $CXX_LIB_SUFFIX" >&5 +echo "$as_me:18104: result: $CXX_LIB_SUFFIX" >&5 echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 fi @@ -18255,12 +18256,12 @@ fi ;; esac -echo "$as_me:18258: checking where we will install curses.h" >&5 +echo "$as_me:18259: checking where we will install curses.h" >&5 echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 test "$with_overwrite" = no && \ test "x$includedir" = 'x${prefix}/include' && \ includedir='${prefix}/include/ncurses'${LIB_SUFFIX} -echo "$as_me:18263: result: $includedir" >&5 +echo "$as_me:18264: result: $includedir" >&5 echo "${ECHO_T}$includedir" >&6 ### Resolve a conflict between normal and wide-curses by forcing applications @@ -18268,7 +18269,7 @@ echo "${ECHO_T}$includedir" >&6 if test "$with_overwrite" != no ; then if test "$NCURSES_LIBUTF8" = 1 ; then NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' - { echo "$as_me:18271: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 + { echo "$as_me:18272: 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 @@ -18285,7 +18286,7 @@ EOF ### Construct the list of subdirectories for which we'll customize makefiles ### with the appropriate compile-rules. -echo "$as_me:18288: checking for src modules" >&5 +echo "$as_me:18289: checking for src modules" >&5 echo $ECHO_N "checking for src modules... $ECHO_C" >&6 # dependencies and linker-arguments for test-programs @@ -18348,7 +18349,7 @@ EOF fi fi done -echo "$as_me:18351: result: $cf_cv_src_modules" >&5 +echo "$as_me:18352: result: $cf_cv_src_modules" >&5 echo "${ECHO_T}$cf_cv_src_modules" >&6 TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" @@ -18518,7 +18519,7 @@ fi ### If we're building with rpath, try to link non-standard libs that way too. if test "$DFT_LWR_MODEL" = "shared"; then -echo "$as_me:18521: checking if rpath should be not be set" >&5 +echo "$as_me:18522: checking if rpath should be not be set" >&5 echo $ECHO_N "checking if rpath should be not be set... $ECHO_C" >&6 # Check whether --enable-rpath-hack or --disable-rpath-hack was given. @@ -18535,21 +18536,21 @@ else cf_disable_rpath_hack=no fi; -echo "$as_me:18538: result: $cf_disable_rpath_hack" >&5 +echo "$as_me:18539: result: $cf_disable_rpath_hack" >&5 echo "${ECHO_T}$cf_disable_rpath_hack" >&6 if test "$cf_disable_rpath_hack" = no ; then -echo "$as_me:18542: checking for updated LDFLAGS" >&5 +echo "$as_me:18543: checking for updated LDFLAGS" >&5 echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6 if test -n "$LD_RPATH_OPT" ; then - echo "$as_me:18545: result: maybe" >&5 + echo "$as_me:18546: result: maybe" >&5 echo "${ECHO_T}maybe" >&6 for ac_prog in ldd do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:18552: checking for $ac_word" >&5 +echo "$as_me:18553: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -18564,7 +18565,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_cf_ldd_prog="$ac_prog" -echo "$as_me:18567: found $ac_dir/$ac_word" >&5 +echo "$as_me:18568: found $ac_dir/$ac_word" >&5 break done @@ -18572,10 +18573,10 @@ fi fi cf_ldd_prog=$ac_cv_prog_cf_ldd_prog if test -n "$cf_ldd_prog"; then - echo "$as_me:18575: result: $cf_ldd_prog" >&5 + echo "$as_me:18576: result: $cf_ldd_prog" >&5 echo "${ECHO_T}$cf_ldd_prog" >&6 else - echo "$as_me:18578: result: no" >&5 + echo "$as_me:18579: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -18587,7 +18588,7 @@ test -n "$cf_ldd_prog" || cf_ldd_prog="no" if test "$cf_ldd_prog" != no then cat >conftest.$ac_ext <<_ACEOF -#line 18590 "configure" +#line 18591 "configure" #include "confdefs.h" #include int @@ -18599,16 +18600,16 @@ printf("Hello"); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18602: \"$ac_link\"") >&5 +if { (eval echo "$as_me:18603: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18605: \$? = $ac_status" >&5 + echo "$as_me:18606: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18608: \"$ac_try\"") >&5 + { (eval echo "$as_me:18609: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18611: \$? = $ac_status" >&5 + echo "$as_me:18612: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort -u` else @@ -18620,11 +18621,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 -echo "${as_me-configure}:18623: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 +echo "${as_me-configure}:18624: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 -echo "${as_me-configure}:18627: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 +echo "${as_me-configure}:18628: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 cf_rpath_dst= for cf_rpath_src in $LDFLAGS @@ -18661,7 +18662,7 @@ do then test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 -echo "${as_me-configure}:18664: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 +echo "${as_me-configure}:18665: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" fi @@ -18674,11 +18675,11 @@ LDFLAGS=$cf_rpath_dst test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 -echo "${as_me-configure}:18677: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 +echo "${as_me-configure}:18678: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 -echo "${as_me-configure}:18681: testing ...checking LIBS $LIBS ..." 1>&5 +echo "${as_me-configure}:18682: testing ...checking LIBS $LIBS ..." 1>&5 cf_rpath_dst= for cf_rpath_src in $LIBS @@ -18715,7 +18716,7 @@ do then test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 -echo "${as_me-configure}:18718: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 +echo "${as_me-configure}:18719: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" fi @@ -18728,11 +18729,11 @@ LIBS=$cf_rpath_dst test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 -echo "${as_me-configure}:18731: testing ...checked LIBS $LIBS ..." 1>&5 +echo "${as_me-configure}:18732: testing ...checked LIBS $LIBS ..." 1>&5 test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 -echo "${as_me-configure}:18735: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 +echo "${as_me-configure}:18736: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 fi @@ -18855,7 +18856,7 @@ DEFS=-DHAVE_CONFIG_H : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:18858: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:18859: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -19031,7 +19032,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:19034: error: ambiguous option: $1 + { { echo "$as_me:19035: 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;} @@ -19050,7 +19051,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:19053: error: unrecognized option: $1 + -*) { { echo "$as_me:19054: 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;} @@ -19150,7 +19151,7 @@ do "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; - *) { { echo "$as_me:19153: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:19154: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -19384,6 +19385,7 @@ s,@cf_cv_1UL@,$cf_cv_1UL,;t t s,@cf_cv_typeof_mmask_t@,$cf_cv_typeof_mmask_t,;t t s,@HAVE_VSSCANF@,$HAVE_VSSCANF,;t t s,@TEST_LIBS@,$TEST_LIBS,;t t +s,@TEST_LIBS2@,$TEST_LIBS2,;t t s,@CXXCPP@,$CXXCPP,;t t s,@CXXLDFLAGS@,$CXXLDFLAGS,;t t s,@CXX_AR@,$CXX_AR,;t t @@ -19550,7 +19552,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:19553: creating $ac_file" >&5 + { echo "$as_me:19555: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -19568,7 +19570,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:19571: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:19573: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -19581,7 +19583,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:19584: error: cannot find input file: $f" >&5 + { { echo "$as_me:19586: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -19647,7 +19649,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:19650: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:19652: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -19658,7 +19660,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:19661: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:19663: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -19671,7 +19673,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:19674: error: cannot find input file: $f" >&5 + { { echo "$as_me:19676: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -19729,7 +19731,7 @@ cat >>$CONFIG_STATUS <<\EOF rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:19732: $ac_file is unchanged" >&5 + { echo "$as_me:19734: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ diff --git a/configure.in b/configure.in index c3fde742..88612f7c 100644 --- a/configure.in +++ b/configure.in @@ -28,14 +28,14 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: configure.in,v 1.491 2010/05/15 21:40:14 tom Exp $ +dnl $Id: configure.in,v 1.494 2010/05/29 21:06:19 tom Exp $ dnl Process this file with autoconf to produce a configure script. dnl dnl See http://invisible-island.net/autoconf/ for additional information. dnl dnl --------------------------------------------------------------------------- AC_PREREQ(2.13.20020210) -AC_REVISION($Revision: 1.491 $) +AC_REVISION($Revision: 1.494 $) AC_INIT(ncurses/base/lib_initscr.c) AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) @@ -359,7 +359,7 @@ if test "$with_gpm" != no ; then SHLIB_LIST="-ldl $SHLIB_LIST" else SHLIB_LIST="-lgpm $SHLIB_LIST" - TEST_LIBS="-lgpm $TEST_LIBS" + CF_ADD_LIB(gpm,TEST_LIBS) fi AC_DEFINE(HAVE_LIBGPM) CF_CHECK_GPM_WGETCH @@ -1131,9 +1131,10 @@ if test "$with_reentrant" = yes ; then NCURSES_SIZE_T=int if test $cf_cv_weak_symbols = yes ; then CF_REMOVE_LIB(LIBS,$LIBS,pthread) - else - LIB_SUFFIX="t${LIB_SUFFIX}" + CF_ADD_LIB(pthread,TEST_LIBS) + CF_ADD_LIB(pthread,TEST_LIBS2) fi + LIB_SUFFIX="t${LIB_SUFFIX}" AC_DEFINE(USE_REENTRANT) CF_NCURSES_ABI_6 else @@ -1293,7 +1294,7 @@ AC_CHECK_FUNC(gettimeofday, AC_CHECK_LIB(bsd, gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY) - LIBS="$LIBS -lbsd")])dnl CLIX: bzero, select, gettimeofday + CF_ADD_LIB(bsd))])dnl CLIX: bzero, select, gettimeofday ;; esac @@ -1329,7 +1330,7 @@ wctype.h \ # Note: even non-Posix ISC needs to declare fd_set if test "$ISC" = yes ; then AC_CHECK_LIB(cposix,main) - AC_CHECK_LIB(inet,bzero,LIBS="$LIBS -linet")dnl also 'select()' + AC_CHECK_LIB(inet,bzero,CF_ADD_LIB(inet))dnl also 'select()' fi CF_SYS_TIME_SELECT @@ -1421,10 +1422,11 @@ if test "$cf_cv_func_openpty" != no ; then AC_DEFINE_UNQUOTED(USE_OPENPTY_HEADER,<$cf_cv_func_openpty>) AC_DEFINE(USE_XTERM_PTY) if test "$cf_cv_lib_util" = yes ; then - TEST_LIBS="-lutil $TEST_LIBS" + CF_ADD_LIB(util,TEST_LIBS) fi fi AC_SUBST(TEST_LIBS) +AC_SUBST(TEST_LIBS2) if test "$with_hashed_db" != no ; then AC_DEFINE(USE_HASHED_DB) diff --git a/dist.mk b/dist.mk index 6ef73d1a..54c1efd3 100644 --- a/dist.mk +++ b/dist.mk @@ -25,7 +25,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.759 2010/05/20 10:43:30 tom Exp $ +# $Id: dist.mk,v 1.760 2010/05/29 17:36:13 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -37,7 +37,7 @@ SHELL = /bin/sh # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 5 NCURSES_MINOR = 7 -NCURSES_PATCH = 20100522 +NCURSES_PATCH = 20100529 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) diff --git a/doc/html/ada/funcs/C.htm b/doc/html/ada/funcs/C.htm index 04646263..eba0274a 100644 --- a/doc/html/ada/funcs/C.htm +++ b/doc/html/ada/funcs/C.htm @@ -29,14 +29,14 @@
  • Copy_Arg
  • Count - terminal_interface-curses-forms.adb:774
  • Count - terminal_interface-curses-menus.adb:912 -
  • Create - terminal_interface-curses-forms-field_types-enumeration-ada.ads:48 -
  • Create - terminal_interface-curses-forms-field_types-enumeration.ads:64 +
  • Create - terminal_interface-curses.ads:569
  • Create - terminal_interface-curses-forms.ads:293
  • Create - terminal_interface-curses-forms.ads:623 +
  • Create - terminal_interface-curses-forms-field_types-enumeration-ada.ads:48 +
  • Create - terminal_interface-curses-forms-field_types-enumeration.ads:64
  • Create - terminal_interface-curses-menus.ads:191
  • Create - terminal_interface-curses-menus.ads:638
  • Create - terminal_interface-curses-panels.ads:67 -
  • Create - terminal_interface-curses.ads:569
  • Current - terminal_interface-curses-forms.ads:729
  • Current - terminal_interface-curses-menus.ads:294
  • Current_Fld diff --git a/doc/html/ada/funcs/D.htm b/doc/html/ada/funcs/D.htm index 4003553b..ea426477 100644 --- a/doc/html/ada/funcs/D.htm +++ b/doc/html/ada/funcs/D.htm @@ -16,12 +16,12 @@
  • Def_Shell_Mode
  • Delayoutput
  • Delay_Output +
  • Delete - terminal_interface-curses.ads:588
  • Delete - terminal_interface-curses-forms.ads:315
  • Delete - terminal_interface-curses-forms.ads:634
  • Delete - terminal_interface-curses-menus.ads:203
  • Delete - terminal_interface-curses-menus.ads:645
  • Delete - terminal_interface-curses-panels.ads:139 -
  • Delete - terminal_interface-curses.ads:588
  • Delete_Character - terminal_interface-curses.ads:1334
  • Delete_Character - terminal_interface-curses.ads:1339
  • Delete_Line @@ -38,8 +38,8 @@
  • Driver - terminal_interface-curses-forms.ads:711
  • Driver - terminal_interface-curses-menus.ads:660
  • Driver - terminal_interface-curses-menus.adb:973 -
  • Duplicate - terminal_interface-curses-forms.ads:321
  • Duplicate - terminal_interface-curses.ads:614 +
  • Duplicate - terminal_interface-curses-forms.ads:321
  • Dupwin
  • Dup_Field
  • Dynamic_Info diff --git a/doc/html/ada/funcs/P.htm b/doc/html/ada/funcs/P.htm index f781d9c0..6f057c37 100644 --- a/doc/html/ada/funcs/P.htm +++ b/doc/html/ada/funcs/P.htm @@ -31,6 +31,10 @@
  • Pos_Menu_Cursor
  • Prefresh
  • Prev_Router +
  • Put - terminal_interface-curses-text_io.ads:108 +
  • Put - terminal_interface-curses-text_io.ads:109 +
  • Put - terminal_interface-curses-text_io.ads:115 +
  • Put - terminal_interface-curses-text_io.ads:116
  • Put - terminal_interface-curses-text_io-complex_io.ads:54
  • Put - terminal_interface-curses-text_io-complex_io.ads:61
  • Put - terminal_interface-curses-text_io-decimal_io.ads:50 @@ -45,10 +49,6 @@
  • Put - terminal_interface-curses-text_io-integer_io.ads:55
  • Put - terminal_interface-curses-text_io-modular_io.ads:49
  • Put - terminal_interface-curses-text_io-modular_io.ads:55 -
  • Put - terminal_interface-curses-text_io.ads:108 -
  • Put - terminal_interface-curses-text_io.ads:109 -
  • Put - terminal_interface-curses-text_io.ads:115 -
  • Put - terminal_interface-curses-text_io.ads:116
  • putp
  • putwin
  • Put_Buf diff --git a/doc/html/ada/funcs/S.htm b/doc/html/ada/funcs/S.htm index b3a542df..9b08e4f2 100644 --- a/doc/html/ada/funcs/S.htm +++ b/doc/html/ada/funcs/S.htm @@ -20,9 +20,9 @@
  • scr_init
  • scr_restore
  • scr_set +
  • Set_Background - terminal_interface-curses.ads:1108
  • Set_Background - terminal_interface-curses-forms.ads:446
  • Set_Background - terminal_interface-curses-menus.ads:443 -
  • Set_Background - terminal_interface-curses.ads:1108
  • Set_Buffer
  • Set_Cbreak_Mode
  • Set_Character_Attributes @@ -60,6 +60,7 @@
  • Set_Field_Userptr
  • Set_Fld_Buffer
  • Set_Fld_Status +
  • Set_Fld_Type - terminal_interface-curses-forms-field_types.adb:151
  • Set_Fld_Type - terminal_interface-curses-forms-field_types-alpha.adb:52
  • Set_Fld_Type - terminal_interface-curses-forms-field_types-alphanumeric.adb:52
  • Set_Fld_Type - terminal_interface-curses-forms-field_types-enumeration.adb:97 @@ -67,7 +68,6 @@
  • Set_Fld_Type - terminal_interface-curses-forms-field_types-ipv4_address.adb:52
  • Set_Fld_Type - terminal_interface-curses-forms-field_types-numeric.adb:55
  • Set_Fld_Type - terminal_interface-curses-forms-field_types-user.adb:53 -
  • Set_Fld_Type - terminal_interface-curses-forms-field_types.adb:151
  • Set_Flush_On_Interrupt_Mode
  • Set_Foreground - terminal_interface-curses-forms.ads:426
  • Set_Foreground - terminal_interface-curses-menus.ads:423 diff --git a/doc/html/ada/funcs/T.htm b/doc/html/ada/funcs/T.htm index 22401c4b..bb8dea12 100644 --- a/doc/html/ada/funcs/T.htm +++ b/doc/html/ada/funcs/T.htm @@ -29,8 +29,6 @@
  • Touch - terminal_interface-curses.ads:1145
  • Touch_Soft_Label_Keys
  • tputs -
  • traceC -
  • tracef
  • Trace_On
  • Trace_Put
  • Transform diff --git a/doc/html/ada/main.htm b/doc/html/ada/main.htm index 701fe7d1..d850608c 100644 --- a/doc/html/ada/main.htm +++ b/doc/html/ada/main.htm @@ -29,7 +29,11 @@
    You should start your browsing with one of these files: diff --git a/doc/html/ada/table.html b/doc/html/ada/table.html index ce8d91f4..ff6d0bd4 100644 --- a/doc/html/ada/table.html +++ b/doc/html/ada/table.html @@ -10,8 +10,6 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> - - @@ -24,15 +22,15 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> - + - - + + @@ -52,9 +50,9 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> + - @@ -66,9 +64,9 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> + - @@ -98,17 +96,17 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> + - + - @@ -134,9 +132,9 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> + - @@ -152,19 +150,20 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> - + - - + + + @@ -172,10 +171,10 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> + - @@ -209,9 +208,9 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> + - @@ -259,10 +258,10 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> - - + + @@ -286,6 +285,7 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> + @@ -295,16 +295,16 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> - + - + @@ -319,8 +319,8 @@ PUBLIC "-//IETF//DTD HTML 3.0//EN"> - + diff --git a/doc/html/ada/terminal_interface-curses-forms__ads.htm b/doc/html/ada/terminal_interface-curses-forms__ads.htm index 0d798db4..91432030 100644 --- a/doc/html/ada/terminal_interface-curses-forms__ads.htm +++ b/doc/html/ada/terminal_interface-curses-forms__ads.htm @@ -53,8 +53,8 @@ packageTerminal_Interface.Curses.Formsispragma Preelaborate (Terminal_Interface.Curses.Forms); - pragma Linker_Options ("-lformw"); - pragma Linker_Options ("-lncursesw"); + pragma Linker_Options ("-lform"); + pragma Linker_Options ("-lncurses"); Space : Character renames Ada.Characters.Latin_1.Space; diff --git a/doc/html/ada/terminal_interface-curses-menus__ads.htm b/doc/html/ada/terminal_interface-curses-menus__ads.htm index 391ca8ee..82782336 100644 --- a/doc/html/ada/terminal_interface-curses-menus__ads.htm +++ b/doc/html/ada/terminal_interface-curses-menus__ads.htm @@ -53,8 +53,8 @@ packageTerminal_Interface.Curses.Menusispragma Preelaborate (Terminal_Interface.Curses.Menus); - pragma Linker_Options ("-lmenuw"); - pragma Linker_Options ("-lncursesw"); + pragma Linker_Options ("-lmenu"); + pragma Linker_Options ("-lncurses"); Space : Character renames Ada.Characters.Latin_1.Space; diff --git a/doc/html/ada/terminal_interface-curses-panels__ads.htm b/doc/html/ada/terminal_interface-curses-panels__ads.htm index 78930473..5f140196 100644 --- a/doc/html/ada/terminal_interface-curses-panels__ads.htm +++ b/doc/html/ada/terminal_interface-curses-panels__ads.htm @@ -48,8 +48,8 @@ packageTerminal_Interface.Curses.Panelsispragma Preelaborate (Terminal_Interface.Curses.Panels); - pragma Linker_Options ("-lpanelw"); - pragma Linker_Options ("-lncursesw"); + pragma Linker_Options ("-lpanel"); + pragma Linker_Options ("-lncurses"); typePanelisprivate; diff --git a/doc/html/ada/terminal_interface-curses-trace__adb.htm b/doc/html/ada/terminal_interface-curses-trace__adb.htm index 6a500c1a..350f4fde 100644 --- a/doc/html/ada/terminal_interface-curses-trace__adb.htm +++ b/doc/html/ada/terminal_interface-curses-trace__adb.htm @@ -43,40 +43,19 @@ -- @Revision: 1.6 @-- Binding Version 01.00------------------------------------------------------------------------------ -withInterfaces.C; useInterfaces.C; -withTerminal_Interface.Curses.Aux; useTerminal_Interface.Curses.Aux; -with Ada.Unchecked_Conversion; -packagebodyTerminal_Interface.Curses.Traceis +packagebodyTerminal_Interface.Curses.Traceis - typeC_TraceTypeisnewC_UInt; - - function TraceAda_To_TraceC isnew - Ada.Unchecked_Conversion (Source => Trace_Attribute_Set, - Target => C_TraceType); - - procedureTrace_On (x : Trace_Attribute_Set) is - proceduretraceC (y : C_TraceType); - pragma Import (C, traceC, "trace"); + procedureTrace_On (x : Trace_Attribute_Set) is + pragma Unreferenced (x); begin - traceC (TraceAda_To_TraceC (x)); + null; endTrace_On; - -- 75. (12) A C function that takes a variable number of arguments can - -- correspond to several Ada subprograms, taking various specific - -- numbers and types of parameters. - - procedureTrace_Put (str : String) is - proceduretracef (format : char_array; s : char_array); - pragma Import (C, tracef, "_tracef"); - Txt : char_array (0 .. str'Length); - Length : size_t; - formatstr : constant String := "%s" & ASCII.NUL; - formattxt : char_array (0 .. formatstr'Length); + procedureTrace_Put (str : String) is + pragma Unreferenced (str); begin - To_C (formatstr, formattxt, Length); - To_C (str, Txt, Length); - tracef (formattxt, Txt); + null; endTrace_Put; endTerminal_Interface.Curses.Trace; diff --git a/doc/html/ada/terminal_interface-curses-trace__ads.htm b/doc/html/ada/terminal_interface-curses-trace__ads.htm index ef569c27..8ab28f04 100644 --- a/doc/html/ada/terminal_interface-curses-trace__ads.htm +++ b/doc/html/ada/terminal_interface-curses-trace__ads.htm @@ -44,7 +44,7 @@ -- Binding Version 01.00------------------------------------------------------------------------------ -packageTerminal_Interface.Curses.Traceis +packageTerminal_Interface.Curses.Traceispragma Preelaborate (Terminal_Interface.Curses.Trace); pragma Warnings (Off); @@ -104,11 +104,11 @@ -- |=====================================================================-- #1A NAME="AFU_1"#2| - procedureTrace_On (x : Trace_Attribute_Set); + procedureTrace_On (x : Trace_Attribute_Set); -- The debugging library has trace.-- #1A NAME="AFU_2"#2| - procedureTrace_Put (str : String); + procedureTrace_Put (str : String); -- AKA: _tracef()Current_Trace_Setting : Trace_Attribute_Set; diff --git a/doc/html/ada/terminal_interface-curses__ads.htm b/doc/html/ada/terminal_interface-curses__ads.htm index 608ff251..6d670cc0 100644 --- a/doc/html/ada/terminal_interface-curses__ads.htm +++ b/doc/html/ada/terminal_interface-curses__ads.htm @@ -53,7 +53,7 @@ packageTerminal_Interface.Cursesispragma Preelaborate (Terminal_Interface.Curses); - pragma Linker_Options ("-lncursesw"); + pragma Linker_Options ("-lncurses"); NC_Major_Version : constant := 5; -- Major version of the libraryNC_Minor_Version : constant := 7; -- Minor version of the library diff --git a/doc/html/man/adacurses-config.1.html b/doc/html/man/adacurses-config.1.html new file mode 100644 index 00000000..56210c9f --- /dev/null +++ b/doc/html/man/adacurses-config.1.html @@ -0,0 +1,96 @@ + + + + +ADACURSES 1 User Commands + + + + +

    ADACURSES 1 User Commands

    +
    +
    +
    +ADACURSES(1)                 User Commands                 ADACURSES(1)
    +
    +
    +
    +
    +
    +

    NAME

    +       adacurses-config - helper script for AdaCurses libraries
    +
    +
    +
    +

    SYNOPSIS

    +       adacurses-config [options]
    +
    +
    +
    +

    DESCRIPTION

    +       This  is  a  shell  script which simplifies configuring an
    +       application  to  use  the  AdaCurses  library  binding  to
    +       ncurses.
    +
    +
    +
    +

    OPTIONS

    +       --cflags
    +              echos  the gnat (Ada compiler) flags needed to com-
    +              pile with adacurses
    +
    +       --libs echos  the  gnat  libraries  needed  to  link  with
    +              adacurses
    +
    +       --version
    +              echos the release+patchdate version of adacurses
    +
    +       --help prints this message
    +
    +
    +
    +

    SEE ALSO

    +       curses(3x)
    +
    +       This describes ncurses version 5.7 (patch 20100529).
    +
    +
    +
    +                                                           ADACURSES(1)
    +
    +
    +
    +Man(1) output converted with +man2html +
    + + diff --git a/doc/html/man/captoinfo.1m.html b/doc/html/man/captoinfo.1m.html index 4cbbfe83..d97620b3 100644 --- a/doc/html/man/captoinfo.1m.html +++ b/doc/html/man/captoinfo.1m.html @@ -204,7 +204,7 @@

    SEE ALSO

            infocmp(1m), curses(3x), terminfo(5)
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/clear.1.html b/doc/html/man/clear.1.html index c88203b6..075a27c8 100644 --- a/doc/html/man/clear.1.html +++ b/doc/html/man/clear.1.html @@ -69,7 +69,7 @@

    SEE ALSO

            tput(1), terminfo(5)
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/curs_bkgd.3x.html b/doc/html/man/curs_bkgd.3x.html
    index e73f90f9..bcd5712c 100644
    --- a/doc/html/man/curs_bkgd.3x.html
    +++ b/doc/html/man/curs_bkgd.3x.html
    @@ -1,7 +1,7 @@
     
     
     
     
    @@ -110,7 +110,7 @@
     

    PORTABILITY

            These  functions are described in the XSI Curses standard,
            Issue 4.  It specifies that bkgd and wbkgd return  ERR  on
    -       failure.  but gives no failure conditions.
    +       failure, but gives no failure conditions.
     
     
     
    diff --git a/doc/html/man/curs_getch.3x.html b/doc/html/man/curs_getch.3x.html index 70a62b59..32194bb2 100644 --- a/doc/html/man/curs_getch.3x.html +++ b/doc/html/man/curs_getch.3x.html @@ -2,7 +2,7 @@ @@ -78,7 +78,7 @@ Unless noecho has been set, then the character will also be echoed into the designated window according to the fol- - lowing rules: If the character is the current erase char- + lowing rules: if the character is the current erase char- acter, left arrow, or backspace, the cursor is moved one space to the left and that screen position is erased as if delch had been called. If the character value is any oth- diff --git a/doc/html/man/curs_mouse.3x.html b/doc/html/man/curs_mouse.3x.html index d1bfe98c..452b582f 100644 --- a/doc/html/man/curs_mouse.3x.html +++ b/doc/html/man/curs_mouse.3x.html @@ -28,7 +28,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_mouse.3x,v 1.34 2010/01/02 21:45:42 tom Exp @ + * @Id: curs_mouse.3x,v 1.35 2010/01/30 20:58:50 tom Exp @ --> @@ -213,7 +213,7 @@ getmouse returns an error. If no mouse driver was ini- - tialized, or if the mask parameter is zero, It + tialized, or if the mask parameter is zero, it also returns an error if no more events remain in the queue. diff --git a/doc/html/man/curs_outopts.3x.html b/doc/html/man/curs_outopts.3x.html index c8d4a06c..4833dc0e 100644 --- a/doc/html/man/curs_outopts.3x.html +++ b/doc/html/man/curs_outopts.3x.html @@ -1,7 +1,7 @@ @@ -115,40 +115,40 @@ leave it. It is useful for applications where the cursor is not used, since it reduces the need for cursor motions. - The setscrreg and wsetscrreg routines allow the applica- - tion programmer to set a software scrolling region in a - window. top and bot are the line numbers of the top and - bottom margin of the scrolling region. (Line 0 is the top - line of the window.) If this option and scrollok are en- - abled, an attempt to move off the bottom margin line caus- - es all lines in the scrolling region to scroll one line in - the direction of the first line. Only the text of the - window is scrolled. (Note that this has nothing to do - with the use of a physical scrolling region capability in - the terminal, like that in the VT100. If idlok is enabled - and the terminal has either a scrolling region or in- - sert/delete line capability, they will probably be used by - the output routines.) - - The scrollok option controls what happens when the cursor - of a window is moved off the edge of the window or - scrolling region, either as a result of a newline action - on the bottom line, or typing the last character of the + The setscrreg and wsetscrreg routines allow the applica- + tion programmer to set a software scrolling region in a + window. The top and bot parameters are the line numbers + of the top and bottom margin of the scrolling region. + (Line 0 is the top line of the window.) If this option + and scrollok are enabled, an attempt to move off the bot- + tom margin line causes all lines in the scrolling region + to scroll one line in the direction of the first line. + Only the text of the window is scrolled. (Note that this + has nothing to do with the use of a physical scrolling re- + gion capability in the terminal, like that in the VT100. + If idlok is enabled and the terminal has either a + scrolling region or insert/delete line capability, they + will probably be used by the output routines.) + + The scrollok option controls what happens when the cursor + of a window is moved off the edge of the window or + scrolling region, either as a result of a newline action + on the bottom line, or typing the last character of the last line. If disabled, (bf is FALSE), the cursor is left - on the bottom line. If enabled, (bf is TRUE), the window - is scrolled up one line (Note that to get the physical - scrolling effect on the terminal, it is also necessary to + on the bottom line. If enabled, (bf is TRUE), the window + is scrolled up one line (Note that to get the physical + scrolling effect on the terminal, it is also necessary to call idlok). - The nl and nonl routines control whether the underlying - display device translates the return key into newline on - input, and whether it translates newline into return and - line-feed on output (in either case, the call addch('\n') + The nl and nonl routines control whether the underlying + display device translates the return key into newline on + input, and whether it translates newline into return and + line-feed on output (in either case, the call addch('\n') does the equivalent of return and line feed on the virtual - screen). Initially, these translations do occur. If you - disable them using nonl, curses will be able to make bet- - ter use of the line-feed capability, resulting in faster - cursor motion. Also, curses will then be able to detect + screen). Initially, these translations do occur. If you + disable them using nonl, curses will be able to make bet- + ter use of the line-feed capability, resulting in faster + cursor motion. Also, curses will then be able to detect the return key. @@ -161,19 +161,19 @@ X/Open does not define any error conditions. In this implementation, those functions that have a window - pointer will return an error if the window pointer is + pointer will return an error if the window pointer is null. wclrtoeol - returns an error if the cursor position is + returns an error if the cursor position is about to wrap. wsetscrreg - returns an error if the scrolling region lim- + returns an error if the scrolling region lim- its extend outside the window. - X/Open does not define any error conditions. This imple- - mentation returns an error if the window pointer is null. + X/Open does not define any error conditions. This imple- + mentation returns an error if the window pointer is null.
    diff --git a/doc/html/man/curs_pad.3x.html b/doc/html/man/curs_pad.3x.html index e4971813..0f2fffb7 100644 --- a/doc/html/man/curs_pad.3x.html +++ b/doc/html/man/curs_pad.3x.html @@ -1,7 +1,7 @@ @@ -97,16 +97,16 @@ wrefresh and wnoutrefresh except that they relate to pads instead of windows. The additional parameters are needed to indicate what part of the pad and screen are involved. - pminrow and pmincol specify the upper left-hand corner of - the rectangle to be displayed in the pad. sminrow, smin- - col, smaxrow, and smaxcol specify the edges of the rectan- - gle to be displayed on the screen. The lower right-hand - corner of the rectangle to be displayed in the pad is cal- - culated from the screen coordinates, since the rectangles - must be the same size. Both rectangles must be entirely - contained within their respective structures. Negative - values of pminrow, pmincol, sminrow, or smincol are treat- - ed as if they were zero. + The pminrow and pmincol parameters specify the upper left- + hand corner of the rectangle to be displayed in the pad. + The sminrow, smincol, smaxrow, and smaxcol parameters + specify the edges of the rectangle to be displayed on the + screen. The lower right-hand corner of the rectangle to + be displayed in the pad is calculated from the screen co- + ordinates, since the rectangles must be the same size. + Both rectangles must be entirely contained within their + respective structures. Negative values of pminrow, pmin- + col, sminrow, or smincol are treated as if they were zero. The pechochar routine is functionally equivalent to a call to addch followed by a call to refresh, a call to waddch diff --git a/doc/html/man/curs_slk.3x.html b/doc/html/man/curs_slk.3x.html index e76dcc7e..0fa3049e 100644 --- a/doc/html/man/curs_slk.3x.html +++ b/doc/html/man/curs_slk.3x.html @@ -1,7 +1,7 @@ @@ -84,56 +84,70 @@ that do not have soft labels, curses takes over the bottom line of stdscr, reducing the size of stdscr and the vari- able LINES. curses standardizes on eight labels of up to - eight characters each. In addition to this, the ncurses + eight characters each. In addition to this, the ncurses implementation supports a mode where it simulates 12 la- - bels of up to five characters each. This is most common - for todays PC like enduser devices. Please note that - ncurses simulates this mode by taking over up to two lines - at the bottom of the screen, it does not try to use any - hardware support for this mode. + bels of up to five characters each. This is useful for + today's PC-like enduser devices. ncurses simulates this + mode by taking over up to two lines at the bottom of the + screen; it does not try to use any hardware support for + this mode. The slk_init routine must be called before initscr or newterm is called. If initscr eventually uses a line from stdscr to emulate the soft labels, then fmt determines how - the labels are arranged on the screen. Setting fmt to 0 - indicates a 3-2-3 arrangement of the labels, 1 indicates a - 4-4 arrangement and 2 indicates the PC like 4-4-4 mode. If - fmt is set to 3, it is again the PC like 4-4-4 mode, but - in addition an index line is generated, helping the user - to identify the key numbers easily. - - The slk_set routine requires labnum to be a label number, - from 1 to 8 (resp. 12); label must be the string to be put - on the label, up to eight (resp. five) characters in - length. A null string or a null pointer sets up a blank - label. fmt is either 0, 1, or 2, indicating whether the - label is to be left-justified, centered, or right-justi- - fied, respectively, within the label. + the labels are arranged on the screen: + + 0 indicates a 3-2-3 arrangement of the labels. + + 1 indicates a 4-4 arrangement + + 2 indicates the PC-like 4-4-4 mode. + + 3 is again the PC-like 4-4-4 mode, but in addition + an index line is generated, helping the user to + identify the key numbers easily. + + The slk_set routine has three parameters: + + labnum + is the label number, from 1 to 8 (12 for fmt + in slk_init is 2 or 3); + + label + is be the string to put on the label, up to + eight (five for fmt in slk_init is 2 or 3) + characters in length. A null string or a null + pointer sets up a blank label. + + fmt is either 0, 1, or 2, indicating whether the + label is to be left-justified, centered, or + right-justified, respectively, within the la- + bel. The slk_refresh and slk_noutrefresh routines correspond to the wrefresh and wnoutrefresh routines. The slk_label routine returns the current label for label - number labnum, with leading and trailing blanks stripped. + number labnum, with leading and trailing blanks stripped. - The slk_clear routine clears the soft labels from the + The slk_clear routine clears the soft labels from the screen. - The slk_restore routine restores the soft labels to the + The slk_restore routine restores the soft labels to the screen after a slk_clear has been performed. - The slk_touch routine forces all the soft labels to be + The slk_touch routine forces all the soft labels to be output the next time a slk_noutrefresh is performed. The slk_attron, slk_attrset, slk_attroff and slk_attr rou- tines correspond to attron, attrset, attroff and attr_get. - They have an effect only if soft labels are simulated on - the bottom line of the screen. The default highlight for + They have an effect only if soft labels are simulated on + the bottom line of the screen. The default highlight for soft keys is A_STANDOUT (as in System V curses, which does not document this fact). - The slk_color routine corresponds to color_set. It has an - effect only if soft labels are simulated on the bottom + The slk_color routine corresponds to color_set. It has an + effect only if soft labels are simulated on the bottom line of the screen. @@ -143,44 +157,44 @@ fies only "an integer value other than ERR") upon success- ful completion. - X/Open defines no error conditions. In this implementa- + X/Open defines no error conditions. In this implementa- tion slk_attr - returns the attribute used for the soft keys. + returns the attribute used for the soft keys. slk_attroff, slk_attron, slk_clear, slk_noutrefresh, slk_refresh, slk_touch - return an error if the terminal or the soft- + return an error if the terminal or the soft- keys were not initialized. slk_attrset - returns an error if the terminal or the soft- + returns an error if the terminal or the soft- keys were not initialized. slk_attr_set - returns an error if the terminal or the soft- - keys were not initialized, or the color pair + returns an error if the terminal or the soft- + keys were not initialized, or the color pair is outside the range 0..COLOR_PAIRS-1, or opts is not null. slk_color - returns an error if the terminal or the soft- - keys were not initialized, or the color pair + returns an error if the terminal or the soft- + keys were not initialized, or the color pair is outside the range 0..COLOR_PAIRS-1. slk_init - returns an error if the format parameter is + returns an error if the format parameter is outside the range 0..3. slk_label returns NULL on error. slk_set - returns an error if the terminal or the soft- - keys were not initialized, or the labnum pa- - rameter is outside the range of label counts, - or if the format parameter is outside the + returns an error if the terminal or the soft- + keys were not initialized, or the labnum pa- + rameter is outside the range of label counts, + or if the format parameter is outside the range 0..2, or if memory for the labels cannot be allocated. @@ -193,17 +207,17 @@

    PORTABILITY

    -       The  XSI  Curses  standard, Issue 4, describes these func-
    -       tions.  It changes the argument type of the  attribute-ma-
    -       nipulation  functions slk_attron, slk_attroff, slk_attrset
    -       to be attr_t, and adds const qualifiers. The format  codes
    -       2  and 3 for slk_init() and the function slk_attr are spe-
    +       The XSI Curses standard, Issue 4,  describes  these  func-
    +       tions.   It changes the argument type of the attribute-ma-
    +       nipulation functions slk_attron, slk_attroff,  slk_attrset
    +       to be attr_t, and adds const qualifiers.  The format codes
    +       2 and 3 for slk_init() and the function slk_attr are  spe-
            cific to ncurses.
     
     
     

    SEE ALSO

    -       curses(3x),  curs_attr(3x),   curs_initscr(3x),   curs_re-
    +       curses(3x),   curs_attr(3x),   curs_initscr(3x),  curs_re-
            fresh(3x)
     
     
    diff --git a/doc/html/man/form.3x.html b/doc/html/man/form.3x.html
    index 63775f86..afeef320 100644
    --- a/doc/html/man/form.3x.html
    +++ b/doc/html/man/form.3x.html
    @@ -243,7 +243,7 @@
     
     

    SEE ALSO

    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/form_driver.3x.html b/doc/html/man/form_driver.3x.html
    index 66eb7e6a..70129048 100644
    --- a/doc/html/man/form_driver.3x.html
    +++ b/doc/html/man/form_driver.3x.html
    @@ -1,7 +1,7 @@
     
     
     
     
    @@ -262,7 +262,7 @@
            If the second argument is the KEY_MOUSE special  key,  the
            associated mouse event is translated into one of the above
            pre-defined requests.  Currently only clicks in  the  user
    -       window  (e.g.  inside the form display area or the decora-
    +       window  (e.g., inside the form display area or the decora-
            tion window) are handled.
     
            If you click above the display region of the form:
    @@ -271,7 +271,7 @@
     
                   a REQ_PREV_PAGE is generated for a double-click and
     
    -              a REQ_FIRST_FIELD is generated for a  triple-click.
    +              a REQ_FIRST_FIELD is generated for a triple-click.
     
            If you click below the display region of the form:
     
    @@ -296,18 +296,18 @@
                      be executed.
     
                   -  If  a  translation  into  a  request  was  done,
    -                 form_driver  returns the result of this request.
    +                 form_driver returns the result of this request.
     
    -       If you clicked outside the user window or the mouse  event
    -       could   not   be   translated   into  a  form  request  an
    +       If  you clicked outside the user window or the mouse event
    +       could  not  be  translated  into   a   form   request   an
            E_REQUEST_DENIED is returned.
     
        APPLICATION-DEFINED COMMANDS
            If the second argument is neither printable nor one of the
    -       above  pre-defined form requests, the driver assumes it is
    +       above pre-defined form requests, the driver assumes it  is
            an application-specific command and returns E_UNKNOWN_COM-
            MAND.  Application-defined commands should be defined rel-
    -       ative to MAX_COMMAND, the  maximum  value  of  these  pre-
    +       ative  to  MAX_COMMAND,  the  maximum  value of these pre-
            defined requests.
     
     
    @@ -318,7 +318,7 @@
            E_OK The routine succeeded.
     
            E_BAD_ARGUMENT
    -            Routine  detected  an incorrect or out-of-range argu-
    +            Routine detected an incorrect or  out-of-range  argu-
                 ment.
     
            E_BAD_STATE
    @@ -354,13 +354,13 @@
     
     

    PORTABILITY

    -       These routines emulate the System V forms  library.   They
    +       These  routines  emulate the System V forms library.  They
            were not supported on Version 7 or BSD versions.
     
     
     

    AUTHORS

    -       Juergen  Pfeifer.   Manual  pages  and  adaptation for new
    +       Juergen Pfeifer.  Manual  pages  and  adaptation  for  new
            curses by Eric S. Raymond.
     
     
    diff --git a/doc/html/man/form_field_opts.3x.html b/doc/html/man/form_field_opts.3x.html
    index f9a13217..e1c453e9 100644
    --- a/doc/html/man/form_field_opts.3x.html
    +++ b/doc/html/man/form_field_opts.3x.html
    @@ -2,7 +2,7 @@
     
     
     
    @@ -78,17 +78,17 @@
            The following options are defined (all are on by default):
     
            O_VISIBLE
    -            The  field is displayed.  If this option is off, dis-
    +            The field is displayed.  If this option is off,  dis-
                 play of the field is suppressed.
     
            O_ACTIVE
    -            The field is  visited  during  processing.   If  this
    -            option  is  off,  the  field will not be reachable by
    -            navigation keys.  Please  notice  that  an  invisible
    +            The  field  is  visited  during  processing.  If this
    +            option is off, the field will  not  be  reachable  by
    +            navigation  keys.  Please  notice  that  an invisible
                 field appears to be inactive also.
     
            O_PUBLIC
    -            The  field contents are displayed as data is entered.
    +            The field contents are displayed as data is entered.
     
            O_EDIT
                 The field can be edited.
    @@ -138,8 +138,10 @@
            curses(3x), form(3x).
     
     
    -       NOTES  The header file <form.h> automatically includes the
    -              header file <curses.h>.
    +
    +

    NOTES

    +       The header file <form.h> automatically includes the header
    +       file <curses.h>.
     
     
     
    diff --git a/doc/html/man/infocmp.1m.html b/doc/html/man/infocmp.1m.html index 98354c28..5cda1cf0 100644 --- a/doc/html/man/infocmp.1m.html +++ b/doc/html/man/infocmp.1m.html @@ -423,7 +423,7 @@ captoinfo(1m), infotocap(1m), tic(1m), toe(1m), curses(3x), terminfo(5). - This describes ncurses version 5.7 (patch 20100109). + This describes ncurses version 5.7 (patch 20100529). diff --git a/doc/html/man/infotocap.1m.html b/doc/html/man/infotocap.1m.html index 7e1e7d65..ee9c7aeb 100644 --- a/doc/html/man/infotocap.1m.html +++ b/doc/html/man/infotocap.1m.html @@ -93,7 +93,7 @@

    SEE ALSO

            curses(3x), tic(1m), infocmp(1m), terminfo(5)
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/menu.3x.html b/doc/html/man/menu.3x.html
    index f03775b2..bae58ebc 100644
    --- a/doc/html/man/menu.3x.html
    +++ b/doc/html/man/menu.3x.html
    @@ -226,7 +226,7 @@
     
     

    SEE ALSO

    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/menu_driver.3x.html b/doc/html/man/menu_driver.3x.html
    index 05c605c8..c5fe1f72 100644
    --- a/doc/html/man/menu_driver.3x.html
    +++ b/doc/html/man/menu_driver.3x.html
    @@ -1,7 +1,7 @@
     
     
     
     
    @@ -141,7 +141,7 @@
            If  the  second argument is the KEY_MOUSE special key, the
            associated mouse event is translated into one of the above
            pre-defined  requests.   Currently only clicks in the user
    -       window (e.g. inside the menu display area or  the  decora-
    +       window (e.g., inside the menu display area or the  decora-
            tion window) are handled.
     
            If you click above the display region of the menu:
    diff --git a/doc/html/man/menu_spacing.3x.html b/doc/html/man/menu_spacing.3x.html
    index 736e95cf..0c6550b5 100644
    --- a/doc/html/man/menu_spacing.3x.html
    +++ b/doc/html/man/menu_spacing.3x.html
    @@ -2,7 +2,7 @@
     
     
     
    @@ -67,29 +67,30 @@
     

    DESCRIPTION

            The  function  set_menu_spacing  sets the spacing informa-
    -       tions for the menu.  spc_description controls  the  number
    -       of spaces between an item name and an item description. It
    -       must not be larger than TABSIZE. The menu system  puts  in
    -       the  middle  of  this  spacing area the pad character. The
    -       remaining parts are filled with spaces.  spc_rows controls
    -       the  number of rows that are used for an item. It must not
    -       be larger than 3. The menu system inserts the blank  lines
    -       between  item rows, these lines will contain the pad char-
    -       acter in the appropriate positions.  spc_columns  controls
    -       the number of blanks between columns of items. It must not
    -       be larger than TABSIZE.  A value of 0 for all the  spacing
    -       values  resets  them to the default, which is 1 for all of
    -       them.
    +       tions for the menu.  Its  parameter  spc_description  con-
    +       trols  the  number  of  spaces between an item name and an
    +       item description.  It must not  be  larger  than  TABSIZE.
    +       The  menu  system  puts in the middle of this spacing area
    +       the pad character.  The remaining parts  are  filled  with
    +       spaces.   The  spc_rows  parameter  controls the number of
    +       rows that are used for an item.  It  must  not  be  larger
    +       than  3.   The menu system inserts the blank lines between
    +       item rows, these lines will contain the pad  character  in
    +       the appropriate positions.  The spc_columns parameter con-
    +       trols the number of blanks between columns of  items.   It
    +       must not be larger than TABSIZE.  A value of 0 for all the
    +       spacing values resets them to the default, which is 1  for
    +       all of them.
            The function menu_spacing passes back the spacing info for
    -       the menu. If a pointer is NULL, this specific info is sim-
    -       ply not returned.
    +       the menu.  If a pointer is NULL,  this  specific  info  is
    +       simply not returned.
     
     
     

    RETURN VALUE

    -       Both routines return E_OK on success. set_menu_spacing may
    -       return  E_POSTED  if the menu is posted, or E_BAD_ARGUMENT
    -       if one of the spacing values is out of range.
    +       Both  routines  return  E_OK on success.  set_menu_spacing
    +       may return E_POSTED if the menu is posted, or  E_BAD_ARGU-
    +       MENT if one of the spacing values is out of range.
     
     
     
    @@ -105,15 +106,15 @@

    PORTABILITY

    -       These  routines  are  specific  to ncurses.  They were not
    -       supported on Version 7, BSD or System  V  implementations.
    -       It  is recommended that any code depending on them be con-
    +       These routines are specific to  ncurses.   They  were  not
    +       supported  on  Version 7, BSD or System V implementations.
    +       It is recommended that any code depending on them be  con-
            ditioned using NCURSES_VERSION.
     
     
     

    AUTHORS

    -       Juergen Pfeifer.  Manual  pages  and  adaptation  for  new
    +       Juergen  Pfeifer.   Manual  pages  and  adaptation for new
            curses by Eric S. Raymond.
     
     
    diff --git a/doc/html/man/ncurses.3x.html b/doc/html/man/ncurses.3x.html
    index 0d17ec0f..bd0f768a 100644
    --- a/doc/html/man/ncurses.3x.html
    +++ b/doc/html/man/ncurses.3x.html
    @@ -28,7 +28,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: ncurses.3x,v 1.94 2010/01/09 16:34:57 tom Exp @
    +  * @Id: ncurses.3x,v 1.95 2010/03/13 20:25:19 tom Exp @
     -->
     
     
    @@ -63,17 +63,17 @@
            sonable   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 5.7 (patch 20100109).
    -
    -       The ncurses library emulates  the  curses(3x)  library  of
    -       System  V  Release  4  UNIX,  and XPG4 (X/Open Portability
    -       Guide) curses (also known as XSI curses).  XSI stands  for
    -       X/Open  System  Interfaces Extension.  The ncurses library
    -       is freely redistributable  in  source  form.   Differences
    -       from  the  SVr4 curses are summarized under the EXTENSIONS
    -       and PORTABILITY sections below and described in detail  in
    -       the  respective  EXTENSIONS, PORTABILITY and BUGS sections
    -       of individual man pages.
    +       describes ncurses version 5.7 (patch 20100529).
    +
    +       The ncurses library emulates the curses library of  System
    +       V  Release  4  UNIX,  and  XPG4 (X/Open Portability Guide)
    +       curses (also known as XSI curses).  XSI stands for  X/Open
    +       System  Interfaces  Extension.   The  ncurses  library  is
    +       freely redistributable in source form.   Differences  from
    +       the  SVr4  curses  are summarized under the EXTENSIONS and
    +       PORTABILITY sections below and described in detail in  the
    +       respective  EXTENSIONS,  PORTABILITY  and BUGS sections of
    +       individual man pages.
     
            The ncurses library also provides many useful  extensions,
            i.e.,  features  which  cannot  be implemented by a simple
    diff --git a/doc/html/man/ncurses5-config.1.html b/doc/html/man/ncurses5-config.1.html
    new file mode 100644
    index 00000000..1cf5b94a
    --- /dev/null
    +++ b/doc/html/man/ncurses5-config.1.html
    @@ -0,0 +1,133 @@
    +
    +
    +
    +
    +ncurses5-config 1
    +
    +
    +
    +
    +

    ncurses5-config 1

    +
    +
    +
    +ncurses5-config(1)                                   ncurses5-config(1)
    +
    +
    +
    +
    +
    +

    NAME

    +       ncurses5-config - helper script for ncurses libraries
    +
    +
    +
    +

    SYNOPSIS

    +       ncurses5-config [options]
    +
    +
    +
    +

    DESCRIPTION

    +       This is a shell script which simplifies configuring appli-
    +       cations against a particular set of ncurses libraries.
    +
    +
    +
    +

    OPTIONS

    +       --prefix
    +              echos the package-prefix of ncurses
    +
    +       --exec-prefix
    +              echos the executable-prefix of ncurses
    +
    +       --cflags
    +              echos the C compiler flags needed to  compile  with
    +              ncurses
    +
    +       --libs echos the libraries needed to link with ncurses
    +
    +       --version
    +              echos the release+patchdate version of ncurses
    +
    +       --abi-version
    +              echos the ABI version of ncurses
    +
    +       --mouse-version
    +              echos the mouse-interface version of ncurses
    +
    +       --bindir
    +              echos the directory containing ncurses programs
    +
    +       --datadir
    +              echos the directory containing ncurses data
    +
    +       --includedir
    +              echos the directory containing ncurses header files
    +
    +       --libdir
    +              echos the directory containing ncurses libraries
    +
    +       --mandir
    +              echos the directory containing ncurses manpages
    +
    +       --terminfo
    +              echos the $TERMINFO terminfo database path, e.g.,
    +              /usr/share/terminfo
    +
    +       --terminfo-dirs
    +              echos the $TERMINFO_DIRS directory list, e.g.,
    +              /usr/local/ncurses/lib/terminfo:/usr/share/terminfo
    +
    +       --termpath
    +              echos  the  $TERMPATH  termcap list, if support for
    +              termcap is configured.
    +
    +       --help prints this message
    +
    +
    +
    +

    SEE ALSO

    +       curses(3x)
    +
    +       This describes ncurses version 5.7 (patch 20100529).
    +
    +
    +
    +                                                     ncurses5-config(1)
    +
    +
    +
    +Man(1) output converted with +man2html +
    + + diff --git a/doc/html/man/panel.3x.html b/doc/html/man/panel.3x.html index 02e561f9..04c32cea 100644 --- a/doc/html/man/panel.3x.html +++ b/doc/html/man/panel.3x.html @@ -1,7 +1,7 @@ @@ -106,10 +106,10 @@ refreshes the virtual screen to reflect the rela- tions between the panels in the stack, but does not call doupdate() to refresh the physical screen. - Use this function and not wrefresh or wnoutrefresh. - update_panels() may be called more than once before - a call to doupdate(), but doupdate() is the func- - tion responsible for updating the physical screen. + Use this function and not wrefresh or wnoutrefresh. + update_panels may be called more than once before a + call to doupdate(), but doupdate() is the function + responsible for updating the physical screen. del_panel(pan) removes the given panel from the stack and deallo- @@ -218,7 +218,7 @@

    SEE ALSO

            curses(3x)
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/tabs.1.html b/doc/html/man/tabs.1.html index d5ddb259..03667030 100644 --- a/doc/html/man/tabs.1.html +++ b/doc/html/man/tabs.1.html @@ -1,7 +1,7 @@ @@ -134,8 +134,8 @@

    PORTABILITY

            X/Open  describes  a  +m option, to set a terminal's left-
    -       margin.  None of the entries in the terminal database pro-
    -       vide this capability.
    +       margin.  Very few of the entries in the terminal  database
    +       provide this capability.
     
            The  -d  (debug) and -n (no-op) options are extensions not
            provided by other implementations.
    @@ -152,7 +152,7 @@
     

    SEE ALSO

            tset(1), infocmp(1m), curses(3x), terminfo(5).
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/term.7.html b/doc/html/man/term.7.html
    index 5c0a4238..96be6a41 100644
    --- a/doc/html/man/term.7.html
    +++ b/doc/html/man/term.7.html
    @@ -27,7 +27,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: term.7,v 1.19 2010/01/09 16:42:15 tom Exp @
    +  * @Id: term.7,v 1.20 2010/01/30 21:27:35 tom Exp @
     -->
     
     
    @@ -152,7 +152,7 @@
            thus vt100, hp2621, wy50.
     
            The root name for a PC-Unix console type should be the  OS
    -       name,  i.e.  linux, bsdos, freebsd, netbsd.  It should not
    +       name,  i.e., linux, bsdos, freebsd, netbsd.  It should not
            be console or any other generic that might cause confusion
            in  a  multi-platform environment!  If a model number fol-
            lows, it should indicate either the OS  release  level  or
    @@ -161,7 +161,7 @@
            The  root  name  for a terminal emulator (assuming it does
            not fit one of the standard ANSI or vt100 types) should be
            the program name or a readily recognizable abbreviation of
    -       it (i.e. versaterm, ctrm).
    +       it (i.e., versaterm, ctrm).
     
            Following the root name, you may add any reasonable number
            of hyphen-separated feature suffixes.
    diff --git a/doc/html/man/terminfo.5.html b/doc/html/man/terminfo.5.html
    index 9ca502dd..895e85c8 100644
    --- a/doc/html/man/terminfo.5.html
    +++ b/doc/html/man/terminfo.5.html
    @@ -78,7 +78,7 @@
            nals by giving a set of capabilities which they  have,  by
            specifying how to perform screen operations, and by speci-
            fying padding requirements and  initialization  sequences.
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
            Entries in terminfo consist of a sequence of `,' separated
            fields (embedded commas may be escaped with a backslash or
    diff --git a/doc/html/man/tic.1m.html b/doc/html/man/tic.1m.html
    index 742160ed..d9029006 100644
    --- a/doc/html/man/tic.1m.html
    +++ b/doc/html/man/tic.1m.html
    @@ -309,7 +309,7 @@
            infocmp(1m),    captoinfo(1m),   infotocap(1m),   toe(1m),
            curses(3x), terminfo(5).
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/toe.1m.html b/doc/html/man/toe.1m.html
    index a44e91f6..a4233d37 100644
    --- a/doc/html/man/toe.1m.html
    +++ b/doc/html/man/toe.1m.html
    @@ -111,7 +111,7 @@
            tic(1m),    infocmp(1m),   captoinfo(1m),   infotocap(1m),
            curses(3x), terminfo(5).
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/tput.1.html b/doc/html/man/tput.1.html
    index d380a282..09247f14 100644
    --- a/doc/html/man/tput.1.html
    +++ b/doc/html/man/tput.1.html
    @@ -327,7 +327,7 @@
     

    SEE ALSO

            clear(1), stty(1), tabs(1), terminfo(5).
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/tset.1.html b/doc/html/man/tset.1.html
    index d83511dd..78f14669 100644
    --- a/doc/html/man/tset.1.html
    +++ b/doc/html/man/tset.1.html
    @@ -27,7 +27,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: tset.1,v 1.21 2010/01/09 16:39:45 tom Exp @
    +  * @Id: tset.1,v 1.22 2010/01/30 21:27:43 tom Exp @
     -->
     
     
    @@ -154,22 +154,23 @@
     
            The arguments for the -e, -i, and -k options may either be
            entered as actual characters or by using the  `hat'  nota-
    -       tion, i.e. control-h may be specified as ``^H'' or ``^h''.
    +       tion,  i.e.,  control-h  may  be  specified  as  ``^H'' or
    +       ``^h''.
     
     
     

    SETTING THE ENVIRONMENT

    -       It  is  often  desirable  to  enter  the terminal type and
    -       information about the  terminal's  capabilities  into  the
    +       It is often desirable  to  enter  the  terminal  type  and
    +       information  about  the  terminal's  capabilities into the
            shell's environment.  This is done using the -s option.
     
            When the -s option is specified, the commands to enter the
    -       information into the shell's environment  are  written  to
    -       the  standard output.  If the SHELL environmental variable
    +       information  into  the  shell's environment are written to
    +       the standard output.  If the SHELL environmental  variable
            ends in ``csh'', the commands are for csh, otherwise, they
    -       are  for  sh.   Note,  the  csh commands set and unset the
    -       shell variable noglob, leaving it  unset.   The  following
    -       line  in  the .login or .profile files will initialize the
    +       are for sh.  Note, the csh  commands  set  and  unset  the
    +       shell  variable  noglob,  leaving it unset.  The following
    +       line in the .login or .profile files will  initialize  the
            environment correctly:
     
                eval `tset -s options ... `
    @@ -179,107 +180,107 @@
     

    TERMINAL TYPE MAPPING

            When the terminal is not hardwired into the system (or the
            current system information is incorrect) the terminal type
    -       derived from the /etc/ttys file or the TERM  environmental
    -       variable  is often something generic like network, dialup,
    -       or unknown.  When tset is used in a startup script  it  is
    -       often  desirable  to provide information about the type of
    +       derived  from the /etc/ttys file or the TERM environmental
    +       variable is often something generic like network,  dialup,
    +       or  unknown.   When tset is used in a startup script it is
    +       often desirable to provide information about the  type  of
            terminal used on such ports.
     
    -       The purpose of the -m option is to map from  some  set  of
    -       conditions  to a terminal type, that is, to tell tset ``If
    -       I'm on this port at a particular speed, guess that I'm  on
    +       The  purpose  of  the -m option is to map from some set of
    +       conditions to a terminal type, that is, to tell tset  ``If
    +       I'm  on this port at a particular speed, guess that I'm on
            that kind of terminal''.
     
            The argument to the -m option consists of an optional port
            type, an optional operator, an optional baud rate specifi-
            cation, an optional colon (``:'') character and a terminal
    -       type.  The port type is a string (delimited by either  the
    +       type.   The port type is a string (delimited by either the
            operator or the colon character).  The operator may be any
            combination of ``>'', ``<'', ``@'', and ``!''; ``>'' means
    -       greater  than, ``<'' means less than, ``@'' means equal to
    +       greater than, ``<'' means less than, ``@'' means equal  to
            and ``!'' inverts the sense of the test.  The baud rate is
    -       specified  as  a  number and is compared with the speed of
    -       the standard error output (which  should  be  the  control
    +       specified as a number and is compared with  the  speed  of
    +       the  standard  error  output  (which should be the control
            terminal).  The terminal type is a string.
     
            If the terminal type is not specified on the command line,
    -       the -m mappings are applied to the terminal type.  If  the
    -       port  type  and  baud rate match the mapping, the terminal
    -       type specified in the mapping replaces the  current  type.
    -       If  more than one mapping is specified, the first applica-
    +       the  -m mappings are applied to the terminal type.  If the
    +       port type and baud rate match the  mapping,  the  terminal
    +       type  specified  in the mapping replaces the current type.
    +       If more than one mapping is specified, the first  applica-
            ble mapping is used.
     
    -       For   example,    consider    the    following    mapping:
    +       For    example,    consider    the    following   mapping:
            dialup>9600:vt100.  The port type is dialup , the operator
    -       is >, the baud rate specification is 9600, and the  termi-
    +       is  >, the baud rate specification is 9600, and the termi-
            nal type is vt100.  The result of this mapping is to spec-
            ify that if the terminal type is dialup, and the baud rate
    -       is  greater  than 9600 baud, a terminal type of vt100 will
    +       is greater than 9600 baud, a terminal type of  vt100  will
            be used.
     
            If no baud rate is specified, the terminal type will match
            any baud rate.  If no port type is specified, the terminal
    -       type  will  match  any  port  type.    For   example,   -m
    +       type   will   match   any  port  type.   For  example,  -m
            dialup:vt100  -m  :?xterm  will  cause  any  dialup  port,
            regardless of baud rate, to match the terminal type vt100,
    -       and  any  non-dialup  port type to match the terminal type
    -       ?xterm.  Note, because of the leading question  mark,  the
    -       user  will be queried on a default port as to whether they
    +       and any non-dialup port type to match  the  terminal  type
    +       ?xterm.   Note,  because of the leading question mark, the
    +       user will be queried on a default port as to whether  they
            are actually using an xterm terminal.
     
    -       No whitespace characters are permitted in  the  -m  option
    -       argument.   Also,  to avoid problems with meta-characters,
    -       it is suggested that the  entire  -m  option  argument  be
    -       placed  within single quote characters, and that csh users
    -       insert a backslash character (``\'') before  any  exclama-
    +       No  whitespace  characters  are permitted in the -m option
    +       argument.  Also, to avoid problems  with  meta-characters,
    +       it  is  suggested  that  the  entire -m option argument be
    +       placed within single quote characters, and that csh  users
    +       insert  a  backslash character (``\'') before any exclama-
            tion marks (``!'').
     
     
     

    HISTORY

    -       The  tset command appeared in BSD 3.0.  The ncurses imple-
    -       mentation was lightly adapted from the 4.4BSD sources  for
    +       The tset command appeared in BSD 3.0.  The ncurses  imple-
    +       mentation  was lightly adapted from the 4.4BSD sources for
            a terminfo environment by Eric S. Raymond <esr@snark.thyr-
            sus.com>.
     
     
     

    COMPATIBILITY

    -       The tset utility has been provided  for  backward-compati-
    -       bility  with  BSD  environments (under most modern UNIXes,
    -       /etc/inittab and getty(1) can set TERM  appropriately  for
    -       each  dial-up  line;  this  obviates  what was tset's most
    -       important use).  This implementation behaves  like  4.4BSD
    +       The  tset  utility has been provided for backward-compati-
    +       bility with BSD environments (under  most  modern  UNIXes,
    +       /etc/inittab  and  getty(1) can set TERM appropriately for
    +       each dial-up line; this  obviates  what  was  tset's  most
    +       important  use).   This implementation behaves like 4.4BSD
            tset, with a few exceptions specified here.
     
    -       The  -S  option  of BSD tset no longer works; it prints an
    +       The -S option of BSD tset no longer works;  it  prints  an
            error message to stderr and dies.  The -s option only sets
    -       TERM,  not  TERMCAP.   Both  these changes are because the
    -       TERMCAP variable is no longer  supported  under  terminfo-
    +       TERM, not TERMCAP.  Both these  changes  are  because  the
    +       TERMCAP  variable  is  no longer supported under terminfo-
            based ncurses, which makes tset -S useless (we made it die
            noisily rather than silently induce lossage).
     
    -       There was an undocumented  4.4BSD  feature  that  invoking
    +       There  was  an  undocumented  4.4BSD feature that invoking
            tset via a link named `TSET` (or via any other name begin-
    -       ning with an upper-case letter) set the  terminal  to  use
    +       ning  with  an  upper-case letter) set the terminal to use
            upper-case only.  This feature has been omitted.
     
    -       The  -A,  -E,  -h, -u and -v options were deleted from the
    -       tset utility in 4.4BSD.  None of them were  documented  in
    -       4.3BSD  and  all  are of limited utility at best.  The -a,
    +       The -A, -E, -h, -u and -v options were  deleted  from  the
    +       tset  utility  in 4.4BSD.  None of them were documented in
    +       4.3BSD and all are of limited utility at  best.   The  -a,
            -d, and -p options are similarly not documented or useful,
    -       but  were retained as they appear to be in widespread use.
    -       It is strongly recommended that any usage of  these  three
    -       options  be  changed to use the -m option instead.  The -n
    -       option remains, but has no effect.  The -adnp options  are
    +       but were retained as they appear to be in widespread  use.
    +       It  is  strongly recommended that any usage of these three
    +       options be changed to use the -m option instead.   The  -n
    +       option  remains, but has no effect.  The -adnp options are
            therefore omitted from the usage summary above.
     
    -       It  is  still  permissible  to  specify the -e, -i, and -k
    -       options without arguments, although it is strongly  recom-
    -       mended  that such usage be fixed to explicitly specify the
    +       It is still permissible to specify  the  -e,  -i,  and  -k
    +       options  without arguments, although it is strongly recom-
    +       mended that such usage be fixed to explicitly specify  the
            character.
     
    -       As of 4.4BSD, executing tset as reset  no  longer  implies
    +       As  of  4.4BSD,  executing tset as reset no longer implies
            the -Q option.  Also, the interaction between the - option
            and the terminal argument in some historic implementations
            of tset has been removed.
    @@ -293,7 +294,7 @@
                 tells tset whether to initialize TERM using sh or csh
                 syntax.
     
    -       TERM Denotes your terminal type.  Each  terminal  type  is
    +       TERM Denotes  your  terminal  type.  Each terminal type is
                 distinct, though many are similar.
     
            TERMCAP
    @@ -306,7 +307,7 @@
     

    FILES

            /etc/ttys
    -            system port name to terminal  type  mapping  database
    +            system  port  name  to terminal type mapping database
                 (BSD versions only).
     
            /usr/share/terminfo
    @@ -315,10 +316,10 @@
     
     

    SEE ALSO

    -       csh(1),  sh(1),  stty(1),  curs_terminfo(3x), tty(4), ter-
    +       csh(1), sh(1), stty(1),  curs_terminfo(3x),  tty(4),  ter-
            minfo(5), ttys(5), environ(7)
     
    -       This describes ncurses version 5.7 (patch 20100109).
    +       This describes ncurses version 5.7 (patch 20100529).
     
     
     
    diff --git a/doc/html/man/wresize.3x.html b/doc/html/man/wresize.3x.html
    index 3e4ed35a..ef228147 100644
    --- a/doc/html/man/wresize.3x.html
    +++ b/doc/html/man/wresize.3x.html
    @@ -1,7 +1,7 @@
     
     
     
     
    @@ -64,7 +64,7 @@
            window to adjust its dimensions to the  specified  values.
            If either dimension is larger than the current values, the
            window's data is filled with blanks that have the  current
    -       background  rendition  (as  set  by wbkgndset) merged into
    +       background  rendition  (as  set  by  wbkgdset) merged into
            them.
     
     
    diff --git a/ncurses/trace/visbuf.c b/ncurses/trace/visbuf.c
    index 7456ac55..66da4f4b 100644
    --- a/ncurses/trace/visbuf.c
    +++ b/ncurses/trace/visbuf.c
    @@ -42,7 +42,7 @@
     #include 
     #include 
     
    -MODULE_ID("$Id: visbuf.c,v 1.36 2010/05/01 20:44:34 tom Exp $")
    +MODULE_ID("$Id: visbuf.c,v 1.37 2010/05/29 18:51:41 tom Exp $")
     
     #define NUM_VISBUFS 4
     
    @@ -94,7 +94,7 @@ _nc_vischar(char *tp, unsigned c)
     static const char *
     _nc_visbuf2n(int bufnum, const char *buf, int len)
     {
    -    const char *vbuf;
    +    const char *vbuf = 0;
         char *tp;
         int c;
     
    diff --git a/test/aclocal.m4 b/test/aclocal.m4
    index e5f40c9e..4c369200 100644
    --- a/test/aclocal.m4
    +++ b/test/aclocal.m4
    @@ -26,7 +26,7 @@ dnl sale, use or other dealings in this Software without prior written       *
     dnl authorization.                                                           *
     dnl***************************************************************************
     dnl
    -dnl $Id: aclocal.m4,v 1.35 2010/05/15 16:35:39 tom Exp $
    +dnl $Id: aclocal.m4,v 1.39 2010/05/29 20:55:40 tom Exp $
     dnl
     dnl Author: Thomas E. Dickey
     dnl
    @@ -40,7 +40,7 @@ dnl See http://invisible-island.net/autoconf/ for additional information.
     dnl
     dnl ---------------------------------------------------------------------------
     dnl ---------------------------------------------------------------------------
    -dnl CF_ADD_CFLAGS version: 9 updated: 2010/01/09 11:05:50
    +dnl CF_ADD_CFLAGS version: 10 updated: 2010/05/26 05:38:42
     dnl -------------
     dnl Copy non-preprocessor flags to $CFLAGS, preprocessor flags to $CPPFLAGS
     dnl The second parameter if given makes this macro verbose.
    @@ -110,17 +110,17 @@ esac
     done
     
     if test -n "$cf_new_cflags" ; then
    -	ifelse($2,,,[CF_VERBOSE(add to \$CFLAGS $cf_new_cflags)])
    +	ifelse([$2],,,[CF_VERBOSE(add to \$CFLAGS $cf_new_cflags)])
     	CFLAGS="$CFLAGS $cf_new_cflags"
     fi
     
     if test -n "$cf_new_cppflags" ; then
    -	ifelse($2,,,[CF_VERBOSE(add to \$CPPFLAGS $cf_new_cppflags)])
    +	ifelse([$2],,,[CF_VERBOSE(add to \$CPPFLAGS $cf_new_cppflags)])
     	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
     fi
     
     if test -n "$cf_new_extra_cppflags" ; then
    -	ifelse($2,,,[CF_VERBOSE(add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags)])
    +	ifelse([$2],,,[CF_VERBOSE(add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags)])
     	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     fi
     
    @@ -128,7 +128,7 @@ AC_SUBST(EXTRA_CPPFLAGS)
     
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_ADD_INCDIR version: 12 updated: 2009/01/18 10:00:47
    +dnl CF_ADD_INCDIR version: 13 updated: 2010/05/26 16:44:57
     dnl -------------
     dnl Add an include-directory to $CPPFLAGS.  Don't add /usr/include, since it's
     dnl redundant.  We don't normally need to add -I/usr/local/include for gcc,
    @@ -171,7 +171,7 @@ if test -n "$1" ; then
     
     		if test "$cf_have_incdir" = no ; then
     		  CF_VERBOSE(adding $cf_add_incdir to include-path)
    -		  ifelse($2,,CPPFLAGS,$2)="$ifelse($2,,CPPFLAGS,$2) -I$cf_add_incdir"
    +		  ifelse([$2],,CPPFLAGS,[$2])="$ifelse([$2],,CPPFLAGS,[$2]) -I$cf_add_incdir"
     
     		  cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
     		  test "$cf_top_incdir" = "$cf_add_incdir" && break
    @@ -185,7 +185,7 @@ if test -n "$1" ; then
     fi
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_ADD_LIBDIR version: 8 updated: 2009/01/18 10:01:08
    +dnl CF_ADD_LIBDIR version: 9 updated: 2010/05/26 16:44:57
     dnl -------------
     dnl	Adds to the library-path
     dnl
    @@ -214,7 +214,7 @@ if test -n "$1" ; then
           fi
           if test "$cf_have_libdir" = no ; then
             CF_VERBOSE(adding $cf_add_libdir to library-path)
    -        ifelse($2,,LDFLAGS,$2)="-L$cf_add_libdir $ifelse($2,,LDFLAGS,$2)"
    +        ifelse([$2],,LDFLAGS,[$2])="-L$cf_add_libdir $ifelse([$2],,LDFLAGS,[$2])"
           fi
         fi
       done
    @@ -325,7 +325,7 @@ dnl Allow user to enable a normally-off option.
     AC_DEFUN([CF_ARG_ENABLE],
     [CF_ARG_OPTION($1,[$2],[$3],[$4],no)])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_ARG_OPTION version: 3 updated: 1997/10/18 14:42:41
    +dnl CF_ARG_OPTION version: 4 updated: 2010/05/26 05:38:42
     dnl -------------
     dnl Restricted form of AC_ARG_ENABLE that ensures user doesn't give bogus
     dnl values.
    @@ -337,13 +337,13 @@ dnl $3 = action to perform if option is not default
     dnl $4 = action if perform if option is default
     dnl $5 = default option value (either 'yes' or 'no')
     AC_DEFUN([CF_ARG_OPTION],
    -[AC_ARG_ENABLE($1,[$2],[test "$enableval" != ifelse($5,no,yes,no) && enableval=ifelse($5,no,no,yes)
    +[AC_ARG_ENABLE([$1],[$2],[test "$enableval" != ifelse([$5],no,yes,no) && enableval=ifelse([$5],no,no,yes)
       if test "$enableval" != "$5" ; then
    -ifelse($3,,[    :]dnl
    -,[    $3]) ifelse($4,,,[
    +ifelse([$3],,[    :]dnl
    +,[    $3]) ifelse([$4],,,[
       else
         $4])
    -  fi],[enableval=$5 ifelse($4,,,[
    +  fi],[enableval=$5 ifelse([$4],,,[
       $4
     ])dnl
       ])])dnl
    @@ -878,7 +878,7 @@ fi
     ])
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_FIND_LINKAGE version: 18 updated: 2010/05/05 20:27:55
    +dnl CF_FIND_LINKAGE version: 19 updated: 2010/05/29 16:31:02
     dnl ---------------
     dnl Find a library (specifically the linkage used in the code fragment),
     dnl searching for it if it is not already in the library path.
    @@ -1001,7 +1001,7 @@ if test "$cf_cv_find_linkage_$3" = yes ; then
     ifelse([$4],,[
     	CF_ADD_INCDIR($cf_cv_header_path_$3)
     	CF_ADD_LIBDIR($cf_cv_library_path_$3)
    -	LIBS="-l$3 $LIBS"
    +	CF_ADD_LIB($3)
     ],[$4])
     else
     ifelse([$5],,AC_MSG_WARN(Cannot find $3 library),[$5])
    @@ -1347,7 +1347,7 @@ AC_DEFUN([CF_INHERIT_SCRIPT],
     test -f $1 || ( test -f ../$1 && cp ../$1 ./ )
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_INTEL_COMPILER version: 3 updated: 2005/08/06 18:37:29
    +dnl CF_INTEL_COMPILER version: 4 updated: 2010/05/26 05:38:42
     dnl -----------------
     dnl Check if the given compiler is really the Intel compiler for Linux.  It
     dnl tries to imitate gcc, but does not return an error when it finds a mismatch
    @@ -1361,24 +1361,24 @@ dnl $1 = GCC (default) or GXX
     dnl $2 = INTEL_COMPILER (default) or INTEL_CPLUSPLUS
     dnl $3 = CFLAGS (default) or CXXFLAGS
     AC_DEFUN([CF_INTEL_COMPILER],[
    -ifelse($2,,INTEL_COMPILER,[$2])=no
    +ifelse([$2],,INTEL_COMPILER,[$2])=no
     
    -if test "$ifelse($1,,[$1],GCC)" = yes ; then
    +if test "$ifelse([$1],,[$1],GCC)" = yes ; then
     	case $host_os in
     	linux*|gnu*)
    -		AC_MSG_CHECKING(if this is really Intel ifelse($1,GXX,C++,C) compiler)
    -		cf_save_CFLAGS="$ifelse($3,,CFLAGS,[$3])"
    -		ifelse($3,,CFLAGS,[$3])="$ifelse($3,,CFLAGS,[$3]) -no-gcc"
    +		AC_MSG_CHECKING(if this is really Intel ifelse([$1],GXX,C++,C) compiler)
    +		cf_save_CFLAGS="$ifelse([$3],,CFLAGS,[$3])"
    +		ifelse([$3],,CFLAGS,[$3])="$ifelse([$3],,CFLAGS,[$3]) -no-gcc"
     		AC_TRY_COMPILE([],[
     #ifdef __INTEL_COMPILER
     #else
     make an error
     #endif
    -],[ifelse($2,,INTEL_COMPILER,[$2])=yes
    +],[ifelse([$2],,INTEL_COMPILER,[$2])=yes
     cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
     ],[])
    -		ifelse($3,,CFLAGS,[$3])="$cf_save_CFLAGS"
    -		AC_MSG_RESULT($ifelse($2,,INTEL_COMPILER,[$2]))
    +		ifelse([$3],,CFLAGS,[$3])="$cf_save_CFLAGS"
    +		AC_MSG_RESULT($ifelse([$2],,INTEL_COMPILER,[$2]))
     		;;
     	esac
     fi
    @@ -1891,7 +1891,7 @@ AC_MSG_RESULT($NCURSES_WRAP_PREFIX)
     AC_SUBST(NCURSES_WRAP_PREFIX)
     ])
     dnl ---------------------------------------------------------------------------
    -dnl CF_PATH_SYNTAX version: 12 updated: 2008/03/23 14:45:59
    +dnl CF_PATH_SYNTAX version: 13 updated: 2010/05/26 05:38:42
     dnl --------------
     dnl Check the argument to see that it looks like a pathname.  Rewrite it if it
     dnl begins with one of the prefix/exec_prefix variables, and then again if the
    @@ -1923,7 +1923,7 @@ case ".[$]$1" in #(vi
       $1=`echo [$]$1 | sed -e s%NONE%$cf_path_syntax%`
       ;;
     *)
    -  ifelse($2,,[AC_MSG_ERROR([expected a pathname, not \"[$]$1\"])],$2)
    +  ifelse([$2],,[AC_MSG_ERROR([expected a pathname, not \"[$]$1\"])],$2)
       ;;
     esac
     ])dnl
    @@ -1971,7 +1971,39 @@ else
     fi
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_POSIX_C_SOURCE version: 7 updated: 2010/01/09 11:05:50
    +dnl CF_PKG_CONFIG version: 3 updated: 2009/01/25 10:55:09
    +dnl -------------
    +dnl Check for the package-config program, unless disabled by command-line.
    +AC_DEFUN([CF_PKG_CONFIG],
    +[
    +AC_MSG_CHECKING(if you want to use pkg-config)
    +AC_ARG_WITH(pkg-config,
    +	[  --with-pkg-config{=path} enable/disable use of pkg-config],
    +	[cf_pkg_config=$withval],
    +	[cf_pkg_config=yes])
    +AC_MSG_RESULT($cf_pkg_config)
    +
    +case $cf_pkg_config in #(vi
    +no) #(vi
    +	PKG_CONFIG=none
    +	;;
    +yes) #(vi
    +	AC_PATH_PROG(PKG_CONFIG, pkg-config, none)
    +	;;
    +*)
    +	PKG_CONFIG=$withval
    +	;;
    +esac
    +
    +test -z "$PKG_CONFIG" && PKG_CONFIG=none
    +if test "$PKG_CONFIG" != none ; then
    +	CF_PATH_SYNTAX(PKG_CONFIG)
    +fi
    +
    +AC_SUBST(PKG_CONFIG)
    +])dnl
    +dnl ---------------------------------------------------------------------------
    +dnl CF_POSIX_C_SOURCE version: 8 updated: 2010/05/26 05:38:42
     dnl -----------------
     dnl Define _POSIX_C_SOURCE to the given level, and _POSIX_SOURCE if needed.
     dnl
    @@ -1987,7 +2019,7 @@ dnl Parameters:
     dnl	$1 is the nominal value for _POSIX_C_SOURCE
     AC_DEFUN([CF_POSIX_C_SOURCE],
     [
    -cf_POSIX_C_SOURCE=ifelse($1,,199506L,$1)
    +cf_POSIX_C_SOURCE=ifelse([$1],,199506L,[$1])
     
     cf_save_CFLAGS="$CFLAGS"
     cf_save_CPPFLAGS="$CPPFLAGS"
    @@ -2232,6 +2264,29 @@ ncursesw/term.h)
     esac
     ])dnl
     dnl ---------------------------------------------------------------------------
    +dnl CF_TRY_PKG_CONFIG version: 2 updated: 2010/05/26 05:38:42
    +dnl -----------------
    +dnl This is a simple wrapper to use for pkg-config, for libraries which may be
    +dnl available in that form.
    +dnl
    +dnl $1 = package name
    +dnl $2 = extra logic to use, if any, after updating CFLAGS and LIBS
    +dnl $3 = logic to use if pkg-config does not have the package
    +AC_DEFUN([CF_TRY_PKG_CONFIG],[
    +AC_REQUIRE([CF_PKG_CONFIG])
    +
    +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists $1; then
    +	CF_VERBOSE(found package $1)
    +	cf_pkgconfig_incs="`$PKG_CONFIG --cflags $1 2>/dev/null`"
    +	cf_pkgconfig_libs="`$PKG_CONFIG --libs   $1 2>/dev/null`"
    +	CF_ADD_CFLAGS($cf_pkgconfig_incs)
    +	LIBS="$cf_pkgconfig_libs $LIBS"
    +	ifelse([$2],,:,[$2])
    +else
    +	ifelse([$3],,:,[$3])
    +fi
    +])
    +dnl ---------------------------------------------------------------------------
     dnl CF_UPPER version: 5 updated: 2001/01/29 23:40:59
     dnl --------
     dnl Make an uppercase version of a variable
    @@ -2275,7 +2330,7 @@ AC_DEFUN([CF_VERBOSE],
     CF_MSG_LOG([$1])
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_WCHAR_TYPE version: 2 updated: 2004/01/17 19:18:20
    +dnl CF_WCHAR_TYPE version: 3 updated: 2010/05/26 16:44:57
     dnl -------------
     dnl Check if type wide-character type $1 is declared, and if so, which header
     dnl file is needed.  The second parameter is used to set a shell variable when
    @@ -2311,7 +2366,7 @@ if test "$cf_cv_$1" = yes ; then
     	NEED_WCHAR_H=1
     fi
     
    -ifelse($2,,,[
    +ifelse([$2],,,[
     # if we do not find $1 in either place, use substitution to provide a fallback.
     if test "$cf_cv_$1" = unknown ; then
     	$2=1
    @@ -2376,7 +2431,7 @@ if (NCURSES_VERSION_PATCH < 20100501) && (NCURSES_VERSION_PATCH >= 20100403)
     test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_XOPEN_SOURCE version: 33 updated: 2010/03/28 15:35:52
    +dnl CF_XOPEN_SOURCE version: 34 updated: 2010/05/26 05:38:42
     dnl ---------------
     dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions,
     dnl or adapt to the vendor's definitions to get equivalent functionality,
    @@ -2387,8 +2442,8 @@ dnl	$1 is the nominal value for _XOPEN_SOURCE
     dnl	$2 is the nominal value for _POSIX_C_SOURCE
     AC_DEFUN([CF_XOPEN_SOURCE],[
     
    -cf_XOPEN_SOURCE=ifelse($1,,500,$1)
    -cf_POSIX_C_SOURCE=ifelse($2,,199506L,$2)
    +cf_XOPEN_SOURCE=ifelse([$1],,500,[$1])
    +cf_POSIX_C_SOURCE=ifelse([$2],,199506L,[$2])
     cf_xopen_source=
     
     case $host_os in #(vi
    @@ -2478,13 +2533,13 @@ if test -n "$cf_xopen_source" ; then
     fi
     ])
     dnl ---------------------------------------------------------------------------
    -dnl CF_X_ATHENA version: 12 updated: 2004/06/15 21:14:41
    +dnl CF_X_ATHENA version: 14 updated: 2010/05/26 19:19:58
     dnl -----------
     dnl Check for Xaw (Athena) libraries
     dnl
     dnl Sets $cf_x_athena according to the flavor of Xaw which is used.
     AC_DEFUN([CF_X_ATHENA],
    -[AC_REQUIRE([CF_X_TOOLKIT])
    +[
     cf_x_athena=${cf_x_athena-Xaw}
     
     AC_MSG_CHECKING(if you want to link with Xaw 3d library)
    @@ -2520,23 +2575,48 @@ else
     	AC_MSG_RESULT(no)
     fi
     
    -AC_CHECK_LIB(Xext,XextCreateExtension,
    -	[LIBS="-lXext $LIBS"])
    -
     cf_x_athena_lib=""
     
    -CF_X_ATHENA_CPPFLAGS($cf_x_athena)
    -CF_X_ATHENA_LIBS($cf_x_athena)
    +if test "$PKG_CONFIG" != none ; then
    +	cf_athena_list=
    +	test "$cf_x_athena" = Xaw && cf_athena_list="xaw8 xaw7 xaw6"
    +	for cf_athena_pkg in \
    +		$cf_athena_list \
    +		${cf_x_athena} \
    +		${cf_x_athena}-devel \
    +		lib${cf_x_athena} \
    +		lib${cf_x_athena}-devel
    +	do
    +		if "$PKG_CONFIG" --exists $cf_athena_pkg; then
    +			CF_VERBOSE(found package $cf_athena_pkg)
    +			cf_x_athena_inc="`$PKG_CONFIG --cflags $cf_athena_pkg 2>/dev/null`"
    +			cf_x_athena_lib="`$PKG_CONFIG --libs   $cf_athena_pkg 2>/dev/null`"
    +			CF_ADD_CFLAGS($cf_x_athena_inc)
    +			LIBS="$cf_x_athena_lib $LIBS"
    +
    +			CF_UPPER(cf_x_athena_LIBS,HAVE_LIB_$cf_x_athena)
    +			AC_DEFINE_UNQUOTED($cf_x_athena_LIBS)
    +			break
    +		fi
    +	done
    +fi
    +
    +if test -z "$cf_x_athena_lib" ; then
    +	CF_X_EXT
    +	CF_X_TOOLKIT
    +	CF_X_ATHENA_CPPFLAGS($cf_x_athena)
    +	CF_X_ATHENA_LIBS($cf_x_athena)
    +fi
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_X_ATHENA_CPPFLAGS version: 3 updated: 2009/01/11 15:33:39
    +dnl CF_X_ATHENA_CPPFLAGS version: 5 updated: 2010/05/26 17:35:30
     dnl --------------------
     dnl Normally invoked by CF_X_ATHENA, with $1 set to the appropriate flavor of
     dnl the Athena widgets, e.g., Xaw, Xaw3d, neXtaw.
     AC_DEFUN([CF_X_ATHENA_CPPFLAGS],
     [
    -cf_x_athena_root=ifelse($1,,Xaw,$1)
    -cf_x_athena_include=""
    +cf_x_athena_root=ifelse([$1],,Xaw,[$1])
    +cf_x_athena_inc=""
     
     for cf_path in default \
     	/usr/contrib/X11R6 \
    @@ -2544,7 +2624,7 @@ for cf_path in default \
     	/usr/lib/X11R5 \
     	/usr/local
     do
    -	if test -z "$cf_x_athena_include" ; then
    +	if test -z "$cf_x_athena_inc" ; then
     		cf_save="$CPPFLAGS"
     		cf_test=X11/$cf_x_athena_root/SimpleMenu.h
     		if test $cf_path != default ; then
    @@ -2560,7 +2640,7 @@ do
     			[cf_result=no])
     		AC_MSG_RESULT($cf_result)
     		if test "$cf_result" = yes ; then
    -			cf_x_athena_include=$cf_path
    +			cf_x_athena_inc=$cf_path
     			break
     		else
     			CPPFLAGS="$cf_save"
    @@ -2568,21 +2648,21 @@ do
     	fi
     done
     
    -if test -z "$cf_x_athena_include" ; then
    +if test -z "$cf_x_athena_inc" ; then
     	AC_MSG_WARN(
     [Unable to successfully find Athena header files with test program])
    -elif test "$cf_x_athena_include" != default ; then
    -	CPPFLAGS="$CPPFLAGS -I$cf_x_athena_include"
    +elif test "$cf_x_athena_inc" != default ; then
    +	CPPFLAGS="$CPPFLAGS -I$cf_x_athena_inc"
     fi
     ])
     dnl ---------------------------------------------------------------------------
    -dnl CF_X_ATHENA_LIBS version: 7 updated: 2008/03/23 14:46:03
    +dnl CF_X_ATHENA_LIBS version: 8 updated: 2010/05/26 05:38:42
     dnl ----------------
     dnl Normally invoked by CF_X_ATHENA, with $1 set to the appropriate flavor of
     dnl the Athena widgets, e.g., Xaw, Xaw3d, neXtaw.
     AC_DEFUN([CF_X_ATHENA_LIBS],
     [AC_REQUIRE([CF_X_TOOLKIT])
    -cf_x_athena_root=ifelse($1,,Xaw,$1)
    +cf_x_athena_root=ifelse([$1],,Xaw,[$1])
     cf_x_athena_lib=""
     
     for cf_path in default \
    @@ -2628,7 +2708,15 @@ CF_UPPER(cf_x_athena_LIBS,HAVE_LIB_$cf_x_athena)
     AC_DEFINE_UNQUOTED($cf_x_athena_LIBS)
     ])
     dnl ---------------------------------------------------------------------------
    -dnl CF_X_TOOLKIT version: 12 updated: 2008/03/23 15:04:54
    +dnl CF_X_EXT version: 2 updated: 2010/05/26 05:38:42
    +dnl --------
    +AC_DEFUN([CF_X_EXT],[
    +CF_TRY_PKG_CONFIG(Xext,,[
    +	AC_CHECK_LIB(Xext,XextCreateExtension,
    +		[LIBS="-lXext $LIBS"])])
    +])dnl
    +dnl ---------------------------------------------------------------------------
    +dnl CF_X_TOOLKIT version: 13 updated: 2010/05/26 05:45:44
     dnl ------------
     dnl Check for X Toolkit libraries
     dnl
    @@ -2637,24 +2725,27 @@ AC_DEFUN([CF_X_TOOLKIT],
     AC_REQUIRE([AC_PATH_XTRA])
     AC_REQUIRE([CF_CHECK_CACHE])
     
    -# SYSTEM_NAME=`echo "$cf_cv_system_name"|tr ' ' -`
    -
     cf_have_X_LIBS=no
     
    -LDFLAGS="$X_LIBS $LDFLAGS"
    -CF_CHECK_CFLAGS($X_CFLAGS)
    +CF_TRY_PKG_CONFIG(xt,[
    +	cf_have_X_LIBS=yes
    +],[
     
    -AC_CHECK_FUNC(XOpenDisplay,,[
    -AC_CHECK_LIB(X11,XOpenDisplay,
    -	[LIBS="-lX11 $LIBS"],,
    -	[$X_PRE_LIBS $LIBS $X_EXTRA_LIBS])])
    -
    -AC_CHECK_FUNC(XtAppInitialize,,[
    -AC_CHECK_LIB(Xt, XtAppInitialize,
    -	[AC_DEFINE(HAVE_LIBXT)
    -	 cf_have_X_LIBS=Xt
    -	 LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"],,
    -	[$X_PRE_LIBS $LIBS $X_EXTRA_LIBS])])
    +	LDFLAGS="$X_LIBS $LDFLAGS"
    +	CF_CHECK_CFLAGS($X_CFLAGS)
    +
    +	AC_CHECK_FUNC(XOpenDisplay,,[
    +	AC_CHECK_LIB(X11,XOpenDisplay,
    +		[LIBS="-lX11 $LIBS"],,
    +		[$X_PRE_LIBS $LIBS $X_EXTRA_LIBS])])
    +
    +	AC_CHECK_FUNC(XtAppInitialize,,[
    +	AC_CHECK_LIB(Xt, XtAppInitialize,
    +		[AC_DEFINE(HAVE_LIBXT)
    +		 cf_have_X_LIBS=Xt
    +		 LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"],,
    +		[$X_PRE_LIBS $LIBS $X_EXTRA_LIBS])])
    +])
     
     if test $cf_have_X_LIBS = no ; then
     	AC_MSG_WARN(
    diff --git a/test/configure b/test/configure
    index 45685d57..9819eba7 100755
    --- a/test/configure
    +++ b/test/configure
    @@ -190,11 +190,14 @@ cat <<\EOF
       --with-ncursesw         use wide ncurses-libraries (installed)
       --with-ncurses          use ncurses-libraries (installed)
       --with-pdcurses         compile/link with pdcurses X11 library
    -  --with-x                use the X Window System
       --with-Xaw3d            link with Xaw 3d library
       --with-neXtaw           link with neXT Athena library
       --with-XawPlus          link with Athena-Plus library
    +  --with-pkg-config{=path} enable/disable use of pkg-config
    +  --with-x                use the X Window System
       --with-ncurses-wrap-prefix naming-prefix for ncurses wrapped-variables
    +EOF
    +cat <<\EOF
     EOF
         exit 0 ;;
     
    @@ -532,241 +535,6 @@ else
       ac_n= ac_c='\c' ac_t=
     fi
     
    -# If we find X, set shell vars x_includes and x_libraries to the
    -# paths, otherwise set no_x=yes.
    -# Uses ac_ vars as temps to allow command line to override cache and checks.
    -# --without-x overrides everything else, but does not touch the cache.
    -echo $ac_n "checking for X""... $ac_c" 1>&6
    -echo "configure:541: checking for X" >&5
    -
    -
    -# Check whether --with-x or --without-x was given.
    -if test "${with_x+set}" = set; then
    -  withval="$with_x"
    -  :
    -fi
    -
    -# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
    -if test "x$with_x" = xno; then
    -  # The user explicitly disabled X.
    -  have_x=disabled
    -else
    -  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    -    # Both variables are already set.
    -    have_x=yes
    -  else
    -if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
    -  echo $ac_n "(cached) $ac_c" 1>&6
    -else
    -  # One or both of the vars are not set, and there is no cached value.
    -ac_x_includes=NO ac_x_libraries=NO
    -rm -fr conftestdir
    -if mkdir conftestdir; then
    -  cd conftestdir
    -  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
    -  cat > Imakefile <<'EOF'
    -acfindx:
    -	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
    -EOF
    -  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
    -    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    -    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
    -    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
    -    for ac_extension in a so sl; do
    -      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
    -        test -f $ac_im_libdir/libX11.$ac_extension; then
    -        ac_im_usrlibdir=$ac_im_libdir; break
    -      fi
    -    done
    -    # Screen out bogus values from the imake configuration.  They are
    -    # bogus both because they are the default anyway, and because
    -    # using them would break gcc on systems where it needs fixed includes.
    -    case "$ac_im_incroot" in
    -	/usr/include) ;;
    -	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
    -    esac
    -    case "$ac_im_usrlibdir" in
    -	/usr/lib | /lib) ;;
    -	*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
    -    esac
    -  fi
    -  cd ..
    -  rm -fr conftestdir
    -fi
    -
    -if test "$ac_x_includes" = NO; then
    -  # Guess where to find include files, by looking for this one X11 .h file.
    -  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
    -
    -  # First, try using that file with no special directory specified.
    -cat > conftest.$ac_ext <
    -EOF
    -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    -if test -z "$ac_err"; then
    -  rm -rf conftest*
    -  # We can compile using X headers with no special include directory.
    -ac_x_includes=
    -else
    -  echo "$ac_err" >&5
    -  echo "configure: failed program was:" >&5
    -  cat conftest.$ac_ext >&5
    -  rm -rf conftest*
    -  # Look for the header file in a standard set of common directories.
    -# Check X11 before X11Rn because it is often a symlink to the current release.
    -  for ac_dir in               \
    -    /usr/X11/include          \
    -    /usr/X11R6/include        \
    -    /usr/X11R5/include        \
    -    /usr/X11R4/include        \
    -                              \
    -    /usr/include/X11          \
    -    /usr/include/X11R6        \
    -    /usr/include/X11R5        \
    -    /usr/include/X11R4        \
    -                              \
    -    /usr/local/X11/include    \
    -    /usr/local/X11R6/include  \
    -    /usr/local/X11R5/include  \
    -    /usr/local/X11R4/include  \
    -                              \
    -    /usr/local/include/X11    \
    -    /usr/local/include/X11R6  \
    -    /usr/local/include/X11R5  \
    -    /usr/local/include/X11R4  \
    -                              \
    -    /usr/X386/include         \
    -    /usr/x386/include         \
    -    /usr/XFree86/include/X11  \
    -                              \
    -    /usr/include              \
    -    /usr/local/include        \
    -    /usr/unsupported/include  \
    -    /usr/athena/include       \
    -    /usr/local/x11r5/include  \
    -    /usr/lpp/Xamples/include  \
    -                              \
    -    /usr/openwin/include      \
    -    /usr/openwin/share/include \
    -    ; \
    -  do
    -    if test -r "$ac_dir/$x_direct_test_include"; then
    -      ac_x_includes=$ac_dir
    -      break
    -    fi
    -  done
    -fi
    -rm -f conftest*
    -fi # $ac_x_includes = NO
    -
    -if test "$ac_x_libraries" = NO; then
    -  # Check for the libraries.
    -
    -  test -z "$x_direct_test_library" && x_direct_test_library=Xt
    -  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
    -
    -  # See if we find them without any special options.
    -  # Don't add to $LIBS permanently.
    -  ac_save_LIBS="$LIBS"
    -  LIBS="-l$x_direct_test_library $LIBS"
    -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    -  rm -rf conftest*
    -  LIBS="$ac_save_LIBS"
    -# We can link X programs with no special library path.
    -ac_x_libraries=
    -else
    -  echo "configure: failed program was:" >&5
    -  cat conftest.$ac_ext >&5
    -  rm -rf conftest*
    -  LIBS="$ac_save_LIBS"
    -# First see if replacing the include by lib works.
    -# Check X11 before X11Rn because it is often a symlink to the current release.
    -for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
    -    /usr/X11/lib          \
    -    /usr/X11R6/lib        \
    -    /usr/X11R5/lib        \
    -    /usr/X11R4/lib        \
    -                          \
    -    /usr/lib/X11          \
    -    /usr/lib/X11R6        \
    -    /usr/lib/X11R5        \
    -    /usr/lib/X11R4        \
    -                          \
    -    /usr/local/X11/lib    \
    -    /usr/local/X11R6/lib  \
    -    /usr/local/X11R5/lib  \
    -    /usr/local/X11R4/lib  \
    -                          \
    -    /usr/local/lib/X11    \
    -    /usr/local/lib/X11R6  \
    -    /usr/local/lib/X11R5  \
    -    /usr/local/lib/X11R4  \
    -                          \
    -    /usr/X386/lib         \
    -    /usr/x386/lib         \
    -    /usr/XFree86/lib/X11  \
    -                          \
    -    /usr/lib              \
    -    /usr/local/lib        \
    -    /usr/unsupported/lib  \
    -    /usr/athena/lib       \
    -    /usr/local/x11r5/lib  \
    -    /usr/lpp/Xamples/lib  \
    -    /lib/usr/lib/X11	  \
    -                          \
    -    /usr/openwin/lib      \
    -    /usr/openwin/share/lib \
    -    ; \
    -do
    -  for ac_extension in a so sl; do
    -    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
    -      ac_x_libraries=$ac_dir
    -      break 2
    -    fi
    -  done
    -done
    -fi
    -rm -f conftest*
    -fi # $ac_x_libraries = NO
    -
    -if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
    -  # Didn't find X anywhere.  Cache the known absence of X.
    -  ac_cv_have_x="have_x=no"
    -else
    -  # Record where we found X for the cache.
    -  ac_cv_have_x="have_x=yes \
    -	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
    -fi
    -fi
    -  fi
    -  eval "$ac_cv_have_x"
    -fi # $with_x != no
    -
    -if test "$have_x" != yes; then
    -  echo "$ac_t""$have_x" 1>&6
    -  no_x=yes
    -else
    -  # If each of the values was on the command line, it overrides each guess.
    -  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
    -  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
    -  # Update the cache value to reflect the command line values.
    -  ac_cv_have_x="have_x=yes \
    -		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
    -  echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
    -fi
    -
     
     
     
    @@ -804,7 +572,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
     fi
     
     echo $ac_n "checking host system type""... $ac_c" 1>&6
    -echo "configure:808: checking host system type" >&5
    +echo "configure:576: checking host system type" >&5
     
     host_alias=$host
     case "$host_alias" in
    @@ -852,7 +620,7 @@ fi
     
     
     echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    -echo "configure:856: checking whether ${MAKE-make} sets \${MAKE}" >&5
    +echo "configure:624: checking whether ${MAKE-make} sets \${MAKE}" >&5
     set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -881,7 +649,7 @@ fi
     # Extract the first word of "gcc", so it can be a program name with args.
     set dummy gcc; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:885: checking for $ac_word" >&5
    +echo "configure:653: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -911,7 +679,7 @@ if test -z "$CC"; then
       # Extract the first word of "cc", so it can be a program name with args.
     set dummy cc; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:915: checking for $ac_word" >&5
    +echo "configure:683: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -962,7 +730,7 @@ fi
           # Extract the first word of "cl", so it can be a program name with args.
     set dummy cl; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:966: checking for $ac_word" >&5
    +echo "configure:734: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -994,7 +762,7 @@ fi
     fi
     
     echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    -echo "configure:998: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    +echo "configure:766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     
     ac_ext=c
     # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    @@ -1005,12 +773,12 @@ cross_compiling=$ac_cv_prog_cc_cross
     
     cat > conftest.$ac_ext << EOF
     
    -#line 1009 "configure"
    +#line 777 "configure"
     #include "confdefs.h"
     
     main(){return(0);}
     EOF
    -if { (eval echo configure:1014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       ac_cv_prog_cc_works=yes
       # If we can't run a trivial program, we are probably using a cross compiler.
       if (./conftest; exit) 2>/dev/null; then
    @@ -1036,12 +804,12 @@ if test $ac_cv_prog_cc_works = no; then
       { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
     fi
     echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    -echo "configure:1040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    +echo "configure:808: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     cross_compiling=$ac_cv_prog_cc_cross
     
     echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    -echo "configure:1045: checking whether we are using GNU C" >&5
    +echo "configure:813: checking whether we are using GNU C" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1050,7 +818,7 @@ else
       yes;
     #endif
     EOF
    -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
       ac_cv_prog_gcc=yes
     else
       ac_cv_prog_gcc=no
    @@ -1069,7 +837,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
     ac_save_CFLAGS="$CFLAGS"
     CFLAGS=
     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    -echo "configure:1073: checking whether ${CC-cc} accepts -g" >&5
    +echo "configure:841: checking whether ${CC-cc} accepts -g" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1101,7 +869,7 @@ else
     fi
     
     echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    -echo "configure:1105: checking how to run the C preprocessor" >&5
    +echo "configure:873: checking how to run the C preprocessor" >&5
     # On Suns, sometimes $CPP names a directory.
     if test -n "$CPP" && test -d "$CPP"; then
       CPP=
    @@ -1116,13 +884,13 @@ else
       # On the NeXT, cc -E runs the code through the compiler's parser,
       # not just through cpp.
       cat > conftest.$ac_ext <
     Syntax Error
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:1126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       :
    @@ -1133,13 +901,13 @@ else
       rm -rf conftest*
       CPP="${CC-cc} -E -traditional-cpp"
       cat > conftest.$ac_ext <
     Syntax Error
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:1143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       :
    @@ -1150,13 +918,13 @@ else
       rm -rf conftest*
       CPP="${CC-cc} -nologo -E"
       cat > conftest.$ac_ext <
     Syntax Error
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:1160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       :
    @@ -1185,7 +953,7 @@ do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
     set dummy $ac_prog; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:1189: checking for $ac_word" >&5
    +echo "configure:957: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1216,7 +984,7 @@ done
     
     
     echo $ac_n "checking if filesystem supports mixed-case filenames""... $ac_c" 1>&6
    -echo "configure:1220: checking if filesystem supports mixed-case filenames" >&5
    +echo "configure:988: checking if filesystem supports mixed-case filenames" >&5
     if eval "test \"`echo '$''{'cf_cv_mixedcase'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1257,7 +1025,7 @@ do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
     set dummy $ac_prog; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:1261: checking for $ac_word" >&5
    +echo "configure:1029: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_CTAGS'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1291,7 +1059,7 @@ do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
     set dummy $ac_prog; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:1295: checking for $ac_word" >&5
    +echo "configure:1063: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_ETAGS'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1324,7 +1092,7 @@ done
     # Extract the first word of "${CTAGS-ctags}", so it can be a program name with args.
     set dummy ${CTAGS-ctags}; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:1328: checking for $ac_word" >&5
    +echo "configure:1096: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_MAKE_LOWER_TAGS'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1356,7 +1124,7 @@ if test "$cf_cv_mixedcase" = yes ; then
     	# Extract the first word of "${ETAGS-etags}", so it can be a program name with args.
     set dummy ${ETAGS-etags}; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:1360: checking for $ac_word" >&5
    +echo "configure:1128: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_prog_MAKE_UPPER_TAGS'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1438,12 +1206,12 @@ cf_cv_screen=curses
     cf_cv_libtype=
     
     echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    -echo "configure:1442: checking for Cygwin environment" >&5
    +echo "configure:1210: checking for Cygwin environment" >&5
     if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       ac_cv_cygwin=yes
     else
    @@ -1471,19 +1239,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
     CYGWIN=
     test "$ac_cv_cygwin" = yes && CYGWIN=yes
     echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    -echo "configure:1475: checking for mingw32 environment" >&5
    +echo "configure:1243: checking for mingw32 environment" >&5
     if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       ac_cv_mingw32=yes
     else
    @@ -1502,7 +1270,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes
     
     
     echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    -echo "configure:1506: checking for executable suffix" >&5
    +echo "configure:1274: checking for executable suffix" >&5
     if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1512,7 +1280,7 @@ else
       rm -f conftest*
       echo 'int main () { return 0; }' > conftest.$ac_ext
       ac_cv_exeext=
    -  if { (eval echo configure:1516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    +  if { (eval echo configure:1284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
         for file in conftest.*; do
           case $file in
           *.c | *.o | *.obj) ;;
    @@ -1533,13 +1301,13 @@ echo "$ac_t""${ac_cv_exeext}" 1>&6
     ac_exeext=$EXEEXT
     
     echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    -echo "configure:1537: checking for object suffix" >&5
    +echo "configure:1305: checking for object suffix" >&5
     if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       rm -f conftest*
     echo 'int i = 1;' > conftest.$ac_ext
    -if { (eval echo configure:1543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       for ac_file in conftest.*; do
         case $ac_file in
         *.c) ;;
    @@ -1559,7 +1327,7 @@ ac_objext=$ac_cv_objext
     
     
     echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
    -echo "configure:1563: checking for ${CC-cc} option to accept ANSI C" >&5
    +echo "configure:1331: checking for ${CC-cc} option to accept ANSI C" >&5
     if eval "test \"`echo '$''{'cf_cv_ansi_cc'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -1665,7 +1433,7 @@ fi
     
     
     	cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ansi_cc="$cf_arg"; break
     else
    @@ -1818,9 +1586,9 @@ EOF
     if test "$GCC" = yes
     then
     	echo "checking for $CC __attribute__ directives" 1>&6
    -echo "configure:1822: checking for $CC __attribute__ directives" >&5
    +echo "configure:1590: checking for $CC __attribute__ directives" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +		if { (eval echo configure:1641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     			test -n "$verbose" && echo "$ac_t""... $cf_attribute" 1>&6
     			cat conftest.h >>confdefs.h
     			case $cf_attribute in #(vi
    @@ -1940,13 +1708,13 @@ irix[56].*) #(vi
     linux*|gnu*|mint*|k*bsd*-gnu) #(vi
     	
     echo $ac_n "checking if we must define _GNU_SOURCE""... $ac_c" 1>&6
    -echo "configure:1944: checking if we must define _GNU_SOURCE" >&5
    +echo "configure:1712: checking if we must define _GNU_SOURCE" >&5
     if eval "test \"`echo '$''{'cf_cv_gnu_source'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
     int main() {
    @@ -1956,7 +1724,7 @@ make an error
     #endif
     ; return 0; }
     EOF
    -if { (eval echo configure:1960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_gnu_source=no
     else
    @@ -1966,7 +1734,7 @@ else
       cf_save="$CPPFLAGS"
     	 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
     	 cat > conftest.$ac_ext <
     int main() {
    @@ -1976,7 +1744,7 @@ make an error
     #endif
     ; return 0; }
     EOF
    -if { (eval echo configure:1980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_gnu_source=no
     else
    @@ -2023,13 +1791,13 @@ solaris2.[1-9]) #(vi
     	;;
     *)
     	echo $ac_n "checking if we should define _XOPEN_SOURCE""... $ac_c" 1>&6
    -echo "configure:2027: checking if we should define _XOPEN_SOURCE" >&5
    +echo "configure:1795: checking if we should define _XOPEN_SOURCE" >&5
     if eval "test \"`echo '$''{'cf_cv_xopen_source'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     	cat > conftest.$ac_ext <
     int main() {
    @@ -2039,7 +1807,7 @@ make an error
     #endif
     ; return 0; }
     EOF
    -if { (eval echo configure:2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_xopen_source=no
     else
    @@ -2049,7 +1817,7 @@ else
       cf_save="$CPPFLAGS"
     	 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
     	 cat > conftest.$ac_ext <
     int main() {
    @@ -2059,7 +1827,7 @@ make an error
     #endif
     ; return 0; }
     EOF
    -if { (eval echo configure:2063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_xopen_source=no
     else
    @@ -2190,16 +1958,16 @@ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
     
     
     echo $ac_n "checking if we should define _POSIX_C_SOURCE""... $ac_c" 1>&6
    -echo "configure:2194: checking if we should define _POSIX_C_SOURCE" >&5
    +echo "configure:1962: checking if we should define _POSIX_C_SOURCE" >&5
     if eval "test \"`echo '$''{'cf_cv_posix_c_source'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     	
    -echo "${as_me-configure}:2200: testing if the symbol is already defined go no further ..." 1>&5
    +echo "${as_me-configure}:1968: testing if the symbol is already defined go no further ..." 1>&5
     
     	cat > conftest.$ac_ext <
     int main() {
    @@ -2209,7 +1977,7 @@ make an error
     #endif
     ; return 0; }
     EOF
    -if { (eval echo configure:2213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:1981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_posix_c_source=no
     else
    @@ -2231,7 +1999,7 @@ else
     	 esac
     	 if test "$cf_want_posix_source" = yes ; then
     		cat > conftest.$ac_ext <
     int main() {
    @@ -2241,7 +2009,7 @@ make an error
     #endif
     ; return 0; }
     EOF
    -if { (eval echo configure:2245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:2013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -2252,15 +2020,15 @@ fi
     rm -f conftest*
     	 fi
     	 
    -echo "${as_me-configure}:2256: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
    +echo "${as_me-configure}:2024: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
     
     	 CFLAGS="$cf_trim_CFLAGS"
     	 CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
     	 
    -echo "${as_me-configure}:2261: testing if the second compile does not leave our definition intact error ..." 1>&5
    +echo "${as_me-configure}:2029: testing if the second compile does not leave our definition intact error ..." 1>&5
     
     	 cat > conftest.$ac_ext <
     int main() {
    @@ -2270,7 +2038,7 @@ make an error
     #endif
     ; return 0; }
     EOF
    -if { (eval echo configure:2274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:2042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -2466,12 +2234,12 @@ fi
     fi
     
     echo $ac_n "checking for working const""... $ac_c" 1>&6
    -echo "configure:2470: checking for working const" >&5
    +echo "configure:2238: checking for working const" >&5
     if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:2292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       ac_cv_c_const=yes
     else
    @@ -2542,7 +2310,7 @@ fi
     
     
     echo $ac_n "checking for signal global datatype""... $ac_c" 1>&6
    -echo "configure:2546: checking for signal global datatype" >&5
    +echo "configure:2314: checking for signal global datatype" >&5
     if eval "test \"`echo '$''{'cf_cv_sig_atomic_t'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -2553,7 +2321,7 @@ else
     		"int"
     	do
     	cat > conftest.$ac_ext <
    @@ -2571,7 +2339,7 @@ signal(SIGINT, handler);
     		 x = 1
     ; return 0; }
     EOF
    -if { (eval echo configure:2575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:2343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_sig_atomic_t=$cf_type
     else
    @@ -2595,7 +2363,7 @@ EOF
     
     
     echo $ac_n "checking if you want to see long compiling messages""... $ac_c" 1>&6
    -echo "configure:2599: checking if you want to see long compiling messages" >&5
    +echo "configure:2367: checking if you want to see long compiling messages" >&5
     
     # Check whether --enable-echo or --disable-echo was given.
     if test "${enable_echo+set}" = set; then
    @@ -2642,7 +2410,7 @@ echo "$ac_t""$enableval" 1>&6
     GCC_VERSION=none
     if test "$GCC" = yes ; then
     	echo $ac_n "checking version of $CC""... $ac_c" 1>&6
    -echo "configure:2646: checking version of $CC" >&5
    +echo "configure:2414: checking version of $CC" >&5
     	GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
     	test -z "$GCC_VERSION" && GCC_VERSION=unknown
     	echo "$ac_t""$GCC_VERSION" 1>&6
    @@ -2652,7 +2420,7 @@ fi
     if ( test "$GCC" = yes || test "$GXX" = yes )
     then
     echo $ac_n "checking if you want to turn on gcc warnings""... $ac_c" 1>&6
    -echo "configure:2656: checking if you want to turn on gcc warnings" >&5
    +echo "configure:2424: checking if you want to turn on gcc warnings" >&5
     
     # Check whether --enable-warnings or --disable-warnings was given.
     if test "${enable_warnings+set}" = set; then
    @@ -2692,9 +2460,9 @@ EOF
     if test "$GCC" = yes
     then
     	echo "checking for $CC __attribute__ directives" 1>&6
    -echo "configure:2696: checking for $CC __attribute__ directives" >&5
    +echo "configure:2464: checking for $CC __attribute__ directives" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +		if { (eval echo configure:2515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     			test -n "$verbose" && echo "$ac_t""... $cf_attribute" 1>&6
     			cat conftest.h >>confdefs.h
     			case $cf_attribute in #(vi
    @@ -2787,11 +2555,11 @@ if test "$GCC" = yes ; then
     	case $host_os in
     	linux*|gnu*)
     		echo $ac_n "checking if this is really Intel C compiler""... $ac_c" 1>&6
    -echo "configure:2791: checking if this is really Intel C compiler" >&5
    +echo "configure:2559: checking if this is really Intel C compiler" >&5
     		cf_save_CFLAGS="$CFLAGS"
     		CFLAGS="$CFLAGS -no-gcc"
     		cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:2575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       INTEL_COMPILER=yes
     cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
    @@ -2821,7 +2589,7 @@ fi
     
     
     cat > conftest.$ac_ext <&6
    -echo "configure:2843: checking for $CC warning options" >&5
    +echo "configure:2611: checking for $CC warning options" >&5
     	cf_save_CFLAGS="$CFLAGS"
     	EXTRA_CFLAGS="-Wall"
     	for cf_opt in \
    @@ -2854,7 +2622,7 @@ echo "configure:2843: checking for $CC warning options" >&5
     		wd981
     	do
     		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    -		if { (eval echo configure:2858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +		if { (eval echo configure:2626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     			test -n "$verbose" && echo "$ac_t""... -$cf_opt" 1>&6
     			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
     		fi
    @@ -2864,7 +2632,7 @@ echo "configure:2843: checking for $CC warning options" >&5
     elif test "$GCC" = yes
     then
     	echo "checking for $CC warning options" 1>&6
    -echo "configure:2868: checking for $CC warning options" >&5
    +echo "configure:2636: checking for $CC warning options" >&5
     	cf_save_CFLAGS="$CFLAGS"
     	EXTRA_CFLAGS=
     	cf_warn_CONST=""
    @@ -2883,7 +2651,7 @@ echo "configure:2868: checking for $CC warning options" >&5
     		Wundef $cf_warn_CONST 
     	do
     		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    -		if { (eval echo configure:2887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +		if { (eval echo configure:2655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     			test -n "$verbose" && echo "$ac_t""... -$cf_opt" 1>&6
     			case $cf_opt in #(vi
     			Wcast-qual) #(vi
    @@ -2894,7 +2662,7 @@ echo "configure:2868: checking for $CC warning options" >&5
     				[34].*)
     					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6
     
    -echo "${as_me-configure}:2898: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    +echo "${as_me-configure}:2666: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     
     
     					continue;;
    @@ -2999,7 +2767,7 @@ curses)
     
     
     echo $ac_n "checking for extra include directories""... $ac_c" 1>&6
    -echo "configure:3003: checking for extra include directories" >&5
    +echo "configure:2771: checking for extra include directories" >&5
     if eval "test \"`echo '$''{'cf_cv_curses_incdir'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -3024,7 +2792,7 @@ test "$cf_cv_curses_incdir" != no && CPPFLAGS="$CPPFLAGS $cf_cv_curses_incdir"
     
     
     echo $ac_n "checking if we have identified curses headers""... $ac_c" 1>&6
    -echo "configure:3028: checking if we have identified curses headers" >&5
    +echo "configure:2796: checking if we have identified curses headers" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -3035,14 +2803,14 @@ for cf_header in  \
     	ncurses.h ncurses/curses.h ncurses/ncurses.h
     do
     cat > conftest.$ac_ext <
     int main() {
     initscr(); tgoto("?", 0,0)
     ; return 0; }
     EOF
    -if { (eval echo configure:3046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:2814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_header=$cf_header; break
     else
    @@ -3065,17 +2833,17 @@ for ac_hdr in $cf_cv_ncurses_header
     do
     ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    -echo "configure:3069: checking for $ac_hdr" >&5
    +echo "configure:2837: checking for $ac_hdr" >&5
     if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:3079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       rm -rf conftest*
    @@ -3104,7 +2872,7 @@ done
     
     
     echo $ac_n "checking for terminfo header""... $ac_c" 1>&6
    -echo "configure:3108: checking for terminfo header" >&5
    +echo "configure:2876: checking for terminfo header" >&5
     if eval "test \"`echo '$''{'cf_cv_term_header'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -3121,7 +2889,7 @@ esac
     for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
     do
     cat > conftest.$ac_ext <
     #include <${cf_cv_ncurses_header-curses.h}>
    @@ -3131,7 +2899,7 @@ int main() {
     int x = auto_left_margin
     ; return 0; }
     EOF
    -if { (eval echo configure:3135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       
     	cf_cv_term_header="$cf_test"
    @@ -3180,7 +2948,7 @@ esac
     
     
     echo $ac_n "checking for ncurses version""... $ac_c" 1>&6
    -echo "configure:3184: checking for ncurses version" >&5
    +echo "configure:2952: checking for ncurses version" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_version'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -3206,7 +2974,7 @@ Autoconf "old"
     #endif
     EOF
     	cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    -	{ (eval echo configure:3210: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; }
    +	{ (eval echo configure:2978: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; }
     	if test -f conftest.out ; then
     		cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
     		test -n "$cf_out" && cf_cv_ncurses_version="$cf_out"
    @@ -3215,7 +2983,7 @@ EOF
     
     else
       cat > conftest.$ac_ext <
    @@ -3239,7 +3007,7 @@ int main()
     	${cf_cv_main_return-return}(0);
     }
     EOF
    -if { (eval echo configure:3243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    +if { (eval echo configure:3011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     then
       
     	cf_cv_ncurses_version=`cat $cf_tempfile`
    @@ -3263,16 +3031,16 @@ EOF
     
     
     echo $ac_n "checking if we have identified curses libraries""... $ac_c" 1>&6
    -echo "configure:3267: checking if we have identified curses libraries" >&5
    +echo "configure:3035: checking if we have identified curses libraries" >&5
     cat > conftest.$ac_ext <
     int main() {
     initscr(); tgoto("?", 0,0)
     ; return 0; }
     EOF
    -if { (eval echo configure:3276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -3288,7 +3056,7 @@ if test "$cf_result" = no ; then
     case $host_os in #(vi
     freebsd*) #(vi
         echo $ac_n "checking for tgoto in -lmytinfo""... $ac_c" 1>&6
    -echo "configure:3292: checking for tgoto in -lmytinfo" >&5
    +echo "configure:3060: checking for tgoto in -lmytinfo" >&5
     ac_lib_var=`echo mytinfo'_'tgoto | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -3296,7 +3064,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lmytinfo  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -3330,7 +3098,7 @@ fi
         ;;
     hpux10.*) #(vi
         echo $ac_n "checking for initscr in -lcur_colr""... $ac_c" 1>&6
    -echo "configure:3334: checking for initscr in -lcur_colr" >&5
    +echo "configure:3102: checking for initscr in -lcur_colr" >&5
     ac_lib_var=`echo cur_colr'_'initscr | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -3338,7 +3106,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lcur_colr  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -3372,7 +3140,7 @@ else
       echo "$ac_t""no" 1>&6
     
         echo $ac_n "checking for initscr in -lHcurses""... $ac_c" 1>&6
    -echo "configure:3376: checking for initscr in -lHcurses" >&5
    +echo "configure:3144: checking for initscr in -lHcurses" >&5
     ac_lib_var=`echo Hcurses'_'initscr | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -3380,7 +3148,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lHcurses  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -3440,7 +3208,7 @@ if test -n "/lib" ; then
           if test "$cf_have_libdir" = no ; then
             test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6
     
    -echo "${as_me-configure}:3444: testing adding $cf_add_libdir to library-path ..." 1>&5
    +echo "${as_me-configure}:3212: testing adding $cf_add_libdir to library-path ..." 1>&5
     
     
             LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    @@ -3472,7 +3240,7 @@ if test -n "/usr/5lib" ; then
           if test "$cf_have_libdir" = no ; then
             test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6
     
    -echo "${as_me-configure}:3476: testing adding $cf_add_libdir to library-path ..." 1>&5
    +echo "${as_me-configure}:3244: testing adding $cf_add_libdir to library-path ..." 1>&5
     
     
             LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    @@ -3502,12 +3270,12 @@ if test ".$ac_cv_func_initscr" != .yes ; then
         # Check for library containing tgoto.  Do this before curses library
         # because it may be needed to link the test-case for initscr.
         echo $ac_n "checking for tgoto""... $ac_c" 1>&6
    -echo "configure:3506: checking for tgoto" >&5
    +echo "configure:3274: checking for tgoto" >&5
     if eval "test \"`echo '$''{'ac_cv_func_tgoto'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_tgoto=yes"
     else
    @@ -3551,7 +3319,7 @@ else
             for cf_term_lib in $cf_check_list termcap termlib unknown
             do
                 echo $ac_n "checking for tgoto in -l$cf_term_lib""... $ac_c" 1>&6
    -echo "configure:3555: checking for tgoto in -l$cf_term_lib" >&5
    +echo "configure:3323: checking for tgoto in -l$cf_term_lib" >&5
     ac_lib_var=`echo $cf_term_lib'_'tgoto | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -3559,7 +3327,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-l$cf_term_lib  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -3600,7 +3368,7 @@ fi
      	for cf_curs_lib in $cf_check_list xcurses jcurses pdcurses unknown
         do
             echo $ac_n "checking for initscr in -l$cf_curs_lib""... $ac_c" 1>&6
    -echo "configure:3604: checking for initscr in -l$cf_curs_lib" >&5
    +echo "configure:3372: checking for initscr in -l$cf_curs_lib" >&5
     ac_lib_var=`echo $cf_curs_lib'_'initscr | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -3608,7 +3376,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-l$cf_curs_lib  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -3645,16 +3413,16 @@ fi
         LIBS="-l$cf_curs_lib $cf_save_LIBS"
         if test "$cf_term_lib" = unknown ; then
             echo $ac_n "checking if we can link with $cf_curs_lib library""... $ac_c" 1>&6
    -echo "configure:3649: checking if we can link with $cf_curs_lib library" >&5
    +echo "configure:3417: checking if we can link with $cf_curs_lib library" >&5
             cat > conftest.$ac_ext <
     int main() {
     initscr()
     ; return 0; }
     EOF
    -if { (eval echo configure:3658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -3670,16 +3438,16 @@ rm -f conftest*
             :
         elif test "$cf_term_lib" != predefined ; then
             echo $ac_n "checking if we need both $cf_curs_lib and $cf_term_lib libraries""... $ac_c" 1>&6
    -echo "configure:3674: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
    +echo "configure:3442: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
             cat > conftest.$ac_ext <
     int main() {
     initscr(); tgoto((char *)0, 0, 0);
     ; return 0; }
     EOF
    -if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=no
     else
    @@ -3689,14 +3457,14 @@ else
       
                 LIBS="-l$cf_curs_lib -l$cf_term_lib $cf_save_LIBS"
                 cat > conftest.$ac_ext <
     int main() {
     initscr()
     ; return 0; }
     EOF
    -if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:3468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -3727,7 +3495,7 @@ do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
     set dummy $ac_prog; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:3731: checking for $ac_word" >&5
    +echo "configure:3499: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_path_NCURSES_CONFIG'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -3772,7 +3540,7 @@ LIBS="`$NCURSES_CONFIG --libs` $LIBS"
     # even with config script, some packages use no-override for curses.h
     
     echo $ac_n "checking if we have identified curses headers""... $ac_c" 1>&6
    -echo "configure:3776: checking if we have identified curses headers" >&5
    +echo "configure:3544: checking if we have identified curses headers" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -3785,14 +3553,14 @@ for cf_header in  \
     	ncurses.h 
     do
     cat > conftest.$ac_ext <
     int main() {
     initscr(); tgoto("?", 0,0)
     ; return 0; }
     EOF
    -if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_header=$cf_header; break
     else
    @@ -3815,17 +3583,17 @@ for ac_hdr in $cf_cv_ncurses_header
     do
     ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    -echo "configure:3819: checking for $ac_hdr" >&5
    +echo "configure:3587: checking for $ac_hdr" >&5
     if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:3829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:3597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       rm -rf conftest*
    @@ -3901,14 +3669,14 @@ if test -n "$cf_cv_curses_dir/include $cf_cv_curses_dir/include/$cf_ncuhdr_root"
     			  cf_save_CPPFLAGS=$CPPFLAGS
     			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
     			  cat > conftest.$ac_ext <
     int main() {
     printf("Hello")
     ; return 0; }
     EOF
    -if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -3925,7 +3693,7 @@ rm -f conftest*
     		if test "$cf_have_incdir" = no ; then
     		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6
     
    -echo "${as_me-configure}:3929: testing adding $cf_add_incdir to include-path ..." 1>&5
    +echo "${as_me-configure}:3697: testing adding $cf_add_incdir to include-path ..." 1>&5
     
     
     		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    @@ -3944,7 +3712,7 @@ fi
     }
     
     echo $ac_n "checking for $cf_ncuhdr_root header in include-path""... $ac_c" 1>&6
    -echo "configure:3948: checking for $cf_ncuhdr_root header in include-path" >&5
    +echo "configure:3716: checking for $cf_ncuhdr_root header in include-path" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_h'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -3955,7 +3723,7 @@ else
     	do
     		
     	cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:3748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_h=$cf_header
     	
    @@ -4002,7 +3770,7 @@ if test "$cf_cv_ncurses_h" != no ; then
     else
     
     echo $ac_n "checking for $cf_ncuhdr_root include-path""... $ac_c" 1>&6
    -echo "configure:4006: checking for $cf_ncuhdr_root include-path" >&5
    +echo "configure:3774: checking for $cf_ncuhdr_root include-path" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_h2'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -4148,14 +3916,14 @@ if test -n "$cf_incdir" ; then
     			  cf_save_CPPFLAGS=$CPPFLAGS
     			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
     			  cat > conftest.$ac_ext <
     int main() {
     printf("Hello")
     ; return 0; }
     EOF
    -if { (eval echo configure:4159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -4172,7 +3940,7 @@ rm -f conftest*
     		if test "$cf_have_incdir" = no ; then
     		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6
     
    -echo "${as_me-configure}:4176: testing adding $cf_add_incdir to include-path ..." 1>&5
    +echo "${as_me-configure}:3944: testing adding $cf_add_incdir to include-path ..." 1>&5
     
     
     		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    @@ -4194,7 +3962,7 @@ fi
     		do
     			
     	cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:3987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_h2=$cf_header
     	
    @@ -4273,14 +4041,14 @@ if test -n "$cf_1st_incdir" ; then
     			  cf_save_CPPFLAGS=$CPPFLAGS
     			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
     			  cat > conftest.$ac_ext <
     int main() {
     printf("Hello")
     ; return 0; }
     EOF
    -if { (eval echo configure:4284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -4297,7 +4065,7 @@ rm -f conftest*
     		if test "$cf_have_incdir" = no ; then
     		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6
     
    -echo "${as_me-configure}:4301: testing adding $cf_add_incdir to include-path ..." 1>&5
    +echo "${as_me-configure}:4069: testing adding $cf_add_incdir to include-path ..." 1>&5
     
     
     		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    @@ -4345,7 +4113,7 @@ esac
     
     
     echo $ac_n "checking for terminfo header""... $ac_c" 1>&6
    -echo "configure:4349: checking for terminfo header" >&5
    +echo "configure:4117: checking for terminfo header" >&5
     if eval "test \"`echo '$''{'cf_cv_term_header'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -4362,7 +4130,7 @@ esac
     for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
     do
     cat > conftest.$ac_ext <
     #include <${cf_cv_ncurses_header-curses.h}>
    @@ -4372,7 +4140,7 @@ int main() {
     int x = auto_left_margin
     ; return 0; }
     EOF
    -if { (eval echo configure:4376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:4144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       
     	cf_cv_term_header="$cf_test"
    @@ -4427,7 +4195,7 @@ EOF
     
     
     echo $ac_n "checking for ncurses version""... $ac_c" 1>&6
    -echo "configure:4431: checking for ncurses version" >&5
    +echo "configure:4199: checking for ncurses version" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_version'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -4453,7 +4221,7 @@ Autoconf "old"
     #endif
     EOF
     	cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    -	{ (eval echo configure:4457: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; }
    +	{ (eval echo configure:4225: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; }
     	if test -f conftest.out ; then
     		cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
     		test -n "$cf_out" && cf_cv_ncurses_version="$cf_out"
    @@ -4462,7 +4230,7 @@ EOF
     
     else
       cat > conftest.$ac_ext <
    @@ -4486,7 +4254,7 @@ int main()
     	${cf_cv_main_return-return}(0);
     }
     EOF
    -if { (eval echo configure:4490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    +if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     then
       
     	cf_cv_ncurses_version=`cat $cf_tempfile`
    @@ -4517,7 +4285,7 @@ cf_nculib_root=ncurses
     cf_ncurses_LIBS=""
     cf_ncurses_SAVE="$LIBS"
     echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
    -echo "configure:4521: checking for Gpm_Open in -lgpm" >&5
    +echo "configure:4289: checking for Gpm_Open in -lgpm" >&5
     ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -4525,7 +4293,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lgpm  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -4552,7 +4320,7 @@ fi
     if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       echo "$ac_t""yes" 1>&6
       echo $ac_n "checking for initscr in -lgpm""... $ac_c" 1>&6
    -echo "configure:4556: checking for initscr in -lgpm" >&5
    +echo "configure:4324: checking for initscr in -lgpm" >&5
     ac_lib_var=`echo gpm'_'initscr | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -4560,7 +4328,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lgpm  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -4603,7 +4371,7 @@ freebsd*)
     	# version of ncurses (but it should do no harm, since it's static).
     	if test "$cf_nculib_root" = ncurses ; then
     		echo $ac_n "checking for tgoto in -lmytinfo""... $ac_c" 1>&6
    -echo "configure:4607: checking for tgoto in -lmytinfo" >&5
    +echo "configure:4375: checking for tgoto in -lmytinfo" >&5
     ac_lib_var=`echo mytinfo'_'tgoto | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -4611,7 +4379,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lmytinfo  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -4670,7 +4438,7 @@ if test -n "$cf_cv_curses_dir/lib" ; then
           if test "$cf_have_libdir" = no ; then
             test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6
     
    -echo "${as_me-configure}:4674: testing adding $cf_add_libdir to library-path ..." 1>&5
    +echo "${as_me-configure}:4442: testing adding $cf_add_libdir to library-path ..." 1>&5
     
     
             LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    @@ -4685,12 +4453,12 @@ else
     	eval 'cf_cv_have_lib_'$cf_nculib_root'=no'
     	cf_libdir=""
     	echo $ac_n "checking for initscr""... $ac_c" 1>&6
    -echo "configure:4689: checking for initscr" >&5
    +echo "configure:4457: checking for initscr" >&5
     if eval "test \"`echo '$''{'ac_cv_func_initscr'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_initscr=yes"
     else
    @@ -4733,17 +4501,17 @@ else
     
     		cf_save_LIBS="$LIBS"
     		echo $ac_n "checking for initscr in -l$cf_nculib_root""... $ac_c" 1>&6
    -echo "configure:4737: checking for initscr in -l$cf_nculib_root" >&5
    +echo "configure:4505: checking for initscr in -l$cf_nculib_root" >&5
     		LIBS="-l$cf_nculib_root $LIBS"
     		cat > conftest.$ac_ext <
     int main() {
     initscr()
     ; return 0; }
     EOF
    -if { (eval echo configure:4747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       echo "$ac_t""yes" 1>&6
     			 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
    @@ -4850,17 +4618,17 @@ cf_search="$cf_library_path_list $cf_search"
     			for cf_libdir in $cf_search
     			do
     				echo $ac_n "checking for -l$cf_nculib_root in $cf_libdir""... $ac_c" 1>&6
    -echo "configure:4854: checking for -l$cf_nculib_root in $cf_libdir" >&5
    +echo "configure:4622: checking for -l$cf_nculib_root in $cf_libdir" >&5
     				LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS"
     				cat > conftest.$ac_ext <
     int main() {
     initscr()
     ; return 0; }
     EOF
    -if { (eval echo configure:4864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       echo "$ac_t""yes" 1>&6
     			 		 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
    @@ -4891,7 +4659,7 @@ fi
     
     if test -n "$cf_ncurses_LIBS" ; then
     	echo $ac_n "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS""... $ac_c" 1>&6
    -echo "configure:4895: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    +echo "configure:4663: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
     	cf_ncurses_SAVE="$LIBS"
     	for p in $cf_ncurses_LIBS ; do
     		q=`echo $LIBS | sed -e "s%$p %%" -e "s%$p$%%"`
    @@ -4900,14 +4668,14 @@ echo "configure:4895: checking if we can link $cf_nculib_root without $cf_ncurse
     		fi
     	done
     	cat > conftest.$ac_ext <
     int main() {
     initscr(); mousemask(0,0); tgoto((char *)0, 0, 0);
     ; return 0; }
     EOF
    -if { (eval echo configure:4911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       echo "$ac_t""yes" 1>&6
     else
    @@ -4936,14 +4704,14 @@ ncursesw)
     	cf_cv_libtype=w
     	
     echo $ac_n "checking for multibyte character support""... $ac_c" 1>&6
    -echo "configure:4940: checking for multibyte character support" >&5
    +echo "configure:4708: checking for multibyte character support" >&5
     if eval "test \"`echo '$''{'cf_cv_utf8_lib'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     	cf_save_LIBS="$LIBS"
     	cat > conftest.$ac_ext <
    @@ -4951,7 +4719,7 @@ int main() {
     putwc(0,0);
     ; return 0; }
     EOF
    -if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_utf8_lib=yes
     else
    @@ -4966,13 +4734,13 @@ cf_cv_header_path_utf8=
     cf_cv_library_path_utf8=
     
     
    -echo "${as_me-configure}:4970: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
    +echo "${as_me-configure}:4738: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
     
     
     cf_save_LIBS="$LIBS"
     
     cat > conftest.$ac_ext <
    @@ -4980,7 +4748,7 @@ int main() {
     putwc(0,0);
     ; return 0; }
     EOF
    -if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       
     	cf_cv_find_linkage_utf8=yes
    @@ -4996,7 +4764,7 @@ else
     LIBS="-lutf8  $cf_save_LIBS"
     
     cat > conftest.$ac_ext <
    @@ -5004,7 +4772,7 @@ int main() {
     putwc(0,0);
     ; return 0; }
     EOF
    -if { (eval echo configure:5008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       
     	cf_cv_find_linkage_utf8=yes
    @@ -5022,11 +4790,11 @@ else
     
         test -n "$verbose" && echo "	find linkage for utf8 library" 1>&6
     
    -echo "${as_me-configure}:5026: testing find linkage for utf8 library ..." 1>&5
    +echo "${as_me-configure}:4794: testing find linkage for utf8 library ..." 1>&5
     
     
         
    -echo "${as_me-configure}:5030: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
    +echo "${as_me-configure}:4798: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
     
     
         cf_save_CPPFLAGS="$CPPFLAGS"
    @@ -5148,12 +4916,12 @@ cf_search="$cf_search $cf_header_path_list"
           if test -d $cf_cv_header_path_utf8 ; then
             test -n "$verbose" && echo "	... testing $cf_cv_header_path_utf8" 1>&6
     
    -echo "${as_me-configure}:5152: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
    +echo "${as_me-configure}:4920: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
     
     
             CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8"
             cat > conftest.$ac_ext <
    @@ -5161,12 +4929,12 @@ int main() {
     putwc(0,0);
     ; return 0; }
     EOF
    -if { (eval echo configure:5165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:4933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       
                 test -n "$verbose" && echo "	... found utf8 headers in $cf_cv_header_path_utf8" 1>&6
     
    -echo "${as_me-configure}:5170: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
    +echo "${as_me-configure}:4938: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
     
     
                 cf_cv_find_linkage_utf8=maybe
    @@ -5187,7 +4955,7 @@ rm -f conftest*
         if test "$cf_cv_find_linkage_utf8" = maybe ; then
     
           
    -echo "${as_me-configure}:5191: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
    +echo "${as_me-configure}:4959: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5
     
     
           cf_save_LIBS="$LIBS"
    @@ -5295,14 +5063,14 @@ cf_search="$cf_library_path_list $cf_search"
               if test -d $cf_cv_library_path_utf8 ; then
                 test -n "$verbose" && echo "	... testing $cf_cv_library_path_utf8" 1>&6
     
    -echo "${as_me-configure}:5299: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
    +echo "${as_me-configure}:5067: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5
     
     
                 CPPFLAGS="$cf_test_CPPFLAGS"
                 LIBS="-lutf8  $cf_save_LIBS"
                 LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_utf8"
                 cat > conftest.$ac_ext <
    @@ -5310,12 +5078,12 @@ int main() {
     putwc(0,0);
     ; return 0; }
     EOF
    -if { (eval echo configure:5314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:5082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       
                     test -n "$verbose" && echo "	... found utf8 library in $cf_cv_library_path_utf8" 1>&6
     
    -echo "${as_me-configure}:5319: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
    +echo "${as_me-configure}:5087: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5
     
     
                     cf_cv_find_linkage_utf8=yes
    @@ -5395,14 +5163,14 @@ if test -n "$cf_cv_header_path_utf8" ; then
     			  cf_save_CPPFLAGS=$CPPFLAGS
     			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
     			  cat > conftest.$ac_ext <
     int main() {
     printf("Hello")
     ; return 0; }
     EOF
    -if { (eval echo configure:5406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -5419,7 +5187,7 @@ rm -f conftest*
     		if test "$cf_have_incdir" = no ; then
     		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6
     
    -echo "${as_me-configure}:5423: testing adding $cf_add_incdir to include-path ..." 1>&5
    +echo "${as_me-configure}:5191: testing adding $cf_add_incdir to include-path ..." 1>&5
     
     
     		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    @@ -5455,7 +5223,7 @@ if test -n "$cf_cv_library_path_utf8" ; then
           if test "$cf_have_libdir" = no ; then
             test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6
     
    -echo "${as_me-configure}:5459: testing adding $cf_add_libdir to library-path ..." 1>&5
    +echo "${as_me-configure}:5227: testing adding $cf_add_libdir to library-path ..." 1>&5
     
     
             LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    @@ -5476,7 +5244,7 @@ do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
     set dummy $ac_prog; ac_word=$2
     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    -echo "configure:5480: checking for $ac_word" >&5
    +echo "configure:5248: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_path_NCURSES_CONFIG'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -5521,7 +5289,7 @@ LIBS="`$NCURSES_CONFIG --libs` $LIBS"
     # even with config script, some packages use no-override for curses.h
     
     echo $ac_n "checking if we have identified curses headers""... $ac_c" 1>&6
    -echo "configure:5525: checking if we have identified curses headers" >&5
    +echo "configure:5293: checking if we have identified curses headers" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -5534,14 +5302,14 @@ for cf_header in  \
     	ncurses.h 
     do
     cat > conftest.$ac_ext <
     int main() {
     initscr(); tgoto("?", 0,0)
     ; return 0; }
     EOF
    -if { (eval echo configure:5545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_header=$cf_header; break
     else
    @@ -5564,17 +5332,17 @@ for ac_hdr in $cf_cv_ncurses_header
     do
     ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    -echo "configure:5568: checking for $ac_hdr" >&5
    +echo "configure:5336: checking for $ac_hdr" >&5
     if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:5578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:5346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       rm -rf conftest*
    @@ -5650,14 +5418,14 @@ if test -n "$cf_cv_curses_dir/include $cf_cv_curses_dir/include/$cf_ncuhdr_root"
     			  cf_save_CPPFLAGS=$CPPFLAGS
     			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
     			  cat > conftest.$ac_ext <
     int main() {
     printf("Hello")
     ; return 0; }
     EOF
    -if { (eval echo configure:5661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -5674,7 +5442,7 @@ rm -f conftest*
     		if test "$cf_have_incdir" = no ; then
     		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6
     
    -echo "${as_me-configure}:5678: testing adding $cf_add_incdir to include-path ..." 1>&5
    +echo "${as_me-configure}:5446: testing adding $cf_add_incdir to include-path ..." 1>&5
     
     
     		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    @@ -5693,7 +5461,7 @@ fi
     }
     
     echo $ac_n "checking for $cf_ncuhdr_root header in include-path""... $ac_c" 1>&6
    -echo "configure:5697: checking for $cf_ncuhdr_root header in include-path" >&5
    +echo "configure:5465: checking for $cf_ncuhdr_root header in include-path" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_h'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -5704,7 +5472,7 @@ else
     	do
     		
     	cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_h=$cf_header
     	
    @@ -5759,7 +5527,7 @@ if test "$cf_cv_ncurses_h" != no ; then
     else
     
     echo $ac_n "checking for $cf_ncuhdr_root include-path""... $ac_c" 1>&6
    -echo "configure:5763: checking for $cf_ncuhdr_root include-path" >&5
    +echo "configure:5531: checking for $cf_ncuhdr_root include-path" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_h2'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -5905,14 +5673,14 @@ if test -n "$cf_incdir" ; then
     			  cf_save_CPPFLAGS=$CPPFLAGS
     			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
     			  cat > conftest.$ac_ext <
     int main() {
     printf("Hello")
     ; return 0; }
     EOF
    -if { (eval echo configure:5916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -5929,7 +5697,7 @@ rm -f conftest*
     		if test "$cf_have_incdir" = no ; then
     		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6
     
    -echo "${as_me-configure}:5933: testing adding $cf_add_incdir to include-path ..." 1>&5
    +echo "${as_me-configure}:5701: testing adding $cf_add_incdir to include-path ..." 1>&5
     
     
     		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    @@ -5951,7 +5719,7 @@ fi
     		do
     			
     	cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_h2=$cf_header
     	
    @@ -6030,14 +5798,14 @@ if test -n "$cf_1st_incdir" ; then
     			  cf_save_CPPFLAGS=$CPPFLAGS
     			  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
     			  cat > conftest.$ac_ext <
     int main() {
     printf("Hello")
     ; return 0; }
     EOF
    -if { (eval echo configure:6041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -6054,7 +5822,7 @@ rm -f conftest*
     		if test "$cf_have_incdir" = no ; then
     		  test -n "$verbose" && echo "	adding $cf_add_incdir to include-path" 1>&6
     
    -echo "${as_me-configure}:6058: testing adding $cf_add_incdir to include-path ..." 1>&5
    +echo "${as_me-configure}:5826: testing adding $cf_add_incdir to include-path ..." 1>&5
     
     
     		  CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
    @@ -6102,7 +5870,7 @@ esac
     
     
     echo $ac_n "checking for terminfo header""... $ac_c" 1>&6
    -echo "configure:6106: checking for terminfo header" >&5
    +echo "configure:5874: checking for terminfo header" >&5
     if eval "test \"`echo '$''{'cf_cv_term_header'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -6119,7 +5887,7 @@ esac
     for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h"
     do
     cat > conftest.$ac_ext <
     #include <${cf_cv_ncurses_header-curses.h}>
    @@ -6129,7 +5897,7 @@ int main() {
     int x = auto_left_margin
     ; return 0; }
     EOF
    -if { (eval echo configure:6133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:5901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       
     	cf_cv_term_header="$cf_test"
    @@ -6184,7 +5952,7 @@ EOF
     
     
     echo $ac_n "checking for ncurses version""... $ac_c" 1>&6
    -echo "configure:6188: checking for ncurses version" >&5
    +echo "configure:5956: checking for ncurses version" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_version'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -6210,7 +5978,7 @@ Autoconf "old"
     #endif
     EOF
     	cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out"
    -	{ (eval echo configure:6214: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; }
    +	{ (eval echo configure:5982: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; }
     	if test -f conftest.out ; then
     		cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'`
     		test -n "$cf_out" && cf_cv_ncurses_version="$cf_out"
    @@ -6219,7 +5987,7 @@ EOF
     
     else
       cat > conftest.$ac_ext <
    @@ -6243,7 +6011,7 @@ int main()
     	${cf_cv_main_return-return}(0);
     }
     EOF
    -if { (eval echo configure:6247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    +if { (eval echo configure:6015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     then
       
     	cf_cv_ncurses_version=`cat $cf_tempfile`
    @@ -6274,7 +6042,7 @@ cf_nculib_root=ncursesw
     cf_ncurses_LIBS=""
     cf_ncurses_SAVE="$LIBS"
     echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
    -echo "configure:6278: checking for Gpm_Open in -lgpm" >&5
    +echo "configure:6046: checking for Gpm_Open in -lgpm" >&5
     ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -6282,7 +6050,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lgpm  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -6309,7 +6077,7 @@ fi
     if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       echo "$ac_t""yes" 1>&6
       echo $ac_n "checking for initscr in -lgpm""... $ac_c" 1>&6
    -echo "configure:6313: checking for initscr in -lgpm" >&5
    +echo "configure:6081: checking for initscr in -lgpm" >&5
     ac_lib_var=`echo gpm'_'initscr | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -6317,7 +6085,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lgpm  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -6360,7 +6128,7 @@ freebsd*)
     	# version of ncurses (but it should do no harm, since it's static).
     	if test "$cf_nculib_root" = ncurses ; then
     		echo $ac_n "checking for tgoto in -lmytinfo""... $ac_c" 1>&6
    -echo "configure:6364: checking for tgoto in -lmytinfo" >&5
    +echo "configure:6132: checking for tgoto in -lmytinfo" >&5
     ac_lib_var=`echo mytinfo'_'tgoto | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -6368,7 +6136,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lmytinfo  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -6427,7 +6195,7 @@ if test -n "$cf_cv_curses_dir/lib" ; then
           if test "$cf_have_libdir" = no ; then
             test -n "$verbose" && echo "	adding $cf_add_libdir to library-path" 1>&6
     
    -echo "${as_me-configure}:6431: testing adding $cf_add_libdir to library-path ..." 1>&5
    +echo "${as_me-configure}:6199: testing adding $cf_add_libdir to library-path ..." 1>&5
     
     
             LDFLAGS="-L$cf_add_libdir $LDFLAGS"
    @@ -6442,12 +6210,12 @@ else
     	eval 'cf_cv_have_lib_'$cf_nculib_root'=no'
     	cf_libdir=""
     	echo $ac_n "checking for initscr""... $ac_c" 1>&6
    -echo "configure:6446: checking for initscr" >&5
    +echo "configure:6214: checking for initscr" >&5
     if eval "test \"`echo '$''{'ac_cv_func_initscr'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_initscr=yes"
     else
    @@ -6490,17 +6258,17 @@ else
     
     		cf_save_LIBS="$LIBS"
     		echo $ac_n "checking for initscr in -l$cf_nculib_root""... $ac_c" 1>&6
    -echo "configure:6494: checking for initscr in -l$cf_nculib_root" >&5
    +echo "configure:6262: checking for initscr in -l$cf_nculib_root" >&5
     		LIBS="-l$cf_nculib_root $LIBS"
     		cat > conftest.$ac_ext <
     int main() {
     initscr()
     ; return 0; }
     EOF
    -if { (eval echo configure:6504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       echo "$ac_t""yes" 1>&6
     			 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
    @@ -6607,17 +6375,17 @@ cf_search="$cf_library_path_list $cf_search"
     			for cf_libdir in $cf_search
     			do
     				echo $ac_n "checking for -l$cf_nculib_root in $cf_libdir""... $ac_c" 1>&6
    -echo "configure:6611: checking for -l$cf_nculib_root in $cf_libdir" >&5
    +echo "configure:6379: checking for -l$cf_nculib_root in $cf_libdir" >&5
     				LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS"
     				cat > conftest.$ac_ext <
     int main() {
     initscr()
     ; return 0; }
     EOF
    -if { (eval echo configure:6621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       echo "$ac_t""yes" 1>&6
     			 		 eval 'cf_cv_have_lib_'$cf_nculib_root'=yes'
    @@ -6648,7 +6416,7 @@ fi
     
     if test -n "$cf_ncurses_LIBS" ; then
     	echo $ac_n "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS""... $ac_c" 1>&6
    -echo "configure:6652: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
    +echo "configure:6420: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5
     	cf_ncurses_SAVE="$LIBS"
     	for p in $cf_ncurses_LIBS ; do
     		q=`echo $LIBS | sed -e "s%$p %%" -e "s%$p$%%"`
    @@ -6657,14 +6425,14 @@ echo "configure:6652: checking if we can link $cf_nculib_root without $cf_ncurse
     		fi
     	done
     	cat > conftest.$ac_ext <
     int main() {
     initscr(); mousemask(0,0); tgoto((char *)0, 0, 0);
     ; return 0; }
     EOF
    -if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       echo "$ac_t""yes" 1>&6
     else
    @@ -6690,164 +6458,496 @@ fi
     
     	;;
     pdcurses) #(vi
    -	if test "$no_x" = yes; then
    -  # Not all programs may use this symbol, but it does not hurt to define it.
    -  cat >> confdefs.h <<\EOF
    -#define X_DISPLAY_MISSING 1
    -EOF
    +	# If we find X, set shell vars x_includes and x_libraries to the
    +# paths, otherwise set no_x=yes.
    +# Uses ac_ vars as temps to allow command line to override cache and checks.
    +# --without-x overrides everything else, but does not touch the cache.
    +echo $ac_n "checking for X""... $ac_c" 1>&6
    +echo "configure:6467: checking for X" >&5
     
    -  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
    -else
    -  if test -n "$x_includes"; then
    -    X_CFLAGS="$X_CFLAGS -I$x_includes"
    -  fi
     
    -  # It would also be nice to do this for all -L options, not just this one.
    -  if test -n "$x_libraries"; then
    -    X_LIBS="$X_LIBS -L$x_libraries"
    -    # For Solaris; some versions of Sun CC require a space after -R and
    -    # others require no space.  Words are not sufficient . . . .
    -    case "`(uname -sr) 2>/dev/null`" in
    -    "SunOS 5"*)
    -      echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
    -echo "configure:6714: checking whether -R must be followed by a space" >&5
    -      ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
    -      cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    -  rm -rf conftest*
    -  ac_R_nospace=yes
    -else
    -  echo "configure: failed program was:" >&5
    -  cat conftest.$ac_ext >&5
    -  rm -rf conftest*
    -  ac_R_nospace=no
    +# Check whether --with-x or --without-x was given.
    +if test "${with_x+set}" = set; then
    +  withval="$with_x"
    +  :
     fi
    -rm -f conftest*
    -      if test $ac_R_nospace = yes; then
    -	echo "$ac_t""no" 1>&6
    -	X_LIBS="$X_LIBS -R$x_libraries"
    -      else
    -	LIBS="$ac_xsave_LIBS -R $x_libraries"
    -	cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    -  rm -rf conftest*
    -  ac_R_space=yes
    +# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
    +if test "x$with_x" = xno; then
    +  # The user explicitly disabled X.
    +  have_x=disabled
     else
    -  echo "configure: failed program was:" >&5
    -  cat conftest.$ac_ext >&5
    -  rm -rf conftest*
    -  ac_R_space=no
    -fi
    -rm -f conftest*
    -	if test $ac_R_space = yes; then
    -	  echo "$ac_t""yes" 1>&6
    -	  X_LIBS="$X_LIBS -R $x_libraries"
    -	else
    -	  echo "$ac_t""neither works" 1>&6
    -	fi
    +  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    +    # Both variables are already set.
    +    have_x=yes
    +  else
    +if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
    +  echo $ac_n "(cached) $ac_c" 1>&6
    +else
    +  # One or both of the vars are not set, and there is no cached value.
    +ac_x_includes=NO ac_x_libraries=NO
    +rm -fr conftestdir
    +if mkdir conftestdir; then
    +  cd conftestdir
    +  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
    +  cat > Imakefile <<'EOF'
    +acfindx:
    +	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
    +EOF
    +  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
    +    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    +    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
    +    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
    +    for ac_extension in a so sl; do
    +      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
    +        test -f $ac_im_libdir/libX11.$ac_extension; then
    +        ac_im_usrlibdir=$ac_im_libdir; break
           fi
    -      LIBS="$ac_xsave_LIBS"
    +    done
    +    # Screen out bogus values from the imake configuration.  They are
    +    # bogus both because they are the default anyway, and because
    +    # using them would break gcc on systems where it needs fixed includes.
    +    case "$ac_im_incroot" in
    +	/usr/include) ;;
    +	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
    +    esac
    +    case "$ac_im_usrlibdir" in
    +	/usr/lib | /lib) ;;
    +	*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
         esac
       fi
    +  cd ..
    +  rm -fr conftestdir
    +fi
     
    -  # Check for system-dependent libraries X programs must link with.
    -  # Do this before checking for the system-independent R6 libraries
    -  # (-lICE), since we may need -lsocket or whatever for X linking.
    +if test "$ac_x_includes" = NO; then
    +  # Guess where to find include files, by looking for this one X11 .h file.
    +  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
     
    -  if test "$ISC" = yes; then
    -    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
    -  else
    -    # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
    -    # libraries were built with DECnet support.  And karl@cs.umb.edu says
    -    # the Alpha needs dnet_stub (dnet does not exist).
    -    echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
    -echo "configure:6779: checking for dnet_ntoa in -ldnet" >&5
    -ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
    -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    -  echo $ac_n "(cached) $ac_c" 1>&6
    -else
    -  ac_save_LIBS="$LIBS"
    -LIBS="-ldnet  $LIBS"
    +  # First, try using that file with no special directory specified.
     cat > conftest.$ac_ext <
     EOF
    -if { (eval echo configure:6798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    +{ (eval echo configure:6535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    +if test -z "$ac_err"; then
       rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=yes"
    +  # We can compile using X headers with no special include directory.
    +ac_x_includes=
     else
    +  echo "$ac_err" >&5
       echo "configure: failed program was:" >&5
       cat conftest.$ac_ext >&5
       rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=no"
    +  # Look for the header file in a standard set of common directories.
    +# Check X11 before X11Rn because it is often a symlink to the current release.
    +  for ac_dir in               \
    +    /usr/X11/include          \
    +    /usr/X11R6/include        \
    +    /usr/X11R5/include        \
    +    /usr/X11R4/include        \
    +                              \
    +    /usr/include/X11          \
    +    /usr/include/X11R6        \
    +    /usr/include/X11R5        \
    +    /usr/include/X11R4        \
    +                              \
    +    /usr/local/X11/include    \
    +    /usr/local/X11R6/include  \
    +    /usr/local/X11R5/include  \
    +    /usr/local/X11R4/include  \
    +                              \
    +    /usr/local/include/X11    \
    +    /usr/local/include/X11R6  \
    +    /usr/local/include/X11R5  \
    +    /usr/local/include/X11R4  \
    +                              \
    +    /usr/X386/include         \
    +    /usr/x386/include         \
    +    /usr/XFree86/include/X11  \
    +                              \
    +    /usr/include              \
    +    /usr/local/include        \
    +    /usr/unsupported/include  \
    +    /usr/athena/include       \
    +    /usr/local/x11r5/include  \
    +    /usr/lpp/Xamples/include  \
    +                              \
    +    /usr/openwin/include      \
    +    /usr/openwin/share/include \
    +    ; \
    +  do
    +    if test -r "$ac_dir/$x_direct_test_include"; then
    +      ac_x_includes=$ac_dir
    +      break
    +    fi
    +  done
     fi
     rm -f conftest*
    -LIBS="$ac_save_LIBS"
    +fi # $ac_x_includes = NO
     
    -fi
    -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    -  echo "$ac_t""yes" 1>&6
    -  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
    -else
    -  echo "$ac_t""no" 1>&6
    -fi
    +if test "$ac_x_libraries" = NO; then
    +  # Check for the libraries.
     
    -    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
    -      echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
    -echo "configure:6820: checking for dnet_ntoa in -ldnet_stub" >&5
    -ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
    -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    -  echo $ac_n "(cached) $ac_c" 1>&6
    -else
    +  test -z "$x_direct_test_library" && x_direct_test_library=Xt
    +  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
    +
    +  # See if we find them without any special options.
    +  # Don't add to $LIBS permanently.
       ac_save_LIBS="$LIBS"
    -LIBS="-ldnet_stub  $LIBS"
    +  LIBS="-l$x_direct_test_library $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=yes"
    +  LIBS="$ac_save_LIBS"
    +# We can link X programs with no special library path.
    +ac_x_libraries=
     else
       echo "configure: failed program was:" >&5
       cat conftest.$ac_ext >&5
       rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=no"
    +  LIBS="$ac_save_LIBS"
    +# First see if replacing the include by lib works.
    +# Check X11 before X11Rn because it is often a symlink to the current release.
    +for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
    +    /usr/X11/lib          \
    +    /usr/X11R6/lib        \
    +    /usr/X11R5/lib        \
    +    /usr/X11R4/lib        \
    +                          \
    +    /usr/lib/X11          \
    +    /usr/lib/X11R6        \
    +    /usr/lib/X11R5        \
    +    /usr/lib/X11R4        \
    +                          \
    +    /usr/local/X11/lib    \
    +    /usr/local/X11R6/lib  \
    +    /usr/local/X11R5/lib  \
    +    /usr/local/X11R4/lib  \
    +                          \
    +    /usr/local/lib/X11    \
    +    /usr/local/lib/X11R6  \
    +    /usr/local/lib/X11R5  \
    +    /usr/local/lib/X11R4  \
    +                          \
    +    /usr/X386/lib         \
    +    /usr/x386/lib         \
    +    /usr/XFree86/lib/X11  \
    +                          \
    +    /usr/lib              \
    +    /usr/local/lib        \
    +    /usr/unsupported/lib  \
    +    /usr/athena/lib       \
    +    /usr/local/x11r5/lib  \
    +    /usr/lpp/Xamples/lib  \
    +    /lib/usr/lib/X11	  \
    +                          \
    +    /usr/openwin/lib      \
    +    /usr/openwin/share/lib \
    +    ; \
    +do
    +  for ac_extension in a so sl; do
    +    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
    +      ac_x_libraries=$ac_dir
    +      break 2
    +    fi
    +  done
    +done
     fi
     rm -f conftest*
    -LIBS="$ac_save_LIBS"
    +fi # $ac_x_libraries = NO
     
    -fi
    +if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
    +  # Didn't find X anywhere.  Cache the known absence of X.
    +  ac_cv_have_x="have_x=no"
    +else
    +  # Record where we found X for the cache.
    +  ac_cv_have_x="have_x=yes \
    +	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
    +fi
    +fi
    +  fi
    +  eval "$ac_cv_have_x"
    +fi # $with_x != no
    +
    +if test "$have_x" != yes; then
    +  echo "$ac_t""$have_x" 1>&6
    +  no_x=yes
    +else
    +  # If each of the values was on the command line, it overrides each guess.
    +  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
    +  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
    +  # Update the cache value to reflect the command line values.
    +  ac_cv_have_x="have_x=yes \
    +		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
    +  echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
    +fi
    +
    +
    +echo $ac_n "checking if you want to use pkg-config""... $ac_c" 1>&6
    +echo "configure:6699: checking if you want to use pkg-config" >&5
    +
    +# Check whether --with-pkg-config or --without-pkg-config was given.
    +if test "${with_pkg_config+set}" = set; then
    +  withval="$with_pkg_config"
    +  cf_pkg_config=$withval
    +else
    +  cf_pkg_config=yes
    +fi
    +
    +echo "$ac_t""$cf_pkg_config" 1>&6
    +
    +case $cf_pkg_config in #(vi
    +no) #(vi
    +	PKG_CONFIG=none
    +	;;
    +yes) #(vi
    +	# Extract the first word of "pkg-config", so it can be a program name with args.
    +set dummy pkg-config; ac_word=$2
    +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    +echo "configure:6719: checking for $ac_word" >&5
    +if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
    +  echo $ac_n "(cached) $ac_c" 1>&6
    +else
    +  case "$PKG_CONFIG" in
    +  /*)
    +  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
    +  ;;
    +  ?:/*)			 
    +  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
    +  ;;
    +  *)
    +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
    +  ac_dummy="$PATH"
    +  for ac_dir in $ac_dummy; do 
    +    test -z "$ac_dir" && ac_dir=.
    +    if test -f $ac_dir/$ac_word; then
    +      ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
    +      break
    +    fi
    +  done
    +  IFS="$ac_save_ifs"
    +  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="none"
    +  ;;
    +esac
    +fi
    +PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
    +if test -n "$PKG_CONFIG"; then
    +  echo "$ac_t""$PKG_CONFIG" 1>&6
    +else
    +  echo "$ac_t""no" 1>&6
    +fi
    +
    +	;;
    +*)
    +	PKG_CONFIG=$withval
    +	;;
    +esac
    +
    +test -z "$PKG_CONFIG" && PKG_CONFIG=none
    +if test "$PKG_CONFIG" != none ; then
    +	
    +if test "x$prefix" != xNONE; then
    +  cf_path_syntax="$prefix"
    +else
    +  cf_path_syntax="$ac_default_prefix"
    +fi
    +
    +case ".$PKG_CONFIG" in #(vi
    +.\$\(*\)*|.\'*\'*) #(vi
    +  ;;
    +..|./*|.\\*) #(vi
    +  ;;
    +.[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
    +  ;;
    +.\${*prefix}*) #(vi
    +  eval PKG_CONFIG="$PKG_CONFIG"
    +  case ".$PKG_CONFIG" in #(vi
    +  .NONE/*)
    +    PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
    +    ;;
    +  esac
    +  ;; #(vi
    +.no|.NONE/*)
    +  PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
    +  ;;
    +*)
    +  { echo "configure: error: expected a pathname, not \"$PKG_CONFIG\"" 1>&2; exit 1; }
    +  ;;
    +esac
    +
    +fi
    +
    +
    +
    +if test "$no_x" = yes; then
    +  # Not all programs may use this symbol, but it does not hurt to define it.
    +  cat >> confdefs.h <<\EOF
    +#define X_DISPLAY_MISSING 1
    +EOF
    +
    +  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
    +else
    +  if test -n "$x_includes"; then
    +    X_CFLAGS="$X_CFLAGS -I$x_includes"
    +  fi
    +
    +  # It would also be nice to do this for all -L options, not just this one.
    +  if test -n "$x_libraries"; then
    +    X_LIBS="$X_LIBS -L$x_libraries"
    +    # For Solaris; some versions of Sun CC require a space after -R and
    +    # others require no space.  Words are not sufficient . . . .
    +    case "`(uname -sr) 2>/dev/null`" in
    +    "SunOS 5"*)
    +      echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
    +echo "configure:6814: checking whether -R must be followed by a space" >&5
    +      ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
    +      cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +  rm -rf conftest*
    +  ac_R_nospace=yes
    +else
    +  echo "configure: failed program was:" >&5
    +  cat conftest.$ac_ext >&5
    +  rm -rf conftest*
    +  ac_R_nospace=no
    +fi
    +rm -f conftest*
    +      if test $ac_R_nospace = yes; then
    +	echo "$ac_t""no" 1>&6
    +	X_LIBS="$X_LIBS -R$x_libraries"
    +      else
    +	LIBS="$ac_xsave_LIBS -R $x_libraries"
    +	cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +  rm -rf conftest*
    +  ac_R_space=yes
    +else
    +  echo "configure: failed program was:" >&5
    +  cat conftest.$ac_ext >&5
    +  rm -rf conftest*
    +  ac_R_space=no
    +fi
    +rm -f conftest*
    +	if test $ac_R_space = yes; then
    +	  echo "$ac_t""yes" 1>&6
    +	  X_LIBS="$X_LIBS -R $x_libraries"
    +	else
    +	  echo "$ac_t""neither works" 1>&6
    +	fi
    +      fi
    +      LIBS="$ac_xsave_LIBS"
    +    esac
    +  fi
    +
    +  # Check for system-dependent libraries X programs must link with.
    +  # Do this before checking for the system-independent R6 libraries
    +  # (-lICE), since we may need -lsocket or whatever for X linking.
    +
    +  if test "$ISC" = yes; then
    +    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
    +  else
    +    # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
    +    # libraries were built with DECnet support.  And karl@cs.umb.edu says
    +    # the Alpha needs dnet_stub (dnet does not exist).
    +    echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
    +echo "configure:6879: checking for dnet_ntoa in -ldnet" >&5
    +ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
    +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    +  echo $ac_n "(cached) $ac_c" 1>&6
    +else
    +  ac_save_LIBS="$LIBS"
    +LIBS="-ldnet  $LIBS"
    +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=yes"
    +else
    +  echo "configure: failed program was:" >&5
    +  cat conftest.$ac_ext >&5
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=no"
    +fi
    +rm -f conftest*
    +LIBS="$ac_save_LIBS"
    +
    +fi
    +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    +  echo "$ac_t""yes" 1>&6
    +  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
    +else
    +  echo "$ac_t""no" 1>&6
    +fi
    +
    +    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
    +      echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
    +echo "configure:6920: checking for dnet_ntoa in -ldnet_stub" >&5
    +ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
    +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    +  echo $ac_n "(cached) $ac_c" 1>&6
    +else
    +  ac_save_LIBS="$LIBS"
    +LIBS="-ldnet_stub  $LIBS"
    +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=yes"
    +else
    +  echo "configure: failed program was:" >&5
    +  cat conftest.$ac_ext >&5
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=no"
    +fi
    +rm -f conftest*
    +LIBS="$ac_save_LIBS"
    +
    +fi
     if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       echo "$ac_t""yes" 1>&6
       X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
    @@ -6864,12 +6964,12 @@ fi
         # The nsl library prevents programs from opening the X display
         # on Irix 5.2, according to dickey@clark.net.
         echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
    -echo "configure:6868: checking for gethostbyname" >&5
    +echo "configure:6968: checking for gethostbyname" >&5
     if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:6996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_gethostbyname=yes"
     else
    @@ -6913,7 +7013,7 @@ fi
     
         if test $ac_cv_func_gethostbyname = no; then
           echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    -echo "configure:6917: checking for gethostbyname in -lnsl" >&5
    +echo "configure:7017: checking for gethostbyname in -lnsl" >&5
     ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -6921,7 +7021,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lnsl  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -6962,12 +7062,12 @@ fi
         # -lsocket must be given before -lnsl if both are needed.
         # We assume that if connect needs -lnsl, so does gethostbyname.
         echo $ac_n "checking for connect""... $ac_c" 1>&6
    -echo "configure:6966: checking for connect" >&5
    +echo "configure:7066: checking for connect" >&5
     if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_connect=yes"
     else
    @@ -7011,7 +7111,7 @@ fi
     
         if test $ac_cv_func_connect = no; then
           echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
    -echo "configure:7015: checking for connect in -lsocket" >&5
    +echo "configure:7115: checking for connect in -lsocket" >&5
     ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -7019,7 +7119,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -7054,12 +7154,12 @@ fi
     
         # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
         echo $ac_n "checking for remove""... $ac_c" 1>&6
    -echo "configure:7058: checking for remove" >&5
    +echo "configure:7158: checking for remove" >&5
     if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_remove=yes"
     else
    @@ -7103,7 +7203,7 @@ fi
     
         if test $ac_cv_func_remove = no; then
           echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
    -echo "configure:7107: checking for remove in -lposix" >&5
    +echo "configure:7207: checking for remove in -lposix" >&5
     ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -7111,7 +7211,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lposix  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -7146,12 +7246,12 @@ fi
     
         # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
         echo $ac_n "checking for shmat""... $ac_c" 1>&6
    -echo "configure:7150: checking for shmat" >&5
    +echo "configure:7250: checking for shmat" >&5
     if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_shmat=yes"
     else
    @@ -7195,7 +7295,7 @@ fi
     
         if test $ac_cv_func_shmat = no; then
           echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
    -echo "configure:7199: checking for shmat in -lipc" >&5
    +echo "configure:7299: checking for shmat in -lipc" >&5
     ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -7203,70 +7303,383 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lipc  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    -  rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=yes"
    -else
    -  echo "configure: failed program was:" >&5
    -  cat conftest.$ac_ext >&5
    -  rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=no"
    +int main() {
    +shmat()
    +; return 0; }
    +EOF
    +if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=yes"
    +else
    +  echo "configure: failed program was:" >&5
    +  cat conftest.$ac_ext >&5
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=no"
    +fi
    +rm -f conftest*
    +LIBS="$ac_save_LIBS"
    +
    +fi
    +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    +  echo "$ac_t""yes" 1>&6
    +  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
    +else
    +  echo "$ac_t""no" 1>&6
    +fi
    +
    +    fi
    +  fi
    +
    +  # Check for libraries that X11R6 Xt/Xaw programs need.
    +  ac_save_LDFLAGS="$LDFLAGS"
    +  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
    +  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
    +  # check for ICE first), but we must link in the order -lSM -lICE or
    +  # we get undefined symbols.  So assume we have SM if we have ICE.
    +  # These have to be linked with before -lX11, unlike the other
    +  # libraries we check for below, so use a different variable.
    +  #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
    +  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
    +echo "configure:7351: checking for IceConnectionNumber in -lICE" >&5
    +ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
    +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    +  echo $ac_n "(cached) $ac_c" 1>&6
    +else
    +  ac_save_LIBS="$LIBS"
    +LIBS="-lICE $X_EXTRA_LIBS $LIBS"
    +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=yes"
    +else
    +  echo "configure: failed program was:" >&5
    +  cat conftest.$ac_ext >&5
    +  rm -rf conftest*
    +  eval "ac_cv_lib_$ac_lib_var=no"
    +fi
    +rm -f conftest*
    +LIBS="$ac_save_LIBS"
    +
    +fi
    +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    +  echo "$ac_t""yes" 1>&6
    +  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
    +else
    +  echo "$ac_t""no" 1>&6
    +fi
    +
    +  LDFLAGS="$ac_save_LDFLAGS"
    +
    +fi
    +
    +
    +cf_x_athena=${cf_x_athena-Xaw}
    +
    +echo $ac_n "checking if you want to link with Xaw 3d library""... $ac_c" 1>&6
    +echo "configure:7398: checking if you want to link with Xaw 3d library" >&5
    +withval=
    +
    +# Check whether --with-Xaw3d or --without-Xaw3d was given.
    +if test "${with_Xaw3d+set}" = set; then
    +  withval="$with_Xaw3d"
    +  :
    +fi
    +
    +if test "$withval" = yes ; then
    +	cf_x_athena=Xaw3d
    +	echo "$ac_t""yes" 1>&6
    +else
    +	echo "$ac_t""no" 1>&6
    +fi
    +
    +echo $ac_n "checking if you want to link with neXT Athena library""... $ac_c" 1>&6
    +echo "configure:7415: checking if you want to link with neXT Athena library" >&5
    +withval=
    +
    +# Check whether --with-neXtaw or --without-neXtaw was given.
    +if test "${with_neXtaw+set}" = set; then
    +  withval="$with_neXtaw"
    +  :
    +fi
    +
    +if test "$withval" = yes ; then
    +	cf_x_athena=neXtaw
    +	echo "$ac_t""yes" 1>&6
    +else
    +	echo "$ac_t""no" 1>&6
    +fi
    +
    +echo $ac_n "checking if you want to link with Athena-Plus library""... $ac_c" 1>&6
    +echo "configure:7432: checking if you want to link with Athena-Plus library" >&5
    +withval=
    +
    +# Check whether --with-XawPlus or --without-XawPlus was given.
    +if test "${with_XawPlus+set}" = set; then
    +  withval="$with_XawPlus"
    +  :
    +fi
    +
    +if test "$withval" = yes ; then
    +	cf_x_athena=XawPlus
    +	echo "$ac_t""yes" 1>&6
    +else
    +	echo "$ac_t""no" 1>&6
    +fi
    +
    +cf_x_athena_lib=""
    +
    +if test "$PKG_CONFIG" != none ; then
    +	cf_athena_list=
    +	test "$cf_x_athena" = Xaw && cf_athena_list="xaw8 xaw7 xaw6"
    +	for cf_athena_pkg in \
    +		$cf_athena_list \
    +		${cf_x_athena} \
    +		${cf_x_athena}-devel \
    +		lib${cf_x_athena} \
    +		lib${cf_x_athena}-devel
    +	do
    +		if "$PKG_CONFIG" --exists $cf_athena_pkg; then
    +			test -n "$verbose" && echo "	found package $cf_athena_pkg" 1>&6
    +
    +echo "${as_me-configure}:7463: testing found package $cf_athena_pkg ..." 1>&5
    +
    +
    +			cf_x_athena_inc="`$PKG_CONFIG --cflags $cf_athena_pkg 2>/dev/null`"
    +			cf_x_athena_lib="`$PKG_CONFIG --libs   $cf_athena_pkg 2>/dev/null`"
    +			
    +cf_fix_cppflags=no
    +cf_new_cflags=
    +cf_new_cppflags=
    +cf_new_extra_cppflags=
    +
    +for cf_add_cflags in $cf_x_athena_inc
    +do
    +case $cf_fix_cppflags in
    +no)
    +	case $cf_add_cflags in #(vi
    +	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
    +		case $cf_add_cflags in
    +		-D*)
    +			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
    +
    +			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
    +				&& test -z "${cf_tst_cflags}" \
    +				&& cf_fix_cppflags=yes
    +
    +			if test $cf_fix_cppflags = yes ; then
    +				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +				continue
    +			elif test "${cf_tst_cflags}" = "\"'" ; then
    +				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +				continue
    +			fi
    +			;;
    +		esac
    +		case "$CPPFLAGS" in
    +		*$cf_add_cflags) #(vi
    +			;;
    +		*) #(vi
    +			case $cf_add_cflags in #(vi
    +			-D*)
    +				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
    +				
    +CPPFLAGS=`echo "$CPPFLAGS" | \
    +	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
    +		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
    +
    +				;;
    +			esac
    +			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
    +			;;
    +		esac
    +		;;
    +	*)
    +		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
    +		;;
    +	esac
    +	;;
    +yes)
    +	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +
    +	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
    +
    +	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
    +		&& test -z "${cf_tst_cflags}" \
    +		&& cf_fix_cppflags=no
    +	;;
    +esac
    +done
    +
    +if test -n "$cf_new_cflags" ; then
    +	
    +	CFLAGS="$CFLAGS $cf_new_cflags"
    +fi
    +
    +if test -n "$cf_new_cppflags" ; then
    +	
    +	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
    +fi
    +
    +if test -n "$cf_new_extra_cppflags" ; then
    +	
    +	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    +fi
    +
    +
    +
    +
    +			LIBS="$cf_x_athena_lib $LIBS"
    +
    +			
    +cf_x_athena_LIBS=`echo "HAVE_LIB_$cf_x_athena" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
    +
    +			cat >> confdefs.h <&6
    +
    +echo "${as_me-configure}:7572: testing found package Xext ..." 1>&5
    +
    +
    +	cf_pkgconfig_incs="`$PKG_CONFIG --cflags Xext 2>/dev/null`"
    +	cf_pkgconfig_libs="`$PKG_CONFIG --libs   Xext 2>/dev/null`"
    +	
    +cf_fix_cppflags=no
    +cf_new_cflags=
    +cf_new_cppflags=
    +cf_new_extra_cppflags=
    +
    +for cf_add_cflags in $cf_pkgconfig_incs
    +do
    +case $cf_fix_cppflags in
    +no)
    +	case $cf_add_cflags in #(vi
    +	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
    +		case $cf_add_cflags in
    +		-D*)
    +			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
    +
    +			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
    +				&& test -z "${cf_tst_cflags}" \
    +				&& cf_fix_cppflags=yes
    +
    +			if test $cf_fix_cppflags = yes ; then
    +				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +				continue
    +			elif test "${cf_tst_cflags}" = "\"'" ; then
    +				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +				continue
    +			fi
    +			;;
    +		esac
    +		case "$CPPFLAGS" in
    +		*$cf_add_cflags) #(vi
    +			;;
    +		*) #(vi
    +			case $cf_add_cflags in #(vi
    +			-D*)
    +				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
    +				
    +CPPFLAGS=`echo "$CPPFLAGS" | \
    +	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
    +		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
    +
    +				;;
    +			esac
    +			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
    +			;;
    +		esac
    +		;;
    +	*)
    +		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
    +		;;
    +	esac
    +	;;
    +yes)
    +	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +
    +	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
    +
    +	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
    +		&& test -z "${cf_tst_cflags}" \
    +		&& cf_fix_cppflags=no
    +	;;
    +esac
    +done
    +
    +if test -n "$cf_new_cflags" ; then
    +	
    +	CFLAGS="$CFLAGS $cf_new_cflags"
     fi
    -rm -f conftest*
    -LIBS="$ac_save_LIBS"
     
    +if test -n "$cf_new_cppflags" ; then
    +	
    +	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
     fi
    -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    -  echo "$ac_t""yes" 1>&6
    -  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
    -else
    -  echo "$ac_t""no" 1>&6
    +
    +if test -n "$cf_new_extra_cppflags" ; then
    +	
    +	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
     fi
     
    -    fi
    -  fi
     
    -  # Check for libraries that X11R6 Xt/Xaw programs need.
    -  ac_save_LDFLAGS="$LDFLAGS"
    -  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
    -  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
    -  # check for ICE first), but we must link in the order -lSM -lICE or
    -  # we get undefined symbols.  So assume we have SM if we have ICE.
    -  # These have to be linked with before -lX11, unlike the other
    -  # libraries we check for below, so use a different variable.
    -  #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
    -  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
    -echo "configure:7251: checking for IceConnectionNumber in -lICE" >&5
    -ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
    +
    +
    +	LIBS="$cf_pkgconfig_libs $LIBS"
    +	:
    +else
    +	
    +	echo $ac_n "checking for XextCreateExtension in -lXext""... $ac_c" 1>&6
    +echo "configure:7664: checking for XextCreateExtension in -lXext" >&5
    +ac_lib_var=`echo Xext'_'XextCreateExtension | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       ac_save_LIBS="$LIBS"
    -LIBS="-lICE $X_EXTRA_LIBS $LIBS"
    +LIBS="-lXext  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -7281,28 +7694,125 @@ LIBS="$ac_save_LIBS"
     fi
     if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       echo "$ac_t""yes" 1>&6
    -  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
    +  LIBS="-lXext $LIBS"
     else
       echo "$ac_t""no" 1>&6
     fi
     
    -  LDFLAGS="$ac_save_LDFLAGS"
    +fi
    +
    +
    +	
    +
    +
    +
    +cf_have_X_LIBS=no
    +
    +
    +
    +
    +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xt; then
    +	test -n "$verbose" && echo "	found package xt" 1>&6
    +
    +echo "${as_me-configure}:7718: testing found package xt ..." 1>&5
    +
    +
    +	cf_pkgconfig_incs="`$PKG_CONFIG --cflags xt 2>/dev/null`"
    +	cf_pkgconfig_libs="`$PKG_CONFIG --libs   xt 2>/dev/null`"
    +	
    +cf_fix_cppflags=no
    +cf_new_cflags=
    +cf_new_cppflags=
    +cf_new_extra_cppflags=
    +
    +for cf_add_cflags in $cf_pkgconfig_incs
    +do
    +case $cf_fix_cppflags in
    +no)
    +	case $cf_add_cflags in #(vi
    +	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
    +		case $cf_add_cflags in
    +		-D*)
    +			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
    +
    +			test "${cf_add_cflags}" != "${cf_tst_cflags}" \
    +				&& test -z "${cf_tst_cflags}" \
    +				&& cf_fix_cppflags=yes
    +
    +			if test $cf_fix_cppflags = yes ; then
    +				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +				continue
    +			elif test "${cf_tst_cflags}" = "\"'" ; then
    +				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +				continue
    +			fi
    +			;;
    +		esac
    +		case "$CPPFLAGS" in
    +		*$cf_add_cflags) #(vi
    +			;;
    +		*) #(vi
    +			case $cf_add_cflags in #(vi
    +			-D*)
    +				cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
    +				
    +CPPFLAGS=`echo "$CPPFLAGS" | \
    +	sed	-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?[ 	]/ /g' \
    +		-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ 	]*\)\?$//g'`
    +
    +				;;
    +			esac
    +			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
    +			;;
    +		esac
    +		;;
    +	*)
    +		cf_new_cflags="$cf_new_cflags $cf_add_cflags"
    +		;;
    +	esac
    +	;;
    +yes)
    +	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
    +
    +	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
    +
    +	test "${cf_add_cflags}" != "${cf_tst_cflags}" \
    +		&& test -z "${cf_tst_cflags}" \
    +		&& cf_fix_cppflags=no
    +	;;
    +esac
    +done
     
    +if test -n "$cf_new_cflags" ; then
    +	
    +	CFLAGS="$CFLAGS $cf_new_cflags"
     fi
     
    +if test -n "$cf_new_cppflags" ; then
    +	
    +	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
    +fi
     
    +if test -n "$cf_new_extra_cppflags" ; then
    +	
    +	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    +fi
     
     
     
    -# SYSTEM_NAME=`echo "$cf_cv_system_name"|tr ' ' -`
     
    -cf_have_X_LIBS=no
    +	LIBS="$cf_pkgconfig_libs $LIBS"
    +	
    +	cf_have_X_LIBS=yes
     
    -LDFLAGS="$X_LIBS $LDFLAGS"
    +else
    +	
     
    +	LDFLAGS="$X_LIBS $LDFLAGS"
    +	
     test -n "$verbose" && echo "	checking additions to CFLAGS" 1>&6
     
    -echo "${as_me-configure}:7306: testing checking additions to CFLAGS ..." 1>&5
    +echo "${as_me-configure}:7816: testing checking additions to CFLAGS ..." 1>&5
     
     
     cf_check_cflags="$CFLAGS"
    @@ -7374,7 +7884,7 @@ done
     if test -n "$cf_new_cflags" ; then
     	test -n "$verbose" && echo "	add to \$CFLAGS $cf_new_cflags" 1>&6
     
    -echo "${as_me-configure}:7378: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
    +echo "${as_me-configure}:7888: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
     
     
     	CFLAGS="$CFLAGS $cf_new_cflags"
    @@ -7383,7 +7893,7 @@ fi
     if test -n "$cf_new_cppflags" ; then
     	test -n "$verbose" && echo "	add to \$CPPFLAGS $cf_new_cppflags" 1>&6
     
    -echo "${as_me-configure}:7387: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
    +echo "${as_me-configure}:7897: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
     
     
     	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
    @@ -7392,7 +7902,7 @@ fi
     if test -n "$cf_new_extra_cppflags" ; then
     	test -n "$verbose" && echo "	add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
     
    -echo "${as_me-configure}:7396: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
    +echo "${as_me-configure}:7906: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
     
     
     	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    @@ -7403,14 +7913,14 @@ fi
     
     if test "$cf_check_cflags" != "$CFLAGS" ; then
     cat > conftest.$ac_ext <
     int main() {
     printf("Hello world");
     ; return 0; }
     EOF
    -if { (eval echo configure:7414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -7418,13 +7928,13 @@ else
       rm -rf conftest*
       test -n "$verbose" && echo "	test-compile failed.  Undoing change to \$CFLAGS" 1>&6
     
    -echo "${as_me-configure}:7422: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
    +echo "${as_me-configure}:7932: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
     
     
     	 if test "$cf_check_cppflags" != "$CPPFLAGS" ; then
     		 test -n "$verbose" && echo "	but keeping change to \$CPPFLAGS" 1>&6
     
    -echo "${as_me-configure}:7428: testing but keeping change to \$CPPFLAGS ..." 1>&5
    +echo "${as_me-configure}:7938: testing but keeping change to \$CPPFLAGS ..." 1>&5
     
     
     	 fi
    @@ -7434,13 +7944,13 @@ rm -f conftest*
     fi
     
     
    -echo $ac_n "checking for XOpenDisplay""... $ac_c" 1>&6
    -echo "configure:7439: checking for XOpenDisplay" >&5
    +	echo $ac_n "checking for XOpenDisplay""... $ac_c" 1>&6
    +echo "configure:7949: checking for XOpenDisplay" >&5
     if eval "test \"`echo '$''{'ac_cv_func_XOpenDisplay'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:7977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_XOpenDisplay=yes"
     else
    @@ -7481,8 +7991,8 @@ if eval "test \"`echo '$ac_cv_func_'XOpenDisplay`\" = yes"; then
     else
       echo "$ac_t""no" 1>&6
     
    -echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
    -echo "configure:7486: checking for XOpenDisplay in -lX11" >&5
    +	echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
    +echo "configure:7996: checking for XOpenDisplay in -lX11" >&5
     ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -7490,7 +8000,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -7524,13 +8034,13 @@ fi
     fi
     
     
    -echo $ac_n "checking for XtAppInitialize""... $ac_c" 1>&6
    -echo "configure:7529: checking for XtAppInitialize" >&5
    +	echo $ac_n "checking for XtAppInitialize""... $ac_c" 1>&6
    +echo "configure:8039: checking for XtAppInitialize" >&5
     if eval "test \"`echo '$''{'ac_cv_func_XtAppInitialize'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_XtAppInitialize=yes"
     else
    @@ -7571,8 +8081,8 @@ if eval "test \"`echo '$ac_cv_func_'XtAppInitialize`\" = yes"; then
     else
       echo "$ac_t""no" 1>&6
     
    -echo $ac_n "checking for XtAppInitialize in -lXt""... $ac_c" 1>&6
    -echo "configure:7576: checking for XtAppInitialize in -lXt" >&5
    +	echo $ac_n "checking for XtAppInitialize in -lXt""... $ac_c" 1>&6
    +echo "configure:8086: checking for XtAppInitialize in -lXt" >&5
     ac_lib_var=`echo Xt'_'XtAppInitialize | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -7580,7 +8090,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -7610,8 +8120,8 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     #define HAVE_LIBXT 1
     EOF
     
    -	 cf_have_X_LIBS=Xt
    -	 LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"
    +		 cf_have_X_LIBS=Xt
    +		 LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"
     else
       echo "$ac_t""no" 1>&6
     fi
    @@ -7619,112 +8129,18 @@ fi
     fi
     
     
    +fi
    +
    +
     if test $cf_have_X_LIBS = no ; then
     	echo "configure: warning: Unable to successfully link X Toolkit library (-lXt) with
     test program.  You will have to check and add the proper libraries by hand
     to makefile." 1>&2
     fi
     
    -
    -cf_x_athena=${cf_x_athena-Xaw}
    -
    -echo $ac_n "checking if you want to link with Xaw 3d library""... $ac_c" 1>&6
    -echo "configure:7633: checking if you want to link with Xaw 3d library" >&5
    -withval=
    -
    -# Check whether --with-Xaw3d or --without-Xaw3d was given.
    -if test "${with_Xaw3d+set}" = set; then
    -  withval="$with_Xaw3d"
    -  :
    -fi
    -
    -if test "$withval" = yes ; then
    -	cf_x_athena=Xaw3d
    -	echo "$ac_t""yes" 1>&6
    -else
    -	echo "$ac_t""no" 1>&6
    -fi
    -
    -echo $ac_n "checking if you want to link with neXT Athena library""... $ac_c" 1>&6
    -echo "configure:7650: checking if you want to link with neXT Athena library" >&5
    -withval=
    -
    -# Check whether --with-neXtaw or --without-neXtaw was given.
    -if test "${with_neXtaw+set}" = set; then
    -  withval="$with_neXtaw"
    -  :
    -fi
    -
    -if test "$withval" = yes ; then
    -	cf_x_athena=neXtaw
    -	echo "$ac_t""yes" 1>&6
    -else
    -	echo "$ac_t""no" 1>&6
    -fi
    -
    -echo $ac_n "checking if you want to link with Athena-Plus library""... $ac_c" 1>&6
    -echo "configure:7667: checking if you want to link with Athena-Plus library" >&5
    -withval=
    -
    -# Check whether --with-XawPlus or --without-XawPlus was given.
    -if test "${with_XawPlus+set}" = set; then
    -  withval="$with_XawPlus"
    -  :
    -fi
    -
    -if test "$withval" = yes ; then
    -	cf_x_athena=XawPlus
    -	echo "$ac_t""yes" 1>&6
    -else
    -	echo "$ac_t""no" 1>&6
    -fi
    -
    -echo $ac_n "checking for XextCreateExtension in -lXext""... $ac_c" 1>&6
    -echo "configure:7684: checking for XextCreateExtension in -lXext" >&5
    -ac_lib_var=`echo Xext'_'XextCreateExtension | sed 'y%./+-%__p_%'`
    -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    -  echo $ac_n "(cached) $ac_c" 1>&6
    -else
    -  ac_save_LIBS="$LIBS"
    -LIBS="-lXext  $LIBS"
    -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    -  rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=yes"
    -else
    -  echo "configure: failed program was:" >&5
    -  cat conftest.$ac_ext >&5
    -  rm -rf conftest*
    -  eval "ac_cv_lib_$ac_lib_var=no"
    -fi
    -rm -f conftest*
    -LIBS="$ac_save_LIBS"
    -
    -fi
    -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    -  echo "$ac_t""yes" 1>&6
    -  LIBS="-lXext $LIBS"
    -else
    -  echo "$ac_t""no" 1>&6
    -fi
    -
    -
    -cf_x_athena_lib=""
    -
    -
    +	
     cf_x_athena_root=$cf_x_athena
    -cf_x_athena_include=""
    +cf_x_athena_inc=""
     
     for cf_path in default \
     	/usr/contrib/X11R6 \
    @@ -7732,19 +8148,19 @@ for cf_path in default \
     	/usr/lib/X11R5 \
     	/usr/local
     do
    -	if test -z "$cf_x_athena_include" ; then
    +	if test -z "$cf_x_athena_inc" ; then
     		cf_save="$CPPFLAGS"
     		cf_test=X11/$cf_x_athena_root/SimpleMenu.h
     		if test $cf_path != default ; then
     			CPPFLAGS="$cf_save -I$cf_path/include"
     			echo $ac_n "checking for $cf_test in $cf_path""... $ac_c" 1>&6
    -echo "configure:7742: checking for $cf_test in $cf_path" >&5
    +echo "configure:8158: checking for $cf_test in $cf_path" >&5
     		else
     			echo $ac_n "checking for $cf_test""... $ac_c" 1>&6
    -echo "configure:7745: checking for $cf_test" >&5
    +echo "configure:8161: checking for $cf_test" >&5
     		fi
     		cat > conftest.$ac_ext <
    @@ -7753,7 +8169,7 @@ int main() {
     
     ; return 0; }
     EOF
    -if { (eval echo configure:7757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:8173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -7765,7 +8181,7 @@ fi
     rm -f conftest*
     		echo "$ac_t""$cf_result" 1>&6
     		if test "$cf_result" = yes ; then
    -			cf_x_athena_include=$cf_path
    +			cf_x_athena_inc=$cf_path
     			break
     		else
     			CPPFLAGS="$cf_save"
    @@ -7773,13 +8189,13 @@ rm -f conftest*
     	fi
     done
     
    -if test -z "$cf_x_athena_include" ; then
    +if test -z "$cf_x_athena_inc" ; then
     	echo "configure: warning: Unable to successfully find Athena header files with test program" 1>&2
    -elif test "$cf_x_athena_include" != default ; then
    -	CPPFLAGS="$CPPFLAGS -I$cf_x_athena_include"
    +elif test "$cf_x_athena_inc" != default ; then
    +	CPPFLAGS="$CPPFLAGS -I$cf_x_athena_inc"
     fi
     
    -
    +	
     cf_x_athena_root=$cf_x_athena
     cf_x_athena_lib=""
     
    @@ -7800,21 +8216,21 @@ do
     			if test $cf_path != default ; then
     				LIBS="-L$cf_path/lib $cf_lib $LIBS"
     				echo $ac_n "checking for $cf_lib in $cf_path""... $ac_c" 1>&6
    -echo "configure:7804: checking for $cf_lib in $cf_path" >&5
    +echo "configure:8220: checking for $cf_lib in $cf_path" >&5
     			else
     				LIBS="$cf_lib $LIBS"
     				echo $ac_n "checking for $cf_test in $cf_lib""... $ac_c" 1>&6
    -echo "configure:7808: checking for $cf_test in $cf_lib" >&5
    +echo "configure:8224: checking for $cf_test in $cf_lib" >&5
     			fi
     			cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -7846,6 +8262,7 @@ cat >> confdefs.h <&6
    -echo "configure:7859: checking for $ac_word" >&5
    +echo "configure:8276: checking for $ac_word" >&5
     if eval "test \"`echo '$''{'ac_cv_path_XCURSES_CONFIG'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -7905,7 +8322,7 @@ LDFLAGS="$LDFLAGS $X_LIBS"
     
     test -n "$verbose" && echo "	checking additions to CFLAGS" 1>&6
     
    -echo "${as_me-configure}:7909: testing checking additions to CFLAGS ..." 1>&5
    +echo "${as_me-configure}:8326: testing checking additions to CFLAGS ..." 1>&5
     
     
     cf_check_cflags="$CFLAGS"
    @@ -7977,7 +8394,7 @@ done
     if test -n "$cf_new_cflags" ; then
     	test -n "$verbose" && echo "	add to \$CFLAGS $cf_new_cflags" 1>&6
     
    -echo "${as_me-configure}:7981: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
    +echo "${as_me-configure}:8398: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
     
     
     	CFLAGS="$CFLAGS $cf_new_cflags"
    @@ -7986,7 +8403,7 @@ fi
     if test -n "$cf_new_cppflags" ; then
     	test -n "$verbose" && echo "	add to \$CPPFLAGS $cf_new_cppflags" 1>&6
     
    -echo "${as_me-configure}:7990: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
    +echo "${as_me-configure}:8407: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
     
     
     	CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
    @@ -7995,7 +8412,7 @@ fi
     if test -n "$cf_new_extra_cppflags" ; then
     	test -n "$verbose" && echo "	add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
     
    -echo "${as_me-configure}:7999: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
    +echo "${as_me-configure}:8416: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
     
     
     	EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
    @@ -8006,14 +8423,14 @@ fi
     
     if test "$cf_check_cflags" != "$CFLAGS" ; then
     cat > conftest.$ac_ext <
     int main() {
     printf("Hello world");
     ; return 0; }
     EOF
    -if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       :
     else
       echo "configure: failed program was:" >&5
    @@ -8021,13 +8438,13 @@ else
       rm -rf conftest*
       test -n "$verbose" && echo "	test-compile failed.  Undoing change to \$CFLAGS" 1>&6
     
    -echo "${as_me-configure}:8025: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
    +echo "${as_me-configure}:8442: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
     
     
     	 if test "$cf_check_cppflags" != "$CPPFLAGS" ; then
     		 test -n "$verbose" && echo "	but keeping change to \$CPPFLAGS" 1>&6
     
    -echo "${as_me-configure}:8031: testing but keeping change to \$CPPFLAGS ..." 1>&5
    +echo "${as_me-configure}:8448: testing but keeping change to \$CPPFLAGS ..." 1>&5
     
     
     	 fi
    @@ -8037,7 +8454,7 @@ rm -f conftest*
     fi
     
     echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
    -echo "configure:8041: checking for XOpenDisplay in -lX11" >&5
    +echo "configure:8458: checking for XOpenDisplay in -lX11" >&5
     ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -8045,7 +8462,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -8077,14 +8494,14 @@ else
     fi
     
     echo $ac_n "checking for XCurses library""... $ac_c" 1>&6
    -echo "configure:8081: checking for XCurses library" >&5
    +echo "configure:8498: checking for XCurses library" >&5
     if eval "test \"`echo '$''{'cf_cv_lib_XCurses'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     LIBS="-lXCurses $LIBS"
     cat > conftest.$ac_ext <
    @@ -8094,7 +8511,7 @@ int main() {
     XCursesExit();
     ; return 0; }
     EOF
    -if { (eval echo configure:8098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_lib_XCurses=yes
     else
    @@ -8139,7 +8556,7 @@ pdcurses) #(vi
     *)
     	# look for curses-related libraries
     	echo $ac_n "checking for new_panel in -lpanel$cf_cv_libtype""... $ac_c" 1>&6
    -echo "configure:8143: checking for new_panel in -lpanel$cf_cv_libtype" >&5
    +echo "configure:8560: checking for new_panel in -lpanel$cf_cv_libtype" >&5
     ac_lib_var=`echo panel$cf_cv_libtype'_'new_panel | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -8147,7 +8564,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lpanel$cf_cv_libtype  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -8186,7 +8603,7 @@ else
     fi
     
     	echo $ac_n "checking for menu_driver in -lmenu$cf_cv_libtype""... $ac_c" 1>&6
    -echo "configure:8190: checking for menu_driver in -lmenu$cf_cv_libtype" >&5
    +echo "configure:8607: checking for menu_driver in -lmenu$cf_cv_libtype" >&5
     ac_lib_var=`echo menu$cf_cv_libtype'_'menu_driver | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -8194,7 +8611,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lmenu$cf_cv_libtype  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -8233,7 +8650,7 @@ else
     fi
     
     	echo $ac_n "checking for form_driver in -lform$cf_cv_libtype""... $ac_c" 1>&6
    -echo "configure:8237: checking for form_driver in -lform$cf_cv_libtype" >&5
    +echo "configure:8654: checking for form_driver in -lform$cf_cv_libtype" >&5
     ac_lib_var=`echo form$cf_cv_libtype'_'form_driver | sed 'y%./+-%__p_%'`
     if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -8241,7 +8658,7 @@ else
       ac_save_LIBS="$LIBS"
     LIBS="-lform$cf_cv_libtype  $LIBS"
     cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:8673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_lib_$ac_lib_var=yes"
     else
    @@ -8291,17 +8708,17 @@ fi
     do
     ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    -echo "configure:8295: checking for $ac_hdr" >&5
    +echo "configure:8712: checking for $ac_hdr" >&5
     if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:8305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:8722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       rm -rf conftest*
    @@ -8331,12 +8748,12 @@ done
     esac
     
     echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    -echo "configure:8335: checking return type of signal handlers" >&5
    +echo "configure:8752: checking return type of signal handlers" >&5
     if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     #include 
    @@ -8353,7 +8770,7 @@ int main() {
     int i;
     ; return 0; }
     EOF
    -if { (eval echo configure:8357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:8774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       ac_cv_type_signal=void
     else
    @@ -8373,12 +8790,12 @@ EOF
     
     
     echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    -echo "configure:8377: checking for ANSI C header files" >&5
    +echo "configure:8794: checking for ANSI C header files" >&5
     if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     #include 
    @@ -8386,7 +8803,7 @@ else
     #include 
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:8390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:8807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       rm -rf conftest*
    @@ -8403,7 +8820,7 @@ rm -f conftest*
     if test $ac_cv_header_stdc = yes; then
       # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     cat > conftest.$ac_ext <
     EOF
    @@ -8421,7 +8838,7 @@ fi
     if test $ac_cv_header_stdc = yes; then
       # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     cat > conftest.$ac_ext <
     EOF
    @@ -8442,7 +8859,7 @@ if test "$cross_compiling" = yes; then
       :
     else
       cat > conftest.$ac_ext <
     #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    @@ -8453,7 +8870,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
     exit (0); }
     
     EOF
    -if { (eval echo configure:8457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    +if { (eval echo configure:8874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     then
       :
     else
    @@ -8477,12 +8894,12 @@ EOF
     fi
     
     echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    -echo "configure:8481: checking whether time.h and sys/time.h may both be included" >&5
    +echo "configure:8898: checking whether time.h and sys/time.h may both be included" >&5
     if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     #include 
    @@ -8491,7 +8908,7 @@ int main() {
     struct tm *tp;
     ; return 0; }
     EOF
    -if { (eval echo configure:8495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:8912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       ac_cv_header_time=yes
     else
    @@ -8524,17 +8941,17 @@ unistd.h \
     do
     ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    -echo "configure:8528: checking for $ac_hdr" >&5
    +echo "configure:8945: checking for $ac_hdr" >&5
     if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:8538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:8955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       rm -rf conftest*
    @@ -8575,12 +8992,12 @@ wcstombs \
     
     do
     echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    -echo "configure:8579: checking for $ac_func" >&5
    +echo "configure:8996: checking for $ac_func" >&5
     if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_$ac_func=yes"
     else
    @@ -8630,13 +9047,13 @@ done
     
     
     echo $ac_n "checking if we must define _XOPEN_SOURCE_EXTENDED""... $ac_c" 1>&6
    -echo "configure:8634: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
    +echo "configure:9051: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5
     if eval "test \"`echo '$''{'cf_cv_need_xopen_extension'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
    @@ -8653,7 +9070,7 @@ if (NCURSES_VERSION_PATCH < 20100501) && (NCURSES_VERSION_PATCH >= 20100403)
     	getbegyx(stdscr, y1, x1)
     ; return 0; }
     EOF
    -if { (eval echo configure:8657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_need_xopen_extension=no
     else
    @@ -8661,7 +9078,7 @@ else
       cat conftest.$ac_ext >&5
       rm -rf conftest*
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_need_xopen_extension=yes
     else
    @@ -8698,7 +9115,7 @@ test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EX
     
     
     echo $ac_n "checking for term.h""... $ac_c" 1>&6
    -echo "configure:8702: checking for term.h" >&5
    +echo "configure:9119: checking for term.h" >&5
     if eval "test \"`echo '$''{'cf_cv_term_header'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -8711,7 +9128,7 @@ for cf_header in \
     	term.h
     do
     	cat > conftest.$ac_ext <
    @@ -8720,7 +9137,7 @@ int main() {
     WINDOW *x
     ; return 0; }
     EOF
    -if { (eval echo configure:8724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:9141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_term_header=$cf_header
     	 break
    @@ -8740,7 +9157,7 @@ no)
     	for cf_header in ncurses/term.h ncursesw/term.h
     	do
     		cat > conftest.$ac_ext <
    @@ -8753,7 +9170,7 @@ int main() {
     WINDOW *x
     ; return 0; }
     EOF
    -if { (eval echo configure:8757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:9174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_term_header=$cf_header
     			 break
    @@ -8833,9 +9250,9 @@ do
     cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
     
     	echo $ac_n "checking for ${cf_func}""... $ac_c" 1>&6
    -echo "configure:8837: checking for ${cf_func}" >&5
    +echo "configure:9254: checking for ${cf_func}" >&5
     	
    -echo "${as_me-configure}:8839: testing ${cf_func} ..." 1>&5
    +echo "${as_me-configure}:9256: testing ${cf_func} ..." 1>&5
     
     	if eval "test \"`echo '$''{'cf_cv_func_$cf_func'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
    @@ -8844,7 +9261,7 @@ else
     		eval cf_result='$ac_cv_func_'$cf_func
     		if test ".$cf_result" != ".no"; then
     			cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -8899,13 +9316,13 @@ done
     
     
     echo $ac_n "checking for ncurses extended functions""... $ac_c" 1>&6
    -echo "configure:8903: checking for ncurses extended functions" >&5
    +echo "configure:9320: checking for ncurses extended functions" >&5
     if eval "test \"`echo '$''{'cf_cv_ncurses_ext_funcs'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
    @@ -8915,7 +9332,7 @@ int x = NCURSES_EXT_FUNCS
     
     ; return 0; }
     EOF
    -if { (eval echo configure:8919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:9336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_ncurses_ext_funcs=defined
     else
    @@ -8924,7 +9341,7 @@ else
       rm -rf conftest*
       
     cat > conftest.$ac_ext <
    @@ -8944,7 +9361,7 @@ int main() {
     	(void) wresize (0, 0, 0);
     ; return 0; }
     EOF
    -if { (eval echo configure:8948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_ncurses_ext_funcs=yes
     else
    @@ -8968,13 +9385,13 @@ EOF
     
     
     echo $ac_n "checking for wide-character functions""... $ac_c" 1>&6
    -echo "configure:8972: checking for wide-character functions" >&5
    +echo "configure:9389: checking for wide-character functions" >&5
     if eval "test \"`echo '$''{'cf_cv_widechar_funcs'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
    @@ -8986,7 +9403,7 @@ int main() {
     	
     ; return 0; }
     EOF
    -if { (eval echo configure:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_widechar_funcs=yes
     else
    @@ -9013,12 +9430,12 @@ EOF
     fi
     
     echo $ac_n "checking for pid_t""... $ac_c" 1>&6
    -echo "configure:9017: checking for pid_t" >&5
    +echo "configure:9434: checking for pid_t" >&5
     if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     #if STDC_HEADERS
    @@ -9047,17 +9464,17 @@ fi
     
     ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
     echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
    -echo "configure:9051: checking for vfork.h" >&5
    +echo "configure:9468: checking for vfork.h" >&5
     if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <
     EOF
     ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    -{ (eval echo configure:9061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    +{ (eval echo configure:9478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     if test -z "$ac_err"; then
       rm -rf conftest*
    @@ -9082,18 +9499,18 @@ else
     fi
     
     echo $ac_n "checking for working vfork""... $ac_c" 1>&6
    -echo "configure:9086: checking for working vfork" >&5
    +echo "configure:9503: checking for working vfork" >&5
     if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       if test "$cross_compiling" = yes; then
       echo $ac_n "checking for vfork""... $ac_c" 1>&6
    -echo "configure:9092: checking for vfork" >&5
    +echo "configure:9509: checking for vfork" >&5
     if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       eval "ac_cv_func_vfork=yes"
     else
    @@ -9138,7 +9555,7 @@ fi
     ac_cv_func_vfork_works=$ac_cv_func_vfork
     else
       cat > conftest.$ac_ext <
    @@ -9233,7 +9650,7 @@ main() {
       }
     }
     EOF
    -if { (eval echo configure:9237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    +if { (eval echo configure:9654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     then
       ac_cv_func_vfork_works=yes
     else
    @@ -9257,13 +9674,13 @@ fi
     
     
     echo $ac_n "checking if sys/time.h works with sys/select.h""... $ac_c" 1>&6
    -echo "configure:9261: checking if sys/time.h works with sys/select.h" >&5
    +echo "configure:9678: checking if sys/time.h works with sys/select.h" >&5
     if eval "test \"`echo '$''{'cf_cv_sys_time_select'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
    @@ -9278,7 +9695,7 @@ int main() {
     
     ; return 0; }
     EOF
    -if { (eval echo configure:9282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:9699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_sys_time_select=yes
     else
    @@ -9299,7 +9716,7 @@ EOF
     
     
     echo $ac_n "checking for function curses_version""... $ac_c" 1>&6
    -echo "configure:9303: checking for function curses_version" >&5
    +echo "configure:9720: checking for function curses_version" >&5
     if eval "test \"`echo '$''{'cf_cv_func_curses_version'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -9308,7 +9725,7 @@ if test "$cross_compiling" = yes; then
       cf_cv_func_curses_version=unknown
     else
       cat > conftest.$ac_ext <
    @@ -9320,7 +9737,7 @@ int main()
     }
     
     EOF
    -if { (eval echo configure:9324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    +if { (eval echo configure:9741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     then
       cf_cv_func_curses_version=yes
     
    @@ -9345,7 +9762,7 @@ EOF
     
     
     echo $ac_n "checking for ncurses wrap-prefix""... $ac_c" 1>&6
    -echo "configure:9349: checking for ncurses wrap-prefix" >&5
    +echo "configure:9766: checking for ncurses wrap-prefix" >&5
     
     # Check whether --with-ncurses-wrap-prefix or --without-ncurses-wrap-prefix was given.
     if test "${with_ncurses_wrap_prefix+set}" = set; then
    @@ -9361,7 +9778,7 @@ echo "$ac_t""$NCURSES_WRAP_PREFIX" 1>&6
     
     
     echo $ac_n "checking for alternate character set array""... $ac_c" 1>&6
    -echo "configure:9365: checking for alternate character set array" >&5
    +echo "configure:9782: checking for alternate character set array" >&5
     if eval "test \"`echo '$''{'cf_cv_curses_acs_map'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -9370,7 +9787,7 @@ cf_cv_curses_acs_map=unknown
     for name in acs_map _acs_map __acs_map ${NCURSES_WRAP_PREFIX}acs_map
     do
     cat > conftest.$ac_ext <
    @@ -9381,7 +9798,7 @@ $name['k'] = ACS_PLUS
     
     ; return 0; }
     EOF
    -if { (eval echo configure:9385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_curses_acs_map=$name; break
     else
    @@ -9402,7 +9819,7 @@ EOF
     
     
     echo $ac_n "checking for wide alternate character set array""... $ac_c" 1>&6
    -echo "configure:9406: checking for wide alternate character set array" >&5
    +echo "configure:9823: checking for wide alternate character set array" >&5
     if eval "test \"`echo '$''{'cf_cv_curses_wacs_map'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
    @@ -9411,7 +9828,7 @@ else
     	for name in wacs_map _wacs_map __wacs_map _nc_wacs
     	do
     	cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:9843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_cv_curses_wacs_map=$name
     	 break
    @@ -9439,9 +9856,9 @@ echo "$ac_t""$cf_cv_curses_wacs_map" 1>&6
     
     
     echo $ac_n "checking for type attr_t in ${cf_cv_ncurses_header-curses.h}""... $ac_c" 1>&6
    -echo "configure:9443: checking for type attr_t in ${cf_cv_ncurses_header-curses.h}" >&5
    +echo "configure:9860: checking for type attr_t in ${cf_cv_ncurses_header-curses.h}" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:9875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -9484,13 +9901,13 @@ fi
     
     # This is needed on Tru64 5.0 to declare mbstate_t
     echo $ac_n "checking if we must include wchar.h to declare mbstate_t""... $ac_c" 1>&6
    -echo "configure:9488: checking if we must include wchar.h to declare mbstate_t" >&5
    +echo "configure:9905: checking if we must include wchar.h to declare mbstate_t" >&5
     if eval "test \"`echo '$''{'cf_cv_mbstate_t'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
    @@ -9503,7 +9920,7 @@ int main() {
     mbstate_t state
     ; return 0; }
     EOF
    -if { (eval echo configure:9507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:9924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_mbstate_t=no
     else
    @@ -9511,7 +9928,7 @@ else
       cat conftest.$ac_ext >&5
       rm -rf conftest*
       cat > conftest.$ac_ext <
    @@ -9525,7 +9942,7 @@ int main() {
     mbstate_t value
     ; return 0; }
     EOF
    -if { (eval echo configure:9529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:9946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_mbstate_t=yes
     else
    @@ -9565,13 +9982,13 @@ fi
     
     # This is needed on Tru64 5.0 to declare wchar_t
     echo $ac_n "checking if we must include wchar.h to declare wchar_t""... $ac_c" 1>&6
    -echo "configure:9569: checking if we must include wchar.h to declare wchar_t" >&5
    +echo "configure:9986: checking if we must include wchar.h to declare wchar_t" >&5
     if eval "test \"`echo '$''{'cf_cv_wchar_t'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
    @@ -9584,7 +10001,7 @@ int main() {
     wchar_t state
     ; return 0; }
     EOF
    -if { (eval echo configure:9588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_wchar_t=no
     else
    @@ -9592,7 +10009,7 @@ else
       cat conftest.$ac_ext >&5
       rm -rf conftest*
       cat > conftest.$ac_ext <
    @@ -9606,7 +10023,7 @@ int main() {
     wchar_t value
     ; return 0; }
     EOF
    -if { (eval echo configure:9610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_wchar_t=yes
     else
    @@ -9646,13 +10063,13 @@ fi
     
     # This is needed on Tru64 5.0 to declare wint_t
     echo $ac_n "checking if we must include wchar.h to declare wint_t""... $ac_c" 1>&6
    -echo "configure:9650: checking if we must include wchar.h to declare wint_t" >&5
    +echo "configure:10067: checking if we must include wchar.h to declare wint_t" >&5
     if eval "test \"`echo '$''{'cf_cv_wint_t'+set}'`\" = set"; then
       echo $ac_n "(cached) $ac_c" 1>&6
     else
       
     cat > conftest.$ac_ext <
    @@ -9665,7 +10082,7 @@ int main() {
     wint_t state
     ; return 0; }
     EOF
    -if { (eval echo configure:9669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_wint_t=no
     else
    @@ -9673,7 +10090,7 @@ else
       cat conftest.$ac_ext >&5
       rm -rf conftest*
       cat > conftest.$ac_ext <
    @@ -9687,7 +10104,7 @@ int main() {
     wint_t value
     ; return 0; }
     EOF
    -if { (eval echo configure:9691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_cv_wint_t=yes
     else
    @@ -9728,9 +10145,9 @@ fi
     if test "$NCURSES_OK_MBSTATE_T" = 0 ; then
     	
     echo $ac_n "checking for type mbstate_t in ${cf_cv_ncurses_header-curses.h}""... $ac_c" 1>&6
    -echo "configure:9732: checking for type mbstate_t in ${cf_cv_ncurses_header-curses.h}" >&5
    +echo "configure:10149: checking for type mbstate_t in ${cf_cv_ncurses_header-curses.h}" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -9774,9 +10191,9 @@ fi
     if test "$NCURSES_OK_WCHAR_T" = 0 ; then
     	
     echo $ac_n "checking for type wchar_t in ${cf_cv_ncurses_header-curses.h}""... $ac_c" 1>&6
    -echo "configure:9778: checking for type wchar_t in ${cf_cv_ncurses_header-curses.h}" >&5
    +echo "configure:10195: checking for type wchar_t in ${cf_cv_ncurses_header-curses.h}" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -9820,9 +10237,9 @@ fi
     if test "$NCURSES_OK_WINT_T" = 0 ; then
     	
     echo $ac_n "checking for type wint_t in ${cf_cv_ncurses_header-curses.h}""... $ac_c" 1>&6
    -echo "configure:9824: checking for type wint_t in ${cf_cv_ncurses_header-curses.h}" >&5
    +echo "configure:10241: checking for type wint_t in ${cf_cv_ncurses_header-curses.h}" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -9865,9 +10282,9 @@ fi
     
     
     echo $ac_n "checking for data boolnames declaration in ${cf_cv_ncurses_header-curses.h}""... $ac_c" 1>&6
    -echo "configure:9869: checking for data boolnames declaration in ${cf_cv_ncurses_header-curses.h}" >&5
    +echo "configure:10286: checking for data boolnames declaration in ${cf_cv_ncurses_header-curses.h}" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -9911,9 +10328,9 @@ EOF
     
     else
     	echo $ac_n "checking for data boolnames in library""... $ac_c" 1>&6
    -echo "configure:9915: checking for data boolnames in library" >&5
    +echo "configure:10332: checking for data boolnames in library" >&5
     	cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:10361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -9964,9 +10381,9 @@ fi
     
     
     echo $ac_n "checking for data boolfnames declaration in ${cf_cv_ncurses_header-curses.h}""... $ac_c" 1>&6
    -echo "configure:9968: checking for data boolfnames declaration in ${cf_cv_ncurses_header-curses.h}" >&5
    +echo "configure:10385: checking for data boolfnames declaration in ${cf_cv_ncurses_header-curses.h}" >&5
     cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
    +if { (eval echo configure:10410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -10010,9 +10427,9 @@ EOF
     
     else
     	echo $ac_n "checking for data boolfnames in library""... $ac_c" 1>&6
    -echo "configure:10014: checking for data boolfnames in library" >&5
    +echo "configure:10431: checking for data boolfnames in library" >&5
     	cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    +if { (eval echo configure:10460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       rm -rf conftest*
       cf_result=yes
     else
    @@ -10247,6 +10664,7 @@ s%@SHOW_CC@%$SHOW_CC%g
     s%@ECHO_CC@%$ECHO_CC%g
     s%@EXTRA_CFLAGS@%$EXTRA_CFLAGS%g
     s%@NCURSES_CONFIG@%$NCURSES_CONFIG%g
    +s%@PKG_CONFIG@%$PKG_CONFIG%g
     s%@X_CFLAGS@%$X_CFLAGS%g
     s%@X_PRE_LIBS@%$X_PRE_LIBS%g
     s%@X_LIBS@%$X_LIBS%g
    -- 
    2.44.0
    
    
    C nameAda nameman page
    _nc_freeall()Curses_Free_Allcurs_trace.3x
    _tracef()Trace_Putcurs_trace.3x
    assume_default_colors()Assume_Default_Colorsdefault_colors.3x
    baudrate()Baudratecurs_termattrs.3x
    beep()Beepcurs_beep.3x
    copywin()Copycurs_overlay.3x
    current_field()Currentform_page.3x
    current_item()Currentmitem_current.3x
    curs_set()Set_Cursor_Visibilitycurs_kernel.3x
    curscrCurrent_Windowcurs_initscr.3x
    curses_version()Curses_Versioncurs_extend.3x
    curs_set()Set_Cursor_Visibilitycurs_kernel.3x
    data_ahead()Data_Aheadform_data.3x
    data_behind()Data_Behindform_data.3x
    def_prog_mode()Save_Curses_Modecurs_kernel.3x
    define_key()Define_Keydefine_key.3x
    del_panel()Deletepanel.3x
    def_prog_mode()Save_Curses_Modecurs_kernel.3x
    delay_output()Delay_Outputcurs_util.3x
    del_panel()Deletepanel.3x
    delwin()Deletecurs_window.3x
    derwin()Derived_Windowcurs_window.3x
    doupdate()Update_Screencurs_refresh.3x
    field_info()Infoform_field_info.3x
    field_init()Get_Field_Init_Hookform_hook.3x
    field_just()Get_Justificationform_field_just.3x
    field_opts_on()Switch_Optionsform_field_opts.3x
    field_opts()Get_Optionsform_field_opts.3x
    field_opts()Get_Optionsform_field_opts.3x
    field_opts_on()Switch_Optionsform_field_opts.3x
    field_pad()Pad_Characterform_field_attributes.3x
    field_status()Changedform_field_buffer.3x
    field_term()Get_Field_Term_Hookform_hook.3x
    form_driver()Driverform_driver.3x
    form_fields()Fieldsform_field.3x
    form_init()Get_Form_Init_Hookform_hook.3x
    form_opts_on()Switch_Optionsform_opts.3x
    form_opts()Get_Optionsform_opts.3x
    form_opts()Get_Optionsform_opts.3x
    form_opts_on()Switch_Optionsform_opts.3x
    form_page()Pageform_page.3x
    form_sub()Get_Sub_Windowform_win.3x
    form_term()Get_Form_Term_Hookform_hook.3x
    initscr()Init_Screencurs_initscr.3x
    initscr()Init_Windowscurs_initscr.3x
    intrflush()Set_Flush_On_Interrupt_Modecurs_inopts.3x
    isendwin()Is_End_Windowcurs_initscr.3x
    is_linetouched()Is_Touchedcurs_touch.3x
    is_wintouched()Is_Touchedcurs_touch.3x
    isendwin()Is_End_Windowcurs_initscr.3x
    item_count()Item_Countmenu_items.3x
    item_description();Descriptionmitem_name.3x
    item_index()Get_Indexmitem_current.3x
    item_init()Get_Item_Init_Hookmenu_hook.3x
    item_name()Namemitem_name.3x
    item_opts_on()Switch_Optionsmitem_opts.3x
    item_opts()Get_Optionsmitem_opts.3x
    item_opts()Get_Optionsmitem_opts.3x
    item_opts_on()Switch_Optionsmitem_opts.3x
    item_term()Get_Item_Term_Hookmenu_hook.3x
    item_userptrGet_User_Datamitem_userptr.3x
    item_userptrGet_User_Datamitem_userptr.3x
    menu_init()Get_Menu_Init_Hookmenu_hook.3x
    menu_items()Itemsmenu_items.3x
    menu_mark()Markmenu_mark.3x
    menu_opts_on()Switch_Optionsmenu_opts.3x
    menu_opts()Get_Optionsmenu_opts.3x
    menu_opts()Get_Optionsmenu_opts.3x
    menu_opts_on()Switch_Optionsmenu_opts.3x
    menu_pad()Pad_Charactermenu_attributes.3x
    menu_pattern()Patternmenu_pattern.3x
    menu_requestname.3xmenu_driver.3x
    move_field()Moveform_field.3x
    move_panel()Movepanel.3x
    mvderwin()Move_Derived_Windowcurs_window.3x
    mvwaddch()Addcurs_addch.3x
    mvwaddchnstr()Addcurs_addchstr.3x
    mvwaddch()Addcurs_addch.3x
    mvwaddnstr()Addcurs_addstr.3x
    mvwchgat()Change_Attributescurs_attr.3x
    mvwdelch()Delete_Charactercurs_delch.3x
    mvwgetnstr()Getcurs_getstr.3x
    mvwin()Move_Windowcurs_window.3x
    mvwinch()Peekcurs_inch.3x
    mvwinchnstr()Peekcurs_inchstr.3x
    mvwinch()Peekcurs_inch.3x
    mvwinnstr()Peekcurs_instr.3x
    mvwinsch()Insertcurs_insch.3x
    mvwinsnstr()Insertcurs_insstr.3x
    mvwin()Move_Windowcurs_window.3x
    napms()Nap_Milli_Secondscurs_kernel.3x
    _nc_freeall()Curses_Free_Allcurs_trace.3x
    new_field()Createform_field_new.3x
    new_field()New_Fieldform_field_new.3x
    new_form()Createform_new.3x
    new_item()Createmitem_new.3x
    new_item()New_Itemmitem_new.3x
    new_menu()Createmenu_new.3x
    newpad()New_Padcurs_pad.3x
    new_page()Is_New_Pageform_new_page.3x
    new_panel()Createpanel.3x
    new_panel()New_Panelpanel.3x
    newpad()New_Padcurs_pad.3x
    newwin()Createcurs_window.3x
    nl()Set_NL_Modecurs_outopts.3x
    nodelay()Set_NoDelay_Modecurs_inopts.3x
    scale_menu()Scalemenu_win.3x
    scr_dump()Screen_Dump_To_Filecurs_scr_dump.3x
    scr_init()Screen_Init_From_Filecurs_scr_dump.3x
    scrollok()Allow_Scrollingcurs_outopts.3x
    scr_restore()Screen_Restore_From_Filecurs_scr_dump.3x
    scr_set()Screen_Set_Filecurs_scr_dump.3x
    scrollok()Allow_Scrollingcurs_outopts.3x
    set_current_field()Set_Currentform_page.3x
    set_current_item()Set_Currentmitem_current.3x
    set_field_back()Set_Backgroundform_field_attributes.3x
    set_panel_userptrSet_User_Datapanel.3x
    set_top_row()Set_Top_Rowmitem_current.3x
    show_panel()Showpanel.3x
    slk_attr()Get_Soft_Label_Key_Attributescurs_slk.3x
    slk_attr()Get_Soft_Label_Key_Attributescurs_slk.3x
    slk_attron()Switch_Soft_Label_Key_Attributescurs_slk.3x
    slk_attrset()Set_Soft_Label_Key_Attributescurs_slk.3x
    slk_attr()Get_Soft_Label_Key_Attributescurs_slk.3x
    slk_attr()Get_Soft_Label_Key_Attributescurs_slk.3x
    slk_clear()Clear_Soft_Label_Keyscurs_slk.3x
    slk_color()Set_Soft_Label_Key_Colorcurs_slk.3x
    slk_init()Init_Soft_Label_Keyscurs_slk.3x
    top_row()Top_Rowmitem_current.3x
    touchline()Touchcurs_touch.3x
    touchwin()Touchcurs_touch.3x
    _tracef()Trace_Putcurs_trace.3x
    trace()Trace_oncurs_trace.3x
    unctrl()Un_Controlcurs_util.3x
    unctrl()Un_Controlcurs_util.3x
    update_panels()Update_Panelspanel.3x
    use_default_colors()Use_Default_Colorsdefault_colors.3x
    use_extended_names()Use_Extended_Namescurs_extend.3x
    waddch()Addcurs_addch.3x
    waddchnstr()Addcurs_addchstr.3x
    waddch()Addcurs_addch.3x
    waddnstr()Addcurs_addstr.3x
    wattr_get()Get_Character_Attributescurs_attr.3x
    wattr_get()Get_Character_Attributecurs_attr.3x
    wattron()Switch_Character_Attributecurs_attr.3x
    wattrset()Set_Character_Attributescurs_attr.3x
    wbkgd()Change_Backgroundcurs_bkgd.3x
    wbkgdget()Get_Backgroundcurs_bkgd.3x
    wbkgdset()Set_Backgroundcurs_bkgd.3x
    wbkgd()Change_Backgroundcurs_bkgd.3x
    wborder()Bordercurs_border.3x
    wchgat()Change_Attributescurs_attr.3x
    wclear()Clearcurs_clear.3x
    wgetch()Get_Keystrokecurs_getch.3x
    wgetnstr()Getcurs_getstr.3x
    whline()Horizontal_Linecurs_border.3x
    winch()Peekcurs_inch.3x
    winchnstr()Peekcurs_inchstr.3x
    winch()Peekcurs_inch.3x
    winnstr()Peekcurs_instr.3x
    winsch()Insertcurs_insch.3x
    winsdelln()Insert_Delete_Linescurs_deleteln.3x